Skip to content

Releases: learningequality/kolibri-design-system

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

v5.0.0-rc3

27 Aug 20:33
015325c
Compare
Choose a tag to compare
v5.0.0-rc3 Pre-release
Pre-release

What's Changed

KIcon

  • Adds new Icon: brokenImage. By @rtibbles in #391.
  • Adds brokenImage icon as fallback if the provided icon is invalid. By @rtibbles in #391.

KCard

  • Updates KCard styles to remove the border-radius when thumbnailAlign is left. By @Spoorthy1423 in #754.

KThemePlugin

  • Adds $darken1, $darken2 and $darken3 global utility functions for darkening palette colors. By @shivam-daksh in #728.

New components

  • Accessibility icon KRadioButtonGroup: New component to fix keyboard navigation in radio button groups in Firefox. By @muditchoudhary in #650.
    • Guidance: Make sure that all KRadioButtons are wrapped in KRadioButtonGroup.

Docs 🗒️

  • Updates drop shadows documentation to the latest guidance from the design team. By @MisRob in #723.

User experience

  • Updates $core-time value from 0.25s to 0.15s to get faster transitions in KButton, KExternalLink, KRouterLink, KModal, KCard, KIcon, KTabsList, KTabs, and places in consumers that imports $core-time. By @MisRob in #723.

New Contributors

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