twenty-ui 2.62.0 → 2.63.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/{Dropdown-C63OU_S6.js → Dropdown-JYMUj9qB.js} +35 -35
- package/dist/{ListItem-CLyf0SKI.js → ListItem-CgWvufdY.js} +1 -1
- package/dist/{ProgressBar-DLSx-Vbf.js → ProgressBar-48Fl4ACY.js} +5 -5
- package/dist/{Radio-DYFBIqGX.js → Radio-9E_TdAKs.js} +1 -1
- package/dist/{TablerIcons-C9XA-vxC.js → TablerIcons-BV-cFVcj.js} +135 -134
- package/dist/components/data-display.mjs +1 -1
- package/dist/components/feedback.mjs +1 -1
- package/dist/components/input.mjs +2 -2
- package/dist/components/navigation.mjs +2 -2
- package/dist/components/settings.mjs +1 -1
- package/dist/components.mjs +6 -6
- package/dist/{data-display-DYTRUIPj.js → data-display-BvJc941y.js} +38 -38
- package/dist/data-display-CnFlqxE4.js +253 -0
- package/dist/data-display-DOt0HHhj.cjs +1 -0
- package/dist/{feedback-DAy-YtWF.js → feedback-B3nntZww.js} +63 -63
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/index.d.ts +1 -1
- package/dist/icon/provider.mjs +1 -1
- package/dist/{icon-BNFRYgWo.js → icon-Bpig2k9u.js} +1 -1
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +478 -477
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +622 -621
- package/dist/{input-DlnFdlyP.js → input-D2w6b3g-.js} +22 -22
- package/dist/{input-DpOc15uJ.cjs → input-Dzq6SVPC.cjs} +1 -1
- package/dist/{input-DbqZOk3B.js → input-LQh9SI5w.js} +10 -10
- package/dist/{navigation-BYAaQcFv.js → navigation-B-Jd5YLs.js} +3 -3
- package/dist/primitives/data-display/Chip/Chip.d.ts +1 -1
- package/dist/primitives/data-display/Chip/types/ChipProps.d.ts +1 -0
- 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/types/SelectOption.d.ts +1 -0
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +2 -2
- package/dist/primitives/navigation.mjs +1 -1
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +5 -5
- package/dist/{settings-DO8iTxTf.js → settings-CQj4y3HO.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/data-display-1knPFjFb.js +0 -252
- package/dist/data-display-DSsYNdOB.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as a } from "./isDefined-fMi6eQ4r.js";
|
|
2
2
|
import { t as We } from "./isRenderableSlot-DT_depzM.js";
|
|
3
|
-
import { At as ut, Et as pt,
|
|
3
|
+
import { At as ut, Et as pt, Nc as ft, jt as mt } from "./TablerIcons-BV-cFVcj.js";
|
|
4
4
|
import { t as ne } from "./doNotTranslate-BSVT8Xyd.js";
|
|
5
5
|
import { t as Z } from "./mergeClassNames-ClFMR1v0.js";
|
|
6
6
|
import { t as gt } from "./preventDismissingClickActivation-BQFMKRey.js";
|
|
@@ -8,21 +8,21 @@ import { r as ze, t as wt } from "./Button-BVp1tP3u.js";
|
|
|
8
8
|
import { t as vt } from "./Tooltip-C60MawQS.js";
|
|
9
9
|
import { r as He } from "./OverflowingTextWithTooltip-aPLt9O1-.js";
|
|
10
10
|
import { t as he } from "./ListItem.module-BV1vQ5hr.js";
|
|
11
|
-
import { t as Ee } from "./ListItem-
|
|
11
|
+
import { t as Ee } from "./ListItem-CgWvufdY.js";
|
|
12
12
|
import { t as oe } from "./Popover-5bTsqA1R.js";
|
|
13
13
|
import { t as ht } from "./Input-B9glruH9.js";
|
|
14
14
|
import { isBoolean as bt, isFunction as yt, isNonEmptyString as ye, isPositiveInteger as $e, isUndefined as be } from "@sniptt/guards";
|
|
15
15
|
import { clsx as U } from "clsx";
|
|
16
16
|
import { Fragment as Tt, jsx as u, jsxs as ee } from "react/jsx-runtime";
|
|
17
17
|
import { useRender as ue } from "@base-ui/react/use-render";
|
|
18
|
-
import { Fragment as Dt, createContext as Se, isValidElement as It, useCallback as J, useContext as pe, useEffect as _t, useId as Te, useLayoutEffect as fe, useRef as Ce, useState as
|
|
18
|
+
import { Fragment as Dt, createContext as Se, isValidElement as It, useCallback as J, useContext as pe, useEffect as _t, useId as Te, useLayoutEffect as fe, useRef as Ce, useState as M } from "react";
|
|
19
19
|
import { Button as Ye } from "@base-ui/react/button";
|
|
20
20
|
import { useMergedRefs as me } from "@base-ui/utils/useMergedRefs";
|
|
21
21
|
import { Popover as je } from "@base-ui/react/popover";
|
|
22
22
|
import { areArraysEqual as At } from "@base-ui/utils/areArraysEqual";
|
|
23
23
|
import { useDirection as Xe } from "@base-ui/react/direction-provider";
|
|
24
24
|
import { Menu as Pe } from "@base-ui/react/menu";
|
|
25
|
-
var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wvat8_17", Pt = "_selectionGroup_wvat8_24", Ot = "_group_wvat8_28", Rt = "_groupLabel_wvat8_34", kt = "_separator_wvat8_43", Nt = "_section_wvat8_50", xt = "_back_wvat8_84", Ft = "_backIcon_wvat8_96", Lt = "_searchContainer_wvat8_100",
|
|
25
|
+
var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wvat8_17", Pt = "_selectionGroup_wvat8_24", Ot = "_group_wvat8_28", Rt = "_groupLabel_wvat8_34", kt = "_separator_wvat8_43", Nt = "_section_wvat8_50", xt = "_back_wvat8_84", Ft = "_backIcon_wvat8_96", Lt = "_searchContainer_wvat8_100", Bt = "_search_wvat8_100", Mt = "_status_wvat8_116", Gt = "_header_wvat8_120", Kt = "_title_wvat8_133", qt = "_itemWithActions_wvat8_142", Ut = "_itemWithActionsPrimary_wvat8_148", Vt = "_itemActions_wvat8_163", Wt = "_itemDecoration_wvat8_167", O = {
|
|
26
26
|
content: Et,
|
|
27
27
|
inactivePositioner: St,
|
|
28
28
|
page: Ct,
|
|
@@ -34,8 +34,8 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
34
34
|
back: xt,
|
|
35
35
|
backIcon: Ft,
|
|
36
36
|
searchContainer: Lt,
|
|
37
|
-
search:
|
|
38
|
-
status:
|
|
37
|
+
search: Bt,
|
|
38
|
+
status: Mt,
|
|
39
39
|
header: Gt,
|
|
40
40
|
title: Kt,
|
|
41
41
|
itemWithActions: qt,
|
|
@@ -108,7 +108,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
108
108
|
const { type: S, closeTree: v, goToPage: b } = F(), k = Te(), N = Re({
|
|
109
109
|
id: h,
|
|
110
110
|
render: w
|
|
111
|
-
}), L = N ?? k,
|
|
111
|
+
}), L = N ?? k, B = Fe({
|
|
112
112
|
id: L,
|
|
113
113
|
disabled: T
|
|
114
114
|
}), C = We(n), P = d ?? a(R), x = /* @__PURE__ */ u(Ye, {
|
|
@@ -117,7 +117,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
117
117
|
disabled: T,
|
|
118
118
|
nativeButton: g,
|
|
119
119
|
role: m.role ?? (S === "menu" ? "menuitem" : void 0),
|
|
120
|
-
tabIndex:
|
|
120
|
+
tabIndex: B.tabIndex,
|
|
121
121
|
"data-dropdown-item": "",
|
|
122
122
|
"data-dropdown-page": R,
|
|
123
123
|
onClick: (I) => {
|
|
@@ -402,7 +402,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
402
402
|
if (!s && e === "Home") return t[0];
|
|
403
403
|
if (!s && e === "End") return t[d];
|
|
404
404
|
}, ur = 500, pr = 229, fr = () => {
|
|
405
|
-
const { type: e, isSubmenu: t, setOpen: r, closeTree: o, tabForwardOutOfTree: s } = F(), c = Xe(), [i, d] =
|
|
405
|
+
const { type: e, isSubmenu: t, setOpen: r, closeTree: o, tabForwardOutOfTree: s } = F(), c = Xe(), [i, d] = M({
|
|
406
406
|
text: "",
|
|
407
407
|
timestamp: 0
|
|
408
408
|
});
|
|
@@ -481,16 +481,16 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
481
481
|
return;
|
|
482
482
|
}
|
|
483
483
|
if (w || n.key.length !== 1 || n.key === " " || n.altKey || n.ctrlKey || n.metaKey) return;
|
|
484
|
-
const
|
|
484
|
+
const B = Date.now(), C = B - i.timestamp > ur ? n.key : i.text + n.key;
|
|
485
485
|
d({
|
|
486
486
|
text: C,
|
|
487
|
-
timestamp:
|
|
487
|
+
timestamp: B
|
|
488
488
|
});
|
|
489
489
|
const P = ([...C].every((I) => I === C[0]) ? n.key : C).toLocaleLowerCase(), x = [...b.slice(N + 1), ...b.slice(0, N + 1)].find((I) => ke(I).trim().toLocaleLowerCase().startsWith(P));
|
|
490
490
|
a(x) && (n.preventDefault(), x.focus());
|
|
491
491
|
};
|
|
492
492
|
}, mr = ({ side: e, align: t = "start", sideOffset: r = 0, alignOffset: o, anchor: s, collisionPadding: c, container: i, keepMounted: d, width: n = 200, className: l, style: p, render: w, children: T, initialFocus: g, finalFocus: f, onKeyDown: _, onFocus: R, onInput: h, onClick: m, onMouseDown: S, onPointerDown: v, "aria-label": b, "aria-labelledby": k, ref: N, ...L }) => {
|
|
493
|
-
const
|
|
493
|
+
const B = F(), { type: C, isPageActive: P, sessionId: x, isSubmenu: I, rowFocus: A, initialFocusEdge: G, focusOnOpen: K, triggerId: H, titleId: te, setSearchTargetId: Q } = B, $ = Ce(null), [se, Y] = M(null), ie = me($, N, Y), z = fr(), re = a(b) ? void 0 : te ?? H;
|
|
494
494
|
return /* @__PURE__ */ ee(Tt, { children: [
|
|
495
495
|
/* @__PURE__ */ u(oe.Portal, {
|
|
496
496
|
container: i,
|
|
@@ -553,7 +553,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
553
553
|
},
|
|
554
554
|
children: /* @__PURE__ */ u(de.Provider, {
|
|
555
555
|
value: {
|
|
556
|
-
...
|
|
556
|
+
...B,
|
|
557
557
|
isInsideContent: !0
|
|
558
558
|
},
|
|
559
559
|
children: /* @__PURE__ */ u(Dt, { children: T }, x)
|
|
@@ -594,7 +594,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
594
594
|
state: r,
|
|
595
595
|
defaultTagName: "button",
|
|
596
596
|
props: o
|
|
597
|
-
}),
|
|
597
|
+
}), Be = Se(void 0), br = ({ event: e, trigger: t }) => {
|
|
598
598
|
let r = !1;
|
|
599
599
|
return {
|
|
600
600
|
reason: "item-press",
|
|
@@ -608,7 +608,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
608
608
|
}
|
|
609
609
|
};
|
|
610
610
|
}, yr = ({ type: e, hasSelectionState: t, hasSelectionOwner: r, multiple: o, role: s }) => e === "menu" && t ? o ? "menuitemcheckbox" : "menuitemradio" : e === "menu" ? "menuitem" : e === "picker" && r ? "option" : s, Tr = ({ selection: e, value: t, standaloneSelected: r }) => !a(e) || !a(t) ? r : e.multiple ? e.value.includes(t) : e.value === t, Dr = ({ value: e, selected: t, indicator: r, onSelect: o, closeOnSelect: s, color: c, startIcon: i, endIcon: d, description: n, descriptionPlacement: l, shortcut: p, shortcutJoinLabel: w, hasSubmenu: T, actions: g, actionsVisibility: f, children: _, render: R, disabled: h = !1, nativeButton: m = !a(R), onClick: S, id: v, ...b }) => {
|
|
611
|
-
const { type: k, multiple: N, closeTree: L, searchTargetId:
|
|
611
|
+
const { type: k, multiple: N, closeTree: L, searchTargetId: B } = F(), C = pe(Be), P = a(C) && a(e), x = P ? C.multiple : N, I = Tr({
|
|
612
612
|
selection: C,
|
|
613
613
|
value: e,
|
|
614
614
|
standaloneSelected: t
|
|
@@ -624,7 +624,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
624
624
|
}) ?? se, ie = Fe({
|
|
625
625
|
id: Y,
|
|
626
626
|
disabled: h
|
|
627
|
-
}), z = We(g), re =
|
|
627
|
+
}), z = We(g), re = B === Y, y = r ?? (K ? $ : "none"), V = z && y === "check", we = /* @__PURE__ */ u(Ye, {
|
|
628
628
|
...b,
|
|
629
629
|
id: Y,
|
|
630
630
|
disabled: h,
|
|
@@ -710,7 +710,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
710
710
|
o
|
|
711
711
|
]), null;
|
|
712
712
|
}, _r = ({ id: e, type: t, children: r }) => {
|
|
713
|
-
const o = F(), { registerTitle: s } = o, [c, i] =
|
|
713
|
+
const o = F(), { registerTitle: s } = o, [c, i] = M(), d = o.isPageActive && o.pageId === e, n = d && o.open, l = J((p) => d ? s(p) : () => {
|
|
714
714
|
}, [d, s]);
|
|
715
715
|
return n && c !== e && i(e), c !== e && !n ? null : /* @__PURE__ */ ee(de.Provider, {
|
|
716
716
|
value: {
|
|
@@ -749,10 +749,10 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
749
749
|
}
|
|
750
750
|
}), o;
|
|
751
751
|
}, Ve = () => {
|
|
752
|
-
const [e, t] =
|
|
752
|
+
const [e, t] = M();
|
|
753
753
|
return [e, J((r) => (t(r), () => t((o) => o === r ? void 0 : o)), [])];
|
|
754
754
|
}, Or = () => {
|
|
755
|
-
const [e, t] =
|
|
755
|
+
const [e, t] = M(() => /* @__PURE__ */ new Map());
|
|
756
756
|
return {
|
|
757
757
|
selections: e,
|
|
758
758
|
initializeSelection: J(({ id: r, state: o }) => {
|
|
@@ -765,12 +765,12 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
765
765
|
}, at = ({ children: e, type: t, open: r, defaultOpen: o = !1, onOpenChange: s, onEscapeKeyDown: c, onInteractOutside: i, multiple: d = !1, defaultPage: n = "root", isSubmenu: l = !1 }) => {
|
|
766
766
|
const p = pe(de), w = Or(), { selections: T, initializeSelection: g, updateSelection: f } = l && a(p) ? p : w, _ = Ce(0), R = J(() => (_.current += 1, () => {
|
|
767
767
|
_.current -= 1;
|
|
768
|
-
}), []), [h, m] =
|
|
768
|
+
}), []), [h, m] = M(o), S = !a(p) || p.isPageActive && (!p.isInsideContent || p.open), v = S && (r ?? h), [b, k] = M(v), [N, L] = M(0), [{ history: B, focusRequest: C }, P] = M({ history: [{ id: n }] }), x = J((D) => {
|
|
769
769
|
P((E) => E.focusRequest === D ? E : {
|
|
770
770
|
...E,
|
|
771
771
|
focusRequest: D
|
|
772
772
|
});
|
|
773
|
-
}, []), [I, A] =
|
|
773
|
+
}, []), [I, A] = M(), [G, K] = M(), [H, te] = M(), Q = B[B.length - 1], $ = Q?.id, [se, Y] = M("first"), [ie, z] = M(!0), [re, y] = M(), [V, we] = Ve(), [q, j] = Ve(), Ge = v && !b, Ke = !v && b;
|
|
774
774
|
!S && h && !a(r) && m(!1), (Ge || Ke) && k(v), Ge && (L(N + 1), P({ history: [{ id: n }] }), A(void 0), te(void 0), K(void 0)), Ke && (Y("first"), z(!0), y(void 0));
|
|
775
775
|
const ve = (D) => {
|
|
776
776
|
a(r) || m(D), s?.(D);
|
|
@@ -875,7 +875,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
875
875
|
pageId: $,
|
|
876
876
|
pageFocusRequest: C,
|
|
877
877
|
setPageFocusRequest: x,
|
|
878
|
-
canGoBack:
|
|
878
|
+
canGoBack: B.length > 1,
|
|
879
879
|
initialFocusEdge: se,
|
|
880
880
|
setInitialFocusEdge: Y,
|
|
881
881
|
focusOnOpen: ie,
|
|
@@ -897,7 +897,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
897
897
|
children: [/* @__PURE__ */ u(Ar, {
|
|
898
898
|
open: v,
|
|
899
899
|
registerOpenNestedRoot: l ? void 0 : p?.registerOpenNestedRoot
|
|
900
|
-
}), /* @__PURE__ */ u(
|
|
900
|
+
}), /* @__PURE__ */ u(Be.Provider, {
|
|
901
901
|
value: void 0,
|
|
902
902
|
children: e
|
|
903
903
|
})]
|
|
@@ -968,7 +968,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
968
968
|
e,
|
|
969
969
|
t,
|
|
970
970
|
r
|
|
971
|
-
]), null),
|
|
971
|
+
]), null), Br = ({ props: e, storedState: t }) => e.multiple ? {
|
|
972
972
|
multiple: !0,
|
|
973
973
|
value: e.value ?? (t?.multiple ? t.value : e.defaultValue ?? [])
|
|
974
974
|
} : be(e.value) ? {
|
|
@@ -977,8 +977,8 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
977
977
|
} : {
|
|
978
978
|
multiple: !1,
|
|
979
979
|
value: e.value
|
|
980
|
-
},
|
|
981
|
-
const { id: t, multiple: r = !1, value: o, defaultValue: s, onValueChange: c, closeOnSelect: i = !r, render: d, ref: n, className: l, children: p, ...w } = e, { type: T, selections: g, initializeSelection: f, updateSelection: _ } = F(), R = Te(), h = t ?? R, m =
|
|
980
|
+
}, Mr = (e) => {
|
|
981
|
+
const { id: t, multiple: r = !1, value: o, defaultValue: s, onValueChange: c, closeOnSelect: i = !r, render: d, ref: n, className: l, children: p, ...w } = e, { type: T, selections: g, initializeSelection: f, updateSelection: _ } = F(), R = Te(), h = t ?? R, m = Br({
|
|
982
982
|
props: e,
|
|
983
983
|
storedState: g.get(h)
|
|
984
984
|
}), S = ({ value: b, eventDetails: k }) => {
|
|
@@ -1015,7 +1015,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
1015
1015
|
children: p
|
|
1016
1016
|
}
|
|
1017
1017
|
});
|
|
1018
|
-
return /* @__PURE__ */ ee(
|
|
1018
|
+
return /* @__PURE__ */ ee(Be.Provider, {
|
|
1019
1019
|
value: {
|
|
1020
1020
|
...m,
|
|
1021
1021
|
closeOnSelect: i,
|
|
@@ -1036,18 +1036,18 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
1036
1036
|
...t,
|
|
1037
1037
|
type: e,
|
|
1038
1038
|
isSubmenu: !0
|
|
1039
|
-
}),
|
|
1039
|
+
}), Me = (e) => J((t) => {
|
|
1040
1040
|
if (!(!a(t) || !ye(t.id)))
|
|
1041
1041
|
return e(t.id);
|
|
1042
1042
|
}, [e]), qr = ({ color: e, startIcon: t, endIcon: r, description: o, descriptionPlacement: s, shortcut: c, shortcutJoinLabel: i, hasSubmenu: d = !0, children: n, render: l, disabled: p = !1, nativeButton: w = !a(l), openOnHover: T = !0, onKeyDown: g, id: f, ref: _, ...R }) => {
|
|
1043
|
-
const h = Xe(), { type: m, rootType: S, parentType: v, open: b, setOpen: k, setFocusOnOpen: N, registerTrigger: L } = F(),
|
|
1043
|
+
const h = Xe(), { type: m, rootType: S, parentType: v, open: b, setOpen: k, setFocusOnOpen: N, registerTrigger: L } = F(), B = b ? m : S, C = Te(), P = Re({
|
|
1044
1044
|
id: f,
|
|
1045
1045
|
render: l
|
|
1046
1046
|
}) ?? C, x = Fe({
|
|
1047
1047
|
id: P,
|
|
1048
1048
|
disabled: p,
|
|
1049
1049
|
isSubmenuTrigger: !0
|
|
1050
|
-
}), I = me(_,
|
|
1050
|
+
}), I = me(_, Me(L));
|
|
1051
1051
|
return /* @__PURE__ */ u(oe.Trigger, {
|
|
1052
1052
|
...R,
|
|
1053
1053
|
ref: I,
|
|
@@ -1056,7 +1056,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
1056
1056
|
nativeButton: w,
|
|
1057
1057
|
openOnHover: T,
|
|
1058
1058
|
role: v === "menu" ? "menuitem" : void 0,
|
|
1059
|
-
"aria-haspopup":
|
|
1059
|
+
"aria-haspopup": B === "menu" ? "menu" : "dialog",
|
|
1060
1060
|
tabIndex: x.tabIndex,
|
|
1061
1061
|
"data-dropdown-item": "",
|
|
1062
1062
|
onKeyDown: (A) => {
|
|
@@ -1100,7 +1100,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
1100
1100
|
}
|
|
1101
1101
|
});
|
|
1102
1102
|
}, Ur = ({ className: e, render: t, ref: r, ...o }) => {
|
|
1103
|
-
const { registerTitle: s } = F(), c = me(r,
|
|
1103
|
+
const { registerTitle: s } = F(), c = me(r, Me(s));
|
|
1104
1104
|
return /* @__PURE__ */ u(je.Title, {
|
|
1105
1105
|
...o,
|
|
1106
1106
|
ref: c,
|
|
@@ -1115,7 +1115,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
1115
1115
|
shiftKey: !1
|
|
1116
1116
|
})?.target;
|
|
1117
1117
|
}, Wr = ({ onKeyDown: e, onClick: t, ref: r, ...o }) => {
|
|
1118
|
-
const { type: s, rootType: c, open: i, setOpen: d, setInitialFocusEdge: n, setFocusOnOpen: l, registerTrigger: p } = F(), w = i ? s : c, T = me(r,
|
|
1118
|
+
const { type: s, rootType: c, open: i, setOpen: d, setInitialFocusEdge: n, setFocusOnOpen: l, registerTrigger: p } = F(), w = i ? s : c, T = me(r, Me(p));
|
|
1119
1119
|
return /* @__PURE__ */ u(oe.Trigger, {
|
|
1120
1120
|
...o,
|
|
1121
1121
|
ref: T,
|
|
@@ -1139,7 +1139,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
1139
1139
|
Content: mr,
|
|
1140
1140
|
ActionItem: Ze,
|
|
1141
1141
|
OptionItem: Dr,
|
|
1142
|
-
SelectionGroup:
|
|
1142
|
+
SelectionGroup: Mr,
|
|
1143
1143
|
Search: kr,
|
|
1144
1144
|
Header: wr,
|
|
1145
1145
|
Title: Ur,
|
|
@@ -1156,7 +1156,7 @@ var Et = "_content_wvat8_1", St = "_inactivePositioner_wvat8_13", Ct = "_page_wv
|
|
|
1156
1156
|
export {
|
|
1157
1157
|
er as a,
|
|
1158
1158
|
rr as i,
|
|
1159
|
-
|
|
1159
|
+
Br as n,
|
|
1160
1160
|
Jt as o,
|
|
1161
1161
|
Lr as r,
|
|
1162
1162
|
F as s,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as q } from "./isDefined-fMi6eQ4r.js";
|
|
2
2
|
import { t as n } from "./isRenderableSlot-DT_depzM.js";
|
|
3
|
-
import { Et as k, jt as y } from "./TablerIcons-
|
|
3
|
+
import { Et as k, jt as y } from "./TablerIcons-BV-cFVcj.js";
|
|
4
4
|
import { t as T } from "./Shortcut-DW3f3shu.js";
|
|
5
5
|
import { t as E } from "./OverflowingTextWithTooltip-aPLt9O1-.js";
|
|
6
6
|
import { n as t, t as e } from "./ListItem.module-BV1vQ5hr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as u } from "./isDefined-fMi6eQ4r.js";
|
|
2
2
|
import { t as b } from "./isRenderableSlot-DT_depzM.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Nc as B } from "./TablerIcons-BV-cFVcj.js";
|
|
4
4
|
import { t as N } from "./doNotTranslate-BSVT8Xyd.js";
|
|
5
5
|
import { t as j } from "./mergeClassNames-ClFMR1v0.js";
|
|
6
6
|
import { n as g, t as y } from "./getProgressIndicatorPercentage-ejfaM6XU.js";
|
|
@@ -59,11 +59,11 @@ var w = {
|
|
|
59
59
|
})
|
|
60
60
|
] })
|
|
61
61
|
}
|
|
62
|
-
}), Z = Object.assign(O, { Action: x }), R = "_bar_16agp_1",
|
|
62
|
+
}), Z = Object.assign(O, { Action: x }), R = "_bar_16agp_1", K = "_track_16agp_20", L = "_indicator_16agp_26", M = "_progressBarIndeterminate_16agp_1", p = {
|
|
63
63
|
bar: R,
|
|
64
|
-
track:
|
|
65
|
-
indicator:
|
|
66
|
-
progressBarIndeterminate:
|
|
64
|
+
track: K,
|
|
65
|
+
indicator: L,
|
|
66
|
+
progressBarIndeterminate: M
|
|
67
67
|
}, $ = ({ size: a = "md", className: l, style: n, children: i, barColor: o, backgroundColor: t = "none", withBorderRadius: c = !1, withMinimumFillWidth: d = !0, ..._ }) => /* @__PURE__ */ h(g.Root, {
|
|
68
68
|
..._,
|
|
69
69
|
className: j(p.bar, l),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as A } from "./theme-B1jMC8En.js";
|
|
2
2
|
import { t as G } from "./isDefined-fMi6eQ4r.js";
|
|
3
|
-
import { Et as P, kt as w } from "./TablerIcons-
|
|
3
|
+
import { Et as P, kt as w } from "./TablerIcons-BV-cFVcj.js";
|
|
4
4
|
import { t } from "./mergeClassNames-ClFMR1v0.js";
|
|
5
5
|
import { n as N } from "./Button-BVp1tP3u.js";
|
|
6
6
|
import { t as b } from "./useProvidedTextDirection-Dk8LBQeF.js";
|