@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
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Icon Atom Component
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Renders an icon from the active icon family (Layer 1 Iconography axis —
|
|
5
|
+
* see lib/iconFamily.ts). Canonical names are lucide kebab-case; the resolver
|
|
6
|
+
* dispatches to phosphor / tabler / fa-solid when `--icon-family` selects them,
|
|
7
|
+
* re-rendering automatically on theme switch.
|
|
6
8
|
*
|
|
7
9
|
* Supports two APIs:
|
|
8
|
-
* - `icon` prop: Pass a LucideIcon component directly
|
|
9
|
-
*
|
|
10
|
+
* - `icon` prop: Pass a LucideIcon component directly (bypasses family resolver
|
|
11
|
+
* — used for direct lucide component refs, stays in lucide regardless of theme)
|
|
12
|
+
* - `name` prop: Pass a canonical kebab-case name (family-aware, swaps on theme)
|
|
10
13
|
*/
|
|
11
14
|
import React from 'react';
|
|
12
15
|
import type { LucideIcon } from 'lucide-react';
|