@almadar/ui 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avl/index.cjs +2233 -1838
- package/dist/avl/index.js +844 -452
- package/dist/components/atoms/Icon.d.ts +7 -4
- package/dist/components/index.cjs +1967 -1572
- package/dist/components/index.js +807 -415
- package/dist/components/molecules/Breadcrumb.d.ts +4 -4
- package/dist/components/molecules/EmptyState.d.ts +1 -1
- package/dist/components/templates/DashboardLayout.d.ts +1 -1
- package/dist/docs/index.cjs +437 -79
- package/dist/docs/index.d.cts +7 -4
- package/dist/docs/index.js +410 -55
- package/dist/lib/iconFamily.d.ts +41 -0
- package/dist/marketing/index.cjs +462 -106
- package/dist/marketing/index.d.cts +7 -4
- package/dist/marketing/index.js +428 -75
- package/dist/providers/index.cjs +1836 -1441
- package/dist/providers/index.js +811 -419
- package/dist/runtime/index.cjs +1864 -1469
- package/dist/runtime/index.js +804 -412
- package/package.json +4 -1
- package/themes/index.css +5 -0
|
@@ -216,12 +216,15 @@ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttri
|
|
|
216
216
|
/**
|
|
217
217
|
* Icon Atom Component
|
|
218
218
|
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
219
|
+
* Renders an icon from the active icon family (Layer 1 Iconography axis —
|
|
220
|
+
* see lib/iconFamily.ts). Canonical names are lucide kebab-case; the resolver
|
|
221
|
+
* dispatches to phosphor / tabler / fa-solid when `--icon-family` selects them,
|
|
222
|
+
* re-rendering automatically on theme switch.
|
|
221
223
|
*
|
|
222
224
|
* Supports two APIs:
|
|
223
|
-
* - `icon` prop: Pass a LucideIcon component directly
|
|
224
|
-
*
|
|
225
|
+
* - `icon` prop: Pass a LucideIcon component directly (bypasses family resolver
|
|
226
|
+
* — used for direct lucide component refs, stays in lucide regardless of theme)
|
|
227
|
+
* - `name` prop: Pass a canonical kebab-case name (family-aware, swaps on theme)
|
|
225
228
|
*/
|
|
226
229
|
|
|
227
230
|
type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|