twenty-ui 2.52.0 → 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-fCCVOqoJ.js → AllIcons-B9FfQJ70.js} +1 -1
- package/dist/{Dropdown-D3LPyrQI.js → Dropdown-COpO_G9D.js} +51 -50
- package/dist/Dropdown-DaSktKdb.cjs +1 -0
- package/dist/{ListItem-g1B--M70.cjs → ListItem-Br5oDPc-.cjs} +1 -1
- package/dist/{ListItem-DR7Xh2WV.js → ListItem-txrdGXhb.js} +2 -2
- package/dist/{OverflowingTextWithTooltip-Cky5WlIk.js → OverflowingTextWithTooltip-CAQ-5aUp.js} +34 -33
- package/dist/OverflowingTextWithTooltip-CuWHF8_e.cjs +1 -0
- package/dist/{ProgressBar-BO0MkswY.js → ProgressBar-CPm791xc.js} +11 -11
- package/dist/Radio-BdbEXBOH.cjs +1 -0
- package/dist/Radio-D1PpZdqz.js +176 -0
- package/dist/TablerIcons-B6BhOlW_.js +463 -0
- 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.cjs +1 -1
- package/dist/components/input.mjs +2 -2
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.mjs +1 -1
- package/dist/components/navigation.cjs +1 -1
- package/dist/components/navigation.mjs +2 -2
- package/dist/components/settings.cjs +1 -1
- package/dist/components/settings.mjs +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +7 -7
- package/dist/{data-display-B7beM2yK.js → data-display-BhQyFKeZ.js} +1 -1
- package/dist/{data-display-C3Q_8G-N.cjs → data-display-CZEwUZlM.cjs} +1 -1
- package/dist/{data-display-CHKKTmH_.js → data-display-DVEhI2Rt.js} +89 -89
- package/dist/{feedback-DHATp8in.js → feedback-B3Qc_Igx.js} +65 -65
- package/dist/{feedback-3S9S-Xi9.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-C3fz8p3W.js → icon-BlUO7C4w.js} +2 -2
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +491 -490
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +639 -638
- package/dist/input-B8_4jnPT.cjs +1 -0
- package/dist/{input-jkwxjdtI.js → input-Btg-WsT6.js} +121 -120
- package/dist/{input-BLU0vrJM.js → input-BwQqV8Wf.js} +538 -536
- package/dist/input-CEiXoyRz.cjs +1 -0
- package/dist/{layout-4nLOjbJA.js → layout-4p7UQD7l.js} +29 -28
- package/dist/{layout-DEoY3Qd0.cjs → layout-DHW99Ejj.cjs} +1 -1
- package/dist/{navigation-CSSOuhFm.cjs → navigation-CP1g7ng9.cjs} +1 -1
- package/dist/{navigation-iP54gZTV.js → navigation-DQe6WaUF.js} +4 -4
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +1 -1
- package/dist/primitives/feedback.mjs +1 -1
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +4 -4
- package/dist/primitives/navigation.cjs +1 -1
- package/dist/primitives/navigation.mjs +1 -1
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +2 -2
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +7 -7
- package/dist/{settings-BmsLbd-g.js → settings-D3AWPKyH.js} +1 -1
- package/dist/{settings-DGwyi63i.cjs → settings-RYocb2Xg.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{typography-sorTYmvG.js → typography-BisXuVpu.js} +1 -1
- package/dist/{typography-DeFnsH3k.cjs → typography-D7VnzZiR.cjs} +1 -1
- package/dist/utilities/internal/formatCssLength.d.ts +1 -0
- package/package.json +2 -2
- package/dist/Dropdown-h5-yIsU7.cjs +0 -1
- package/dist/OverflowingTextWithTooltip-Dmsmy-9g.cjs +0 -1
- package/dist/Radio-BK47Ig6J.cjs +0 -1
- package/dist/Radio-WuoC3hJ5.js +0 -175
- package/dist/TablerIcons-CqzhliLC.js +0 -462
- package/dist/input-BLUZOGq8.cjs +0 -1
- package/dist/input-DRIIJ4Zd.cjs +0 -1
|
@@ -1,58 +1,58 @@
|
|
|
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,
|
|
4
|
-
import { t as
|
|
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
|
+
import { t as se } from "./doNotTranslate-BSVT8Xyd.js";
|
|
5
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
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:
|
|
23
|
-
"data-shape":
|
|
24
|
-
children: ["+",
|
|
25
|
-
})), F =
|
|
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
|
+
"data-shape": s,
|
|
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,
|
|
48
48
|
actions: Ae,
|
|
49
49
|
prompt: Se
|
|
50
|
-
}, jr = ({ commands: e, actions: r, render: n, ref: a, className:
|
|
50
|
+
}, jr = ({ commands: e, actions: r, render: n, ref: a, className: l, ...s }) => N({
|
|
51
51
|
render: n,
|
|
52
52
|
ref: a,
|
|
53
53
|
props: {
|
|
54
|
-
...
|
|
55
|
-
className: d($.container,
|
|
54
|
+
...s,
|
|
55
|
+
className: d($.container, l),
|
|
56
56
|
children: /* @__PURE__ */ c(y, { children: [/* @__PURE__ */ o("pre", {
|
|
57
57
|
className: $.commands,
|
|
58
58
|
children: /* @__PURE__ */ o("code", { children: e.map((t, i) => /* @__PURE__ */ c("span", { children: [
|
|
@@ -70,21 +70,21 @@ 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
|
-
}, Rr = ({ label: e, children: r, startIcon: n, action: a, labelWidth:
|
|
81
|
+
}, Rr = ({ label: e, children: r, startIcon: n, action: a, labelWidth: l = "7rem", render: s, ref: t, className: i, style: h, ...p }) => {
|
|
82
82
|
const _ = {
|
|
83
|
-
"--details-row-label-width": Q(
|
|
83
|
+
"--details-row-label-width": Q(l) ? `${l}px` : l,
|
|
84
84
|
...h
|
|
85
85
|
};
|
|
86
86
|
return N({
|
|
87
|
-
render:
|
|
87
|
+
render: s,
|
|
88
88
|
ref: t,
|
|
89
89
|
props: {
|
|
90
90
|
...p,
|
|
@@ -115,23 +115,23 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
115
115
|
}, Oe = "_list_1i4lv_1", qe = "_nested_1i4lv_8", U = {
|
|
116
116
|
list: Oe,
|
|
117
117
|
nested: qe
|
|
118
|
-
},
|
|
118
|
+
}, De = ({ depth: e, className: r, children: n }) => /* @__PURE__ */ o("ul", {
|
|
119
119
|
className: d(U.list, e > 0 && U.nested, r),
|
|
120
120
|
children: n
|
|
121
121
|
}), Y = he(void 0), f = () => {
|
|
122
122
|
const e = be(Y);
|
|
123
|
-
if (!m(e)) throw new Error(
|
|
123
|
+
if (!m(e)) throw new Error(se("useJsonTreeContextOrThrow must be used within a JsonTreeContextProvider"));
|
|
124
124
|
return e;
|
|
125
|
-
},
|
|
126
|
-
button:
|
|
125
|
+
}, Ve = "_button_1e3ij_1", Be = "_red_1e3ij_17", Fe = "_chevron_1e3ij_22", j = {
|
|
126
|
+
button: Ve,
|
|
127
127
|
red: Be,
|
|
128
128
|
chevron: Fe
|
|
129
129
|
}, Me = ({ isOpen: e, onClick: r, variant: n }) => {
|
|
130
|
-
const a = X(), { arrowButtonCollapsedLabel:
|
|
130
|
+
const a = X(), { arrowButtonCollapsedLabel: l, arrowButtonExpandedLabel: s } = f(), t = n === "blue" ? T.color.blue : n === "red" ? T.font.color.danger : T.font.color.secondary;
|
|
131
131
|
return /* @__PURE__ */ c("button", {
|
|
132
132
|
className: d(j.button, n === "red" && j.red),
|
|
133
133
|
onClick: r,
|
|
134
|
-
children: [/* @__PURE__ */ o(ce, { children: e ?
|
|
134
|
+
children: [/* @__PURE__ */ o(ce, { children: e ? s : l }), /* @__PURE__ */ o("div", {
|
|
135
135
|
className: j.chevron,
|
|
136
136
|
"data-open": e || void 0,
|
|
137
137
|
children: /* @__PURE__ */ o(re, {
|
|
@@ -140,8 +140,8 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
140
140
|
})
|
|
141
141
|
})]
|
|
142
142
|
});
|
|
143
|
-
}, ze = ({ label: e, value: r, depth: n, keyPath: a, highlighting:
|
|
144
|
-
const { emptyArrayLabel:
|
|
143
|
+
}, ze = ({ label: e, value: r, depth: n, keyPath: a, highlighting: l }) => {
|
|
144
|
+
const { emptyArrayLabel: s } = f();
|
|
145
145
|
return /* @__PURE__ */ o(B, {
|
|
146
146
|
elements: [...r.entries()].map(([t, i]) => ({
|
|
147
147
|
id: t,
|
|
@@ -152,12 +152,12 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
152
152
|
label: e,
|
|
153
153
|
Icon: K,
|
|
154
154
|
depth: n,
|
|
155
|
-
emptyElementsText:
|
|
155
|
+
emptyElementsText: s,
|
|
156
156
|
keyPath: a,
|
|
157
|
-
highlighting:
|
|
157
|
+
highlighting: l
|
|
158
158
|
});
|
|
159
|
-
},
|
|
160
|
-
const { emptyObjectLabel:
|
|
159
|
+
}, He = ({ label: e, value: r, depth: n, keyPath: a, highlighting: l }) => {
|
|
160
|
+
const { emptyObjectLabel: s } = f();
|
|
161
161
|
return /* @__PURE__ */ o(B, {
|
|
162
162
|
elements: Object.entries(r).map(([t, i]) => ({
|
|
163
163
|
id: t,
|
|
@@ -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
|
-
emptyElementsText:
|
|
171
|
+
emptyElementsText: s,
|
|
172
172
|
keyPath: a,
|
|
173
|
-
highlighting:
|
|
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 }) => {
|
|
@@ -191,16 +191,16 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
191
191
|
red: Qe,
|
|
192
192
|
button: Ye
|
|
193
193
|
}, Ze = ({ valueAsString: e, highlighting: r }) => {
|
|
194
|
-
const { onNodeValueClick: n } = f(), a = m(n),
|
|
194
|
+
const { onNodeValueClick: n } = f(), a = m(n), l = () => {
|
|
195
195
|
n?.(e);
|
|
196
|
-
},
|
|
196
|
+
}, s = d(J.text, r === "blue" && J.blue, r === "red" && J.red);
|
|
197
197
|
return a ? /* @__PURE__ */ o("button", {
|
|
198
|
-
className: d(
|
|
198
|
+
className: d(s, J.button),
|
|
199
199
|
type: "button",
|
|
200
|
-
onClick:
|
|
200
|
+
onClick: l,
|
|
201
201
|
children: e
|
|
202
202
|
}) : /* @__PURE__ */ o("span", {
|
|
203
|
-
className:
|
|
203
|
+
className: s,
|
|
204
204
|
children: e
|
|
205
205
|
});
|
|
206
206
|
}, We = "_listItem_1i7if_1", er = { listItem: We }, w = (e) => /* @__PURE__ */ c("li", {
|
|
@@ -214,16 +214,16 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
214
214
|
highlighting: e.highlighting
|
|
215
215
|
})]
|
|
216
216
|
}), rr = (e) => ue(e), W = ({ label: e, value: r, depth: n, keyPath: a }) => {
|
|
217
|
-
const { getNodeHighlighting:
|
|
217
|
+
const { getNodeHighlighting: l, emptyStringLabel: s } = f(), t = l?.(a);
|
|
218
218
|
return m(r) ? ve(r) ? /* @__PURE__ */ o(w, {
|
|
219
219
|
label: e,
|
|
220
|
-
valueAsString:
|
|
221
|
-
Icon:
|
|
220
|
+
valueAsString: V(r) ? r : s,
|
|
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,32 +245,32 @@ 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
|
-
}, or = "_container_d0cqx_1", nr = "_labelContainer_d0cqx_6", ar = "_elementsCount_d0cqx_12", tr = "_elementsCountRed_d0cqx_16",
|
|
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 = {
|
|
252
252
|
container: or,
|
|
253
253
|
labelContainer: nr,
|
|
254
254
|
elementsCount: ar,
|
|
255
255
|
elementsCountRed: tr,
|
|
256
|
-
panel:
|
|
257
|
-
list:
|
|
256
|
+
panel: lr,
|
|
257
|
+
list: sr,
|
|
258
258
|
nested: ir
|
|
259
|
-
}, B = ({ label: e, Icon: r, elements: n, renderElementsCount: a, emptyElementsText:
|
|
259
|
+
}, B = ({ label: e, Icon: r, elements: n, renderElementsCount: a, emptyElementsText: l, depth: s, keyPath: t, highlighting: i }) => {
|
|
260
260
|
const { shouldExpandNodeInitially: h } = f(), p = !m(e), [_, u] = Ne(h({
|
|
261
261
|
keyPath: t,
|
|
262
|
-
depth:
|
|
262
|
+
depth: s
|
|
263
263
|
})), A = /* @__PURE__ */ o("ul", {
|
|
264
|
-
className: d(v.list,
|
|
264
|
+
className: d(v.list, s > 0 && v.nested),
|
|
265
265
|
children: n.length === 0 ? /* @__PURE__ */ o(w, {
|
|
266
|
-
valueAsString:
|
|
266
|
+
valueAsString: l,
|
|
267
267
|
highlighting: void 0
|
|
268
|
-
}) : n.map(({ id: C, label:
|
|
269
|
-
const k =
|
|
268
|
+
}) : n.map(({ id: C, label: x, value: S }) => {
|
|
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
|
-
depth:
|
|
273
|
+
depth: s + 1,
|
|
274
274
|
keyPath: k
|
|
275
275
|
}, C);
|
|
276
276
|
})
|
|
@@ -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
|
})]
|
|
@@ -315,7 +315,7 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
315
315
|
...a,
|
|
316
316
|
shouldExpandNodeInitially: n
|
|
317
317
|
},
|
|
318
|
-
children: /* @__PURE__ */ o(
|
|
318
|
+
children: /* @__PURE__ */ o(De, {
|
|
319
319
|
depth: 0,
|
|
320
320
|
children: m(r) ? /* @__PURE__ */ o(B, {
|
|
321
321
|
elements: r,
|
|
@@ -333,8 +333,8 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
333
333
|
row: _r,
|
|
334
334
|
label: ur,
|
|
335
335
|
icon: mr
|
|
336
|
-
}, qr = ({ children: e, startIcon: r, value: n, progress: a, progressColor:
|
|
337
|
-
const _ = Ce(), u =
|
|
336
|
+
}, qr = ({ children: e, startIcon: r, value: n, progress: a, progressColor: l, progressValueText: s, render: t, ref: i, className: h, ...p }) => {
|
|
337
|
+
const _ = Ce(), u = s ?? n;
|
|
338
338
|
return N({
|
|
339
339
|
render: t,
|
|
340
340
|
ref: i,
|
|
@@ -354,9 +354,9 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
354
354
|
}), m(a) ? /* @__PURE__ */ o(de, {
|
|
355
355
|
value: a,
|
|
356
356
|
size: "sm",
|
|
357
|
-
barColor:
|
|
357
|
+
barColor: l,
|
|
358
358
|
"aria-labelledby": _,
|
|
359
|
-
...
|
|
359
|
+
...V(u) ? { "aria-valuetext": u } : {},
|
|
360
360
|
children: n
|
|
361
361
|
}) : /* @__PURE__ */ o("span", { children: n })] })
|
|
362
362
|
}
|
|
@@ -364,11 +364,11 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
364
364
|
}, vr = "_root_7l8sk_1", hr = "_stackedIcon_7l8sk_14", G = {
|
|
365
365
|
root: vr,
|
|
366
366
|
stackedIcon: hr
|
|
367
|
-
},
|
|
367
|
+
}, Dr = ({ icon: e, stackedIcon: r, className: n, render: a, ref: l, ...s }) => N({
|
|
368
368
|
render: a,
|
|
369
|
-
ref:
|
|
369
|
+
ref: l,
|
|
370
370
|
props: {
|
|
371
|
-
...
|
|
371
|
+
...s,
|
|
372
372
|
className: d(G.root, n),
|
|
373
373
|
children: /* @__PURE__ */ c(y, { children: [/* @__PURE__ */ o("span", {
|
|
374
374
|
"aria-hidden": "true",
|
|
@@ -383,18 +383,18 @@ var fe = "_container_5cu4g_1", ge = "_itemContainer_5cu4g_6", Ie = "_overflowCou
|
|
|
383
383
|
background: 4,
|
|
384
384
|
border: 6,
|
|
385
385
|
icon: 10
|
|
386
|
-
},
|
|
386
|
+
}, D = (e, r) => T.color[`${e}${r}`] ?? T.tag.text[e], pr = (e) => {
|
|
387
387
|
const r = _e(e);
|
|
388
388
|
return {
|
|
389
|
-
backgroundColor:
|
|
390
|
-
iconColor:
|
|
391
|
-
borderColor:
|
|
389
|
+
backgroundColor: D(r, q.background),
|
|
390
|
+
iconColor: D(r, q.icon),
|
|
391
|
+
borderColor: D(r, q.border)
|
|
392
392
|
};
|
|
393
|
-
}, br = "_root_9ntdy_1", Cr = { root: br },
|
|
393
|
+
}, br = "_root_9ntdy_1", Cr = { root: br }, Vr = ({ icon: e, color: r = ie, className: n, style: a, render: l, ref: s, ...t }) => {
|
|
394
394
|
const i = pr(r);
|
|
395
395
|
return N({
|
|
396
|
-
render:
|
|
397
|
-
ref:
|
|
396
|
+
render: l,
|
|
397
|
+
ref: s,
|
|
398
398
|
props: {
|
|
399
399
|
...t,
|
|
400
400
|
className: d(Cr.root, n),
|
|
@@ -412,11 +412,11 @@ 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,
|
|
419
|
-
|
|
419
|
+
Dr as r,
|
|
420
420
|
jr as s,
|
|
421
|
-
|
|
421
|
+
Vr as t
|
|
422
422
|
};
|