-
Notifications
You must be signed in to change notification settings - Fork 108
Fix visually hidden style not taking effect, allow KTextbox label to be visually hidden #1169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
in KDS components when used from an application. By moving the style from documentation styles to library styles, and adding a new installation step to register library styles. This also exposes the class to be used for any component, not just KDS. Fixes learningequality#1163
e8d49d2 to
22bab2f
Compare
Percy Visual Test ResultsPercy Dashboard: View Detailed Report Environment:
Instructions for Reviewers:
|
22bab2f to
674b1eb
Compare
lib/KTextbox/index.vue
Outdated
| @focus="emitFocus" | ||
| @blur="emitBlur" | ||
| > | ||
| <!--@slot Label. Alternative to the label prop. --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
akolson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @MisRob. I left a comment about the docs
akolson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. Thanks @MisRob


Description
Fixes internal visually hidden style (
KCardexample here + here) not taking effect in KDS components when used from an applicationAs a side effect, above also exposes the
.visuallyhiddenclass to be used for any component, not just KDS.Allows
KTextboxlabel to be passed via slot and adds documentation on how to achieve visually hidden labelAlso has few maintenance commits for related documentation and test suite
Issue addressed
Steps to test
Changelog
Description: Fixes internal visually hidden style not taking effect in KDS components, and exposes the
.visuallyhiddenclass as publicProducts impact: bugfix
Addresses: Investigate why visuallyhidden class doesn't take effect in Studio #1163
Components: -
Breaking: no
Impacts a11y: no
Guidance: Import KDS styles in the main application stylesheet with
@import '~kolibri-design-system/lib/styles/common';as described in https://design-system.learningequality.org/installation#register-global-styles. Cleanup custom.visuallyhiddenclass from application styles. See https://design-system.learningequality.org/#helper-styles.Description: Allows
KTextboxlabel to be passed via slotProducts impact: new API
Addresses: [KTextbox]: Allow label to be passed via slot #1166
Components:
KTextboxBreaking: no
Impacts a11y: yes
Guidance: -