kolibri-design-system
kolibri-design-system copied to clipboard
/deep/ to ::v-deep
Description
- Removes two unused /deep/ selectors in KSelect that were referencing non-existent classes
- Replaces the two remaining /deep/ selectors used in KDS with
::v-deephttps://vue-loader.vuejs.org/guide/scoped-css.html#deep-selectors - This behaves identically, but has the advantage of not breaking future versions of Sass (i.e. Dart Sass instead of Node Sass, which is deprecated)
Issue addressed
This is required as part of an extended yak shave in order to ultimately upgrade to newer NodeJS versions, where building Node Sass becomes increasingly more challenging.
Changelog
- Description: Remove use of /deep/ in favour of ::v-deep
- Products impact: none
- Addresses: -
- Components: -
- Breaking: no
- Impacts a11y: -
- Guidance: -
Steps to test
- Ensure that KSelect still functions as intended when disabled.
- Ensure that the date input styling in the docs page for the date picker is still correct
- Ensure that the Icon is still blue on the icons page showing what not to do
(optional) Implementation notes
At a high level, how did you implement this?
Does this introduce any tech-debt items?
Testing checklist
- [ ] Contributor has fully tested the PR manually
- [ ] If there are any front-end changes, before/after screenshots are included
- [ ] Critical and brittle code paths are covered by unit tests
- [ ] The change is described in the changelog section above
Reviewer guidance
- [ ] Is the code clean and well-commented?
- [ ] Are there tests for this change?
- [ ] Are all UI components LTR and RTL compliant (if applicable)?
- [ ] Add other things to check for here
After review
- [ ] The changelog item has been pasted to the
CHANGELOG.md
Comments
Converting to draft - I can't make this comply with linting without fixing kolibri linting tools, it seems. Yak shave continues!
Okay, let us know when the time comes ;)