Skip to content

v2.9.0 - Component tokens, scrolling tabs, day schedule timeline height

Choose a tag to compare

@Banzamel Banzamel released this 06 Nov 18:10
· 2 commits to main since this release

Minor release. Nothing to change in your code: every new token and prop is opt-in, and unset everything looks as in 2.8.3. The one visual change is the MTabs fix.

Fixed

  • MTabs: a long horizontal strip now scrolls inside the tab list instead of squeezing its labels. Triggers keep their width and stay on one line, and the active tab scrolls into view when it changes (only the list moves, never the page). fullWidth and vertical tabs are unchanged.

Added

  • MCard: --mineral-card-bg, --mineral-card-border, --mineral-card-shadow, --mineral-card-header-bg, --mineral-card-header-min-height. They also reach what is built on MCard, except .card-widget, .card-finance and .card-tile.
  • MCardDaySchedule: titleLevel sets the heading level (default 4). timelineMaxHeight scrolls a long timeline inside the card, as a focusable region.
  • MSidebar: --mineral-sidebar-bg, --mineral-sidebar-text, --mineral-sidebar-item-active-bg, --mineral-sidebar-item-active-text.
  • MNavbar: --mineral-navbar-bg, --mineral-navbar-text, --mineral-navbar-shadow.
  • MDataTable: --mineral-table-head-bg, --mineral-table-head-text, in both themes.
  • MContainer: --mineral-container-wide sets the width of size="wide".
  • MCardStat: --mineral-stat-value-size, --mineral-stat-icon-bg, --mineral-stat-icon-color.
  • MBadge: --mineral-badge-bg-opacity and one --mineral-badge-text-<colour> token per colour.
  • MButton: --mineral-filled-text for the text of filled buttons.

Full list with defaults: https://mineralui.io/docs/theming