twenty-ui 2.51.3 → 2.53.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/{AllIcons-ayl8BCtV.js → AllIcons-B9FfQJ70.js} +1 -1
- package/dist/{AllIcons-1tBWXXrE.cjs → AllIcons-HGLkp696.cjs} +1 -1
- package/dist/{Button-CU8BS-Yd.js → Button-Dd8cNsn1.js} +2 -2
- package/dist/{Button-iVyxlrwO.cjs → Button-Du8T-dOv.cjs} +1 -1
- package/dist/Dropdown-COpO_G9D.js +1164 -0
- package/dist/Dropdown-DaSktKdb.cjs +1 -0
- package/dist/Input-BKRR1xlO.js +26 -0
- package/dist/Input-DS19vWhl.cjs +1 -0
- package/dist/{ListItem-B-SFWJZb.cjs → ListItem-Br5oDPc-.cjs} +1 -1
- package/dist/{ListItem-WLONJMo5.js → ListItem-txrdGXhb.js} +3 -3
- package/dist/{Loader-Bb72CUQ9.cjs → Loader-Dau0YQpY.cjs} +1 -1
- package/dist/{Loader-DtHWQH8w.js → Loader-U1LuZtJf.js} +1 -1
- package/dist/{OverflowingTextWithTooltip-D4eZc-7P.js → OverflowingTextWithTooltip-CAQ-5aUp.js} +35 -34
- package/dist/OverflowingTextWithTooltip-CuWHF8_e.cjs +1 -0
- package/dist/{Popover-CneCJTvD.cjs → Popover-B-VIhr5g.cjs} +1 -1
- package/dist/{Popover-CWeCV7X9.js → Popover-DhFCYRtv.js} +1 -1
- package/dist/{ProgressBar-goqxS9NE.cjs → ProgressBar-BG38LPgC.cjs} +1 -1
- package/dist/{ProgressBar-8pjpGrmZ.js → ProgressBar-CPm791xc.js} +10 -10
- package/dist/Radio-BdbEXBOH.cjs +1 -0
- package/dist/Radio-D1PpZdqz.js +176 -0
- package/dist/{Shortcut-N8TELGPI.cjs → Shortcut-CbbRd1uM.cjs} +1 -1
- package/dist/{Shortcut-Bp9iDdQg.js → Shortcut-YMhkp7f6.js} +1 -1
- package/dist/TablerIcons-B6BhOlW_.js +463 -0
- package/dist/{Tooltip-08dDawT_.cjs → Tooltip-BXeUFCdb.cjs} +1 -1
- package/dist/{Tooltip-C7zc16gI.js → Tooltip-CT9YCDaV.js} +1 -1
- package/dist/components/code-editor.cjs +1 -1
- package/dist/components/code-editor.mjs +2 -2
- package/dist/components/data-display.cjs +1 -1
- package/dist/components/data-display.mjs +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.mjs +1 -1
- package/dist/components/input/FormFieldRow/FormFieldRow.d.ts +1 -1
- package/dist/components/input/FormFieldRow/types/FormFieldRowProps.d.ts +1 -0
- package/dist/components/input/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/components/input/SegmentedControl/types/SegmentedControlProps.d.ts +1 -0
- package/dist/components/input.cjs +1 -1
- package/dist/components/input.mjs +6 -6
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.mjs +1 -1
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/navigation/Dropdown/__stories__/DropdownPlacementExample.d.ts +6 -0
- package/dist/components/navigation/Dropdown/hooks/useDropdownPlacementOrThrow.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContent.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownContentRenderer.d.ts +10 -0
- package/dist/components/navigation/Dropdown/internal/DropdownPlacementContext.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/compareDropdownElementOrder.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownTabNavigation.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownTriggerTabTarget.d.ts +1 -0
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/navigation.cjs +1 -1
- package/dist/components/navigation.mjs +8 -7
- package/dist/components/settings.cjs +1 -1
- package/dist/components/settings.mjs +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +27 -26
- package/dist/{data-display-DUMj_z1t.js → data-display-BhQyFKeZ.js} +54 -54
- package/dist/{data-display-DzHM5j7j.cjs → data-display-CZEwUZlM.cjs} +1 -1
- package/dist/{data-display-b-9s0RTe.js → data-display-DVEhI2Rt.js} +37 -37
- package/dist/{data-display-D_kbXJJd.cjs → data-display-VghHkQY5.cjs} +1 -1
- package/dist/{feedback-EaZszoXf.js → feedback-B3Qc_Igx.js} +34 -34
- package/dist/{feedback-BzR4ggrP.cjs → feedback-BvCwRZad.cjs} +1 -1
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/index.d.ts +1 -1
- package/dist/{icon-ICz2_dVB.js → icon-BlUO7C4w.js} +3 -3
- package/dist/{icon-TSBamkxk.cjs → icon-C688lfSq.cjs} +1 -1
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +509 -506
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +660 -656
- package/dist/input-B8_4jnPT.cjs +1 -0
- package/dist/{input-DxoXgI5-.js → input-Btg-WsT6.js} +122 -121
- package/dist/{input-CuySKbhm.js → input-BwQqV8Wf.js} +730 -727
- package/dist/input-CEiXoyRz.cjs +1 -0
- package/dist/{layout-B2KvJ900.js → layout-4p7UQD7l.js} +30 -29
- package/dist/{layout-B1Iwc9ku.cjs → layout-DHW99Ejj.cjs} +1 -1
- package/dist/navigation-CP1g7ng9.cjs +1 -0
- package/dist/navigation-DQe6WaUF.js +140 -0
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +1 -1
- package/dist/primitives/feedback.cjs +1 -1
- package/dist/primitives/feedback.mjs +2 -2
- package/dist/primitives/input/Input/Input.d.ts +1 -1
- package/dist/primitives/input/Input/types/InputProps.d.ts +1 -0
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +6 -6
- package/dist/primitives/navigation.cjs +1 -1
- package/dist/primitives/navigation.mjs +1 -1
- package/dist/primitives/surfaces/Card/Card.d.ts +1 -1
- package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +1 -1
- package/dist/primitives/surfaces/Card/types/CardRootProps.d.ts +1 -0
- package/dist/primitives/surfaces.cjs +1 -1
- package/dist/primitives/surfaces.mjs +3 -3
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +3 -3
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +14 -14
- package/dist/{settings-BTFAqYrD.js → settings-D3AWPKyH.js} +1 -1
- package/dist/{settings-D_iT1ngl.cjs → settings-RYocb2Xg.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/surfaces-C70biBA8.js +225 -0
- package/dist/surfaces-DcGz8LO-.cjs +1 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +1 -1
- package/dist/theme/constants/ThemeLight.d.ts +1 -0
- package/dist/theme/themeCssVariables.d.ts +1 -0
- package/dist/theme/themeTypes.d.ts +1 -0
- package/dist/theme-BJRNJNPO.cjs +1 -0
- package/dist/{theme-B2EaXhye.js → theme-CuGIQBsJ.js} +7 -4
- package/dist/theme-dark.css +1 -0
- package/dist/theme-light.css +1 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +1 -1
- package/dist/{typography-BwyZEDDi.js → typography-BisXuVpu.js} +2 -2
- package/dist/{typography-B05olPwL.cjs → typography-D7VnzZiR.cjs} +1 -1
- package/dist/{useIsMobile-D1ImfQnE.js → useIsMobile-CZeJLJJN.js} +1 -1
- package/dist/{useIsMobile-Byp9AIq-.cjs → useIsMobile-VmnhfE8g.cjs} +1 -1
- package/dist/utilities/internal/formatCssLength.d.ts +1 -0
- package/dist/{utilities-xZh8D2gd.cjs → utilities-Bfnz_GAC.cjs} +1 -1
- package/dist/{utilities-BKCMZyqZ.js → utilities-D0KcLLtO.js} +2 -2
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +2 -2
- package/package.json +8 -8
- package/dist/Dropdown-D_hFndP5.cjs +0 -1
- package/dist/Dropdown-xXsGBv57.js +0 -1056
- package/dist/Input-D1sIHUZ5.js +0 -25
- package/dist/Input-D69M4UwD.cjs +0 -1
- package/dist/OverflowingTextWithTooltip-ClpPsdpP.cjs +0 -1
- package/dist/Radio-CpQPRHXa.cjs +0 -1
- package/dist/Radio-VTjpEz8M.js +0 -175
- package/dist/TablerIcons-B-5Ua_Ne.js +0 -460
- package/dist/input-BQABEELu.cjs +0 -1
- package/dist/input-ExCbk62Y.cjs +0 -1
- package/dist/navigation-DP5Edsq_.cjs +0 -1
- package/dist/navigation-DXMjQMPm.js +0 -134
- package/dist/surfaces-DtZwsfms.cjs +0 -1
- package/dist/surfaces-v0kQLZYO.js +0 -224
- package/dist/theme-1XkFz8Qu.cjs +0 -1
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { t as m } from "./isDefined-fMi6eQ4r.js";
|
|
2
2
|
import { t as z } from "./isRenderableSlot-DT_depzM.js";
|
|
3
|
-
import { Dt as re, Et as oe,
|
|
3
|
+
import { Dt as re, Et as oe, Ha as ne, Lt as ae, U as K, cn as te, ic as le } from "./TablerIcons-B6BhOlW_.js";
|
|
4
4
|
import { t as se } from "./doNotTranslate-BSVT8Xyd.js";
|
|
5
|
-
import { a as T, h as ie, r as X } from "./theme-
|
|
5
|
+
import { a as T, h as ie, r as X } from "./theme-CuGIQBsJ.js";
|
|
6
6
|
import { t as ce } from "./VisuallyHidden-CFZP7ybO.js";
|
|
7
7
|
import { t as de } from "./ProgressRing-8mYV9cxE.js";
|
|
8
|
-
import { s as _e } from "./utilities-
|
|
8
|
+
import { s as _e } from "./utilities-D0KcLLtO.js";
|
|
9
9
|
import { useRender as N } from "@base-ui/react/use-render";
|
|
10
|
-
import { isArray as ue, isBoolean as me, isNonEmptyArray as
|
|
10
|
+
import { isArray as ue, isBoolean as me, isNonEmptyArray as H, isNonEmptyString as V, isNumber as Q, isString as ve } from "@sniptt/guards";
|
|
11
11
|
import { clsx as d } from "clsx";
|
|
12
|
-
import { Children as
|
|
12
|
+
import { Children as E, createContext as he, isValidElement as pe, useContext as be, useId as Ce, useState as Ne } from "react";
|
|
13
13
|
import { Fragment as y, jsx as o, jsxs as c } from "react/jsx-runtime";
|
|
14
|
-
import { Collapsible as
|
|
15
|
-
var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6",
|
|
14
|
+
import { Collapsible as P } from "@base-ui/react/collapsible";
|
|
15
|
+
var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", xe = "_overflowCountContainer_5cu4g_22", Ie = "_overflowCount_5cu4g_22", I = {
|
|
16
16
|
container: fe,
|
|
17
17
|
itemContainer: ge,
|
|
18
|
-
overflowCountContainer:
|
|
19
|
-
overflowCount:
|
|
20
|
-
}, we = 4,
|
|
21
|
-
const u =
|
|
22
|
-
className:
|
|
18
|
+
overflowCountContainer: xe,
|
|
19
|
+
overflowCount: Ie
|
|
20
|
+
}, we = 4, Er = ({ avatars: e, className: r, maxVisible: n = we, total: a, renderOverflow: l, overflowShape: s = "square", overlap: t = "right", overlapOffset: i = "3px", render: h, ref: p, ..._ }) => {
|
|
21
|
+
const u = E.toArray(e), A = Number.isNaN(n) ? 0 : Math.max(0, Math.floor(n)), g = u.slice(0, A), C = a ?? u.length, x = (Number.isFinite(C) ? Math.max(u.length, Math.floor(C)) : u.length) - g.length, S = m(l), k = x > 0 && (S ? l(x) : /* @__PURE__ */ c("span", {
|
|
22
|
+
className: I.overflowCount,
|
|
23
23
|
"data-shape": s,
|
|
24
|
-
children: ["+",
|
|
25
|
-
})), F =
|
|
24
|
+
children: ["+", x]
|
|
25
|
+
})), F = H(E.toArray(k)), M = { "--avatar-group-overlap-offset": i }, ee = N({
|
|
26
26
|
render: h,
|
|
27
27
|
ref: p,
|
|
28
28
|
props: {
|
|
29
29
|
..._,
|
|
30
|
-
className: d(
|
|
31
|
-
children: /* @__PURE__ */ c(y, { children: [
|
|
32
|
-
className:
|
|
30
|
+
className: d(I.container, r),
|
|
31
|
+
children: /* @__PURE__ */ c(y, { children: [E.map(g, (L) => /* @__PURE__ */ o("span", {
|
|
32
|
+
className: I.itemContainer,
|
|
33
33
|
"data-overlap": t,
|
|
34
34
|
style: M,
|
|
35
|
-
children:
|
|
36
|
-
}, pe(
|
|
37
|
-
className: d(
|
|
35
|
+
children: L
|
|
36
|
+
}, pe(L) ? L.key : void 0)), F && /* @__PURE__ */ o("span", {
|
|
37
|
+
className: d(I.itemContainer, !S && I.overflowCountContainer),
|
|
38
38
|
"data-overlap": t,
|
|
39
39
|
style: M,
|
|
40
40
|
children: k
|
|
41
41
|
})] })
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return H(g) || F ? ee : null;
|
|
45
45
|
}, Te = "_container_1j72k_1", ye = "_commands_1j72k_13", Ae = "_actions_1j72k_25", Se = "_prompt_1j72k_32", $ = {
|
|
46
46
|
container: Te,
|
|
47
47
|
commands: ye,
|
|
@@ -70,12 +70,12 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
70
70
|
children: r
|
|
71
71
|
})] })
|
|
72
72
|
}
|
|
73
|
-
}), ke = "_row_1usvs_1", $e = "_label_1usvs_11", Je = "_labelText_1usvs_22",
|
|
73
|
+
}), ke = "_row_1usvs_1", $e = "_label_1usvs_11", Je = "_labelText_1usvs_22", Le = "_icon_1usvs_27", Ee = "_description_1usvs_34", je = "_value_1usvs_43", Re = "_action_1usvs_54", b = {
|
|
74
74
|
row: ke,
|
|
75
75
|
label: $e,
|
|
76
76
|
labelText: Je,
|
|
77
|
-
icon:
|
|
78
|
-
description:
|
|
77
|
+
icon: Le,
|
|
78
|
+
description: Ee,
|
|
79
79
|
value: je,
|
|
80
80
|
action: Re
|
|
81
81
|
}, Rr = ({ label: e, children: r, startIcon: n, action: a, labelWidth: l = "7rem", render: s, ref: t, className: i, style: h, ...p }) => {
|
|
@@ -156,7 +156,7 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
156
156
|
keyPath: a,
|
|
157
157
|
highlighting: l
|
|
158
158
|
});
|
|
159
|
-
},
|
|
159
|
+
}, He = ({ label: e, value: r, depth: n, keyPath: a, highlighting: l }) => {
|
|
160
160
|
const { emptyObjectLabel: s } = f();
|
|
161
161
|
return /* @__PURE__ */ o(B, {
|
|
162
162
|
elements: Object.entries(r).map(([t, i]) => ({
|
|
@@ -166,14 +166,14 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
166
166
|
})),
|
|
167
167
|
renderElementsCount: (t) => `{${t}}`,
|
|
168
168
|
label: e,
|
|
169
|
-
Icon:
|
|
169
|
+
Icon: te,
|
|
170
170
|
depth: n,
|
|
171
171
|
emptyElementsText: s,
|
|
172
172
|
keyPath: a,
|
|
173
173
|
highlighting: l
|
|
174
174
|
});
|
|
175
|
-
},
|
|
176
|
-
labelContainer:
|
|
175
|
+
}, Pe = "_labelContainer_1pq94_1", Ue = "_blue_1pq94_23", Ge = "_red_1pq94_29", R = {
|
|
176
|
+
labelContainer: Pe,
|
|
177
177
|
blue: Ue,
|
|
178
178
|
red: Ge
|
|
179
179
|
}, Z = ({ label: e, Icon: r, highlighting: n }) => {
|
|
@@ -218,12 +218,12 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
218
218
|
return m(r) ? ve(r) ? /* @__PURE__ */ o(w, {
|
|
219
219
|
label: e,
|
|
220
220
|
valueAsString: V(r) ? r : s,
|
|
221
|
-
Icon:
|
|
221
|
+
Icon: le,
|
|
222
222
|
highlighting: t
|
|
223
223
|
}) : Q(r) ? /* @__PURE__ */ o(w, {
|
|
224
224
|
label: e,
|
|
225
225
|
valueAsString: String(r),
|
|
226
|
-
Icon:
|
|
226
|
+
Icon: ne,
|
|
227
227
|
highlighting: t
|
|
228
228
|
}) : me(r) ? /* @__PURE__ */ o(w, {
|
|
229
229
|
label: e,
|
|
@@ -236,7 +236,7 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
236
236
|
depth: n,
|
|
237
237
|
keyPath: a,
|
|
238
238
|
highlighting: t
|
|
239
|
-
}) : /* @__PURE__ */ o(
|
|
239
|
+
}) : /* @__PURE__ */ o(He, {
|
|
240
240
|
label: e,
|
|
241
241
|
value: r,
|
|
242
242
|
depth: n,
|
|
@@ -245,7 +245,7 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
245
245
|
}) : /* @__PURE__ */ o(w, {
|
|
246
246
|
label: e,
|
|
247
247
|
valueAsString: "null",
|
|
248
|
-
Icon:
|
|
248
|
+
Icon: ae,
|
|
249
249
|
highlighting: t
|
|
250
250
|
});
|
|
251
251
|
}, or = "_container_d0cqx_1", nr = "_labelContainer_d0cqx_6", ar = "_elementsCount_d0cqx_12", tr = "_elementsCountRed_d0cqx_16", lr = "_panel_d0cqx_20", sr = "_list_d0cqx_30", ir = "_nested_d0cqx_37", v = {
|
|
@@ -265,10 +265,10 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
265
265
|
children: n.length === 0 ? /* @__PURE__ */ o(w, {
|
|
266
266
|
valueAsString: l,
|
|
267
267
|
highlighting: void 0
|
|
268
|
-
}) : n.map(({ id: C, label:
|
|
268
|
+
}) : n.map(({ id: C, label: x, value: S }) => {
|
|
269
269
|
const k = V(t) ? `${t}.${C}` : String(C);
|
|
270
270
|
return /* @__PURE__ */ o(W, {
|
|
271
|
-
label:
|
|
271
|
+
label: x,
|
|
272
272
|
value: S,
|
|
273
273
|
depth: s + 1,
|
|
274
274
|
keyPath: k
|
|
@@ -280,7 +280,7 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
280
280
|
return p ? /* @__PURE__ */ o("li", {
|
|
281
281
|
className: v.container,
|
|
282
282
|
children: A
|
|
283
|
-
}) : /* @__PURE__ */ c(
|
|
283
|
+
}) : /* @__PURE__ */ c(P.Root, {
|
|
284
284
|
className: v.container,
|
|
285
285
|
open: _,
|
|
286
286
|
render: /* @__PURE__ */ o("li", {}),
|
|
@@ -302,7 +302,7 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
302
302
|
children: a(n.length)
|
|
303
303
|
})
|
|
304
304
|
]
|
|
305
|
-
}), /* @__PURE__ */ o(
|
|
305
|
+
}), /* @__PURE__ */ o(P.Panel, {
|
|
306
306
|
className: v.panel,
|
|
307
307
|
children: A
|
|
308
308
|
})]
|
|
@@ -412,7 +412,7 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
412
412
|
};
|
|
413
413
|
export {
|
|
414
414
|
Or as a,
|
|
415
|
-
|
|
415
|
+
Er as c,
|
|
416
416
|
qr as i,
|
|
417
417
|
pr as n,
|
|
418
418
|
Rr as o,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const x=require("./theme-
|
|
1
|
+
const x=require("./theme-BJRNJNPO.cjs"),m=require("./isDefined-DS2Q42p5.cjs"),B=require("./isRenderableSlot-Guryb6Nf.cjs"),Y=require("./doNotTranslate-CHE7WmRS.cjs"),Z=require("./VisuallyHidden-B-n4x1KY.cjs"),W=require("./ProgressRing-g1nHGyUp.cjs"),ee=require("./utilities-Bfnz_GAC.cjs");let f=require("@base-ui/react/use-render"),u=require("@sniptt/guards"),c=require("clsx"),b=require("react"),e=require("react/jsx-runtime"),M=require("@base-ui/react/collapsible"),h=require("@tabler/icons-react");var re="_container_5cu4g_1",ne="_itemContainer_5cu4g_6",te="_overflowCountContainer_5cu4g_22",se="_overflowCount_5cu4g_22",I={container:re,itemContainer:ne,overflowCountContainer:te,overflowCount:se},oe=4,ae=({avatars:r,className:n,maxVisible:t=oe,total:s,renderOverflow:a,overflowShape:l="square",overlap:o="right",overlapOffset:i="3px",render:p,ref:j,...d})=>{const _=b.Children.toArray(r),q=Number.isNaN(t)?0:Math.max(0,Math.floor(t)),y=_.slice(0,q),N=s??_.length,T=(Number.isFinite(N)?Math.max(_.length,Math.floor(N)):_.length)-y.length,A=m.isDefined(a),S=T>0&&(A?a(T):(0,e.jsxs)("span",{className:I.overflowCount,"data-shape":l,children:["+",T]})),P=(0,u.isNonEmptyArray)(b.Children.toArray(S)),F={"--avatar-group-overlap-offset":i},Q=(0,f.useRender)({render:p,ref:j,props:{...d,className:(0,c.clsx)(I.container,n),children:(0,e.jsxs)(e.Fragment,{children:[b.Children.map(y,J=>(0,e.jsx)("span",{className:I.itemContainer,"data-overlap":o,style:F,children:J},(0,b.isValidElement)(J)?J.key:void 0)),P&&(0,e.jsx)("span",{className:(0,c.clsx)(I.itemContainer,!A&&I.overflowCountContainer),"data-overlap":o,style:F,children:S})]})}});return(0,u.isNonEmptyArray)(y)||P?Q:null},le="_container_1j72k_1",ie="_commands_1j72k_13",ce="_actions_1j72k_25",de="_prompt_1j72k_32",k={container:le,commands:ie,actions:ce,prompt:de},ue=({commands:r,actions:n,render:t,ref:s,className:a,...l})=>(0,f.useRender)({render:t,ref:s,props:{...l,className:(0,c.clsx)(k.container,a),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("pre",{className:k.commands,children:(0,e.jsx)("code",{children:r.map((o,i)=>(0,e.jsxs)("span",{children:[i>0&&`
|
|
2
2
|
`,(0,e.jsx)("span",{className:k.prompt,"aria-hidden":"true",children:"> "}),o]},i))})}),m.isDefined(n)&&(0,e.jsx)("div",{className:k.actions,children:n})]})}}),_e="_row_1usvs_1",me="_label_1usvs_11",ve="_labelText_1usvs_22",xe="_icon_1usvs_27",be="_description_1usvs_34",he="_value_1usvs_43",pe="_action_1usvs_54",C={row:_e,label:me,labelText:ve,icon:xe,description:be,value:he,action:pe},je=({label:r,children:n,startIcon:t,action:s,labelWidth:a="7rem",render:l,ref:o,className:i,style:p,...j})=>{const d={"--details-row-label-width":(0,u.isNumber)(a)?`${a}px`:a,...p};return(0,f.useRender)({render:l,ref:o,props:{...j,className:(0,c.clsx)(C.row,i),style:d,children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("dt",{className:C.label,children:[B.isRenderableSlot(t)&&(0,e.jsx)("span",{className:C.icon,"aria-hidden":"true",children:t}),(0,e.jsx)("span",{className:C.labelText,children:r})]}),(0,e.jsxs)("dd",{className:C.description,children:[(0,e.jsx)("div",{className:C.value,children:n}),B.isRenderableSlot(s)&&(0,e.jsx)("div",{className:C.action,children:s})]})]})}})},Ce="_list_1i4lv_1",Ne="_nested_1i4lv_8",z={list:Ce,nested:Ne},fe=({depth:r,className:n,children:t})=>(0,e.jsx)("ul",{className:(0,c.clsx)(z.list,r>0&&z.nested,n),children:t}),G=(0,b.createContext)(void 0),g=()=>{const r=(0,b.useContext)(G);if(!m.isDefined(r))throw new Error(Y.doNotTranslate("useJsonTreeContextOrThrow must be used within a JsonTreeContextProvider"));return r},ge="_button_1e3ij_1",ye="_red_1e3ij_17",Te="_chevron_1e3ij_22",O={button:ge,red:ye,chevron:Te},Ie=({isOpen:r,onClick:n,variant:t})=>{const s=x.useTheme(),{arrowButtonCollapsedLabel:a,arrowButtonExpandedLabel:l}=g(),o=t==="blue"?x.themeCssVariables.color.blue:t==="red"?x.themeCssVariables.font.color.danger:x.themeCssVariables.font.color.secondary;return(0,e.jsxs)("button",{className:(0,c.clsx)(O.button,t==="red"&&O.red),onClick:n,children:[(0,e.jsx)(Z.VisuallyHidden,{children:r?l:a}),(0,e.jsx)("div",{className:O.chevron,"data-open":r||void 0,children:(0,e.jsx)(h.IconChevronDown,{size:s.icon.size.md,color:o})})]})},we=({label:r,value:n,depth:t,keyPath:s,highlighting:a})=>{const{emptyArrayLabel:l}=g();return(0,e.jsx)(V,{elements:[...n.entries()].map(([o,i])=>({id:o,label:String(o),value:i})),renderElementsCount:o=>`[${o}]`,label:r,Icon:h.IconBrackets,depth:t,emptyElementsText:l,keyPath:s,highlighting:a})},qe=({label:r,value:n,depth:t,keyPath:s,highlighting:a})=>{const{emptyObjectLabel:l}=g();return(0,e.jsx)(V,{elements:Object.entries(n).map(([o,i])=>({id:o,label:o,value:i})),renderElementsCount:o=>`{${o}}`,label:r,Icon:h.IconCube,depth:t,emptyElementsText:l,keyPath:s,highlighting:a})},Ae="_labelContainer_1pq94_1",Se="_blue_1pq94_23",ke="_red_1pq94_29",E={labelContainer:Ae,blue:Se,red:ke},K=({label:r,Icon:n,highlighting:t})=>{const s=x.useTheme();return(0,e.jsxs)("span",{className:(0,c.clsx)(E.labelContainer,t==="blue"&&E.blue,t==="red"&&E.red),children:[(0,e.jsx)(n,{size:s.icon.size.md,color:t==="blue"?s.color.blue:t==="red"?s.font.color.danger:s.font.color.tertiary}),(0,e.jsx)("span",{children:r})]})},Re="_text_1ot24_1",Je="_blue_1ot24_10",Oe="_red_1ot24_14",Ee="_button_1ot24_18",R={text:Re,blue:Je,red:Oe,button:Ee},$e=({valueAsString:r,highlighting:n})=>{const{onNodeValueClick:t}=g(),s=m.isDefined(t),a=()=>{t?.(r)},l=(0,c.clsx)(R.text,n==="blue"&&R.blue,n==="red"&&R.red);return s?(0,e.jsx)("button",{className:(0,c.clsx)(l,R.button),type:"button",onClick:a,children:r}):(0,e.jsx)("span",{className:l,children:r})},De="_listItem_1i7if_1",Le={listItem:De},w=r=>(0,e.jsxs)("li",{className:Le.listItem,children:[r.label&&(0,e.jsx)(K,{label:r.label,Icon:r.Icon,highlighting:r.highlighting}),(0,e.jsx)($e,{valueAsString:r.valueAsString,highlighting:r.highlighting})]}),Ve=r=>(0,u.isArray)(r),U=({label:r,value:n,depth:t,keyPath:s})=>{const{getNodeHighlighting:a,emptyStringLabel:l}=g(),o=a?.(s);return m.isDefined(n)?(0,u.isString)(n)?(0,e.jsx)(w,{label:r,valueAsString:(0,u.isNonEmptyString)(n)?n:l,Icon:h.IconTypography,highlighting:o}):(0,u.isNumber)(n)?(0,e.jsx)(w,{label:r,valueAsString:String(n),Icon:h.IconNumber9,highlighting:o}):(0,u.isBoolean)(n)?(0,e.jsx)(w,{label:r,valueAsString:String(n),Icon:h.IconCheckbox,highlighting:o}):Ve(n)?(0,e.jsx)(we,{label:r,value:n,depth:t,keyPath:s,highlighting:o}):(0,e.jsx)(qe,{label:r,value:n,depth:t,keyPath:s,highlighting:o}):(0,e.jsx)(w,{label:r,valueAsString:"null",Icon:h.IconCircleOff,highlighting:o})},Pe="_container_d0cqx_1",Fe="_labelContainer_d0cqx_6",Be="_elementsCount_d0cqx_12",Me="_elementsCountRed_d0cqx_16",ze="_panel_d0cqx_20",He="_list_d0cqx_30",Ge="_nested_d0cqx_37",v={container:Pe,labelContainer:Fe,elementsCount:Be,elementsCountRed:Me,panel:ze,list:He,nested:Ge},V=({label:r,Icon:n,elements:t,renderElementsCount:s,emptyElementsText:a,depth:l,keyPath:o,highlighting:i})=>{const{shouldExpandNodeInitially:p}=g(),j=!m.isDefined(r),[d,_]=(0,b.useState)(p({keyPath:o,depth:l})),q=(0,e.jsx)("ul",{className:(0,c.clsx)(v.list,l>0&&v.nested),children:t.length===0?(0,e.jsx)(w,{valueAsString:a,highlighting:void 0}):t.map(({id:N,label:T,value:A})=>{const S=(0,u.isNonEmptyString)(o)?`${o}.${N}`:String(N);return(0,e.jsx)(U,{label:T,value:A,depth:l+1,keyPath:S},N)})}),y=()=>{_(!d)};return j?(0,e.jsx)("li",{className:v.container,children:q}):(0,e.jsxs)(M.Collapsible.Root,{className:v.container,open:d,render:(0,e.jsx)("li",{}),children:[(0,e.jsxs)("div",{className:v.labelContainer,children:[(0,e.jsx)(Ie,{isOpen:d,onClick:y,variant:i==="partial-blue"?"blue":i==="red"?i:void 0}),(0,e.jsx)(K,{label:r,Icon:n,highlighting:i==="red"?i:void 0}),s&&(0,e.jsx)("span",{className:(0,c.clsx)(v.elementsCount,i==="red"&&v.elementsCountRed),children:s(t.length)})]}),(0,e.jsx)(M.Collapsible.Panel,{className:v.panel,children:q})]})},Ke=({value:r,children:n})=>(0,e.jsx)(G.Provider,{value:r,children:n}),Ue=({depth:r})=>r<=1,Xe=({value:r,entries:n,shouldExpandNodeInitially:t=Ue,...s})=>(0,e.jsx)(Ke,{value:{...s,shouldExpandNodeInitially:t},children:(0,e.jsx)(fe,{depth:0,children:m.isDefined(n)?(0,e.jsx)(V,{elements:n,Icon:h.IconBrackets,depth:0,keyPath:"",emptyElementsText:s.emptyObjectLabel}):(0,e.jsx)(U,{value:r??null,depth:0,keyPath:""})})}),Qe="_row_1hj4l_1",Ye="_label_1hj4l_11",Ze="_icon_1hj4l_20",$={row:Qe,label:Ye,icon:Ze},We=({children:r,startIcon:n,value:t,progress:s,progressColor:a,progressValueText:l,render:o,ref:i,className:p,...j})=>{const d=(0,b.useId)(),_=l??t;return(0,f.useRender)({render:o,ref:i,props:{...j,className:(0,c.clsx)($.row,p),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:$.label,children:[m.isDefined(n)&&(0,e.jsx)("span",{className:$.icon,"aria-hidden":"true",children:n}),(0,e.jsx)("span",{id:d,children:r})]}),m.isDefined(s)?(0,e.jsx)(W.ProgressRing,{value:s,size:"sm",barColor:a,"aria-labelledby":d,...(0,u.isNonEmptyString)(_)?{"aria-valuetext":_}:{},children:t}):(0,e.jsx)("span",{children:t})]})}})},er="_root_7l8sk_1",rr="_stackedIcon_7l8sk_14",H={root:er,stackedIcon:rr},nr=({icon:r,stackedIcon:n,className:t,render:s,ref:a,...l})=>(0,f.useRender)({render:s,ref:a,props:{...l,className:(0,c.clsx)(H.root,t),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{"aria-hidden":"true",children:r}),(0,e.jsx)("span",{"aria-hidden":"true",className:H.stackedIcon,children:n})]})}}),D={background:4,border:6,icon:10},L=(r,n)=>x.themeCssVariables.color[`${r}${n}`]??x.themeCssVariables.tag.text[r],X=r=>{const n=ee.parseThemeColor(r);return{backgroundColor:L(n,D.background),iconColor:L(n,D.icon),borderColor:L(n,D.border)}},tr="_root_9ntdy_1",sr={root:tr},or=({icon:r,color:n=x.DEFAULT_THEME_COLOR_FALLBACK,className:t,style:s,render:a,ref:l,...o})=>{const i=X(n);return(0,f.useRender)({render:a,ref:l,props:{...o,className:(0,c.clsx)(sr.root,t),style:{backgroundColor:i.backgroundColor,color:i.iconColor,...s},children:(0,e.jsx)("span",{"aria-hidden":"true",children:r})}})};Object.defineProperty(exports,"AvatarGroup",{enumerable:!0,get:function(){return ae}});Object.defineProperty(exports,"CommandBlock",{enumerable:!0,get:function(){return ue}});Object.defineProperty(exports,"DetailsRow",{enumerable:!0,get:function(){return je}});Object.defineProperty(exports,"JsonTree",{enumerable:!0,get:function(){return Xe}});Object.defineProperty(exports,"MetricRow",{enumerable:!0,get:function(){return We}});Object.defineProperty(exports,"StackIcon",{enumerable:!0,get:function(){return nr}});Object.defineProperty(exports,"TintedIconTile",{enumerable:!0,get:function(){return or}});Object.defineProperty(exports,"getIconTileColorShades",{enumerable:!0,get:function(){return X}});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as d } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
2
|
+
import { t as N } from "./isRenderableSlot-DT_depzM.js";
|
|
3
|
+
import { Ec as Z, Ni as ee, _i as _e, i as M, ws as he } from "./TablerIcons-B6BhOlW_.js";
|
|
4
4
|
import { t as I } from "./doNotTranslate-BSVT8Xyd.js";
|
|
5
|
-
import { a as Te, r as ge, t as Ce } from "./theme-
|
|
5
|
+
import { a as Te, r as ge, t as Ce } from "./theme-CuGIQBsJ.js";
|
|
6
6
|
import { t as be } from "./mergeClassNames-ClFMR1v0.js";
|
|
7
|
-
import { t as z } from "./Button-
|
|
8
|
-
import { n as te, r as we, t as xe } from "./ProgressBar-
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as ye } from "./OverflowingTextWithTooltip-
|
|
11
|
-
import { t as
|
|
7
|
+
import { t as z } from "./Button-Dd8cNsn1.js";
|
|
8
|
+
import { n as te, r as we, t as xe } from "./ProgressBar-CPm791xc.js";
|
|
9
|
+
import { t as Ne } from "./useProvidedTextDirection-Dk8LBQeF.js";
|
|
10
|
+
import { t as ye } from "./OverflowingTextWithTooltip-CAQ-5aUp.js";
|
|
11
|
+
import { t as Ae } from "./Separator-0LzwPfOn.js";
|
|
12
12
|
import { useRender as D } from "@base-ui/react/use-render";
|
|
13
13
|
import { isNonEmptyArray as $, isPositiveInteger as Ee, isString as Pe, isUndefined as Ie } from "@sniptt/guards";
|
|
14
14
|
import { clsx as k } from "clsx";
|
|
@@ -37,7 +37,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
37
37
|
size: Te.icon.size.md,
|
|
38
38
|
"aria-hidden": "true"
|
|
39
39
|
}), action: v, closeLabel: f = I("Close"), onDismiss: m, className: _, render: h, ref: u, ...l }) => {
|
|
40
|
-
const i =
|
|
40
|
+
const i = N(n), p = N(v);
|
|
41
41
|
return D({
|
|
42
42
|
render: h,
|
|
43
43
|
ref: u,
|
|
@@ -63,7 +63,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
63
63
|
}),
|
|
64
64
|
d(m) && /* @__PURE__ */ c(z, {
|
|
65
65
|
type: "button",
|
|
66
|
-
startIcon: /* @__PURE__ */ c(
|
|
66
|
+
startIcon: /* @__PURE__ */ c(Z, { "aria-hidden": "true" }),
|
|
67
67
|
className: T.closeButton,
|
|
68
68
|
variant: "ghost",
|
|
69
69
|
size: "sm",
|
|
@@ -72,7 +72,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
72
72
|
})
|
|
73
73
|
]
|
|
74
74
|
}),
|
|
75
|
-
|
|
75
|
+
N(r) && /* @__PURE__ */ c("div", {
|
|
76
76
|
className: k(T.descriptionWrapper, i && T.descriptionWrapperWithIcon, p && T.descriptionWrapperWithAction),
|
|
77
77
|
children: /* @__PURE__ */ c("div", {
|
|
78
78
|
className: T.description,
|
|
@@ -94,7 +94,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
94
94
|
bannerText: st,
|
|
95
95
|
compact: rt,
|
|
96
96
|
fullWidth: nt
|
|
97
|
-
}, it = ({ children: e, layout: t = "standard", variant: o = "soft", embedded: s = !1, fullWidth: r = !1, icon: a = /* @__PURE__ */ c(
|
|
97
|
+
}, it = ({ children: e, layout: t = "standard", variant: o = "soft", embedded: s = !1, fullWidth: r = !1, icon: a = /* @__PURE__ */ c(ee, { "aria-hidden": "true" }), className: n, ...v }) => {
|
|
98
98
|
const f = t === "compact", m = !f && Pe(e);
|
|
99
99
|
return /* @__PURE__ */ c(te, {
|
|
100
100
|
...v,
|
|
@@ -103,7 +103,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
103
103
|
"data-layout": t,
|
|
104
104
|
children: /* @__PURE__ */ g("div", {
|
|
105
105
|
className: E.bannerContent,
|
|
106
|
-
children: [
|
|
106
|
+
children: [N(a) && /* @__PURE__ */ c("span", {
|
|
107
107
|
className: E.icon,
|
|
108
108
|
children: a
|
|
109
109
|
}), /* @__PURE__ */ c("div", {
|
|
@@ -123,12 +123,12 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
123
123
|
} : n), a = e.state.mountedToasterCount > 0;
|
|
124
124
|
e.set("toasts", a ? r : r.filter(y));
|
|
125
125
|
for (const n of s) n.notification.onClose?.();
|
|
126
|
-
}, se = oe(void 0),
|
|
126
|
+
}, se = oe(void 0), A = () => {
|
|
127
127
|
const e = j(se);
|
|
128
128
|
if (!d(e)) throw new Error(I("Toast components must be used within a ToastProvider."));
|
|
129
129
|
return e;
|
|
130
130
|
}, re = () => {
|
|
131
|
-
const e =
|
|
131
|
+
const e = A();
|
|
132
132
|
return { closeToast: (o) => {
|
|
133
133
|
if (!e.lifecycle.isActive()) return;
|
|
134
134
|
const s = e.state.toasts.filter((r) => y(r) && (!d(o) || r.notification.id === o));
|
|
@@ -138,7 +138,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
138
138
|
});
|
|
139
139
|
} };
|
|
140
140
|
}, Q = 0, Y = () => (Q += 1, `toast-${Q}`), at = () => {
|
|
141
|
-
const e =
|
|
141
|
+
const e = A();
|
|
142
142
|
return { enqueueToast: ke(() => {
|
|
143
143
|
function t(o) {
|
|
144
144
|
if (!d(o)) return;
|
|
@@ -176,7 +176,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
176
176
|
...a ? { durationRevision: (n.durationRevision ?? 0) + 1 } : {}
|
|
177
177
|
} : n));
|
|
178
178
|
}, lt = () => {
|
|
179
|
-
const e =
|
|
179
|
+
const e = A();
|
|
180
180
|
return { updateToast: Re((t) => ct({
|
|
181
181
|
store: e,
|
|
182
182
|
...t
|
|
@@ -271,21 +271,21 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
271
271
|
e,
|
|
272
272
|
t,
|
|
273
273
|
o
|
|
274
|
-
]), null), ne = 6e3, ie = (e) => Number.isFinite(e) && e > 0, wt = "_countdown_1vuo8_1", xt = "_toastCountdown_1vuo8_1",
|
|
274
|
+
]), null), ne = 6e3, ie = (e) => Number.isFinite(e) && e > 0, wt = "_countdown_1vuo8_1", xt = "_toastCountdown_1vuo8_1", Nt = {
|
|
275
275
|
countdown: wt,
|
|
276
276
|
toastCountdown: xt
|
|
277
277
|
}, yt = ({ progress: e, duration: t, remainingDuration: o, revision: s, isPaused: r, barColor: a }) => d(e) ? /* @__PURE__ */ c(xe, {
|
|
278
278
|
value: e,
|
|
279
279
|
barColor: a
|
|
280
280
|
}) : ie(t) ? /* @__PURE__ */ c("div", {
|
|
281
|
-
className:
|
|
281
|
+
className: Nt.countdown,
|
|
282
282
|
"data-paused": r || void 0,
|
|
283
283
|
style: {
|
|
284
284
|
"--toast-countdown-color": a,
|
|
285
285
|
"--toast-countdown-width": `${o / t * 100}%`,
|
|
286
286
|
"--toast-countdown-duration": `${o}ms`
|
|
287
287
|
}
|
|
288
|
-
}, s) : null,
|
|
288
|
+
}, s) : null, At = 2 ** 31 - 1, Et = ({ onChange: e }) => {
|
|
289
289
|
let t, o = 0, s, r, a = 0, n = 0, v = !1;
|
|
290
290
|
const f = () => {
|
|
291
291
|
n += 1, d(s) && (o = Math.max(0, o - (performance.now() - s)), s = void 0), clearTimeout(r), r = void 0;
|
|
@@ -310,7 +310,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
310
310
|
}
|
|
311
311
|
_();
|
|
312
312
|
}
|
|
313
|
-
}, Math.min(o,
|
|
313
|
+
}, Math.min(o, At));
|
|
314
314
|
};
|
|
315
315
|
return {
|
|
316
316
|
update: (i) => {
|
|
@@ -356,7 +356,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
356
356
|
neutral: M,
|
|
357
357
|
error: M,
|
|
358
358
|
success: he,
|
|
359
|
-
info:
|
|
359
|
+
info: ee,
|
|
360
360
|
warning: M
|
|
361
361
|
}, Rt = ({ children: e, description: t, icon: o, iconLabel: s, action: r, progress: a, duration: n = ne, onCancel: v, onClose: f, cancelLabel: m = I("Cancel"), closeLabel: _ = I("Close"), status: h = "neutral", role: u = "status", className: l, onMouseEnter: i, onMouseLeave: p, onFocus: x, onBlur: C, render: W, ref: le, ...de }) => {
|
|
362
362
|
const L = ge(), [ue, K] = P(!1), [H, B] = P(!1), [ve, fe] = P(null), V = ue || H, { countdown: O, clock: X, setClock: me } = Pt({
|
|
@@ -405,7 +405,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
405
405
|
/* @__PURE__ */ g("div", {
|
|
406
406
|
className: b.header,
|
|
407
407
|
children: [
|
|
408
|
-
|
|
408
|
+
N(J) && /* @__PURE__ */ c("div", {
|
|
409
409
|
className: b.icon,
|
|
410
410
|
children: J
|
|
411
411
|
}),
|
|
@@ -415,7 +415,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
415
415
|
}),
|
|
416
416
|
/* @__PURE__ */ g("div", {
|
|
417
417
|
className: b.actions,
|
|
418
|
-
children: [d(v) &&
|
|
418
|
+
children: [d(v) && N(m) && /* @__PURE__ */ c(z, {
|
|
419
419
|
onClick: v,
|
|
420
420
|
size: "sm",
|
|
421
421
|
variant: "ghost",
|
|
@@ -424,7 +424,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
424
424
|
}), d(f) && /* @__PURE__ */ c(z, {
|
|
425
425
|
title: _,
|
|
426
426
|
"aria-label": _,
|
|
427
|
-
startIcon: /* @__PURE__ */ c(
|
|
427
|
+
startIcon: /* @__PURE__ */ c(Z, {}),
|
|
428
428
|
className: b.closeButton,
|
|
429
429
|
variant: "ghost",
|
|
430
430
|
size: "sm",
|
|
@@ -433,13 +433,13 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
433
433
|
})
|
|
434
434
|
]
|
|
435
435
|
}),
|
|
436
|
-
|
|
436
|
+
N(t) && /* @__PURE__ */ c("div", {
|
|
437
437
|
className: b.description,
|
|
438
438
|
children: t
|
|
439
439
|
}),
|
|
440
|
-
|
|
440
|
+
N(r) && /* @__PURE__ */ g("div", {
|
|
441
441
|
className: b.footer,
|
|
442
|
-
children: [/* @__PURE__ */ c(
|
|
442
|
+
children: [/* @__PURE__ */ c(Ae, {}), /* @__PURE__ */ c("div", {
|
|
443
443
|
className: b.footerAction,
|
|
444
444
|
children: r
|
|
445
445
|
})]
|
|
@@ -472,7 +472,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
472
472
|
toastsToClose: o.slice(0, s)
|
|
473
473
|
});
|
|
474
474
|
}, kt = ({ limit: e }) => {
|
|
475
|
-
const t =
|
|
475
|
+
const t = A();
|
|
476
476
|
return Se(() => t.lifecycle.mount(), [t]), R(() => St({
|
|
477
477
|
store: t,
|
|
478
478
|
limit: e
|
|
@@ -574,8 +574,8 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
574
574
|
root: qt,
|
|
575
575
|
item: Bt,
|
|
576
576
|
itemContent: Mt
|
|
577
|
-
}, Ft = () => qe(
|
|
578
|
-
const s =
|
|
577
|
+
}, Ft = () => qe(A(), (e) => e.toasts), Dt = ({ elementRef: e, toastEntry: t, rendererKey: o }) => {
|
|
578
|
+
const s = A();
|
|
579
579
|
return R(() => {
|
|
580
580
|
if (t.status === "visible") return;
|
|
581
581
|
const r = () => s.lifecycle.finishExit({
|
|
@@ -599,7 +599,7 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
599
599
|
o
|
|
600
600
|
]), null;
|
|
601
601
|
}, $t = ({ toastEntry: e, getToastProps: t, onClose: o }) => {
|
|
602
|
-
const { notification: s, status: r, durationRevision: a = 0 } = e, { id: n, ...v } = s, f =
|
|
602
|
+
const { notification: s, status: r, durationRevision: a = 0 } = e, { id: n, ...v } = s, f = A(), m = t?.(s), [_] = P(() => /* @__PURE__ */ Symbol()), h = We(null);
|
|
603
603
|
return /* @__PURE__ */ g(S, { children: [/* @__PURE__ */ c("div", {
|
|
604
604
|
ref: h,
|
|
605
605
|
className: F.item,
|
|
@@ -637,12 +637,12 @@ var Me = "_action_3r2bm_1", Fe = { action: Me }, De = ({ className: e, ...t }) =
|
|
|
637
637
|
onClose: o
|
|
638
638
|
}, s.notification.id));
|
|
639
639
|
}, Ut = () => {
|
|
640
|
-
const e =
|
|
640
|
+
const e = A();
|
|
641
641
|
return R(() => (e.set("mountedToasterCount", e.state.mountedToasterCount + 1), () => {
|
|
642
642
|
e.set("mountedToasterCount", e.state.mountedToasterCount - 1), !(e.state.mountedToasterCount > 0) && e.set("toasts", e.state.toasts.filter(y));
|
|
643
643
|
}), [e]), null;
|
|
644
644
|
}, fo = ({ container: e, getToastProps: t, className: o, render: s, ref: r, ...a }) => {
|
|
645
|
-
const n = Ce(), v =
|
|
645
|
+
const n = Ce(), v = Ne(), f = e === void 0 ? n ?? (typeof document > "u" ? null : document.body) : e, m = D({
|
|
646
646
|
render: s,
|
|
647
647
|
ref: r,
|
|
648
648
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const z=require("./theme-1XkFz8Qu.cjs"),d=require("./isDefined-DS2Q42p5.cjs"),y=require("./isRenderableSlot-Guryb6Nf.cjs"),P=require("./doNotTranslate-CHE7WmRS.cjs"),fe=require("./mergeClassNames-D4lshrT6.cjs"),I=require("./Button-iVyxlrwO.cjs"),O=require("./ProgressBar-goqxS9NE.cjs"),ve=require("./useProvidedTextDirection-PVaoQCLH.cjs"),_e=require("./OverflowingTextWithTooltip-ClpPsdpP.cjs"),me=require("./Separator-UJVlrTzw.cjs");let F=require("@base-ui/react/use-render"),E=require("@sniptt/guards"),R=require("clsx"),p=require("react"),r=require("react/jsx-runtime"),Q=require("@base-ui/utils/store"),pe=require("react-dom"),j=require("@tabler/icons-react");var Te="_action_3r2bm_1",xe={action:Te},he=({className:e,...t})=>(0,r.jsx)(I.Button,{...t,size:"sm",variant:"ghost",className:fe.mergeClassNames(xe.action,e)}),ge="_container_1ix4w_1",be="_containerFullWidth_1ix4w_40",Ce="_header_1ix4w_44",je="_iconContainer_1ix4w_53",we="_title_1ix4w_63",ye="_descriptionWrapper_1ix4w_75",De="_descriptionWrapperWithIcon_1ix4w_82",Ne="_descriptionWrapperWithAction_1ix4w_86",qe="_description_1ix4w_75",Pe="_footer_1ix4w_99",Ee="_closeButton_1ix4w_106",h={container:ge,containerFullWidth:be,header:Ce,iconContainer:je,title:we,descriptionWrapper:ye,descriptionWrapperWithIcon:De,descriptionWrapperWithAction:Ne,description:qe,footer:Pe,closeButton:Ee},Re=({status:e="info",variant:t="soft",color:s=O.FEEDBACK_STATUS_COLORS[e],title:n,description:o,fullWidth:c=!1,icon:i=(0,r.jsx)(j.IconHelp,{size:z.themeCssVariables.icon.size.md,"aria-hidden":"true"}),action:f,closeLabel:v=P.doNotTranslate("Close"),onDismiss:_,className:T,render:x,ref:l,...u})=>{const a=y.isRenderableSlot(i),m=y.isRenderableSlot(f);return(0,F.useRender)({render:x,ref:l,state:{status:e,variant:t,color:s},props:{...u,className:(0,R.clsx)(h.container,c&&h.containerFullWidth,T),children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:h.header,children:[a&&(0,r.jsx)("div",{className:h.iconContainer,children:i}),(0,r.jsx)("div",{className:h.title,children:n}),d.isDefined(_)&&(0,r.jsx)(I.Button,{type:"button",startIcon:(0,r.jsx)(j.IconX,{"aria-hidden":"true"}),className:h.closeButton,variant:"ghost",size:"sm","aria-label":v,onClick:()=>_()})]}),y.isRenderableSlot(o)&&(0,r.jsx)("div",{className:(0,R.clsx)(h.descriptionWrapper,a&&h.descriptionWrapperWithIcon,m&&h.descriptionWrapperWithAction),children:(0,r.jsx)("div",{className:h.description,children:o})}),m&&(0,r.jsx)("div",{className:h.footer,children:f})]})}})},Ae=Object.assign(Re,{Action:he}),Se="_banner_qbpcz_1",Ie="_embedded_qbpcz_6",Oe="_bannerContent_qbpcz_10",ke="_icon_qbpcz_18",We="_bannerText_qbpcz_28",Be="_compact_qbpcz_33",ze="_fullWidth_qbpcz_58",q={banner:Se,embedded:Ie,bannerContent:Oe,icon:ke,bannerText:We,compact:Be,fullWidth:ze},Fe=({children:e,layout:t="standard",variant:s="soft",embedded:n=!1,fullWidth:o=!1,icon:c=(0,r.jsx)(j.IconInfoCircle,{"aria-hidden":"true"}),className:i,...f})=>{const v=t==="compact",_=!v&&(0,E.isString)(e);return(0,r.jsx)(O.Banner,{...f,className:(0,R.clsx)(q.banner,v&&q.compact,n&&q.embedded,o&&q.fullWidth,i),variant:s,"data-layout":t,children:(0,r.jsxs)("div",{className:q.bannerContent,children:[y.isRenderableSlot(c)&&(0,r.jsx)("span",{className:q.icon,children:c}),(0,r.jsx)("div",{className:q.bannerText,children:_?(0,r.jsx)(_e.OverflowingTextWithTooltip,{isFocusable:!0,text:(0,r.jsx)(r.Fragment,{children:e}),tooltipContent:e}):e})]})})},Me=Object.assign(Fe,{Action:O.Banner.Action}),D=e=>e.status==="visible",k=({store:e,toastsToClose:t,nextToasts:s=e.state.toasts})=>{const n=t.filter(i=>D(i)&&e.state.toasts.includes(i)),o=s.map(i=>n.includes(i)?{...i,status:"closing"}:i),c=e.state.mountedToasterCount>0;e.set("toasts",c?o:o.filter(D));for(const i of n)i.notification.onClose?.()},Y=(0,p.createContext)(void 0),N=()=>{const e=(0,p.useContext)(Y);if(!d.isDefined(e))throw new Error(P.doNotTranslate("Toast components must be used within a ToastProvider."));return e},Z=()=>{const e=N();return{closeToast:s=>{if(!e.lifecycle.isActive())return;const n=e.state.toasts.filter(o=>D(o)&&(!d.isDefined(s)||o.notification.id===s));(0,E.isNonEmptyArray)(n)&&k({store:e,toastsToClose:n})}}},G=0,J=()=>(G+=1,`toast-${G}`),Le=()=>{const e=N();return{enqueueToast:(0,p.useMemo)(()=>{function t(s){if(!d.isDefined(s))return;if(!e.lifecycle.isActive())return J();const{dedupeKey:n,...o}=s,{toasts:c,limit:i}=e.state,f=c.filter(D),v=d.isDefined(n)?f.find(x=>x.dedupeKey===n):void 0;if(d.isDefined(v))return v.notification.id;const _=J(),T=Math.max(0,f.length-i+1);return k({store:e,toastsToClose:f.slice(0,T),nextToasts:[...c,{notification:{...o,id:_},dedupeKey:n,status:"visible"}]}),_}return t},[e])}},$e=({store:e,id:t,...s})=>{if(!e.lifecycle.isActive())return;const n=e.state.toasts.find(i=>i.notification.id===t&&D(i)),o=Object.keys(s);if(!d.isDefined(n)||!(0,E.isNonEmptyArray)(o))return;const c=o.includes("duration")||d.isDefined(n.notification.progress)&&o.includes("progress")&&!d.isDefined(s.progress);e.set("toasts",e.state.toasts.map(i=>i===n?{...i,notification:{...i.notification,...s,id:t},...c?{durationRevision:(i.durationRevision??0)+1}:{}}:i))},Ue=()=>{const e=N();return{updateToast:(0,p.useCallback)(t=>$e({store:e,...t}),[e])}},Ke=()=>{const{closeToast:e}=Z(),{enqueueToast:t}=Le(),{updateToast:s}=Ue();return{enqueueToast:t,closeToast:e,updateToast:s}},He="_root_181ka_1",Ve="_progress_181ka_19",Xe="_header_181ka_30",Ge="_message_181ka_40",Je="_icon_181ka_45",Qe="_actions_181ka_50",Ye="_description_181ka_56",Ze="_footer_181ka_65",et="_footerAction_181ka_69",tt="_closeButton_181ka_76",b={root:He,progress:Ve,header:Xe,message:Ge,icon:Je,actions:Qe,description:Ye,footer:Ze,footerAction:et,closeButton:tt},M=(0,p.createContext)({durationRevision:0,isActive:!0}),st=({clock:e,onClockChange:t,duration:s,progress:n,isPaused:o,onClose:c})=>{const{durationRevision:i,isActive:f,lifecycle:v,id:_,rendererKey:T,timingOverrides:x}=(0,p.useContext)(M),l=d.isDefined(v)&&d.isDefined(_)&&d.isDefined(T),u=l?void 0:e,a=d.isDefined(n),m=d.isDefined(x)&&Object.prototype.propertyIsEnumerable.call(x,"duration"),w=d.isDefined(x)&&Object.prototype.propertyIsEnumerable.call(x,"progress");return(0,p.useLayoutEffect)(()=>{if(l){t(v.updateRenderer({id:_,key:T,configuration:{duration:m?s:void 0,isProgress:w?a:void 0,isPaused:o}}));return}u?.update({duration:s,durationRevision:i,isPaused:o,isProgress:a,isActive:f,onClose:c})},[u,t,l,s,i,o,a,f,c,v,_,T,m,w]),(0,p.useLayoutEffect)(()=>()=>{if(l){v.removeRenderer({id:_,key:T});return}u?.stop()},[u,v,_,T,l]),null},nt=({element:e,isFocused:t,onFocusChange:s})=>((0,p.useLayoutEffect)(()=>{if(!t||!d.isDefined(e))return;const n=()=>{e.contains(e.ownerDocument.activeElement)||s(!1)};n();const o=new MutationObserver(n);return o.observe(e,{childList:!0,subtree:!0}),()=>o.disconnect()},[e,t,s]),null),ee=6e3,te=e=>Number.isFinite(e)&&e>0,rt="_countdown_1vuo8_1",ot="_toastCountdown_1vuo8_1",it={countdown:rt,toastCountdown:ot},at=({progress:e,duration:t,remainingDuration:s,revision:n,isPaused:o,barColor:c})=>d.isDefined(e)?(0,r.jsx)(O.ProgressBar,{value:e,barColor:c}):te(t)?(0,r.jsx)("div",{className:it.countdown,"data-paused":o||void 0,style:{"--toast-countdown-color":c,"--toast-countdown-width":`${s/t*100}%`,"--toast-countdown-duration":`${s}ms`}},n):null,ct=2**31-1,ut=({onChange:e})=>{let t,s=0,n,o,c=0,i=0,f=!1;const v=()=>{i+=1,d.isDefined(n)&&(s=Math.max(0,s-(performance.now()-n)),n=void 0),clearTimeout(o),o=void 0},_=()=>{d.isDefined(t)&&(c+=1,e({duration:t.duration,remainingDuration:s,revision:c,isPaused:t.isPaused||!t.isActive}))},T=()=>{f||(v(),f=!0,s=0,_(),t?.onClose?.())},x=()=>d.isDefined(t)&&t.isActive&&!t.isPaused&&!t.isProgress&&te(t.duration)&&!f,l=()=>{if(!x())return;n=performance.now();const a=i;o=setTimeout(()=>{if(a===i){if(v(),s>0){l();return}T()}},Math.min(s,ct))};return{update:a=>{const m=!d.isDefined(t)||a.duration!==t.duration||a.durationRevision!==t.durationRevision||t.isProgress&&!a.isProgress,w=m||a.isProgress!==t?.isProgress||a.isPaused!==t?.isPaused||a.isActive!==t?.isActive,g=!d.isDefined(n)&&x();if(!w&&!g){t=a;return}v(),t=a,!f&&(m&&(s=Math.max(0,a.duration)),_(),l())},close:T,stop:v}},se=({duration:e,isPaused:t})=>{let s={duration:e,remainingDuration:e,revision:0,isPaused:t};const n=new Set;return{...ut({onChange:o=>{s=o;for(const c of n)c()}}),getSnapshot:()=>s,subscribe:o=>(n.add(o),()=>{n.delete(o)})}},dt=({duration:e,isPaused:t})=>{const{lifecycle:s,id:n,rendererKey:o}=(0,p.useContext)(M),[c,i]=(0,p.useState)(()=>(d.isDefined(s)&&d.isDefined(n)&&d.isDefined(o)?s.getCountdown(n):void 0)??se({duration:e,isPaused:t}));return{countdown:(0,p.useSyncExternalStore)(c.subscribe,c.getSnapshot,c.getSnapshot),clock:c,setClock:i}},lt={neutral:j.IconAlertTriangle,error:j.IconAlertTriangle,success:j.IconSquareRoundedCheck,info:j.IconInfoCircle,warning:j.IconAlertTriangle},ne=({children:e,description:t,icon:s,iconLabel:n,action:o,progress:c,duration:i=ee,onCancel:f,onClose:v,cancelLabel:_=P.doNotTranslate("Cancel"),closeLabel:T=P.doNotTranslate("Close"),status:x="neutral",role:l="status",className:u,onMouseEnter:a,onMouseLeave:m,onFocus:w,onBlur:g,render:A,ref:oe,...ie})=>{const L=z.useTheme(),[ae,$]=(0,p.useState)(!1),[U,W]=(0,p.useState)(!1),[ce,ue]=(0,p.useState)(null),K=ae||U,{countdown:S,clock:H,setClock:de}=dt({duration:i,isPaused:K}),le=lt[x],V=L.snackBar[x==="neutral"?"default":x],X=(0,E.isUndefined)(s)?(0,r.jsx)(le,{"aria-label":n,"aria-hidden":!d.isDefined(n),color:V.color,size:L.icon.size.md}):s;return(0,r.jsxs)(r.Fragment,{children:[(0,F.useRender)({render:A,ref:[oe??null,ue],props:{role:l,"aria-live":l==="alert"?"assertive":"polite",...ie,className:(0,R.clsx)(b.root,u),onMouseEnter:C=>{$(!0),a?.(C)},onMouseLeave:C=>{$(!1),m?.(C)},onFocus:C=>{W(!0),w?.(C)},onBlur:C=>{C.currentTarget.contains(C.relatedTarget)||W(!1),g?.(C)},children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:b.progress,"aria-hidden":!0,children:(0,r.jsx)(at,{barColor:V.backgroundColor,progress:c,duration:S.duration,remainingDuration:S.remainingDuration,revision:S.revision,isPaused:S.isPaused})}),(0,r.jsxs)("div",{className:b.header,children:[y.isRenderableSlot(X)&&(0,r.jsx)("div",{className:b.icon,children:X}),(0,r.jsx)("div",{className:b.message,children:e}),(0,r.jsxs)("div",{className:b.actions,children:[d.isDefined(f)&&y.isRenderableSlot(_)&&(0,r.jsx)(I.Button,{onClick:f,size:"sm",variant:"ghost",style:{fontWeight:"var(--t-font-weight-regular)"},children:_}),d.isDefined(v)&&(0,r.jsx)(I.Button,{title:T,"aria-label":T,startIcon:(0,r.jsx)(j.IconX,{}),className:b.closeButton,variant:"ghost",size:"sm",onClick:H.close})]})]}),y.isRenderableSlot(t)&&(0,r.jsx)("div",{className:b.description,children:t}),y.isRenderableSlot(o)&&(0,r.jsxs)("div",{className:b.footer,children:[(0,r.jsx)(me.Separator,{}),(0,r.jsx)("div",{className:b.footerAction,children:o})]})]})}}),(0,r.jsx)(nt,{element:ce,isFocused:U,onFocusChange:W}),(0,r.jsx)(st,{clock:H,onClockChange:de,duration:i,progress:c,isPaused:K,onClose:v})]})},re=e=>{if(!(0,E.isPositiveInteger)(e))throw new Error(P.doNotTranslate("Toast limit must be a positive integer."))},ft=({store:e,limit:t})=>{if(re(t),e.state.limit===t)return;e.set("limit",t);const s=e.state.toasts.filter(D),n=Math.max(0,s.length-t);n!==0&&k({store:e,toastsToClose:s.slice(0,n)})},vt=({limit:e})=>{const t=N();return(0,p.useEffect)(()=>t.lifecycle.mount(),[t]),(0,p.useLayoutEffect)(()=>ft({store:t,limit:e}),[t,e]),null},_t=({store:e,toast:t})=>{const{toasts:s}=e.state;t.status==="closing"&&s.includes(t)&&e.set("toasts",s.filter(n=>n!==t))},mt=e=>{const t=new Map;let s=!1,n=!1,o=0;const c=l=>{const u=t.get(l);if(d.isDefined(u))return u;const a={countdown:se({duration:ee,isPaused:!0}),renderers:new Map};return t.set(l,a),a},i=l=>{if(!s)return;const u=t.get(l);if(!d.isDefined(u?.pendingExits)||u.pendingExits.size>0)return;const a=e.state.toasts.find(m=>m.notification.id===l);d.isDefined(a)&&_t({store:e,toast:a})},f=()=>{for(const[l,u]of t){const a=e.state.toasts.find(g=>g.notification.id===l);if(!d.isDefined(a)){u.countdown.stop(),t.delete(l);continue}const m=u.renderers.values().next().value??u.lastRenderer;u.lastRenderer=m;const w=!s||u.renderers.size===0||[...u.renderers.values()].some(g=>g.isPaused);u.countdown.update({duration:m?.duration??a.notification.duration??6e3,durationRevision:a.durationRevision??0,isProgress:m?.isProgress??d.isDefined(a.notification.progress),isPaused:w,isActive:a.status==="visible",onClose:()=>{const g=e.state.toasts.find(A=>A.notification.id===l&&D(A));!s||!d.isDefined(g)||k({store:e,toastsToClose:[g]})}}),a.status!=="visible"&&(u.pendingExits??=new Set(u.renderers.keys()),i(l))}};return{mount:()=>{s=!0,n=!1,o+=1;const l=e.subscribe(f);return f(),()=>{s=!1,l();for(const a of t.values())a.countdown.stop();const u=++o;queueMicrotask(()=>{s||o!==u||(n=!0,t.clear(),e.set("toasts",[]))})}},isActive:()=>!n,getCountdown:l=>t.get(l)?.countdown,updateRenderer:({id:l,key:u,configuration:a})=>{const m=c(l);return m.renderers.has(u)||(m.countdown.stop(),m.pendingExits?.add(u)),m.renderers.set(u,a),f(),m.countdown},removeRenderer:({id:l,key:u})=>{const a=t.get(l);d.isDefined(a)&&(a.renderers.delete(u),a.pendingExits?.delete(u),f())},finishExit:({id:l,key:u})=>{t.get(l)?.pendingExits?.delete(u),i(l)}}},pt=(e=3)=>{re(e);const t=new Q.Store({toasts:[],limit:e,mountedToasterCount:0});return Object.assign(t,{lifecycle:mt(t)})},Tt=({children:e,limit:t=3})=>{const[s]=(0,p.useState)(()=>pt(t));return(0,r.jsxs)(Y.Provider,{value:s,children:[e,(0,r.jsx)(vt,{limit:t})]})},xt="_root_1q2cc_1",ht="_item_1q2cc_20",gt="_itemContent_1q2cc_47",B={root:xt,item:ht,itemContent:gt},bt=()=>(0,Q.useStore)(N(),e=>e.toasts),Ct=({elementRef:e,toastEntry:t,rendererKey:s})=>{const n=N();return(0,p.useLayoutEffect)(()=>{if(t.status==="visible")return;const o=()=>n.lifecycle.finishExit({id:t.notification.id,key:s}),c=e.current?.getAnimations?.()??[];if(!(0,E.isNonEmptyArray)(c)){o();return}let i=!1;return Promise.allSettled(c.map(f=>f.finished)).then(()=>{i||o()}),()=>{i=!0}},[e,t,n,s]),null},jt=({toastEntry:e,getToastProps:t,onClose:s})=>{const{notification:n,status:o,durationRevision:c=0}=e,{id:i,...f}=n,v=N(),_=t?.(n),[T]=(0,p.useState)(()=>Symbol()),x=(0,p.useRef)(null);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:x,className:B.item,"data-exiting":o==="closing"||void 0,inert:o==="closing",children:(0,r.jsx)("div",{className:B.itemContent,children:(0,r.jsx)(M.Provider,{value:{durationRevision:c,isActive:o==="visible",lifecycle:v.lifecycle,id:i,rendererKey:T,timingOverrides:_},children:(0,r.jsx)(ne,{...f,..._,id:i,onClose:()=>s(i)})})})}),(0,r.jsx)(Ct,{elementRef:x,toastEntry:e,rendererKey:T})]})},wt=({getToastProps:e})=>{const t=bt(),{closeToast:s}=Z();return t.map(n=>(0,r.jsx)(jt,{toastEntry:n,getToastProps:e,onClose:s},n.notification.id))},yt=()=>{const e=N();return(0,p.useLayoutEffect)(()=>(e.set("mountedToasterCount",e.state.mountedToasterCount+1),()=>{e.set("mountedToasterCount",e.state.mountedToasterCount-1),!(e.state.mountedToasterCount>0)&&e.set("toasts",e.state.toasts.filter(D))}),[e]),null},Dt=({container:e,getToastProps:t,className:s,render:n,ref:o,...c})=>{const i=z.useThemeContainer(),f=ve.useProvidedTextDirection(),v=e===void 0?i??(typeof document>"u"?null:document.body):e,_=(0,F.useRender)({render:n,ref:o,props:{role:"region",dir:f,"aria-label":P.doNotTranslate("Notifications"),...c,className:(0,R.clsx)(B.root,s),children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(yt,{}),(0,r.jsx)(wt,{getToastProps:t})]})}});return d.isDefined(v)?(0,pe.createPortal)(_,v):null};Object.defineProperty(exports,"Callout",{enumerable:!0,get:function(){return Ae}});Object.defineProperty(exports,"InlineBanner",{enumerable:!0,get:function(){return Me}});Object.defineProperty(exports,"Toast",{enumerable:!0,get:function(){return ne}});Object.defineProperty(exports,"ToastProvider",{enumerable:!0,get:function(){return Tt}});Object.defineProperty(exports,"Toaster",{enumerable:!0,get:function(){return Dt}});Object.defineProperty(exports,"useToast",{enumerable:!0,get:function(){return Ke}});
|
|
1
|
+
const z=require("./theme-BJRNJNPO.cjs"),d=require("./isDefined-DS2Q42p5.cjs"),y=require("./isRenderableSlot-Guryb6Nf.cjs"),P=require("./doNotTranslate-CHE7WmRS.cjs"),fe=require("./mergeClassNames-D4lshrT6.cjs"),I=require("./Button-Du8T-dOv.cjs"),O=require("./ProgressBar-BG38LPgC.cjs"),ve=require("./useProvidedTextDirection-PVaoQCLH.cjs"),_e=require("./OverflowingTextWithTooltip-CuWHF8_e.cjs"),me=require("./Separator-UJVlrTzw.cjs");let F=require("@base-ui/react/use-render"),E=require("@sniptt/guards"),R=require("clsx"),p=require("react"),r=require("react/jsx-runtime"),Q=require("@base-ui/utils/store"),pe=require("react-dom"),j=require("@tabler/icons-react");var Te="_action_3r2bm_1",xe={action:Te},he=({className:e,...t})=>(0,r.jsx)(I.Button,{...t,size:"sm",variant:"ghost",className:fe.mergeClassNames(xe.action,e)}),ge="_container_1ix4w_1",be="_containerFullWidth_1ix4w_40",Ce="_header_1ix4w_44",je="_iconContainer_1ix4w_53",we="_title_1ix4w_63",ye="_descriptionWrapper_1ix4w_75",De="_descriptionWrapperWithIcon_1ix4w_82",Ne="_descriptionWrapperWithAction_1ix4w_86",qe="_description_1ix4w_75",Pe="_footer_1ix4w_99",Ee="_closeButton_1ix4w_106",h={container:ge,containerFullWidth:be,header:Ce,iconContainer:je,title:we,descriptionWrapper:ye,descriptionWrapperWithIcon:De,descriptionWrapperWithAction:Ne,description:qe,footer:Pe,closeButton:Ee},Re=({status:e="info",variant:t="soft",color:s=O.FEEDBACK_STATUS_COLORS[e],title:n,description:o,fullWidth:c=!1,icon:i=(0,r.jsx)(j.IconHelp,{size:z.themeCssVariables.icon.size.md,"aria-hidden":"true"}),action:f,closeLabel:v=P.doNotTranslate("Close"),onDismiss:_,className:T,render:x,ref:l,...u})=>{const a=y.isRenderableSlot(i),m=y.isRenderableSlot(f);return(0,F.useRender)({render:x,ref:l,state:{status:e,variant:t,color:s},props:{...u,className:(0,R.clsx)(h.container,c&&h.containerFullWidth,T),children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:h.header,children:[a&&(0,r.jsx)("div",{className:h.iconContainer,children:i}),(0,r.jsx)("div",{className:h.title,children:n}),d.isDefined(_)&&(0,r.jsx)(I.Button,{type:"button",startIcon:(0,r.jsx)(j.IconX,{"aria-hidden":"true"}),className:h.closeButton,variant:"ghost",size:"sm","aria-label":v,onClick:()=>_()})]}),y.isRenderableSlot(o)&&(0,r.jsx)("div",{className:(0,R.clsx)(h.descriptionWrapper,a&&h.descriptionWrapperWithIcon,m&&h.descriptionWrapperWithAction),children:(0,r.jsx)("div",{className:h.description,children:o})}),m&&(0,r.jsx)("div",{className:h.footer,children:f})]})}})},Ae=Object.assign(Re,{Action:he}),Se="_banner_qbpcz_1",Ie="_embedded_qbpcz_6",Oe="_bannerContent_qbpcz_10",ke="_icon_qbpcz_18",We="_bannerText_qbpcz_28",Be="_compact_qbpcz_33",ze="_fullWidth_qbpcz_58",q={banner:Se,embedded:Ie,bannerContent:Oe,icon:ke,bannerText:We,compact:Be,fullWidth:ze},Fe=({children:e,layout:t="standard",variant:s="soft",embedded:n=!1,fullWidth:o=!1,icon:c=(0,r.jsx)(j.IconInfoCircle,{"aria-hidden":"true"}),className:i,...f})=>{const v=t==="compact",_=!v&&(0,E.isString)(e);return(0,r.jsx)(O.Banner,{...f,className:(0,R.clsx)(q.banner,v&&q.compact,n&&q.embedded,o&&q.fullWidth,i),variant:s,"data-layout":t,children:(0,r.jsxs)("div",{className:q.bannerContent,children:[y.isRenderableSlot(c)&&(0,r.jsx)("span",{className:q.icon,children:c}),(0,r.jsx)("div",{className:q.bannerText,children:_?(0,r.jsx)(_e.OverflowingTextWithTooltip,{isFocusable:!0,text:(0,r.jsx)(r.Fragment,{children:e}),tooltipContent:e}):e})]})})},Me=Object.assign(Fe,{Action:O.Banner.Action}),D=e=>e.status==="visible",k=({store:e,toastsToClose:t,nextToasts:s=e.state.toasts})=>{const n=t.filter(i=>D(i)&&e.state.toasts.includes(i)),o=s.map(i=>n.includes(i)?{...i,status:"closing"}:i),c=e.state.mountedToasterCount>0;e.set("toasts",c?o:o.filter(D));for(const i of n)i.notification.onClose?.()},Y=(0,p.createContext)(void 0),N=()=>{const e=(0,p.useContext)(Y);if(!d.isDefined(e))throw new Error(P.doNotTranslate("Toast components must be used within a ToastProvider."));return e},Z=()=>{const e=N();return{closeToast:s=>{if(!e.lifecycle.isActive())return;const n=e.state.toasts.filter(o=>D(o)&&(!d.isDefined(s)||o.notification.id===s));(0,E.isNonEmptyArray)(n)&&k({store:e,toastsToClose:n})}}},G=0,J=()=>(G+=1,`toast-${G}`),Le=()=>{const e=N();return{enqueueToast:(0,p.useMemo)(()=>{function t(s){if(!d.isDefined(s))return;if(!e.lifecycle.isActive())return J();const{dedupeKey:n,...o}=s,{toasts:c,limit:i}=e.state,f=c.filter(D),v=d.isDefined(n)?f.find(x=>x.dedupeKey===n):void 0;if(d.isDefined(v))return v.notification.id;const _=J(),T=Math.max(0,f.length-i+1);return k({store:e,toastsToClose:f.slice(0,T),nextToasts:[...c,{notification:{...o,id:_},dedupeKey:n,status:"visible"}]}),_}return t},[e])}},$e=({store:e,id:t,...s})=>{if(!e.lifecycle.isActive())return;const n=e.state.toasts.find(i=>i.notification.id===t&&D(i)),o=Object.keys(s);if(!d.isDefined(n)||!(0,E.isNonEmptyArray)(o))return;const c=o.includes("duration")||d.isDefined(n.notification.progress)&&o.includes("progress")&&!d.isDefined(s.progress);e.set("toasts",e.state.toasts.map(i=>i===n?{...i,notification:{...i.notification,...s,id:t},...c?{durationRevision:(i.durationRevision??0)+1}:{}}:i))},Ue=()=>{const e=N();return{updateToast:(0,p.useCallback)(t=>$e({store:e,...t}),[e])}},Ke=()=>{const{closeToast:e}=Z(),{enqueueToast:t}=Le(),{updateToast:s}=Ue();return{enqueueToast:t,closeToast:e,updateToast:s}},He="_root_181ka_1",Ve="_progress_181ka_19",Xe="_header_181ka_30",Ge="_message_181ka_40",Je="_icon_181ka_45",Qe="_actions_181ka_50",Ye="_description_181ka_56",Ze="_footer_181ka_65",et="_footerAction_181ka_69",tt="_closeButton_181ka_76",b={root:He,progress:Ve,header:Xe,message:Ge,icon:Je,actions:Qe,description:Ye,footer:Ze,footerAction:et,closeButton:tt},M=(0,p.createContext)({durationRevision:0,isActive:!0}),st=({clock:e,onClockChange:t,duration:s,progress:n,isPaused:o,onClose:c})=>{const{durationRevision:i,isActive:f,lifecycle:v,id:_,rendererKey:T,timingOverrides:x}=(0,p.useContext)(M),l=d.isDefined(v)&&d.isDefined(_)&&d.isDefined(T),u=l?void 0:e,a=d.isDefined(n),m=d.isDefined(x)&&Object.prototype.propertyIsEnumerable.call(x,"duration"),w=d.isDefined(x)&&Object.prototype.propertyIsEnumerable.call(x,"progress");return(0,p.useLayoutEffect)(()=>{if(l){t(v.updateRenderer({id:_,key:T,configuration:{duration:m?s:void 0,isProgress:w?a:void 0,isPaused:o}}));return}u?.update({duration:s,durationRevision:i,isPaused:o,isProgress:a,isActive:f,onClose:c})},[u,t,l,s,i,o,a,f,c,v,_,T,m,w]),(0,p.useLayoutEffect)(()=>()=>{if(l){v.removeRenderer({id:_,key:T});return}u?.stop()},[u,v,_,T,l]),null},nt=({element:e,isFocused:t,onFocusChange:s})=>((0,p.useLayoutEffect)(()=>{if(!t||!d.isDefined(e))return;const n=()=>{e.contains(e.ownerDocument.activeElement)||s(!1)};n();const o=new MutationObserver(n);return o.observe(e,{childList:!0,subtree:!0}),()=>o.disconnect()},[e,t,s]),null),ee=6e3,te=e=>Number.isFinite(e)&&e>0,rt="_countdown_1vuo8_1",ot="_toastCountdown_1vuo8_1",it={countdown:rt,toastCountdown:ot},at=({progress:e,duration:t,remainingDuration:s,revision:n,isPaused:o,barColor:c})=>d.isDefined(e)?(0,r.jsx)(O.ProgressBar,{value:e,barColor:c}):te(t)?(0,r.jsx)("div",{className:it.countdown,"data-paused":o||void 0,style:{"--toast-countdown-color":c,"--toast-countdown-width":`${s/t*100}%`,"--toast-countdown-duration":`${s}ms`}},n):null,ct=2**31-1,ut=({onChange:e})=>{let t,s=0,n,o,c=0,i=0,f=!1;const v=()=>{i+=1,d.isDefined(n)&&(s=Math.max(0,s-(performance.now()-n)),n=void 0),clearTimeout(o),o=void 0},_=()=>{d.isDefined(t)&&(c+=1,e({duration:t.duration,remainingDuration:s,revision:c,isPaused:t.isPaused||!t.isActive}))},T=()=>{f||(v(),f=!0,s=0,_(),t?.onClose?.())},x=()=>d.isDefined(t)&&t.isActive&&!t.isPaused&&!t.isProgress&&te(t.duration)&&!f,l=()=>{if(!x())return;n=performance.now();const a=i;o=setTimeout(()=>{if(a===i){if(v(),s>0){l();return}T()}},Math.min(s,ct))};return{update:a=>{const m=!d.isDefined(t)||a.duration!==t.duration||a.durationRevision!==t.durationRevision||t.isProgress&&!a.isProgress,w=m||a.isProgress!==t?.isProgress||a.isPaused!==t?.isPaused||a.isActive!==t?.isActive,g=!d.isDefined(n)&&x();if(!w&&!g){t=a;return}v(),t=a,!f&&(m&&(s=Math.max(0,a.duration)),_(),l())},close:T,stop:v}},se=({duration:e,isPaused:t})=>{let s={duration:e,remainingDuration:e,revision:0,isPaused:t};const n=new Set;return{...ut({onChange:o=>{s=o;for(const c of n)c()}}),getSnapshot:()=>s,subscribe:o=>(n.add(o),()=>{n.delete(o)})}},dt=({duration:e,isPaused:t})=>{const{lifecycle:s,id:n,rendererKey:o}=(0,p.useContext)(M),[c,i]=(0,p.useState)(()=>(d.isDefined(s)&&d.isDefined(n)&&d.isDefined(o)?s.getCountdown(n):void 0)??se({duration:e,isPaused:t}));return{countdown:(0,p.useSyncExternalStore)(c.subscribe,c.getSnapshot,c.getSnapshot),clock:c,setClock:i}},lt={neutral:j.IconAlertTriangle,error:j.IconAlertTriangle,success:j.IconSquareRoundedCheck,info:j.IconInfoCircle,warning:j.IconAlertTriangle},ne=({children:e,description:t,icon:s,iconLabel:n,action:o,progress:c,duration:i=ee,onCancel:f,onClose:v,cancelLabel:_=P.doNotTranslate("Cancel"),closeLabel:T=P.doNotTranslate("Close"),status:x="neutral",role:l="status",className:u,onMouseEnter:a,onMouseLeave:m,onFocus:w,onBlur:g,render:A,ref:oe,...ie})=>{const L=z.useTheme(),[ae,$]=(0,p.useState)(!1),[U,W]=(0,p.useState)(!1),[ce,ue]=(0,p.useState)(null),K=ae||U,{countdown:S,clock:H,setClock:de}=dt({duration:i,isPaused:K}),le=lt[x],V=L.snackBar[x==="neutral"?"default":x],X=(0,E.isUndefined)(s)?(0,r.jsx)(le,{"aria-label":n,"aria-hidden":!d.isDefined(n),color:V.color,size:L.icon.size.md}):s;return(0,r.jsxs)(r.Fragment,{children:[(0,F.useRender)({render:A,ref:[oe??null,ue],props:{role:l,"aria-live":l==="alert"?"assertive":"polite",...ie,className:(0,R.clsx)(b.root,u),onMouseEnter:C=>{$(!0),a?.(C)},onMouseLeave:C=>{$(!1),m?.(C)},onFocus:C=>{W(!0),w?.(C)},onBlur:C=>{C.currentTarget.contains(C.relatedTarget)||W(!1),g?.(C)},children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:b.progress,"aria-hidden":!0,children:(0,r.jsx)(at,{barColor:V.backgroundColor,progress:c,duration:S.duration,remainingDuration:S.remainingDuration,revision:S.revision,isPaused:S.isPaused})}),(0,r.jsxs)("div",{className:b.header,children:[y.isRenderableSlot(X)&&(0,r.jsx)("div",{className:b.icon,children:X}),(0,r.jsx)("div",{className:b.message,children:e}),(0,r.jsxs)("div",{className:b.actions,children:[d.isDefined(f)&&y.isRenderableSlot(_)&&(0,r.jsx)(I.Button,{onClick:f,size:"sm",variant:"ghost",style:{fontWeight:"var(--t-font-weight-regular)"},children:_}),d.isDefined(v)&&(0,r.jsx)(I.Button,{title:T,"aria-label":T,startIcon:(0,r.jsx)(j.IconX,{}),className:b.closeButton,variant:"ghost",size:"sm",onClick:H.close})]})]}),y.isRenderableSlot(t)&&(0,r.jsx)("div",{className:b.description,children:t}),y.isRenderableSlot(o)&&(0,r.jsxs)("div",{className:b.footer,children:[(0,r.jsx)(me.Separator,{}),(0,r.jsx)("div",{className:b.footerAction,children:o})]})]})}}),(0,r.jsx)(nt,{element:ce,isFocused:U,onFocusChange:W}),(0,r.jsx)(st,{clock:H,onClockChange:de,duration:i,progress:c,isPaused:K,onClose:v})]})},re=e=>{if(!(0,E.isPositiveInteger)(e))throw new Error(P.doNotTranslate("Toast limit must be a positive integer."))},ft=({store:e,limit:t})=>{if(re(t),e.state.limit===t)return;e.set("limit",t);const s=e.state.toasts.filter(D),n=Math.max(0,s.length-t);n!==0&&k({store:e,toastsToClose:s.slice(0,n)})},vt=({limit:e})=>{const t=N();return(0,p.useEffect)(()=>t.lifecycle.mount(),[t]),(0,p.useLayoutEffect)(()=>ft({store:t,limit:e}),[t,e]),null},_t=({store:e,toast:t})=>{const{toasts:s}=e.state;t.status==="closing"&&s.includes(t)&&e.set("toasts",s.filter(n=>n!==t))},mt=e=>{const t=new Map;let s=!1,n=!1,o=0;const c=l=>{const u=t.get(l);if(d.isDefined(u))return u;const a={countdown:se({duration:ee,isPaused:!0}),renderers:new Map};return t.set(l,a),a},i=l=>{if(!s)return;const u=t.get(l);if(!d.isDefined(u?.pendingExits)||u.pendingExits.size>0)return;const a=e.state.toasts.find(m=>m.notification.id===l);d.isDefined(a)&&_t({store:e,toast:a})},f=()=>{for(const[l,u]of t){const a=e.state.toasts.find(g=>g.notification.id===l);if(!d.isDefined(a)){u.countdown.stop(),t.delete(l);continue}const m=u.renderers.values().next().value??u.lastRenderer;u.lastRenderer=m;const w=!s||u.renderers.size===0||[...u.renderers.values()].some(g=>g.isPaused);u.countdown.update({duration:m?.duration??a.notification.duration??6e3,durationRevision:a.durationRevision??0,isProgress:m?.isProgress??d.isDefined(a.notification.progress),isPaused:w,isActive:a.status==="visible",onClose:()=>{const g=e.state.toasts.find(A=>A.notification.id===l&&D(A));!s||!d.isDefined(g)||k({store:e,toastsToClose:[g]})}}),a.status!=="visible"&&(u.pendingExits??=new Set(u.renderers.keys()),i(l))}};return{mount:()=>{s=!0,n=!1,o+=1;const l=e.subscribe(f);return f(),()=>{s=!1,l();for(const a of t.values())a.countdown.stop();const u=++o;queueMicrotask(()=>{s||o!==u||(n=!0,t.clear(),e.set("toasts",[]))})}},isActive:()=>!n,getCountdown:l=>t.get(l)?.countdown,updateRenderer:({id:l,key:u,configuration:a})=>{const m=c(l);return m.renderers.has(u)||(m.countdown.stop(),m.pendingExits?.add(u)),m.renderers.set(u,a),f(),m.countdown},removeRenderer:({id:l,key:u})=>{const a=t.get(l);d.isDefined(a)&&(a.renderers.delete(u),a.pendingExits?.delete(u),f())},finishExit:({id:l,key:u})=>{t.get(l)?.pendingExits?.delete(u),i(l)}}},pt=(e=3)=>{re(e);const t=new Q.Store({toasts:[],limit:e,mountedToasterCount:0});return Object.assign(t,{lifecycle:mt(t)})},Tt=({children:e,limit:t=3})=>{const[s]=(0,p.useState)(()=>pt(t));return(0,r.jsxs)(Y.Provider,{value:s,children:[e,(0,r.jsx)(vt,{limit:t})]})},xt="_root_1q2cc_1",ht="_item_1q2cc_20",gt="_itemContent_1q2cc_47",B={root:xt,item:ht,itemContent:gt},bt=()=>(0,Q.useStore)(N(),e=>e.toasts),Ct=({elementRef:e,toastEntry:t,rendererKey:s})=>{const n=N();return(0,p.useLayoutEffect)(()=>{if(t.status==="visible")return;const o=()=>n.lifecycle.finishExit({id:t.notification.id,key:s}),c=e.current?.getAnimations?.()??[];if(!(0,E.isNonEmptyArray)(c)){o();return}let i=!1;return Promise.allSettled(c.map(f=>f.finished)).then(()=>{i||o()}),()=>{i=!0}},[e,t,n,s]),null},jt=({toastEntry:e,getToastProps:t,onClose:s})=>{const{notification:n,status:o,durationRevision:c=0}=e,{id:i,...f}=n,v=N(),_=t?.(n),[T]=(0,p.useState)(()=>Symbol()),x=(0,p.useRef)(null);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:x,className:B.item,"data-exiting":o==="closing"||void 0,inert:o==="closing",children:(0,r.jsx)("div",{className:B.itemContent,children:(0,r.jsx)(M.Provider,{value:{durationRevision:c,isActive:o==="visible",lifecycle:v.lifecycle,id:i,rendererKey:T,timingOverrides:_},children:(0,r.jsx)(ne,{...f,..._,id:i,onClose:()=>s(i)})})})}),(0,r.jsx)(Ct,{elementRef:x,toastEntry:e,rendererKey:T})]})},wt=({getToastProps:e})=>{const t=bt(),{closeToast:s}=Z();return t.map(n=>(0,r.jsx)(jt,{toastEntry:n,getToastProps:e,onClose:s},n.notification.id))},yt=()=>{const e=N();return(0,p.useLayoutEffect)(()=>(e.set("mountedToasterCount",e.state.mountedToasterCount+1),()=>{e.set("mountedToasterCount",e.state.mountedToasterCount-1),!(e.state.mountedToasterCount>0)&&e.set("toasts",e.state.toasts.filter(D))}),[e]),null},Dt=({container:e,getToastProps:t,className:s,render:n,ref:o,...c})=>{const i=z.useThemeContainer(),f=ve.useProvidedTextDirection(),v=e===void 0?i??(typeof document>"u"?null:document.body):e,_=(0,F.useRender)({render:n,ref:o,props:{role:"region",dir:f,"aria-label":P.doNotTranslate("Notifications"),...c,className:(0,R.clsx)(B.root,s),children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(yt,{}),(0,r.jsx)(wt,{getToastProps:t})]})}});return d.isDefined(v)?(0,pe.createPortal)(_,v):null};Object.defineProperty(exports,"Callout",{enumerable:!0,get:function(){return Ae}});Object.defineProperty(exports,"InlineBanner",{enumerable:!0,get:function(){return Me}});Object.defineProperty(exports,"Toast",{enumerable:!0,get:function(){return ne}});Object.defineProperty(exports,"ToastProvider",{enumerable:!0,get:function(){return Tt}});Object.defineProperty(exports,"Toaster",{enumerable:!0,get:function(){return Dt}});Object.defineProperty(exports,"useToast",{enumerable:!0,get:function(){return Ke}});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { IconNumber123 as Icon123, IconAdjustments, IconAlertCircle, IconAlertTriangle, IconAlignBoxLeftTop, IconAlignCenter, IconAlignLeft, IconAlignRight, IconApi, IconApps, IconAppWindow, IconArchive, IconArchiveOff, IconArrowBackUp, IconArrowBarToDown, IconArrowBarToDownDashed, IconArrowDown, IconArrowLeft, IconArrowMerge, IconArrowRight, IconArrowsDiagonal, IconArrowsSort, IconArrowsSplit2, IconArrowsVertical, IconArrowUp, IconArrowUpRight, IconAt, IconAxisX, IconAxisY, IconBadge2k, IconBaselineDensitySmall, IconBell, IconBellOff, IconBlockquote, IconBold, IconBolt, IconBook, IconBook2, IconBookmark, IconBookmarkPlus, IconBox, IconBoxMultiple, IconBrackets, IconBracketsAngle, IconBracketsContain, IconBrain, IconBrandDaysCounter, IconBrandDocker, IconBrandGithub, IconBrandGoogle, IconBrandGraphql, IconBrandLinkedin, IconBrandNpm, IconBrandOpenai, IconBrandTypescript, IconBrandWhatsapp, IconBrandX, IconBriefcase, IconBroadcast, IconBrowserMaximize, IconBuildingSkyscraper, IconCalendar, IconCalendarDue, IconCalendarEvent, IconCalendarMonth, IconCalendarRepeat, IconCalendarTime, IconCalendarWeek, IconCalendarX, IconCancel, IconCaretLeft, IconCaretRight, IconChartBar, IconChartBarPopular, IconChartCandle, IconChartDots3, IconChartLine, IconChartPie, IconCheck, IconCheckbox, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronRightPipe, IconChevronsRight, IconChevronUp, IconCircle, IconCircleDashed, IconCircleDot, IconCircleOff, IconCirclePlus, IconCircleX, IconClick, IconClock, IconClockHour8, IconClockPlay, IconClockShare, IconCode, IconCodeCircle, IconCoins, IconColorSwatch, IconColumnInsertRight, IconColumns, IconCommand, IconCompass, IconMessageCircle, IconMessageCircle as IconComment, IconCopy, IconCopyPlus, IconCornerDownRight, IconCpu, IconCreativeCommonsSa, IconCreditCard, IconCsv, IconCube, IconCurrencyAfghani, IconCurrencyBahraini, IconCurrencyBaht, IconCurrencyDinar, IconCurrencyDirham, IconCurrencyDollar, IconCurrencyDollarAustralian, IconCurrencyDollarBrunei, IconCurrencyDollarCanadian, IconCurrencyDollarGuyanese, IconCurrencyDollarSingapore, IconCurrencyDong, IconCurrencyDram, IconCurrencyEuro, IconCurrencyFlorin, IconCurrencyForint, IconCurrencyFrank, IconCurrencyGuarani, IconCurrencyHryvnia, IconCurrencyIranianRial, IconCurrencyKip, IconCurrencyKroneCzech, IconCurrencyKroneDanish, IconCurrencyKroneSwedish, IconCurrencyLari, IconCurrencyLeu, IconCurrencyLira, IconCurrencyLyd, IconCurrencyManat, IconCurrencyNaira, IconCurrencyPaanga, IconCurrencyPeso, IconCurrencyPound, IconCurrencyQuetzal, IconCurrencyReal, IconCurrencyRenminbi, IconCurrencyRiyal, IconCurrencyRubel, IconCurrencyRufiyaa, IconCurrencyRupee, IconCurrencyRupeeNepalese, IconCurrencyShekel, IconCurrencySom, IconCurrencyTaka, IconCurrencyTenge, IconCurrencyTugrik, IconCurrencyWon, IconCurrencyYen, IconCurrencyYuan, IconCurrencyZloty, IconDatabase, IconDatabaseExport, IconDecimal, IconDeviceDesktop, IconDeviceFloppy, IconDoorEnter, IconDotsVertical, IconDownload, IconEdit, IconEditCircle, IconEraser, IconExclamationCircle, IconExternalLink, IconEye, IconEyeOff, IconEyeShare, IconEyeX, IconFile, IconFileCheck, IconFileExport, IconFileImport, IconFileInfo, IconFilePencil, IconFiles, IconFileText, IconFileUpload, IconFileZip, IconFilter, IconFilterCog, IconFilterOff, IconFilterPlus, IconFilters, IconFilterX, IconFlag, IconFlask, IconFocusCentered, IconFolder, IconFolderOpen, IconFolderPlus, IconForms, IconFolderRoot, IconFolderSymlink, IconForbid, IconFrame, IconFunction, IconGauge, IconGitBranch, IconGitBranchDeleted, IconGitCommit, IconGizmo, IconGraph, IconGripVertical, IconH1, IconH2, IconH3, IconH4, IconH5, IconH6, IconHandClick, IconHandMove, IconHash, IconHeadphones, IconHeart, IconHeartOff, IconHeartRateMonitor, IconHelp, IconHelpCircle, IconHierarchy, IconHierarchy2, IconHistory, IconHistoryToggle, IconHome, IconHourglassHigh, IconHours24, IconHttpDelete, IconHttpGet, IconHttpPatch, IconHttpPost, IconHttpPut, IconId, IconInbox, IconInfoCircle, IconInfoSquareRounded, IconItalic, IconJetpack, IconJson, IconKey, IconLanguage, IconLayersLinked, IconLayout, IconLayoutDashboard, IconLayoutGrid, IconLayoutGridAdd, IconLayoutKanban, IconLayoutList, IconLayoutNavbar, IconLayoutSidebar, IconLayoutSidebarLeftCollapse, IconLayoutSidebarLeftExpand, IconLayoutSidebarRight, IconLayoutSidebarRightCollapse, IconLayoutSidebarRightExpand, IconLego, IconLetterK, IconLibraryPlus, IconLifebuoy, IconLink, IconLinkOff, IconLinkPlus, IconList, IconListCheck, IconListDetails, IconListNumbers, IconListSearch, IconLoader, IconLock, IconLockOpen, IconLogin2, IconLogout, IconMail, IconMailCog, IconMailX, IconMap, IconMathMax, IconMathMin, IconMathXy, IconMaximize, IconMessage, IconMessageCirclePlus, IconMicrophone, IconMinimize, IconMinus, IconMoneybag, IconMoodPlus, IconMoodSmile, IconMoon, IconMouse2, IconNewSection, IconNorthStar, IconNoteOff, IconNotes, IconNumber, IconNumber123, IconNumber9, IconNumbers, IconPaint, IconPaperclip, IconPassword, IconPencil, IconPencilOff, IconPercentage, IconPerspective, IconPhone, IconPhoto, IconPhotoUp, IconPilcrow, IconPin, IconPinned, IconPinnedOff, IconPlayerPause, IconPlayerPlay, IconPlayerStop, IconPlaylistAdd, IconPlaystationSquare, IconPlug, IconPlus, IconPoint, IconPower, IconPresentation, IconPrinter, IconProgressCheck, IconPrompt, IconPuzzle, IconPuzzle2, IconQuestionMark, IconRadiusBottomLeft, IconRadiusBottomRight, IconRadiusTopLeft, IconRadiusTopRight, IconRefresh, IconRefreshAlert, IconRefreshDot, IconRelationManyToMany, IconRelationOneToMany, IconRelationOneToOne, IconReload, IconReorder, IconRepeat, IconRestore, IconRobot, IconRocket, IconRotate, IconRotate2, IconRowInsertBottom, IconRowInsertTop, IconSearch, IconSend, IconServer, IconServer2, IconSettings, IconSettings2, IconSettingsAutomation, IconSettingsBolt, IconShare, IconShare2, IconShield, IconShoppingBag, IconSitemap, IconSlash, IconSortAscending, IconSortAscendingLetters, IconSortAscendingNumbers, IconSortAZ, IconSortDescending, IconSortDescendingLetters, IconSortDescendingNumbers, IconSortZA, IconSparkles, IconSpy, IconSql, IconSquare, IconSquareCheck, IconSquareKey, IconSquareNumber1, IconSquareNumber2, IconSquareNumber3, IconSquareNumber4, IconSquareNumber5, IconSquareNumber6, IconSquareNumber7, IconSquareNumber8, IconSquareNumber9, IconSquarePlus, IconSquareRoundedCheck, IconSquareRoundedX, IconSquareX, IconStack2, IconStairs, IconStar, IconStatusChange, IconStepInto, IconStrikethrough, IconSum, IconSun, IconSunMoon, IconSwitchHorizontal, IconTable, IconTag, IconTags, IconTarget, IconTargetArrow, IconTerminal, IconTerminal2, IconTestPipe, IconTextCaption, IconTextSize, IconTextWrap, IconTimeDuration30, IconTimeDuration60, IconTimelineEvent, IconTool, IconTransform, IconTrash, IconTrashOff, IconTrashX, IconTrendingDown, IconTrendingUp, IconTypography, IconUnderline, IconUnlink, IconUpload, IconUser, IconUserOff, IconUserCircle, IconUserCog, IconUserPin, IconUserPlus, IconUsers, IconUsersGroup, IconVariable, IconVariablePlus, IconVersions, IconVersionsOff, IconVideo, IconWand, IconWebhook, IconWindow, IconWorld, IconWorldWww, IconX, IconZzz, IconZzzOff, } from '@tabler/icons-react';
|
|
1
|
+
export { IconNumber123 as Icon123, IconAdjustments, IconAlertCircle, IconAlertTriangle, IconAlignBoxLeftTop, IconAlignCenter, IconAlignLeft, IconAlignRight, IconApi, IconApps, IconAppWindow, IconArchive, IconArchiveOff, IconArrowBackUp, IconArrowBarToDown, IconArrowBarToDownDashed, IconArrowDown, IconArrowLeft, IconArrowMerge, IconArrowRight, IconArrowsDiagonal, IconArrowsSort, IconArrowsSplit2, IconArrowsVertical, IconArrowUp, IconArrowUpRight, IconAt, IconAxisX, IconAxisY, IconBadge2k, IconBaselineDensitySmall, IconBell, IconBellOff, IconBlockquote, IconBold, IconBolt, IconBook, IconBook2, IconBookmark, IconBookmarkPlus, IconBox, IconBoxMultiple, IconBrackets, IconBracketsAngle, IconBracketsContain, IconBrain, IconBrandDaysCounter, IconBrandDocker, IconBrandGithub, IconBrandGoogle, IconBrandGraphql, IconBrandLinkedin, IconBrandNpm, IconBrandOpenai, IconBrandTypescript, IconBrandWhatsapp, IconBrandX, IconBriefcase, IconBroadcast, IconBrowserMaximize, IconBuildingSkyscraper, IconCalendar, IconCalendarDue, IconCalendarEvent, IconCalendarMonth, IconCalendarRepeat, IconCalendarTime, IconCalendarWeek, IconCalendarX, IconCancel, IconCaretLeft, IconCaretRight, IconChartBar, IconChartBarPopular, IconChartCandle, IconChartDots3, IconChartLine, IconChartPie, IconCheck, IconCheckbox, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronRightPipe, IconChevronsRight, IconChevronUp, IconCircle, IconCircleCheck, IconCircleDashed, IconCircleDot, IconCircleOff, IconCirclePlus, IconCircleX, IconClick, IconClock, IconClockHour8, IconClockPlay, IconClockShare, IconCode, IconCodeCircle, IconCoins, IconColorSwatch, IconColumnInsertLeft, IconColumnInsertRight, IconColumns, IconCommand, IconCompass, IconMessageCircle, IconMessageCircle as IconComment, IconCopy, IconCopyPlus, IconCornerDownRight, IconCpu, IconCreativeCommonsSa, IconCreditCard, IconCsv, IconCube, IconCurrencyAfghani, IconCurrencyBahraini, IconCurrencyBaht, IconCurrencyDinar, IconCurrencyDirham, IconCurrencyDollar, IconCurrencyDollarAustralian, IconCurrencyDollarBrunei, IconCurrencyDollarCanadian, IconCurrencyDollarGuyanese, IconCurrencyDollarSingapore, IconCurrencyDong, IconCurrencyDram, IconCurrencyEuro, IconCurrencyFlorin, IconCurrencyForint, IconCurrencyFrank, IconCurrencyGuarani, IconCurrencyHryvnia, IconCurrencyIranianRial, IconCurrencyKip, IconCurrencyKroneCzech, IconCurrencyKroneDanish, IconCurrencyKroneSwedish, IconCurrencyLari, IconCurrencyLeu, IconCurrencyLira, IconCurrencyLyd, IconCurrencyManat, IconCurrencyNaira, IconCurrencyPaanga, IconCurrencyPeso, IconCurrencyPound, IconCurrencyQuetzal, IconCurrencyReal, IconCurrencyRenminbi, IconCurrencyRiyal, IconCurrencyRubel, IconCurrencyRufiyaa, IconCurrencyRupee, IconCurrencyRupeeNepalese, IconCurrencyShekel, IconCurrencySom, IconCurrencyTaka, IconCurrencyTenge, IconCurrencyTugrik, IconCurrencyWon, IconCurrencyYen, IconCurrencyYuan, IconCurrencyZloty, IconDatabase, IconDatabaseExport, IconDecimal, IconDeviceDesktop, IconDeviceFloppy, IconDoorEnter, IconDotsVertical, IconDownload, IconEdit, IconEditCircle, IconEraser, IconExclamationCircle, IconExternalLink, IconEye, IconEyeOff, IconEyeShare, IconEyeX, IconFile, IconFileCheck, IconFileExport, IconFileImport, IconFileInfo, IconFilePencil, IconFiles, IconFileText, IconFileUpload, IconFileZip, IconFilter, IconFilterCog, IconFilterOff, IconFilterPlus, IconFilters, IconFilterX, IconFlag, IconFlask, IconFocusCentered, IconFolder, IconFolderOpen, IconFolderPlus, IconForms, IconFolderRoot, IconFolderSymlink, IconForbid, IconFrame, IconFunction, IconGauge, IconGitBranch, IconGitBranchDeleted, IconGitCommit, IconGizmo, IconGraph, IconGripHorizontal, IconGripVertical, IconH1, IconH2, IconH3, IconH4, IconH5, IconH6, IconHandClick, IconHandMove, IconHash, IconHeadphones, IconHeart, IconHeartOff, IconHeartRateMonitor, IconHelp, IconHelpCircle, IconHierarchy, IconHierarchy2, IconHistory, IconHistoryToggle, IconHome, IconHourglassHigh, IconHours24, IconHttpDelete, IconHttpGet, IconHttpPatch, IconHttpPost, IconHttpPut, IconId, IconInbox, IconInfoCircle, IconInfoSquareRounded, IconItalic, IconJetpack, IconJson, IconKey, IconLanguage, IconLayersLinked, IconLayout, IconLayoutDashboard, IconLayoutGrid, IconLayoutGridAdd, IconLayoutKanban, IconLayoutList, IconLayoutNavbar, IconLayoutSidebar, IconLayoutSidebarLeftCollapse, IconLayoutSidebarLeftExpand, IconLayoutSidebarRight, IconLayoutSidebarRightCollapse, IconLayoutSidebarRightExpand, IconLego, IconLetterK, IconLibraryPlus, IconLifebuoy, IconLink, IconLinkOff, IconLinkPlus, IconList, IconListCheck, IconListDetails, IconListNumbers, IconListSearch, IconLoader, IconLock, IconLockOpen, IconLogin2, IconLogout, IconMail, IconMailCog, IconMailX, IconMap, IconMathMax, IconMathMin, IconMathXy, IconMaximize, IconMessage, IconMessageCirclePlus, IconMicrophone, IconMinimize, IconMinus, IconMoneybag, IconMoodPlus, IconMoodSmile, IconMoon, IconMouse2, IconNewSection, IconNorthStar, IconNoteOff, IconNotes, IconNumber, IconNumber123, IconNumber9, IconNumbers, IconPaint, IconPaperclip, IconPassword, IconPencil, IconPencilOff, IconPercentage, IconPerspective, IconPhone, IconPhoto, IconPhotoUp, IconPilcrow, IconPin, IconPinned, IconPinnedOff, IconPlayerPause, IconPlayerPlay, IconPlayerStop, IconPlaylistAdd, IconPlaystationSquare, IconPlug, IconPlus, IconPoint, IconPower, IconPresentation, IconPrinter, IconProgressCheck, IconPrompt, IconPuzzle, IconPuzzle2, IconQuestionMark, IconRadiusBottomLeft, IconRadiusBottomRight, IconRadiusTopLeft, IconRadiusTopRight, IconRefresh, IconRefreshAlert, IconRefreshDot, IconRelationManyToMany, IconRelationOneToMany, IconRelationOneToOne, IconReload, IconReorder, IconRepeat, IconRestore, IconRobot, IconRocket, IconRotate, IconRotate2, IconRowInsertBottom, IconRowInsertTop, IconSearch, IconSend, IconServer, IconServer2, IconSettings, IconSettings2, IconSettingsAutomation, IconSettingsBolt, IconShare, IconShare2, IconShield, IconShoppingBag, IconSitemap, IconSlash, IconSortAscending, IconSortAscendingLetters, IconSortAscendingNumbers, IconSortAZ, IconSortDescending, IconSortDescendingLetters, IconSortDescendingNumbers, IconSortZA, IconSparkles, IconSpy, IconSql, IconSquare, IconSquareCheck, IconSquareKey, IconSquareNumber1, IconSquareNumber2, IconSquareNumber3, IconSquareNumber4, IconSquareNumber5, IconSquareNumber6, IconSquareNumber7, IconSquareNumber8, IconSquareNumber9, IconSquarePlus, IconSquareRoundedCheck, IconSquareRoundedX, IconSquareX, IconStack2, IconStairs, IconStar, IconStatusChange, IconStepInto, IconStrikethrough, IconSum, IconSun, IconSunMoon, IconSwitchHorizontal, IconTable, IconTag, IconTags, IconTarget, IconTargetArrow, IconTerminal, IconTerminal2, IconTestPipe, IconTextCaption, IconTextSize, IconTextWrap, IconTimeDuration30, IconTimeDuration60, IconTimelineEvent, IconTool, IconTransform, IconTrash, IconTrashOff, IconTrashX, IconTrendingDown, IconTrendingUp, IconTypography, IconUnderline, IconUnlink, IconUpload, IconUser, IconUserOff, IconUserCircle, IconUserCog, IconUserPin, IconUserPlus, IconUsers, IconUsersGroup, IconVariable, IconVariablePlus, IconVersions, IconVersionsOff, IconVideo, IconWand, IconWebhook, IconWindow, IconWorld, IconWorldWww, IconX, IconZzz, IconZzzOff, } from '@tabler/icons-react';
|
|
2
2
|
export type { IconProps as TablerIconsProps } from '@tabler/icons-react';
|
package/dist/icon/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export { IllustrationIconUid } from './components/IllustrationIconUid';
|
|
|
46
46
|
export { IllustrationIconUser } from './components/IllustrationIconUser';
|
|
47
47
|
export { IllustrationIconWrapper } from './components/IllustrationIconWrapper';
|
|
48
48
|
export type { TablerIconsProps } from './components/TablerIcons';
|
|
49
|
-
export { Icon123, IconAdjustments, IconAlertCircle, IconAlertTriangle, IconAlignBoxLeftTop, IconAlignCenter, IconAlignLeft, IconAlignRight, IconApi, IconApps, IconAppWindow, IconArchive, IconArchiveOff, IconArrowBackUp, IconArrowBarToDown, IconArrowBarToDownDashed, IconArrowDown, IconArrowLeft, IconArrowMerge, IconArrowRight, IconArrowsDiagonal, IconArrowsSort, IconArrowsSplit2, IconArrowsVertical, IconArrowUp, IconArrowUpRight, IconAt, IconAxisX, IconAxisY, IconBadge2k, IconBaselineDensitySmall, IconBell, IconBellOff, IconBlockquote, IconBold, IconBolt, IconBook, IconBook2, IconBookmark, IconBookmarkPlus, IconBox, IconBoxMultiple, IconBrackets, IconBracketsAngle, IconBracketsContain, IconBrain, IconBrandDaysCounter, IconBrandDocker, IconBrandGithub, IconBrandGoogle, IconBrandGraphql, IconBrandLinkedin, IconBrandNpm, IconBrandOpenai, IconBrandTypescript, IconBrandWhatsapp, IconBrandX, IconBriefcase, IconBroadcast, IconBrowserMaximize, IconBuildingSkyscraper, IconCalendar, IconCalendarDue, IconCalendarEvent, IconCalendarMonth, IconCalendarRepeat, IconCalendarTime, IconCalendarWeek, IconCalendarX, IconCancel, IconCaretLeft, IconCaretRight, IconChartBar, IconChartBarPopular, IconChartCandle, IconChartDots3, IconChartLine, IconChartPie, IconCheck, IconCheckbox, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronRightPipe, IconChevronsRight, IconChevronUp, IconCircle, IconCircleDashed, IconCircleDot, IconCircleOff, IconCirclePlus, IconCircleX, IconClick, IconClock, IconClockHour8, IconClockPlay, IconClockShare, IconCode, IconCodeCircle, IconCoins, IconColorSwatch, IconColumnInsertRight, IconColumns, IconCommand, IconCompass, IconMessageCircle, IconComment, IconCopy, IconCopyPlus, IconCornerDownRight, IconCpu, IconCreativeCommonsSa, IconCreditCard, IconCsv, IconCube, IconCurrencyAfghani, IconCurrencyBahraini, IconCurrencyBaht, IconCurrencyDinar, IconCurrencyDirham, IconCurrencyDollar, IconCurrencyDollarAustralian, IconCurrencyDollarBrunei, IconCurrencyDollarCanadian, IconCurrencyDollarGuyanese, IconCurrencyDollarSingapore, IconCurrencyDong, IconCurrencyDram, IconCurrencyEuro, IconCurrencyFlorin, IconCurrencyForint, IconCurrencyFrank, IconCurrencyGuarani, IconCurrencyHryvnia, IconCurrencyIranianRial, IconCurrencyKip, IconCurrencyKroneCzech, IconCurrencyKroneDanish, IconCurrencyKroneSwedish, IconCurrencyLari, IconCurrencyLeu, IconCurrencyLira, IconCurrencyLyd, IconCurrencyManat, IconCurrencyNaira, IconCurrencyPaanga, IconCurrencyPeso, IconCurrencyPound, IconCurrencyQuetzal, IconCurrencyReal, IconCurrencyRenminbi, IconCurrencyRiyal, IconCurrencyRubel, IconCurrencyRufiyaa, IconCurrencyRupee, IconCurrencyRupeeNepalese, IconCurrencyShekel, IconCurrencySom, IconCurrencyTaka, IconCurrencyTenge, IconCurrencyTugrik, IconCurrencyWon, IconCurrencyYen, IconCurrencyYuan, IconCurrencyZloty, IconDatabase, IconDatabaseExport, IconDecimal, IconDeviceDesktop, IconDeviceFloppy, IconDoorEnter, IconDotsVertical, IconDownload, IconEdit, IconEditCircle, IconEraser, IconExclamationCircle, IconExternalLink, IconEye, IconEyeOff, IconEyeShare, IconEyeX, IconFile, IconFileCheck, IconFileExport, IconFileImport, IconFileInfo, IconFilePencil, IconFiles, IconFileText, IconFileUpload, IconFileZip, IconFilter, IconFilterCog, IconFilterOff, IconFilterPlus, IconFilters, IconFilterX, IconFlag, IconFlask, IconFocusCentered, IconFolder, IconFolderOpen, IconFolderPlus, IconForms, IconFolderRoot, IconFolderSymlink, IconForbid, IconFrame, IconFunction, IconGauge, IconGitBranch, IconGitBranchDeleted, IconGitCommit, IconGizmo, IconGraph, IconGripVertical, IconH1, IconH2, IconH3, IconH4, IconH5, IconH6, IconHandClick, IconHandMove, IconHash, IconHeadphones, IconHeart, IconHeartOff, IconHeartRateMonitor, IconHelp, IconHelpCircle, IconHierarchy, IconHierarchy2, IconHistory, IconHistoryToggle, IconHome, IconHourglassHigh, IconHours24, IconHttpDelete, IconHttpGet, IconHttpPatch, IconHttpPost, IconHttpPut, IconId, IconInbox, IconInfoCircle, IconInfoSquareRounded, IconItalic, IconJetpack, IconJson, IconKey, IconLanguage, IconLayersLinked, IconLayout, IconLayoutDashboard, IconLayoutGrid, IconLayoutGridAdd, IconLayoutKanban, IconLayoutList, IconLayoutNavbar, IconLayoutSidebar, IconLayoutSidebarLeftCollapse, IconLayoutSidebarLeftExpand, IconLayoutSidebarRight, IconLayoutSidebarRightCollapse, IconLayoutSidebarRightExpand, IconLego, IconLetterK, IconLibraryPlus, IconLifebuoy, IconLink, IconLinkOff, IconLinkPlus, IconList, IconListCheck, IconListDetails, IconListNumbers, IconListSearch, IconLoader, IconLock, IconLockOpen, IconLogin2, IconLogout, IconMail, IconMailCog, IconMailX, IconMap, IconMathMax, IconMathMin, IconMathXy, IconMaximize, IconMessage, IconMessageCirclePlus, IconMicrophone, IconMinimize, IconMinus, IconMoneybag, IconMoodPlus, IconMoodSmile, IconMoon, IconMouse2, IconNewSection, IconNorthStar, IconNoteOff, IconNotes, IconNumber, IconNumber123, IconNumber9, IconNumbers, IconPaint, IconPaperclip, IconPassword, IconPencil, IconPencilOff, IconPercentage, IconPerspective, IconPhone, IconPhoto, IconPhotoUp, IconPilcrow, IconPin, IconPinned, IconPinnedOff, IconPlayerPause, IconPlayerPlay, IconPlayerStop, IconPlaylistAdd, IconPlaystationSquare, IconPlug, IconPlus, IconPoint, IconPower, IconPresentation, IconPrinter, IconProgressCheck, IconPrompt, IconPuzzle, IconPuzzle2, IconQuestionMark, IconRadiusBottomLeft, IconRadiusBottomRight, IconRadiusTopLeft, IconRadiusTopRight, IconRefresh, IconRefreshAlert, IconRefreshDot, IconRelationManyToMany, IconRelationOneToMany, IconRelationOneToOne, IconReload, IconReorder, IconRepeat, IconRestore, IconRobot, IconRocket, IconRotate, IconRotate2, IconRowInsertBottom, IconRowInsertTop, IconSearch, IconSend, IconServer, IconServer2, IconSettings, IconSettings2, IconSettingsAutomation, IconSettingsBolt, IconShare, IconShare2, IconShield, IconShoppingBag, IconSitemap, IconSlash, IconSortAscending, IconSortAscendingLetters, IconSortAscendingNumbers, IconSortAZ, IconSortDescending, IconSortDescendingLetters, IconSortDescendingNumbers, IconSortZA, IconSparkles, IconSpy, IconSql, IconSquare, IconSquareCheck, IconSquareKey, IconSquareNumber1, IconSquareNumber2, IconSquareNumber3, IconSquareNumber4, IconSquareNumber5, IconSquareNumber6, IconSquareNumber7, IconSquareNumber8, IconSquareNumber9, IconSquarePlus, IconSquareRoundedCheck, IconSquareRoundedX, IconSquareX, IconStack2, IconStairs, IconStar, IconStatusChange, IconStepInto, IconStrikethrough, IconSum, IconSun, IconSunMoon, IconSwitchHorizontal, IconTable, IconTag, IconTags, IconTarget, IconTargetArrow, IconTerminal, IconTerminal2, IconTestPipe, IconTextCaption, IconTextSize, IconTextWrap, IconTimeDuration30, IconTimeDuration60, IconTimelineEvent, IconTool, IconTransform, IconTrash, IconTrashOff, IconTrashX, IconTrendingDown, IconTrendingUp, IconTypography, IconUnderline, IconUnlink, IconUpload, IconUser, IconUserOff, IconUserCircle, IconUserCog, IconUserPin, IconUserPlus, IconUsers, IconUsersGroup, IconVariable, IconVariablePlus, IconVersions, IconVersionsOff, IconVideo, IconWand, IconWebhook, IconWindow, IconWorld, IconWorldWww, IconX, IconZzz, IconZzzOff, } from './components/TablerIcons';
|
|
49
|
+
export { Icon123, IconAdjustments, IconAlertCircle, IconAlertTriangle, IconAlignBoxLeftTop, IconAlignCenter, IconAlignLeft, IconAlignRight, IconApi, IconApps, IconAppWindow, IconArchive, IconArchiveOff, IconArrowBackUp, IconArrowBarToDown, IconArrowBarToDownDashed, IconArrowDown, IconArrowLeft, IconArrowMerge, IconArrowRight, IconArrowsDiagonal, IconArrowsSort, IconArrowsSplit2, IconArrowsVertical, IconArrowUp, IconArrowUpRight, IconAt, IconAxisX, IconAxisY, IconBadge2k, IconBaselineDensitySmall, IconBell, IconBellOff, IconBlockquote, IconBold, IconBolt, IconBook, IconBook2, IconBookmark, IconBookmarkPlus, IconBox, IconBoxMultiple, IconBrackets, IconBracketsAngle, IconBracketsContain, IconBrain, IconBrandDaysCounter, IconBrandDocker, IconBrandGithub, IconBrandGoogle, IconBrandGraphql, IconBrandLinkedin, IconBrandNpm, IconBrandOpenai, IconBrandTypescript, IconBrandWhatsapp, IconBrandX, IconBriefcase, IconBroadcast, IconBrowserMaximize, IconBuildingSkyscraper, IconCalendar, IconCalendarDue, IconCalendarEvent, IconCalendarMonth, IconCalendarRepeat, IconCalendarTime, IconCalendarWeek, IconCalendarX, IconCancel, IconCaretLeft, IconCaretRight, IconChartBar, IconChartBarPopular, IconChartCandle, IconChartDots3, IconChartLine, IconChartPie, IconCheck, IconCheckbox, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronRightPipe, IconChevronsRight, IconChevronUp, IconCircle, IconCircleCheck, IconCircleDashed, IconCircleDot, IconCircleOff, IconCirclePlus, IconCircleX, IconClick, IconClock, IconClockHour8, IconClockPlay, IconClockShare, IconCode, IconCodeCircle, IconCoins, IconColorSwatch, IconColumnInsertLeft, IconColumnInsertRight, IconColumns, IconCommand, IconCompass, IconMessageCircle, IconComment, IconCopy, IconCopyPlus, IconCornerDownRight, IconCpu, IconCreativeCommonsSa, IconCreditCard, IconCsv, IconCube, IconCurrencyAfghani, IconCurrencyBahraini, IconCurrencyBaht, IconCurrencyDinar, IconCurrencyDirham, IconCurrencyDollar, IconCurrencyDollarAustralian, IconCurrencyDollarBrunei, IconCurrencyDollarCanadian, IconCurrencyDollarGuyanese, IconCurrencyDollarSingapore, IconCurrencyDong, IconCurrencyDram, IconCurrencyEuro, IconCurrencyFlorin, IconCurrencyForint, IconCurrencyFrank, IconCurrencyGuarani, IconCurrencyHryvnia, IconCurrencyIranianRial, IconCurrencyKip, IconCurrencyKroneCzech, IconCurrencyKroneDanish, IconCurrencyKroneSwedish, IconCurrencyLari, IconCurrencyLeu, IconCurrencyLira, IconCurrencyLyd, IconCurrencyManat, IconCurrencyNaira, IconCurrencyPaanga, IconCurrencyPeso, IconCurrencyPound, IconCurrencyQuetzal, IconCurrencyReal, IconCurrencyRenminbi, IconCurrencyRiyal, IconCurrencyRubel, IconCurrencyRufiyaa, IconCurrencyRupee, IconCurrencyRupeeNepalese, IconCurrencyShekel, IconCurrencySom, IconCurrencyTaka, IconCurrencyTenge, IconCurrencyTugrik, IconCurrencyWon, IconCurrencyYen, IconCurrencyYuan, IconCurrencyZloty, IconDatabase, IconDatabaseExport, IconDecimal, IconDeviceDesktop, IconDeviceFloppy, IconDoorEnter, IconDotsVertical, IconDownload, IconEdit, IconEditCircle, IconEraser, IconExclamationCircle, IconExternalLink, IconEye, IconEyeOff, IconEyeShare, IconEyeX, IconFile, IconFileCheck, IconFileExport, IconFileImport, IconFileInfo, IconFilePencil, IconFiles, IconFileText, IconFileUpload, IconFileZip, IconFilter, IconFilterCog, IconFilterOff, IconFilterPlus, IconFilters, IconFilterX, IconFlag, IconFlask, IconFocusCentered, IconFolder, IconFolderOpen, IconFolderPlus, IconForms, IconFolderRoot, IconFolderSymlink, IconForbid, IconFrame, IconFunction, IconGauge, IconGitBranch, IconGitBranchDeleted, IconGitCommit, IconGizmo, IconGraph, IconGripHorizontal, IconGripVertical, IconH1, IconH2, IconH3, IconH4, IconH5, IconH6, IconHandClick, IconHandMove, IconHash, IconHeadphones, IconHeart, IconHeartOff, IconHeartRateMonitor, IconHelp, IconHelpCircle, IconHierarchy, IconHierarchy2, IconHistory, IconHistoryToggle, IconHome, IconHourglassHigh, IconHours24, IconHttpDelete, IconHttpGet, IconHttpPatch, IconHttpPost, IconHttpPut, IconId, IconInbox, IconInfoCircle, IconInfoSquareRounded, IconItalic, IconJetpack, IconJson, IconKey, IconLanguage, IconLayersLinked, IconLayout, IconLayoutDashboard, IconLayoutGrid, IconLayoutGridAdd, IconLayoutKanban, IconLayoutList, IconLayoutNavbar, IconLayoutSidebar, IconLayoutSidebarLeftCollapse, IconLayoutSidebarLeftExpand, IconLayoutSidebarRight, IconLayoutSidebarRightCollapse, IconLayoutSidebarRightExpand, IconLego, IconLetterK, IconLibraryPlus, IconLifebuoy, IconLink, IconLinkOff, IconLinkPlus, IconList, IconListCheck, IconListDetails, IconListNumbers, IconListSearch, IconLoader, IconLock, IconLockOpen, IconLogin2, IconLogout, IconMail, IconMailCog, IconMailX, IconMap, IconMathMax, IconMathMin, IconMathXy, IconMaximize, IconMessage, IconMessageCirclePlus, IconMicrophone, IconMinimize, IconMinus, IconMoneybag, IconMoodPlus, IconMoodSmile, IconMoon, IconMouse2, IconNewSection, IconNorthStar, IconNoteOff, IconNotes, IconNumber, IconNumber123, IconNumber9, IconNumbers, IconPaint, IconPaperclip, IconPassword, IconPencil, IconPencilOff, IconPercentage, IconPerspective, IconPhone, IconPhoto, IconPhotoUp, IconPilcrow, IconPin, IconPinned, IconPinnedOff, IconPlayerPause, IconPlayerPlay, IconPlayerStop, IconPlaylistAdd, IconPlaystationSquare, IconPlug, IconPlus, IconPoint, IconPower, IconPresentation, IconPrinter, IconProgressCheck, IconPrompt, IconPuzzle, IconPuzzle2, IconQuestionMark, IconRadiusBottomLeft, IconRadiusBottomRight, IconRadiusTopLeft, IconRadiusTopRight, IconRefresh, IconRefreshAlert, IconRefreshDot, IconRelationManyToMany, IconRelationOneToMany, IconRelationOneToOne, IconReload, IconReorder, IconRepeat, IconRestore, IconRobot, IconRocket, IconRotate, IconRotate2, IconRowInsertBottom, IconRowInsertTop, IconSearch, IconSend, IconServer, IconServer2, IconSettings, IconSettings2, IconSettingsAutomation, IconSettingsBolt, IconShare, IconShare2, IconShield, IconShoppingBag, IconSitemap, IconSlash, IconSortAscending, IconSortAscendingLetters, IconSortAscendingNumbers, IconSortAZ, IconSortDescending, IconSortDescendingLetters, IconSortDescendingNumbers, IconSortZA, IconSparkles, IconSpy, IconSql, IconSquare, IconSquareCheck, IconSquareKey, IconSquareNumber1, IconSquareNumber2, IconSquareNumber3, IconSquareNumber4, IconSquareNumber5, IconSquareNumber6, IconSquareNumber7, IconSquareNumber8, IconSquareNumber9, IconSquarePlus, IconSquareRoundedCheck, IconSquareRoundedX, IconSquareX, IconStack2, IconStairs, IconStar, IconStatusChange, IconStepInto, IconStrikethrough, IconSum, IconSun, IconSunMoon, IconSwitchHorizontal, IconTable, IconTag, IconTags, IconTarget, IconTargetArrow, IconTerminal, IconTerminal2, IconTestPipe, IconTextCaption, IconTextSize, IconTextWrap, IconTimeDuration30, IconTimeDuration60, IconTimelineEvent, IconTool, IconTransform, IconTrash, IconTrashOff, IconTrashX, IconTrendingDown, IconTrendingUp, IconTypography, IconUnderline, IconUnlink, IconUpload, IconUser, IconUserOff, IconUserCircle, IconUserCog, IconUserPin, IconUserPlus, IconUsers, IconUsersGroup, IconVariable, IconVariablePlus, IconVersions, IconVersionsOff, IconVideo, IconWand, IconWebhook, IconWindow, IconWorld, IconWorldWww, IconX, IconZzz, IconZzzOff, } from './components/TablerIcons';
|
|
50
50
|
export { ThinkingOrbitLoaderIcon } from './components/ThinkingOrbitLoaderIcon';
|
|
51
51
|
export type { TwentyIconDictionaryCategory, TwentyIconDictionaryEntry, } from './constants/TwentyIconDictionary';
|
|
52
52
|
export { TWENTY_ICON_DICTIONARY_FIGMA_URL, TWENTY_ICON_DICTIONARY_CATEGORIES, TWENTY_ICON_DICTIONARY, } from './constants/TwentyIconDictionary';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as p, yt as g } from "./TablerIcons-
|
|
2
|
-
import { r } from "./theme-
|
|
1
|
+
import { t as p, yt as g } from "./TablerIcons-B6BhOlW_.js";
|
|
2
|
+
import { r } from "./theme-CuGIQBsJ.js";
|
|
3
3
|
import { clsx as f } from "clsx";
|
|
4
4
|
import { createContext as u, forwardRef as m, useContext as y, useEffect as w, useState as L } from "react";
|
|
5
5
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
@@ -3767,7 +3767,7 @@ var P1 = (t) => {
|
|
|
3767
3767
|
], g2 = ({ children: t }) => {
|
|
3768
3768
|
const [o, n] = L({});
|
|
3769
3769
|
return w(() => {
|
|
3770
|
-
import("./AllIcons-
|
|
3770
|
+
import("./AllIcons-B9FfQJ70.js").then(({ ALL_ICONS: l }) => {
|
|
3771
3771
|
n(l);
|
|
3772
3772
|
});
|
|
3773
3773
|
}, []), /* @__PURE__ */ e(d.Provider, {
|