Skip to content

v2.5.0 - Keyboard and screen reader support, 200+ fixes

Choose a tag to compare

@Banzamel Banzamel released this 08 Oct 10:48
· 11 commits to main since this release

Minor release. Nothing to change in your code — no export, prop or CSS class was removed. Update and the fixes are in.

  • Keyboard support everywhere it was missing: sliders, ratings, colour picker, number fields, date and time pickers, dropdown menus, command palette, tabs, tree view, week grid, calendar boards, timeline, canvas grid, carousels and the sidebar. Built on the WAI-ARIA patterns screen readers expect.
  • Focus is visible again on checkboxes, radios, toggles and fields, and it goes back where it came from when a popover, menu or confirmation closes.
  • The color prop now works on MSlider, MAvatar and MCardWidget.
  • Dates no longer shift by a day east of UTC (date range picker value, timeline day keys), and adding a month to 31 January gives the end of February.
  • Form fields: OTP, expiry date, decimal commas, IBANs with letters, name fields with digits, Enter in date fields, read-only clear button and caret position after formatting all behave as expected.
  • Props that did nothing now work: MChart labelFormatter, minItemWidth, MHeader bordered, MInputGroup variant, the hidden attribute.
  • Themes: MThemeProvider follows the mode prop, a local theme no longer overrides the user's choice, dark sections inside light pages look right, and getMThemeInitScript() removes the theme flash on server-rendered pages.
  • Every built-in label and validation message can be translated through MI18nProvider.
  • @banzamel/mineralui-pro now ships under its commercial licence instead of MIT (see mineralui.io/terms-of-service). The free @banzamel/mineralui stays MIT.