@tensor_1/react 2.58.0 → 2.61.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/README.md +4 -4
- package/component-inventory.json +4 -0
- package/dist/components/Button.d.ts +15 -0
- package/dist/components/Button.js +11 -6
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Drawer.js +104 -1
- package/dist/components/FileKindIcon.d.ts +5 -1
- package/dist/components/FileKindIcon.js +5 -1
- package/dist/components/Menu.js +10 -1
- package/dist/components/Popover.js +4 -1
- package/dist/components/Select.js +85 -11
- package/dist/components/Sidebar.js +29 -2
- package/dist/components/Tooltip.js +103 -16
- package/dist/emoji.cjs +263 -70
- package/dist/file-model.d.ts +14 -7
- package/dist/file-model.js +18 -6
- package/dist/hooks/useArrivalBlur.d.ts +14 -0
- package/dist/hooks/useArrivalBlur.js +47 -0
- package/dist/hooks/useHoverGlide.d.ts +28 -0
- package/dist/hooks/useHoverGlide.js +137 -0
- package/dist/icons/Icon.d.ts +4 -2
- package/dist/icons/Icon.js +6 -2
- package/dist/icons/NamedIcon.js +1 -1
- package/dist/icons/components.d.ts +2 -1
- package/dist/icons/components.js +2 -0
- package/dist/icons/glyphs.d.ts +3 -1
- package/dist/icons/glyphs.js +3 -0
- package/dist/icons/types.d.ts +11 -0
- package/dist/icons.cjs +12 -3
- package/dist/icons.d.cts +5 -3
- package/dist/icons.d.ts +1 -1
- package/dist/index.cjs +2956 -2333
- package/dist/index.d.cts +61 -11
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/motion.d.ts +25 -1
- package/dist/motion.js +100 -0
- package/dist/rich-text.cjs +4 -1
- package/dist/{types-B593xJNf.d.cts → types-B7OIndwg.d.cts} +11 -0
- package/dist/usage-roles.d.ts +28 -0
- package/dist/usage-roles.js +28 -0
- package/package.json +1 -1
package/dist/file-model.js
CHANGED
|
@@ -44,15 +44,18 @@ function legacyFileKind(file) {
|
|
|
44
44
|
if (type.startsWith("text/") || ["txt", "md", "log", "json", "xml", "doc", "docx", "odt", "rtf"].includes(ext)) return "text";
|
|
45
45
|
return "other";
|
|
46
46
|
}
|
|
47
|
-
const FILE_KINDS = ["img", "doc", "sheet", "mail", "code", "log", "archive", "other"];
|
|
47
|
+
const FILE_KINDS = ["img", "doc", "sheet", "slides", "pdf", "mail", "code", "log", "archive", "text", "other"];
|
|
48
48
|
const FILE_KIND_EXTENSIONS = {
|
|
49
49
|
img: ["png", "jpg", "jpeg", "gif", "webp", "heic", "bmp", "svg"],
|
|
50
|
-
doc: ["
|
|
51
|
-
sheet: ["xlsx", "xls", "csv", "ods", "tsv"],
|
|
50
|
+
doc: ["docx", "doc", "docm", "dotx", "dotm", "dot", "odt", "rtf", "pages"],
|
|
51
|
+
sheet: ["xlsx", "xls", "xlsm", "xlsb", "xltx", "xltm", "csv", "ods", "tsv", "numbers"],
|
|
52
|
+
slides: ["pptx", "ppt", "pptm", "ppsx", "ppsm", "pps", "potx", "potm", "pot", "odp"],
|
|
53
|
+
pdf: ["pdf"],
|
|
52
54
|
mail: ["eml", "msg"],
|
|
53
55
|
code: ["json", "yaml", "yml", "xml", "ps1", "sh", "py", "js", "ts", "ini", "conf", "toml"],
|
|
54
56
|
log: ["log", "evtx", "har", "dmp", "trace"],
|
|
55
57
|
archive: ["zip", "7z", "rar", "tar", "gz", "tgz"],
|
|
58
|
+
text: ["txt", "md", "markdown"],
|
|
56
59
|
other: []
|
|
57
60
|
};
|
|
58
61
|
const KIND_BY_EXTENSION = /* @__PURE__ */ new Map();
|
|
@@ -61,20 +64,26 @@ const DEFAULT_FILE_KIND_LABELS = {
|
|
|
61
64
|
img: "Bild",
|
|
62
65
|
doc: "Dokument",
|
|
63
66
|
sheet: "Tabelle",
|
|
67
|
+
slides: "Pr\xE4sentation",
|
|
68
|
+
pdf: "PDF",
|
|
64
69
|
mail: "E-Mail",
|
|
65
70
|
code: "Code & Konfiguration",
|
|
66
71
|
log: "Protokoll",
|
|
67
72
|
archive: "Archiv",
|
|
73
|
+
text: "Text",
|
|
68
74
|
other: "Datei"
|
|
69
75
|
};
|
|
70
76
|
const FILE_KIND_LABELS_EN = {
|
|
71
77
|
img: "Image",
|
|
72
78
|
doc: "Document",
|
|
73
79
|
sheet: "Spreadsheet",
|
|
80
|
+
slides: "Presentation",
|
|
81
|
+
pdf: "PDF",
|
|
74
82
|
mail: "Email",
|
|
75
83
|
code: "Code & configuration",
|
|
76
84
|
log: "Log",
|
|
77
85
|
archive: "Archive",
|
|
86
|
+
text: "Text",
|
|
78
87
|
other: "File"
|
|
79
88
|
};
|
|
80
89
|
function fileExtension(name) {
|
|
@@ -86,13 +95,16 @@ function kindOfMime(mime) {
|
|
|
86
95
|
const m = mime.trim().toLowerCase();
|
|
87
96
|
if (!m) return "other";
|
|
88
97
|
if (m.startsWith("image/")) return "img";
|
|
89
|
-
if (
|
|
90
|
-
if (/
|
|
98
|
+
if (/\bpdf\b/.test(m)) return "pdf";
|
|
99
|
+
if (/presentation|powerpoint|apple\.keynote/.test(m)) return "slides";
|
|
100
|
+
if (/ms-?word|wordprocessing|opendocument\.text|rtf|apple\.pages/.test(m)) return "doc";
|
|
101
|
+
if (/spreadsheet|excel|csv|tab-separated|apple\.numbers/.test(m)) return "sheet";
|
|
102
|
+
if (/markdown/.test(m)) return "text";
|
|
91
103
|
if (/rfc822|outlook/.test(m)) return "mail";
|
|
92
104
|
if (/x-log\b/.test(m)) return "log";
|
|
93
105
|
if (/json|xml|yaml|x-sh|javascript|typescript|x-python|toml/.test(m)) return "code";
|
|
94
106
|
if (/zip|x-7z|x-rar|vnd\.rar|gzip|x-tar|compressed-tar/.test(m)) return "archive";
|
|
95
|
-
if (m === "text/plain") return "
|
|
107
|
+
if (m === "text/plain") return "text";
|
|
96
108
|
return "other";
|
|
97
109
|
}
|
|
98
110
|
function fileKind(nameOrFile, mime) {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rows of a list that just opened clear from a short blur as they arrive (2.60, the
|
|
3
|
+
* animate-ui study): a Select's options, a Menu's items, a sidebar group's rows. The fade and the
|
|
4
|
+
* slide are CSS (`uix-row-in`, the sidebar's row transition); the blur runs per frame in script with
|
|
5
|
+
* the same timing (--uix-dur-row, --uix-ease-soft, --uix-stagger-rows; the first ten step), because
|
|
6
|
+
* Linux WebKit's renderer crashes on a CSS-animated `filter` (motion.ts `blurIn`).
|
|
7
|
+
*
|
|
8
|
+
* Pointer opens only: none when `host` carries [data-uix-key-opened] or [data-uix-instant], and none
|
|
9
|
+
* under reduced motion. `skipMount`: no blur for a list that is already open on the first render.
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
declare function useArrivalBlur(host: () => HTMLElement | null, rows: string, open: boolean, skipMount?: boolean): void;
|
|
13
|
+
|
|
14
|
+
export { useArrivalBlur };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useEffect, useRef } from "react";
|
|
3
|
+
import { KEY_OPENED, blurIn, tokenEase, tokenMs, tokenPx } from "../motion.js";
|
|
4
|
+
import { prefersReducedMotion } from "./useReducedMotion.js";
|
|
5
|
+
function useArrivalBlur(host, rows, open, skipMount = false) {
|
|
6
|
+
const mounted = useRef(false);
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
const first = !mounted.current;
|
|
9
|
+
mounted.current = true;
|
|
10
|
+
const el = host();
|
|
11
|
+
if (!open || !el || first && skipMount || prefersReducedMotion()) return void 0;
|
|
12
|
+
if (el.hasAttribute(KEY_OPENED) || el.closest("[data-uix-instant]")) return void 0;
|
|
13
|
+
const stagger = tokenMs("--uix-stagger-rows", 30);
|
|
14
|
+
let top = 0;
|
|
15
|
+
let bottom = window.innerHeight;
|
|
16
|
+
const clip = (r) => {
|
|
17
|
+
top = Math.max(top, r.top);
|
|
18
|
+
bottom = Math.min(bottom, r.bottom);
|
|
19
|
+
};
|
|
20
|
+
const box = el.getBoundingClientRect();
|
|
21
|
+
if (box.height >= 1) clip(box);
|
|
22
|
+
for (let a = el.parentElement; a && a !== document.body; a = a.parentElement) {
|
|
23
|
+
if (window.getComputedStyle(a).overflowY !== "visible") clip(a.getBoundingClientRect());
|
|
24
|
+
}
|
|
25
|
+
const shown = [];
|
|
26
|
+
for (const row of Array.from(el.querySelectorAll(rows))) {
|
|
27
|
+
const r = row.getBoundingClientRect();
|
|
28
|
+
if (r.bottom <= top || r.top >= bottom || r.height < 1) continue;
|
|
29
|
+
if (window.getComputedStyle(row).visibility === "hidden") continue;
|
|
30
|
+
shown.push(row);
|
|
31
|
+
if (shown.length === 12) break;
|
|
32
|
+
}
|
|
33
|
+
const order = shown.map((row, i) => {
|
|
34
|
+
const n = parseFloat(window.getComputedStyle(row).getPropertyValue("--uix-row-i"));
|
|
35
|
+
return Number.isFinite(n) ? n : Math.min(i, 9);
|
|
36
|
+
});
|
|
37
|
+
return blurIn(shown, {
|
|
38
|
+
from: tokenPx("--uix-arrive-blur", 4),
|
|
39
|
+
duration: tokenMs("--uix-dur-row", 300),
|
|
40
|
+
ease: tokenEase("--uix-ease-soft"),
|
|
41
|
+
delay: (i) => order[i] * stagger
|
|
42
|
+
});
|
|
43
|
+
}, [open]);
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
useArrivalBlur
|
|
47
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* One hover highlight that glides from row to row (the animate-ui study, 2.60): in a menu, a
|
|
5
|
+
* listbox or the sidebar the pointer's row is marked by a single layer (`layerRef`, an
|
|
6
|
+
* `aria-hidden` `.uix-glide` span whose parent is the list) instead of each row painting its own
|
|
7
|
+
* hover. The parent must be its containing block (positioned, or a fixed popover). Pass `enabled`
|
|
8
|
+
* as the list's open state when the layer mounts with it, so the hook binds once it exists. Moving the pointer down a list, the
|
|
9
|
+
* mark travels with it on `--uix-ease-glide`, so the eye follows one shape instead of a flicker of
|
|
10
|
+
* rows lighting up and going out.
|
|
11
|
+
*
|
|
12
|
+
* The layer travels on `transform` alone (the Tabs indicator's way): it takes the first row's size
|
|
13
|
+
* and reaches every other row by `translate` plus `scale` (animate-ui's highlight), so a taller row
|
|
14
|
+
* (a two-line nav item) is reached by growing, not by a jump. It never reads or changes the list's
|
|
15
|
+
* scroll size, so it cannot add overflow or a scrollbar under the pointer, and a new target retargets
|
|
16
|
+
* a running glide from where it is; nothing animates width, height or position.
|
|
17
|
+
*
|
|
18
|
+
* - Mouse and pen, and the keyboard too (operator, 2026-11-08, as animate-ui): a row reached with the
|
|
19
|
+
* arrow keys or Tab (focus, or a listbox's `[data-active]`) takes the highlight. Touch has no hover.
|
|
20
|
+
* - The first row fades in where it is; only row-to-row moves glide.
|
|
21
|
+
* - Reduced motion: the global policy drops transform from transitions, so the mark jumps and fades.
|
|
22
|
+
* - Forced colours: CSS hides the layer and the rows' own system-colour hover returns.
|
|
23
|
+
* - While the layer shows, the container carries `data-uix-glide`; the component's CSS uses it to
|
|
24
|
+
* take each row's own hover background away (`[data-uix-glide] > .row:hover { background: none }`).
|
|
25
|
+
*/
|
|
26
|
+
declare function useHoverGlide(layerRef: RefObject<HTMLElement | null>, itemSelector: string, enabled?: boolean): void;
|
|
27
|
+
|
|
28
|
+
export { useHoverGlide };
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useEffect } from "react";
|
|
3
|
+
import { keyboardInitiated, watchInputModality } from "../motion.js";
|
|
4
|
+
function useHoverGlide(layerRef, itemSelector, enabled = true) {
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
const layer = layerRef.current;
|
|
7
|
+
const container = layer?.parentElement;
|
|
8
|
+
if (!enabled || !container || !layer) return void 0;
|
|
9
|
+
let current = null;
|
|
10
|
+
let raf = 0;
|
|
11
|
+
let base = { w: 0, h: 0 };
|
|
12
|
+
watchInputModality();
|
|
13
|
+
const hide = () => {
|
|
14
|
+
current = null;
|
|
15
|
+
window.cancelAnimationFrame(raf);
|
|
16
|
+
layer.removeAttribute("data-shown");
|
|
17
|
+
layer.removeAttribute("data-gliding");
|
|
18
|
+
container.removeAttribute("data-uix-glide");
|
|
19
|
+
};
|
|
20
|
+
const place = (item) => {
|
|
21
|
+
const top = offsetWithin(item, container, "top");
|
|
22
|
+
const left = offsetWithin(item, container, "left");
|
|
23
|
+
const sx = base.w ? item.offsetWidth / base.w : 1;
|
|
24
|
+
const sy = base.h ? item.offsetHeight / base.h : 1;
|
|
25
|
+
layer.style.transform = `translate(${left}px, ${top}px) scale(${sx}, ${sy})`;
|
|
26
|
+
};
|
|
27
|
+
const settle = (item) => {
|
|
28
|
+
base = { w: item.offsetWidth, h: item.offsetHeight };
|
|
29
|
+
layer.style.width = `${base.w}px`;
|
|
30
|
+
layer.style.height = `${base.h}px`;
|
|
31
|
+
layer.style.borderRadius = window.getComputedStyle(item).borderTopLeftRadius || "0px";
|
|
32
|
+
};
|
|
33
|
+
const target = (event) => {
|
|
34
|
+
const el = event.target?.closest?.(itemSelector);
|
|
35
|
+
if (!el || !container.contains(el)) return null;
|
|
36
|
+
if (el.matches(':disabled, [aria-disabled="true"]')) return null;
|
|
37
|
+
return el;
|
|
38
|
+
};
|
|
39
|
+
const forced = () => !!window.matchMedia?.("(forced-colors: active)").matches;
|
|
40
|
+
const show = (item) => {
|
|
41
|
+
if (item === current) return;
|
|
42
|
+
const first = current === null;
|
|
43
|
+
current = item;
|
|
44
|
+
if (first) {
|
|
45
|
+
layer.removeAttribute("data-gliding");
|
|
46
|
+
settle(item);
|
|
47
|
+
place(item);
|
|
48
|
+
container.setAttribute("data-uix-glide", "");
|
|
49
|
+
window.cancelAnimationFrame(raf);
|
|
50
|
+
raf = window.requestAnimationFrame(() => {
|
|
51
|
+
layer.setAttribute("data-shown", "");
|
|
52
|
+
});
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
layer.setAttribute("data-gliding", "");
|
|
56
|
+
place(item);
|
|
57
|
+
};
|
|
58
|
+
const onOver = (event) => {
|
|
59
|
+
if (event.pointerType === "touch" || forced()) return;
|
|
60
|
+
const item = target(event);
|
|
61
|
+
if (!item) {
|
|
62
|
+
if (current) hide();
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
show(item);
|
|
66
|
+
};
|
|
67
|
+
const onFocus = (event) => {
|
|
68
|
+
if (!keyboardInitiated() || forced()) return;
|
|
69
|
+
const item = target(event);
|
|
70
|
+
if (item) show(item);
|
|
71
|
+
};
|
|
72
|
+
const active = typeof MutationObserver === "undefined" ? null : new MutationObserver((records) => {
|
|
73
|
+
if (!keyboardInitiated() || forced()) return;
|
|
74
|
+
for (const r of records) {
|
|
75
|
+
const el = r.target;
|
|
76
|
+
if (el.hasAttribute("data-active") && el.matches(itemSelector) && !el.matches(':disabled, [aria-disabled="true"]')) {
|
|
77
|
+
show(el);
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
active?.observe(container, { subtree: true, attributes: true, attributeFilter: ["data-active"] });
|
|
83
|
+
const keyRow = () => {
|
|
84
|
+
const focused = document.activeElement;
|
|
85
|
+
if (focused instanceof HTMLElement && focused !== container && container.contains(focused) && focused.matches(itemSelector)) return focused;
|
|
86
|
+
const active2 = container.querySelector(`${itemSelector}[data-active]`);
|
|
87
|
+
return active2 && container.contains(active2) ? active2 : null;
|
|
88
|
+
};
|
|
89
|
+
const onLeave = (event) => {
|
|
90
|
+
if (event.pointerType === "touch") return;
|
|
91
|
+
const row = keyRow();
|
|
92
|
+
if (row && !forced()) show(row);
|
|
93
|
+
else hide();
|
|
94
|
+
};
|
|
95
|
+
const onFocusOut = (event) => {
|
|
96
|
+
const next = event.relatedTarget;
|
|
97
|
+
if (next && container.contains(next)) return;
|
|
98
|
+
if (!container.matches(":hover")) hide();
|
|
99
|
+
};
|
|
100
|
+
const resized = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(() => {
|
|
101
|
+
if (current) hide();
|
|
102
|
+
});
|
|
103
|
+
resized?.observe(container);
|
|
104
|
+
container.addEventListener("pointerover", onOver);
|
|
105
|
+
container.addEventListener("pointerleave", onLeave);
|
|
106
|
+
container.addEventListener("focusin", onFocus);
|
|
107
|
+
container.addEventListener("focusout", onFocusOut);
|
|
108
|
+
return () => {
|
|
109
|
+
container.removeEventListener("focusout", onFocusOut);
|
|
110
|
+
resized?.disconnect();
|
|
111
|
+
active?.disconnect();
|
|
112
|
+
container.removeEventListener("pointerover", onOver);
|
|
113
|
+
container.removeEventListener("pointerleave", onLeave);
|
|
114
|
+
container.removeEventListener("focusin", onFocus);
|
|
115
|
+
hide();
|
|
116
|
+
};
|
|
117
|
+
}, [layerRef, itemSelector, enabled]);
|
|
118
|
+
}
|
|
119
|
+
function offsetWithin(item, container, side) {
|
|
120
|
+
let total = 0;
|
|
121
|
+
let el = item;
|
|
122
|
+
while (el && el !== container) {
|
|
123
|
+
total += side === "top" ? el.offsetTop : el.offsetLeft;
|
|
124
|
+
const parent = el.offsetParent;
|
|
125
|
+
if (parent === container) return total;
|
|
126
|
+
if (!parent || !container.contains(parent)) {
|
|
127
|
+
const a = item.getBoundingClientRect();
|
|
128
|
+
const b = container.getBoundingClientRect();
|
|
129
|
+
return side === "top" ? a.top - b.top + container.scrollTop - container.clientTop : a.left - b.left + container.scrollLeft - container.clientLeft;
|
|
130
|
+
}
|
|
131
|
+
el = parent;
|
|
132
|
+
}
|
|
133
|
+
return total;
|
|
134
|
+
}
|
|
135
|
+
export {
|
|
136
|
+
useHoverGlide
|
|
137
|
+
};
|
package/dist/icons/Icon.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CSSProperties } from 'react';
|
|
|
3
3
|
import { IconNode, UixIcon, IconProps } from './types.js';
|
|
4
4
|
|
|
5
5
|
/** Renders a glyph as an inline SVG; the props contract shared by every icon. */
|
|
6
|
-
declare function renderIcon(node: IconNode, { size, tone, label, strokeWidth, className, style, ...rest }: IconProps, ref?: unknown): react.ReactElement<{
|
|
6
|
+
declare function renderIcon(node: IconNode, { size, tone, label, strokeWidth, animate, className, style, ...rest }: IconProps, ref?: unknown, name?: string): react.ReactElement<{
|
|
7
7
|
string?: number | string | undefined | undefined;
|
|
8
8
|
filter?: string | undefined | undefined;
|
|
9
9
|
values?: string | undefined | undefined;
|
|
@@ -269,11 +269,11 @@ declare function renderIcon(node: IconNode, { size, tone, label, strokeWidth, cl
|
|
|
269
269
|
clip?: number | string | undefined | undefined;
|
|
270
270
|
stroke: string;
|
|
271
271
|
href?: string | undefined | undefined;
|
|
272
|
+
d?: string | undefined | undefined;
|
|
272
273
|
mask?: string | undefined | undefined;
|
|
273
274
|
path?: string | undefined | undefined;
|
|
274
275
|
key?: react.Key | null | undefined;
|
|
275
276
|
format?: number | string | undefined | undefined;
|
|
276
|
-
d?: string | undefined | undefined;
|
|
277
277
|
capHeight?: number | string | undefined | undefined;
|
|
278
278
|
dy?: number | string | undefined | undefined;
|
|
279
279
|
dx?: number | string | undefined | undefined;
|
|
@@ -482,6 +482,8 @@ declare function renderIcon(node: IconNode, { size, tone, label, strokeWidth, cl
|
|
|
482
482
|
strokeWidth: string | number;
|
|
483
483
|
className: string;
|
|
484
484
|
style: CSSProperties | undefined;
|
|
485
|
+
'data-icon': string | undefined;
|
|
486
|
+
'data-animate': string | undefined;
|
|
485
487
|
}, string | react.JSXElementConstructor<any>>;
|
|
486
488
|
/** Makes a named, ref-forwarding component for one glyph (the generated `<Name>Icon` exports). */
|
|
487
489
|
declare function createIcon(displayName: string, node: IconNode): UixIcon;
|
package/dist/icons/Icon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElement, forwardRef } from "react";
|
|
2
2
|
import { cx } from "../cx.js";
|
|
3
3
|
const SIZES = /* @__PURE__ */ new Set(["sm", "md", "lg"]);
|
|
4
|
-
function renderIcon(node, { size = "md", tone = "current", label, strokeWidth = 2, className, style, ...rest }, ref) {
|
|
4
|
+
function renderIcon(node, { size = "md", tone = "current", label, strokeWidth = 2, animate, className, style, ...rest }, ref, name) {
|
|
5
5
|
const tokenSize = typeof size === "string" && SIZES.has(size);
|
|
6
6
|
const length = typeof size === "number" ? `${size}px` : tokenSize ? void 0 : size;
|
|
7
7
|
return createElement(
|
|
@@ -21,13 +21,17 @@ function renderIcon(node, { size = "md", tone = "current", label, strokeWidth =
|
|
|
21
21
|
role: label ? "img" : void 0,
|
|
22
22
|
"aria-label": label || void 0,
|
|
23
23
|
"aria-hidden": label ? void 0 : true,
|
|
24
|
+
// the animated icons (2.60): icon.css keys each motion on the glyph's name
|
|
25
|
+
"data-icon": animate && name ? name : void 0,
|
|
26
|
+
"data-animate": animate ? "" : void 0,
|
|
24
27
|
...rest
|
|
25
28
|
},
|
|
26
29
|
node.map(([tag, attrs], i) => createElement(tag, { key: i, ...attrs }))
|
|
27
30
|
);
|
|
28
31
|
}
|
|
29
32
|
function createIcon(displayName, node) {
|
|
30
|
-
const
|
|
33
|
+
const name = displayName.replace(/Icon$/, "").replace(/([a-z0-9])([A-Z])|([a-zA-Z])(\d)/g, (_, a, b, c, d) => a ? `${a}-${b}` : `${c}-${d}`).toLowerCase();
|
|
34
|
+
const Component = forwardRef((props, ref) => renderIcon(node, props, ref, name));
|
|
31
35
|
Component.displayName = displayName;
|
|
32
36
|
return Component;
|
|
33
37
|
}
|
package/dist/icons/NamedIcon.js
CHANGED
|
@@ -2,7 +2,7 @@ import { forwardRef } from "react";
|
|
|
2
2
|
import { renderIcon } from "./Icon.js";
|
|
3
3
|
import { ICON_GLYPHS } from "./glyphs.js";
|
|
4
4
|
const Icon = forwardRef(function Icon2({ name, ...props }, ref) {
|
|
5
|
-
return renderIcon(ICON_GLYPHS[name], props, ref);
|
|
5
|
+
return renderIcon(ICON_GLYPHS[name], props, ref, name);
|
|
6
6
|
});
|
|
7
7
|
export {
|
|
8
8
|
Icon
|
|
@@ -163,6 +163,7 @@ declare const PlaneIcon: UixIcon;
|
|
|
163
163
|
declare const PlayIcon: UixIcon;
|
|
164
164
|
declare const PlugIcon: UixIcon;
|
|
165
165
|
declare const PlusIcon: UixIcon;
|
|
166
|
+
declare const PresentationIcon: UixIcon;
|
|
166
167
|
declare const PrinterIcon: UixIcon;
|
|
167
168
|
declare const QrCodeIcon: UixIcon;
|
|
168
169
|
declare const RadioIcon: UixIcon;
|
|
@@ -257,4 +258,4 @@ declare const PlayCircleIcon: UixIcon;
|
|
|
257
258
|
declare const SmileIcon: UixIcon;
|
|
258
259
|
declare const XCircleIcon: UixIcon;
|
|
259
260
|
|
|
260
|
-
export { AccessibilityIcon, ActivityIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, ArrowUpRightIcon, AwardIcon, BadgeCheckIcon, BanknoteIcon, BarChart3Icon, BellIcon, BellOffIcon, BellRingIcon, BookOpenIcon, BookmarkIcon, BotIcon, BoxesIcon, BriefcaseIcon, Building2Icon, CalendarCheckIcon, CalendarClockIcon, CalendarDaysIcon, CalendarIcon, CalendarOffIcon, CalendarXIcon, CameraIcon, ChartColumnIcon, CheckCheckIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckBigIcon, CircleCheckIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CirclePauseIcon, CirclePlayIcon, CircleQuestionMarkIcon, CircleXIcon, ClipboardCheckIcon, ClipboardListIcon, ClockIcon, CloudIcon, CloudOffIcon, CoinsIcon, Columns3Icon, CommandIcon, ComponentIcon, CopyIcon, CornerUpLeftIcon, CreditCardIcon, DatabaseBackupIcon, DatabaseIcon, DoorOpenIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FaceSlightlySmilingIcon, FileArchiveIcon, FileBarChartIcon, FileChartColumnIncreasingIcon, FileCheck2Icon, FileCheckCornerIcon, FileCheckIcon, FileCodeIcon, FileDownIcon, FileIcon, FileImageIcon, FileInputIcon, FileQuestionIcon, FileQuestionMarkIcon, FileSearchIcon, FileSpreadsheetIcon, FileTerminalIcon, FileTextIcon, FileUpIcon, FilterIcon, FlagIcon, FolderCheckIcon, FolderKanbanIcon, FolderTreeIcon, FunnelIcon, GanttChartSquareIcon, GaugeIcon, GitBranchIcon, GitBranchPlusIcon, GitCompareArrowsIcon, GitMergeIcon, GitPullRequestArrowIcon, GitPullRequestClosedIcon, GlobeIcon, GraduationCapIcon, Grid3x3Icon, GripVerticalIcon, HandHeartIcon, HeartIcon, HeartPulseIcon, HexagonIcon, HistoryIcon, HourglassIcon, HouseIcon, IdCardIcon, ImageIcon, InboxIcon, InfoIcon, KeyIcon, KeyRoundIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutTemplateIcon, LibraryIcon, LifeBuoyIcon, LightbulbIcon, Link2Icon, Link2OffIcon, LinkIcon, ListChecksIcon, ListFilterIcon, ListTreeIcon, Loader2Icon, LoaderCircleIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapPinIcon, Maximize2Icon, MegaphoneIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, Minimize2Icon, MinusIcon, MonitorCogIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, NewspaperIcon, NotebookPenIcon, OctagonAlertIcon, PackageIcon, PackageOpenIcon, PackageSearchIcon, PaletteIcon, PanelLeftIcon, PaperclipIcon, PartyPopperIcon, PauseCircleIcon, PauseIcon, PenLineIcon, PencilIcon, PhoneIcon, PlaneIcon, PlayCircleIcon, PlayIcon, PlugIcon, PlusIcon, PrinterIcon, QrCodeIcon, RadioIcon, RadioTowerIcon, ReceiptIcon, RefreshCwIcon, RotateCcwClockIcon, RotateCcwIcon, RouteIcon, Rows2Icon, Rows3Icon, Rows4Icon, SaveIcon, ScaleIcon, ScanBarcodeIcon, ScanIcon, ScanSearchIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShapesIcon, Share2Icon, ShieldAlertIcon, ShieldCheckIcon, ShieldHalfIcon, ShieldIcon, ShieldOffIcon, ShieldXIcon, ShoppingCartIcon, SignpostIcon, SirenIcon, SlidersHorizontalIcon, SmileIcon, SparklesIcon, SquareChartGanttIcon, SquareIcon, StampIcon, StarIcon, StarOffIcon, StoreIcon, SunIcon, TagIcon, TagsIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, TimerIcon, TimerOffIcon, Trash2Icon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UnlinkIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UserPlusIcon, UserRoundIcon, UserXIcon, UsersIcon, UsersRoundIcon, WalletIcon, WaypointsIcon, WebhookIcon, WifiIcon, WifiOffIcon, WorkflowIcon, WrenchIcon, XCircleIcon, XIcon, ZapIcon };
|
|
261
|
+
export { AccessibilityIcon, ActivityIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, ArrowUpRightIcon, AwardIcon, BadgeCheckIcon, BanknoteIcon, BarChart3Icon, BellIcon, BellOffIcon, BellRingIcon, BookOpenIcon, BookmarkIcon, BotIcon, BoxesIcon, BriefcaseIcon, Building2Icon, CalendarCheckIcon, CalendarClockIcon, CalendarDaysIcon, CalendarIcon, CalendarOffIcon, CalendarXIcon, CameraIcon, ChartColumnIcon, CheckCheckIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckBigIcon, CircleCheckIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CirclePauseIcon, CirclePlayIcon, CircleQuestionMarkIcon, CircleXIcon, ClipboardCheckIcon, ClipboardListIcon, ClockIcon, CloudIcon, CloudOffIcon, CoinsIcon, Columns3Icon, CommandIcon, ComponentIcon, CopyIcon, CornerUpLeftIcon, CreditCardIcon, DatabaseBackupIcon, DatabaseIcon, DoorOpenIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FaceSlightlySmilingIcon, FileArchiveIcon, FileBarChartIcon, FileChartColumnIncreasingIcon, FileCheck2Icon, FileCheckCornerIcon, FileCheckIcon, FileCodeIcon, FileDownIcon, FileIcon, FileImageIcon, FileInputIcon, FileQuestionIcon, FileQuestionMarkIcon, FileSearchIcon, FileSpreadsheetIcon, FileTerminalIcon, FileTextIcon, FileUpIcon, FilterIcon, FlagIcon, FolderCheckIcon, FolderKanbanIcon, FolderTreeIcon, FunnelIcon, GanttChartSquareIcon, GaugeIcon, GitBranchIcon, GitBranchPlusIcon, GitCompareArrowsIcon, GitMergeIcon, GitPullRequestArrowIcon, GitPullRequestClosedIcon, GlobeIcon, GraduationCapIcon, Grid3x3Icon, GripVerticalIcon, HandHeartIcon, HeartIcon, HeartPulseIcon, HexagonIcon, HistoryIcon, HourglassIcon, HouseIcon, IdCardIcon, ImageIcon, InboxIcon, InfoIcon, KeyIcon, KeyRoundIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutTemplateIcon, LibraryIcon, LifeBuoyIcon, LightbulbIcon, Link2Icon, Link2OffIcon, LinkIcon, ListChecksIcon, ListFilterIcon, ListTreeIcon, Loader2Icon, LoaderCircleIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapPinIcon, Maximize2Icon, MegaphoneIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, Minimize2Icon, MinusIcon, MonitorCogIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, NewspaperIcon, NotebookPenIcon, OctagonAlertIcon, PackageIcon, PackageOpenIcon, PackageSearchIcon, PaletteIcon, PanelLeftIcon, PaperclipIcon, PartyPopperIcon, PauseCircleIcon, PauseIcon, PenLineIcon, PencilIcon, PhoneIcon, PlaneIcon, PlayCircleIcon, PlayIcon, PlugIcon, PlusIcon, PresentationIcon, PrinterIcon, QrCodeIcon, RadioIcon, RadioTowerIcon, ReceiptIcon, RefreshCwIcon, RotateCcwClockIcon, RotateCcwIcon, RouteIcon, Rows2Icon, Rows3Icon, Rows4Icon, SaveIcon, ScaleIcon, ScanBarcodeIcon, ScanIcon, ScanSearchIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShapesIcon, Share2Icon, ShieldAlertIcon, ShieldCheckIcon, ShieldHalfIcon, ShieldIcon, ShieldOffIcon, ShieldXIcon, ShoppingCartIcon, SignpostIcon, SirenIcon, SlidersHorizontalIcon, SmileIcon, SparklesIcon, SquareChartGanttIcon, SquareIcon, StampIcon, StarIcon, StarOffIcon, StoreIcon, SunIcon, TagIcon, TagsIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, TimerIcon, TimerOffIcon, Trash2Icon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UnlinkIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UserPlusIcon, UserRoundIcon, UserXIcon, UsersIcon, UsersRoundIcon, WalletIcon, WaypointsIcon, WebhookIcon, WifiIcon, WifiOffIcon, WorkflowIcon, WrenchIcon, XCircleIcon, XIcon, ZapIcon };
|
package/dist/icons/components.js
CHANGED
|
@@ -162,6 +162,7 @@ const PlaneIcon = /* @__PURE__ */ createIcon("PlaneIcon", g.glyphPlane);
|
|
|
162
162
|
const PlayIcon = /* @__PURE__ */ createIcon("PlayIcon", g.glyphPlay);
|
|
163
163
|
const PlugIcon = /* @__PURE__ */ createIcon("PlugIcon", g.glyphPlug);
|
|
164
164
|
const PlusIcon = /* @__PURE__ */ createIcon("PlusIcon", g.glyphPlus);
|
|
165
|
+
const PresentationIcon = /* @__PURE__ */ createIcon("PresentationIcon", g.glyphPresentation);
|
|
165
166
|
const PrinterIcon = /* @__PURE__ */ createIcon("PrinterIcon", g.glyphPrinter);
|
|
166
167
|
const QrCodeIcon = /* @__PURE__ */ createIcon("QrCodeIcon", g.glyphQrCode);
|
|
167
168
|
const RadioIcon = /* @__PURE__ */ createIcon("RadioIcon", g.glyphRadio);
|
|
@@ -435,6 +436,7 @@ export {
|
|
|
435
436
|
PlayIcon,
|
|
436
437
|
PlugIcon,
|
|
437
438
|
PlusIcon,
|
|
439
|
+
PresentationIcon,
|
|
438
440
|
PrinterIcon,
|
|
439
441
|
QrCodeIcon,
|
|
440
442
|
RadioIcon,
|
package/dist/icons/glyphs.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ declare const glyphPlane: IconNode;
|
|
|
163
163
|
declare const glyphPlay: IconNode;
|
|
164
164
|
declare const glyphPlug: IconNode;
|
|
165
165
|
declare const glyphPlus: IconNode;
|
|
166
|
+
declare const glyphPresentation: IconNode;
|
|
166
167
|
declare const glyphPrinter: IconNode;
|
|
167
168
|
declare const glyphQrCode: IconNode;
|
|
168
169
|
declare const glyphRadio: IconNode;
|
|
@@ -401,6 +402,7 @@ declare const ICON_GLYPHS: {
|
|
|
401
402
|
readonly play: IconNode;
|
|
402
403
|
readonly plug: IconNode;
|
|
403
404
|
readonly plus: IconNode;
|
|
405
|
+
readonly presentation: IconNode;
|
|
404
406
|
readonly printer: IconNode;
|
|
405
407
|
readonly 'qr-code': IconNode;
|
|
406
408
|
readonly radio: IconNode;
|
|
@@ -479,4 +481,4 @@ declare const ICON_GLYPHS: {
|
|
|
479
481
|
/** A glyph name for `<Icon name>`. */
|
|
480
482
|
type IconName = keyof typeof ICON_GLYPHS;
|
|
481
483
|
|
|
482
|
-
export { ICON_GLYPHS, type IconName, glyphAccessibility, glyphActivity, glyphArchive, glyphArrowDown, glyphArrowLeft, glyphArrowLeftRight, glyphArrowRight, glyphArrowUp, glyphArrowUpDown, glyphArrowUpRight, glyphAward, glyphBadgeCheck, glyphBanknote, glyphBell, glyphBellOff, glyphBellRing, glyphBookOpen, glyphBookmark, glyphBot, glyphBoxes, glyphBriefcase, glyphBuilding2, glyphCalendar, glyphCalendarCheck, glyphCalendarClock, glyphCalendarDays, glyphCalendarOff, glyphCalendarX, glyphCamera, glyphChartColumn, glyphCheck, glyphCheckCheck, glyphChevronDown, glyphChevronLeft, glyphChevronRight, glyphChevronUp, glyphChevronsDownUp, glyphChevronsLeft, glyphChevronsRight, glyphChevronsUpDown, glyphCircle, glyphCircleAlert, glyphCircleCheck, glyphCircleCheckBig, glyphCircleDot, glyphCirclePause, glyphCirclePlay, glyphCircleQuestionMark, glyphCircleX, glyphClipboardCheck, glyphClipboardList, glyphClock, glyphCloud, glyphCloudOff, glyphCoins, glyphColumns3, glyphCommand, glyphComponent, glyphCopy, glyphCornerUpLeft, glyphCreditCard, glyphDatabase, glyphDatabaseBackup, glyphDoorOpen, glyphDownload, glyphEllipsis, glyphEllipsisVertical, glyphExternalLink, glyphEye, glyphEyeOff, glyphFaceSlightlySmiling, glyphFile, glyphFileArchive, glyphFileChartColumnIncreasing, glyphFileCheck, glyphFileCheckCorner, glyphFileCode, glyphFileDown, glyphFileImage, glyphFileInput, glyphFileQuestionMark, glyphFileSearch, glyphFileSpreadsheet, glyphFileTerminal, glyphFileText, glyphFileUp, glyphFlag, glyphFolderCheck, glyphFolderKanban, glyphFolderTree, glyphFunnel, glyphGauge, glyphGitBranch, glyphGitBranchPlus, glyphGitCompareArrows, glyphGitMerge, glyphGitPullRequestArrow, glyphGitPullRequestClosed, glyphGlobe, glyphGraduationCap, glyphGrid3x3, glyphGripVertical, glyphHandHeart, glyphHeart, glyphHeartPulse, glyphHexagon, glyphHourglass, glyphHouse, glyphIdCard, glyphImage, glyphInbox, glyphInfo, glyphKey, glyphKeyRound, glyphLanguages, glyphLaptop, glyphLayers, glyphLayoutDashboard, glyphLayoutTemplate, glyphLibrary, glyphLifeBuoy, glyphLightbulb, glyphLink, glyphLink2, glyphLink2Off, glyphListChecks, glyphListFilter, glyphListTree, glyphLoaderCircle, glyphLock, glyphLogIn, glyphLogOut, glyphMail, glyphMapPin, glyphMaximize2, glyphMegaphone, glyphMenu, glyphMessageCircle, glyphMessageSquare, glyphMinimize2, glyphMinus, glyphMonitor, glyphMonitorCog, glyphMoon, glyphNewspaper, glyphNotebookPen, glyphOctagonAlert, glyphPackage, glyphPackageOpen, glyphPackageSearch, glyphPalette, glyphPanelLeft, glyphPaperclip, glyphPartyPopper, glyphPause, glyphPenLine, glyphPencil, glyphPhone, glyphPlane, glyphPlay, glyphPlug, glyphPlus, glyphPrinter, glyphQrCode, glyphRadio, glyphRadioTower, glyphReceipt, glyphRefreshCw, glyphRotateCcw, glyphRotateCcwClock, glyphRoute, glyphRows2, glyphRows3, glyphRows4, glyphSave, glyphScale, glyphScan, glyphScanBarcode, glyphScanSearch, glyphScrollText, glyphSearch, glyphSearchX, glyphSend, glyphServer, glyphSettings, glyphSettings2, glyphShapes, glyphShare2, glyphShield, glyphShieldAlert, glyphShieldCheck, glyphShieldHalf, glyphShieldOff, glyphShieldX, glyphShoppingCart, glyphSignpost, glyphSiren, glyphSlidersHorizontal, glyphSparkles, glyphSquare, glyphSquareChartGantt, glyphStamp, glyphStar, glyphStarOff, glyphStore, glyphSun, glyphTag, glyphTags, glyphThumbsDown, glyphThumbsUp, glyphTicket, glyphTimer, glyphTimerOff, glyphTrash2, glyphTrendingDown, glyphTrendingUp, glyphTriangleAlert, glyphUnlink, glyphUpload, glyphUser, glyphUserCheck, glyphUserCog, glyphUserPlus, glyphUserRound, glyphUserX, glyphUsers, glyphUsersRound, glyphWallet, glyphWaypoints, glyphWebhook, glyphWifi, glyphWifiOff, glyphWorkflow, glyphWrench, glyphX, glyphZap };
|
|
484
|
+
export { ICON_GLYPHS, type IconName, glyphAccessibility, glyphActivity, glyphArchive, glyphArrowDown, glyphArrowLeft, glyphArrowLeftRight, glyphArrowRight, glyphArrowUp, glyphArrowUpDown, glyphArrowUpRight, glyphAward, glyphBadgeCheck, glyphBanknote, glyphBell, glyphBellOff, glyphBellRing, glyphBookOpen, glyphBookmark, glyphBot, glyphBoxes, glyphBriefcase, glyphBuilding2, glyphCalendar, glyphCalendarCheck, glyphCalendarClock, glyphCalendarDays, glyphCalendarOff, glyphCalendarX, glyphCamera, glyphChartColumn, glyphCheck, glyphCheckCheck, glyphChevronDown, glyphChevronLeft, glyphChevronRight, glyphChevronUp, glyphChevronsDownUp, glyphChevronsLeft, glyphChevronsRight, glyphChevronsUpDown, glyphCircle, glyphCircleAlert, glyphCircleCheck, glyphCircleCheckBig, glyphCircleDot, glyphCirclePause, glyphCirclePlay, glyphCircleQuestionMark, glyphCircleX, glyphClipboardCheck, glyphClipboardList, glyphClock, glyphCloud, glyphCloudOff, glyphCoins, glyphColumns3, glyphCommand, glyphComponent, glyphCopy, glyphCornerUpLeft, glyphCreditCard, glyphDatabase, glyphDatabaseBackup, glyphDoorOpen, glyphDownload, glyphEllipsis, glyphEllipsisVertical, glyphExternalLink, glyphEye, glyphEyeOff, glyphFaceSlightlySmiling, glyphFile, glyphFileArchive, glyphFileChartColumnIncreasing, glyphFileCheck, glyphFileCheckCorner, glyphFileCode, glyphFileDown, glyphFileImage, glyphFileInput, glyphFileQuestionMark, glyphFileSearch, glyphFileSpreadsheet, glyphFileTerminal, glyphFileText, glyphFileUp, glyphFlag, glyphFolderCheck, glyphFolderKanban, glyphFolderTree, glyphFunnel, glyphGauge, glyphGitBranch, glyphGitBranchPlus, glyphGitCompareArrows, glyphGitMerge, glyphGitPullRequestArrow, glyphGitPullRequestClosed, glyphGlobe, glyphGraduationCap, glyphGrid3x3, glyphGripVertical, glyphHandHeart, glyphHeart, glyphHeartPulse, glyphHexagon, glyphHourglass, glyphHouse, glyphIdCard, glyphImage, glyphInbox, glyphInfo, glyphKey, glyphKeyRound, glyphLanguages, glyphLaptop, glyphLayers, glyphLayoutDashboard, glyphLayoutTemplate, glyphLibrary, glyphLifeBuoy, glyphLightbulb, glyphLink, glyphLink2, glyphLink2Off, glyphListChecks, glyphListFilter, glyphListTree, glyphLoaderCircle, glyphLock, glyphLogIn, glyphLogOut, glyphMail, glyphMapPin, glyphMaximize2, glyphMegaphone, glyphMenu, glyphMessageCircle, glyphMessageSquare, glyphMinimize2, glyphMinus, glyphMonitor, glyphMonitorCog, glyphMoon, glyphNewspaper, glyphNotebookPen, glyphOctagonAlert, glyphPackage, glyphPackageOpen, glyphPackageSearch, glyphPalette, glyphPanelLeft, glyphPaperclip, glyphPartyPopper, glyphPause, glyphPenLine, glyphPencil, glyphPhone, glyphPlane, glyphPlay, glyphPlug, glyphPlus, glyphPresentation, glyphPrinter, glyphQrCode, glyphRadio, glyphRadioTower, glyphReceipt, glyphRefreshCw, glyphRotateCcw, glyphRotateCcwClock, glyphRoute, glyphRows2, glyphRows3, glyphRows4, glyphSave, glyphScale, glyphScan, glyphScanBarcode, glyphScanSearch, glyphScrollText, glyphSearch, glyphSearchX, glyphSend, glyphServer, glyphSettings, glyphSettings2, glyphShapes, glyphShare2, glyphShield, glyphShieldAlert, glyphShieldCheck, glyphShieldHalf, glyphShieldOff, glyphShieldX, glyphShoppingCart, glyphSignpost, glyphSiren, glyphSlidersHorizontal, glyphSparkles, glyphSquare, glyphSquareChartGantt, glyphStamp, glyphStar, glyphStarOff, glyphStore, glyphSun, glyphTag, glyphTags, glyphThumbsDown, glyphThumbsUp, glyphTicket, glyphTimer, glyphTimerOff, glyphTrash2, glyphTrendingDown, glyphTrendingUp, glyphTriangleAlert, glyphUnlink, glyphUpload, glyphUser, glyphUserCheck, glyphUserCog, glyphUserPlus, glyphUserRound, glyphUserX, glyphUsers, glyphUsersRound, glyphWallet, glyphWaypoints, glyphWebhook, glyphWifi, glyphWifiOff, glyphWorkflow, glyphWrench, glyphX, glyphZap };
|
package/dist/icons/glyphs.js
CHANGED
|
@@ -160,6 +160,7 @@ const glyphPlane = [["path", { "d": "M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-
|
|
|
160
160
|
const glyphPlay = [["path", { "d": "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" }]];
|
|
161
161
|
const glyphPlug = [["path", { "d": "M12 22v-5" }], ["path", { "d": "M15 8V2" }], ["path", { "d": "M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z" }], ["path", { "d": "M9 8V2" }]];
|
|
162
162
|
const glyphPlus = [["path", { "d": "M5 12h14" }], ["path", { "d": "M12 5v14" }]];
|
|
163
|
+
const glyphPresentation = [["path", { "d": "M2 3h20" }], ["path", { "d": "M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3" }], ["path", { "d": "m7 21 5-5 5 5" }]];
|
|
163
164
|
const glyphPrinter = [["path", { "d": "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" }], ["path", { "d": "M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6" }], ["rect", { "x": "6", "y": "14", "width": "12", "height": "8", "rx": "1" }]];
|
|
164
165
|
const glyphQrCode = [["rect", { "width": "5", "height": "5", "x": "3", "y": "3", "rx": "1" }], ["rect", { "width": "5", "height": "5", "x": "16", "y": "3", "rx": "1" }], ["rect", { "width": "5", "height": "5", "x": "3", "y": "16", "rx": "1" }], ["path", { "d": "M21 16h-3a2 2 0 0 0-2 2v3" }], ["path", { "d": "M21 21v.01" }], ["path", { "d": "M12 7v3a2 2 0 0 1-2 2H7" }], ["path", { "d": "M3 12h.01" }], ["path", { "d": "M12 3h.01" }], ["path", { "d": "M12 16v.01" }], ["path", { "d": "M16 12h1" }], ["path", { "d": "M21 12v.01" }], ["path", { "d": "M12 21v-1" }]];
|
|
165
166
|
const glyphRadio = [["path", { "d": "M16.247 7.761a6 6 0 0 1 0 8.478" }], ["path", { "d": "M19.075 4.933a10 10 0 0 1 0 14.134" }], ["path", { "d": "M4.925 19.067a10 10 0 0 1 0-14.134" }], ["path", { "d": "M7.753 16.239a6 6 0 0 1 0-8.478" }], ["circle", { "cx": "12", "cy": "12", "r": "2" }]];
|
|
@@ -397,6 +398,7 @@ const ICON_GLYPHS = {
|
|
|
397
398
|
"play": glyphPlay,
|
|
398
399
|
"plug": glyphPlug,
|
|
399
400
|
"plus": glyphPlus,
|
|
401
|
+
"presentation": glyphPresentation,
|
|
400
402
|
"printer": glyphPrinter,
|
|
401
403
|
"qr-code": glyphQrCode,
|
|
402
404
|
"radio": glyphRadio,
|
|
@@ -636,6 +638,7 @@ export {
|
|
|
636
638
|
glyphPlay,
|
|
637
639
|
glyphPlug,
|
|
638
640
|
glyphPlus,
|
|
641
|
+
glyphPresentation,
|
|
639
642
|
glyphPrinter,
|
|
640
643
|
glyphQrCode,
|
|
641
644
|
glyphRadio,
|
package/dist/icons/types.d.ts
CHANGED
|
@@ -19,6 +19,17 @@ interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
|
19
19
|
label?: string;
|
|
20
20
|
/** Stroke width in the 24-unit box. Default 2. */
|
|
21
21
|
strokeWidth?: number | string;
|
|
22
|
+
/**
|
|
23
|
+
* Let the icon answer its control (2.60, the kit's animated icons). On a pointer hover over the
|
|
24
|
+
* button, link, menu item or tab around it, an icon with a motion of its own plays it once: the
|
|
25
|
+
* arrow nudges forward, plus and close turn a quarter, the gear turns one tooth, refresh turns
|
|
26
|
+
* half, the bell tips, send lifts off, download and upload move their arrow, the bin lifts its lid,
|
|
27
|
+
* copy shifts its front sheet, the star pops. A check draws itself when it appears (a copied or
|
|
28
|
+
* saved state). Icons without a motion stay still. Off by default: keep it for occasional
|
|
29
|
+
* actions, never for rows people pass a hundred times a day. Keyboard focus and reduced motion
|
|
30
|
+
* never animate it.
|
|
31
|
+
*/
|
|
32
|
+
animate?: boolean;
|
|
22
33
|
}
|
|
23
34
|
/** An icon component, e.g. `ShieldCheckIcon`. Replaces Lucide's `LucideIcon` type. */
|
|
24
35
|
type UixIcon = ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
package/dist/icons.cjs
CHANGED
|
@@ -201,6 +201,7 @@ __export(icons_exports, {
|
|
|
201
201
|
PlayIcon: () => PlayIcon,
|
|
202
202
|
PlugIcon: () => PlugIcon,
|
|
203
203
|
PlusIcon: () => PlusIcon,
|
|
204
|
+
PresentationIcon: () => PresentationIcon,
|
|
204
205
|
PrinterIcon: () => PrinterIcon,
|
|
205
206
|
QrCodeIcon: () => QrCodeIcon,
|
|
206
207
|
RadioIcon: () => RadioIcon,
|
|
@@ -294,7 +295,7 @@ function cx(...args) {
|
|
|
294
295
|
|
|
295
296
|
// src/icons/Icon.tsx
|
|
296
297
|
var SIZES = /* @__PURE__ */ new Set(["sm", "md", "lg"]);
|
|
297
|
-
function renderIcon(node, { size = "md", tone = "current", label, strokeWidth = 2, className, style, ...rest }, ref) {
|
|
298
|
+
function renderIcon(node, { size = "md", tone = "current", label, strokeWidth = 2, animate, className, style, ...rest }, ref, name) {
|
|
298
299
|
const tokenSize = typeof size === "string" && SIZES.has(size);
|
|
299
300
|
const length = typeof size === "number" ? `${size}px` : tokenSize ? void 0 : size;
|
|
300
301
|
return (0, import_react.createElement)(
|
|
@@ -314,13 +315,17 @@ function renderIcon(node, { size = "md", tone = "current", label, strokeWidth =
|
|
|
314
315
|
role: label ? "img" : void 0,
|
|
315
316
|
"aria-label": label || void 0,
|
|
316
317
|
"aria-hidden": label ? void 0 : true,
|
|
318
|
+
// the animated icons (2.60): icon.css keys each motion on the glyph's name
|
|
319
|
+
"data-icon": animate && name ? name : void 0,
|
|
320
|
+
"data-animate": animate ? "" : void 0,
|
|
317
321
|
...rest
|
|
318
322
|
},
|
|
319
323
|
node.map(([tag, attrs], i) => (0, import_react.createElement)(tag, { key: i, ...attrs }))
|
|
320
324
|
);
|
|
321
325
|
}
|
|
322
326
|
function createIcon(displayName, node) {
|
|
323
|
-
const
|
|
327
|
+
const name = displayName.replace(/Icon$/, "").replace(/([a-z0-9])([A-Z])|([a-zA-Z])(\d)/g, (_, a, b, c, d) => a ? `${a}-${b}` : `${c}-${d}`).toLowerCase();
|
|
328
|
+
const Component = (0, import_react.forwardRef)((props, ref) => renderIcon(node, props, ref, name));
|
|
324
329
|
Component.displayName = displayName;
|
|
325
330
|
return Component;
|
|
326
331
|
}
|
|
@@ -488,6 +493,7 @@ var glyphPlane = [["path", { "d": "M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-
|
|
|
488
493
|
var glyphPlay = [["path", { "d": "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" }]];
|
|
489
494
|
var glyphPlug = [["path", { "d": "M12 22v-5" }], ["path", { "d": "M15 8V2" }], ["path", { "d": "M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z" }], ["path", { "d": "M9 8V2" }]];
|
|
490
495
|
var glyphPlus = [["path", { "d": "M5 12h14" }], ["path", { "d": "M12 5v14" }]];
|
|
496
|
+
var glyphPresentation = [["path", { "d": "M2 3h20" }], ["path", { "d": "M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3" }], ["path", { "d": "m7 21 5-5 5 5" }]];
|
|
491
497
|
var glyphPrinter = [["path", { "d": "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" }], ["path", { "d": "M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6" }], ["rect", { "x": "6", "y": "14", "width": "12", "height": "8", "rx": "1" }]];
|
|
492
498
|
var glyphQrCode = [["rect", { "width": "5", "height": "5", "x": "3", "y": "3", "rx": "1" }], ["rect", { "width": "5", "height": "5", "x": "16", "y": "3", "rx": "1" }], ["rect", { "width": "5", "height": "5", "x": "3", "y": "16", "rx": "1" }], ["path", { "d": "M21 16h-3a2 2 0 0 0-2 2v3" }], ["path", { "d": "M21 21v.01" }], ["path", { "d": "M12 7v3a2 2 0 0 1-2 2H7" }], ["path", { "d": "M3 12h.01" }], ["path", { "d": "M12 3h.01" }], ["path", { "d": "M12 16v.01" }], ["path", { "d": "M16 12h1" }], ["path", { "d": "M21 12v.01" }], ["path", { "d": "M12 21v-1" }]];
|
|
493
499
|
var glyphRadio = [["path", { "d": "M16.247 7.761a6 6 0 0 1 0 8.478" }], ["path", { "d": "M19.075 4.933a10 10 0 0 1 0 14.134" }], ["path", { "d": "M4.925 19.067a10 10 0 0 1 0-14.134" }], ["path", { "d": "M7.753 16.239a6 6 0 0 1 0-8.478" }], ["circle", { "cx": "12", "cy": "12", "r": "2" }]];
|
|
@@ -725,6 +731,7 @@ var ICON_GLYPHS = {
|
|
|
725
731
|
"play": glyphPlay,
|
|
726
732
|
"plug": glyphPlug,
|
|
727
733
|
"plus": glyphPlus,
|
|
734
|
+
"presentation": glyphPresentation,
|
|
728
735
|
"printer": glyphPrinter,
|
|
729
736
|
"qr-code": glyphQrCode,
|
|
730
737
|
"radio": glyphRadio,
|
|
@@ -803,7 +810,7 @@ var ICON_GLYPHS = {
|
|
|
803
810
|
|
|
804
811
|
// src/icons/NamedIcon.tsx
|
|
805
812
|
var Icon = (0, import_react2.forwardRef)(function Icon2({ name, ...props }, ref) {
|
|
806
|
-
return renderIcon(ICON_GLYPHS[name], props, ref);
|
|
813
|
+
return renderIcon(ICON_GLYPHS[name], props, ref, name);
|
|
807
814
|
});
|
|
808
815
|
|
|
809
816
|
// src/icons/components.ts
|
|
@@ -969,6 +976,7 @@ var PlaneIcon = /* @__PURE__ */ createIcon("PlaneIcon", glyphPlane);
|
|
|
969
976
|
var PlayIcon = /* @__PURE__ */ createIcon("PlayIcon", glyphPlay);
|
|
970
977
|
var PlugIcon = /* @__PURE__ */ createIcon("PlugIcon", glyphPlug);
|
|
971
978
|
var PlusIcon = /* @__PURE__ */ createIcon("PlusIcon", glyphPlus);
|
|
979
|
+
var PresentationIcon = /* @__PURE__ */ createIcon("PresentationIcon", glyphPresentation);
|
|
972
980
|
var PrinterIcon = /* @__PURE__ */ createIcon("PrinterIcon", glyphPrinter);
|
|
973
981
|
var QrCodeIcon = /* @__PURE__ */ createIcon("QrCodeIcon", glyphQrCode);
|
|
974
982
|
var RadioIcon = /* @__PURE__ */ createIcon("RadioIcon", glyphRadio);
|
|
@@ -1245,6 +1253,7 @@ var XCircleIcon = CircleXIcon;
|
|
|
1245
1253
|
PlayIcon,
|
|
1246
1254
|
PlugIcon,
|
|
1247
1255
|
PlusIcon,
|
|
1256
|
+
PresentationIcon,
|
|
1248
1257
|
PrinterIcon,
|
|
1249
1258
|
QrCodeIcon,
|
|
1250
1259
|
RadioIcon,
|
package/dist/icons.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { I as IconNode, a as IconProps, U as UixIcon } from './types-
|
|
3
|
-
export { b as IconSize, c as IconTone } from './types-
|
|
2
|
+
import { I as IconNode, a as IconProps, U as UixIcon } from './types-B7OIndwg.cjs';
|
|
3
|
+
export { b as IconSize, c as IconTone } from './types-B7OIndwg.cjs';
|
|
4
4
|
|
|
5
5
|
/** Every glyph by its UIx name (the Lucide kebab-case name). Importing this pulls in the whole set. */
|
|
6
6
|
declare const ICON_GLYPHS: {
|
|
@@ -166,6 +166,7 @@ declare const ICON_GLYPHS: {
|
|
|
166
166
|
readonly play: IconNode;
|
|
167
167
|
readonly plug: IconNode;
|
|
168
168
|
readonly plus: IconNode;
|
|
169
|
+
readonly presentation: IconNode;
|
|
169
170
|
readonly printer: IconNode;
|
|
170
171
|
readonly 'qr-code': IconNode;
|
|
171
172
|
readonly radio: IconNode;
|
|
@@ -419,6 +420,7 @@ declare const PlaneIcon: UixIcon;
|
|
|
419
420
|
declare const PlayIcon: UixIcon;
|
|
420
421
|
declare const PlugIcon: UixIcon;
|
|
421
422
|
declare const PlusIcon: UixIcon;
|
|
423
|
+
declare const PresentationIcon: UixIcon;
|
|
422
424
|
declare const PrinterIcon: UixIcon;
|
|
423
425
|
declare const QrCodeIcon: UixIcon;
|
|
424
426
|
declare const RadioIcon: UixIcon;
|
|
@@ -513,4 +515,4 @@ declare const PlayCircleIcon: UixIcon;
|
|
|
513
515
|
declare const SmileIcon: UixIcon;
|
|
514
516
|
declare const XCircleIcon: UixIcon;
|
|
515
517
|
|
|
516
|
-
export { AccessibilityIcon, ActivityIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, ArrowUpRightIcon, AwardIcon, BadgeCheckIcon, BanknoteIcon, BarChart3Icon, BellIcon, BellOffIcon, BellRingIcon, BookOpenIcon, BookmarkIcon, BotIcon, BoxesIcon, BriefcaseIcon, Building2Icon, CalendarCheckIcon, CalendarClockIcon, CalendarDaysIcon, CalendarIcon, CalendarOffIcon, CalendarXIcon, CameraIcon, ChartColumnIcon, CheckCheckIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckBigIcon, CircleCheckIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CirclePauseIcon, CirclePlayIcon, CircleQuestionMarkIcon, CircleXIcon, ClipboardCheckIcon, ClipboardListIcon, ClockIcon, CloudIcon, CloudOffIcon, CoinsIcon, Columns3Icon, CommandIcon, ComponentIcon, CopyIcon, CornerUpLeftIcon, CreditCardIcon, DatabaseBackupIcon, DatabaseIcon, DoorOpenIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FaceSlightlySmilingIcon, FileArchiveIcon, FileBarChartIcon, FileChartColumnIncreasingIcon, FileCheck2Icon, FileCheckCornerIcon, FileCheckIcon, FileCodeIcon, FileDownIcon, FileIcon, FileImageIcon, FileInputIcon, FileQuestionIcon, FileQuestionMarkIcon, FileSearchIcon, FileSpreadsheetIcon, FileTerminalIcon, FileTextIcon, FileUpIcon, FilterIcon, FlagIcon, FolderCheckIcon, FolderKanbanIcon, FolderTreeIcon, FunnelIcon, GanttChartSquareIcon, GaugeIcon, GitBranchIcon, GitBranchPlusIcon, GitCompareArrowsIcon, GitMergeIcon, GitPullRequestArrowIcon, GitPullRequestClosedIcon, GlobeIcon, GraduationCapIcon, Grid3x3Icon, GripVerticalIcon, HandHeartIcon, HeartIcon, HeartPulseIcon, HexagonIcon, HistoryIcon, HourglassIcon, HouseIcon, ICON_GLYPHS, Icon, type IconByNameProps, type IconName, IconNode, IconProps, IdCardIcon, ImageIcon, InboxIcon, InfoIcon, KeyIcon, KeyRoundIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutTemplateIcon, LibraryIcon, LifeBuoyIcon, LightbulbIcon, Link2Icon, Link2OffIcon, LinkIcon, ListChecksIcon, ListFilterIcon, ListTreeIcon, Loader2Icon, LoaderCircleIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapPinIcon, Maximize2Icon, MegaphoneIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, Minimize2Icon, MinusIcon, MonitorCogIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, NewspaperIcon, NotebookPenIcon, OctagonAlertIcon, PackageIcon, PackageOpenIcon, PackageSearchIcon, PaletteIcon, PanelLeftIcon, PaperclipIcon, PartyPopperIcon, PauseCircleIcon, PauseIcon, PenLineIcon, PencilIcon, PhoneIcon, PlaneIcon, PlayCircleIcon, PlayIcon, PlugIcon, PlusIcon, PrinterIcon, QrCodeIcon, RadioIcon, RadioTowerIcon, ReceiptIcon, RefreshCwIcon, RotateCcwClockIcon, RotateCcwIcon, RouteIcon, Rows2Icon, Rows3Icon, Rows4Icon, SaveIcon, ScaleIcon, ScanBarcodeIcon, ScanIcon, ScanSearchIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShapesIcon, Share2Icon, ShieldAlertIcon, ShieldCheckIcon, ShieldHalfIcon, ShieldIcon, ShieldOffIcon, ShieldXIcon, ShoppingCartIcon, SignpostIcon, SirenIcon, SlidersHorizontalIcon, SmileIcon, SparklesIcon, SquareChartGanttIcon, SquareIcon, StampIcon, StarIcon, StarOffIcon, StoreIcon, SunIcon, TagIcon, TagsIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, TimerIcon, TimerOffIcon, Trash2Icon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UixIcon, UnlinkIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UserPlusIcon, UserRoundIcon, UserXIcon, UsersIcon, UsersRoundIcon, WalletIcon, WaypointsIcon, WebhookIcon, WifiIcon, WifiOffIcon, WorkflowIcon, WrenchIcon, XCircleIcon, XIcon, ZapIcon, createIcon };
|
|
518
|
+
export { AccessibilityIcon, ActivityIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, ArrowUpRightIcon, AwardIcon, BadgeCheckIcon, BanknoteIcon, BarChart3Icon, BellIcon, BellOffIcon, BellRingIcon, BookOpenIcon, BookmarkIcon, BotIcon, BoxesIcon, BriefcaseIcon, Building2Icon, CalendarCheckIcon, CalendarClockIcon, CalendarDaysIcon, CalendarIcon, CalendarOffIcon, CalendarXIcon, CameraIcon, ChartColumnIcon, CheckCheckIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckBigIcon, CircleCheckIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CirclePauseIcon, CirclePlayIcon, CircleQuestionMarkIcon, CircleXIcon, ClipboardCheckIcon, ClipboardListIcon, ClockIcon, CloudIcon, CloudOffIcon, CoinsIcon, Columns3Icon, CommandIcon, ComponentIcon, CopyIcon, CornerUpLeftIcon, CreditCardIcon, DatabaseBackupIcon, DatabaseIcon, DoorOpenIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FaceSlightlySmilingIcon, FileArchiveIcon, FileBarChartIcon, FileChartColumnIncreasingIcon, FileCheck2Icon, FileCheckCornerIcon, FileCheckIcon, FileCodeIcon, FileDownIcon, FileIcon, FileImageIcon, FileInputIcon, FileQuestionIcon, FileQuestionMarkIcon, FileSearchIcon, FileSpreadsheetIcon, FileTerminalIcon, FileTextIcon, FileUpIcon, FilterIcon, FlagIcon, FolderCheckIcon, FolderKanbanIcon, FolderTreeIcon, FunnelIcon, GanttChartSquareIcon, GaugeIcon, GitBranchIcon, GitBranchPlusIcon, GitCompareArrowsIcon, GitMergeIcon, GitPullRequestArrowIcon, GitPullRequestClosedIcon, GlobeIcon, GraduationCapIcon, Grid3x3Icon, GripVerticalIcon, HandHeartIcon, HeartIcon, HeartPulseIcon, HexagonIcon, HistoryIcon, HourglassIcon, HouseIcon, ICON_GLYPHS, Icon, type IconByNameProps, type IconName, IconNode, IconProps, IdCardIcon, ImageIcon, InboxIcon, InfoIcon, KeyIcon, KeyRoundIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutTemplateIcon, LibraryIcon, LifeBuoyIcon, LightbulbIcon, Link2Icon, Link2OffIcon, LinkIcon, ListChecksIcon, ListFilterIcon, ListTreeIcon, Loader2Icon, LoaderCircleIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapPinIcon, Maximize2Icon, MegaphoneIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, Minimize2Icon, MinusIcon, MonitorCogIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, NewspaperIcon, NotebookPenIcon, OctagonAlertIcon, PackageIcon, PackageOpenIcon, PackageSearchIcon, PaletteIcon, PanelLeftIcon, PaperclipIcon, PartyPopperIcon, PauseCircleIcon, PauseIcon, PenLineIcon, PencilIcon, PhoneIcon, PlaneIcon, PlayCircleIcon, PlayIcon, PlugIcon, PlusIcon, PresentationIcon, PrinterIcon, QrCodeIcon, RadioIcon, RadioTowerIcon, ReceiptIcon, RefreshCwIcon, RotateCcwClockIcon, RotateCcwIcon, RouteIcon, Rows2Icon, Rows3Icon, Rows4Icon, SaveIcon, ScaleIcon, ScanBarcodeIcon, ScanIcon, ScanSearchIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShapesIcon, Share2Icon, ShieldAlertIcon, ShieldCheckIcon, ShieldHalfIcon, ShieldIcon, ShieldOffIcon, ShieldXIcon, ShoppingCartIcon, SignpostIcon, SirenIcon, SlidersHorizontalIcon, SmileIcon, SparklesIcon, SquareChartGanttIcon, SquareIcon, StampIcon, StarIcon, StarOffIcon, StoreIcon, SunIcon, TagIcon, TagsIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, TimerIcon, TimerOffIcon, Trash2Icon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UixIcon, UnlinkIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UserPlusIcon, UserRoundIcon, UserXIcon, UsersIcon, UsersRoundIcon, WalletIcon, WaypointsIcon, WebhookIcon, WifiIcon, WifiOffIcon, WorkflowIcon, WrenchIcon, XCircleIcon, XIcon, ZapIcon, createIcon };
|