Releases: learningequality/kolibri-design-system
Releases · learningequality/kolibri-design-system
v5.0.0-rc10
What's Changed
KDS General Styling
- 🚩BREAKING🚩 Removes deprecated dropshadows. By @lokesh-sagi125 in #815.
- Guidance: Update any
%dropshadow-Xdp
usage different than 1dp, 2dp and 6dp to the latest drop shadows guidelines.
- Guidance: Update any
New components
- KToolbar: Creates initial KToolbar component as a port of UiToolbar. Further changes and iterations to API expected. By @rtibbles in #831.
UiToolbar
- 🚩BREAKING🚩 Removes
/lib/keen/UiToolbar
. By @rtibbles in #831.- Guidance: Use the new
KToolbar
component instead.
- Guidance: Use the new
KCard
- 🚩BREAKING🚩 Makes the
title
prop required. By @MisRob in #825.- Guidance: Even if you use the
title
slot, pass the title text via thetitle
prop.
- Guidance: Even if you use the
- Change the
title
slot into a scoped slot. By @MisRob in #825.- Guidance: Consider using the slot's
textTitle
attribute to achieve more intuitive code when customizing the title.
- Guidance: Consider using the slot's
- Emit
click
event when card is clicked. By @MisRob in #825. - Makes
to
prop optional and when not provided, do not render the title text asrouter-link
but rather asspan
. By @MisRob in #825. - Ensures reliable screen readers announcements no matter whether card is link or no, and no matter whether the title is customized via the title slot. By @MisRob in #825.
KDropdownMenu
- Fixes keyboard navigation flow that prevented focusing the next option when a divider was present. By @Sahil-Sinha-11 in #818.
- Fixes an issue where focus is not correctly restored to the last focused element after the dropdown is closed. By @Sahil-Sinha-11 in #818.
KSelect
Docs 🗒️
- Improves visibility of focus-ring in Firefox. By @RONAK-AI647 in #827.
Full Changelog: v5.0.0-rc9...v5.0.0-rc10
v5.0.0-rc9
What's Changed
KCard
KCardGrid
- Adds an option to override
KCardGrid
base layouts partially or completely via the new proplayoutOverride
. By @MisRob in #820. - Adds loading skeletons to
KCardGrid
and a way to configure them via the new propskeletonsConfig
. By @MisRob in #820.
Full Changelog: v5.0.0-rc8...v5.0.0-rc9
v5.0.0-rc8
What's Changed
New components
- KFocusTrap: Ensures that keyboard focus is trapped within a specific region of the page. By @lokesh-sagi125 in #799.
KModal
- Updates KModal to trap keyboard focus. By @lokesh-sagi125 in #799.
KIconButton
- Adds
tooltip
prop as fallback whenariaLabel
is missing in KIconButton. By @shivam-daksh in #798.
KTable
- Adds the option to get back to the unsorted state after sorting a KTable column, making it flow to be
unsorted -> ascending -> descending -> unsorted
. By @Sahil-Sinha-11 in #803.
KSwitch
- Adds
ariaLabelledBy
prop to KSwitch. By @Sahil-Sinha-11 in #808.
Docs 🗒️
- Updates KDS Docs favicon to the new branding. By @RONAK-AI647 in #809.
Forward-ported changes from v4.6.0
Theme tokens
- 🚩BREAKING🚩 Updates Theme Tokens to the latest specs to comply material design specifications. By @AlexVelezLl in https://github.com/learningequality/kolibri-design-system/pull/782.
- Guidace: Please update all
v_*
theme tokens using the mapping posted in #775.
- Guidace: Please update all
New Contributors
- @Sahil-Sinha-11 made their first contribution in #803
- @RONAK-AI647 made their first contribution in #809
Full Changelog: v5.0.0-rc7...v5.0.0-rc8
v5.0.0-rc7
What's Changed
New components
New composables
- useKResponsiveElement: Provides the following reactive element's size information:
elementHeight
andelementWidth
. By @AlexVelezLl in #783.
KResponsiveElementMixin
- 🚩BREAKING🚩 Removes KResponsiveElementMixin. By @AlexVelezLl in #783.
- Guidance: Replace any use of
KResponsiveElementMixin
with the new composableuseKResponsiveElement
.
- Guidance: Replace any use of
KCard
- 🚩BREAKING🚩 Renames
KCard
'stitleLines
prop totitleMaxLines
. By @MisRob in #785.- Guidance: Rename the prop.
- 🚩BREAKING🚩 Renames
KCard
'slayout
prop toorientation
. By @MisRob in #785.- Guidance: Rename the prop.
- Updates
KCard
to make screen readers announce only card titles when navigating the grid with TAB key. - Adds support to
KCard
for selection controls such as checkboxes. - Improves spaces display in
KCard
. - Hides
KCard
placeholder element after the thumbnail image is loaded. - 🗒️ Adds detailed guidance to
KCard
documentation page.
KTable
- 🗒️ Updates KTable documentation to include more examples for custom column widths and use of slots. By @BabyElias in #780.
Full Changelog: v5.0.0-rc6...v5.0.0-rc7
v4.6.0
What's Changed
Theme tokens
- 🚩BREAKING🚩 Updates Theme Tokens to the latest specs to comply material design specifications. By @AlexVelezLl in #782.
- Guidace: Please update all
v_*
theme tokens using the mapping posted in #775.
- Guidace: Please update all
Full Changelog: v4.5.1...v4.6.0
v5.0.0-rc6
What's Changed
KCard
- Updates KCard to complete vertical/horizontal layouts with no thumbnail. By @AllanOXDi in #752.
- Updates KCard internal structure and style. This introduces temporary regressions in KCard related to removing its control of its height that will instead be controlled by KCardGrid. However, KCard is required to be always used within KCardGrid anyways so ultimately this will be of no real impact. Will be completed by KCardGrid soon. By @MisRob in #774.
- Fixes the thumbnail overflowing in the horizontal layout with small thumbnail and aligns this layout more closely to the designs. By @MisRob in #774.
- Fixes
@click.stop
not working on interactive elements rendered within the card via its slots. By @MisRob in #774.
KRadioButton
- Adds warning in KRadioButton if it is not nested inside a KradioButtonGroup. By @lokesh-sagi125 in #781.
Backported changes from v4.5.1
KCheckbox, KRadioButton.
- Add
labelDir
prop to control rtl direction of label. By @AlexVelezLl in #784.
Full Changelog: v5.0.0-rc5...v5.0.0-rc6
v4.5.1
What's Changed
KCheckbox, KRadioButton.
- Add
labelDir
prop to control rtl direction of label.. By @AlexVelezLl in #784.
Full Changelog: v4.5.0...v4.5.1
v5.0.0-rc5
What's Changed
New components
- KTable: An accessible and customizable table component designed to handle a variety of data presentation needs, suitable for both simple and complex data tables. By @BabyElias in #727.
Full Changelog: v5.0.0-rc4...v5.0.0-rc5
v5.0.0-rc4
What's Changed
New Components
- KOverlay: Use
KOverlay
to move an element from its original place in the DOM to the overlay container element#k-overlay
. This is often useful for modals, tooltips, dropdowns, or other elements that should appear on top of other content. By @MisRob in #722
KModal
- 🚩BREAKING🚩 Renames KModal's
appendToRoot
prop toappendToOverlay
. By @MisRob in #722- Guidance: Rename KModal's appendToRoot prop to appendToOverlay
KTooltip
KDS Initialization
- Inserts the overlay container element
#k-overlay
to an application's document body during KDS initialization. By @MisRob in #722
Icons
KDS General Styling
- Updates dropshadows to the latest design guidelines. By @lokesh-sagi125 in #762
Backported changes from v4.4.1
KCheckbox
- 🚩BREAKING🚩 Removes internal state management for checked & indeterminate in KCheckbox.
- Guidance: Now it is your responsibility to handle the
change
event and update whether or not the given checked and indeterminate props reflect the reality that you expect. By @nucleogenesis in #744
- Guidance: Now it is your responsibility to handle the
New Contributors
- @lokesh-sagi125 made their first contribution in #762
Full Changelog: v5.0.0-rc3...v5.0.0-rc4
v4.5.0
What's Changed
KCheckbox
- 🚩BREAKING🚩 Removes internal state management for checked & indeterminate in KCheckbox.
- Guidance: Now it is your responsibility to handle the
change
event and update whether or not the given checked and indeterminate props reflect the reality that you expect. By @nucleogenesis in #744
- Guidance: Now it is your responsibility to handle the
Full Changelog: v4.4.1...v4.5.0