v5.0.0-beta.1
Pre-release
Pre-release
·
2 commits
to master
since this release
⚠️ Breaking Changes
-
⚠️ Maz-UI v5 — theming overhaul, RTL-native components, ~8% lighter (78659718a)Maz-UI v5 is a focused major release: a theming overhaul on top of Tailwind v4, RTL-correct components, a lighter chart, a simpler icon API, and a one-shot CLI to streamline the upgrade.
Highlights
- Theming, top to bottom — OKLCh color system for perceptually uniform scales, clearer token names (
background→surface,border→divider), a real radius scale, acomponentsblock to override per-component tokens, the newnovapreset, and preset persistence across reloads. - Logical direction by default — every
left/rightprop, slot, and CSS hook is nowstart/end. Setdir="rtl"and components mirror correctly. - Lighter chart —
MazChartdropsvue-chartjs, lazy-loadschart.js, and only registers the modules your charttypeneeds. - Simpler icons — one
iconprop instead of four. New@maz-ui/icons/raw/*subpath for raw SVG inlining without a Vue component. - Standardized sizes —
MazBadgenow uses theMazSizekeyword scale like the rest of the library. - ~8% lighter library bundle thanks to chart, icon, and theming refactors.
- Modern browsers required (Chromium 111+, Safari 16.4+, Firefox 128+).
Migration
- Automated:
npx @maz-ui/upgrade ./rewrites your code, bumps everymaz-uiand@maz-ui/*entry inpackage.jsonto^5.0.0, and runs your package manager. - Manual decisions (icon paths, theme preset shape, chart animation defaults): connect
@maz-ui/mcpto your AI assistant and walk through the migration guide.
Resources
v4 will receive no further support after v5 stable — no security fixes or backports.
- Theming, top to bottom — OKLCh color system for perceptually uniform scales, clearer token names (
❤️ Contributors
- Mazel (Loïc Mazuel) (@LouisMazel)