You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maz-ui: Add the gutter prop to MazPageSection: :gutter="false" removes the side padding and keeps the content on the page column, while full-bleed now displays the content edge to edge at every width, with no side padding or maximum width (e0f25a18c)
icons: Use icons by name in any Vue app: MazUiIcons() of @maz-ui/icons/vite and MazIconPrimitive of @maz-ui/icons/vue render icons by their names, typed and bundled with the files that use them. Write ~ before a name to load it on demand, defaultIcons keeps some sets of @maz-ui/icons (['icons', 'logos']), and the maz-ui-icons types command writes the types without a build (778a630e2)
maz-ui:MazIcon and MazSvg now render icon names with MazIconPrimitive from @maz-ui/icons and accept ~name to load an icon on demand. maz-ui ships the maz-ui-icons command (86981b420)
nuxt: Auto-import MazIconPrimitive, and icons.defaultIcons keeps some sets of @maz-ui/icons (cdd60bea9)
icons: A library can publish MazUiIcons() under its own name: typesModule augments the module its consumers install (needed with pnpm, where @maz-ui/icons is not resolved), name names the plugin in logs and in the types file, and runCli() of @maz-ui/icons/vite runs the library's own command. The import option of a folder imports the module of each SVG, so an app bundles it once and a library's dist keeps the import (59b6da701)
icons:MazUiIcons() takes dtsName, the name of the types file when dts is true or unset (acme-icons.d.ts), and optimizeDepsExclude, the packages Vite skips when pre-bundling in dev, such as @maz-ui/icons (the package of a folder's import) (de00a61b0)
icons:MazIconPrimitive emits error when the name is unknown or when an icon loaded on demand cannot be loaded, so a wrapper can render its fallback (d3901ed43)
icons: Find the names of the fallback props (24563762f)
🩹 Fixes
ecosystem: Emit extensioned relative imports in published declarations (30c9bb6f1)
ecosystem: Published types now resolve in node16 and nodenext: the declarations of maz-ui, @maz-ui/utils, @maz-ui/themes and @maz-ui/translations are .d.mts files whose relative imports carry their extension, so re-exports reach their real types instead of missing exports or any (88f7cd83c)
maz-ui: The date picker's dayjs types resolve in node16 and nodenext, as it imports dayjs/esm by the full path of its files (4f9d45195)
💅 Refactors
ecosystem: Move the declaration extension helper into @maz-ui/vite-config (4ddc0212b)
vite-plugin: Use MazUiIcons of @maz-ui/icons. The icons plugin moved to @maz-ui/icons/vite, and MazUi() and its options are unchanged (8c8c0986f)
🧪 Tests
maz-ui: Update the coverage thresholds (f6601151f)
icons: Load only the es5 lib in the type check of the wrapper test (4112cd92b)