@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/index18.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import { Root as F } from "./
|
|
4
|
-
import { FormProvider as u, useFormContext as p, Controller as x } from "./
|
|
3
|
+
import { Root as F } from "./index58.js";
|
|
4
|
+
import { FormProvider as u, useFormContext as p, Controller as x } from "./index59.js";
|
|
5
5
|
import { cn as a } from "./index2.js";
|
|
6
6
|
import { Label as I } from "./index20.js";
|
|
7
7
|
const D = u, f = s.createContext(
|
package/dist/index19.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { cn as f } from "./index2.js";
|
|
4
|
-
const
|
|
4
|
+
const m = t.forwardRef(
|
|
5
5
|
({ className: r, type: e, ...i }, l) => /* @__PURE__ */ o(
|
|
6
6
|
"input",
|
|
7
7
|
{
|
|
8
8
|
type: e,
|
|
9
9
|
className: f(
|
|
10
|
-
"flex h-10 w-full border-2 border-primary bg-black px-3 py-1 text-base text-primary
|
|
10
|
+
"flex h-10 w-full border-2 border-primary bg-black px-3 py-1 text-base text-primary file:-ml-3 file:-my-1 file:mr-4 file:h-10 file:px-3 file:border-0 file:border-r file:border-primary file:bg-primary file:text-primary-foreground file:text-sm file:font-medium file:cursor-pointer hover:file:bg-black hover:file:text-primary placeholder:text-primary/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
11
11
|
r
|
|
12
12
|
),
|
|
13
13
|
ref: l,
|
|
@@ -15,7 +15,7 @@ const a = t.forwardRef(
|
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
m.displayName = "Input";
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
m as Input
|
|
21
21
|
};
|
package/dist/index20.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
import { Root as o } from "./
|
|
4
|
-
import { cva as i } from "./
|
|
3
|
+
import { Root as o } from "./index63.js";
|
|
4
|
+
import { cva as i } from "./index47.js";
|
|
5
5
|
import { cn as s } from "./index2.js";
|
|
6
6
|
const l = i(
|
|
7
7
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
package/dist/index21.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
6
|
-
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import { Root as m, Trigger as s, Anchor as i, Portal as l, Content as r } from "./index49.js";
|
|
4
|
+
import { cn as d } from "./index2.js";
|
|
5
|
+
const h = m, v = s, y = i, f = c.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...a }, p) => /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(
|
|
6
|
+
r,
|
|
7
7
|
{
|
|
8
|
-
ref:
|
|
9
|
-
align:
|
|
10
|
-
sideOffset:
|
|
11
|
-
className:
|
|
12
|
-
"z-50 w-72 border-2 border-primary bg-black p-4 text-primary outline-none
|
|
8
|
+
ref: p,
|
|
9
|
+
align: t,
|
|
10
|
+
sideOffset: n,
|
|
11
|
+
className: d(
|
|
12
|
+
"z-50 w-72 border-2 border-primary bg-black p-4 text-primary outline-none",
|
|
13
13
|
e
|
|
14
14
|
),
|
|
15
|
-
...
|
|
15
|
+
...a
|
|
16
16
|
}
|
|
17
17
|
) }));
|
|
18
|
-
f.displayName =
|
|
18
|
+
f.displayName = r.displayName;
|
|
19
19
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
h as Popover,
|
|
21
|
+
y as PopoverAnchor,
|
|
22
22
|
f as PopoverContent,
|
|
23
|
-
|
|
23
|
+
v as PopoverTrigger
|
|
24
24
|
};
|
package/dist/index22.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { Root as d, Indicator as l } from "./
|
|
1
|
+
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { Root as d, Indicator as l } from "./index65.js";
|
|
4
4
|
import { cn as c } from "./index2.js";
|
|
5
|
-
const f =
|
|
5
|
+
const f = n.forwardRef(
|
|
6
6
|
({
|
|
7
|
-
className:
|
|
8
|
-
value:
|
|
9
|
-
showPercentage:
|
|
7
|
+
className: i,
|
|
8
|
+
value: s = 0,
|
|
9
|
+
showPercentage: t = !1,
|
|
10
10
|
label: r,
|
|
11
|
-
...
|
|
12
|
-
},
|
|
13
|
-
(r ||
|
|
14
|
-
r && /* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
Math.round(
|
|
11
|
+
...m
|
|
12
|
+
}, a) => /* @__PURE__ */ e("div", { className: "w-full min-w-[200px]", children: [
|
|
13
|
+
(r || t) && /* @__PURE__ */ e("div", { className: "flex justify-center items-center gap-2 mb-2 font-mono text-sm font-bold text-primary", children: [
|
|
14
|
+
r && /* @__PURE__ */ o("span", { children: r }),
|
|
15
|
+
t && /* @__PURE__ */ e("span", { children: [
|
|
16
|
+
Math.round(s),
|
|
17
17
|
"%"
|
|
18
18
|
] })
|
|
19
19
|
] }),
|
|
20
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ o(
|
|
21
21
|
d,
|
|
22
22
|
{
|
|
23
|
-
ref:
|
|
24
|
-
className: c("relative h-6 w-full overflow-hidden bg-background border-2 border-primary",
|
|
25
|
-
...
|
|
26
|
-
children: /* @__PURE__ */
|
|
23
|
+
ref: a,
|
|
24
|
+
className: c("relative h-6 w-full overflow-hidden bg-background border-2 border-primary", i),
|
|
25
|
+
...m,
|
|
26
|
+
children: /* @__PURE__ */ o(
|
|
27
27
|
l,
|
|
28
28
|
{
|
|
29
|
-
className: "h-full bg-primary
|
|
30
|
-
style: { width: `${
|
|
29
|
+
className: "h-full bg-primary",
|
|
30
|
+
style: { width: `${s}%` }
|
|
31
31
|
}
|
|
32
32
|
)
|
|
33
33
|
}
|
package/dist/index24.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "react";
|
|
3
|
-
import { Root as
|
|
3
|
+
import { Root as c, Viewport as p, Corner as d, ScrollAreaScrollbar as s, ScrollAreaThumb as f } from "./index62.js";
|
|
4
4
|
import { cn as n } from "./index2.js";
|
|
5
|
-
const h = i.forwardRef(({ className: l, children: e, ...
|
|
6
|
-
|
|
5
|
+
const h = i.forwardRef(({ className: l, children: e, ...a }, o) => /* @__PURE__ */ m(
|
|
6
|
+
c,
|
|
7
7
|
{
|
|
8
|
-
ref:
|
|
8
|
+
ref: o,
|
|
9
9
|
className: n("relative overflow-hidden", l),
|
|
10
|
-
...
|
|
10
|
+
...a,
|
|
11
11
|
children: [
|
|
12
12
|
/* @__PURE__ */ r(p, { className: "h-full w-full rounded-[inherit]", children: e }),
|
|
13
13
|
/* @__PURE__ */ r(t, { orientation: "vertical" }),
|
|
@@ -16,23 +16,23 @@ const h = i.forwardRef(({ className: l, children: e, ...o }, a) => /* @__PURE__
|
|
|
16
16
|
]
|
|
17
17
|
}
|
|
18
18
|
));
|
|
19
|
-
h.displayName =
|
|
20
|
-
const t = i.forwardRef(({ className: l, orientation: e = "vertical", ...
|
|
21
|
-
|
|
19
|
+
h.displayName = c.displayName;
|
|
20
|
+
const t = i.forwardRef(({ className: l, orientation: e = "vertical", ...a }, o) => /* @__PURE__ */ r(
|
|
21
|
+
s,
|
|
22
22
|
{
|
|
23
|
-
ref:
|
|
23
|
+
ref: o,
|
|
24
24
|
orientation: e,
|
|
25
25
|
className: n(
|
|
26
|
-
"flex touch-none select-none
|
|
26
|
+
"flex touch-none select-none",
|
|
27
27
|
e === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
28
28
|
e === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
29
29
|
l
|
|
30
30
|
),
|
|
31
|
-
...
|
|
31
|
+
...a,
|
|
32
32
|
children: /* @__PURE__ */ r(f, { className: "relative flex-1 bg-primary" })
|
|
33
33
|
}
|
|
34
34
|
));
|
|
35
|
-
t.displayName =
|
|
35
|
+
t.displayName = s.displayName;
|
|
36
36
|
export {
|
|
37
37
|
h as ScrollArea,
|
|
38
38
|
t as ScrollBar
|
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
|
|
5
|
-
import u from "./
|
|
6
|
-
import I from "./
|
|
7
|
-
import B from "./
|
|
8
|
-
const E = N, F = b, H = g, k =
|
|
9
|
-
|
|
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
|
+
import u from "./index46.js";
|
|
6
|
+
import I from "./index53.js";
|
|
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
|
|
4
|
-
import { cva as y } from "./
|
|
5
|
-
import { cn as
|
|
6
|
-
import
|
|
7
|
-
const H =
|
|
8
|
-
|
|
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
|
+
import { cva as y } from "./index47.js";
|
|
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
|
};
|