@drjoshcsimmons/scl 0.1.13 → 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 +25 -30
- package/dist/index101.js +8 -12
- package/dist/index102.js +177 -51
- package/dist/index103.js +47 -29
- package/dist/index104.js +30 -4
- package/dist/index105.js +52 -216
- package/dist/index106.js +29 -47
- package/dist/index107.js +30 -30
- package/dist/index108.js +650 -30
- package/dist/index110.js +30 -9
- package/dist/index111.js +8 -180
- package/dist/index112.js +15 -30
- package/dist/index113.js +6 -48
- package/dist/index115.js +47 -11
- package/dist/index116.js +11 -47
- package/dist/index117.js +206 -6
- package/dist/index118.js +20 -204
- package/dist/index119.js +399 -21
- package/dist/index12.js +1 -1
- package/dist/index120.js +20 -399
- package/dist/index121.js +3 -15
- package/dist/index122.js +32 -3
- package/dist/index123.js +12 -32
- package/dist/index124.js +48 -18
- 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 +1 -1
- package/dist/index130.js +5 -65
- package/dist/index136.js +1 -1
- package/dist/index137.js +1 -1
- package/dist/index14.js +2 -2
- package/dist/index141.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index143.js +1 -1
- 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 +71 -72
- package/dist/index18.js +2 -2
- package/dist/index19.js +4 -4
- package/dist/index21.js +15 -15
- package/dist/index22.js +20 -20
- package/dist/index23.js +2 -2
- package/dist/index24.js +12 -12
- package/dist/index25.js +57 -57
- package/dist/index26.js +1 -1
- package/dist/index27.js +31 -31
- 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 +8 -8
- package/dist/index37.js +18 -18
- package/dist/index4.js +25 -25
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index48.js +62 -249
- package/dist/index49.js +241 -12
- package/dist/index50.js +410 -285
- package/dist/index51.js +125 -12
- package/dist/index52.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index54.js +102 -209
- package/dist/index55.js +130 -11
- package/dist/index56.js +236 -11
- package/dist/index57.js +11 -125
- package/dist/index58.js +57 -70
- package/dist/index59.js +248 -76
- package/dist/index6.js +36 -36
- package/dist/index60.js +222 -822
- package/dist/index61.js +6 -3
- package/dist/index62.js +506 -94
- package/dist/index63.js +1 -1
- package/dist/index64.js +158 -57
- package/dist/index65.js +71 -230
- package/dist/index66.js +20 -433
- package/dist/index67.js +823 -299
- package/dist/index68.js +9 -161
- package/dist/index69.js +218 -24
- package/dist/index7.js +1 -1
- package/dist/index70.js +11 -236
- package/dist/index71.js +325 -119
- package/dist/index72.js +310 -12
- package/dist/index73.js +12 -254
- package/dist/index74.js +25 -524
- package/dist/index75.js +12 -22
- package/dist/index77.js +1 -1
- package/dist/index8.js +5 -5
- package/dist/index80.js +1 -1
- package/dist/index81.js +1 -1
- package/dist/index82.js +1 -1
- package/dist/index84.js +48 -118
- package/dist/index85.js +10 -134
- package/dist/index86.js +4 -14
- package/dist/index87.js +29 -68
- package/dist/index88.js +11 -13
- package/dist/index89.js +124 -8
- package/dist/index9.js +21 -21
- package/dist/index90.js +15 -50
- package/dist/index91.js +127 -40
- package/dist/index92.js +218 -5
- package/dist/index93.js +14 -25
- package/dist/index94.js +66 -12
- package/dist/index95.js +44 -646
- package/dist/index96.js +50 -9
- package/dist/index97.js +9 -55
- package/dist/index98.js +3 -10
- package/dist/index99.js +6 -4
- package/package.json +1 -1
package/dist/index25.js
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as N, Group as b, Value as g, Trigger as
|
|
4
|
-
import { cn as
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import { Root as N, Group as b, Value as g, Trigger as c, Icon as S, Portal as v, Content as m, Viewport as R, Label as n, Item as p, ItemIndicator as C, ItemText as j, Separator as d, ScrollUpButton as f, ScrollDownButton as y } from "./index67.js";
|
|
4
|
+
import { cn as l } from "./index2.js";
|
|
5
5
|
import u from "./index46.js";
|
|
6
6
|
import I from "./index53.js";
|
|
7
|
-
import B from "./
|
|
8
|
-
const E = N, F = b, H = g, k =
|
|
9
|
-
|
|
7
|
+
import B from "./index68.js";
|
|
8
|
+
const E = N, F = b, H = g, k = o.forwardRef(({ className: t, children: a, ...r }, s) => /* @__PURE__ */ i(
|
|
9
|
+
c,
|
|
10
10
|
{
|
|
11
|
-
ref:
|
|
12
|
-
className:
|
|
11
|
+
ref: s,
|
|
12
|
+
className: l(
|
|
13
13
|
"flex h-10 w-full items-center justify-between whitespace-nowrap border-2 border-primary bg-black text-primary px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
14
|
-
|
|
14
|
+
t
|
|
15
15
|
),
|
|
16
|
-
...
|
|
16
|
+
...r,
|
|
17
17
|
children: [
|
|
18
|
-
|
|
18
|
+
a,
|
|
19
19
|
/* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-primary" }) })
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
22
|
));
|
|
23
|
-
k.displayName =
|
|
24
|
-
const h =
|
|
23
|
+
k.displayName = c.displayName;
|
|
24
|
+
const h = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
25
25
|
f,
|
|
26
26
|
{
|
|
27
|
-
ref:
|
|
28
|
-
className:
|
|
27
|
+
ref: r,
|
|
28
|
+
className: l(
|
|
29
29
|
"flex cursor-default items-center justify-center py-1",
|
|
30
|
-
|
|
30
|
+
t
|
|
31
31
|
),
|
|
32
|
-
...
|
|
32
|
+
...a,
|
|
33
33
|
children: /* @__PURE__ */ e(B, { className: "h-4 w-4 text-primary" })
|
|
34
34
|
}
|
|
35
35
|
));
|
|
36
36
|
h.displayName = f.displayName;
|
|
37
|
-
const x =
|
|
37
|
+
const x = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
38
38
|
y,
|
|
39
39
|
{
|
|
40
|
-
ref:
|
|
41
|
-
className:
|
|
40
|
+
ref: r,
|
|
41
|
+
className: l(
|
|
42
42
|
"flex cursor-default items-center justify-center py-1",
|
|
43
|
-
|
|
43
|
+
t
|
|
44
44
|
),
|
|
45
|
-
...
|
|
45
|
+
...a,
|
|
46
46
|
children: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-primary" })
|
|
47
47
|
}
|
|
48
48
|
));
|
|
49
49
|
x.displayName = y.displayName;
|
|
50
|
-
const
|
|
50
|
+
const D = o.forwardRef(({ className: t, children: a, position: r = "popper", ...s }, w) => /* @__PURE__ */ e(v, { children: /* @__PURE__ */ i(
|
|
51
51
|
m,
|
|
52
52
|
{
|
|
53
53
|
ref: w,
|
|
54
|
-
className:
|
|
55
|
-
"relative z-[60] max-h-96 min-w-[8rem] overflow-hidden border-2 border-primary bg-black text-primary
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
className: l(
|
|
55
|
+
"relative z-[60] max-h-96 min-w-[8rem] overflow-hidden border-2 border-primary bg-black text-primary",
|
|
56
|
+
r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
57
|
+
t
|
|
58
58
|
),
|
|
59
|
-
position:
|
|
60
|
-
...
|
|
59
|
+
position: r,
|
|
60
|
+
...s,
|
|
61
61
|
children: [
|
|
62
62
|
/* @__PURE__ */ e(h, {}),
|
|
63
63
|
/* @__PURE__ */ e(
|
|
64
64
|
R,
|
|
65
65
|
{
|
|
66
|
-
className:
|
|
66
|
+
className: l(
|
|
67
67
|
"p-1",
|
|
68
|
-
|
|
68
|
+
r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
69
69
|
),
|
|
70
|
-
children:
|
|
70
|
+
children: a
|
|
71
71
|
}
|
|
72
72
|
),
|
|
73
73
|
/* @__PURE__ */ e(x, {})
|
|
74
74
|
]
|
|
75
75
|
}
|
|
76
76
|
) }));
|
|
77
|
-
|
|
78
|
-
const
|
|
77
|
+
D.displayName = m.displayName;
|
|
78
|
+
const T = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
79
79
|
n,
|
|
80
80
|
{
|
|
81
|
-
ref:
|
|
82
|
-
className:
|
|
83
|
-
...
|
|
81
|
+
ref: r,
|
|
82
|
+
className: l("px-2 py-1.5 text-sm font-semibold", t),
|
|
83
|
+
...a
|
|
84
84
|
}
|
|
85
85
|
));
|
|
86
|
-
|
|
87
|
-
const
|
|
88
|
-
|
|
86
|
+
T.displayName = n.displayName;
|
|
87
|
+
const U = o.forwardRef(({ className: t, children: a, ...r }, s) => /* @__PURE__ */ i(
|
|
88
|
+
p,
|
|
89
89
|
{
|
|
90
|
-
ref:
|
|
91
|
-
className:
|
|
92
|
-
"relative flex w-full cursor-default select-none items-center py-1.5 pl-2 pr-8 text-sm outline-none hover:bg-primary
|
|
93
|
-
|
|
90
|
+
ref: s,
|
|
91
|
+
className: l(
|
|
92
|
+
"relative flex w-full cursor-default select-none items-center py-1.5 pl-2 pr-8 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",
|
|
93
|
+
t
|
|
94
94
|
),
|
|
95
|
-
...
|
|
95
|
+
...r,
|
|
96
96
|
children: [
|
|
97
97
|
/* @__PURE__ */ e("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(I, { className: "h-4 w-4" }) }) }),
|
|
98
|
-
/* @__PURE__ */ e(j, { children:
|
|
98
|
+
/* @__PURE__ */ e(j, { children: a })
|
|
99
99
|
]
|
|
100
100
|
}
|
|
101
101
|
));
|
|
102
|
-
|
|
103
|
-
const
|
|
104
|
-
|
|
102
|
+
U.displayName = p.displayName;
|
|
103
|
+
const V = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
104
|
+
d,
|
|
105
105
|
{
|
|
106
|
-
ref:
|
|
107
|
-
className:
|
|
108
|
-
...
|
|
106
|
+
ref: r,
|
|
107
|
+
className: l("-mx-1 my-1 h-px bg-muted", t),
|
|
108
|
+
...a
|
|
109
109
|
}
|
|
110
110
|
));
|
|
111
|
-
|
|
111
|
+
V.displayName = d.displayName;
|
|
112
112
|
export {
|
|
113
113
|
E as Select,
|
|
114
|
-
|
|
114
|
+
D as SelectContent,
|
|
115
115
|
F as SelectGroup,
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
U as SelectItem,
|
|
117
|
+
T as SelectLabel,
|
|
118
118
|
x as SelectScrollDownButton,
|
|
119
119
|
h as SelectScrollUpButton,
|
|
120
|
-
|
|
120
|
+
V as SelectSeparator,
|
|
121
121
|
k as SelectTrigger,
|
|
122
122
|
H as SelectValue
|
|
123
123
|
};
|
package/dist/index26.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import { Root as o } from "./
|
|
3
|
+
import { Root as o } from "./index66.js";
|
|
4
4
|
import { cn as i } from "./index2.js";
|
|
5
5
|
const s = f.forwardRef(
|
|
6
6
|
({ className: a, orientation: r = "horizontal", decorative: m = !0, ...p }, t) => /* @__PURE__ */ l(
|
package/dist/index27.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as
|
|
1
|
+
import { jsx as s, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { Root as x, Portal as g, Trigger as N, Close as l, Overlay as n, Content as m, Title as c, Description as d } from "./index60.js";
|
|
4
4
|
import { cva as y } from "./index47.js";
|
|
5
|
-
import { cn as
|
|
6
|
-
import
|
|
7
|
-
const H =
|
|
8
|
-
|
|
5
|
+
import { cn as r } from "./index2.js";
|
|
6
|
+
import b from "./index61.js";
|
|
7
|
+
const H = x, O = N, P = l, u = g, f = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(
|
|
8
|
+
n,
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
11
|
-
"fixed inset-0 z-50 bg-black data-[state=
|
|
10
|
+
className: r(
|
|
11
|
+
"fixed inset-0 z-50 bg-black data-[state=closed]:hidden",
|
|
12
12
|
e
|
|
13
13
|
),
|
|
14
14
|
...t,
|
|
15
15
|
ref: o
|
|
16
16
|
}
|
|
17
17
|
));
|
|
18
|
-
f.displayName =
|
|
18
|
+
f.displayName = n.displayName;
|
|
19
19
|
const S = y(
|
|
20
|
-
"fixed z-[60] gap-4 bg-black p-6
|
|
20
|
+
"fixed z-[60] gap-4 bg-black p-6",
|
|
21
21
|
{
|
|
22
22
|
variants: {
|
|
23
23
|
side: {
|
|
24
|
-
top: "inset-x-0 top-0 border-b
|
|
25
|
-
bottom: "inset-x-0 bottom-0 border-t
|
|
26
|
-
left: "inset-y-0 left-0 h-full w-3/4 border-r
|
|
27
|
-
right: "inset-y-0 right-0 h-full w-3/4 border-l
|
|
24
|
+
top: "inset-x-0 top-0 border-b",
|
|
25
|
+
bottom: "inset-x-0 bottom-0 border-t",
|
|
26
|
+
left: "inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
27
|
+
right: "inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
defaultVariants: {
|
|
31
31
|
side: "right"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
), w =
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
|
|
34
|
+
), w = a.forwardRef(({ side: e = "right", className: t, children: o, ...p }, h) => /* @__PURE__ */ i(u, { children: [
|
|
35
|
+
/* @__PURE__ */ s(f, {}),
|
|
36
|
+
/* @__PURE__ */ i(
|
|
37
|
+
m,
|
|
38
38
|
{
|
|
39
39
|
ref: h,
|
|
40
|
-
className:
|
|
40
|
+
className: r(S({ side: e }), t),
|
|
41
41
|
...p,
|
|
42
42
|
children: [
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ i(l, { 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: [
|
|
44
|
+
/* @__PURE__ */ s(b, { className: "h-4 w-4" }),
|
|
45
|
+
/* @__PURE__ */ s("span", { className: "sr-only", children: "Close" })
|
|
46
46
|
] }),
|
|
47
47
|
o
|
|
48
48
|
]
|
|
49
49
|
}
|
|
50
50
|
)
|
|
51
51
|
] }));
|
|
52
|
-
w.displayName =
|
|
53
|
-
const v = ({ className: e, ...t }) => /* @__PURE__ */
|
|
52
|
+
w.displayName = m.displayName;
|
|
53
|
+
const v = ({ className: e, ...t }) => /* @__PURE__ */ s("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
54
54
|
v.displayName = "SheetHeader";
|
|
55
|
-
const R = ({ className: e, ...t }) => /* @__PURE__ */
|
|
55
|
+
const R = ({ className: e, ...t }) => /* @__PURE__ */ s("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
56
56
|
R.displayName = "SheetFooter";
|
|
57
|
-
const C =
|
|
58
|
-
C.displayName =
|
|
59
|
-
const T =
|
|
60
|
-
T.displayName =
|
|
57
|
+
const C = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(c, { ref: o, className: r("text-lg font-semibold text-foreground", e), ...t }));
|
|
58
|
+
C.displayName = c.displayName;
|
|
59
|
+
const T = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(d, { ref: o, className: r("text-sm text-muted-foreground", e), ...t }));
|
|
60
|
+
T.displayName = d.displayName;
|
|
61
61
|
export {
|
|
62
62
|
H as Sheet,
|
|
63
63
|
P as SheetClose,
|
|
@@ -66,7 +66,7 @@ export {
|
|
|
66
66
|
R as SheetFooter,
|
|
67
67
|
v as SheetHeader,
|
|
68
68
|
f as SheetOverlay,
|
|
69
|
-
|
|
69
|
+
u as SheetPortal,
|
|
70
70
|
C as SheetTitle,
|
|
71
71
|
O as SheetTrigger
|
|
72
72
|
};
|
package/dist/index29.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as n, Track as
|
|
1
|
+
import { jsxs as b, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { Root as n, Track as p, Range as l, Thumb as d } from "./index50.js";
|
|
4
4
|
import { cn as h } from "./index2.js";
|
|
5
|
-
const g =
|
|
5
|
+
const g = a.forwardRef(({ className: i, defaultValue: r, value: o, ...s }, m) => {
|
|
6
6
|
const t = (o == null ? void 0 : o.length) ?? (r == null ? void 0 : r.length) ?? 1;
|
|
7
|
-
return /* @__PURE__ */
|
|
7
|
+
return /* @__PURE__ */ b(
|
|
8
8
|
n,
|
|
9
9
|
{
|
|
10
10
|
ref: m,
|
|
@@ -16,11 +16,11 @@ const g = b.forwardRef(({ className: i, defaultValue: r, value: o, ...s }, m) =>
|
|
|
16
16
|
),
|
|
17
17
|
...s,
|
|
18
18
|
children: [
|
|
19
|
-
/* @__PURE__ */ e(
|
|
19
|
+
/* @__PURE__ */ e(p, { className: "relative h-2 w-full grow overflow-hidden border border-primary bg-background", children: /* @__PURE__ */ e(l, { className: "absolute h-full bg-primary" }) }),
|
|
20
20
|
Array.from({ length: t }).map((f, c) => /* @__PURE__ */ e(
|
|
21
21
|
d,
|
|
22
22
|
{
|
|
23
|
-
className: "block h-5 w-3 border-2 border-primary bg-primary
|
|
23
|
+
className: "block h-5 w-3 border-2 border-primary bg-primary focus-visible:outline-none hover:bg-background disabled:pointer-events-none disabled:opacity-50 cursor-pointer"
|
|
24
24
|
},
|
|
25
25
|
c
|
|
26
26
|
))
|
package/dist/index31.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as
|
|
4
|
-
import { cn as
|
|
5
|
-
const c =
|
|
6
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { Root as i, Thumb as n } from "./index55.js";
|
|
4
|
+
import { cn as r } from "./index2.js";
|
|
5
|
+
const c = t.forwardRef(({ className: o, ...s }, a) => /* @__PURE__ */ e(
|
|
6
|
+
i,
|
|
7
7
|
{
|
|
8
|
-
className:
|
|
9
|
-
"peer inline-flex h-6 w-12 shrink-0 cursor-pointer items-center border-2 border-primary bg-background px-0.5
|
|
10
|
-
|
|
8
|
+
className: r(
|
|
9
|
+
"peer inline-flex h-6 w-12 shrink-0 cursor-pointer items-center border-2 border-primary bg-background px-0.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
|
|
10
|
+
o
|
|
11
11
|
),
|
|
12
12
|
...s,
|
|
13
|
-
ref:
|
|
14
|
-
children: /* @__PURE__ */
|
|
13
|
+
ref: a,
|
|
14
|
+
children: /* @__PURE__ */ e(
|
|
15
15
|
n,
|
|
16
16
|
{
|
|
17
|
-
className:
|
|
18
|
-
"pointer-events-none block h-4 w-5 bg-primary
|
|
17
|
+
className: r(
|
|
18
|
+
"pointer-events-none block h-4 w-5 bg-primary data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
19
19
|
)
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
}
|
|
23
23
|
));
|
|
24
|
-
c.displayName =
|
|
24
|
+
c.displayName = i.displayName;
|
|
25
25
|
export {
|
|
26
26
|
c as Switch
|
|
27
27
|
};
|
package/dist/index32.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import { cn as r } from "./index2.js";
|
|
4
|
-
const d = l.forwardRef(({ className: e, ...a },
|
|
4
|
+
const d = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ o(
|
|
5
5
|
"table",
|
|
6
6
|
{
|
|
7
|
-
ref:
|
|
7
|
+
ref: t,
|
|
8
8
|
className: r("w-full caption-bottom text-sm", e),
|
|
9
9
|
...a
|
|
10
10
|
}
|
|
11
11
|
) }));
|
|
12
12
|
d.displayName = "Table";
|
|
13
|
-
const s = l.forwardRef(({ className: e, ...a },
|
|
13
|
+
const s = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", e), ...a }));
|
|
14
14
|
s.displayName = "TableHeader";
|
|
15
|
-
const m = l.forwardRef(({ className: e, ...a },
|
|
15
|
+
const m = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
16
16
|
"tbody",
|
|
17
17
|
{
|
|
18
|
-
ref:
|
|
18
|
+
ref: t,
|
|
19
19
|
className: r("[&_tr:last-child]:border-0", e),
|
|
20
20
|
...a
|
|
21
21
|
}
|
|
22
22
|
));
|
|
23
23
|
m.displayName = "TableBody";
|
|
24
|
-
const b = l.forwardRef(({ className: e, ...a },
|
|
24
|
+
const b = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
25
25
|
"tfoot",
|
|
26
26
|
{
|
|
27
|
-
ref:
|
|
27
|
+
ref: t,
|
|
28
28
|
className: r(
|
|
29
29
|
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
30
30
|
e
|
|
@@ -33,22 +33,22 @@ const b = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
|
|
|
33
33
|
}
|
|
34
34
|
));
|
|
35
35
|
b.displayName = "TableFooter";
|
|
36
|
-
const c = l.forwardRef(({ className: e, ...a },
|
|
36
|
+
const c = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
37
37
|
"tr",
|
|
38
38
|
{
|
|
39
|
-
ref:
|
|
39
|
+
ref: t,
|
|
40
40
|
className: r(
|
|
41
|
-
"border-b
|
|
41
|
+
"border-b hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
42
42
|
e
|
|
43
43
|
),
|
|
44
44
|
...a
|
|
45
45
|
}
|
|
46
46
|
));
|
|
47
47
|
c.displayName = "TableRow";
|
|
48
|
-
const f = l.forwardRef(({ className: e, ...a },
|
|
48
|
+
const f = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
49
49
|
"th",
|
|
50
50
|
{
|
|
51
|
-
ref:
|
|
51
|
+
ref: t,
|
|
52
52
|
className: r(
|
|
53
53
|
"h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
54
54
|
e
|
|
@@ -57,10 +57,10 @@ const f = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
|
|
|
57
57
|
}
|
|
58
58
|
));
|
|
59
59
|
f.displayName = "TableHead";
|
|
60
|
-
const i = l.forwardRef(({ className: e, ...a },
|
|
60
|
+
const i = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
61
61
|
"td",
|
|
62
62
|
{
|
|
63
|
-
ref:
|
|
63
|
+
ref: t,
|
|
64
64
|
className: r(
|
|
65
65
|
"p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
66
66
|
e
|
|
@@ -69,10 +69,10 @@ const i = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
|
|
|
69
69
|
}
|
|
70
70
|
));
|
|
71
71
|
i.displayName = "TableCell";
|
|
72
|
-
const n = l.forwardRef(({ className: e, ...a },
|
|
72
|
+
const n = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
73
73
|
"caption",
|
|
74
74
|
{
|
|
75
|
-
ref:
|
|
75
|
+
ref: t,
|
|
76
76
|
className: r("mt-4 text-sm text-muted-foreground", e),
|
|
77
77
|
...a
|
|
78
78
|
}
|
package/dist/index33.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import { Root as d, List as o, Trigger as n, Content as c } from "./
|
|
3
|
+
import { Root as d, List as o, Trigger as n, Content as c } from "./index64.js";
|
|
4
4
|
import { cn as r } from "./index2.js";
|
|
5
|
-
const
|
|
5
|
+
const g = d, f = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
|
|
6
6
|
o,
|
|
7
7
|
{
|
|
8
|
-
ref:
|
|
8
|
+
ref: i,
|
|
9
9
|
className: r(
|
|
10
10
|
"inline-flex h-9 items-center justify-center bg-muted p-1 text-muted-foreground",
|
|
11
11
|
e
|
|
@@ -14,22 +14,22 @@ const u = d, f = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ i(
|
|
|
14
14
|
}
|
|
15
15
|
));
|
|
16
16
|
f.displayName = o.displayName;
|
|
17
|
-
const m = s.forwardRef(({ className: e, ...t },
|
|
17
|
+
const m = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
|
|
18
18
|
n,
|
|
19
19
|
{
|
|
20
|
-
ref:
|
|
20
|
+
ref: i,
|
|
21
21
|
className: r(
|
|
22
|
-
"inline-flex items-center justify-center whitespace-nowrap px-3 py-1 text-sm font-medium ring-offset-background
|
|
22
|
+
"inline-flex items-center justify-center whitespace-nowrap px-3 py-1 text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-primary data-[state=active]:border-2 data-[state=active]:border-primary data-[state=inactive]:border-2 data-[state=inactive]:border-transparent data-[state=inactive]:text-muted-foreground cursor-pointer",
|
|
23
23
|
e
|
|
24
24
|
),
|
|
25
25
|
...t
|
|
26
26
|
}
|
|
27
27
|
));
|
|
28
28
|
m.displayName = n.displayName;
|
|
29
|
-
const l = s.forwardRef(({ className: e, ...t },
|
|
29
|
+
const l = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
|
|
30
30
|
c,
|
|
31
31
|
{
|
|
32
|
-
ref:
|
|
32
|
+
ref: i,
|
|
33
33
|
className: r(
|
|
34
34
|
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
35
35
|
e
|
|
@@ -39,7 +39,7 @@ const l = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ i(
|
|
|
39
39
|
));
|
|
40
40
|
l.displayName = c.displayName;
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
g as Tabs,
|
|
43
43
|
l as TabsContent,
|
|
44
44
|
f as TabsList,
|
|
45
45
|
m as TabsTrigger
|
package/dist/index36.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import { Root as
|
|
3
|
+
import { Root as e } from "./index74.js";
|
|
4
4
|
import { cva as m } from "./index47.js";
|
|
5
5
|
import { cn as p } from "./index2.js";
|
|
6
6
|
const f = m(
|
|
7
|
-
"inline-flex items-center justify-center text-sm font-medium
|
|
7
|
+
"inline-flex items-center justify-center text-sm font-medium hover:bg-primary hover:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary disabled:pointer-events-none disabled:opacity-50 border-2 border-primary data-[state=on]:bg-primary data-[state=on]:text-primary-foreground data-[state=off]:bg-transparent data-[state=off]:text-primary [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2 cursor-pointer",
|
|
8
8
|
{
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|
|
@@ -22,15 +22,15 @@ const f = m(
|
|
|
22
22
|
size: "default"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
), d = s.forwardRef(({ className:
|
|
26
|
-
|
|
25
|
+
), d = s.forwardRef(({ className: r, variant: t, size: a, ...o }, i) => /* @__PURE__ */ n(
|
|
26
|
+
e,
|
|
27
27
|
{
|
|
28
|
-
ref:
|
|
29
|
-
className: p(f({ variant:
|
|
30
|
-
...
|
|
28
|
+
ref: i,
|
|
29
|
+
className: p(f({ variant: t, size: a, className: r })),
|
|
30
|
+
...o
|
|
31
31
|
}
|
|
32
32
|
));
|
|
33
|
-
d.displayName =
|
|
33
|
+
d.displayName = e.displayName;
|
|
34
34
|
export {
|
|
35
35
|
d as Toggle,
|
|
36
36
|
f as toggleVariants
|
package/dist/index37.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import * as p from "react";
|
|
3
|
+
import { Root as n, Trigger as s, Portal as l, Content as i, Provider as m } from "./index71.js";
|
|
4
|
+
import { cn as d } from "./index2.js";
|
|
5
|
+
const c = ({ children: o, ...r }) => /* @__PURE__ */ t(m, { delayDuration: 100, skipDelayDuration: 300, ...r, children: o });
|
|
6
|
+
c.displayName = "TooltipProvider";
|
|
7
|
+
const x = n, v = s, f = p.forwardRef(({ className: o, sideOffset: r = 4, ...e }, a) => /* @__PURE__ */ t(l, { children: /* @__PURE__ */ t(
|
|
8
|
+
i,
|
|
9
9
|
{
|
|
10
|
-
ref:
|
|
11
|
-
sideOffset:
|
|
12
|
-
className:
|
|
13
|
-
"z-50 overflow-hidden bg-primary px-3 py-1.5 text-xs text-primary-foreground
|
|
10
|
+
ref: a,
|
|
11
|
+
sideOffset: r,
|
|
12
|
+
className: d(
|
|
13
|
+
"z-50 overflow-hidden bg-primary px-3 py-1.5 text-xs text-primary-foreground",
|
|
14
14
|
o
|
|
15
15
|
),
|
|
16
|
-
...
|
|
16
|
+
...e
|
|
17
17
|
}
|
|
18
18
|
) }));
|
|
19
|
-
|
|
19
|
+
f.displayName = i.displayName;
|
|
20
20
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
x as Tooltip,
|
|
22
|
+
f as TooltipContent,
|
|
23
|
+
c as TooltipProvider,
|
|
24
|
+
v as TooltipTrigger
|
|
25
25
|
};
|