@theroutingcompany/components 0.0.3 → 0.0.5
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/trc-components.es.js +222 -211
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +77 -72
- package/dist/trc-components.umd.js.map +1 -1
- package/package.json +2 -1
- package/types/components/Breadcrumbs/Breadcrumbs.d.ts +8 -7
- package/types/components/Tooltip/Tooltip.d.ts +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as X from "react";
|
|
2
|
-
import me, { createContext as lt, useMemo as le, createElement as _, useContext as Te, useCallback as B, useLayoutEffect as Vt, useRef as I, useEffect as W, useState as H, forwardRef as
|
|
2
|
+
import me, { createContext as lt, useMemo as le, createElement as _, useContext as Te, useCallback as B, useLayoutEffect as Vt, useRef as I, useEffect as W, useState as H, forwardRef as R, Children as He, isValidElement as dt, cloneElement as pt, Fragment as nt, useReducer as ml } from "react";
|
|
3
3
|
import * as gl from "react-dom";
|
|
4
4
|
import hl, { flushSync as fa, createPortal as Lr } from "react-dom";
|
|
5
5
|
import k, { keyframes as Kt } from "styled-components";
|
|
6
6
|
import { isFragment as vl } from "react-is";
|
|
7
7
|
import { Error as _n, Help as _l, KeyboardArrowUp as yl, KeyboardArrowDown as xl, Warning as wl, Close as Pl, ArrowDropDown as yo, ArrowDropUp as Tl } from "@material-ui/icons";
|
|
8
|
-
function
|
|
9
|
-
return
|
|
8
|
+
function O() {
|
|
9
|
+
return O = Object.assign ? Object.assign.bind() : function(e) {
|
|
10
10
|
for (var t = 1; t < arguments.length; t++) {
|
|
11
11
|
var n = arguments[t];
|
|
12
12
|
for (var r in n)
|
|
13
13
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
14
14
|
}
|
|
15
15
|
return e;
|
|
16
|
-
},
|
|
16
|
+
}, O.apply(this, arguments);
|
|
17
17
|
}
|
|
18
18
|
function Cl(e, t) {
|
|
19
19
|
const n = /* @__PURE__ */ lt(t);
|
|
@@ -198,20 +198,20 @@ function Ol({ defaultProp: e, onChange: t }) {
|
|
|
198
198
|
a
|
|
199
199
|
]), n;
|
|
200
200
|
}
|
|
201
|
-
const ut = /* @__PURE__ */
|
|
201
|
+
const ut = /* @__PURE__ */ R((e, t) => {
|
|
202
202
|
const { children: n, ...r } = e, o = He.toArray(n), a = o.find(Dl);
|
|
203
203
|
if (a) {
|
|
204
204
|
const i = a.props.children, s = o.map((l) => l === a ? He.count(i) > 1 ? He.only(null) : /* @__PURE__ */ dt(i) ? i.props.children : null : l);
|
|
205
|
-
return /* @__PURE__ */ _(lr,
|
|
205
|
+
return /* @__PURE__ */ _(lr, O({}, r, {
|
|
206
206
|
ref: t
|
|
207
207
|
}), /* @__PURE__ */ dt(i) ? /* @__PURE__ */ pt(i, void 0, s) : null);
|
|
208
208
|
}
|
|
209
|
-
return /* @__PURE__ */ _(lr,
|
|
209
|
+
return /* @__PURE__ */ _(lr, O({}, r, {
|
|
210
210
|
ref: t
|
|
211
211
|
}), n);
|
|
212
212
|
});
|
|
213
213
|
ut.displayName = "Slot";
|
|
214
|
-
const lr = /* @__PURE__ */
|
|
214
|
+
const lr = /* @__PURE__ */ R((e, t) => {
|
|
215
215
|
const { children: n, ...r } = e;
|
|
216
216
|
return /* @__PURE__ */ dt(n) ? /* @__PURE__ */ pt(n, {
|
|
217
217
|
...Il(r, n.props),
|
|
@@ -260,11 +260,11 @@ const Al = [
|
|
|
260
260
|
"svg",
|
|
261
261
|
"ul"
|
|
262
262
|
], U = Al.reduce((e, t) => {
|
|
263
|
-
const n = /* @__PURE__ */
|
|
263
|
+
const n = /* @__PURE__ */ R((r, o) => {
|
|
264
264
|
const { asChild: a, ...i } = r, s = a ? ut : t;
|
|
265
265
|
return W(() => {
|
|
266
266
|
window[Symbol.for("radix-ui")] = !0;
|
|
267
|
-
}, []), /* @__PURE__ */ _(s,
|
|
267
|
+
}, []), /* @__PURE__ */ _(s, O({}, i, {
|
|
268
268
|
ref: o
|
|
269
269
|
}));
|
|
270
270
|
});
|
|
@@ -296,7 +296,7 @@ const $a = /* @__PURE__ */ lt({
|
|
|
296
296
|
layers: /* @__PURE__ */ new Set(),
|
|
297
297
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
298
298
|
branches: /* @__PURE__ */ new Set()
|
|
299
|
-
}), Ut = /* @__PURE__ */
|
|
299
|
+
}), Ut = /* @__PURE__ */ R((e, t) => {
|
|
300
300
|
var n;
|
|
301
301
|
const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: o, onPointerDownOutside: a, onFocusOutside: i, onInteractOutside: s, onDismiss: l, ...u } = e, d = Te($a), [f, m] = H(null), p = (n = f == null ? void 0 : f.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, g] = H({}), b = ne(
|
|
302
302
|
t,
|
|
@@ -338,7 +338,7 @@ const $a = /* @__PURE__ */ lt({
|
|
|
338
338
|
]), W(() => {
|
|
339
339
|
const A = () => g({});
|
|
340
340
|
return document.addEventListener(dr, A), () => document.removeEventListener(dr, A);
|
|
341
|
-
}, []), /* @__PURE__ */ _(U.div,
|
|
341
|
+
}, []), /* @__PURE__ */ _(U.div, O({}, u, {
|
|
342
342
|
ref: b,
|
|
343
343
|
style: {
|
|
344
344
|
pointerEvents: $ ? D ? "auto" : "none" : void 0,
|
|
@@ -348,7 +348,7 @@ const $a = /* @__PURE__ */ lt({
|
|
|
348
348
|
onBlurCapture: V(e.onBlurCapture, C.onBlurCapture),
|
|
349
349
|
onPointerDownCapture: V(e.onPointerDownCapture, L.onPointerDownCapture)
|
|
350
350
|
}));
|
|
351
|
-
}), Ml = /* @__PURE__ */
|
|
351
|
+
}), Ml = /* @__PURE__ */ R((e, t) => {
|
|
352
352
|
const n = Te($a), r = I(null), o = ne(t, r);
|
|
353
353
|
return W(() => {
|
|
354
354
|
const a = r.current;
|
|
@@ -358,7 +358,7 @@ const $a = /* @__PURE__ */ lt({
|
|
|
358
358
|
};
|
|
359
359
|
}, [
|
|
360
360
|
n.branches
|
|
361
|
-
]), /* @__PURE__ */ _(U.div,
|
|
361
|
+
]), /* @__PURE__ */ _(U.div, O({}, e, {
|
|
362
362
|
ref: o
|
|
363
363
|
}));
|
|
364
364
|
});
|
|
@@ -430,7 +430,7 @@ function ma(e, t, n, { discrete: r }) {
|
|
|
430
430
|
const Vl = Ut, Wl = Ml, Gn = "focusScope.autoFocusOnMount", Yn = "focusScope.autoFocusOnUnmount", Po = {
|
|
431
431
|
bubbles: !1,
|
|
432
432
|
cancelable: !0
|
|
433
|
-
}, Nr = /* @__PURE__ */
|
|
433
|
+
}, Nr = /* @__PURE__ */ R((e, t) => {
|
|
434
434
|
const { loop: n = !1, trapped: r = !1, onMountAutoFocus: o, onUnmountAutoFocus: a, ...i } = e, [s, l] = H(null), u = xe(o), d = xe(a), f = I(null), m = ne(
|
|
435
435
|
t,
|
|
436
436
|
(b) => l(b)
|
|
@@ -507,7 +507,7 @@ const Vl = Ut, Wl = Ml, Gn = "focusScope.autoFocusOnMount", Yn = "focusScope.aut
|
|
|
507
507
|
r,
|
|
508
508
|
p.paused
|
|
509
509
|
]);
|
|
510
|
-
return /* @__PURE__ */ _(U.div,
|
|
510
|
+
return /* @__PURE__ */ _(U.div, O({
|
|
511
511
|
tabIndex: -1
|
|
512
512
|
}, i, {
|
|
513
513
|
ref: m,
|
|
@@ -595,10 +595,10 @@ function Yl(e) {
|
|
|
595
595
|
(t) => t.tagName !== "A"
|
|
596
596
|
);
|
|
597
597
|
}
|
|
598
|
-
const jt = /* @__PURE__ */
|
|
598
|
+
const jt = /* @__PURE__ */ R((e, t) => {
|
|
599
599
|
var n;
|
|
600
600
|
const { container: r = globalThis == null || (n = globalThis.document) === null || n === void 0 ? void 0 : n.body, ...o } = e;
|
|
601
|
-
return r ? /* @__PURE__ */ hl.createPortal(/* @__PURE__ */ _(U.div,
|
|
601
|
+
return r ? /* @__PURE__ */ hl.createPortal(/* @__PURE__ */ _(U.div, O({}, o, {
|
|
602
602
|
ref: t
|
|
603
603
|
})), r) : null;
|
|
604
604
|
});
|
|
@@ -1653,9 +1653,9 @@ const Ea = "Dialog", [Sa, ka] = we(Ea), [Fd, ke] = Sa(Ea), Nd = (e) => {
|
|
|
1653
1653
|
),
|
|
1654
1654
|
modal: i
|
|
1655
1655
|
}, n);
|
|
1656
|
-
}, Md = "DialogTrigger", zd = /* @__PURE__ */
|
|
1656
|
+
}, Md = "DialogTrigger", zd = /* @__PURE__ */ R((e, t) => {
|
|
1657
1657
|
const { __scopeDialog: n, ...r } = e, o = ke(Md, n), a = ne(t, o.triggerRef);
|
|
1658
|
-
return /* @__PURE__ */ _(U.button,
|
|
1658
|
+
return /* @__PURE__ */ _(U.button, O({
|
|
1659
1659
|
type: "button",
|
|
1660
1660
|
"aria-haspopup": "dialog",
|
|
1661
1661
|
"aria-expanded": o.open,
|
|
@@ -1681,14 +1681,14 @@ const Ea = "Dialog", [Sa, ka] = we(Ea), [Fd, ke] = Sa(Ea), Nd = (e) => {
|
|
|
1681
1681
|
container: o
|
|
1682
1682
|
}, i))
|
|
1683
1683
|
));
|
|
1684
|
-
}, fr = "DialogOverlay", Wd = /* @__PURE__ */
|
|
1684
|
+
}, fr = "DialogOverlay", Wd = /* @__PURE__ */ R((e, t) => {
|
|
1685
1685
|
const n = Oa(fr, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = ke(fr, e.__scopeDialog);
|
|
1686
1686
|
return a.modal ? /* @__PURE__ */ _(Se, {
|
|
1687
1687
|
present: r || a.open
|
|
1688
|
-
}, /* @__PURE__ */ _(Hd,
|
|
1688
|
+
}, /* @__PURE__ */ _(Hd, O({}, o, {
|
|
1689
1689
|
ref: t
|
|
1690
1690
|
}))) : null;
|
|
1691
|
-
}), Hd = /* @__PURE__ */
|
|
1691
|
+
}), Hd = /* @__PURE__ */ R((e, t) => {
|
|
1692
1692
|
const { __scopeDialog: n, ...r } = e, o = ke(fr, n);
|
|
1693
1693
|
return /* @__PURE__ */ _(Br, {
|
|
1694
1694
|
as: ut,
|
|
@@ -1696,7 +1696,7 @@ const Ea = "Dialog", [Sa, ka] = we(Ea), [Fd, ke] = Sa(Ea), Nd = (e) => {
|
|
|
1696
1696
|
shards: [
|
|
1697
1697
|
o.contentRef
|
|
1698
1698
|
]
|
|
1699
|
-
}, /* @__PURE__ */ _(U.div,
|
|
1699
|
+
}, /* @__PURE__ */ _(U.div, O({
|
|
1700
1700
|
"data-state": Wr(o.open)
|
|
1701
1701
|
}, r, {
|
|
1702
1702
|
ref: t,
|
|
@@ -1705,22 +1705,22 @@ const Ea = "Dialog", [Sa, ka] = we(Ea), [Fd, ke] = Sa(Ea), Nd = (e) => {
|
|
|
1705
1705
|
...r.style
|
|
1706
1706
|
}
|
|
1707
1707
|
})));
|
|
1708
|
-
}), St = "DialogContent", Kd = /* @__PURE__ */
|
|
1708
|
+
}), St = "DialogContent", Kd = /* @__PURE__ */ R((e, t) => {
|
|
1709
1709
|
const n = Oa(St, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = ke(St, e.__scopeDialog);
|
|
1710
1710
|
return /* @__PURE__ */ _(Se, {
|
|
1711
1711
|
present: r || a.open
|
|
1712
|
-
}, a.modal ? /* @__PURE__ */ _(Ud,
|
|
1712
|
+
}, a.modal ? /* @__PURE__ */ _(Ud, O({}, o, {
|
|
1713
1713
|
ref: t
|
|
1714
|
-
})) : /* @__PURE__ */ _(jd,
|
|
1714
|
+
})) : /* @__PURE__ */ _(jd, O({}, o, {
|
|
1715
1715
|
ref: t
|
|
1716
1716
|
})));
|
|
1717
|
-
}), Ud = /* @__PURE__ */
|
|
1717
|
+
}), Ud = /* @__PURE__ */ R((e, t) => {
|
|
1718
1718
|
const n = ke(St, e.__scopeDialog), r = I(null), o = ne(t, n.contentRef, r);
|
|
1719
1719
|
return W(() => {
|
|
1720
1720
|
const a = r.current;
|
|
1721
1721
|
if (a)
|
|
1722
1722
|
return Vr(a);
|
|
1723
|
-
}, []), /* @__PURE__ */ _(Da,
|
|
1723
|
+
}, []), /* @__PURE__ */ _(Da, O({}, e, {
|
|
1724
1724
|
ref: o,
|
|
1725
1725
|
trapFocus: n.open,
|
|
1726
1726
|
disableOutsidePointerEvents: !0,
|
|
@@ -1737,9 +1737,9 @@ const Ea = "Dialog", [Sa, ka] = we(Ea), [Fd, ke] = Sa(Ea), Nd = (e) => {
|
|
|
1737
1737
|
(a) => a.preventDefault()
|
|
1738
1738
|
)
|
|
1739
1739
|
}));
|
|
1740
|
-
}), jd = /* @__PURE__ */
|
|
1740
|
+
}), jd = /* @__PURE__ */ R((e, t) => {
|
|
1741
1741
|
const n = ke(St, e.__scopeDialog), r = I(!1);
|
|
1742
|
-
return /* @__PURE__ */ _(Da,
|
|
1742
|
+
return /* @__PURE__ */ _(Da, O({}, e, {
|
|
1743
1743
|
ref: t,
|
|
1744
1744
|
trapFocus: !1,
|
|
1745
1745
|
disableOutsidePointerEvents: !1,
|
|
@@ -1758,7 +1758,7 @@ const Ea = "Dialog", [Sa, ka] = we(Ea), [Fd, ke] = Sa(Ea), Nd = (e) => {
|
|
|
1758
1758
|
((i = n.triggerRef.current) === null || i === void 0 ? void 0 : i.contains(s)) && o.preventDefault();
|
|
1759
1759
|
}
|
|
1760
1760
|
}));
|
|
1761
|
-
}), Da = /* @__PURE__ */
|
|
1761
|
+
}), Da = /* @__PURE__ */ R((e, t) => {
|
|
1762
1762
|
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, ...i } = e, s = ke(St, n), l = I(null), u = ne(t, l);
|
|
1763
1763
|
return Mr(), /* @__PURE__ */ _(nt, null, /* @__PURE__ */ _(Nr, {
|
|
1764
1764
|
asChild: !0,
|
|
@@ -1766,7 +1766,7 @@ const Ea = "Dialog", [Sa, ka] = we(Ea), [Fd, ke] = Sa(Ea), Nd = (e) => {
|
|
|
1766
1766
|
trapped: r,
|
|
1767
1767
|
onMountAutoFocus: o,
|
|
1768
1768
|
onUnmountAutoFocus: a
|
|
1769
|
-
}, /* @__PURE__ */ _(Ut,
|
|
1769
|
+
}, /* @__PURE__ */ _(Ut, O({
|
|
1770
1770
|
role: "dialog",
|
|
1771
1771
|
id: s.contentId,
|
|
1772
1772
|
"aria-describedby": s.descriptionId,
|
|
@@ -1776,23 +1776,23 @@ const Ea = "Dialog", [Sa, ka] = we(Ea), [Fd, ke] = Sa(Ea), Nd = (e) => {
|
|
|
1776
1776
|
ref: u,
|
|
1777
1777
|
onDismiss: () => s.onOpenChange(!1)
|
|
1778
1778
|
}))), !1);
|
|
1779
|
-
}), Ia = "DialogTitle", Gd = /* @__PURE__ */
|
|
1779
|
+
}), Ia = "DialogTitle", Gd = /* @__PURE__ */ R((e, t) => {
|
|
1780
1780
|
const { __scopeDialog: n, ...r } = e, o = ke(Ia, n);
|
|
1781
|
-
return /* @__PURE__ */ _(U.h2,
|
|
1781
|
+
return /* @__PURE__ */ _(U.h2, O({
|
|
1782
1782
|
id: o.titleId
|
|
1783
1783
|
}, r, {
|
|
1784
1784
|
ref: t
|
|
1785
1785
|
}));
|
|
1786
|
-
}), Yd = "DialogDescription", qd = /* @__PURE__ */
|
|
1786
|
+
}), Yd = "DialogDescription", qd = /* @__PURE__ */ R((e, t) => {
|
|
1787
1787
|
const { __scopeDialog: n, ...r } = e, o = ke(Yd, n);
|
|
1788
|
-
return /* @__PURE__ */ _(U.p,
|
|
1788
|
+
return /* @__PURE__ */ _(U.p, O({
|
|
1789
1789
|
id: o.descriptionId
|
|
1790
1790
|
}, r, {
|
|
1791
1791
|
ref: t
|
|
1792
1792
|
}));
|
|
1793
|
-
}), Xd = "DialogClose", Zd = /* @__PURE__ */
|
|
1793
|
+
}), Xd = "DialogClose", Zd = /* @__PURE__ */ R((e, t) => {
|
|
1794
1794
|
const { __scopeDialog: n, ...r } = e, o = ke(Xd, n);
|
|
1795
|
-
return /* @__PURE__ */ _(U.button,
|
|
1795
|
+
return /* @__PURE__ */ _(U.button, O({
|
|
1796
1796
|
type: "button"
|
|
1797
1797
|
}, r, {
|
|
1798
1798
|
ref: t,
|
|
@@ -1813,23 +1813,23 @@ const Jd = "DialogTitleWarning", [Qd, Eh] = Cl(Jd, {
|
|
|
1813
1813
|
ka
|
|
1814
1814
|
]), Ge = ka(), nu = (e) => {
|
|
1815
1815
|
const { __scopeAlertDialog: t, ...n } = e, r = Ge(t);
|
|
1816
|
-
return /* @__PURE__ */ _(Aa,
|
|
1816
|
+
return /* @__PURE__ */ _(Aa, O({}, r, n, {
|
|
1817
1817
|
modal: !0
|
|
1818
1818
|
}));
|
|
1819
|
-
}, ru = /* @__PURE__ */
|
|
1819
|
+
}, ru = /* @__PURE__ */ R((e, t) => {
|
|
1820
1820
|
const { __scopeAlertDialog: n, ...r } = e, o = Ge(n);
|
|
1821
|
-
return /* @__PURE__ */ _(La,
|
|
1821
|
+
return /* @__PURE__ */ _(La, O({}, o, r, {
|
|
1822
1822
|
ref: t
|
|
1823
1823
|
}));
|
|
1824
1824
|
}), ou = (e) => {
|
|
1825
1825
|
const { __scopeAlertDialog: t, ...n } = e, r = Ge(t);
|
|
1826
|
-
return /* @__PURE__ */ _(Fa,
|
|
1827
|
-
}, au = /* @__PURE__ */
|
|
1826
|
+
return /* @__PURE__ */ _(Fa, O({}, r, n));
|
|
1827
|
+
}, au = /* @__PURE__ */ R((e, t) => {
|
|
1828
1828
|
const { __scopeAlertDialog: n, ...r } = e, o = Ge(n);
|
|
1829
|
-
return /* @__PURE__ */ _(Na,
|
|
1829
|
+
return /* @__PURE__ */ _(Na, O({}, o, r, {
|
|
1830
1830
|
ref: t
|
|
1831
1831
|
}));
|
|
1832
|
-
}), Va = "AlertDialogContent", [iu, su] = tu(Va), cu = /* @__PURE__ */
|
|
1832
|
+
}), Va = "AlertDialogContent", [iu, su] = tu(Va), cu = /* @__PURE__ */ R((e, t) => {
|
|
1833
1833
|
const { __scopeAlertDialog: n, children: r, ...o } = e, a = Ge(n), i = I(null), s = ne(t, i), l = I(null);
|
|
1834
1834
|
return /* @__PURE__ */ _(Qd, {
|
|
1835
1835
|
contentName: Va,
|
|
@@ -1838,7 +1838,7 @@ const Jd = "DialogTitleWarning", [Qd, Eh] = Cl(Jd, {
|
|
|
1838
1838
|
}, /* @__PURE__ */ _(iu, {
|
|
1839
1839
|
scope: n,
|
|
1840
1840
|
cancelRef: l
|
|
1841
|
-
}, /* @__PURE__ */ _(Ma,
|
|
1841
|
+
}, /* @__PURE__ */ _(Ma, O({
|
|
1842
1842
|
role: "alertdialog"
|
|
1843
1843
|
}, a, o, {
|
|
1844
1844
|
ref: s,
|
|
@@ -1851,24 +1851,24 @@ const Jd = "DialogTitleWarning", [Qd, Eh] = Cl(Jd, {
|
|
|
1851
1851
|
onPointerDownOutside: (u) => u.preventDefault(),
|
|
1852
1852
|
onInteractOutside: (u) => u.preventDefault()
|
|
1853
1853
|
}), /* @__PURE__ */ _(Fr, null, r), !1)));
|
|
1854
|
-
}), lu = "AlertDialogTitle", du = /* @__PURE__ */
|
|
1854
|
+
}), lu = "AlertDialogTitle", du = /* @__PURE__ */ R((e, t) => {
|
|
1855
1855
|
const { __scopeAlertDialog: n, ...r } = e, o = Ge(n);
|
|
1856
|
-
return /* @__PURE__ */ _(za,
|
|
1856
|
+
return /* @__PURE__ */ _(za, O({}, o, r, {
|
|
1857
1857
|
ref: t
|
|
1858
1858
|
}));
|
|
1859
|
-
}), uu = /* @__PURE__ */
|
|
1859
|
+
}), uu = /* @__PURE__ */ R((e, t) => {
|
|
1860
1860
|
const { __scopeAlertDialog: n, ...r } = e, o = Ge(n);
|
|
1861
|
-
return /* @__PURE__ */ _(Ba,
|
|
1861
|
+
return /* @__PURE__ */ _(Ba, O({}, o, r, {
|
|
1862
1862
|
ref: t
|
|
1863
1863
|
}));
|
|
1864
|
-
}), fu = /* @__PURE__ */
|
|
1864
|
+
}), fu = /* @__PURE__ */ R((e, t) => {
|
|
1865
1865
|
const { __scopeAlertDialog: n, ...r } = e, o = Ge(n);
|
|
1866
|
-
return /* @__PURE__ */ _(Hr,
|
|
1866
|
+
return /* @__PURE__ */ _(Hr, O({}, o, r, {
|
|
1867
1867
|
ref: t
|
|
1868
1868
|
}));
|
|
1869
|
-
}), pu = "AlertDialogCancel", bu = /* @__PURE__ */
|
|
1869
|
+
}), pu = "AlertDialogCancel", bu = /* @__PURE__ */ R((e, t) => {
|
|
1870
1870
|
const { __scopeAlertDialog: n, ...r } = e, { cancelRef: o } = su(pu, n), a = Ge(n), i = ne(t, o);
|
|
1871
|
-
return /* @__PURE__ */ _(Hr,
|
|
1871
|
+
return /* @__PURE__ */ _(Hr, O({}, a, r, {
|
|
1872
1872
|
ref: i
|
|
1873
1873
|
}));
|
|
1874
1874
|
}), $u = nu, mu = ru, gu = ou, hu = au, vu = cu, _u = fu, yu = bu, xu = du, wu = uu, c = {
|
|
@@ -2292,7 +2292,7 @@ const Mh = k(xu)`
|
|
|
2292
2292
|
display: flex;
|
|
2293
2293
|
justify-content: end;
|
|
2294
2294
|
gap: ${c.sizing_200};
|
|
2295
|
-
`, Vh = $u, Wh = mu, Hh = _u, Kh = yu, wn = /* @__PURE__ */
|
|
2295
|
+
`, Vh = $u, Wh = mu, Hh = _u, Kh = yu, wn = /* @__PURE__ */ R((e, t) => /* @__PURE__ */ _(U.span, O({}, e, {
|
|
2296
2296
|
ref: t,
|
|
2297
2297
|
style: {
|
|
2298
2298
|
position: "absolute",
|
|
@@ -4855,9 +4855,9 @@ const gp = (e) => {
|
|
|
4855
4855
|
}).fn(o) : {};
|
|
4856
4856
|
}
|
|
4857
4857
|
};
|
|
4858
|
-
}, hp = /* @__PURE__ */
|
|
4858
|
+
}, hp = /* @__PURE__ */ R((e, t) => {
|
|
4859
4859
|
const { children: n, width: r = 10, height: o = 5, ...a } = e;
|
|
4860
|
-
return /* @__PURE__ */ _(U.svg,
|
|
4860
|
+
return /* @__PURE__ */ _(U.svg, O({}, a, {
|
|
4861
4861
|
ref: t,
|
|
4862
4862
|
width: r,
|
|
4863
4863
|
height: o,
|
|
@@ -4906,17 +4906,17 @@ const Ji = "Popper", [no, kn] = we(Ji), [_p, Qi] = no(Ji), yp = (e) => {
|
|
|
4906
4906
|
anchor: r,
|
|
4907
4907
|
onAnchorChange: o
|
|
4908
4908
|
}, n);
|
|
4909
|
-
}, xp = "PopperAnchor", wp = /* @__PURE__ */
|
|
4909
|
+
}, xp = "PopperAnchor", wp = /* @__PURE__ */ R((e, t) => {
|
|
4910
4910
|
const { __scopePopper: n, virtualRef: r, ...o } = e, a = Qi(xp, n), i = I(null), s = ne(t, i);
|
|
4911
4911
|
return W(() => {
|
|
4912
4912
|
a.onAnchorChange((r == null ? void 0 : r.current) || i.current);
|
|
4913
|
-
}), r ? null : /* @__PURE__ */ _(U.div,
|
|
4913
|
+
}), r ? null : /* @__PURE__ */ _(U.div, O({}, o, {
|
|
4914
4914
|
ref: s
|
|
4915
4915
|
}));
|
|
4916
4916
|
}), vn = "PopperContent", [Pp, Tp] = no(vn), [Cp, Ep] = no(vn, {
|
|
4917
4917
|
hasParent: !1,
|
|
4918
4918
|
positionUpdateFns: /* @__PURE__ */ new Set()
|
|
4919
|
-
}), Sp = /* @__PURE__ */
|
|
4919
|
+
}), Sp = /* @__PURE__ */ R((e, t) => {
|
|
4920
4920
|
var n, r, o, a, i, s, l, u;
|
|
4921
4921
|
const { __scopePopper: d, side: f = "bottom", sideOffset: m = 0, align: p = "center", alignOffset: g = 0, arrowPadding: b = 0, collisionBoundary: h = [], collisionPadding: y = 0, sticky: v = "partial", hideWhenDetached: w = !1, avoidCollisions: $ = !0, ...D } = e, L = Qi(vn, d), [C, A] = H(null), N = ne(
|
|
4922
4922
|
t,
|
|
@@ -5038,7 +5038,7 @@ const Ji = "Popper", [no, kn] = we(Ji), [_p, Qi] = no(Ji), yp = (e) => {
|
|
|
5038
5038
|
right: "left",
|
|
5039
5039
|
bottom: "top",
|
|
5040
5040
|
left: "right"
|
|
5041
|
-
}, Op = /* @__PURE__ */
|
|
5041
|
+
}, Op = /* @__PURE__ */ R(function(t, n) {
|
|
5042
5042
|
const { __scopePopper: r, ...o } = t, a = Tp(kp, r), i = Rp[a.placedSide];
|
|
5043
5043
|
return /* @__PURE__ */ _("span", {
|
|
5044
5044
|
ref: a.onArrowChange,
|
|
@@ -5061,7 +5061,7 @@ const Ji = "Popper", [no, kn] = we(Ji), [_p, Qi] = no(Ji), yp = (e) => {
|
|
|
5061
5061
|
}[a.placedSide],
|
|
5062
5062
|
visibility: a.shouldHideArrow ? "hidden" : void 0
|
|
5063
5063
|
}
|
|
5064
|
-
}, /* @__PURE__ */ _(vp,
|
|
5064
|
+
}, /* @__PURE__ */ _(vp, O({}, o, {
|
|
5065
5065
|
ref: n,
|
|
5066
5066
|
style: {
|
|
5067
5067
|
...o.style,
|
|
@@ -5134,8 +5134,8 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5134
5134
|
),
|
|
5135
5135
|
modal: i
|
|
5136
5136
|
}, n));
|
|
5137
|
-
}, Np = "PopoverTrigger", Mp = /* @__PURE__ */
|
|
5138
|
-
const { __scopePopover: n, ...r } = e, o = bt(Np, n), a = Rn(n), i = ne(t, o.triggerRef), s = /* @__PURE__ */ _(U.button,
|
|
5137
|
+
}, Np = "PopoverTrigger", Mp = /* @__PURE__ */ R((e, t) => {
|
|
5138
|
+
const { __scopePopover: n, ...r } = e, o = bt(Np, n), a = Rn(n), i = ne(t, o.triggerRef), s = /* @__PURE__ */ _(U.button, O({
|
|
5139
5139
|
type: "button",
|
|
5140
5140
|
"aria-haspopup": "dialog",
|
|
5141
5141
|
"aria-expanded": o.open,
|
|
@@ -5145,7 +5145,7 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5145
5145
|
ref: i,
|
|
5146
5146
|
onClick: V(e.onClick, o.onOpenToggle)
|
|
5147
5147
|
}));
|
|
5148
|
-
return o.hasCustomAnchor ? s : /* @__PURE__ */ _(ns,
|
|
5148
|
+
return o.hasCustomAnchor ? s : /* @__PURE__ */ _(ns, O({
|
|
5149
5149
|
asChild: !0
|
|
5150
5150
|
}, a), s);
|
|
5151
5151
|
}), ss = "PopoverPortal", [zp, Bp] = is(ss, {
|
|
@@ -5161,16 +5161,16 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5161
5161
|
asChild: !0,
|
|
5162
5162
|
container: o
|
|
5163
5163
|
}, r)));
|
|
5164
|
-
}, Wt = "PopoverContent", cs = /* @__PURE__ */
|
|
5164
|
+
}, Wt = "PopoverContent", cs = /* @__PURE__ */ R((e, t) => {
|
|
5165
5165
|
const n = Bp(Wt, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, a = bt(Wt, e.__scopePopover);
|
|
5166
5166
|
return /* @__PURE__ */ _(Se, {
|
|
5167
5167
|
present: r || a.open
|
|
5168
|
-
}, a.modal ? /* @__PURE__ */ _(Wp,
|
|
5168
|
+
}, a.modal ? /* @__PURE__ */ _(Wp, O({}, o, {
|
|
5169
5169
|
ref: t
|
|
5170
|
-
})) : /* @__PURE__ */ _(Hp,
|
|
5170
|
+
})) : /* @__PURE__ */ _(Hp, O({}, o, {
|
|
5171
5171
|
ref: t
|
|
5172
5172
|
})));
|
|
5173
|
-
}), Wp = /* @__PURE__ */
|
|
5173
|
+
}), Wp = /* @__PURE__ */ R((e, t) => {
|
|
5174
5174
|
const n = bt(Wt, e.__scopePopover), r = I(null), o = ne(t, r), a = I(!1);
|
|
5175
5175
|
return W(() => {
|
|
5176
5176
|
const i = r.current;
|
|
@@ -5179,7 +5179,7 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5179
5179
|
}, []), /* @__PURE__ */ _(Br, {
|
|
5180
5180
|
as: ut,
|
|
5181
5181
|
allowPinchZoom: !0
|
|
5182
|
-
}, /* @__PURE__ */ _(ls,
|
|
5182
|
+
}, /* @__PURE__ */ _(ls, O({}, e, {
|
|
5183
5183
|
ref: o,
|
|
5184
5184
|
trapFocus: n.open,
|
|
5185
5185
|
disableOutsidePointerEvents: !0,
|
|
@@ -5201,9 +5201,9 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5201
5201
|
}
|
|
5202
5202
|
)
|
|
5203
5203
|
})));
|
|
5204
|
-
}), Hp = /* @__PURE__ */
|
|
5204
|
+
}), Hp = /* @__PURE__ */ R((e, t) => {
|
|
5205
5205
|
const n = bt(Wt, e.__scopePopover), r = I(!1);
|
|
5206
|
-
return /* @__PURE__ */ _(ls,
|
|
5206
|
+
return /* @__PURE__ */ _(ls, O({}, e, {
|
|
5207
5207
|
ref: t,
|
|
5208
5208
|
trapFocus: !1,
|
|
5209
5209
|
disableOutsidePointerEvents: !1,
|
|
@@ -5222,7 +5222,7 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5222
5222
|
((i = n.triggerRef.current) === null || i === void 0 ? void 0 : i.contains(s)) && o.preventDefault();
|
|
5223
5223
|
}
|
|
5224
5224
|
}));
|
|
5225
|
-
}), ls = /* @__PURE__ */
|
|
5225
|
+
}), ls = /* @__PURE__ */ R((e, t) => {
|
|
5226
5226
|
const { __scopePopover: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, disableOutsidePointerEvents: i, onEscapeKeyDown: s, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, ...f } = e, m = bt(Wt, n), p = Rn(n);
|
|
5227
5227
|
return Mr(), /* @__PURE__ */ _(Nr, {
|
|
5228
5228
|
asChild: !0,
|
|
@@ -5238,7 +5238,7 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5238
5238
|
onPointerDownOutside: l,
|
|
5239
5239
|
onFocusOutside: u,
|
|
5240
5240
|
onDismiss: () => m.onOpenChange(!1)
|
|
5241
|
-
}, /* @__PURE__ */ _(rs,
|
|
5241
|
+
}, /* @__PURE__ */ _(rs, O({
|
|
5242
5242
|
"data-state": ds(m.open),
|
|
5243
5243
|
role: "dialog",
|
|
5244
5244
|
id: m.contentId
|
|
@@ -5249,9 +5249,9 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5249
5249
|
["--radix-popover-content-transform-origin"]: "var(--radix-popper-transform-origin)"
|
|
5250
5250
|
}
|
|
5251
5251
|
}))));
|
|
5252
|
-
}), Kp = "PopoverClose", Up = /* @__PURE__ */
|
|
5252
|
+
}), Kp = "PopoverClose", Up = /* @__PURE__ */ R((e, t) => {
|
|
5253
5253
|
const { __scopePopover: n, ...r } = e, o = bt(Kp, n);
|
|
5254
|
-
return /* @__PURE__ */ _(U.button,
|
|
5254
|
+
return /* @__PURE__ */ _(U.button, O({
|
|
5255
5255
|
type: "button"
|
|
5256
5256
|
}, r, {
|
|
5257
5257
|
ref: t,
|
|
@@ -5260,9 +5260,9 @@ const ts = yp, ns = wp, rs = Sp, os = Op, as = "Popover", [is, Uh] = we(as, [
|
|
|
5260
5260
|
() => o.onOpenChange(!1)
|
|
5261
5261
|
)
|
|
5262
5262
|
}));
|
|
5263
|
-
}), jp = /* @__PURE__ */
|
|
5263
|
+
}), jp = /* @__PURE__ */ R((e, t) => {
|
|
5264
5264
|
const { __scopePopover: n, ...r } = e, o = Rn(n);
|
|
5265
|
-
return /* @__PURE__ */ _(os,
|
|
5265
|
+
return /* @__PURE__ */ _(os, O({}, o, r, {
|
|
5266
5266
|
ref: t
|
|
5267
5267
|
}));
|
|
5268
5268
|
});
|
|
@@ -5382,18 +5382,22 @@ const Sr = k.ol`
|
|
|
5382
5382
|
font-size: ${c.font_size_100};
|
|
5383
5383
|
line-height: ${c.line_height_114};
|
|
5384
5384
|
letter-spacing: ${c.letter_spacing_tight};
|
|
5385
|
-
cursor: pointer;
|
|
5386
5385
|
border-radius: ${c.border_radius_400};
|
|
5387
5386
|
padding: 2px 4px;
|
|
5388
|
-
|
|
5387
|
+
|
|
5389
5388
|
transition-property: ${c.transition_property_color};
|
|
5390
5389
|
transition-duration: ${c.transition_duration_100};
|
|
5390
|
+
cursor: default;
|
|
5391
|
+
|
|
5392
|
+
&[href] {
|
|
5393
|
+
cursor: pointer;
|
|
5394
|
+
}
|
|
5391
5395
|
|
|
5392
5396
|
&:hover {
|
|
5393
5397
|
background-color: ${c.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
|
|
5394
5398
|
}
|
|
5395
5399
|
|
|
5396
|
-
&[data-state~='pressed'] {
|
|
5400
|
+
&[href][data-state~='pressed'] {
|
|
5397
5401
|
background-color: ${c.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
|
|
5398
5402
|
}
|
|
5399
5403
|
|
|
@@ -5471,7 +5475,7 @@ function db({
|
|
|
5471
5475
|
})
|
|
5472
5476
|
});
|
|
5473
5477
|
}
|
|
5474
|
-
const ub =
|
|
5478
|
+
const ub = R(({
|
|
5475
5479
|
children: e,
|
|
5476
5480
|
...t
|
|
5477
5481
|
}, n) => {
|
|
@@ -5501,43 +5505,43 @@ const ub = O(({
|
|
|
5501
5505
|
});
|
|
5502
5506
|
});
|
|
5503
5507
|
ub.displayName = "Breadcrumbs";
|
|
5504
|
-
const fb =
|
|
5508
|
+
const fb = R((e, t) => {
|
|
5505
5509
|
const {
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
} = e, i = Rt(t), {
|
|
5510
|
+
LinkComponent: n = "a",
|
|
5511
|
+
disabled: r,
|
|
5512
|
+
...o
|
|
5513
|
+
} = e, a = Rt(t), i = typeof n == "string", {
|
|
5511
5514
|
children: s,
|
|
5512
5515
|
href: l,
|
|
5513
5516
|
isCurrent: u
|
|
5514
5517
|
} = e, {
|
|
5515
5518
|
itemProps: d
|
|
5516
5519
|
} = Nf({
|
|
5517
|
-
isDisabled:
|
|
5520
|
+
isDisabled: r,
|
|
5518
5521
|
isCurrent: u,
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
}, i), {
|
|
5522
|
+
elementType: i ? n : "a",
|
|
5523
|
+
...o
|
|
5524
|
+
}, a), {
|
|
5523
5525
|
isPressed: f,
|
|
5524
5526
|
pressProps: m
|
|
5525
5527
|
} = Yr({
|
|
5526
|
-
isDisabled:
|
|
5527
|
-
ref:
|
|
5528
|
+
isDisabled: r,
|
|
5529
|
+
ref: a
|
|
5528
5530
|
}), {
|
|
5529
5531
|
isFocusVisible: p,
|
|
5530
5532
|
focusProps: g
|
|
5531
|
-
} = Pn(), b = [f && "pressed",
|
|
5533
|
+
} = Pn(), b = [f && "pressed", r && "disabled", p && "focused"].filter(Boolean).join(" "), h = !d["aria-disabled"] && l ? l : "", v = {
|
|
5534
|
+
[i ? "href" : "to"]: h
|
|
5535
|
+
};
|
|
5532
5536
|
return /* @__PURE__ */ E(us, {
|
|
5533
5537
|
children: /* @__PURE__ */ E(cb, {
|
|
5534
|
-
as:
|
|
5538
|
+
as: n,
|
|
5535
5539
|
...d,
|
|
5536
|
-
ref:
|
|
5537
|
-
href: l,
|
|
5540
|
+
ref: a,
|
|
5538
5541
|
"data-state": b,
|
|
5539
5542
|
...g,
|
|
5540
5543
|
...m,
|
|
5544
|
+
...v,
|
|
5541
5545
|
children: s
|
|
5542
5546
|
})
|
|
5543
5547
|
});
|
|
@@ -5859,7 +5863,7 @@ const pb = {
|
|
|
5859
5863
|
low: yb,
|
|
5860
5864
|
medium: gb,
|
|
5861
5865
|
high: Cb
|
|
5862
|
-
}, Sb =
|
|
5866
|
+
}, Sb = R((e, t) => {
|
|
5863
5867
|
const {
|
|
5864
5868
|
size: n = "small",
|
|
5865
5869
|
variant: r = "primary",
|
|
@@ -5906,7 +5910,7 @@ function On(e) {
|
|
|
5906
5910
|
e
|
|
5907
5911
|
]);
|
|
5908
5912
|
}
|
|
5909
|
-
const ps = "Checkbox", [kb, Yh] = we(ps), [Rb, Ob] = kb(ps), Db = /* @__PURE__ */
|
|
5913
|
+
const ps = "Checkbox", [kb, Yh] = we(ps), [Rb, Ob] = kb(ps), Db = /* @__PURE__ */ R((e, t) => {
|
|
5910
5914
|
const { __scopeCheckbox: n, name: r, checked: o, defaultChecked: a, required: i, disabled: s, value: l = "on", onCheckedChange: u, ...d } = e, [f, m] = H(null), p = ne(
|
|
5911
5915
|
t,
|
|
5912
5916
|
(v) => m(v)
|
|
@@ -5919,7 +5923,7 @@ const ps = "Checkbox", [kb, Yh] = we(ps), [Rb, Ob] = kb(ps), Db = /* @__PURE__ *
|
|
|
5919
5923
|
scope: n,
|
|
5920
5924
|
state: h,
|
|
5921
5925
|
disabled: s
|
|
5922
|
-
}, /* @__PURE__ */ _(U.button,
|
|
5926
|
+
}, /* @__PURE__ */ _(U.button, O({
|
|
5923
5927
|
type: "button",
|
|
5924
5928
|
role: "checkbox",
|
|
5925
5929
|
"aria-checked": ct(h) ? "mixed" : h,
|
|
@@ -5950,11 +5954,11 @@ const ps = "Checkbox", [kb, Yh] = we(ps), [Rb, Ob] = kb(ps), Db = /* @__PURE__ *
|
|
|
5950
5954
|
transform: "translateX(-100%)"
|
|
5951
5955
|
}
|
|
5952
5956
|
}));
|
|
5953
|
-
}), Ib = "CheckboxIndicator", Ab = /* @__PURE__ */
|
|
5957
|
+
}), Ib = "CheckboxIndicator", Ab = /* @__PURE__ */ R((e, t) => {
|
|
5954
5958
|
const { __scopeCheckbox: n, forceMount: r, ...o } = e, a = Ob(Ib, n);
|
|
5955
5959
|
return /* @__PURE__ */ _(Se, {
|
|
5956
5960
|
present: r || ct(a.state) || a.state === !0
|
|
5957
|
-
}, /* @__PURE__ */ _(U.span,
|
|
5961
|
+
}, /* @__PURE__ */ _(U.span, O({
|
|
5958
5962
|
"data-state": bs(a.state),
|
|
5959
5963
|
"data-disabled": a.disabled ? "" : void 0
|
|
5960
5964
|
}, o, {
|
|
@@ -5978,7 +5982,7 @@ const ps = "Checkbox", [kb, Yh] = we(ps), [Rb, Ob] = kb(ps), Db = /* @__PURE__ *
|
|
|
5978
5982
|
i,
|
|
5979
5983
|
n,
|
|
5980
5984
|
r
|
|
5981
|
-
]), /* @__PURE__ */ _("input",
|
|
5985
|
+
]), /* @__PURE__ */ _("input", O({
|
|
5982
5986
|
type: "checkbox",
|
|
5983
5987
|
"aria-hidden": !0,
|
|
5984
5988
|
defaultChecked: ct(n) ? !1 : n
|
|
@@ -6327,7 +6331,7 @@ k.div`
|
|
|
6327
6331
|
align-items: center;
|
|
6328
6332
|
pointer-events: none;
|
|
6329
6333
|
`;
|
|
6330
|
-
const ms =
|
|
6334
|
+
const ms = R((e, t) => {
|
|
6331
6335
|
const {
|
|
6332
6336
|
errorMessage: n,
|
|
6333
6337
|
description: r,
|
|
@@ -6453,16 +6457,16 @@ const [Fn, Xh] = we("Tooltip", [
|
|
|
6453
6457
|
onClose: D,
|
|
6454
6458
|
disableHoverableContent: g
|
|
6455
6459
|
}, n));
|
|
6456
|
-
}, ca = "TooltipTrigger", Jb = /* @__PURE__ */
|
|
6460
|
+
}, ca = "TooltipTrigger", Jb = /* @__PURE__ */ R((e, t) => {
|
|
6457
6461
|
const { __scopeTooltip: n, ...r } = e, o = qt(ca, n), a = so(ca, n), i = Nn(n), s = I(null), l = ne(t, s, o.onTriggerChange), u = I(!1), d = I(!1), f = B(
|
|
6458
6462
|
() => u.current = !1,
|
|
6459
6463
|
[]
|
|
6460
6464
|
);
|
|
6461
6465
|
return W(() => () => document.removeEventListener("pointerup", f), [
|
|
6462
6466
|
f
|
|
6463
|
-
]), /* @__PURE__ */ _(ns,
|
|
6467
|
+
]), /* @__PURE__ */ _(ns, O({
|
|
6464
6468
|
asChild: !0
|
|
6465
|
-
}, i), /* @__PURE__ */ _(U.button,
|
|
6469
|
+
}, i), /* @__PURE__ */ _(U.button, O({
|
|
6466
6470
|
"aria-describedby": o.open ? o.contentId : void 0,
|
|
6467
6471
|
"data-state": o.stateAttribute
|
|
6468
6472
|
}, r, {
|
|
@@ -6497,20 +6501,20 @@ const [Fn, Xh] = we("Tooltip", [
|
|
|
6497
6501
|
asChild: !0,
|
|
6498
6502
|
container: o
|
|
6499
6503
|
}, r)));
|
|
6500
|
-
}, Ht = "TooltipContent", n0 = /* @__PURE__ */
|
|
6504
|
+
}, Ht = "TooltipContent", n0 = /* @__PURE__ */ R((e, t) => {
|
|
6501
6505
|
const n = e0(Ht, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...a } = e, i = qt(Ht, e.__scopeTooltip);
|
|
6502
6506
|
return /* @__PURE__ */ _(Se, {
|
|
6503
6507
|
present: r || i.open
|
|
6504
|
-
}, i.disableHoverableContent ? /* @__PURE__ */ _(hs,
|
|
6508
|
+
}, i.disableHoverableContent ? /* @__PURE__ */ _(hs, O({
|
|
6505
6509
|
side: o
|
|
6506
6510
|
}, a, {
|
|
6507
6511
|
ref: t
|
|
6508
|
-
})) : /* @__PURE__ */ _(r0,
|
|
6512
|
+
})) : /* @__PURE__ */ _(r0, O({
|
|
6509
6513
|
side: o
|
|
6510
6514
|
}, a, {
|
|
6511
6515
|
ref: t
|
|
6512
6516
|
})));
|
|
6513
|
-
}), r0 = /* @__PURE__ */
|
|
6517
|
+
}), r0 = /* @__PURE__ */ R((e, t) => {
|
|
6514
6518
|
const n = qt(Ht, e.__scopeTooltip), r = so(Ht, e.__scopeTooltip), o = I(null), a = ne(t, o), [i, s] = H(null), { trigger: l, onClose: u } = n, d = o.current, { onPointerInTransitChange: f } = r, m = B(() => {
|
|
6515
6519
|
s(null), f(!1);
|
|
6516
6520
|
}, [
|
|
@@ -6564,12 +6568,12 @@ const [Fn, Xh] = we("Tooltip", [
|
|
|
6564
6568
|
i,
|
|
6565
6569
|
u,
|
|
6566
6570
|
m
|
|
6567
|
-
]), /* @__PURE__ */ _(hs,
|
|
6571
|
+
]), /* @__PURE__ */ _(hs, O({}, e, {
|
|
6568
6572
|
ref: a
|
|
6569
6573
|
}));
|
|
6570
6574
|
}), [o0, a0] = Fn(co, {
|
|
6571
6575
|
isInside: !1
|
|
6572
|
-
}), hs = /* @__PURE__ */
|
|
6576
|
+
}), hs = /* @__PURE__ */ R((e, t) => {
|
|
6573
6577
|
const { __scopeTooltip: n, children: r, "aria-label": o, onEscapeKeyDown: a, onPointerDownOutside: i, ...s } = e, l = qt(Ht, n), u = Nn(n), { onClose: d } = l;
|
|
6574
6578
|
return W(() => (document.addEventListener(kr, d), () => document.removeEventListener(kr, d)), [
|
|
6575
6579
|
d
|
|
@@ -6595,7 +6599,7 @@ const [Fn, Xh] = we("Tooltip", [
|
|
|
6595
6599
|
onPointerDownOutside: i,
|
|
6596
6600
|
onFocusOutside: (f) => f.preventDefault(),
|
|
6597
6601
|
onDismiss: d
|
|
6598
|
-
}, /* @__PURE__ */ _(rs,
|
|
6602
|
+
}, /* @__PURE__ */ _(rs, O({
|
|
6599
6603
|
"data-state": l.stateAttribute
|
|
6600
6604
|
}, u, s, {
|
|
6601
6605
|
ref: t,
|
|
@@ -6610,9 +6614,9 @@ const [Fn, Xh] = we("Tooltip", [
|
|
|
6610
6614
|
id: l.contentId,
|
|
6611
6615
|
role: "tooltip"
|
|
6612
6616
|
}, o || r))));
|
|
6613
|
-
}), i0 = "TooltipArrow", s0 = /* @__PURE__ */
|
|
6617
|
+
}), i0 = "TooltipArrow", s0 = /* @__PURE__ */ R((e, t) => {
|
|
6614
6618
|
const { __scopeTooltip: n, ...r } = e, o = Nn(n);
|
|
6615
|
-
return a0(i0, n).isInside ? null : /* @__PURE__ */ _(os,
|
|
6619
|
+
return a0(i0, n).isInside ? null : /* @__PURE__ */ _(os, O({}, o, r, {
|
|
6616
6620
|
ref: t
|
|
6617
6621
|
}));
|
|
6618
6622
|
});
|
|
@@ -6726,13 +6730,17 @@ const x0 = k($0)`
|
|
|
6726
6730
|
border: none;
|
|
6727
6731
|
background-color: unset;
|
|
6728
6732
|
line-height: 0;
|
|
6729
|
-
`, w0 = ({
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6733
|
+
`, w0 = R((e, t) => {
|
|
6734
|
+
const {
|
|
6735
|
+
children: n,
|
|
6736
|
+
...r
|
|
6737
|
+
} = e;
|
|
6738
|
+
return /* @__PURE__ */ E(x0, {
|
|
6739
|
+
ref: t,
|
|
6740
|
+
type: "button",
|
|
6741
|
+
...r,
|
|
6742
|
+
children: n
|
|
6743
|
+
});
|
|
6736
6744
|
}), P0 = p0, T0 = b0, C0 = y0, E0 = k(w0)`
|
|
6737
6745
|
color: ${c.color_text_white_weak};
|
|
6738
6746
|
margin-block: auto;
|
|
@@ -7658,7 +7666,7 @@ const F0 = k.div`
|
|
|
7658
7666
|
border-top-width: 0.5px;
|
|
7659
7667
|
margin-top: -0.5px;
|
|
7660
7668
|
grid-area: decrement;
|
|
7661
|
-
`, Nc =
|
|
7669
|
+
`, Nc = R((e, t) => {
|
|
7662
7670
|
const {
|
|
7663
7671
|
description: n,
|
|
7664
7672
|
disabled: r,
|
|
@@ -7736,7 +7744,7 @@ const F0 = k.div`
|
|
|
7736
7744
|
});
|
|
7737
7745
|
});
|
|
7738
7746
|
Nc.displayName = "NumberInput";
|
|
7739
|
-
const Mc =
|
|
7747
|
+
const Mc = R((e, t) => {
|
|
7740
7748
|
const {
|
|
7741
7749
|
errorMessage: n,
|
|
7742
7750
|
description: r,
|
|
@@ -7835,7 +7843,7 @@ function Zh({
|
|
|
7835
7843
|
})
|
|
7836
7844
|
});
|
|
7837
7845
|
}
|
|
7838
|
-
const B0 =
|
|
7846
|
+
const B0 = R((e, t) => {
|
|
7839
7847
|
const {
|
|
7840
7848
|
label: n,
|
|
7841
7849
|
tooltipContent: r,
|
|
@@ -7855,7 +7863,7 @@ const B0 = O((e, t) => {
|
|
|
7855
7863
|
});
|
|
7856
7864
|
});
|
|
7857
7865
|
B0.displayName = "TextFormControl";
|
|
7858
|
-
const V0 =
|
|
7866
|
+
const V0 = R((e, t) => {
|
|
7859
7867
|
const {
|
|
7860
7868
|
label: n,
|
|
7861
7869
|
tooltipContent: r,
|
|
@@ -7874,7 +7882,7 @@ const V0 = O((e, t) => {
|
|
|
7874
7882
|
});
|
|
7875
7883
|
});
|
|
7876
7884
|
V0.displayName = "TextAreaFormControl";
|
|
7877
|
-
const W0 =
|
|
7885
|
+
const W0 = R((e, t) => {
|
|
7878
7886
|
const {
|
|
7879
7887
|
label: n,
|
|
7880
7888
|
tooltipContent: r,
|
|
@@ -8034,7 +8042,7 @@ const fo = k.h1`
|
|
|
8034
8042
|
small: q0,
|
|
8035
8043
|
medium: Y0,
|
|
8036
8044
|
large: G0
|
|
8037
|
-
}, Z0 =
|
|
8045
|
+
}, Z0 = R((e, t) => {
|
|
8038
8046
|
const {
|
|
8039
8047
|
children: n,
|
|
8040
8048
|
as: r,
|
|
@@ -8162,7 +8170,7 @@ const J0 = {
|
|
|
8162
8170
|
secondary: t$,
|
|
8163
8171
|
danger: n$,
|
|
8164
8172
|
inverse: r$
|
|
8165
|
-
}, a$ =
|
|
8173
|
+
}, a$ = R((e, t) => {
|
|
8166
8174
|
const n = Rt(t), {
|
|
8167
8175
|
label: r,
|
|
8168
8176
|
size: o = "small",
|
|
@@ -8211,14 +8219,14 @@ a$.displayName = "Button";
|
|
|
8211
8219
|
const Rr = "horizontal", i$ = [
|
|
8212
8220
|
"horizontal",
|
|
8213
8221
|
"vertical"
|
|
8214
|
-
], Bc = /* @__PURE__ */
|
|
8222
|
+
], Bc = /* @__PURE__ */ R((e, t) => {
|
|
8215
8223
|
const { decorative: n, orientation: r = Rr, ...o } = e, a = Vc(r) ? r : Rr, s = n ? {
|
|
8216
8224
|
role: "none"
|
|
8217
8225
|
} : {
|
|
8218
8226
|
"aria-orientation": a === "vertical" ? a : void 0,
|
|
8219
8227
|
role: "separator"
|
|
8220
8228
|
};
|
|
8221
|
-
return /* @__PURE__ */ _(U.div,
|
|
8229
|
+
return /* @__PURE__ */ _(U.div, O({
|
|
8222
8230
|
"data-orientation": a
|
|
8223
8231
|
}, s, o, {
|
|
8224
8232
|
ref: t
|
|
@@ -8336,7 +8344,7 @@ Kc.propTypes = {
|
|
|
8336
8344
|
};
|
|
8337
8345
|
const f$ = "ToastViewport", p$ = [
|
|
8338
8346
|
"F8"
|
|
8339
|
-
], Or = "toast.viewportPause", Dr = "toast.viewportResume", b$ = /* @__PURE__ */
|
|
8347
|
+
], Or = "toast.viewportPause", Dr = "toast.viewportResume", b$ = /* @__PURE__ */ R((e, t) => {
|
|
8340
8348
|
const { __scopeToast: n, hotkey: r = p$, label: o = "Notifications ({hotkey})", ...a } = e, i = Bn(f$, n), s = l$(n), l = I(null), u = I(null), d = I(null), f = I(null), m = ne(t, f, i.onViewportChange), p = r.join("+").replace(/Key/g, "").replace(/Digit/g, ""), g = i.toastCount > 0;
|
|
8341
8349
|
W(() => {
|
|
8342
8350
|
const h = (y) => {
|
|
@@ -8434,7 +8442,7 @@ const f$ = "ToastViewport", p$ = [
|
|
|
8434
8442
|
}
|
|
8435
8443
|
}), /* @__PURE__ */ _(bo.Slot, {
|
|
8436
8444
|
scope: n
|
|
8437
|
-
}, /* @__PURE__ */ _(U.ol,
|
|
8445
|
+
}, /* @__PURE__ */ _(U.ol, O({
|
|
8438
8446
|
tabIndex: -1
|
|
8439
8447
|
}, a, {
|
|
8440
8448
|
ref: m
|
|
@@ -8447,9 +8455,9 @@ const f$ = "ToastViewport", p$ = [
|
|
|
8447
8455
|
sr(h);
|
|
8448
8456
|
}
|
|
8449
8457
|
}));
|
|
8450
|
-
}), $$ = "ToastFocusProxy", la = /* @__PURE__ */
|
|
8458
|
+
}), $$ = "ToastFocusProxy", la = /* @__PURE__ */ R((e, t) => {
|
|
8451
8459
|
const { __scopeToast: n, onFocusFromOutsideViewport: r, ...o } = e, a = Bn($$, n);
|
|
8452
|
-
return /* @__PURE__ */ _(wn,
|
|
8460
|
+
return /* @__PURE__ */ _(wn, O({
|
|
8453
8461
|
"aria-hidden": !0,
|
|
8454
8462
|
tabIndex: 0
|
|
8455
8463
|
}, o, {
|
|
@@ -8463,7 +8471,7 @@ const f$ = "ToastViewport", p$ = [
|
|
|
8463
8471
|
!((s = a.viewport) !== null && s !== void 0 && s.contains(l)) && r();
|
|
8464
8472
|
}
|
|
8465
8473
|
}));
|
|
8466
|
-
}), Vn = "Toast", m$ = "toast.swipeStart", g$ = "toast.swipeMove", h$ = "toast.swipeCancel", v$ = "toast.swipeEnd", _$ = /* @__PURE__ */
|
|
8474
|
+
}), Vn = "Toast", m$ = "toast.swipeStart", g$ = "toast.swipeMove", h$ = "toast.swipeCancel", v$ = "toast.swipeEnd", _$ = /* @__PURE__ */ R((e, t) => {
|
|
8467
8475
|
const { forceMount: n, open: r, defaultOpen: o, onOpenChange: a, ...i } = e, [s = !0, l] = Fe({
|
|
8468
8476
|
prop: r,
|
|
8469
8477
|
defaultProp: o,
|
|
@@ -8471,7 +8479,7 @@ const f$ = "ToastViewport", p$ = [
|
|
|
8471
8479
|
});
|
|
8472
8480
|
return /* @__PURE__ */ _(Se, {
|
|
8473
8481
|
present: n || s
|
|
8474
|
-
}, /* @__PURE__ */ _(Uc,
|
|
8482
|
+
}, /* @__PURE__ */ _(Uc, O({
|
|
8475
8483
|
open: s
|
|
8476
8484
|
}, i, {
|
|
8477
8485
|
ref: t,
|
|
@@ -8496,7 +8504,7 @@ const f$ = "ToastViewport", p$ = [
|
|
|
8496
8504
|
}), [y$, x$] = Hc(Vn, {
|
|
8497
8505
|
onClose() {
|
|
8498
8506
|
}
|
|
8499
|
-
}), Uc = /* @__PURE__ */
|
|
8507
|
+
}), Uc = /* @__PURE__ */ R((e, t) => {
|
|
8500
8508
|
const { __scopeToast: n, type: r = "foreground", duration: o, open: a, onClose: i, onEscapeKeyDown: s, onPause: l, onResume: u, onSwipeStart: d, onSwipeMove: f, onSwipeCancel: m, onSwipeEnd: p, ...g } = e, b = Bn(Vn, n), [h, y] = H(null), v = ne(
|
|
8501
8509
|
t,
|
|
8502
8510
|
(P) => y(P)
|
|
@@ -8556,7 +8564,7 @@ const f$ = "ToastViewport", p$ = [
|
|
|
8556
8564
|
onEscapeKeyDown: V(s, () => {
|
|
8557
8565
|
b.isFocusedToastEscapeKeyDownRef.current || T(), b.isFocusedToastEscapeKeyDownRef.current = !1;
|
|
8558
8566
|
})
|
|
8559
|
-
}, /* @__PURE__ */ _(U.li,
|
|
8567
|
+
}, /* @__PURE__ */ _(U.li, O({
|
|
8560
8568
|
role: "status",
|
|
8561
8569
|
"aria-live": "off",
|
|
8562
8570
|
"aria-atomic": !0,
|
|
@@ -8648,17 +8656,17 @@ const w$ = (e) => {
|
|
|
8648
8656
|
}, []), s ? null : /* @__PURE__ */ _(jt, {
|
|
8649
8657
|
asChild: !0
|
|
8650
8658
|
}, /* @__PURE__ */ _(wn, r, a && /* @__PURE__ */ _(nt, null, o.label, " ", n)));
|
|
8651
|
-
}, P$ = /* @__PURE__ */
|
|
8659
|
+
}, P$ = /* @__PURE__ */ R((e, t) => {
|
|
8652
8660
|
const { __scopeToast: n, ...r } = e;
|
|
8653
|
-
return /* @__PURE__ */ _(U.div,
|
|
8661
|
+
return /* @__PURE__ */ _(U.div, O({}, r, {
|
|
8654
8662
|
ref: t
|
|
8655
8663
|
}));
|
|
8656
|
-
}), T$ = "ToastAction", jc = /* @__PURE__ */
|
|
8664
|
+
}), T$ = "ToastAction", jc = /* @__PURE__ */ R((e, t) => {
|
|
8657
8665
|
const { altText: n, ...r } = e;
|
|
8658
8666
|
return n ? /* @__PURE__ */ _(Yc, {
|
|
8659
8667
|
altText: n,
|
|
8660
8668
|
asChild: !0
|
|
8661
|
-
}, /* @__PURE__ */ _(Gc,
|
|
8669
|
+
}, /* @__PURE__ */ _(Gc, O({}, r, {
|
|
8662
8670
|
ref: t
|
|
8663
8671
|
}))) : null;
|
|
8664
8672
|
});
|
|
@@ -8667,19 +8675,19 @@ jc.propTypes = {
|
|
|
8667
8675
|
return e.altText ? null : new Error(`Missing prop \`altText\` expected on \`${T$}\``);
|
|
8668
8676
|
}
|
|
8669
8677
|
};
|
|
8670
|
-
const C$ = "ToastClose", Gc = /* @__PURE__ */
|
|
8678
|
+
const C$ = "ToastClose", Gc = /* @__PURE__ */ R((e, t) => {
|
|
8671
8679
|
const { __scopeToast: n, ...r } = e, o = x$(C$, n);
|
|
8672
8680
|
return /* @__PURE__ */ _(Yc, {
|
|
8673
8681
|
asChild: !0
|
|
8674
|
-
}, /* @__PURE__ */ _(U.button,
|
|
8682
|
+
}, /* @__PURE__ */ _(U.button, O({
|
|
8675
8683
|
type: "button"
|
|
8676
8684
|
}, r, {
|
|
8677
8685
|
ref: t,
|
|
8678
8686
|
onClick: V(e.onClick, o.onClose)
|
|
8679
8687
|
})));
|
|
8680
|
-
}), Yc = /* @__PURE__ */
|
|
8688
|
+
}), Yc = /* @__PURE__ */ R((e, t) => {
|
|
8681
8689
|
const { __scopeToast: n, altText: r, ...o } = e;
|
|
8682
|
-
return /* @__PURE__ */ _(U.div,
|
|
8690
|
+
return /* @__PURE__ */ _(U.div, O({
|
|
8683
8691
|
"data-radix-toast-announce-exclude": "",
|
|
8684
8692
|
"data-radix-toast-announce-alt": r || void 0
|
|
8685
8693
|
}, o, {
|
|
@@ -8922,13 +8930,13 @@ const cr = "rovingFocusGroup.onEntryFocus", G$ = {
|
|
|
8922
8930
|
cancelable: !0
|
|
8923
8931
|
}, go = "RovingFocusGroup", [Ir, Xc, Y$] = po(go), [q$, Zc] = we(go, [
|
|
8924
8932
|
Y$
|
|
8925
|
-
]), [X$, Z$] = q$(go), J$ = /* @__PURE__ */
|
|
8933
|
+
]), [X$, Z$] = q$(go), J$ = /* @__PURE__ */ R((e, t) => /* @__PURE__ */ _(Ir.Provider, {
|
|
8926
8934
|
scope: e.__scopeRovingFocusGroup
|
|
8927
8935
|
}, /* @__PURE__ */ _(Ir.Slot, {
|
|
8928
8936
|
scope: e.__scopeRovingFocusGroup
|
|
8929
|
-
}, /* @__PURE__ */ _(Q$,
|
|
8937
|
+
}, /* @__PURE__ */ _(Q$, O({}, e, {
|
|
8930
8938
|
ref: t
|
|
8931
|
-
}))))), Q$ = /* @__PURE__ */
|
|
8939
|
+
}))))), Q$ = /* @__PURE__ */ R((e, t) => {
|
|
8932
8940
|
const { __scopeRovingFocusGroup: n, orientation: r, loop: o = !1, dir: a, currentTabStopId: i, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: l, onEntryFocus: u, ...d } = e, f = I(null), m = ne(t, f), p = mo(a), [g = null, b] = Fe({
|
|
8933
8941
|
prop: i,
|
|
8934
8942
|
defaultProp: s,
|
|
@@ -8968,7 +8976,7 @@ const cr = "rovingFocusGroup.onEntryFocus", G$ = {
|
|
|
8968
8976
|
),
|
|
8969
8977
|
[]
|
|
8970
8978
|
)
|
|
8971
|
-
}, /* @__PURE__ */ _(U.div,
|
|
8979
|
+
}, /* @__PURE__ */ _(U.div, O({
|
|
8972
8980
|
tabIndex: h || D === 0 ? -1 : 0,
|
|
8973
8981
|
"data-orientation": r
|
|
8974
8982
|
}, d, {
|
|
@@ -9008,7 +9016,7 @@ const cr = "rovingFocusGroup.onEntryFocus", G$ = {
|
|
|
9008
9016
|
() => y(!1)
|
|
9009
9017
|
)
|
|
9010
9018
|
})));
|
|
9011
|
-
}), em = "RovingFocusGroupItem", tm = /* @__PURE__ */
|
|
9019
|
+
}), em = "RovingFocusGroupItem", tm = /* @__PURE__ */ R((e, t) => {
|
|
9012
9020
|
const { __scopeRovingFocusGroup: n, focusable: r = !0, active: o = !1, ...a } = e, i = Ke(), s = Z$(em, n), l = s.currentTabStopId === i, u = Xc(n), { onFocusableItemAdd: d, onFocusableItemRemove: f } = s;
|
|
9013
9021
|
return W(() => {
|
|
9014
9022
|
if (r)
|
|
@@ -9022,7 +9030,7 @@ const cr = "rovingFocusGroup.onEntryFocus", G$ = {
|
|
|
9022
9030
|
id: i,
|
|
9023
9031
|
focusable: r,
|
|
9024
9032
|
active: o
|
|
9025
|
-
}, /* @__PURE__ */ _(U.span,
|
|
9033
|
+
}, /* @__PURE__ */ _(U.span, O({
|
|
9026
9034
|
tabIndex: l ? 0 : -1,
|
|
9027
9035
|
"data-orientation": s.orientation
|
|
9028
9036
|
}, a, {
|
|
@@ -9097,7 +9105,7 @@ function am(e, t) {
|
|
|
9097
9105
|
(n, r) => e[(t + r) % e.length]
|
|
9098
9106
|
);
|
|
9099
9107
|
}
|
|
9100
|
-
const im = J$, sm = tm, Qc = "Radio", [cm, el] = we(Qc), [lm, dm] = cm(Qc), um = /* @__PURE__ */
|
|
9108
|
+
const im = J$, sm = tm, Qc = "Radio", [cm, el] = we(Qc), [lm, dm] = cm(Qc), um = /* @__PURE__ */ R((e, t) => {
|
|
9101
9109
|
const { __scopeRadio: n, name: r, checked: o = !1, required: a, disabled: i, value: s = "on", onCheck: l, ...u } = e, [d, f] = H(null), m = ne(
|
|
9102
9110
|
t,
|
|
9103
9111
|
(b) => f(b)
|
|
@@ -9106,7 +9114,7 @@ const im = J$, sm = tm, Qc = "Radio", [cm, el] = we(Qc), [lm, dm] = cm(Qc), um =
|
|
|
9106
9114
|
scope: n,
|
|
9107
9115
|
checked: o,
|
|
9108
9116
|
disabled: i
|
|
9109
|
-
}, /* @__PURE__ */ _(U.button,
|
|
9117
|
+
}, /* @__PURE__ */ _(U.button, O({
|
|
9110
9118
|
type: "button",
|
|
9111
9119
|
role: "radio",
|
|
9112
9120
|
"aria-checked": o,
|
|
@@ -9131,11 +9139,11 @@ const im = J$, sm = tm, Qc = "Radio", [cm, el] = we(Qc), [lm, dm] = cm(Qc), um =
|
|
|
9131
9139
|
transform: "translateX(-100%)"
|
|
9132
9140
|
}
|
|
9133
9141
|
}));
|
|
9134
|
-
}), fm = "RadioIndicator", pm = /* @__PURE__ */
|
|
9142
|
+
}), fm = "RadioIndicator", pm = /* @__PURE__ */ R((e, t) => {
|
|
9135
9143
|
const { __scopeRadio: n, forceMount: r, ...o } = e, a = dm(fm, n);
|
|
9136
9144
|
return /* @__PURE__ */ _(Se, {
|
|
9137
9145
|
present: r || a.checked
|
|
9138
|
-
}, /* @__PURE__ */ _(U.span,
|
|
9146
|
+
}, /* @__PURE__ */ _(U.span, O({
|
|
9139
9147
|
"data-state": tl(a.checked),
|
|
9140
9148
|
"data-disabled": a.disabled ? "" : void 0
|
|
9141
9149
|
}, o, {
|
|
@@ -9155,7 +9163,7 @@ const im = J$, sm = tm, Qc = "Radio", [cm, el] = we(Qc), [lm, dm] = cm(Qc), um =
|
|
|
9155
9163
|
i,
|
|
9156
9164
|
n,
|
|
9157
9165
|
r
|
|
9158
|
-
]), /* @__PURE__ */ _("input",
|
|
9166
|
+
]), /* @__PURE__ */ _("input", O({
|
|
9159
9167
|
type: "radio",
|
|
9160
9168
|
"aria-hidden": !0,
|
|
9161
9169
|
defaultChecked: n
|
|
@@ -9183,7 +9191,7 @@ const $m = [
|
|
|
9183
9191
|
], nl = "RadioGroup", [mm, ov] = we(nl, [
|
|
9184
9192
|
Zc,
|
|
9185
9193
|
el
|
|
9186
|
-
]), rl = Zc(), ol = el(), [gm, hm] = mm(nl), vm = /* @__PURE__ */
|
|
9194
|
+
]), rl = Zc(), ol = el(), [gm, hm] = mm(nl), vm = /* @__PURE__ */ R((e, t) => {
|
|
9187
9195
|
const { __scopeRadioGroup: n, name: r, defaultValue: o, value: a, required: i = !1, disabled: s = !1, orientation: l, dir: u, loop: d = !0, onValueChange: f, ...m } = e, p = rl(n), g = mo(u), [b, h] = Fe({
|
|
9188
9196
|
prop: a,
|
|
9189
9197
|
defaultProp: o,
|
|
@@ -9196,13 +9204,13 @@ const $m = [
|
|
|
9196
9204
|
disabled: s,
|
|
9197
9205
|
value: b,
|
|
9198
9206
|
onValueChange: h
|
|
9199
|
-
}, /* @__PURE__ */ _(im,
|
|
9207
|
+
}, /* @__PURE__ */ _(im, O({
|
|
9200
9208
|
asChild: !0
|
|
9201
9209
|
}, p, {
|
|
9202
9210
|
orientation: l,
|
|
9203
9211
|
dir: g,
|
|
9204
9212
|
loop: d
|
|
9205
|
-
}), /* @__PURE__ */ _(U.div,
|
|
9213
|
+
}), /* @__PURE__ */ _(U.div, O({
|
|
9206
9214
|
role: "radiogroup",
|
|
9207
9215
|
"aria-required": i,
|
|
9208
9216
|
"aria-orientation": l,
|
|
@@ -9211,7 +9219,7 @@ const $m = [
|
|
|
9211
9219
|
}, m, {
|
|
9212
9220
|
ref: t
|
|
9213
9221
|
}))));
|
|
9214
|
-
}), _m = "RadioGroupItem", ym = /* @__PURE__ */
|
|
9222
|
+
}), _m = "RadioGroupItem", ym = /* @__PURE__ */ R((e, t) => {
|
|
9215
9223
|
const { __scopeRadioGroup: n, disabled: r, ...o } = e, a = hm(_m, n), i = a.disabled || r, s = rl(n), l = ol(n), u = I(null), d = ne(t, u), f = a.value === o.value, m = I(!1);
|
|
9216
9224
|
return W(() => {
|
|
9217
9225
|
const p = (b) => {
|
|
@@ -9220,12 +9228,12 @@ const $m = [
|
|
|
9220
9228
|
return document.addEventListener("keydown", p), document.addEventListener("keyup", g), () => {
|
|
9221
9229
|
document.removeEventListener("keydown", p), document.removeEventListener("keyup", g);
|
|
9222
9230
|
};
|
|
9223
|
-
}, []), /* @__PURE__ */ _(sm,
|
|
9231
|
+
}, []), /* @__PURE__ */ _(sm, O({
|
|
9224
9232
|
asChild: !0
|
|
9225
9233
|
}, s, {
|
|
9226
9234
|
focusable: !i,
|
|
9227
9235
|
active: f
|
|
9228
|
-
}), /* @__PURE__ */ _(um,
|
|
9236
|
+
}), /* @__PURE__ */ _(um, O({
|
|
9229
9237
|
disabled: i,
|
|
9230
9238
|
required: a.required,
|
|
9231
9239
|
checked: f
|
|
@@ -9241,9 +9249,9 @@ const $m = [
|
|
|
9241
9249
|
m.current && ((p = u.current) === null || p === void 0 || p.click());
|
|
9242
9250
|
})
|
|
9243
9251
|
})));
|
|
9244
|
-
}), xm = /* @__PURE__ */
|
|
9252
|
+
}), xm = /* @__PURE__ */ R((e, t) => {
|
|
9245
9253
|
const { __scopeRadioGroup: n, ...r } = e, o = ol(n);
|
|
9246
|
-
return /* @__PURE__ */ _(pm,
|
|
9254
|
+
return /* @__PURE__ */ _(pm, O({}, o, r, {
|
|
9247
9255
|
ref: t
|
|
9248
9256
|
}));
|
|
9249
9257
|
}), wm = vm, Pm = ym, Tm = xm, al = k(Pm)`
|
|
@@ -9430,7 +9438,7 @@ const Sm = [
|
|
|
9430
9438
|
}, C === void 0 ? /* @__PURE__ */ _("option", {
|
|
9431
9439
|
value: ""
|
|
9432
9440
|
}) : null, Array.from(T)) : null);
|
|
9433
|
-
}, Lm = "SelectTrigger", Fm = /* @__PURE__ */
|
|
9441
|
+
}, Lm = "SelectTrigger", Fm = /* @__PURE__ */ R((e, t) => {
|
|
9434
9442
|
const { __scopeSelect: n, disabled: r = !1, ...o } = e, a = At(Lm, n), i = a.disabled || r, s = ne(t, a.onTriggerChange), l = ho(n), [u, d, f] = dl((p) => {
|
|
9435
9443
|
const g = l().filter(
|
|
9436
9444
|
(y) => !y.disabled
|
|
@@ -9441,7 +9449,7 @@ const Sm = [
|
|
|
9441
9449
|
}), m = () => {
|
|
9442
9450
|
i || (a.onOpenChange(!0), f());
|
|
9443
9451
|
};
|
|
9444
|
-
return /* @__PURE__ */ _(U.button,
|
|
9452
|
+
return /* @__PURE__ */ _(U.button, O({
|
|
9445
9453
|
type: "button",
|
|
9446
9454
|
role: "combobox",
|
|
9447
9455
|
"aria-controls": a.contentId,
|
|
@@ -9470,40 +9478,40 @@ const Sm = [
|
|
|
9470
9478
|
!(p.ctrlKey || p.altKey || p.metaKey) && p.key.length === 1 && d(p.key), !(g && p.key === " ") && Sm.includes(p.key) && (m(), p.preventDefault());
|
|
9471
9479
|
})
|
|
9472
9480
|
}));
|
|
9473
|
-
}), Nm = "SelectValue", Mm = /* @__PURE__ */
|
|
9481
|
+
}), Nm = "SelectValue", Mm = /* @__PURE__ */ R((e, t) => {
|
|
9474
9482
|
const { __scopeSelect: n, className: r, style: o, children: a, placeholder: i, ...s } = e, l = At(Nm, n), { onValueNodeHasChildrenChange: u } = l, d = a !== void 0, f = ne(t, l.onValueNodeChange);
|
|
9475
9483
|
return he(() => {
|
|
9476
9484
|
u(d);
|
|
9477
9485
|
}, [
|
|
9478
9486
|
u,
|
|
9479
9487
|
d
|
|
9480
|
-
]), /* @__PURE__ */ _(U.span,
|
|
9488
|
+
]), /* @__PURE__ */ _(U.span, O({}, s, {
|
|
9481
9489
|
ref: f,
|
|
9482
9490
|
style: {
|
|
9483
9491
|
pointerEvents: "none"
|
|
9484
9492
|
}
|
|
9485
9493
|
}), l.value === void 0 && i !== void 0 ? i : a);
|
|
9486
|
-
}), zm = /* @__PURE__ */
|
|
9494
|
+
}), zm = /* @__PURE__ */ R((e, t) => {
|
|
9487
9495
|
const { __scopeSelect: n, children: r, ...o } = e;
|
|
9488
|
-
return /* @__PURE__ */ _(U.span,
|
|
9496
|
+
return /* @__PURE__ */ _(U.span, O({
|
|
9489
9497
|
"aria-hidden": !0
|
|
9490
9498
|
}, o, {
|
|
9491
9499
|
ref: t
|
|
9492
9500
|
}), r || "\u25BC");
|
|
9493
|
-
}), Bm = (e) => /* @__PURE__ */ _(jt,
|
|
9501
|
+
}), Bm = (e) => /* @__PURE__ */ _(jt, O({
|
|
9494
9502
|
asChild: !0
|
|
9495
|
-
}, e)), vo = "SelectContent", Vm = /* @__PURE__ */
|
|
9503
|
+
}, e)), vo = "SelectContent", Vm = /* @__PURE__ */ R((e, t) => {
|
|
9496
9504
|
const n = At(vo, e.__scopeSelect), [r, o] = H();
|
|
9497
9505
|
return he(() => {
|
|
9498
9506
|
o(new DocumentFragment());
|
|
9499
|
-
}, []), /* @__PURE__ */ _(nt, null, n.open ? /* @__PURE__ */ _(Wm,
|
|
9507
|
+
}, []), /* @__PURE__ */ _(nt, null, n.open ? /* @__PURE__ */ _(Wm, O({}, e, {
|
|
9500
9508
|
ref: t
|
|
9501
9509
|
})) : r ? /* @__PURE__ */ Lr(/* @__PURE__ */ _(il, {
|
|
9502
9510
|
scope: e.__scopeSelect
|
|
9503
9511
|
}, /* @__PURE__ */ _(Hn.Slot, {
|
|
9504
9512
|
scope: e.__scopeSelect
|
|
9505
9513
|
}, /* @__PURE__ */ _("div", null, e.children))), r) : null);
|
|
9506
|
-
}), et = 10, [il, Lt] = Xt(vo), Wm = /* @__PURE__ */
|
|
9514
|
+
}), et = 10, [il, Lt] = Xt(vo), Wm = /* @__PURE__ */ R((e, t) => {
|
|
9507
9515
|
const { __scopeSelect: n, onCloseAutoFocus: r, ...o } = e, a = At(vo, n), [i, s] = H(null), [l, u] = H(null), [d, f] = H(null), m = ne(
|
|
9508
9516
|
t,
|
|
9509
9517
|
(z) => u(z)
|
|
@@ -9703,7 +9711,7 @@ const Sm = [
|
|
|
9703
9711
|
preventScroll: !0
|
|
9704
9712
|
}), z.preventDefault();
|
|
9705
9713
|
})
|
|
9706
|
-
}, /* @__PURE__ */ _(Ut,
|
|
9714
|
+
}, /* @__PURE__ */ _(Ut, O({
|
|
9707
9715
|
role: "listbox",
|
|
9708
9716
|
id: a.contentId,
|
|
9709
9717
|
"data-state": a.open ? "open" : "closed",
|
|
@@ -9751,7 +9759,7 @@ const Sm = [
|
|
|
9751
9759
|
}
|
|
9752
9760
|
})
|
|
9753
9761
|
}))))));
|
|
9754
|
-
}), Hm = "SelectViewport", Km = /* @__PURE__ */
|
|
9762
|
+
}), Hm = "SelectViewport", Km = /* @__PURE__ */ R((e, t) => {
|
|
9755
9763
|
const { __scopeSelect: n, ...r } = e, o = Lt(Hm, n), a = ne(t, o.onViewportChange), i = I(0);
|
|
9756
9764
|
return /* @__PURE__ */ _(nt, null, /* @__PURE__ */ _("style", {
|
|
9757
9765
|
dangerouslySetInnerHTML: {
|
|
@@ -9759,7 +9767,7 @@ const Sm = [
|
|
|
9759
9767
|
}
|
|
9760
9768
|
}), /* @__PURE__ */ _(Hn.Slot, {
|
|
9761
9769
|
scope: n
|
|
9762
|
-
}, /* @__PURE__ */ _(U.div,
|
|
9770
|
+
}, /* @__PURE__ */ _(U.div, O({
|
|
9763
9771
|
"data-radix-select-viewport": "",
|
|
9764
9772
|
role: "presentation"
|
|
9765
9773
|
}, r, {
|
|
@@ -9785,25 +9793,25 @@ const Sm = [
|
|
|
9785
9793
|
i.current = l.scrollTop;
|
|
9786
9794
|
})
|
|
9787
9795
|
}))));
|
|
9788
|
-
}), Um = "SelectGroup", [jm, Gm] = Xt(Um), Ym = /* @__PURE__ */
|
|
9796
|
+
}), Um = "SelectGroup", [jm, Gm] = Xt(Um), Ym = /* @__PURE__ */ R((e, t) => {
|
|
9789
9797
|
const { __scopeSelect: n, ...r } = e, o = Ke();
|
|
9790
9798
|
return /* @__PURE__ */ _(jm, {
|
|
9791
9799
|
scope: n,
|
|
9792
9800
|
id: o
|
|
9793
|
-
}, /* @__PURE__ */ _(U.div,
|
|
9801
|
+
}, /* @__PURE__ */ _(U.div, O({
|
|
9794
9802
|
role: "group",
|
|
9795
9803
|
"aria-labelledby": o
|
|
9796
9804
|
}, r, {
|
|
9797
9805
|
ref: t
|
|
9798
9806
|
})));
|
|
9799
|
-
}), qm = "SelectLabel", Xm = /* @__PURE__ */
|
|
9807
|
+
}), qm = "SelectLabel", Xm = /* @__PURE__ */ R((e, t) => {
|
|
9800
9808
|
const { __scopeSelect: n, ...r } = e, o = Gm(qm, n);
|
|
9801
|
-
return /* @__PURE__ */ _(U.div,
|
|
9809
|
+
return /* @__PURE__ */ _(U.div, O({
|
|
9802
9810
|
id: o.id
|
|
9803
9811
|
}, r, {
|
|
9804
9812
|
ref: t
|
|
9805
9813
|
}));
|
|
9806
|
-
}), Ar = "SelectItem", [Zm, sl] = Xt(Ar), Jm = /* @__PURE__ */
|
|
9814
|
+
}), Ar = "SelectItem", [Zm, sl] = Xt(Ar), Jm = /* @__PURE__ */ R((e, t) => {
|
|
9807
9815
|
const { __scopeSelect: n, value: r, disabled: o = !1, textValue: a, ...i } = e, s = At(Ar, n), l = Lt(Ar, n), u = s.value === r, [d, f] = H(a != null ? a : ""), [m, p] = H(!1), g = ne(t, (y) => {
|
|
9808
9816
|
var v;
|
|
9809
9817
|
return (v = l.itemRefCallback) === null || v === void 0 ? void 0 : v.call(l, y, r, o);
|
|
@@ -9827,7 +9835,7 @@ const Sm = [
|
|
|
9827
9835
|
value: r,
|
|
9828
9836
|
disabled: o,
|
|
9829
9837
|
textValue: d
|
|
9830
|
-
}, /* @__PURE__ */ _(U.div,
|
|
9838
|
+
}, /* @__PURE__ */ _(U.div, O({
|
|
9831
9839
|
role: "option",
|
|
9832
9840
|
"aria-labelledby": b,
|
|
9833
9841
|
"data-highlighted": m ? "" : void 0,
|
|
@@ -9867,7 +9875,7 @@ const Sm = [
|
|
|
9867
9875
|
((v = l.searchRef) === null || v === void 0 ? void 0 : v.current) !== "" && y.key === " " || (km.includes(y.key) && h(), y.key === " " && y.preventDefault());
|
|
9868
9876
|
})
|
|
9869
9877
|
}))));
|
|
9870
|
-
}), cn = "SelectItemText", Qm = /* @__PURE__ */
|
|
9878
|
+
}), cn = "SelectItemText", Qm = /* @__PURE__ */ R((e, t) => {
|
|
9871
9879
|
const { __scopeSelect: n, className: r, style: o, ...a } = e, i = At(cn, n), s = Lt(cn, n), l = sl(cn, n), u = Im(cn, n), [d, f] = H(null), m = ne(
|
|
9872
9880
|
t,
|
|
9873
9881
|
(y) => f(y),
|
|
@@ -9892,19 +9900,19 @@ const Sm = [
|
|
|
9892
9900
|
b,
|
|
9893
9901
|
h,
|
|
9894
9902
|
g
|
|
9895
|
-
]), /* @__PURE__ */ _(nt, null, /* @__PURE__ */ _(U.span,
|
|
9903
|
+
]), /* @__PURE__ */ _(nt, null, /* @__PURE__ */ _(U.span, O({
|
|
9896
9904
|
id: l.textId
|
|
9897
9905
|
}, a, {
|
|
9898
9906
|
ref: m
|
|
9899
9907
|
})), l.isSelected && i.valueNode && !i.valueNodeHasChildren ? /* @__PURE__ */ Lr(a.children, i.valueNode) : null);
|
|
9900
|
-
}), eg = "SelectItemIndicator", tg = /* @__PURE__ */
|
|
9908
|
+
}), eg = "SelectItemIndicator", tg = /* @__PURE__ */ R((e, t) => {
|
|
9901
9909
|
const { __scopeSelect: n, ...r } = e;
|
|
9902
|
-
return sl(eg, n).isSelected ? /* @__PURE__ */ _(U.span,
|
|
9910
|
+
return sl(eg, n).isSelected ? /* @__PURE__ */ _(U.span, O({
|
|
9903
9911
|
"aria-hidden": !0
|
|
9904
9912
|
}, r, {
|
|
9905
9913
|
ref: t
|
|
9906
9914
|
})) : null;
|
|
9907
|
-
}), ng = "SelectScrollUpButton", rg = /* @__PURE__ */
|
|
9915
|
+
}), ng = "SelectScrollUpButton", rg = /* @__PURE__ */ R((e, t) => {
|
|
9908
9916
|
const n = Lt(ng, e.__scopeSelect), [r, o] = H(!1), a = ne(t, n.onScrollButtonChange);
|
|
9909
9917
|
return he(() => {
|
|
9910
9918
|
if (n.viewport && n.isPositioned) {
|
|
@@ -9918,14 +9926,14 @@ const Sm = [
|
|
|
9918
9926
|
}, [
|
|
9919
9927
|
n.viewport,
|
|
9920
9928
|
n.isPositioned
|
|
9921
|
-
]), r ? /* @__PURE__ */ _(cl,
|
|
9929
|
+
]), r ? /* @__PURE__ */ _(cl, O({}, e, {
|
|
9922
9930
|
ref: a,
|
|
9923
9931
|
onAutoScroll: () => {
|
|
9924
9932
|
const { viewport: i, selectedItem: s } = n;
|
|
9925
9933
|
i && s && (i.scrollTop = i.scrollTop - s.offsetHeight);
|
|
9926
9934
|
}
|
|
9927
9935
|
})) : null;
|
|
9928
|
-
}), og = "SelectScrollDownButton", ag = /* @__PURE__ */
|
|
9936
|
+
}), og = "SelectScrollDownButton", ag = /* @__PURE__ */ R((e, t) => {
|
|
9929
9937
|
const n = Lt(og, e.__scopeSelect), [r, o] = H(!1), a = ne(t, n.onScrollButtonChange);
|
|
9930
9938
|
return he(() => {
|
|
9931
9939
|
if (n.viewport && n.isPositioned) {
|
|
@@ -9939,14 +9947,14 @@ const Sm = [
|
|
|
9939
9947
|
}, [
|
|
9940
9948
|
n.viewport,
|
|
9941
9949
|
n.isPositioned
|
|
9942
|
-
]), r ? /* @__PURE__ */ _(cl,
|
|
9950
|
+
]), r ? /* @__PURE__ */ _(cl, O({}, e, {
|
|
9943
9951
|
ref: a,
|
|
9944
9952
|
onAutoScroll: () => {
|
|
9945
9953
|
const { viewport: i, selectedItem: s } = n;
|
|
9946
9954
|
i && s && (i.scrollTop = i.scrollTop + s.offsetHeight);
|
|
9947
9955
|
}
|
|
9948
9956
|
})) : null;
|
|
9949
|
-
}), cl = /* @__PURE__ */
|
|
9957
|
+
}), cl = /* @__PURE__ */ R((e, t) => {
|
|
9950
9958
|
const { __scopeSelect: n, onAutoScroll: r, ...o } = e, a = Lt("SelectScrollButton", n), i = I(null), s = ho(n), l = B(() => {
|
|
9951
9959
|
i.current !== null && (window.clearInterval(i.current), i.current = null);
|
|
9952
9960
|
}, []);
|
|
@@ -9962,7 +9970,7 @@ const Sm = [
|
|
|
9962
9970
|
});
|
|
9963
9971
|
}, [
|
|
9964
9972
|
s
|
|
9965
|
-
]), /* @__PURE__ */ _(U.div,
|
|
9973
|
+
]), /* @__PURE__ */ _(U.div, O({
|
|
9966
9974
|
"aria-hidden": !0
|
|
9967
9975
|
}, o, {
|
|
9968
9976
|
ref: t,
|
|
@@ -9978,14 +9986,14 @@ const Sm = [
|
|
|
9978
9986
|
l();
|
|
9979
9987
|
})
|
|
9980
9988
|
}));
|
|
9981
|
-
}), ig = /* @__PURE__ */
|
|
9989
|
+
}), ig = /* @__PURE__ */ R((e, t) => {
|
|
9982
9990
|
const { __scopeSelect: n, ...r } = e;
|
|
9983
|
-
return /* @__PURE__ */ _(U.div,
|
|
9991
|
+
return /* @__PURE__ */ _(U.div, O({
|
|
9984
9992
|
"aria-hidden": !0
|
|
9985
9993
|
}, r, {
|
|
9986
9994
|
ref: t
|
|
9987
9995
|
}));
|
|
9988
|
-
}), ll = /* @__PURE__ */
|
|
9996
|
+
}), ll = /* @__PURE__ */ R((e, t) => {
|
|
9989
9997
|
const { value: n, ...r } = e, o = I(null), a = ne(t, o), i = On(n);
|
|
9990
9998
|
return W(() => {
|
|
9991
9999
|
const s = o.current, l = window.HTMLSelectElement.prototype, d = Object.getOwnPropertyDescriptor(l, "value").set;
|
|
@@ -10000,7 +10008,7 @@ const Sm = [
|
|
|
10000
10008
|
n
|
|
10001
10009
|
]), /* @__PURE__ */ _(wn, {
|
|
10002
10010
|
asChild: !0
|
|
10003
|
-
}, /* @__PURE__ */ _("select",
|
|
10011
|
+
}, /* @__PURE__ */ _("select", O({}, r, {
|
|
10004
10012
|
ref: a,
|
|
10005
10013
|
defaultValue: n
|
|
10006
10014
|
})));
|
|
@@ -10187,7 +10195,7 @@ function bv({
|
|
|
10187
10195
|
})]
|
|
10188
10196
|
});
|
|
10189
10197
|
}
|
|
10190
|
-
const pl = "Switch", [Bg, $v] = we(pl), [Vg, Wg] = Bg(pl), Hg = /* @__PURE__ */
|
|
10198
|
+
const pl = "Switch", [Bg, $v] = we(pl), [Vg, Wg] = Bg(pl), Hg = /* @__PURE__ */ R((e, t) => {
|
|
10191
10199
|
const { __scopeSwitch: n, name: r, checked: o, defaultChecked: a, required: i, disabled: s, value: l = "on", onCheckedChange: u, ...d } = e, [f, m] = H(null), p = ne(
|
|
10192
10200
|
t,
|
|
10193
10201
|
(v) => m(v)
|
|
@@ -10200,7 +10208,7 @@ const pl = "Switch", [Bg, $v] = we(pl), [Vg, Wg] = Bg(pl), Hg = /* @__PURE__ */
|
|
|
10200
10208
|
scope: n,
|
|
10201
10209
|
checked: h,
|
|
10202
10210
|
disabled: s
|
|
10203
|
-
}, /* @__PURE__ */ _(U.button,
|
|
10211
|
+
}, /* @__PURE__ */ _(U.button, O({
|
|
10204
10212
|
type: "button",
|
|
10205
10213
|
role: "switch",
|
|
10206
10214
|
"aria-checked": h,
|
|
@@ -10228,9 +10236,9 @@ const pl = "Switch", [Bg, $v] = we(pl), [Vg, Wg] = Bg(pl), Hg = /* @__PURE__ */
|
|
|
10228
10236
|
transform: "translateX(-100%)"
|
|
10229
10237
|
}
|
|
10230
10238
|
}));
|
|
10231
|
-
}), Kg = "SwitchThumb", Ug = /* @__PURE__ */
|
|
10239
|
+
}), Kg = "SwitchThumb", Ug = /* @__PURE__ */ R((e, t) => {
|
|
10232
10240
|
const { __scopeSwitch: n, ...r } = e, o = Wg(Kg, n);
|
|
10233
|
-
return /* @__PURE__ */ _(U.span,
|
|
10241
|
+
return /* @__PURE__ */ _(U.span, O({
|
|
10234
10242
|
"data-state": bl(o.checked),
|
|
10235
10243
|
"data-disabled": o.disabled ? "" : void 0
|
|
10236
10244
|
}, r, {
|
|
@@ -10250,7 +10258,7 @@ const pl = "Switch", [Bg, $v] = we(pl), [Vg, Wg] = Bg(pl), Hg = /* @__PURE__ */
|
|
|
10250
10258
|
i,
|
|
10251
10259
|
n,
|
|
10252
10260
|
r
|
|
10253
|
-
]), /* @__PURE__ */ _("input",
|
|
10261
|
+
]), /* @__PURE__ */ _("input", O({
|
|
10254
10262
|
type: "checkbox",
|
|
10255
10263
|
"aria-hidden": !0,
|
|
10256
10264
|
defaultChecked: n
|
|
@@ -10330,7 +10338,7 @@ const Gg = Hg, Yg = Ug, qg = k(Gg)`
|
|
|
10330
10338
|
&[data-state='checked'] {
|
|
10331
10339
|
transform: translateX(19px);
|
|
10332
10340
|
}
|
|
10333
|
-
`, mv =
|
|
10341
|
+
`, mv = R((e, t) => {
|
|
10334
10342
|
const {
|
|
10335
10343
|
disabled: n,
|
|
10336
10344
|
...r
|
|
@@ -10463,7 +10471,7 @@ const ph = {
|
|
|
10463
10471
|
notice: c.color_text_sentiment_notice,
|
|
10464
10472
|
neutral: c.color_text_sentiment_neutral
|
|
10465
10473
|
}
|
|
10466
|
-
}, $h =
|
|
10474
|
+
}, $h = R((e, t) => {
|
|
10467
10475
|
const {
|
|
10468
10476
|
type: n = "body",
|
|
10469
10477
|
textType: r = "normal",
|
|
@@ -10492,6 +10500,7 @@ const Un = k.h1`
|
|
|
10492
10500
|
font-weight: 500; // don't really see value of using tokens for font-weight
|
|
10493
10501
|
margin: 0;
|
|
10494
10502
|
padding-inline: 0;
|
|
10503
|
+
color: ${c.color_text_strong};
|
|
10495
10504
|
`, mh = k(Un)`
|
|
10496
10505
|
font-size: ${c.font_size_title_large};
|
|
10497
10506
|
letter-spacing: ${c.letter_spacing_title_large};
|
|
@@ -10509,7 +10518,7 @@ const Un = k.h1`
|
|
|
10509
10518
|
small: hh,
|
|
10510
10519
|
medium: gh,
|
|
10511
10520
|
large: mh
|
|
10512
|
-
}, yh =
|
|
10521
|
+
}, yh = R((e, t) => {
|
|
10513
10522
|
const {
|
|
10514
10523
|
children: n,
|
|
10515
10524
|
size: r,
|
|
@@ -10535,6 +10544,8 @@ export {
|
|
|
10535
10544
|
Mh as AlertDialogTitle,
|
|
10536
10545
|
Wh as AlertDialogTrigger,
|
|
10537
10546
|
fb as BreadcrumbItem,
|
|
10547
|
+
cb as BreadcrumbLink,
|
|
10548
|
+
us as BreadcrumbListItem,
|
|
10538
10549
|
ub as Breadcrumbs,
|
|
10539
10550
|
Sb as Button,
|
|
10540
10551
|
Jh as Checkbox,
|