Skip to content

v2.7.0 - Sidebar toggle, responsive simple grid, i18n interpolation, media tiles

Choose a tag to compare

@Banzamel Banzamel released this 05 Nov 13:49
· 8 commits to main since this release

Minor release. Nothing to change in your code — every option is new and the defaults look as before.

  • MSidebar: hamburger='none' plus the new MSidebarToggle lets you put the drawer button in your navbar instead of the floating one. side='right' now sits after the content with its border on the inner side.
  • MAppShell: sidebar / aside props dock sidebars that live inside your own wrapper components; a dev warning tells you when a sidebar is not docked.
  • MTabs: horizontal tabs (pills too) no longer push narrow pages into horizontal scroll.
  • MSimpleGrid: columns takes a mobile-first object like { base: 1, md: 2, xl: 4 }.
  • MI18n: t('greeting', { name }) interpolates {name}; t(key, fallback, vars) works too.
  • MGallery: ratio and fit for non-square images.
  • MCardTile: variant='media' with ratio, badge and ribbon for product and gallery tiles.
  • MButton: iconPosition='top' stacks the icon above the label.
  • MTag: variant='dot'.
  • MDropdownMenu: triggerClassName / triggerStyle.
  • Pro: flag icons take fit='flag' to drop the empty space around the flag.