Skip to content

Releases: learningequality/kolibri-design-system

v5.0.0-rc10

26 Nov 21:10
Compare
Choose a tag to compare
v5.0.0-rc10 Pre-release
Pre-release

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.

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.

KCard

  • 🚩BREAKING🚩 Makes the title prop required. By @MisRob in #825.
    • Guidance: Even if you use the title slot, pass the title text via the title prop.
  • 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.
  • 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 as router-link but rather as span. By @MisRob in #825.
  • Accessibility icon 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

  • Fixes KSelect not being reactive to value prop changes. By @rtibbles in #843.

Docs 🗒️

Full Changelog: v5.0.0-rc9...v5.0.0-rc10

v5.0.0-rc9

12 Nov 21:15
Compare
Choose a tag to compare
v5.0.0-rc9 Pre-release
Pre-release

What's Changed

KCard

  • Fixes KCard area not taking available width. By @MisRob in #796.

KCardGrid

  • Adds an option to override KCardGrid base layouts partially or completely via the new prop layoutOverride. By @MisRob in #820.
  • Adds loading skeletons to KCardGrid and a way to configure them via the new prop skeletonsConfig. By @MisRob in #820.

Full Changelog: v5.0.0-rc8...v5.0.0-rc9

v5.0.0-rc8

29 Oct 20:33
Compare
Choose a tag to compare
v5.0.0-rc8 Pre-release
Pre-release

What's Changed

New components

KModal

KIconButton

  • Adds tooltip prop as fallback when ariaLabel 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

Docs 🗒️

Forward-ported changes from v4.6.0

Theme tokens

New Contributors

Full Changelog: v5.0.0-rc7...v5.0.0-rc8

v5.0.0-rc7

01 Oct 19:59
Compare
Choose a tag to compare
v5.0.0-rc7 Pre-release
Pre-release

What's Changed

New components

New composables

KResponsiveElementMixin

  • 🚩BREAKING🚩 Removes KResponsiveElementMixin. By @AlexVelezLl in #783.
    • Guidance: Replace any use of KResponsiveElementMixin with the new composable useKResponsiveElement.

KCard

  • 🚩BREAKING🚩 Renames KCard's titleLines prop to titleMaxLines. By @MisRob in #785.
    • Guidance: Rename the prop.
  • 🚩BREAKING🚩 Renames KCard's layout prop to orientation. By @MisRob in #785.
    • Guidance: Rename the prop.
  • Accessibility icon 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

01 Oct 19:23
adea2e1
Compare
Choose a tag to compare

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.

Full Changelog: v4.5.1...v4.6.0

v5.0.0-rc6

17 Sep 20:16
Compare
Choose a tag to compare
v5.0.0-rc6 Pre-release
Pre-release

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.

Full Changelog: v5.0.0-rc5...v5.0.0-rc6

v4.5.1

17 Sep 20:03
fc6634a
Compare
Choose a tag to compare

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

10 Sep 20:12
Compare
Choose a tag to compare
v5.0.0-rc5 Pre-release
Pre-release

What's Changed

New components

  • Accessibility icon 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

03 Sep 22:00
Compare
Choose a tag to compare
v5.0.0-rc4 Pre-release
Pre-release

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 to appendToOverlay. By @MisRob in #722
    • Guidance: Rename KModal's appendToRoot prop to appendToOverlay

KTooltip

  • Adds new prop, appendToOverlay, to KTooltip. By @MisRob in #722

KDS Initialization

  • Inserts the overlay container element #k-overlay to an application's document body during KDS initialization. By @MisRob in #722

Icons

  • Makes the sidebar icon flip in RTL languages. By @MisRob in #722

KDS General Styling

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

New Contributors

Full Changelog: v5.0.0-rc3...v5.0.0-rc4

v4.5.0

03 Sep 21:54
c7432ff
Compare
Choose a tag to compare

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

Full Changelog: v4.4.1...v4.5.0