@drjoshcsimmons/scl 0.3.1 → 0.4.1
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/accordion/accordion.d.ts +1 -0
- package/dist/components/ui/accordion/accordion.d.ts.map +1 -1
- package/dist/components/ui/badge/badge.d.ts +5 -1
- package/dist/components/ui/badge/badge.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts +7 -0
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/input/input.d.ts +6 -1
- package/dist/components/ui/input/input.d.ts.map +1 -1
- package/dist/components/ui/skeleton/skeleton.d.ts +5 -2
- package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/ui/textarea/textarea.d.ts +6 -1
- package/dist/components/ui/textarea/textarea.d.ts.map +1 -1
- package/dist/globals.css +45 -0
- package/dist/hooks/use-font-loaded.d.ts +2 -0
- package/dist/hooks/use-font-loaded.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +116 -114
- package/dist/index10.js +33 -28
- package/dist/index100.js +3 -5
- package/dist/index101.js +2 -2
- package/dist/index102.js +5 -54
- package/dist/index103.js +25 -30
- package/dist/index104.js +47 -29
- package/dist/index105.js +30 -4
- package/dist/index106.js +45 -216
- package/dist/index107.js +7 -46
- package/dist/index108.js +178 -27
- package/dist/index109.js +51 -44
- package/dist/index11.js +28 -5
- package/dist/index110.js +30 -9
- package/dist/index111.js +30 -6
- package/dist/index112.js +6 -48
- package/dist/index114.js +200 -42
- package/dist/index115.js +20 -204
- package/dist/index116.js +399 -21
- package/dist/index117.js +40 -392
- package/dist/index118.js +48 -2
- package/dist/index119.js +23 -51
- package/dist/index12.js +5 -79
- package/dist/index120.js +29 -65
- package/dist/index121.js +5 -25
- package/dist/index122.js +2 -29
- package/dist/index123.js +53 -5
- package/dist/index124.js +65 -2
- package/dist/index125.js +2 -2
- package/dist/index126.js +2 -5
- package/dist/index127.js +5 -3
- package/dist/index128.js +3 -24
- package/dist/index129.js +22 -111
- package/dist/index13.js +75 -12
- package/dist/index130.js +111 -14
- package/dist/index131.js +14 -523
- package/dist/index132.js +511 -114
- package/dist/index133.js +111 -117
- package/dist/index134.js +130 -61
- package/dist/index135.js +65 -69
- package/dist/index136.js +68 -8
- package/dist/index137.js +9 -14
- package/dist/index138.js +14 -66
- package/dist/index139.js +66 -4
- package/dist/index14.js +17 -14
- package/dist/index140.js +3 -22
- package/dist/index141.js +23 -13
- package/dist/index142.js +20 -25
- package/dist/index143.js +12 -4
- package/dist/index144.js +25 -20
- package/dist/index145.js +7 -0
- package/dist/index15.js +12 -17
- package/dist/index16.js +18 -31
- package/dist/index17.js +32 -25
- package/dist/index18.js +19 -31
- package/dist/index19.js +28 -129
- package/dist/index20.js +136 -18
- package/dist/index21.js +19 -11
- package/dist/index22.js +11 -20
- package/dist/index23.js +23 -15
- package/dist/index24.js +15 -31
- package/dist/index25.js +31 -35
- package/dist/index26.js +35 -15
- package/dist/index27.js +15 -13
- package/dist/index28.js +11 -20
- package/dist/index29.js +23 -99
- package/dist/index3.js +10 -22
- package/dist/index30.js +99 -38
- package/dist/index31.js +38 -10
- package/dist/index32.js +10 -48
- package/dist/index33.js +47 -64
- package/dist/index34.js +66 -236
- package/dist/{index63.js → index38.js} +14 -14
- package/dist/index4.js +22 -53
- package/dist/index40.js +239 -0
- package/dist/{index59.js → index42.js} +1 -1
- package/dist/index45.js +507 -236
- package/dist/index47.js +860 -18
- package/dist/index5.js +52 -24
- package/dist/index50.js +91 -197
- package/dist/{index65.js → index53.js} +8 -8
- package/dist/index55.js +221 -822
- package/dist/{index67.js → index58.js} +6 -6
- package/dist/index6.js +24 -34
- package/dist/index61.js +310 -504
- package/dist/{index43.js → index64.js} +7 -7
- package/dist/{index57.js → index66.js} +2 -2
- package/dist/{index52.js → index68.js} +3 -3
- package/dist/index7.js +34 -6
- package/dist/index70.js +238 -0
- package/dist/{index69.js → index72.js} +7 -7
- package/dist/{index36.js → index74.js} +1 -1
- package/dist/index76.js +20 -0
- package/dist/index8.js +6 -21
- package/dist/index81.js +1 -1
- package/dist/index82.js +1 -1
- package/dist/index83.js +7 -30
- package/dist/index84.js +25 -5
- package/dist/index86.js +114 -170
- package/dist/index87.js +13 -67
- package/dist/index88.js +133 -32
- package/dist/index89.js +10 -7
- package/dist/index9.js +27 -32
- package/dist/index90.js +215 -48
- package/dist/index91.js +14 -11
- package/dist/index92.js +64 -120
- package/dist/index93.js +32 -133
- package/dist/index94.js +48 -14
- package/dist/index95.js +50 -13
- package/dist/index96.js +50 -9
- package/dist/index97.js +9 -50
- package/dist/index98.js +29 -47
- package/dist/index99.js +7 -24
- package/dist/tokens/index.d.ts +9 -8
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/spacing.d.ts +11 -8
- package/dist/tokens/spacing.d.ts.map +1 -1
- package/dist/tokens/typography.d.ts +1 -0
- package/dist/tokens/typography.d.ts.map +1 -1
- package/package.json +4 -5
- package/dist/index71.js +0 -338
- package/dist/index73.js +0 -132
- package/dist/index77.js +0 -29
- /package/dist/{index41.js → index35.js} +0 -0
package/dist/index19.js
CHANGED
|
@@ -1,141 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Root as
|
|
3
|
-
import * as
|
|
4
|
-
import { cx as
|
|
1
|
+
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Root as e, Viewport as _, Corner as d, ScrollAreaScrollbar as i, ScrollAreaThumb as f } from "./index45.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { cx as m } from "./index2.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const n = t.forwardRef(({ className: a, children: l, ...o }, c) => /* @__PURE__ */ p(
|
|
7
|
+
e,
|
|
8
8
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
stroke: "currentColor",
|
|
13
|
-
strokeWidth: "2",
|
|
14
|
-
strokeLinecap: "square",
|
|
15
|
-
"aria-hidden": "true",
|
|
16
|
-
children: /* @__PURE__ */ e("polyline", { points: "6 9 12 15 18 9" })
|
|
17
|
-
}
|
|
18
|
-
), B = ({ className: l }) => /* @__PURE__ */ e(
|
|
19
|
-
"svg",
|
|
20
|
-
{
|
|
21
|
-
className: l,
|
|
22
|
-
viewBox: "0 0 24 24",
|
|
23
|
-
fill: "none",
|
|
24
|
-
stroke: "currentColor",
|
|
25
|
-
strokeWidth: "2",
|
|
26
|
-
strokeLinecap: "square",
|
|
27
|
-
"aria-hidden": "true",
|
|
28
|
-
children: /* @__PURE__ */ e("polyline", { points: "18 15 12 9 6 15" })
|
|
29
|
-
}
|
|
30
|
-
), b = ({ className: l }) => /* @__PURE__ */ e(
|
|
31
|
-
"svg",
|
|
32
|
-
{
|
|
33
|
-
className: l,
|
|
34
|
-
viewBox: "0 0 24 24",
|
|
35
|
-
fill: "none",
|
|
36
|
-
stroke: "currentColor",
|
|
37
|
-
strokeWidth: "3",
|
|
38
|
-
strokeLinecap: "square",
|
|
39
|
-
"aria-hidden": "true",
|
|
40
|
-
children: /* @__PURE__ */ e("polyline", { points: "20 6 9 17 4 12" })
|
|
41
|
-
}
|
|
42
|
-
), L = o.forwardRef(({ className: l, children: t, ...s }, r) => /* @__PURE__ */ a(
|
|
43
|
-
h,
|
|
44
|
-
{
|
|
45
|
-
ref: r,
|
|
46
|
-
className: c("scl-select-trigger", l),
|
|
47
|
-
...s,
|
|
48
|
-
children: [
|
|
49
|
-
t,
|
|
50
|
-
/* @__PURE__ */ e(x, { asChild: !0, children: /* @__PURE__ */ e(f, { className: "scl-select-icon" }) })
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
));
|
|
54
|
-
L.displayName = h.displayName;
|
|
55
|
-
const u = o.forwardRef(({ className: l, ...t }, s) => /* @__PURE__ */ e(
|
|
56
|
-
m,
|
|
57
|
-
{
|
|
58
|
-
ref: s,
|
|
59
|
-
className: c("scl-select-scroll-button", l),
|
|
60
|
-
...t,
|
|
61
|
-
children: /* @__PURE__ */ e(B, { className: "scl-select-icon" })
|
|
62
|
-
}
|
|
63
|
-
));
|
|
64
|
-
u.displayName = m.displayName;
|
|
65
|
-
const y = o.forwardRef(({ className: l, ...t }, s) => /* @__PURE__ */ e(
|
|
66
|
-
d,
|
|
67
|
-
{
|
|
68
|
-
ref: s,
|
|
69
|
-
className: c("scl-select-scroll-button", l),
|
|
70
|
-
...t,
|
|
71
|
-
children: /* @__PURE__ */ e(f, { className: "scl-select-icon" })
|
|
72
|
-
}
|
|
73
|
-
));
|
|
74
|
-
y.displayName = d.displayName;
|
|
75
|
-
const _ = o.forwardRef(({ className: l, children: t, position: s = "popper", ...r }, w) => /* @__PURE__ */ e(C, { children: /* @__PURE__ */ a(
|
|
76
|
-
n,
|
|
77
|
-
{
|
|
78
|
-
ref: w,
|
|
79
|
-
className: c("scl-select-content", l),
|
|
80
|
-
position: s,
|
|
81
|
-
...r,
|
|
9
|
+
ref: c,
|
|
10
|
+
className: m("scl-scroll-area", a),
|
|
11
|
+
...o,
|
|
82
12
|
children: [
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
/* @__PURE__ */
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
className: c(
|
|
88
|
-
"scl-select-viewport",
|
|
89
|
-
s === "popper" && "scl-select-viewport--popper"
|
|
90
|
-
),
|
|
91
|
-
children: t
|
|
92
|
-
}
|
|
93
|
-
),
|
|
94
|
-
/* @__PURE__ */ e(y, {})
|
|
13
|
+
/* @__PURE__ */ r(_, { className: "scl-scroll-area__viewport", children: l }),
|
|
14
|
+
/* @__PURE__ */ r(s, { orientation: "vertical" }),
|
|
15
|
+
/* @__PURE__ */ r(s, { orientation: "horizontal" }),
|
|
16
|
+
/* @__PURE__ */ r(d, {})
|
|
95
17
|
]
|
|
96
18
|
}
|
|
97
|
-
) }));
|
|
98
|
-
_.displayName = n.displayName;
|
|
99
|
-
const q = o.forwardRef(({ className: l, ...t }, s) => /* @__PURE__ */ e(
|
|
100
|
-
p,
|
|
101
|
-
{
|
|
102
|
-
ref: s,
|
|
103
|
-
className: c("scl-select-label", l),
|
|
104
|
-
...t
|
|
105
|
-
}
|
|
106
19
|
));
|
|
107
|
-
|
|
108
|
-
const
|
|
20
|
+
n.displayName = e.displayName;
|
|
21
|
+
const s = t.forwardRef(({ className: a, orientation: l = "vertical", ...o }, c) => /* @__PURE__ */ r(
|
|
109
22
|
i,
|
|
110
23
|
{
|
|
111
|
-
ref:
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
const T = o.forwardRef(({ className: l, ...t }, s) => /* @__PURE__ */ e(
|
|
122
|
-
N,
|
|
123
|
-
{
|
|
124
|
-
ref: s,
|
|
125
|
-
className: c("scl-select-separator", l),
|
|
126
|
-
...t
|
|
24
|
+
ref: c,
|
|
25
|
+
orientation: l,
|
|
26
|
+
className: m(
|
|
27
|
+
"scl-scroll-area__scrollbar",
|
|
28
|
+
l === "vertical" && "scl-scroll-area__scrollbar--vertical",
|
|
29
|
+
l === "horizontal" && "scl-scroll-area__scrollbar--horizontal",
|
|
30
|
+
a
|
|
31
|
+
),
|
|
32
|
+
...o,
|
|
33
|
+
children: /* @__PURE__ */ r(f, { className: "scl-scroll-area__thumb" })
|
|
127
34
|
}
|
|
128
35
|
));
|
|
129
|
-
|
|
36
|
+
s.displayName = i.displayName;
|
|
130
37
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
P as SelectGroup,
|
|
134
|
-
D as SelectItem,
|
|
135
|
-
q as SelectLabel,
|
|
136
|
-
y as SelectScrollDownButton,
|
|
137
|
-
u as SelectScrollUpButton,
|
|
138
|
-
T as SelectSeparator,
|
|
139
|
-
L as SelectTrigger,
|
|
140
|
-
z as SelectValue
|
|
38
|
+
n as ScrollArea,
|
|
39
|
+
s as ScrollBar
|
|
141
40
|
};
|
package/dist/index20.js
CHANGED
|
@@ -1,23 +1,141 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Root as
|
|
3
|
-
import * as
|
|
4
|
-
import { cx as
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { Root as S, Group as k, Value as v, Portal as C, Content as n, Viewport as R, Item as i, ItemIndicator as g, ItemText as I, Label as p, ScrollDownButton as d, ScrollUpButton as m, Separator as N, Trigger as h, Icon as x } from "./index47.js";
|
|
3
|
+
import * as o from "react";
|
|
4
|
+
import { cx as c } from "./index2.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
)
|
|
17
|
-
|
|
6
|
+
const G = S, P = k, z = v, f = ({ className: l }) => /* @__PURE__ */ e(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
className: l,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
strokeWidth: "2",
|
|
14
|
+
strokeLinecap: "square",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
children: /* @__PURE__ */ e("polyline", { points: "6 9 12 15 18 9" })
|
|
17
|
+
}
|
|
18
|
+
), B = ({ className: l }) => /* @__PURE__ */ e(
|
|
19
|
+
"svg",
|
|
20
|
+
{
|
|
21
|
+
className: l,
|
|
22
|
+
viewBox: "0 0 24 24",
|
|
23
|
+
fill: "none",
|
|
24
|
+
stroke: "currentColor",
|
|
25
|
+
strokeWidth: "2",
|
|
26
|
+
strokeLinecap: "square",
|
|
27
|
+
"aria-hidden": "true",
|
|
28
|
+
children: /* @__PURE__ */ e("polyline", { points: "18 15 12 9 6 15" })
|
|
29
|
+
}
|
|
30
|
+
), b = ({ className: l }) => /* @__PURE__ */ e(
|
|
31
|
+
"svg",
|
|
32
|
+
{
|
|
33
|
+
className: l,
|
|
34
|
+
viewBox: "0 0 24 24",
|
|
35
|
+
fill: "none",
|
|
36
|
+
stroke: "currentColor",
|
|
37
|
+
strokeWidth: "3",
|
|
38
|
+
strokeLinecap: "square",
|
|
39
|
+
"aria-hidden": "true",
|
|
40
|
+
children: /* @__PURE__ */ e("polyline", { points: "20 6 9 17 4 12" })
|
|
41
|
+
}
|
|
42
|
+
), L = o.forwardRef(({ className: l, children: t, ...s }, r) => /* @__PURE__ */ a(
|
|
43
|
+
h,
|
|
44
|
+
{
|
|
45
|
+
ref: r,
|
|
46
|
+
className: c("scl-select-trigger", l),
|
|
47
|
+
...s,
|
|
48
|
+
children: [
|
|
49
|
+
t,
|
|
50
|
+
/* @__PURE__ */ e(x, { asChild: !0, children: /* @__PURE__ */ e(f, { className: "scl-select-icon" }) })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
));
|
|
54
|
+
L.displayName = h.displayName;
|
|
55
|
+
const u = o.forwardRef(({ className: l, ...t }, s) => /* @__PURE__ */ e(
|
|
56
|
+
m,
|
|
57
|
+
{
|
|
58
|
+
ref: s,
|
|
59
|
+
className: c("scl-select-scroll-button", l),
|
|
60
|
+
...t,
|
|
61
|
+
children: /* @__PURE__ */ e(B, { className: "scl-select-icon" })
|
|
62
|
+
}
|
|
63
|
+
));
|
|
64
|
+
u.displayName = m.displayName;
|
|
65
|
+
const y = o.forwardRef(({ className: l, ...t }, s) => /* @__PURE__ */ e(
|
|
66
|
+
d,
|
|
67
|
+
{
|
|
68
|
+
ref: s,
|
|
69
|
+
className: c("scl-select-scroll-button", l),
|
|
70
|
+
...t,
|
|
71
|
+
children: /* @__PURE__ */ e(f, { className: "scl-select-icon" })
|
|
72
|
+
}
|
|
73
|
+
));
|
|
74
|
+
y.displayName = d.displayName;
|
|
75
|
+
const _ = o.forwardRef(({ className: l, children: t, position: s = "popper", ...r }, w) => /* @__PURE__ */ e(C, { children: /* @__PURE__ */ a(
|
|
76
|
+
n,
|
|
77
|
+
{
|
|
78
|
+
ref: w,
|
|
79
|
+
className: c("scl-select-content", l),
|
|
80
|
+
position: s,
|
|
81
|
+
...r,
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ e(u, {}),
|
|
84
|
+
/* @__PURE__ */ e(
|
|
85
|
+
R,
|
|
86
|
+
{
|
|
87
|
+
className: c(
|
|
88
|
+
"scl-select-viewport",
|
|
89
|
+
s === "popper" && "scl-select-viewport--popper"
|
|
90
|
+
),
|
|
91
|
+
children: t
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
/* @__PURE__ */ e(y, {})
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
) }));
|
|
98
|
+
_.displayName = n.displayName;
|
|
99
|
+
const q = o.forwardRef(({ className: l, ...t }, s) => /* @__PURE__ */ e(
|
|
100
|
+
p,
|
|
101
|
+
{
|
|
102
|
+
ref: s,
|
|
103
|
+
className: c("scl-select-label", l),
|
|
104
|
+
...t
|
|
105
|
+
}
|
|
106
|
+
));
|
|
107
|
+
q.displayName = p.displayName;
|
|
108
|
+
const D = o.forwardRef(({ className: l, children: t, ...s }, r) => /* @__PURE__ */ a(
|
|
109
|
+
i,
|
|
110
|
+
{
|
|
111
|
+
ref: r,
|
|
112
|
+
className: c("scl-select-item", l),
|
|
113
|
+
...s,
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ e("span", { className: "scl-select-item__indicator", children: /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(b, { className: "scl-select-item__check" }) }) }),
|
|
116
|
+
/* @__PURE__ */ e(I, { children: t })
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
));
|
|
120
|
+
D.displayName = i.displayName;
|
|
121
|
+
const T = o.forwardRef(({ className: l, ...t }, s) => /* @__PURE__ */ e(
|
|
122
|
+
N,
|
|
123
|
+
{
|
|
124
|
+
ref: s,
|
|
125
|
+
className: c("scl-select-separator", l),
|
|
126
|
+
...t
|
|
18
127
|
}
|
|
19
128
|
));
|
|
20
|
-
|
|
129
|
+
T.displayName = N.displayName;
|
|
21
130
|
export {
|
|
22
|
-
|
|
131
|
+
G as Select,
|
|
132
|
+
_ as SelectContent,
|
|
133
|
+
P as SelectGroup,
|
|
134
|
+
D as SelectItem,
|
|
135
|
+
q as SelectLabel,
|
|
136
|
+
y as SelectScrollDownButton,
|
|
137
|
+
u as SelectScrollUpButton,
|
|
138
|
+
T as SelectSeparator,
|
|
139
|
+
L as SelectTrigger,
|
|
140
|
+
z as SelectValue
|
|
23
141
|
};
|
package/dist/index21.js
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Root as o } from "./index42.js";
|
|
3
|
+
import * as e from "react";
|
|
2
4
|
import { cx as l } from "./index2.js";
|
|
3
5
|
/* empty css */
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
const i = e.forwardRef(({ className: a, orientation: r = "horizontal", decorative: t = !0, ...s }, m) => /* @__PURE__ */ p(
|
|
7
|
+
o,
|
|
8
|
+
{
|
|
9
|
+
ref: m,
|
|
10
|
+
decorative: t,
|
|
11
|
+
orientation: r,
|
|
12
|
+
className: l(
|
|
13
|
+
"scl-separator",
|
|
14
|
+
r === "horizontal" ? "scl-separator--horizontal" : "scl-separator--vertical",
|
|
15
|
+
a
|
|
16
|
+
),
|
|
17
|
+
...s
|
|
18
|
+
}
|
|
19
|
+
));
|
|
20
|
+
i.displayName = o.displayName;
|
|
13
21
|
export {
|
|
14
|
-
|
|
22
|
+
i as Separator
|
|
15
23
|
};
|
package/dist/index22.js
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import * as N from "react";
|
|
4
|
-
import { cx as d } from "./index2.js";
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { cx as i } from "./index2.js";
|
|
5
3
|
/* empty css */
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
o,
|
|
4
|
+
function u({ className: t, blink: e = !0, role: r = "status", ...o }) {
|
|
5
|
+
return /* @__PURE__ */ s(
|
|
6
|
+
"div",
|
|
10
7
|
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
...i,
|
|
16
|
-
children: [
|
|
17
|
-
/* @__PURE__ */ m(e, { className: "scl-slider__track", children: /* @__PURE__ */ m(_, { className: "scl-slider__range" }) }),
|
|
18
|
-
Array.from({ length: n }).map((l, p) => /* @__PURE__ */ m(a, { className: "scl-slider__thumb" }, p))
|
|
19
|
-
]
|
|
8
|
+
className: i("scl-skeleton", e && "scl-skeleton--blink", t),
|
|
9
|
+
role: r,
|
|
10
|
+
"aria-busy": "true",
|
|
11
|
+
...o
|
|
20
12
|
}
|
|
21
13
|
);
|
|
22
|
-
}
|
|
23
|
-
g.displayName = o.displayName;
|
|
14
|
+
}
|
|
24
15
|
export {
|
|
25
|
-
|
|
16
|
+
u as Skeleton
|
|
26
17
|
};
|
package/dist/index23.js
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { Root as o, Thumb as a } from "./
|
|
3
|
-
import * as
|
|
4
|
-
import { cx as
|
|
1
|
+
import { jsxs as h, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { Root as o, Track as e, Range as _, Thumb as a } from "./index53.js";
|
|
3
|
+
import * as N from "react";
|
|
4
|
+
import { cx as d } from "./index2.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
)
|
|
15
|
-
|
|
6
|
+
const g = N.forwardRef(({ className: c, defaultValue: r, value: s, ...i }, t) => {
|
|
7
|
+
const n = (s == null ? void 0 : s.length) ?? (r == null ? void 0 : r.length) ?? 1;
|
|
8
|
+
return /* @__PURE__ */ h(
|
|
9
|
+
o,
|
|
10
|
+
{
|
|
11
|
+
ref: t,
|
|
12
|
+
defaultValue: r,
|
|
13
|
+
value: s,
|
|
14
|
+
className: d("scl-slider", c),
|
|
15
|
+
...i,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ m(e, { className: "scl-slider__track", children: /* @__PURE__ */ m(_, { className: "scl-slider__range" }) }),
|
|
18
|
+
Array.from({ length: n }).map((l, p) => /* @__PURE__ */ m(a, { className: "scl-slider__thumb" }, p))
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
});
|
|
23
|
+
g.displayName = o.displayName;
|
|
16
24
|
export {
|
|
17
|
-
|
|
25
|
+
g as Slider
|
|
18
26
|
};
|
package/dist/index24.js
CHANGED
|
@@ -1,34 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { Root as o, Thumb as a } from "./index50.js";
|
|
3
|
+
import * as c from "react";
|
|
4
|
+
import { cx as i } from "./index2.js";
|
|
4
5
|
/* empty css */
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const m = o.forwardRef(
|
|
16
|
-
({ className: a, ...e }, l) => /* @__PURE__ */ s("tr", { ref: l, className: t("scl-table__row", a), ...e })
|
|
17
|
-
);
|
|
18
|
-
m.displayName = "TableRow";
|
|
19
|
-
const f = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("th", { ref: l, className: t("scl-table__head", a), ...e }));
|
|
20
|
-
f.displayName = "TableHead";
|
|
21
|
-
const p = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("td", { ref: l, className: t("scl-table__cell", a), ...e }));
|
|
22
|
-
p.displayName = "TableCell";
|
|
23
|
-
const i = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("caption", { ref: l, className: t("scl-table__caption", a), ...e }));
|
|
24
|
-
i.displayName = "TableCaption";
|
|
6
|
+
const e = c.forwardRef(({ className: r, ...s }, t) => /* @__PURE__ */ m(
|
|
7
|
+
o,
|
|
8
|
+
{
|
|
9
|
+
className: i("scl-switch", r),
|
|
10
|
+
...s,
|
|
11
|
+
ref: t,
|
|
12
|
+
children: /* @__PURE__ */ m(a, { className: "scl-switch__thumb" })
|
|
13
|
+
}
|
|
14
|
+
));
|
|
15
|
+
e.displayName = o.displayName;
|
|
25
16
|
export {
|
|
26
|
-
|
|
27
|
-
d as TableBody,
|
|
28
|
-
i as TableCaption,
|
|
29
|
-
p as TableCell,
|
|
30
|
-
b as TableFooter,
|
|
31
|
-
f as TableHead,
|
|
32
|
-
c as TableHeader,
|
|
33
|
-
m as TableRow
|
|
17
|
+
e as Switch
|
|
34
18
|
};
|
package/dist/index25.js
CHANGED
|
@@ -1,38 +1,34 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { cx as e } from "./index2.js";
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import { cx as t } from "./index2.js";
|
|
5
4
|
/* empty css */
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
));
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
{
|
|
27
|
-
ref: t,
|
|
28
|
-
className: e("scl-tabs-content", s),
|
|
29
|
-
...a
|
|
30
|
-
}
|
|
31
|
-
));
|
|
32
|
-
n.displayName = m.displayName;
|
|
5
|
+
const r = o.forwardRef(
|
|
6
|
+
({ className: a, ...e }, l) => /* @__PURE__ */ s("div", { className: "scl-table-wrapper", children: /* @__PURE__ */ s("table", { ref: l, className: t("scl-table", a), ...e }) })
|
|
7
|
+
);
|
|
8
|
+
r.displayName = "Table";
|
|
9
|
+
const c = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("thead", { ref: l, className: t("scl-table__header", a), ...e }));
|
|
10
|
+
c.displayName = "TableHeader";
|
|
11
|
+
const d = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("tbody", { ref: l, className: t("scl-table__body", a), ...e }));
|
|
12
|
+
d.displayName = "TableBody";
|
|
13
|
+
const b = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("tfoot", { ref: l, className: t("scl-table__footer", a), ...e }));
|
|
14
|
+
b.displayName = "TableFooter";
|
|
15
|
+
const m = o.forwardRef(
|
|
16
|
+
({ className: a, ...e }, l) => /* @__PURE__ */ s("tr", { ref: l, className: t("scl-table__row", a), ...e })
|
|
17
|
+
);
|
|
18
|
+
m.displayName = "TableRow";
|
|
19
|
+
const f = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("th", { ref: l, className: t("scl-table__head", a), ...e }));
|
|
20
|
+
f.displayName = "TableHead";
|
|
21
|
+
const p = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("td", { ref: l, className: t("scl-table__cell", a), ...e }));
|
|
22
|
+
p.displayName = "TableCell";
|
|
23
|
+
const i = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("caption", { ref: l, className: t("scl-table__caption", a), ...e }));
|
|
24
|
+
i.displayName = "TableCaption";
|
|
33
25
|
export {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
r as Table,
|
|
27
|
+
d as TableBody,
|
|
28
|
+
i as TableCaption,
|
|
29
|
+
p as TableCell,
|
|
30
|
+
b as TableFooter,
|
|
31
|
+
f as TableHead,
|
|
32
|
+
c as TableHeader,
|
|
33
|
+
m as TableRow
|
|
38
34
|
};
|
package/dist/index26.js
CHANGED
|
@@ -1,18 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Root as l, Content as m, List as i, Trigger as c } from "./index64.js";
|
|
3
|
+
import * as r from "react";
|
|
4
|
+
import { cx as e } from "./index2.js";
|
|
4
5
|
/* empty css */
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
)
|
|
15
|
-
|
|
6
|
+
const y = l, p = r.forwardRef(({ className: s, ...a }, t) => /* @__PURE__ */ o(
|
|
7
|
+
i,
|
|
8
|
+
{
|
|
9
|
+
ref: t,
|
|
10
|
+
className: e("scl-tabs-list", s),
|
|
11
|
+
...a
|
|
12
|
+
}
|
|
13
|
+
));
|
|
14
|
+
p.displayName = i.displayName;
|
|
15
|
+
const f = r.forwardRef(({ className: s, ...a }, t) => /* @__PURE__ */ o(
|
|
16
|
+
c,
|
|
17
|
+
{
|
|
18
|
+
ref: t,
|
|
19
|
+
className: e("scl-tabs-trigger", s),
|
|
20
|
+
...a
|
|
21
|
+
}
|
|
22
|
+
));
|
|
23
|
+
f.displayName = c.displayName;
|
|
24
|
+
const n = r.forwardRef(({ className: s, ...a }, t) => /* @__PURE__ */ o(
|
|
25
|
+
m,
|
|
26
|
+
{
|
|
27
|
+
ref: t,
|
|
28
|
+
className: e("scl-tabs-content", s),
|
|
29
|
+
...a
|
|
30
|
+
}
|
|
31
|
+
));
|
|
32
|
+
n.displayName = m.displayName;
|
|
16
33
|
export {
|
|
17
|
-
|
|
34
|
+
y as Tabs,
|
|
35
|
+
n as TabsContent,
|
|
36
|
+
p as TabsList,
|
|
37
|
+
f as TabsTrigger
|
|
18
38
|
};
|
package/dist/index27.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import * as l from "react";
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as m from "react";
|
|
4
3
|
import { cx as s } from "./index2.js";
|
|
5
4
|
/* empty css */
|
|
6
|
-
const
|
|
7
|
-
o
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
const x = m.forwardRef(
|
|
6
|
+
({ className: r, error: a, "aria-invalid": e, ...t }, i) => /* @__PURE__ */ o(
|
|
7
|
+
"textarea",
|
|
8
|
+
{
|
|
9
|
+
className: s("scl-textarea", a && "scl-textarea--error", r),
|
|
10
|
+
ref: i,
|
|
11
|
+
"aria-invalid": e ?? a,
|
|
12
|
+
...t
|
|
13
|
+
}
|
|
14
|
+
)
|
|
15
|
+
);
|
|
16
|
+
x.displayName = "Textarea";
|
|
15
17
|
export {
|
|
16
|
-
|
|
18
|
+
x as Textarea
|
|
17
19
|
};
|