Repository navigation
v2.7.0 - Sidebar toggle, responsive simple grid, i18n interpolation, media tiles
Minor release. Nothing to change in your code — every option is new and the defaults look as before.
- MSidebar:
hamburger='none'plus the newMSidebarTogglelets 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/asideprops 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:
columnstakes a mobile-first object like{ base: 1, md: 2, xl: 4 }. - MI18n:
t('greeting', { name })interpolates{name};t(key, fallback, vars)works too. - MGallery:
ratioandfitfor non-square images. - MCardTile:
variant='media'withratio,badgeandribbonfor 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.