Skip to content

v1.2.0

Compare
Choose a tag to compare
@clukhei clukhei released this 30 Apr 08:51
· 366 commits to master since this release

What's new

Sidenav

  • New sticky prop to enable the sidenav to sticky to a given --sidenav-sticky-top value (defaults to 0rem);

Pagination

  • New showFirstPage showLastPage prop to toggle the visibility of first and/or last page of the component

QuantityToggle

  • Prevent the users from entering the negative("-") value or any other alphabets
  • Reset the value to 0 when the value is blank (deletion)
  • disable button when number reach 0 / minimum / maximum value

Fixes

Pagination

  • Added the fallback value for colour css custom variables of pagination component

Datepicker

  • Added appropriate aria attributes added for full support to the screen readers' users . Fixes #180
  • Focus back to input when calendar closes to allow screenreader to announce date in the input.

Refactor

Mainnav, Accordion, Sidenav

  • Replace Bootstrap JS Collapse with built-in collapse code due to the clash in collapse functionalities in the light dom.
    Bootstrap JS Collapse was clashing with any other components that was using the same Collapse method. Causing issues like Accordion that is unable to close after opening. In this version onwards, we completely remove the use of Bootstrap JS Collapse and replaced it with our own written collapse. The affected components using Collapse are Mainanv, Accordion and Sidenav