@drjoshcsimmons/scl 0.1.14 → 0.1.15
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/components/ui/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/index100.js +24 -12
- package/dist/index102.js +178 -27
- package/dist/index103.js +47 -3
- package/dist/index104.js +30 -25
- package/dist/index105.js +54 -5
- package/dist/index106.js +30 -55
- package/dist/index107.js +1 -1
- package/dist/index108.js +650 -30
- package/dist/index109.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index110.js +27 -647
- package/dist/index113.js +6 -12
- package/dist/index114.js +42 -200
- package/dist/index115.js +47 -21
- package/dist/index116.js +10 -398
- package/dist/index117.js +200 -42
- package/dist/index118.js +21 -47
- package/dist/index119.js +399 -20
- package/dist/index12.js +1 -1
- package/dist/index120.js +15 -3
- package/dist/index121.js +3 -32
- package/dist/index122.js +32 -12
- package/dist/index123.js +18 -6
- package/dist/index124.js +1 -1
- package/dist/index125.js +2 -25
- package/dist/index126.js +53 -29
- package/dist/index127.js +65 -5
- package/dist/index128.js +25 -2
- package/dist/index129.js +29 -53
- package/dist/index13.js +2 -2
- package/dist/index130.js +5 -65
- package/dist/index131.js +2 -5
- package/dist/index132.js +2 -3
- package/dist/index133.js +5 -24
- package/dist/index134.js +3 -113
- package/dist/index135.js +23 -15
- package/dist/index136.js +107 -519
- package/dist/index137.js +14 -126
- package/dist/index138.js +516 -125
- package/dist/index139.js +128 -2
- package/dist/index14.js +2 -2
- package/dist/index140.js +134 -2
- package/dist/index141.js +65 -69
- package/dist/index142.js +68 -8
- package/dist/index143.js +9 -14
- package/dist/index144.js +14 -66
- package/dist/index145.js +65 -64
- package/dist/index148.js +11 -21
- package/dist/index149.js +26 -11
- package/dist/index15.js +54 -54
- package/dist/index150.js +4 -27
- package/dist/index151.js +22 -4
- package/dist/index17.js +70 -71
- package/dist/index18.js +2 -2
- package/dist/index19.js +4 -4
- package/dist/index20.js +2 -2
- package/dist/index21.js +15 -15
- package/dist/index22.js +20 -20
- package/dist/index24.js +12 -12
- package/dist/index25.js +59 -59
- package/dist/index26.js +1 -1
- package/dist/index27.js +32 -32
- package/dist/index29.js +7 -7
- package/dist/index31.js +14 -14
- package/dist/index32.js +17 -17
- package/dist/index33.js +10 -10
- package/dist/index36.js +9 -9
- package/dist/index37.js +18 -18
- package/dist/index4.js +26 -26
- package/dist/index45.js +237 -33
- package/dist/index46.js +11 -241
- package/dist/index47.js +33 -237
- package/dist/index48.js +73 -11
- package/dist/index49.js +198 -217
- package/dist/index5.js +1 -1
- package/dist/index50.js +435 -12
- package/dist/index51.js +112 -517
- package/dist/index52.js +245 -18
- package/dist/index53.js +9 -161
- package/dist/index54.js +107 -62
- package/dist/index55.js +119 -325
- package/dist/index56.js +10 -10
- package/dist/index57.js +1 -1
- package/dist/index58.js +53 -75
- package/dist/index59.js +247 -242
- package/dist/index6.js +36 -36
- package/dist/index60.js +260 -9
- package/dist/index61.js +12 -130
- package/dist/index62.js +530 -18
- package/dist/index63.js +18 -860
- package/dist/index64.js +161 -9
- package/dist/index65.js +82 -31
- package/dist/index66.js +20 -433
- package/dist/index67.js +856 -56
- package/dist/index68.js +9 -118
- package/dist/index69.js +6 -6
- package/dist/index7.js +1 -1
- package/dist/index70.js +1 -1
- package/dist/index71.js +336 -12
- package/dist/index72.js +303 -118
- package/dist/index73.js +12 -310
- package/dist/index74.js +31 -12
- package/dist/index75.js +12 -254
- package/dist/index76.js +66 -5
- package/dist/index77.js +44 -25
- package/dist/index78.js +23 -64
- package/dist/index79.js +5 -123
- package/dist/index8.js +5 -5
- package/dist/index80.js +50 -13
- package/dist/index81.js +32 -133
- package/dist/index82.js +1 -1
- package/dist/index83.js +7 -218
- package/dist/index84.js +55 -14
- package/dist/index85.js +10 -68
- package/dist/index86.js +4 -34
- package/dist/index87.js +29 -47
- package/dist/index88.js +10 -49
- package/dist/index89.js +122 -47
- package/dist/index9.js +21 -21
- package/dist/index90.js +14 -8
- package/dist/index91.js +130 -41
- package/dist/index92.js +218 -7
- package/dist/index93.js +14 -48
- package/dist/index94.js +68 -29
- package/dist/index95.js +43 -176
- package/dist/index96.js +48 -53
- package/dist/index97.js +8 -10
- package/dist/index98.js +4 -4
- package/dist/index99.js +6 -30
- package/package.json +1 -1
package/dist/index145.js
CHANGED
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
e = {
|
|
27
|
-
push: function(i) {
|
|
28
|
-
return u(i);
|
|
29
|
-
},
|
|
30
|
-
filter: function() {
|
|
31
|
-
return e;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
assignMedium: function(u) {
|
|
36
|
-
o = !0;
|
|
37
|
-
var n = [];
|
|
38
|
-
if (e.length) {
|
|
39
|
-
var i = e;
|
|
40
|
-
e = [], i.forEach(u), n = e;
|
|
41
|
-
}
|
|
42
|
-
var s = function() {
|
|
43
|
-
var f = n;
|
|
44
|
-
n = [], f.forEach(u);
|
|
45
|
-
}, a = function() {
|
|
46
|
-
return Promise.resolve().then(s);
|
|
47
|
-
};
|
|
48
|
-
a(), e = {
|
|
49
|
-
push: function(f) {
|
|
50
|
-
n.push(f), a();
|
|
51
|
-
},
|
|
52
|
-
filter: function(f) {
|
|
53
|
-
return n = n.filter(f), e;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
1
|
+
var N = function(r) {
|
|
2
|
+
return r.tagName === "TEXTAREA";
|
|
3
|
+
}, b = function(r, e) {
|
|
4
|
+
if (!(r instanceof Element))
|
|
5
|
+
return !1;
|
|
6
|
+
var t = window.getComputedStyle(r);
|
|
7
|
+
return (
|
|
8
|
+
// not-not-scrollable
|
|
9
|
+
t[e] !== "hidden" && // contains scroll inside self
|
|
10
|
+
!(t.overflowY === t.overflowX && !N(r) && t[e] === "visible")
|
|
11
|
+
);
|
|
12
|
+
}, D = function(r) {
|
|
13
|
+
return b(r, "overflowY");
|
|
14
|
+
}, E = function(r) {
|
|
15
|
+
return b(r, "overflowX");
|
|
16
|
+
}, T = function(r, e) {
|
|
17
|
+
var t = e.ownerDocument, l = e;
|
|
18
|
+
do {
|
|
19
|
+
typeof ShadowRoot < "u" && l instanceof ShadowRoot && (l = l.host);
|
|
20
|
+
var f = g(r, l);
|
|
21
|
+
if (f) {
|
|
22
|
+
var n = m(r, l), i = n[1], o = n[2];
|
|
23
|
+
if (i > o)
|
|
24
|
+
return !0;
|
|
56
25
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
function
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
26
|
+
l = l.parentNode;
|
|
27
|
+
} while (l && l !== t.body);
|
|
28
|
+
return !1;
|
|
29
|
+
}, H = function(r) {
|
|
30
|
+
var e = r.scrollTop, t = r.scrollHeight, l = r.clientHeight;
|
|
31
|
+
return [
|
|
32
|
+
e,
|
|
33
|
+
t,
|
|
34
|
+
l
|
|
35
|
+
];
|
|
36
|
+
}, p = function(r) {
|
|
37
|
+
var e = r.scrollLeft, t = r.scrollWidth, l = r.clientWidth;
|
|
38
|
+
return [
|
|
39
|
+
e,
|
|
40
|
+
t,
|
|
41
|
+
l
|
|
42
|
+
];
|
|
43
|
+
}, g = function(r, e) {
|
|
44
|
+
return r === "v" ? D(e) : E(e);
|
|
45
|
+
}, m = function(r, e) {
|
|
46
|
+
return r === "v" ? H(e) : p(e);
|
|
47
|
+
}, B = function(r, e) {
|
|
48
|
+
return r === "h" && e === "rtl" ? -1 : 1;
|
|
49
|
+
}, V = function(r, e, t, l, f) {
|
|
50
|
+
var n = B(r, window.getComputedStyle(e).direction), i = n * l, o = t.target, d = e.contains(o), c = !1, s = i > 0, h = 0, S = 0;
|
|
51
|
+
do {
|
|
52
|
+
if (!o)
|
|
53
|
+
break;
|
|
54
|
+
var u = m(r, o), v = u[0], C = u[1], y = u[2], w = C - y - n * v;
|
|
55
|
+
(v || w) && g(r, o) && (h += w, S += v);
|
|
56
|
+
var a = o.parentNode;
|
|
57
|
+
o = a && a.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? a.host : a;
|
|
58
|
+
} while (
|
|
59
|
+
// portaled content
|
|
60
|
+
!d && o !== document.body || // self content
|
|
61
|
+
d && (e.contains(o) || e === o)
|
|
62
|
+
);
|
|
63
|
+
return (s && Math.abs(h) < 1 || !s && Math.abs(S) < 1) && (c = !0), c;
|
|
64
|
+
};
|
|
65
65
|
export {
|
|
66
|
-
|
|
66
|
+
V as handleScroll,
|
|
67
|
+
T as locationCouldBeScrolled
|
|
67
68
|
};
|
package/dist/index148.js
CHANGED
|
@@ -1,25 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}, f = function(t) {
|
|
12
|
-
if (t === void 0 && (t = "margin"), typeof window > "u")
|
|
13
|
-
return a;
|
|
14
|
-
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
|
15
|
-
return {
|
|
16
|
-
left: n[0],
|
|
17
|
-
top: n[1],
|
|
18
|
-
right: n[2],
|
|
19
|
-
gap: Math.max(0, r - i + n[2] - n[0])
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { stylesheetSingleton as r } from "./index149.js";
|
|
3
|
+
var i = function() {
|
|
4
|
+
var t = r();
|
|
5
|
+
return function(e, n) {
|
|
6
|
+
o.useEffect(function() {
|
|
7
|
+
return t.add(e), function() {
|
|
8
|
+
t.remove();
|
|
9
|
+
};
|
|
10
|
+
}, [e && n]);
|
|
20
11
|
};
|
|
21
12
|
};
|
|
22
13
|
export {
|
|
23
|
-
|
|
24
|
-
a as zeroGap
|
|
14
|
+
i as styleHookSingleton
|
|
25
15
|
};
|
package/dist/index149.js
CHANGED
|
@@ -1,15 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { getNonce as o } from "./index150.js";
|
|
2
|
+
function r() {
|
|
3
|
+
if (!document)
|
|
4
|
+
return null;
|
|
5
|
+
var t = document.createElement("style");
|
|
6
|
+
t.type = "text/css";
|
|
7
|
+
var e = o();
|
|
8
|
+
return e && t.setAttribute("nonce", e), t;
|
|
9
|
+
}
|
|
10
|
+
function l(t, e) {
|
|
11
|
+
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
|
12
|
+
}
|
|
13
|
+
function a(t) {
|
|
14
|
+
var e = document.head || document.getElementsByTagName("head")[0];
|
|
15
|
+
e.appendChild(t);
|
|
16
|
+
}
|
|
17
|
+
var c = function() {
|
|
18
|
+
var t = 0, e = null;
|
|
19
|
+
return {
|
|
20
|
+
add: function(n) {
|
|
21
|
+
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
|
22
|
+
},
|
|
23
|
+
remove: function() {
|
|
24
|
+
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
|
25
|
+
}
|
|
11
26
|
};
|
|
12
27
|
};
|
|
13
28
|
export {
|
|
14
|
-
|
|
29
|
+
c as stylesheetSingleton
|
|
15
30
|
};
|
package/dist/index15.js
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as
|
|
4
|
-
import { cn as
|
|
5
|
-
import y from "./
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
import { jsx as o, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { Root as p, Portal as x, Trigger as N, Close as i, Overlay as n, Content as c, Title as d, Description as m } from "./index60.js";
|
|
4
|
+
import { cn as t } from "./index2.js";
|
|
5
|
+
import y from "./index61.js";
|
|
6
|
+
const j = p, z = N, D = x, F = i, f = l.forwardRef(({ className: e, ...a }, s) => /* @__PURE__ */ o(
|
|
7
|
+
n,
|
|
8
8
|
{
|
|
9
|
-
ref:
|
|
10
|
-
className:
|
|
11
|
-
"fixed inset-0 z-50 bg-black/80 data-[state=
|
|
12
|
-
|
|
9
|
+
ref: s,
|
|
10
|
+
className: t(
|
|
11
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=closed]:hidden",
|
|
12
|
+
e
|
|
13
13
|
),
|
|
14
|
-
...
|
|
14
|
+
...a
|
|
15
15
|
}
|
|
16
16
|
));
|
|
17
|
-
f.displayName =
|
|
18
|
-
const
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
|
|
17
|
+
f.displayName = n.displayName;
|
|
18
|
+
const u = l.forwardRef(({ className: e, children: a, ...s }, g) => /* @__PURE__ */ r(D, { children: [
|
|
19
|
+
/* @__PURE__ */ o(f, {}),
|
|
20
|
+
/* @__PURE__ */ r(
|
|
21
|
+
c,
|
|
22
22
|
{
|
|
23
|
-
ref:
|
|
24
|
-
className:
|
|
25
|
-
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border-2 bg-black p-6
|
|
26
|
-
|
|
23
|
+
ref: g,
|
|
24
|
+
className: t(
|
|
25
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border-2 bg-black p-6",
|
|
26
|
+
e
|
|
27
27
|
),
|
|
28
|
-
...
|
|
28
|
+
...s,
|
|
29
29
|
children: [
|
|
30
|
-
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
30
|
+
a,
|
|
31
|
+
/* @__PURE__ */ r(i, { className: "absolute right-4 top-4 ring-offset-background hover:text-primary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none cursor-pointer", children: [
|
|
32
|
+
/* @__PURE__ */ o(y, { className: "h-4 w-4" }),
|
|
33
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
34
34
|
] })
|
|
35
35
|
]
|
|
36
36
|
}
|
|
37
37
|
)
|
|
38
38
|
] }));
|
|
39
|
-
|
|
39
|
+
u.displayName = c.displayName;
|
|
40
40
|
const b = ({
|
|
41
|
-
className:
|
|
42
|
-
...
|
|
43
|
-
}) => /* @__PURE__ */
|
|
41
|
+
className: e,
|
|
42
|
+
...a
|
|
43
|
+
}) => /* @__PURE__ */ o(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
|
-
className:
|
|
46
|
+
className: t(
|
|
47
47
|
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
48
|
-
|
|
48
|
+
e
|
|
49
49
|
),
|
|
50
|
-
...
|
|
50
|
+
...a
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
53
|
b.displayName = "DialogHeader";
|
|
54
54
|
const h = ({
|
|
55
|
-
className:
|
|
56
|
-
...
|
|
57
|
-
}) => /* @__PURE__ */
|
|
55
|
+
className: e,
|
|
56
|
+
...a
|
|
57
|
+
}) => /* @__PURE__ */ o(
|
|
58
58
|
"div",
|
|
59
59
|
{
|
|
60
|
-
className:
|
|
60
|
+
className: t(
|
|
61
61
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
62
|
-
|
|
62
|
+
e
|
|
63
63
|
),
|
|
64
|
-
...
|
|
64
|
+
...a
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
67
|
h.displayName = "DialogFooter";
|
|
68
|
-
const w =
|
|
69
|
-
|
|
68
|
+
const w = l.forwardRef(({ className: e, ...a }, s) => /* @__PURE__ */ o(
|
|
69
|
+
d,
|
|
70
70
|
{
|
|
71
|
-
ref:
|
|
72
|
-
className:
|
|
71
|
+
ref: s,
|
|
72
|
+
className: t(
|
|
73
73
|
"text-lg font-semibold leading-none tracking-tight",
|
|
74
|
-
|
|
74
|
+
e
|
|
75
75
|
),
|
|
76
|
-
...
|
|
76
|
+
...a
|
|
77
77
|
}
|
|
78
78
|
));
|
|
79
|
-
w.displayName =
|
|
80
|
-
const v =
|
|
79
|
+
w.displayName = d.displayName;
|
|
80
|
+
const v = l.forwardRef(({ className: e, ...a }, s) => /* @__PURE__ */ o(
|
|
81
81
|
m,
|
|
82
82
|
{
|
|
83
|
-
ref:
|
|
84
|
-
className:
|
|
85
|
-
...
|
|
83
|
+
ref: s,
|
|
84
|
+
className: t("text-sm text-muted-foreground", e),
|
|
85
|
+
...a
|
|
86
86
|
}
|
|
87
87
|
));
|
|
88
88
|
v.displayName = m.displayName;
|
|
89
89
|
export {
|
|
90
|
-
|
|
90
|
+
j as Dialog,
|
|
91
91
|
F as DialogClose,
|
|
92
|
-
|
|
92
|
+
u as DialogContent,
|
|
93
93
|
v as DialogDescription,
|
|
94
94
|
h as DialogFooter,
|
|
95
95
|
b as DialogHeader,
|
|
96
96
|
f as DialogOverlay,
|
|
97
|
-
|
|
97
|
+
D as DialogPortal,
|
|
98
98
|
w as DialogTitle,
|
|
99
|
-
|
|
99
|
+
z as DialogTrigger
|
|
100
100
|
};
|
package/dist/index150.js
CHANGED
|
@@ -1,30 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return null;
|
|
5
|
-
var t = document.createElement("style");
|
|
6
|
-
t.type = "text/css";
|
|
7
|
-
var e = o();
|
|
8
|
-
return e && t.setAttribute("nonce", e), t;
|
|
9
|
-
}
|
|
10
|
-
function l(t, e) {
|
|
11
|
-
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
|
12
|
-
}
|
|
13
|
-
function a(t) {
|
|
14
|
-
var e = document.head || document.getElementsByTagName("head")[0];
|
|
15
|
-
e.appendChild(t);
|
|
16
|
-
}
|
|
17
|
-
var c = function() {
|
|
18
|
-
var t = 0, e = null;
|
|
19
|
-
return {
|
|
20
|
-
add: function(n) {
|
|
21
|
-
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
|
22
|
-
},
|
|
23
|
-
remove: function() {
|
|
24
|
-
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
1
|
+
var e = function() {
|
|
2
|
+
if (typeof __webpack_nonce__ < "u")
|
|
3
|
+
return __webpack_nonce__;
|
|
27
4
|
};
|
|
28
5
|
export {
|
|
29
|
-
|
|
6
|
+
e as getNonce
|
|
30
7
|
};
|
package/dist/index151.js
CHANGED
|
@@ -1,7 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var a = {
|
|
2
|
+
left: 0,
|
|
3
|
+
top: 0,
|
|
4
|
+
right: 0,
|
|
5
|
+
gap: 0
|
|
6
|
+
}, e = function(t) {
|
|
7
|
+
return parseInt(t || "", 10) || 0;
|
|
8
|
+
}, o = function(t) {
|
|
9
|
+
var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
|
|
10
|
+
return [e(i), e(r), e(d)];
|
|
11
|
+
}, f = function(t) {
|
|
12
|
+
if (t === void 0 && (t = "margin"), typeof window > "u")
|
|
13
|
+
return a;
|
|
14
|
+
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
|
15
|
+
return {
|
|
16
|
+
left: n[0],
|
|
17
|
+
top: n[1],
|
|
18
|
+
right: n[2],
|
|
19
|
+
gap: Math.max(0, r - i + n[2] - n[0])
|
|
20
|
+
};
|
|
4
21
|
};
|
|
5
22
|
export {
|
|
6
|
-
|
|
23
|
+
f as getGapWidth,
|
|
24
|
+
a as zeroGap
|
|
7
25
|
};
|
package/dist/index17.js
CHANGED
|
@@ -1,142 +1,141 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as w, Trigger as
|
|
4
|
-
import { cn as
|
|
5
|
-
import D from "./
|
|
1
|
+
import { jsx as a, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { Root as w, Trigger as h, Group as N, Portal as d, Sub as v, RadioGroup as R, Content as m, Item as l, CheckboxItem as c, ItemIndicator as u, RadioItem as f, Label as y, Separator as b, SubContent as g, SubTrigger as x } from "./index69.js";
|
|
4
|
+
import { cn as n } from "./index2.js";
|
|
5
|
+
import D from "./index53.js";
|
|
6
6
|
import M from "./index57.js";
|
|
7
7
|
import S from "./index70.js";
|
|
8
|
-
const H = w, J =
|
|
9
|
-
|
|
8
|
+
const H = w, J = h, K = N, O = d, Q = v, U = R, I = s.forwardRef(({ className: e, inset: r, children: o, ...t }, i) => /* @__PURE__ */ p(
|
|
9
|
+
x,
|
|
10
10
|
{
|
|
11
11
|
ref: i,
|
|
12
|
-
className:
|
|
12
|
+
className: n(
|
|
13
13
|
"flex cursor-default select-none items-center gap-2 px-2 py-1.5 text-sm outline-none hover:bg-primary/20 focus:bg-primary/20 data-[state=open]:bg-primary/20 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
14
|
-
|
|
14
|
+
r && "pl-8",
|
|
15
15
|
e
|
|
16
16
|
),
|
|
17
|
-
...
|
|
17
|
+
...t,
|
|
18
18
|
children: [
|
|
19
|
-
|
|
20
|
-
/* @__PURE__ */
|
|
19
|
+
o,
|
|
20
|
+
/* @__PURE__ */ a(S, { className: "ml-auto" })
|
|
21
21
|
]
|
|
22
22
|
}
|
|
23
23
|
));
|
|
24
|
-
I.displayName =
|
|
25
|
-
const C =
|
|
24
|
+
I.displayName = x.displayName;
|
|
25
|
+
const C = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(
|
|
26
26
|
g,
|
|
27
27
|
{
|
|
28
|
-
ref:
|
|
29
|
-
className:
|
|
30
|
-
"z-[60] min-w-[8rem] overflow-hidden border-2 border-primary bg-black p-1 text-primary
|
|
28
|
+
ref: o,
|
|
29
|
+
className: n(
|
|
30
|
+
"z-[60] min-w-[8rem] overflow-hidden border-2 border-primary bg-black p-1 text-primary",
|
|
31
31
|
e
|
|
32
32
|
),
|
|
33
|
-
...
|
|
33
|
+
...r
|
|
34
34
|
}
|
|
35
35
|
));
|
|
36
36
|
C.displayName = g.displayName;
|
|
37
|
-
const k =
|
|
38
|
-
|
|
37
|
+
const k = s.forwardRef(({ className: e, sideOffset: r = 4, ...o }, t) => /* @__PURE__ */ a(d, { children: /* @__PURE__ */ a(
|
|
38
|
+
m,
|
|
39
39
|
{
|
|
40
|
-
ref:
|
|
41
|
-
sideOffset:
|
|
42
|
-
className:
|
|
40
|
+
ref: t,
|
|
41
|
+
sideOffset: r,
|
|
42
|
+
className: n(
|
|
43
43
|
"z-[60] min-w-[8rem] overflow-hidden border-2 border-primary bg-black p-1 text-primary",
|
|
44
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
45
44
|
e
|
|
46
45
|
),
|
|
47
|
-
...
|
|
46
|
+
...o
|
|
48
47
|
}
|
|
49
48
|
) }));
|
|
50
|
-
k.displayName =
|
|
51
|
-
const
|
|
52
|
-
|
|
49
|
+
k.displayName = m.displayName;
|
|
50
|
+
const G = s.forwardRef(({ className: e, inset: r, ...o }, t) => /* @__PURE__ */ a(
|
|
51
|
+
l,
|
|
53
52
|
{
|
|
54
|
-
ref:
|
|
55
|
-
className:
|
|
56
|
-
"relative flex cursor-default select-none items-center gap-2 px-2 py-1.5 text-sm outline-none
|
|
57
|
-
|
|
53
|
+
ref: t,
|
|
54
|
+
className: n(
|
|
55
|
+
"relative flex cursor-default select-none items-center gap-2 px-2 py-1.5 text-sm outline-none hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
56
|
+
r && "pl-8",
|
|
58
57
|
e
|
|
59
58
|
),
|
|
60
|
-
...
|
|
59
|
+
...o
|
|
61
60
|
}
|
|
62
61
|
));
|
|
63
|
-
|
|
64
|
-
const
|
|
62
|
+
G.displayName = l.displayName;
|
|
63
|
+
const T = s.forwardRef(({ className: e, children: r, checked: o, ...t }, i) => /* @__PURE__ */ p(
|
|
65
64
|
c,
|
|
66
65
|
{
|
|
67
66
|
ref: i,
|
|
68
|
-
className:
|
|
69
|
-
"relative flex cursor-default select-none items-center py-1.5 pl-8 pr-2 text-sm outline-none
|
|
67
|
+
className: n(
|
|
68
|
+
"relative flex cursor-default select-none items-center py-1.5 pl-8 pr-2 text-sm outline-none hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
70
69
|
e
|
|
71
70
|
),
|
|
72
|
-
checked:
|
|
73
|
-
...
|
|
71
|
+
checked: o,
|
|
72
|
+
...t,
|
|
74
73
|
children: [
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
|
|
74
|
+
/* @__PURE__ */ a("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(u, { children: /* @__PURE__ */ a(D, { className: "h-4 w-4" }) }) }),
|
|
75
|
+
r
|
|
77
76
|
]
|
|
78
77
|
}
|
|
79
78
|
));
|
|
80
|
-
|
|
81
|
-
const
|
|
79
|
+
T.displayName = c.displayName;
|
|
80
|
+
const j = s.forwardRef(({ className: e, children: r, ...o }, t) => /* @__PURE__ */ p(
|
|
82
81
|
f,
|
|
83
82
|
{
|
|
84
|
-
ref:
|
|
85
|
-
className:
|
|
86
|
-
"relative flex cursor-default select-none items-center py-1.5 pl-8 pr-2 text-sm outline-none
|
|
83
|
+
ref: t,
|
|
84
|
+
className: n(
|
|
85
|
+
"relative flex cursor-default select-none items-center py-1.5 pl-8 pr-2 text-sm outline-none hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
87
86
|
e
|
|
88
87
|
),
|
|
89
|
-
...
|
|
88
|
+
...o,
|
|
90
89
|
children: [
|
|
91
|
-
/* @__PURE__ */
|
|
92
|
-
|
|
90
|
+
/* @__PURE__ */ a("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(u, { children: /* @__PURE__ */ a(M, { className: "h-4 w-4 fill-current" }) }) }),
|
|
91
|
+
r
|
|
93
92
|
]
|
|
94
93
|
}
|
|
95
94
|
));
|
|
96
|
-
|
|
97
|
-
const
|
|
98
|
-
|
|
95
|
+
j.displayName = f.displayName;
|
|
96
|
+
const z = s.forwardRef(({ className: e, inset: r, ...o }, t) => /* @__PURE__ */ a(
|
|
97
|
+
y,
|
|
99
98
|
{
|
|
100
|
-
ref:
|
|
101
|
-
className:
|
|
99
|
+
ref: t,
|
|
100
|
+
className: n(
|
|
102
101
|
"px-2 py-1.5 text-sm font-semibold",
|
|
103
|
-
|
|
102
|
+
r && "pl-8",
|
|
104
103
|
e
|
|
105
104
|
),
|
|
106
|
-
...
|
|
105
|
+
...o
|
|
107
106
|
}
|
|
108
107
|
));
|
|
109
|
-
|
|
110
|
-
const L =
|
|
111
|
-
|
|
108
|
+
z.displayName = y.displayName;
|
|
109
|
+
const L = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(
|
|
110
|
+
b,
|
|
112
111
|
{
|
|
113
|
-
ref:
|
|
114
|
-
className:
|
|
115
|
-
...
|
|
112
|
+
ref: o,
|
|
113
|
+
className: n("-mx-1 my-1 h-px bg-muted", e),
|
|
114
|
+
...r
|
|
116
115
|
}
|
|
117
116
|
));
|
|
118
|
-
L.displayName =
|
|
117
|
+
L.displayName = b.displayName;
|
|
119
118
|
const P = ({
|
|
120
119
|
className: e,
|
|
121
|
-
...
|
|
122
|
-
}) => /* @__PURE__ */
|
|
120
|
+
...r
|
|
121
|
+
}) => /* @__PURE__ */ a(
|
|
123
122
|
"span",
|
|
124
123
|
{
|
|
125
|
-
className:
|
|
126
|
-
...
|
|
124
|
+
className: n("ml-auto text-xs tracking-widest text-primary border border-primary px-1", e),
|
|
125
|
+
...r
|
|
127
126
|
}
|
|
128
127
|
);
|
|
129
128
|
P.displayName = "DropdownMenuShortcut";
|
|
130
129
|
export {
|
|
131
130
|
H as DropdownMenu,
|
|
132
|
-
|
|
131
|
+
T as DropdownMenuCheckboxItem,
|
|
133
132
|
k as DropdownMenuContent,
|
|
134
133
|
K as DropdownMenuGroup,
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
G as DropdownMenuItem,
|
|
135
|
+
z as DropdownMenuLabel,
|
|
137
136
|
O as DropdownMenuPortal,
|
|
138
137
|
U as DropdownMenuRadioGroup,
|
|
139
|
-
|
|
138
|
+
j as DropdownMenuRadioItem,
|
|
140
139
|
L as DropdownMenuSeparator,
|
|
141
140
|
P as DropdownMenuShortcut,
|
|
142
141
|
Q as DropdownMenuSub,
|