@drjoshcsimmons/scl 0.1.1 → 0.1.2
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/index100.js +218 -8
- package/dist/index101.js +648 -48
- package/dist/index102.js +167 -205
- package/dist/index104.js +1 -1
- package/dist/index106.js +12 -21
- package/dist/index107.js +15 -3
- package/dist/index108.js +3 -32
- package/dist/index109.js +32 -12
- package/dist/index11.js +2 -2
- package/dist/index110.js +18 -12
- package/dist/index112.js +1 -1
- package/dist/index115.js +1 -1
- package/dist/index116.js +1 -1
- package/dist/index117.js +25 -2
- package/dist/index118.js +29 -2
- package/dist/index119.js +5 -25
- package/dist/index12.js +1 -1
- package/dist/index120.js +2 -29
- package/dist/index121.js +2 -5
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index130.js +1 -1
- package/dist/index14.js +2 -2
- package/dist/index15.js +2 -2
- package/dist/index17.js +4 -4
- package/dist/index18.js +2 -2
- package/dist/index20.js +2 -2
- package/dist/index21.js +1 -1
- package/dist/index23.js +2 -2
- package/dist/index24.js +1 -1
- package/dist/index25.js +4 -4
- package/dist/index26.js +1 -1
- package/dist/index27.js +3 -3
- package/dist/index29.js +1 -1
- package/dist/index31.js +1 -1
- package/dist/index33.js +1 -1
- package/dist/index36.js +2 -2
- package/dist/index37.js +1 -1
- package/dist/index4.js +2 -2
- package/dist/index45.js +237 -33
- package/dist/index46.js +11 -125
- package/dist/index47.js +33 -237
- package/dist/index48.js +118 -11
- package/dist/index49.js +70 -57
- package/dist/index5.js +1 -1
- package/dist/index50.js +298 -237
- package/dist/index51.js +6 -3
- package/dist/index52.js +249 -62
- package/dist/index53.js +12 -236
- package/dist/index54.js +60 -11
- package/dist/index55.js +242 -298
- package/dist/index56.js +249 -12
- package/dist/index57.js +9 -225
- package/dist/index58.js +125 -11
- package/dist/index59.js +12 -31
- package/dist/index6.js +1 -1
- package/dist/index60.js +16 -258
- package/dist/index61.js +225 -12
- package/dist/index62.js +11 -118
- package/dist/index63.js +4 -5
- package/dist/index64.js +238 -19
- package/dist/index65.js +234 -16
- package/dist/index66.js +509 -220
- package/dist/index67.js +143 -112
- package/dist/index68.js +112 -143
- package/dist/index69.js +323 -241
- package/dist/index7.js +1 -1
- package/dist/index70.js +2 -2
- package/dist/index71.js +392 -487
- package/dist/index72.js +20 -433
- package/dist/index73.js +823 -299
- package/dist/index74.js +9 -860
- package/dist/index75.js +31 -9
- package/dist/index76.js +5 -66
- package/dist/index77.js +64 -23
- package/dist/index78.js +51 -6
- package/dist/index79.js +4 -54
- package/dist/index8.js +1 -1
- package/dist/index80.js +25 -44
- package/dist/index81.js +33 -51
- package/dist/index82.js +67 -32
- package/dist/index83.js +1 -1
- package/dist/index84.js +54 -7
- package/dist/index85.js +10 -5
- package/dist/index86.js +30 -25
- package/dist/index87.js +11 -67
- package/dist/index88.js +43 -52
- package/dist/index89.js +7 -10
- package/dist/index9.js +2 -2
- package/dist/index90.js +15 -4
- package/dist/index91.js +124 -29
- package/dist/index92.js +131 -9
- package/dist/index93.js +14 -181
- package/dist/index94.js +13 -13
- package/dist/index95.js +8 -649
- package/dist/index96.js +47 -122
- package/dist/index97.js +47 -128
- package/dist/index98.js +6 -14
- package/dist/index99.js +24 -14
- package/package.json +3 -2
package/dist/index67.js
CHANGED
|
@@ -1,132 +1,163 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { composeEventHandlers as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as v from "react";
|
|
2
|
+
import { composeEventHandlers as g } from "./index76.js";
|
|
3
|
+
import { createContextScope as x } from "./index77.js";
|
|
4
|
+
import { createRovingFocusGroupScope as C, Root as E, Item as F } from "./index102.js";
|
|
5
|
+
import { Presence as w } from "./index82.js";
|
|
6
|
+
import { Primitive as b } from "./index81.js";
|
|
7
|
+
import { useDirection as D } from "./index89.js";
|
|
8
|
+
import { useControllableState as V } from "./index78.js";
|
|
9
|
+
import { useId as G } from "./index83.js";
|
|
10
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
11
|
+
var p = "Tabs", [L] = x(p, [
|
|
12
|
+
C
|
|
13
|
+
]), h = C(), [$, T] = L(p), I = v.forwardRef(
|
|
14
|
+
(e, r) => {
|
|
12
15
|
const {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
onChange: w,
|
|
27
|
-
caller: h
|
|
16
|
+
__scopeTabs: s,
|
|
17
|
+
value: t,
|
|
18
|
+
onValueChange: n,
|
|
19
|
+
defaultValue: c,
|
|
20
|
+
orientation: o = "horizontal",
|
|
21
|
+
dir: d,
|
|
22
|
+
activationMode: f = "automatic",
|
|
23
|
+
...m
|
|
24
|
+
} = e, i = D(d), [a, u] = V({
|
|
25
|
+
prop: t,
|
|
26
|
+
onChange: n,
|
|
27
|
+
defaultProp: c ?? "",
|
|
28
|
+
caller: p
|
|
28
29
|
});
|
|
29
|
-
return /* @__PURE__ */
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
{
|
|
51
|
-
control: d,
|
|
52
|
-
bubbles: !C.current,
|
|
53
|
-
name: c,
|
|
54
|
-
value: p,
|
|
55
|
-
checked: l,
|
|
56
|
-
required: i,
|
|
57
|
-
disabled: n,
|
|
58
|
-
form: s,
|
|
59
|
-
style: { transform: "translateX(-100%)" }
|
|
60
|
-
}
|
|
61
|
-
)
|
|
62
|
-
] });
|
|
30
|
+
return /* @__PURE__ */ l(
|
|
31
|
+
$,
|
|
32
|
+
{
|
|
33
|
+
scope: s,
|
|
34
|
+
baseId: G(),
|
|
35
|
+
value: a,
|
|
36
|
+
onValueChange: u,
|
|
37
|
+
orientation: o,
|
|
38
|
+
dir: i,
|
|
39
|
+
activationMode: f,
|
|
40
|
+
children: /* @__PURE__ */ l(
|
|
41
|
+
b.div,
|
|
42
|
+
{
|
|
43
|
+
dir: i,
|
|
44
|
+
"data-orientation": o,
|
|
45
|
+
...m,
|
|
46
|
+
ref: r
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
}
|
|
50
|
+
);
|
|
63
51
|
}
|
|
64
52
|
);
|
|
65
|
-
|
|
66
|
-
var
|
|
67
|
-
(
|
|
68
|
-
const {
|
|
69
|
-
return /* @__PURE__ */
|
|
70
|
-
|
|
53
|
+
I.displayName = p;
|
|
54
|
+
var R = "TabsList", _ = v.forwardRef(
|
|
55
|
+
(e, r) => {
|
|
56
|
+
const { __scopeTabs: s, loop: t = !0, ...n } = e, c = T(R, s), o = h(s);
|
|
57
|
+
return /* @__PURE__ */ l(
|
|
58
|
+
E,
|
|
71
59
|
{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
60
|
+
asChild: !0,
|
|
61
|
+
...o,
|
|
62
|
+
orientation: c.orientation,
|
|
63
|
+
dir: c.dir,
|
|
64
|
+
loop: t,
|
|
65
|
+
children: /* @__PURE__ */ l(
|
|
66
|
+
b.div,
|
|
67
|
+
{
|
|
68
|
+
role: "tablist",
|
|
69
|
+
"aria-orientation": c.orientation,
|
|
70
|
+
...n,
|
|
71
|
+
ref: r
|
|
72
|
+
}
|
|
73
|
+
)
|
|
76
74
|
}
|
|
77
75
|
);
|
|
78
76
|
}
|
|
79
77
|
);
|
|
80
|
-
_.displayName =
|
|
81
|
-
var
|
|
82
|
-
({
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
78
|
+
_.displayName = R;
|
|
79
|
+
var y = "TabsTrigger", A = v.forwardRef(
|
|
80
|
+
(e, r) => {
|
|
81
|
+
const { __scopeTabs: s, value: t, disabled: n = !1, ...c } = e, o = T(y, s), d = h(s), f = P(o.baseId, t), m = S(o.baseId, t), i = t === o.value;
|
|
82
|
+
return /* @__PURE__ */ l(
|
|
83
|
+
F,
|
|
84
|
+
{
|
|
85
|
+
asChild: !0,
|
|
86
|
+
...d,
|
|
87
|
+
focusable: !n,
|
|
88
|
+
active: i,
|
|
89
|
+
children: /* @__PURE__ */ l(
|
|
90
|
+
b.button,
|
|
91
|
+
{
|
|
92
|
+
type: "button",
|
|
93
|
+
role: "tab",
|
|
94
|
+
"aria-selected": i,
|
|
95
|
+
"aria-controls": m,
|
|
96
|
+
"data-state": i ? "active" : "inactive",
|
|
97
|
+
"data-disabled": n ? "" : void 0,
|
|
98
|
+
disabled: n,
|
|
99
|
+
id: f,
|
|
100
|
+
...c,
|
|
101
|
+
ref: r,
|
|
102
|
+
onMouseDown: g(e.onMouseDown, (a) => {
|
|
103
|
+
!n && a.button === 0 && a.ctrlKey === !1 ? o.onValueChange(t) : a.preventDefault();
|
|
104
|
+
}),
|
|
105
|
+
onKeyDown: g(e.onKeyDown, (a) => {
|
|
106
|
+
[" ", "Enter"].includes(a.key) && o.onValueChange(t);
|
|
107
|
+
}),
|
|
108
|
+
onFocus: g(e.onFocus, () => {
|
|
109
|
+
const a = o.activationMode !== "manual";
|
|
110
|
+
!i && !n && a && o.onValueChange(t);
|
|
111
|
+
})
|
|
112
|
+
}
|
|
113
|
+
)
|
|
100
114
|
}
|
|
101
|
-
|
|
102
|
-
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
);
|
|
118
|
+
A.displayName = y;
|
|
119
|
+
var M = "TabsContent", N = v.forwardRef(
|
|
120
|
+
(e, r) => {
|
|
121
|
+
const { __scopeTabs: s, value: t, forceMount: n, children: c, ...o } = e, d = T(M, s), f = P(d.baseId, t), m = S(d.baseId, t), i = t === d.value, a = v.useRef(i);
|
|
122
|
+
return v.useEffect(() => {
|
|
123
|
+
const u = requestAnimationFrame(() => a.current = !1);
|
|
124
|
+
return () => cancelAnimationFrame(u);
|
|
125
|
+
}, []), /* @__PURE__ */ l(w, { present: n || i, children: ({ present: u }) => /* @__PURE__ */ l(
|
|
126
|
+
b.div,
|
|
103
127
|
{
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
|
|
128
|
+
"data-state": i ? "active" : "inactive",
|
|
129
|
+
"data-orientation": d.orientation,
|
|
130
|
+
role: "tabpanel",
|
|
131
|
+
"aria-labelledby": f,
|
|
132
|
+
hidden: !u,
|
|
133
|
+
id: m,
|
|
134
|
+
tabIndex: 0,
|
|
107
135
|
...o,
|
|
108
|
-
|
|
109
|
-
ref: n,
|
|
136
|
+
ref: r,
|
|
110
137
|
style: {
|
|
111
|
-
...
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
opacity: 0,
|
|
116
|
-
margin: 0
|
|
117
|
-
}
|
|
138
|
+
...e.style,
|
|
139
|
+
animationDuration: a.current ? "0s" : void 0
|
|
140
|
+
},
|
|
141
|
+
children: u && c
|
|
118
142
|
}
|
|
119
|
-
);
|
|
143
|
+
) });
|
|
120
144
|
}
|
|
121
145
|
);
|
|
122
|
-
|
|
123
|
-
function
|
|
124
|
-
return
|
|
146
|
+
N.displayName = M;
|
|
147
|
+
function P(e, r) {
|
|
148
|
+
return `${e}-trigger-${r}`;
|
|
149
|
+
}
|
|
150
|
+
function S(e, r) {
|
|
151
|
+
return `${e}-content-${r}`;
|
|
125
152
|
}
|
|
126
|
-
var Q =
|
|
153
|
+
var Q = I, U = _, W = A, X = N;
|
|
127
154
|
export {
|
|
155
|
+
X as Content,
|
|
156
|
+
U as List,
|
|
128
157
|
Q as Root,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
158
|
+
I as Tabs,
|
|
159
|
+
N as TabsContent,
|
|
160
|
+
_ as TabsList,
|
|
161
|
+
A as TabsTrigger,
|
|
162
|
+
W as Trigger
|
|
132
163
|
};
|
package/dist/index68.js
CHANGED
|
@@ -1,163 +1,132 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { composeEventHandlers as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
C
|
|
13
|
-
]), h = C(), [$, T] = L(p), I = v.forwardRef(
|
|
14
|
-
(e, r) => {
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { composeEventHandlers as T } from "./index76.js";
|
|
3
|
+
import { useComposedRefs as P } from "./index80.js";
|
|
4
|
+
import { createContextScope as I } from "./index77.js";
|
|
5
|
+
import { useControllableState as M } from "./index78.js";
|
|
6
|
+
import { usePrevious as H } from "./index98.js";
|
|
7
|
+
import { useSize as j } from "./index99.js";
|
|
8
|
+
import { Primitive as y } from "./index81.js";
|
|
9
|
+
import { jsxs as A, jsx as m } from "react/jsx-runtime";
|
|
10
|
+
var h = "Switch", [U] = I(h), [q, z] = U(h), R = r.forwardRef(
|
|
11
|
+
(t, a) => {
|
|
15
12
|
const {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
13
|
+
__scopeSwitch: e,
|
|
14
|
+
name: c,
|
|
15
|
+
checked: o,
|
|
16
|
+
defaultChecked: v,
|
|
17
|
+
required: i,
|
|
18
|
+
disabled: n,
|
|
19
|
+
value: p = "on",
|
|
20
|
+
onCheckedChange: w,
|
|
21
|
+
form: s,
|
|
22
|
+
...S
|
|
23
|
+
} = t, [d, u] = r.useState(null), b = P(a, (f) => u(f)), C = r.useRef(!1), k = d ? s || !!d.closest("form") : !0, [l, B] = M({
|
|
24
|
+
prop: o,
|
|
25
|
+
defaultProp: v ?? !1,
|
|
26
|
+
onChange: w,
|
|
27
|
+
caller: h
|
|
29
28
|
});
|
|
30
|
-
return /* @__PURE__ */ l
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
29
|
+
return /* @__PURE__ */ A(q, { scope: e, checked: l, disabled: n, children: [
|
|
30
|
+
/* @__PURE__ */ m(
|
|
31
|
+
y.button,
|
|
32
|
+
{
|
|
33
|
+
type: "button",
|
|
34
|
+
role: "switch",
|
|
35
|
+
"aria-checked": l,
|
|
36
|
+
"aria-required": i,
|
|
37
|
+
"data-state": g(l),
|
|
38
|
+
"data-disabled": n ? "" : void 0,
|
|
39
|
+
disabled: n,
|
|
40
|
+
value: p,
|
|
41
|
+
...S,
|
|
42
|
+
ref: b,
|
|
43
|
+
onClick: T(t.onClick, (f) => {
|
|
44
|
+
B((N) => !N), k && (C.current = f.isPropagationStopped(), C.current || f.stopPropagation());
|
|
45
|
+
})
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
k && /* @__PURE__ */ m(
|
|
49
|
+
x,
|
|
50
|
+
{
|
|
51
|
+
control: d,
|
|
52
|
+
bubbles: !C.current,
|
|
53
|
+
name: c,
|
|
54
|
+
value: p,
|
|
55
|
+
checked: l,
|
|
56
|
+
required: i,
|
|
57
|
+
disabled: n,
|
|
58
|
+
form: s,
|
|
59
|
+
style: { transform: "translateX(-100%)" }
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
] });
|
|
51
63
|
}
|
|
52
64
|
);
|
|
53
|
-
|
|
54
|
-
var
|
|
55
|
-
(
|
|
56
|
-
const {
|
|
57
|
-
return /* @__PURE__ */
|
|
58
|
-
|
|
65
|
+
R.displayName = h;
|
|
66
|
+
var E = "SwitchThumb", _ = r.forwardRef(
|
|
67
|
+
(t, a) => {
|
|
68
|
+
const { __scopeSwitch: e, ...c } = t, o = z(E, e);
|
|
69
|
+
return /* @__PURE__ */ m(
|
|
70
|
+
y.span,
|
|
59
71
|
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
loop: t,
|
|
65
|
-
children: /* @__PURE__ */ l(
|
|
66
|
-
b.div,
|
|
67
|
-
{
|
|
68
|
-
role: "tablist",
|
|
69
|
-
"aria-orientation": c.orientation,
|
|
70
|
-
...n,
|
|
71
|
-
ref: r
|
|
72
|
-
}
|
|
73
|
-
)
|
|
72
|
+
"data-state": g(o.checked),
|
|
73
|
+
"data-disabled": o.disabled ? "" : void 0,
|
|
74
|
+
...c,
|
|
75
|
+
ref: a
|
|
74
76
|
}
|
|
75
77
|
);
|
|
76
78
|
}
|
|
77
79
|
);
|
|
78
|
-
_.displayName =
|
|
79
|
-
var
|
|
80
|
-
(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
disabled: n,
|
|
99
|
-
id: f,
|
|
100
|
-
...c,
|
|
101
|
-
ref: r,
|
|
102
|
-
onMouseDown: g(e.onMouseDown, (a) => {
|
|
103
|
-
!n && a.button === 0 && a.ctrlKey === !1 ? o.onValueChange(t) : a.preventDefault();
|
|
104
|
-
}),
|
|
105
|
-
onKeyDown: g(e.onKeyDown, (a) => {
|
|
106
|
-
[" ", "Enter"].includes(a.key) && o.onValueChange(t);
|
|
107
|
-
}),
|
|
108
|
-
onFocus: g(e.onFocus, () => {
|
|
109
|
-
const a = o.activationMode !== "manual";
|
|
110
|
-
!i && !n && a && o.onValueChange(t);
|
|
111
|
-
})
|
|
112
|
-
}
|
|
113
|
-
)
|
|
80
|
+
_.displayName = E;
|
|
81
|
+
var L = "SwitchBubbleInput", x = r.forwardRef(
|
|
82
|
+
({
|
|
83
|
+
__scopeSwitch: t,
|
|
84
|
+
control: a,
|
|
85
|
+
checked: e,
|
|
86
|
+
bubbles: c = !0,
|
|
87
|
+
...o
|
|
88
|
+
}, v) => {
|
|
89
|
+
const i = r.useRef(null), n = P(i, v), p = H(e), w = j(a);
|
|
90
|
+
return r.useEffect(() => {
|
|
91
|
+
const s = i.current;
|
|
92
|
+
if (!s) return;
|
|
93
|
+
const S = window.HTMLInputElement.prototype, u = Object.getOwnPropertyDescriptor(
|
|
94
|
+
S,
|
|
95
|
+
"checked"
|
|
96
|
+
).set;
|
|
97
|
+
if (p !== e && u) {
|
|
98
|
+
const b = new Event("click", { bubbles: c });
|
|
99
|
+
u.call(s, e), s.dispatchEvent(b);
|
|
114
100
|
}
|
|
115
|
-
)
|
|
116
|
-
|
|
117
|
-
);
|
|
118
|
-
A.displayName = y;
|
|
119
|
-
var M = "TabsContent", N = v.forwardRef(
|
|
120
|
-
(e, r) => {
|
|
121
|
-
const { __scopeTabs: s, value: t, forceMount: n, children: c, ...o } = e, d = T(M, s), f = P(d.baseId, t), m = S(d.baseId, t), i = t === d.value, a = v.useRef(i);
|
|
122
|
-
return v.useEffect(() => {
|
|
123
|
-
const u = requestAnimationFrame(() => a.current = !1);
|
|
124
|
-
return () => cancelAnimationFrame(u);
|
|
125
|
-
}, []), /* @__PURE__ */ l(w, { present: n || i, children: ({ present: u }) => /* @__PURE__ */ l(
|
|
126
|
-
b.div,
|
|
101
|
+
}, [p, e, c]), /* @__PURE__ */ m(
|
|
102
|
+
"input",
|
|
127
103
|
{
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
"aria-labelledby": f,
|
|
132
|
-
hidden: !u,
|
|
133
|
-
id: m,
|
|
134
|
-
tabIndex: 0,
|
|
104
|
+
type: "checkbox",
|
|
105
|
+
"aria-hidden": !0,
|
|
106
|
+
defaultChecked: e,
|
|
135
107
|
...o,
|
|
136
|
-
|
|
108
|
+
tabIndex: -1,
|
|
109
|
+
ref: n,
|
|
137
110
|
style: {
|
|
138
|
-
...
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
111
|
+
...o.style,
|
|
112
|
+
...w,
|
|
113
|
+
position: "absolute",
|
|
114
|
+
pointerEvents: "none",
|
|
115
|
+
opacity: 0,
|
|
116
|
+
margin: 0
|
|
117
|
+
}
|
|
142
118
|
}
|
|
143
|
-
)
|
|
119
|
+
);
|
|
144
120
|
}
|
|
145
121
|
);
|
|
146
|
-
|
|
147
|
-
function
|
|
148
|
-
return
|
|
149
|
-
}
|
|
150
|
-
function S(e, r) {
|
|
151
|
-
return `${e}-content-${r}`;
|
|
122
|
+
x.displayName = L;
|
|
123
|
+
function g(t) {
|
|
124
|
+
return t ? "checked" : "unchecked";
|
|
152
125
|
}
|
|
153
|
-
var Q =
|
|
126
|
+
var Q = R, V = _;
|
|
154
127
|
export {
|
|
155
|
-
X as Content,
|
|
156
|
-
U as List,
|
|
157
128
|
Q as Root,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
A as TabsTrigger,
|
|
162
|
-
W as Trigger
|
|
129
|
+
R as Switch,
|
|
130
|
+
_ as SwitchThumb,
|
|
131
|
+
V as Thumb
|
|
163
132
|
};
|