@oxymormon/chg-unified-ds 0.2.11 → 0.2.13
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/index.cjs.js +1 -1
- package/dist/index.es.js +216 -192
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as h, Fragment as h2 } from "react/jsx-runtime";
|
|
2
|
-
import { DisclosureGroup as O0, Disclosure as _0, Heading as U0, Button as
|
|
2
|
+
import { DisclosureGroup as O0, Disclosure as _0, Heading as U0, Button as B2, DisclosurePanel as q0, Link as K0, Radio as X0, RadioGroup as Y0, Slider as J0, SliderTrack as Q0, SliderThumb as n0, SliderOutput as a0, Tabs as e1, TabList as t1, Tab as o1, TabPanel as r1, Switch as n1, Tooltip as a1, OverlayArrow as i1, TooltipTrigger as l1 } from "react-aria-components";
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import { isValidElement as t2, useRef as s1, useState as x0, useCallback as J, createContext as $2, forwardRef as U2, Children as i0, cloneElement as c1, useContext as b2 } from "react";
|
|
5
5
|
const d1 = (e, t) => {
|
|
@@ -273,21 +273,21 @@ const d1 = (e, t) => {
|
|
|
273
273
|
return i(C, g), g;
|
|
274
274
|
};
|
|
275
275
|
return l = s, (...C) => l(N1(...C));
|
|
276
|
-
},
|
|
277
|
-
const t = (o) => o[e] ||
|
|
276
|
+
}, z1 = [], L = (e) => {
|
|
277
|
+
const t = (o) => o[e] || z1;
|
|
278
278
|
return t.isThemeGetter = !0, t;
|
|
279
|
-
}, H0 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, M0 = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
279
|
+
}, H0 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, M0 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, A1 = /^\d+\/\d+$/, E1 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, S1 = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, j1 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, I1 = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, B1 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, r2 = (e) => A1.test(e), y = (e) => !!e && !Number.isNaN(Number(e)), _ = (e) => !!e && Number.isInteger(Number(e)), G2 = (e) => e.endsWith("%") && y(e.slice(0, -1)), W = (e) => E1.test(e), $1 = () => !0, R1 = (e) => (
|
|
280
280
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
281
281
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
282
282
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
283
283
|
S1.test(e) && !j1.test(e)
|
|
284
|
-
), Z0 = () => !1, F1 = (e) =>
|
|
284
|
+
), Z0 = () => !1, F1 = (e) => I1.test(e), T1 = (e) => B1.test(e), P1 = (e) => !p(e) && !u(e), G1 = (e) => l2(e, N0, Z0), p = (e) => H0.test(e), Q = (e) => l2(e, z0, R1), D2 = (e) => l2(e, U1, y), C0 = (e) => l2(e, k0, Z0), D1 = (e) => l2(e, L0, T1), M2 = (e) => l2(e, A0, F1), u = (e) => M0.test(e), d2 = (e) => s2(e, z0), W1 = (e) => s2(e, q1), m0 = (e) => s2(e, k0), O1 = (e) => s2(e, N0), _1 = (e) => s2(e, L0), Z2 = (e) => s2(e, A0, !0), l2 = (e, t, o) => {
|
|
285
285
|
const r = H0.exec(e);
|
|
286
286
|
return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
|
|
287
287
|
}, s2 = (e, t, o = !1) => {
|
|
288
288
|
const r = M0.exec(e);
|
|
289
289
|
return r ? r[1] ? t(r[1]) : o : !1;
|
|
290
|
-
}, k0 = (e) => e === "position" || e === "percentage", L0 = (e) => e === "image" || e === "url", N0 = (e) => e === "length" || e === "size" || e === "bg-size",
|
|
290
|
+
}, k0 = (e) => e === "position" || e === "percentage", L0 = (e) => e === "image" || e === "url", N0 = (e) => e === "length" || e === "size" || e === "bg-size", z0 = (e) => e === "length", U1 = (e) => e === "number", q1 = (e) => e === "family-name", A0 = (e) => e === "shadow", p0 = () => {
|
|
291
291
|
const e = L("color"), t = L("font"), o = L("text"), r = L("font-weight"), i = L("tracking"), l = L("leading"), s = L("breakpoint"), c = L("container"), C = L("spacing"), m = L("radius"), g = L("shadow"), b = L("inset-shadow"), w = L("text-shadow"), M = L("drop-shadow"), Z = L("blur"), N = L("perspective"), k = L("aspect"), S = L("ease"), $ = L("animate"), P = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
|
|
292
292
|
"center",
|
|
293
293
|
"top",
|
|
@@ -322,7 +322,7 @@ const d1 = (e, t) => {
|
|
|
322
322
|
m,
|
|
323
323
|
u,
|
|
324
324
|
p
|
|
325
|
-
],
|
|
325
|
+
], B = () => ["", y, d2, Q], v2 = () => ["solid", "dashed", "dotted", "double"], o0 = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => [y, G2, m0, C0], r0 = () => [
|
|
326
326
|
// Deprecated since Tailwind CSS v4.0.0
|
|
327
327
|
"",
|
|
328
328
|
"none",
|
|
@@ -1472,70 +1472,70 @@ const d1 = (e, t) => {
|
|
|
1472
1472
|
* @see https://tailwindcss.com/docs/border-width
|
|
1473
1473
|
*/
|
|
1474
1474
|
"border-w": [{
|
|
1475
|
-
border:
|
|
1475
|
+
border: B()
|
|
1476
1476
|
}],
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Border Width X
|
|
1479
1479
|
* @see https://tailwindcss.com/docs/border-width
|
|
1480
1480
|
*/
|
|
1481
1481
|
"border-w-x": [{
|
|
1482
|
-
"border-x":
|
|
1482
|
+
"border-x": B()
|
|
1483
1483
|
}],
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Border Width Y
|
|
1486
1486
|
* @see https://tailwindcss.com/docs/border-width
|
|
1487
1487
|
*/
|
|
1488
1488
|
"border-w-y": [{
|
|
1489
|
-
"border-y":
|
|
1489
|
+
"border-y": B()
|
|
1490
1490
|
}],
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Border Width Start
|
|
1493
1493
|
* @see https://tailwindcss.com/docs/border-width
|
|
1494
1494
|
*/
|
|
1495
1495
|
"border-w-s": [{
|
|
1496
|
-
"border-s":
|
|
1496
|
+
"border-s": B()
|
|
1497
1497
|
}],
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Border Width End
|
|
1500
1500
|
* @see https://tailwindcss.com/docs/border-width
|
|
1501
1501
|
*/
|
|
1502
1502
|
"border-w-e": [{
|
|
1503
|
-
"border-e":
|
|
1503
|
+
"border-e": B()
|
|
1504
1504
|
}],
|
|
1505
1505
|
/**
|
|
1506
1506
|
* Border Width Top
|
|
1507
1507
|
* @see https://tailwindcss.com/docs/border-width
|
|
1508
1508
|
*/
|
|
1509
1509
|
"border-w-t": [{
|
|
1510
|
-
"border-t":
|
|
1510
|
+
"border-t": B()
|
|
1511
1511
|
}],
|
|
1512
1512
|
/**
|
|
1513
1513
|
* Border Width Right
|
|
1514
1514
|
* @see https://tailwindcss.com/docs/border-width
|
|
1515
1515
|
*/
|
|
1516
1516
|
"border-w-r": [{
|
|
1517
|
-
"border-r":
|
|
1517
|
+
"border-r": B()
|
|
1518
1518
|
}],
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Border Width Bottom
|
|
1521
1521
|
* @see https://tailwindcss.com/docs/border-width
|
|
1522
1522
|
*/
|
|
1523
1523
|
"border-w-b": [{
|
|
1524
|
-
"border-b":
|
|
1524
|
+
"border-b": B()
|
|
1525
1525
|
}],
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Border Width Left
|
|
1528
1528
|
* @see https://tailwindcss.com/docs/border-width
|
|
1529
1529
|
*/
|
|
1530
1530
|
"border-w-l": [{
|
|
1531
|
-
"border-l":
|
|
1531
|
+
"border-l": B()
|
|
1532
1532
|
}],
|
|
1533
1533
|
/**
|
|
1534
1534
|
* Divide Width X
|
|
1535
1535
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1536
1536
|
*/
|
|
1537
1537
|
"divide-x": [{
|
|
1538
|
-
"divide-x":
|
|
1538
|
+
"divide-x": B()
|
|
1539
1539
|
}],
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Divide Width X Reverse
|
|
@@ -1547,7 +1547,7 @@ const d1 = (e, t) => {
|
|
|
1547
1547
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1548
1548
|
*/
|
|
1549
1549
|
"divide-y": [{
|
|
1550
|
-
"divide-y":
|
|
1550
|
+
"divide-y": B()
|
|
1551
1551
|
}],
|
|
1552
1552
|
/**
|
|
1553
1553
|
* Divide Width Y Reverse
|
|
@@ -1709,7 +1709,7 @@ const d1 = (e, t) => {
|
|
|
1709
1709
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1710
1710
|
*/
|
|
1711
1711
|
"ring-w": [{
|
|
1712
|
-
ring:
|
|
1712
|
+
ring: B()
|
|
1713
1713
|
}],
|
|
1714
1714
|
/**
|
|
1715
1715
|
* Ring Width Inset
|
|
@@ -1748,7 +1748,7 @@ const d1 = (e, t) => {
|
|
|
1748
1748
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1749
1749
|
*/
|
|
1750
1750
|
"inset-ring-w": [{
|
|
1751
|
-
"inset-ring":
|
|
1751
|
+
"inset-ring": B()
|
|
1752
1752
|
}],
|
|
1753
1753
|
/**
|
|
1754
1754
|
* Inset Ring Color
|
|
@@ -1814,10 +1814,10 @@ const d1 = (e, t) => {
|
|
|
1814
1814
|
"mask-linear": [y]
|
|
1815
1815
|
}],
|
|
1816
1816
|
"mask-image-linear-from-pos": [{
|
|
1817
|
-
"mask-linear-from":
|
|
1817
|
+
"mask-linear-from": z()
|
|
1818
1818
|
}],
|
|
1819
1819
|
"mask-image-linear-to-pos": [{
|
|
1820
|
-
"mask-linear-to":
|
|
1820
|
+
"mask-linear-to": z()
|
|
1821
1821
|
}],
|
|
1822
1822
|
"mask-image-linear-from-color": [{
|
|
1823
1823
|
"mask-linear-from": f()
|
|
@@ -1826,10 +1826,10 @@ const d1 = (e, t) => {
|
|
|
1826
1826
|
"mask-linear-to": f()
|
|
1827
1827
|
}],
|
|
1828
1828
|
"mask-image-t-from-pos": [{
|
|
1829
|
-
"mask-t-from":
|
|
1829
|
+
"mask-t-from": z()
|
|
1830
1830
|
}],
|
|
1831
1831
|
"mask-image-t-to-pos": [{
|
|
1832
|
-
"mask-t-to":
|
|
1832
|
+
"mask-t-to": z()
|
|
1833
1833
|
}],
|
|
1834
1834
|
"mask-image-t-from-color": [{
|
|
1835
1835
|
"mask-t-from": f()
|
|
@@ -1838,10 +1838,10 @@ const d1 = (e, t) => {
|
|
|
1838
1838
|
"mask-t-to": f()
|
|
1839
1839
|
}],
|
|
1840
1840
|
"mask-image-r-from-pos": [{
|
|
1841
|
-
"mask-r-from":
|
|
1841
|
+
"mask-r-from": z()
|
|
1842
1842
|
}],
|
|
1843
1843
|
"mask-image-r-to-pos": [{
|
|
1844
|
-
"mask-r-to":
|
|
1844
|
+
"mask-r-to": z()
|
|
1845
1845
|
}],
|
|
1846
1846
|
"mask-image-r-from-color": [{
|
|
1847
1847
|
"mask-r-from": f()
|
|
@@ -1850,10 +1850,10 @@ const d1 = (e, t) => {
|
|
|
1850
1850
|
"mask-r-to": f()
|
|
1851
1851
|
}],
|
|
1852
1852
|
"mask-image-b-from-pos": [{
|
|
1853
|
-
"mask-b-from":
|
|
1853
|
+
"mask-b-from": z()
|
|
1854
1854
|
}],
|
|
1855
1855
|
"mask-image-b-to-pos": [{
|
|
1856
|
-
"mask-b-to":
|
|
1856
|
+
"mask-b-to": z()
|
|
1857
1857
|
}],
|
|
1858
1858
|
"mask-image-b-from-color": [{
|
|
1859
1859
|
"mask-b-from": f()
|
|
@@ -1862,10 +1862,10 @@ const d1 = (e, t) => {
|
|
|
1862
1862
|
"mask-b-to": f()
|
|
1863
1863
|
}],
|
|
1864
1864
|
"mask-image-l-from-pos": [{
|
|
1865
|
-
"mask-l-from":
|
|
1865
|
+
"mask-l-from": z()
|
|
1866
1866
|
}],
|
|
1867
1867
|
"mask-image-l-to-pos": [{
|
|
1868
|
-
"mask-l-to":
|
|
1868
|
+
"mask-l-to": z()
|
|
1869
1869
|
}],
|
|
1870
1870
|
"mask-image-l-from-color": [{
|
|
1871
1871
|
"mask-l-from": f()
|
|
@@ -1874,10 +1874,10 @@ const d1 = (e, t) => {
|
|
|
1874
1874
|
"mask-l-to": f()
|
|
1875
1875
|
}],
|
|
1876
1876
|
"mask-image-x-from-pos": [{
|
|
1877
|
-
"mask-x-from":
|
|
1877
|
+
"mask-x-from": z()
|
|
1878
1878
|
}],
|
|
1879
1879
|
"mask-image-x-to-pos": [{
|
|
1880
|
-
"mask-x-to":
|
|
1880
|
+
"mask-x-to": z()
|
|
1881
1881
|
}],
|
|
1882
1882
|
"mask-image-x-from-color": [{
|
|
1883
1883
|
"mask-x-from": f()
|
|
@@ -1886,10 +1886,10 @@ const d1 = (e, t) => {
|
|
|
1886
1886
|
"mask-x-to": f()
|
|
1887
1887
|
}],
|
|
1888
1888
|
"mask-image-y-from-pos": [{
|
|
1889
|
-
"mask-y-from":
|
|
1889
|
+
"mask-y-from": z()
|
|
1890
1890
|
}],
|
|
1891
1891
|
"mask-image-y-to-pos": [{
|
|
1892
|
-
"mask-y-to":
|
|
1892
|
+
"mask-y-to": z()
|
|
1893
1893
|
}],
|
|
1894
1894
|
"mask-image-y-from-color": [{
|
|
1895
1895
|
"mask-y-from": f()
|
|
@@ -1901,10 +1901,10 @@ const d1 = (e, t) => {
|
|
|
1901
1901
|
"mask-radial": [u, p]
|
|
1902
1902
|
}],
|
|
1903
1903
|
"mask-image-radial-from-pos": [{
|
|
1904
|
-
"mask-radial-from":
|
|
1904
|
+
"mask-radial-from": z()
|
|
1905
1905
|
}],
|
|
1906
1906
|
"mask-image-radial-to-pos": [{
|
|
1907
|
-
"mask-radial-to":
|
|
1907
|
+
"mask-radial-to": z()
|
|
1908
1908
|
}],
|
|
1909
1909
|
"mask-image-radial-from-color": [{
|
|
1910
1910
|
"mask-radial-from": f()
|
|
@@ -1928,10 +1928,10 @@ const d1 = (e, t) => {
|
|
|
1928
1928
|
"mask-conic": [y]
|
|
1929
1929
|
}],
|
|
1930
1930
|
"mask-image-conic-from-pos": [{
|
|
1931
|
-
"mask-conic-from":
|
|
1931
|
+
"mask-conic-from": z()
|
|
1932
1932
|
}],
|
|
1933
1933
|
"mask-image-conic-to-pos": [{
|
|
1934
|
-
"mask-conic-to":
|
|
1934
|
+
"mask-conic-to": z()
|
|
1935
1935
|
}],
|
|
1936
1936
|
"mask-image-conic-from-color": [{
|
|
1937
1937
|
"mask-conic-from": f()
|
|
@@ -2786,7 +2786,7 @@ const d1 = (e, t) => {
|
|
|
2786
2786
|
function d(...e) {
|
|
2787
2787
|
return Y1(e.filter(Boolean).join(" "));
|
|
2788
2788
|
}
|
|
2789
|
-
function
|
|
2789
|
+
function a8(e) {
|
|
2790
2790
|
return e;
|
|
2791
2791
|
}
|
|
2792
2792
|
const J1 = ({ className: e }) => /* @__PURE__ */ a("svg", { className: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, children: /* @__PURE__ */ a("path", { d: "M6 9l6 6 6-6" }) }), f2 = {
|
|
@@ -2809,7 +2809,7 @@ const J1 = ({ className: e }) => /* @__PURE__ */ a("svg", { className: e, viewBo
|
|
|
2809
2809
|
panel: "pb-24"
|
|
2810
2810
|
}
|
|
2811
2811
|
};
|
|
2812
|
-
function
|
|
2812
|
+
function i8({
|
|
2813
2813
|
allowsMultipleExpanded: e = !0,
|
|
2814
2814
|
className: t,
|
|
2815
2815
|
children: o,
|
|
@@ -2825,14 +2825,14 @@ function a8({
|
|
|
2825
2825
|
}
|
|
2826
2826
|
);
|
|
2827
2827
|
}
|
|
2828
|
-
function
|
|
2828
|
+
function l8({
|
|
2829
2829
|
title: e,
|
|
2830
2830
|
className: t,
|
|
2831
2831
|
children: o,
|
|
2832
2832
|
...r
|
|
2833
2833
|
}) {
|
|
2834
2834
|
return /* @__PURE__ */ h(_0, { className: d(f2.item.root, t), ...r, children: [
|
|
2835
|
-
/* @__PURE__ */ a(U0, { children: /* @__PURE__ */ h(
|
|
2835
|
+
/* @__PURE__ */ a(U0, { children: /* @__PURE__ */ h(B2, { slot: "trigger", className: f2.item.trigger, children: [
|
|
2836
2836
|
/* @__PURE__ */ a("span", { children: e }),
|
|
2837
2837
|
/* @__PURE__ */ a(J1, { className: f2.item.icon })
|
|
2838
2838
|
] }) }),
|
|
@@ -2899,7 +2899,7 @@ const Q1 = {
|
|
|
2899
2899
|
sm: "compact",
|
|
2900
2900
|
md: "default",
|
|
2901
2901
|
lg: "lg"
|
|
2902
|
-
},
|
|
2902
|
+
}, z2 = {
|
|
2903
2903
|
root: "relative inline-block",
|
|
2904
2904
|
sizes: {
|
|
2905
2905
|
sm: {
|
|
@@ -2934,19 +2934,19 @@ function S0({
|
|
|
2934
2934
|
size: i = "md",
|
|
2935
2935
|
className: l
|
|
2936
2936
|
}) {
|
|
2937
|
-
const s = o || t3(e), c =
|
|
2938
|
-
return /* @__PURE__ */ h("div", { className: d(
|
|
2937
|
+
const s = o || t3(e), c = z2.sizes[i];
|
|
2938
|
+
return /* @__PURE__ */ h("div", { className: d(z2.root, l), children: [
|
|
2939
2939
|
t ? /* @__PURE__ */ a(
|
|
2940
2940
|
"img",
|
|
2941
2941
|
{
|
|
2942
2942
|
src: t,
|
|
2943
2943
|
alt: e,
|
|
2944
|
-
className: d(
|
|
2944
|
+
className: d(z2.image, c.avatar)
|
|
2945
2945
|
}
|
|
2946
2946
|
) : /* @__PURE__ */ a(
|
|
2947
2947
|
"div",
|
|
2948
2948
|
{
|
|
2949
|
-
className: d(
|
|
2949
|
+
className: d(z2.fallback, c.avatar, c.text),
|
|
2950
2950
|
role: "img",
|
|
2951
2951
|
"aria-label": e,
|
|
2952
2952
|
children: s
|
|
@@ -3115,7 +3115,7 @@ function u0({
|
|
|
3115
3115
|
children: Z
|
|
3116
3116
|
}
|
|
3117
3117
|
) : /* @__PURE__ */ a(
|
|
3118
|
-
|
|
3118
|
+
B2,
|
|
3119
3119
|
{
|
|
3120
3120
|
type: "button",
|
|
3121
3121
|
"data-icon-only": b ? !0 : void 0,
|
|
@@ -3166,7 +3166,7 @@ const u3 = ({ className: e }) => /* @__PURE__ */ a("svg", { className: e, viewBo
|
|
|
3166
3166
|
true: { root: "rounded-9999" }
|
|
3167
3167
|
}
|
|
3168
3168
|
};
|
|
3169
|
-
function
|
|
3169
|
+
function s8({
|
|
3170
3170
|
size: e = "default",
|
|
3171
3171
|
isSelected: t = !1,
|
|
3172
3172
|
isRounded: o = !1,
|
|
@@ -3185,7 +3185,7 @@ function l8({
|
|
|
3185
3185
|
c
|
|
3186
3186
|
);
|
|
3187
3187
|
return /* @__PURE__ */ h(
|
|
3188
|
-
|
|
3188
|
+
B2,
|
|
3189
3189
|
{
|
|
3190
3190
|
className: w,
|
|
3191
3191
|
...C,
|
|
@@ -3209,7 +3209,7 @@ function l8({
|
|
|
3209
3209
|
}
|
|
3210
3210
|
);
|
|
3211
3211
|
}
|
|
3212
|
-
const
|
|
3212
|
+
const A2 = {
|
|
3213
3213
|
common: {
|
|
3214
3214
|
root: "inline-flex items-center justify-center p-2 text-xs font-semibold",
|
|
3215
3215
|
label: "px-4"
|
|
@@ -3277,7 +3277,7 @@ const z2 = {
|
|
|
3277
3277
|
}
|
|
3278
3278
|
}
|
|
3279
3279
|
};
|
|
3280
|
-
function
|
|
3280
|
+
function c8({
|
|
3281
3281
|
color: e = "neutral",
|
|
3282
3282
|
isSolid: t = !1,
|
|
3283
3283
|
isRounded: o = !0,
|
|
@@ -3289,16 +3289,16 @@ function s8({
|
|
|
3289
3289
|
"span",
|
|
3290
3290
|
{
|
|
3291
3291
|
className: d(
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3292
|
+
A2.common.root,
|
|
3293
|
+
A2.rounded[o ? "true" : "false"].root,
|
|
3294
|
+
A2.colors[e][l].root,
|
|
3295
3295
|
i
|
|
3296
3296
|
),
|
|
3297
|
-
children: /* @__PURE__ */ a("span", { className:
|
|
3297
|
+
children: /* @__PURE__ */ a("span", { className: A2.common.label, children: r })
|
|
3298
3298
|
}
|
|
3299
3299
|
);
|
|
3300
3300
|
}
|
|
3301
|
-
const
|
|
3301
|
+
const I = {
|
|
3302
3302
|
common: {
|
|
3303
3303
|
root: "flex w-full items-center",
|
|
3304
3304
|
line: "h-px flex-1 bg-gray-200",
|
|
@@ -3330,7 +3330,7 @@ const B = {
|
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
3332
|
};
|
|
3333
|
-
function
|
|
3333
|
+
function d8({
|
|
3334
3334
|
appearance: e = "solid",
|
|
3335
3335
|
alignment: t = "none",
|
|
3336
3336
|
type: o = "label",
|
|
@@ -3339,12 +3339,12 @@ function c8({
|
|
|
3339
3339
|
className: l
|
|
3340
3340
|
}) {
|
|
3341
3341
|
if (t === "none")
|
|
3342
|
-
return /* @__PURE__ */ a("div", { className: d(
|
|
3342
|
+
return /* @__PURE__ */ a("div", { className: d(I.common.root, l), role: "separator", children: /* @__PURE__ */ a("div", { className: I.common.line }) });
|
|
3343
3343
|
const s = d(
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
), c = "icon" in
|
|
3344
|
+
I.common.content,
|
|
3345
|
+
I.appearances[e].content,
|
|
3346
|
+
I.types[o].content
|
|
3347
|
+
), c = "icon" in I.types[o] ? I.types[o].icon : void 0, m = o === "icon" ? /* @__PURE__ */ h(h2, { children: [
|
|
3348
3348
|
t2(i) && i,
|
|
3349
3349
|
i2(i) && /* @__PURE__ */ a(i, { className: c })
|
|
3350
3350
|
] }) : o === "action" ? /* @__PURE__ */ h(h2, { children: [
|
|
@@ -3352,12 +3352,12 @@ function c8({
|
|
|
3352
3352
|
i2(i) && /* @__PURE__ */ a(i, { className: c }),
|
|
3353
3353
|
r && /* @__PURE__ */ a("span", { children: r })
|
|
3354
3354
|
] }) : r ? /* @__PURE__ */ a("span", { children: r }) : null;
|
|
3355
|
-
return !m || o !== "icon" && !r || (o === "icon" || o === "action") && !i && !r ? /* @__PURE__ */ a("div", { className: d(
|
|
3356
|
-
t === "left" && /* @__PURE__ */ a("div", { className:
|
|
3357
|
-
(t === "center" || t === "right") && /* @__PURE__ */ a("div", { className:
|
|
3355
|
+
return !m || o !== "icon" && !r || (o === "icon" || o === "action") && !i && !r ? /* @__PURE__ */ a("div", { className: d(I.common.root, l), role: "separator", children: /* @__PURE__ */ a("div", { className: I.common.line }) }) : /* @__PURE__ */ h("div", { className: d(I.common.root, l), role: "separator", children: [
|
|
3356
|
+
t === "left" && /* @__PURE__ */ a("div", { className: I.common.lineShort }),
|
|
3357
|
+
(t === "center" || t === "right") && /* @__PURE__ */ a("div", { className: I.common.line }),
|
|
3358
3358
|
/* @__PURE__ */ a("div", { className: s, children: m }),
|
|
3359
|
-
t === "right" && /* @__PURE__ */ a("div", { className:
|
|
3360
|
-
(t === "center" || t === "left") && /* @__PURE__ */ a("div", { className:
|
|
3359
|
+
t === "right" && /* @__PURE__ */ a("div", { className: I.common.lineShort }),
|
|
3360
|
+
(t === "center" || t === "left") && /* @__PURE__ */ a("div", { className: I.common.line })
|
|
3361
3361
|
] });
|
|
3362
3362
|
}
|
|
3363
3363
|
const g3 = ({ className: e }) => /* @__PURE__ */ a("svg", { className: e, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ a(
|
|
@@ -3399,7 +3399,7 @@ const g3 = ({ className: e }) => /* @__PURE__ */ a("svg", { className: e, viewBo
|
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
3401
3401
|
};
|
|
3402
|
-
function
|
|
3402
|
+
function C8({
|
|
3403
3403
|
size: e = "default",
|
|
3404
3404
|
state: t = "default",
|
|
3405
3405
|
placeholder: o = "Select an option",
|
|
@@ -3415,7 +3415,7 @@ function d8({
|
|
|
3415
3415
|
i
|
|
3416
3416
|
);
|
|
3417
3417
|
return /* @__PURE__ */ h(
|
|
3418
|
-
|
|
3418
|
+
B2,
|
|
3419
3419
|
{
|
|
3420
3420
|
className: C,
|
|
3421
3421
|
isDisabled: l,
|
|
@@ -3427,7 +3427,7 @@ function d8({
|
|
|
3427
3427
|
}
|
|
3428
3428
|
);
|
|
3429
3429
|
}
|
|
3430
|
-
const
|
|
3430
|
+
const A = {
|
|
3431
3431
|
common: {
|
|
3432
3432
|
root: "flex",
|
|
3433
3433
|
head: "flex",
|
|
@@ -3469,7 +3469,7 @@ function f3({ className: e }) {
|
|
|
3469
3469
|
}
|
|
3470
3470
|
) });
|
|
3471
3471
|
}
|
|
3472
|
-
function
|
|
3472
|
+
function m8({
|
|
3473
3473
|
orientation: e = "vertical",
|
|
3474
3474
|
label: t,
|
|
3475
3475
|
isRequired: o = !1,
|
|
@@ -3487,8 +3487,8 @@ function C8({
|
|
|
3487
3487
|
"div",
|
|
3488
3488
|
{
|
|
3489
3489
|
className: d(
|
|
3490
|
-
|
|
3491
|
-
|
|
3490
|
+
A.common.root,
|
|
3491
|
+
A.orientation[e].root,
|
|
3492
3492
|
g
|
|
3493
3493
|
),
|
|
3494
3494
|
children: [
|
|
@@ -3496,19 +3496,19 @@ function C8({
|
|
|
3496
3496
|
"div",
|
|
3497
3497
|
{
|
|
3498
3498
|
className: d(
|
|
3499
|
-
|
|
3500
|
-
|
|
3499
|
+
A.common.head,
|
|
3500
|
+
A.orientation[e].head
|
|
3501
3501
|
),
|
|
3502
3502
|
children: /* @__PURE__ */ h(
|
|
3503
3503
|
"div",
|
|
3504
3504
|
{
|
|
3505
3505
|
className: d(
|
|
3506
|
-
|
|
3507
|
-
|
|
3506
|
+
A.common.labelWrapper,
|
|
3507
|
+
A.orientation[e].labelWrapper
|
|
3508
3508
|
),
|
|
3509
3509
|
children: [
|
|
3510
|
-
t && /* @__PURE__ */ a("span", { className:
|
|
3511
|
-
o && /* @__PURE__ */ a("span", { className:
|
|
3510
|
+
t && /* @__PURE__ */ a("span", { className: A.common.label, children: t }),
|
|
3511
|
+
o && /* @__PURE__ */ a("span", { className: A.common.requiredIndicator, children: "*" })
|
|
3512
3512
|
]
|
|
3513
3513
|
}
|
|
3514
3514
|
)
|
|
@@ -3518,25 +3518,25 @@ function C8({
|
|
|
3518
3518
|
"div",
|
|
3519
3519
|
{
|
|
3520
3520
|
className: d(
|
|
3521
|
-
|
|
3522
|
-
|
|
3521
|
+
A.common.body,
|
|
3522
|
+
A.orientation[e].body
|
|
3523
3523
|
),
|
|
3524
3524
|
children: [
|
|
3525
|
-
b && e === "horizontal" && /* @__PURE__ */ h("div", { className:
|
|
3526
|
-
r && /* @__PURE__ */ a("span", { className:
|
|
3527
|
-
i && /* @__PURE__ */ a(f3, { className:
|
|
3525
|
+
b && e === "horizontal" && /* @__PURE__ */ h("div", { className: A.common.infoWrapper, children: [
|
|
3526
|
+
r && /* @__PURE__ */ a("span", { className: A.common.infoText, children: r }),
|
|
3527
|
+
i && /* @__PURE__ */ a(f3, { className: A.common.infoIcon })
|
|
3528
3528
|
] }),
|
|
3529
3529
|
m,
|
|
3530
3530
|
w && /* @__PURE__ */ h(
|
|
3531
3531
|
"div",
|
|
3532
3532
|
{
|
|
3533
3533
|
className: d(
|
|
3534
|
-
|
|
3535
|
-
|
|
3534
|
+
A.common.foot,
|
|
3535
|
+
A.orientation[e].foot
|
|
3536
3536
|
),
|
|
3537
3537
|
children: [
|
|
3538
|
-
l && /* @__PURE__ */ a("span", { className:
|
|
3539
|
-
C && /* @__PURE__ */ h("span", { className:
|
|
3538
|
+
l && /* @__PURE__ */ a("span", { className: A.common.helperText, children: l }),
|
|
3539
|
+
C && /* @__PURE__ */ h("span", { className: A.common.counter, children: [
|
|
3540
3540
|
s ?? 0,
|
|
3541
3541
|
"/",
|
|
3542
3542
|
c ?? 0
|
|
@@ -3572,7 +3572,7 @@ const m2 = {
|
|
|
3572
3572
|
/* @__PURE__ */ a("path", { d: "M11.833 5.333 8.5 2l-3.333 3.333" }),
|
|
3573
3573
|
/* @__PURE__ */ a("path", { d: "M8.5 2v8" })
|
|
3574
3574
|
] });
|
|
3575
|
-
function
|
|
3575
|
+
function p8({
|
|
3576
3576
|
instructions: e = "Drop files here or click to upload",
|
|
3577
3577
|
fileTypesHint: t = "PNG, JPG up to 10MB",
|
|
3578
3578
|
icon: o,
|
|
@@ -3908,17 +3908,17 @@ const b3 = /* @__PURE__ */ new Map([
|
|
|
3908
3908
|
O.displayName = "IconBase";
|
|
3909
3909
|
const j0 = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(O, { ref: t, ...e, weights: b3 }));
|
|
3910
3910
|
j0.displayName = "CaretDownIcon";
|
|
3911
|
-
const g0 = j0,
|
|
3912
|
-
|
|
3913
|
-
const k3 =
|
|
3914
|
-
|
|
3915
|
-
const L3 =
|
|
3911
|
+
const g0 = j0, I0 = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(O, { ref: t, ...e, weights: x3 }));
|
|
3912
|
+
I0.displayName = "CheckIcon";
|
|
3913
|
+
const k3 = I0, B0 = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(O, { ref: t, ...e, weights: y3 }));
|
|
3914
|
+
B0.displayName = "ClockCounterClockwiseIcon";
|
|
3915
|
+
const L3 = B0, $0 = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(O, { ref: t, ...e, weights: v3 }));
|
|
3916
3916
|
$0.displayName = "CopyIcon";
|
|
3917
3917
|
const N3 = $0, R0 = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(O, { ref: t, ...e, weights: w3 }));
|
|
3918
3918
|
R0.displayName = "PlusIcon";
|
|
3919
|
-
const
|
|
3919
|
+
const z3 = R0, F0 = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(O, { ref: t, ...e, weights: V3 }));
|
|
3920
3920
|
F0.displayName = "SignOutIcon";
|
|
3921
|
-
const
|
|
3921
|
+
const A3 = F0, T0 = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(O, { ref: t, ...e, weights: H3 }));
|
|
3922
3922
|
T0.displayName = "SlidersIcon";
|
|
3923
3923
|
const E3 = T0, P0 = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(O, { ref: t, ...e, weights: M3 }));
|
|
3924
3924
|
P0.displayName = "TrashIcon";
|
|
@@ -3928,17 +3928,41 @@ const S3 = P0, j3 = {
|
|
|
3928
3928
|
"chevron-down": g0,
|
|
3929
3929
|
// Using CaretDown as chevron alternative
|
|
3930
3930
|
"caret-down": g0,
|
|
3931
|
-
"sign-out":
|
|
3931
|
+
"sign-out": A3,
|
|
3932
3932
|
trash: S3,
|
|
3933
|
-
plus:
|
|
3933
|
+
plus: z3,
|
|
3934
3934
|
"clock-counter-clockwise": L3,
|
|
3935
3935
|
sliders: E3
|
|
3936
|
-
}
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3936
|
+
};
|
|
3937
|
+
function I3(e) {
|
|
3938
|
+
if (!e) return;
|
|
3939
|
+
const t = Array.isArray(e) ? e.join(" ") : e, o = t.match(/(?:size|w|h)-\[(\d+)px\]/);
|
|
3940
|
+
if (o) {
|
|
3941
|
+
const i = parseInt(o[1], 10);
|
|
3942
|
+
return i > 0 ? i : void 0;
|
|
3940
3943
|
}
|
|
3941
|
-
|
|
3944
|
+
const r = t.match(/\b(?:size|w|h)-(\d+)\b/);
|
|
3945
|
+
if (r) {
|
|
3946
|
+
const l = parseInt(r[1], 10) * 4;
|
|
3947
|
+
return l > 0 ? l : void 0;
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
const B3 = U2(
|
|
3951
|
+
function({ name: t, color: o = "currentColor", weight: r = "regular", size: i, className: l, ...s }, c) {
|
|
3952
|
+
const C = j3[t], m = i ?? I3(l) ?? 24;
|
|
3953
|
+
return /* @__PURE__ */ a(
|
|
3954
|
+
C,
|
|
3955
|
+
{
|
|
3956
|
+
ref: c,
|
|
3957
|
+
color: o,
|
|
3958
|
+
weight: r,
|
|
3959
|
+
size: m,
|
|
3960
|
+
className: l,
|
|
3961
|
+
...s
|
|
3962
|
+
}
|
|
3963
|
+
);
|
|
3964
|
+
}
|
|
3965
|
+
), u8 = (e) => ({ className: t }) => /* @__PURE__ */ a(B3, { name: e, className: t }), O2 = {
|
|
3942
3966
|
common: {
|
|
3943
3967
|
root: "inline-flex items-center justify-center rounded-2 text-sm font-semibold"
|
|
3944
3968
|
},
|
|
@@ -3959,7 +3983,7 @@ const S3 = P0, j3 = {
|
|
|
3959
3983
|
}
|
|
3960
3984
|
}
|
|
3961
3985
|
};
|
|
3962
|
-
function
|
|
3986
|
+
function g8({
|
|
3963
3987
|
appearance: e = "light",
|
|
3964
3988
|
type: t = "flex",
|
|
3965
3989
|
children: o,
|
|
@@ -3991,7 +4015,7 @@ const f0 = {
|
|
|
3991
4015
|
}
|
|
3992
4016
|
}
|
|
3993
4017
|
};
|
|
3994
|
-
function
|
|
4018
|
+
function f8({
|
|
3995
4019
|
isSelected: e = !1,
|
|
3996
4020
|
onPress: t,
|
|
3997
4021
|
children: o,
|
|
@@ -4037,7 +4061,7 @@ const F = {
|
|
|
4037
4061
|
bottom: "absolute -bottom-32 transition-all duration-300"
|
|
4038
4062
|
}
|
|
4039
4063
|
};
|
|
4040
|
-
function
|
|
4064
|
+
function h8({
|
|
4041
4065
|
value: e,
|
|
4042
4066
|
label: t = !1,
|
|
4043
4067
|
className: o
|
|
@@ -4100,7 +4124,7 @@ const S2 = {
|
|
|
4100
4124
|
].join(" ")
|
|
4101
4125
|
}
|
|
4102
4126
|
};
|
|
4103
|
-
function
|
|
4127
|
+
function b8({
|
|
4104
4128
|
className: e,
|
|
4105
4129
|
children: t,
|
|
4106
4130
|
...o
|
|
@@ -4114,7 +4138,7 @@ function h8({
|
|
|
4114
4138
|
}
|
|
4115
4139
|
);
|
|
4116
4140
|
}
|
|
4117
|
-
function
|
|
4141
|
+
function x8({
|
|
4118
4142
|
showLabel: e = !0,
|
|
4119
4143
|
className: t,
|
|
4120
4144
|
children: o,
|
|
@@ -4147,7 +4171,7 @@ const q = {
|
|
|
4147
4171
|
output: "absolute top-full left-1/2 mt-8 -translate-x-1/2 text-xs font-semibold text-gray-500"
|
|
4148
4172
|
}
|
|
4149
4173
|
};
|
|
4150
|
-
function
|
|
4174
|
+
function y8({
|
|
4151
4175
|
showLabels: e = !1,
|
|
4152
4176
|
className: t,
|
|
4153
4177
|
formatValue: o = (i) => `${i}%`,
|
|
@@ -4187,7 +4211,7 @@ const h0 = {
|
|
|
4187
4211
|
thin: "py-2"
|
|
4188
4212
|
}
|
|
4189
4213
|
};
|
|
4190
|
-
function
|
|
4214
|
+
function v8({
|
|
4191
4215
|
appearance: e = "default",
|
|
4192
4216
|
children: t = "Instance Slot",
|
|
4193
4217
|
className: o
|
|
@@ -4218,7 +4242,7 @@ const a2 = {
|
|
|
4218
4242
|
}
|
|
4219
4243
|
}
|
|
4220
4244
|
};
|
|
4221
|
-
function
|
|
4245
|
+
function w8({
|
|
4222
4246
|
isSolid: e = !1,
|
|
4223
4247
|
isRounded: t = !0,
|
|
4224
4248
|
size: o = "default",
|
|
@@ -4303,13 +4327,13 @@ const v = {
|
|
|
4303
4327
|
error: "text-gray-500"
|
|
4304
4328
|
}
|
|
4305
4329
|
}, G0 = $2(null);
|
|
4306
|
-
function
|
|
4330
|
+
function $3() {
|
|
4307
4331
|
const e = b2(G0);
|
|
4308
4332
|
if (!e)
|
|
4309
4333
|
throw new Error("StepIndicator.Item must be used within a StepIndicator");
|
|
4310
4334
|
return e;
|
|
4311
4335
|
}
|
|
4312
|
-
function
|
|
4336
|
+
function R3({ className: e }) {
|
|
4313
4337
|
return /* @__PURE__ */ a("svg", { className: e, viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ a(
|
|
4314
4338
|
"path",
|
|
4315
4339
|
{
|
|
@@ -4319,7 +4343,7 @@ function $3({ className: e }) {
|
|
|
4319
4343
|
}
|
|
4320
4344
|
) });
|
|
4321
4345
|
}
|
|
4322
|
-
function
|
|
4346
|
+
function F3({ className: e }) {
|
|
4323
4347
|
return /* @__PURE__ */ a("svg", { className: e, viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ a(
|
|
4324
4348
|
"path",
|
|
4325
4349
|
{
|
|
@@ -4327,7 +4351,7 @@ function R3({ className: e }) {
|
|
|
4327
4351
|
}
|
|
4328
4352
|
) });
|
|
4329
4353
|
}
|
|
4330
|
-
function
|
|
4354
|
+
function T3({
|
|
4331
4355
|
status: e = "incomplete",
|
|
4332
4356
|
label: t,
|
|
4333
4357
|
description: o,
|
|
@@ -4335,9 +4359,9 @@ function F3({
|
|
|
4335
4359
|
className: i,
|
|
4336
4360
|
_index: l = 0
|
|
4337
4361
|
}) {
|
|
4338
|
-
const { orientation: s, size: c, showLabels: C, totalItems: m } =
|
|
4362
|
+
const { orientation: s, size: c, showLabels: C, totalItems: m } = $3(), g = l, b = m === 1 ? "only" : g === 0 ? "start" : g === m - 1 ? "end" : "middle", w = b === "middle" || b === "end", M = b === "middle" || b === "start", N = e === "complete" || e === "active" || e === "error" ? "complete" : "incomplete", k = e === "complete" ? "complete" : "incomplete", S = () => {
|
|
4339
4363
|
const $ = c === "compact" ? "size-12" : "size-16";
|
|
4340
|
-
return e === "complete" ? /* @__PURE__ */ a(
|
|
4364
|
+
return e === "complete" ? /* @__PURE__ */ a(R3, { className: $ }) : e === "error" ? /* @__PURE__ */ a(F3, { className: $ }) : /* @__PURE__ */ a("span", { className: d("text-xs font-semibold", c === "compact" && "text-[10px]"), children: g + 1 });
|
|
4341
4365
|
};
|
|
4342
4366
|
return s === "vertical" ? /* @__PURE__ */ h("div", { className: d(v.item.common, v.item.vertical, i), children: [
|
|
4343
4367
|
/* @__PURE__ */ h("div", { className: "flex flex-col items-center", children: [
|
|
@@ -4408,7 +4432,7 @@ function F3({
|
|
|
4408
4432
|
}
|
|
4409
4433
|
);
|
|
4410
4434
|
}
|
|
4411
|
-
function
|
|
4435
|
+
function P3({
|
|
4412
4436
|
orientation: e = "horizontal",
|
|
4413
4437
|
size: t = "default",
|
|
4414
4438
|
showLabels: o = !0,
|
|
@@ -4424,8 +4448,8 @@ function T3({
|
|
|
4424
4448
|
}
|
|
4425
4449
|
);
|
|
4426
4450
|
}
|
|
4427
|
-
const
|
|
4428
|
-
Item:
|
|
4451
|
+
const V8 = Object.assign(P3, {
|
|
4452
|
+
Item: T3
|
|
4429
4453
|
}), K = {
|
|
4430
4454
|
root: "w-full",
|
|
4431
4455
|
tabList: {
|
|
@@ -4459,7 +4483,7 @@ const w8 = Object.assign(T3, {
|
|
|
4459
4483
|
},
|
|
4460
4484
|
tabPanel: "mt-16 outline-none"
|
|
4461
4485
|
};
|
|
4462
|
-
function
|
|
4486
|
+
function H8({
|
|
4463
4487
|
appearance: e = "underline",
|
|
4464
4488
|
fill: t = !1,
|
|
4465
4489
|
items: o,
|
|
@@ -4576,7 +4600,7 @@ const e2 = {
|
|
|
4576
4600
|
}
|
|
4577
4601
|
}
|
|
4578
4602
|
};
|
|
4579
|
-
function
|
|
4603
|
+
function M8({
|
|
4580
4604
|
color: e = "neutral",
|
|
4581
4605
|
size: t = "default",
|
|
4582
4606
|
isSolid: o = !1,
|
|
@@ -4627,7 +4651,7 @@ const E2 = {
|
|
|
4627
4651
|
true: { root: "resize-y" },
|
|
4628
4652
|
false: { root: "resize-none" }
|
|
4629
4653
|
}
|
|
4630
|
-
},
|
|
4654
|
+
}, Z8 = U2(
|
|
4631
4655
|
function({
|
|
4632
4656
|
size: t = "default",
|
|
4633
4657
|
state: o = "default",
|
|
@@ -4685,8 +4709,8 @@ const E2 = {
|
|
|
4685
4709
|
icon: "size-[36px]"
|
|
4686
4710
|
}
|
|
4687
4711
|
}
|
|
4688
|
-
},
|
|
4689
|
-
function
|
|
4712
|
+
}, G3 = ({ className: e }) => /* @__PURE__ */ a("svg", { className: e, width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ a("path", { d: "M18 6L6 18M6 6l12 12" }) }), D3 = ({ className: e }) => /* @__PURE__ */ a("svg", { className: e, viewBox: "0 0 36 36", fill: "currentColor", children: /* @__PURE__ */ a("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 33C26.2843 33 33 26.2843 33 18C33 9.71573 26.2843 3 18 3C9.71573 3 3 9.71573 3 18C3 26.2843 9.71573 33 18 33ZM25.2803 14.7803C25.5732 14.4874 25.5732 14.0126 25.2803 13.7197C24.9874 13.4268 24.5126 13.4268 24.2197 13.7197L15.75 22.1893L11.7803 18.2197C11.4874 17.9268 11.0126 17.9268 10.7197 18.2197C10.4268 18.5126 10.4268 18.9874 10.7197 19.2803L15.2197 23.7803C15.5126 24.0732 15.9874 24.0732 16.2803 23.7803L25.2803 14.7803Z" }) });
|
|
4713
|
+
function k8({
|
|
4690
4714
|
title: e,
|
|
4691
4715
|
description: t,
|
|
4692
4716
|
appearance: o = "icon",
|
|
@@ -4706,7 +4730,7 @@ function Z8({
|
|
|
4706
4730
|
switch (o) {
|
|
4707
4731
|
case "icon":
|
|
4708
4732
|
const P = d(E.common.icon, Z.icon);
|
|
4709
|
-
return t2(l) ? l : i2(l) ? /* @__PURE__ */ a(l, { className: P }) : /* @__PURE__ */ a(
|
|
4733
|
+
return t2(l) ? l : i2(l) ? /* @__PURE__ */ a(l, { className: P }) : /* @__PURE__ */ a(D3, { className: P });
|
|
4710
4734
|
case "dot":
|
|
4711
4735
|
return /* @__PURE__ */ a("div", { className: E.common.dotWrapper, children: /* @__PURE__ */ a(K2, { appearance: s, size: "default" }) });
|
|
4712
4736
|
case "avatar":
|
|
@@ -4751,7 +4775,7 @@ function Z8({
|
|
|
4751
4775
|
onClick: w,
|
|
4752
4776
|
className: E.common.closeButton,
|
|
4753
4777
|
"aria-label": "Close",
|
|
4754
|
-
children: /* @__PURE__ */ a(
|
|
4778
|
+
children: /* @__PURE__ */ a(G3, {})
|
|
4755
4779
|
}
|
|
4756
4780
|
);
|
|
4757
4781
|
return i === "condensed" ? /* @__PURE__ */ h(
|
|
@@ -4813,7 +4837,7 @@ const p2 = {
|
|
|
4813
4837
|
indeterminate: { track: "bg-brand-600 justify-center" }
|
|
4814
4838
|
}
|
|
4815
4839
|
};
|
|
4816
|
-
function
|
|
4840
|
+
function L8({
|
|
4817
4841
|
size: e = "default",
|
|
4818
4842
|
isIndeterminate: t = !1,
|
|
4819
4843
|
isSelected: o,
|
|
@@ -4892,7 +4916,7 @@ const u2 = {
|
|
|
4892
4916
|
}
|
|
4893
4917
|
}
|
|
4894
4918
|
};
|
|
4895
|
-
function
|
|
4919
|
+
function W3({
|
|
4896
4920
|
appearance: e = "plain",
|
|
4897
4921
|
children: t,
|
|
4898
4922
|
showArrow: o = !0,
|
|
@@ -4925,7 +4949,7 @@ function D3({
|
|
|
4925
4949
|
}
|
|
4926
4950
|
);
|
|
4927
4951
|
}
|
|
4928
|
-
function
|
|
4952
|
+
function N8({
|
|
4929
4953
|
children: e,
|
|
4930
4954
|
tooltip: t,
|
|
4931
4955
|
appearance: o = "plain",
|
|
@@ -4937,7 +4961,7 @@ function L8({
|
|
|
4937
4961
|
return /* @__PURE__ */ h(l1, { delay: l, children: [
|
|
4938
4962
|
e,
|
|
4939
4963
|
/* @__PURE__ */ a(
|
|
4940
|
-
|
|
4964
|
+
W3,
|
|
4941
4965
|
{
|
|
4942
4966
|
appearance: o,
|
|
4943
4967
|
placement: r,
|
|
@@ -4948,7 +4972,7 @@ function L8({
|
|
|
4948
4972
|
)
|
|
4949
4973
|
] });
|
|
4950
4974
|
}
|
|
4951
|
-
const
|
|
4975
|
+
const I2 = {
|
|
4952
4976
|
menu: {
|
|
4953
4977
|
root: "flex flex-col rounded-4 border border-gray-300 bg-base-white py-8 shadow-lg"
|
|
4954
4978
|
},
|
|
@@ -4975,13 +4999,13 @@ function W0({
|
|
|
4975
4999
|
"div",
|
|
4976
5000
|
{
|
|
4977
5001
|
role: "menu",
|
|
4978
|
-
className: d(
|
|
5002
|
+
className: d(I2.menu.root, o),
|
|
4979
5003
|
...r,
|
|
4980
5004
|
children: t
|
|
4981
5005
|
}
|
|
4982
5006
|
) });
|
|
4983
5007
|
}
|
|
4984
|
-
function
|
|
5008
|
+
function O3({
|
|
4985
5009
|
value: e,
|
|
4986
5010
|
icon: t,
|
|
4987
5011
|
children: o,
|
|
@@ -5000,26 +5024,26 @@ function W3({
|
|
|
5000
5024
|
onClick: (m) => {
|
|
5001
5025
|
l || (i == null || i(m), c == null || c(e));
|
|
5002
5026
|
},
|
|
5003
|
-
className: d(
|
|
5027
|
+
className: d(I2.item.root, r),
|
|
5004
5028
|
...s,
|
|
5005
5029
|
children: [
|
|
5006
|
-
t && /* @__PURE__ */ a("span", { className:
|
|
5030
|
+
t && /* @__PURE__ */ a("span", { className: I2.item.icon, children: t }),
|
|
5007
5031
|
o
|
|
5008
5032
|
]
|
|
5009
5033
|
}
|
|
5010
5034
|
);
|
|
5011
5035
|
}
|
|
5012
|
-
function
|
|
5036
|
+
function _3({ className: e }) {
|
|
5013
5037
|
return /* @__PURE__ */ a(
|
|
5014
5038
|
"div",
|
|
5015
5039
|
{
|
|
5016
5040
|
role: "separator",
|
|
5017
|
-
className: d(
|
|
5041
|
+
className: d(I2.divider.root, e)
|
|
5018
5042
|
}
|
|
5019
5043
|
);
|
|
5020
5044
|
}
|
|
5021
|
-
W0.Item =
|
|
5022
|
-
W0.Divider =
|
|
5045
|
+
W0.Item = O3;
|
|
5046
|
+
W0.Divider = _3;
|
|
5023
5047
|
const T = {
|
|
5024
5048
|
common: {
|
|
5025
5049
|
wrapper: "relative flex items-center",
|
|
@@ -5059,7 +5083,7 @@ const T = {
|
|
|
5059
5083
|
time: {},
|
|
5060
5084
|
currency: { prefix: "$", prefixPadding: "pl-[24px]" }
|
|
5061
5085
|
}
|
|
5062
|
-
},
|
|
5086
|
+
}, U3 = U2(
|
|
5063
5087
|
function({
|
|
5064
5088
|
variant: t = "text",
|
|
5065
5089
|
size: o = "default",
|
|
@@ -5195,7 +5219,7 @@ function x2({
|
|
|
5195
5219
|
onClick: g,
|
|
5196
5220
|
className: "text-base-white",
|
|
5197
5221
|
"aria-label": "Expand navigation",
|
|
5198
|
-
children: /* @__PURE__ */ a(
|
|
5222
|
+
children: /* @__PURE__ */ a(e8, { className: "size-24" })
|
|
5199
5223
|
}
|
|
5200
5224
|
)
|
|
5201
5225
|
}
|
|
@@ -5205,7 +5229,7 @@ function x2({
|
|
|
5205
5229
|
}
|
|
5206
5230
|
) });
|
|
5207
5231
|
}
|
|
5208
|
-
function
|
|
5232
|
+
function q3({
|
|
5209
5233
|
placeholder: e = "Search...",
|
|
5210
5234
|
value: t,
|
|
5211
5235
|
onChange: o,
|
|
@@ -5213,7 +5237,7 @@ function U3({
|
|
|
5213
5237
|
}) {
|
|
5214
5238
|
const { isExpanded: i, toggleExpanded: l } = b2(R2);
|
|
5215
5239
|
return i ? /* @__PURE__ */ a("div", { className: d(H.search.root, r), children: /* @__PURE__ */ a(
|
|
5216
|
-
|
|
5240
|
+
U3,
|
|
5217
5241
|
{
|
|
5218
5242
|
variant: "search",
|
|
5219
5243
|
size: "compact",
|
|
@@ -5234,13 +5258,13 @@ function U3({
|
|
|
5234
5258
|
}
|
|
5235
5259
|
) });
|
|
5236
5260
|
}
|
|
5237
|
-
function
|
|
5261
|
+
function K3({
|
|
5238
5262
|
children: e,
|
|
5239
5263
|
className: t
|
|
5240
5264
|
}) {
|
|
5241
5265
|
return /* @__PURE__ */ a("div", { className: d(H.section.root, t), children: e });
|
|
5242
5266
|
}
|
|
5243
|
-
function
|
|
5267
|
+
function X3({
|
|
5244
5268
|
icon: e,
|
|
5245
5269
|
label: t,
|
|
5246
5270
|
isActive: o = !1,
|
|
@@ -5273,7 +5297,7 @@ function K3({
|
|
|
5273
5297
|
m && /* @__PURE__ */ h(h2, { children: [
|
|
5274
5298
|
/* @__PURE__ */ a("span", { className: H.item.label, children: t }),
|
|
5275
5299
|
g && /* @__PURE__ */ a(
|
|
5276
|
-
|
|
5300
|
+
Q3,
|
|
5277
5301
|
{
|
|
5278
5302
|
className: d(
|
|
5279
5303
|
H.item.chevron,
|
|
@@ -5288,7 +5312,7 @@ function K3({
|
|
|
5288
5312
|
m && g && r && /* @__PURE__ */ a("div", { className: H.children.root, children: l })
|
|
5289
5313
|
] });
|
|
5290
5314
|
}
|
|
5291
|
-
function
|
|
5315
|
+
function Y3({
|
|
5292
5316
|
label: e,
|
|
5293
5317
|
isActive: t = !1,
|
|
5294
5318
|
className: o,
|
|
@@ -5308,7 +5332,7 @@ function X3({
|
|
|
5308
5332
|
}
|
|
5309
5333
|
);
|
|
5310
5334
|
}
|
|
5311
|
-
function
|
|
5335
|
+
function J3({
|
|
5312
5336
|
name: e,
|
|
5313
5337
|
avatarSrc: t,
|
|
5314
5338
|
initials: o,
|
|
@@ -5343,7 +5367,7 @@ function Y3({
|
|
|
5343
5367
|
onClick: r,
|
|
5344
5368
|
className: H.account.button,
|
|
5345
5369
|
"aria-label": "Settings",
|
|
5346
|
-
children: /* @__PURE__ */ a(
|
|
5370
|
+
children: /* @__PURE__ */ a(t8, { className: H.account.buttonIcon })
|
|
5347
5371
|
}
|
|
5348
5372
|
)
|
|
5349
5373
|
] })
|
|
@@ -5361,7 +5385,7 @@ function b0({ className: e }) {
|
|
|
5361
5385
|
}
|
|
5362
5386
|
) });
|
|
5363
5387
|
}
|
|
5364
|
-
function
|
|
5388
|
+
function Q3({ className: e }) {
|
|
5365
5389
|
return /* @__PURE__ */ a("svg", { className: e, viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ a(
|
|
5366
5390
|
"path",
|
|
5367
5391
|
{
|
|
@@ -5371,7 +5395,7 @@ function J3({ className: e }) {
|
|
|
5371
5395
|
}
|
|
5372
5396
|
) });
|
|
5373
5397
|
}
|
|
5374
|
-
function
|
|
5398
|
+
function e8({ className: e }) {
|
|
5375
5399
|
return /* @__PURE__ */ a("svg", { className: e, viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ a(
|
|
5376
5400
|
"path",
|
|
5377
5401
|
{
|
|
@@ -5381,55 +5405,55 @@ function Q3({ className: e }) {
|
|
|
5381
5405
|
}
|
|
5382
5406
|
) });
|
|
5383
5407
|
}
|
|
5384
|
-
function
|
|
5408
|
+
function t8({ className: e }) {
|
|
5385
5409
|
return /* @__PURE__ */ a("svg", { className: e, viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ a("path", { d: "M8 2a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM8 6.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM9.5 12.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z" }) });
|
|
5386
5410
|
}
|
|
5387
|
-
x2.Search =
|
|
5388
|
-
x2.Section =
|
|
5389
|
-
x2.Item =
|
|
5390
|
-
x2.SubItem =
|
|
5391
|
-
x2.Account =
|
|
5411
|
+
x2.Search = q3;
|
|
5412
|
+
x2.Section = K3;
|
|
5413
|
+
x2.Item = X3;
|
|
5414
|
+
x2.SubItem = Y3;
|
|
5415
|
+
x2.Account = J3;
|
|
5392
5416
|
export {
|
|
5393
|
-
|
|
5394
|
-
|
|
5417
|
+
i8 as Accordion,
|
|
5418
|
+
l8 as AccordionItem,
|
|
5395
5419
|
W0 as ActionMenu,
|
|
5396
|
-
|
|
5397
|
-
|
|
5420
|
+
_3 as ActionMenuDivider,
|
|
5421
|
+
O3 as ActionMenuItem,
|
|
5398
5422
|
S0 as Avatar,
|
|
5399
5423
|
d3 as Branding,
|
|
5400
5424
|
u0 as Button,
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5425
|
+
s8 as Chip,
|
|
5426
|
+
c8 as CounterBadge,
|
|
5427
|
+
d8 as Divider,
|
|
5404
5428
|
K2 as DotStatus,
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5429
|
+
C8 as Dropdown,
|
|
5430
|
+
m8 as Field,
|
|
5431
|
+
p8 as FileUpload,
|
|
5408
5432
|
B3 as Icon,
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5433
|
+
g8 as Keys,
|
|
5434
|
+
f8 as PillToggle,
|
|
5435
|
+
h8 as ProgressBar,
|
|
5436
|
+
x8 as Radio,
|
|
5437
|
+
b8 as RadioGroup,
|
|
5414
5438
|
x2 as SideNavigation,
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5439
|
+
J3 as SideNavigationAccount,
|
|
5440
|
+
X3 as SideNavigationItem,
|
|
5441
|
+
q3 as SideNavigationSearch,
|
|
5442
|
+
K3 as SideNavigationSection,
|
|
5443
|
+
Y3 as SideNavigationSubItem,
|
|
5444
|
+
y8 as Slider,
|
|
5445
|
+
v8 as Slot,
|
|
5446
|
+
w8 as Status,
|
|
5447
|
+
V8 as StepIndicator,
|
|
5448
|
+
H8 as Tabs,
|
|
5449
|
+
M8 as Tag,
|
|
5450
|
+
Z8 as Textarea,
|
|
5451
|
+
k8 as Toast,
|
|
5452
|
+
L8 as Toggle,
|
|
5453
|
+
W3 as Tooltip,
|
|
5454
|
+
N8 as TooltipTrigger,
|
|
5455
|
+
u8 as createIcon,
|
|
5432
5456
|
d as cx,
|
|
5433
5457
|
i2 as isReactComponent,
|
|
5434
|
-
|
|
5458
|
+
a8 as sortCx
|
|
5435
5459
|
};
|