@drjoshcsimmons/scl 0.1.0 → 0.1.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/alert/alert.d.ts +1 -1
- package/dist/components/ui/alert/alert.d.ts.map +1 -1
- package/dist/components/ui/badge/badge.d.ts +1 -1
- package/dist/components/ui/badge/badge.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/combobox/combobox.d.ts +31 -0
- package/dist/components/ui/combobox/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox/index.d.ts +3 -0
- package/dist/components/ui/combobox/index.d.ts.map +1 -0
- package/dist/components/ui/command/command.d.ts +85 -0
- package/dist/components/ui/command/command.d.ts.map +1 -0
- package/dist/components/ui/command/index.d.ts +2 -0
- package/dist/components/ui/command/index.d.ts.map +1 -0
- package/dist/components/ui/dithered-image/dithered-image.d.ts +6 -2
- package/dist/components/ui/dithered-image/dithered-image.d.ts.map +1 -1
- package/dist/components/ui/dithered-image/index.d.ts +1 -1
- package/dist/components/ui/dithered-image/index.d.ts.map +1 -1
- package/dist/components/ui/form/form.d.ts +24 -0
- package/dist/components/ui/form/form.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +2 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/progress/progress.d.ts +0 -6
- package/dist/components/ui/progress/progress.d.ts.map +1 -1
- package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/skeleton/skeleton.d.ts +4 -1
- package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/ui/statusline/statusline.d.ts.map +1 -1
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts +0 -5
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +166 -143
- package/dist/index10.js +30 -30
- package/dist/index100.js +9 -30
- package/dist/index101.js +50 -15
- package/dist/index102.js +212 -128
- package/dist/index103.js +4 -50
- package/dist/index104.js +30 -9
- package/dist/index105.js +6 -4
- package/dist/index106.js +19 -179
- package/dist/index107.js +9 -650
- package/dist/index108.js +38 -107
- package/dist/index109.js +17 -90
- package/dist/index11.js +13 -13
- package/dist/index110.js +11 -66
- package/dist/index111.js +201 -154
- package/dist/index112.js +20 -395
- package/dist/index113.js +395 -1675
- package/dist/index114.js +2 -278
- package/dist/index115.js +49 -128
- package/dist/index116.js +65 -32
- package/dist/index117.js +2 -1611
- package/dist/index118.js +2 -298
- package/dist/index119.js +22 -632
- package/dist/index12.js +1 -1
- package/dist/index120.js +29 -144
- package/dist/index121.js +5 -21
- package/dist/index122.js +5 -9
- package/dist/index123.js +3 -38
- package/dist/index124.js +24 -18
- package/dist/index125.js +113 -6
- package/dist/index126.js +15 -11
- package/dist/index127.js +513 -194
- package/dist/index128.js +128 -22
- package/dist/index129.js +114 -380
- package/dist/index13.js +132 -93
- package/dist/index130.js +59 -1300
- package/dist/index131.js +63 -612
- package/dist/index132.js +9 -2
- package/dist/index133.js +13 -52
- package/dist/index134.js +64 -63
- package/dist/index135.js +3 -24
- package/dist/index136.js +23 -29
- package/dist/index137.js +23 -5
- package/dist/index138.js +13 -2
- package/dist/index139.js +28 -2
- package/dist/index14.js +106 -220
- package/dist/index140.js +5 -5
- package/dist/index15.js +79 -125
- package/dist/index16.js +280 -17
- package/dist/index17.js +139 -12
- package/dist/index18.js +92 -22
- package/dist/index19.js +18 -55
- package/dist/index2.js +2 -2
- package/dist/index20.js +14 -26
- package/dist/index21.js +19 -33
- package/dist/index22.js +38 -121
- package/dist/index23.js +29 -22
- package/dist/index24.js +31 -64
- package/dist/index25.js +121 -15
- package/dist/index26.js +19 -29
- package/dist/index27.js +68 -77
- package/dist/index28.js +20 -25
- package/dist/index29.js +32 -88
- package/dist/index3.js +11 -9
- package/dist/index30.js +138 -38
- package/dist/index31.js +20 -227
- package/dist/index32.js +88 -18
- package/dist/index33.js +37 -28
- package/dist/index34.js +86 -22
- package/dist/index35.js +17 -102
- package/dist/index36.js +34 -65
- package/dist/index37.js +23 -49
- package/dist/index38.js +38 -99
- package/dist/index39.js +65 -10
- package/dist/index4.js +6 -6
- package/dist/index40.js +49 -15
- package/dist/index41.js +93 -2256
- package/dist/index42.js +10 -32
- package/dist/index43.js +15 -18
- package/dist/index44.js +2251 -225
- package/dist/index45.js +33 -11
- package/dist/index46.js +116 -64
- package/dist/index47.js +207 -219
- package/dist/index48.js +5 -3
- package/dist/index49.js +54 -330
- package/dist/index5.js +23 -23
- package/dist/index50.js +244 -55
- package/dist/index51.js +9 -241
- package/dist/index52.js +60 -847
- package/dist/index53.js +236 -9
- package/dist/index54.js +11 -118
- package/dist/index55.js +300 -215
- package/dist/index56.js +4 -3
- package/dist/index57.js +225 -11
- package/dist/index58.js +11 -236
- package/dist/index59.js +27 -256
- package/dist/index6.js +12 -12
- package/dist/index60.js +260 -12
- package/dist/index61.js +12 -22
- package/dist/index62.js +94 -506
- package/dist/index63.js +12 -6155
- package/dist/index64.js +20 -2631
- package/dist/index65.js +16 -296
- package/dist/index66.js +232 -663
- package/dist/index67.js +125 -825
- package/dist/index68.js +159 -23
- package/dist/index69.js +241 -315
- package/dist/index7.js +22 -22
- package/dist/index70.js +72 -4889
- package/dist/index71.js +503 -802
- package/dist/index72.js +412 -1235
- package/dist/index73.js +323 -521
- package/dist/index74.js +839 -104
- package/dist/index75.js +9 -161
- package/dist/index76.js +67 -30
- package/dist/index77.js +22 -430
- package/dist/index78.js +6 -129
- package/dist/index79.js +48 -75
- package/dist/index8.js +17 -18
- package/dist/index80.js +42 -64
- package/dist/index81.js +50 -44
- package/dist/index82.js +32 -25
- package/dist/index83.js +10 -6
- package/dist/index84.js +7 -51
- package/dist/index85.js +5 -33
- package/dist/index86.js +24 -10
- package/dist/index87.js +68 -7
- package/dist/index88.js +55 -30
- package/dist/index89.js +10 -54
- package/dist/index9.js +23 -31
- package/dist/index90.js +4 -11
- package/dist/index91.js +30 -4
- package/dist/index92.js +1 -1
- package/dist/index93.js +180 -5
- package/dist/index94.js +14 -24
- package/dist/index95.js +643 -62
- package/dist/index96.js +5 -5
- package/dist/index97.js +128 -212
- package/dist/index98.js +2 -2
- package/dist/index99.js +13 -52
- package/dist/tokens/colors.d.ts +26 -86
- package/dist/tokens/colors.d.ts.map +1 -1
- package/dist/tokens/index.d.ts +12 -84
- package/dist/tokens/index.d.ts.map +1 -1
- package/package.json +26 -22
- package/dist/index141.js +0 -5
- package/dist/index142.js +0 -26
- package/dist/index143.js +0 -115
- package/dist/index144.js +0 -18
- package/dist/index145.js +0 -527
- package/dist/index146.js +0 -130
- package/dist/index147.js +0 -136
- package/dist/index148.js +0 -67
- package/dist/index149.js +0 -71
- package/dist/index150.js +0 -11
- package/dist/index151.js +0 -16
- package/dist/index152.js +0 -68
- package/dist/index153.js +0 -6
- package/dist/index154.js +0 -25
- package/dist/index155.js +0 -25
- package/dist/index156.js +0 -15
- package/dist/index157.js +0 -30
- package/dist/index158.js +0 -7
package/dist/index67.js
CHANGED
|
@@ -1,832 +1,132 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { composeEventHandlers as T } from "./index78.js";
|
|
3
|
+
import { useComposedRefs as P } from "./index77.js";
|
|
4
|
+
import { createContextScope as I } from "./index76.js";
|
|
5
|
+
import { useControllableState as M } from "./index81.js";
|
|
6
|
+
import { usePrevious as H } from "./index85.js";
|
|
7
|
+
import { useSize as j } from "./index86.js";
|
|
8
|
+
import { Primitive as y } from "./index82.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) => {
|
|
12
|
+
const {
|
|
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
|
|
28
|
+
});
|
|
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
|
+
] });
|
|
11
63
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"defined",
|
|
25
|
-
"disabled",
|
|
26
|
-
"empty",
|
|
27
|
-
"enabled",
|
|
28
|
-
"file-selector-button",
|
|
29
|
-
"first",
|
|
30
|
-
"first-child",
|
|
31
|
-
"first-letter",
|
|
32
|
-
"first-line",
|
|
33
|
-
"first-of-type",
|
|
34
|
-
"focus",
|
|
35
|
-
"focus-visible",
|
|
36
|
-
"focus-within",
|
|
37
|
-
"fullscreen",
|
|
38
|
-
"has",
|
|
39
|
-
"host",
|
|
40
|
-
"host-context",
|
|
41
|
-
"hover",
|
|
42
|
-
"in-range",
|
|
43
|
-
"indeterminate",
|
|
44
|
-
"invalid",
|
|
45
|
-
"is",
|
|
46
|
-
"lang",
|
|
47
|
-
"last-child",
|
|
48
|
-
"last-of-type",
|
|
49
|
-
"left",
|
|
50
|
-
"link",
|
|
51
|
-
"marker",
|
|
52
|
-
"modal",
|
|
53
|
-
"not",
|
|
54
|
-
"nth-child",
|
|
55
|
-
"nth-last-child",
|
|
56
|
-
"nth-last-of-type",
|
|
57
|
-
"nth-of-type",
|
|
58
|
-
"only-child",
|
|
59
|
-
"only-of-type",
|
|
60
|
-
"optional",
|
|
61
|
-
"out-of-range",
|
|
62
|
-
"part",
|
|
63
|
-
"placeholder",
|
|
64
|
-
"placeholder-shown",
|
|
65
|
-
"read-only",
|
|
66
|
-
"read-write",
|
|
67
|
-
"required",
|
|
68
|
-
"right",
|
|
69
|
-
"root",
|
|
70
|
-
"scope",
|
|
71
|
-
"selection",
|
|
72
|
-
"slotted",
|
|
73
|
-
"target",
|
|
74
|
-
"target-text",
|
|
75
|
-
"valid",
|
|
76
|
-
"visited",
|
|
77
|
-
"where"
|
|
78
|
-
].map((t) => ({ type: "class", label: t })), m = /* @__PURE__ */ [
|
|
79
|
-
"above",
|
|
80
|
-
"absolute",
|
|
81
|
-
"activeborder",
|
|
82
|
-
"additive",
|
|
83
|
-
"activecaption",
|
|
84
|
-
"after-white-space",
|
|
85
|
-
"ahead",
|
|
86
|
-
"alias",
|
|
87
|
-
"all",
|
|
88
|
-
"all-scroll",
|
|
89
|
-
"alphabetic",
|
|
90
|
-
"alternate",
|
|
91
|
-
"always",
|
|
92
|
-
"antialiased",
|
|
93
|
-
"appworkspace",
|
|
94
|
-
"asterisks",
|
|
95
|
-
"attr",
|
|
96
|
-
"auto",
|
|
97
|
-
"auto-flow",
|
|
98
|
-
"avoid",
|
|
99
|
-
"avoid-column",
|
|
100
|
-
"avoid-page",
|
|
101
|
-
"avoid-region",
|
|
102
|
-
"axis-pan",
|
|
103
|
-
"background",
|
|
104
|
-
"backwards",
|
|
105
|
-
"baseline",
|
|
106
|
-
"below",
|
|
107
|
-
"bidi-override",
|
|
108
|
-
"blink",
|
|
109
|
-
"block",
|
|
110
|
-
"block-axis",
|
|
111
|
-
"bold",
|
|
112
|
-
"bolder",
|
|
113
|
-
"border",
|
|
114
|
-
"border-box",
|
|
115
|
-
"both",
|
|
116
|
-
"bottom",
|
|
117
|
-
"break",
|
|
118
|
-
"break-all",
|
|
119
|
-
"break-word",
|
|
120
|
-
"bullets",
|
|
121
|
-
"button",
|
|
122
|
-
"button-bevel",
|
|
123
|
-
"buttonface",
|
|
124
|
-
"buttonhighlight",
|
|
125
|
-
"buttonshadow",
|
|
126
|
-
"buttontext",
|
|
127
|
-
"calc",
|
|
128
|
-
"capitalize",
|
|
129
|
-
"caps-lock-indicator",
|
|
130
|
-
"caption",
|
|
131
|
-
"captiontext",
|
|
132
|
-
"caret",
|
|
133
|
-
"cell",
|
|
134
|
-
"center",
|
|
135
|
-
"checkbox",
|
|
136
|
-
"circle",
|
|
137
|
-
"cjk-decimal",
|
|
138
|
-
"clear",
|
|
139
|
-
"clip",
|
|
140
|
-
"close-quote",
|
|
141
|
-
"col-resize",
|
|
142
|
-
"collapse",
|
|
143
|
-
"color",
|
|
144
|
-
"color-burn",
|
|
145
|
-
"color-dodge",
|
|
146
|
-
"column",
|
|
147
|
-
"column-reverse",
|
|
148
|
-
"compact",
|
|
149
|
-
"condensed",
|
|
150
|
-
"contain",
|
|
151
|
-
"content",
|
|
152
|
-
"contents",
|
|
153
|
-
"content-box",
|
|
154
|
-
"context-menu",
|
|
155
|
-
"continuous",
|
|
156
|
-
"copy",
|
|
157
|
-
"counter",
|
|
158
|
-
"counters",
|
|
159
|
-
"cover",
|
|
160
|
-
"crop",
|
|
161
|
-
"cross",
|
|
162
|
-
"crosshair",
|
|
163
|
-
"currentcolor",
|
|
164
|
-
"cursive",
|
|
165
|
-
"cyclic",
|
|
166
|
-
"darken",
|
|
167
|
-
"dashed",
|
|
168
|
-
"decimal",
|
|
169
|
-
"decimal-leading-zero",
|
|
170
|
-
"default",
|
|
171
|
-
"default-button",
|
|
172
|
-
"dense",
|
|
173
|
-
"destination-atop",
|
|
174
|
-
"destination-in",
|
|
175
|
-
"destination-out",
|
|
176
|
-
"destination-over",
|
|
177
|
-
"difference",
|
|
178
|
-
"disc",
|
|
179
|
-
"discard",
|
|
180
|
-
"disclosure-closed",
|
|
181
|
-
"disclosure-open",
|
|
182
|
-
"document",
|
|
183
|
-
"dot-dash",
|
|
184
|
-
"dot-dot-dash",
|
|
185
|
-
"dotted",
|
|
186
|
-
"double",
|
|
187
|
-
"down",
|
|
188
|
-
"e-resize",
|
|
189
|
-
"ease",
|
|
190
|
-
"ease-in",
|
|
191
|
-
"ease-in-out",
|
|
192
|
-
"ease-out",
|
|
193
|
-
"element",
|
|
194
|
-
"ellipse",
|
|
195
|
-
"ellipsis",
|
|
196
|
-
"embed",
|
|
197
|
-
"end",
|
|
198
|
-
"ethiopic-abegede-gez",
|
|
199
|
-
"ethiopic-halehame-aa-er",
|
|
200
|
-
"ethiopic-halehame-gez",
|
|
201
|
-
"ew-resize",
|
|
202
|
-
"exclusion",
|
|
203
|
-
"expanded",
|
|
204
|
-
"extends",
|
|
205
|
-
"extra-condensed",
|
|
206
|
-
"extra-expanded",
|
|
207
|
-
"fantasy",
|
|
208
|
-
"fast",
|
|
209
|
-
"fill",
|
|
210
|
-
"fill-box",
|
|
211
|
-
"fixed",
|
|
212
|
-
"flat",
|
|
213
|
-
"flex",
|
|
214
|
-
"flex-end",
|
|
215
|
-
"flex-start",
|
|
216
|
-
"footnotes",
|
|
217
|
-
"forwards",
|
|
218
|
-
"from",
|
|
219
|
-
"geometricPrecision",
|
|
220
|
-
"graytext",
|
|
221
|
-
"grid",
|
|
222
|
-
"groove",
|
|
223
|
-
"hand",
|
|
224
|
-
"hard-light",
|
|
225
|
-
"help",
|
|
226
|
-
"hidden",
|
|
227
|
-
"hide",
|
|
228
|
-
"higher",
|
|
229
|
-
"highlight",
|
|
230
|
-
"highlighttext",
|
|
231
|
-
"horizontal",
|
|
232
|
-
"hsl",
|
|
233
|
-
"hsla",
|
|
234
|
-
"hue",
|
|
235
|
-
"icon",
|
|
236
|
-
"ignore",
|
|
237
|
-
"inactiveborder",
|
|
238
|
-
"inactivecaption",
|
|
239
|
-
"inactivecaptiontext",
|
|
240
|
-
"infinite",
|
|
241
|
-
"infobackground",
|
|
242
|
-
"infotext",
|
|
243
|
-
"inherit",
|
|
244
|
-
"initial",
|
|
245
|
-
"inline",
|
|
246
|
-
"inline-axis",
|
|
247
|
-
"inline-block",
|
|
248
|
-
"inline-flex",
|
|
249
|
-
"inline-grid",
|
|
250
|
-
"inline-table",
|
|
251
|
-
"inset",
|
|
252
|
-
"inside",
|
|
253
|
-
"intrinsic",
|
|
254
|
-
"invert",
|
|
255
|
-
"italic",
|
|
256
|
-
"justify",
|
|
257
|
-
"keep-all",
|
|
258
|
-
"landscape",
|
|
259
|
-
"large",
|
|
260
|
-
"larger",
|
|
261
|
-
"left",
|
|
262
|
-
"level",
|
|
263
|
-
"lighter",
|
|
264
|
-
"lighten",
|
|
265
|
-
"line-through",
|
|
266
|
-
"linear",
|
|
267
|
-
"linear-gradient",
|
|
268
|
-
"lines",
|
|
269
|
-
"list-item",
|
|
270
|
-
"listbox",
|
|
271
|
-
"listitem",
|
|
272
|
-
"local",
|
|
273
|
-
"logical",
|
|
274
|
-
"loud",
|
|
275
|
-
"lower",
|
|
276
|
-
"lower-hexadecimal",
|
|
277
|
-
"lower-latin",
|
|
278
|
-
"lower-norwegian",
|
|
279
|
-
"lowercase",
|
|
280
|
-
"ltr",
|
|
281
|
-
"luminosity",
|
|
282
|
-
"manipulation",
|
|
283
|
-
"match",
|
|
284
|
-
"matrix",
|
|
285
|
-
"matrix3d",
|
|
286
|
-
"medium",
|
|
287
|
-
"menu",
|
|
288
|
-
"menutext",
|
|
289
|
-
"message-box",
|
|
290
|
-
"middle",
|
|
291
|
-
"min-intrinsic",
|
|
292
|
-
"mix",
|
|
293
|
-
"monospace",
|
|
294
|
-
"move",
|
|
295
|
-
"multiple",
|
|
296
|
-
"multiple_mask_images",
|
|
297
|
-
"multiply",
|
|
298
|
-
"n-resize",
|
|
299
|
-
"narrower",
|
|
300
|
-
"ne-resize",
|
|
301
|
-
"nesw-resize",
|
|
302
|
-
"no-close-quote",
|
|
303
|
-
"no-drop",
|
|
304
|
-
"no-open-quote",
|
|
305
|
-
"no-repeat",
|
|
306
|
-
"none",
|
|
307
|
-
"normal",
|
|
308
|
-
"not-allowed",
|
|
309
|
-
"nowrap",
|
|
310
|
-
"ns-resize",
|
|
311
|
-
"numbers",
|
|
312
|
-
"numeric",
|
|
313
|
-
"nw-resize",
|
|
314
|
-
"nwse-resize",
|
|
315
|
-
"oblique",
|
|
316
|
-
"opacity",
|
|
317
|
-
"open-quote",
|
|
318
|
-
"optimizeLegibility",
|
|
319
|
-
"optimizeSpeed",
|
|
320
|
-
"outset",
|
|
321
|
-
"outside",
|
|
322
|
-
"outside-shape",
|
|
323
|
-
"overlay",
|
|
324
|
-
"overline",
|
|
325
|
-
"padding",
|
|
326
|
-
"padding-box",
|
|
327
|
-
"painted",
|
|
328
|
-
"page",
|
|
329
|
-
"paused",
|
|
330
|
-
"perspective",
|
|
331
|
-
"pinch-zoom",
|
|
332
|
-
"plus-darker",
|
|
333
|
-
"plus-lighter",
|
|
334
|
-
"pointer",
|
|
335
|
-
"polygon",
|
|
336
|
-
"portrait",
|
|
337
|
-
"pre",
|
|
338
|
-
"pre-line",
|
|
339
|
-
"pre-wrap",
|
|
340
|
-
"preserve-3d",
|
|
341
|
-
"progress",
|
|
342
|
-
"push-button",
|
|
343
|
-
"radial-gradient",
|
|
344
|
-
"radio",
|
|
345
|
-
"read-only",
|
|
346
|
-
"read-write",
|
|
347
|
-
"read-write-plaintext-only",
|
|
348
|
-
"rectangle",
|
|
349
|
-
"region",
|
|
350
|
-
"relative",
|
|
351
|
-
"repeat",
|
|
352
|
-
"repeating-linear-gradient",
|
|
353
|
-
"repeating-radial-gradient",
|
|
354
|
-
"repeat-x",
|
|
355
|
-
"repeat-y",
|
|
356
|
-
"reset",
|
|
357
|
-
"reverse",
|
|
358
|
-
"rgb",
|
|
359
|
-
"rgba",
|
|
360
|
-
"ridge",
|
|
361
|
-
"right",
|
|
362
|
-
"rotate",
|
|
363
|
-
"rotate3d",
|
|
364
|
-
"rotateX",
|
|
365
|
-
"rotateY",
|
|
366
|
-
"rotateZ",
|
|
367
|
-
"round",
|
|
368
|
-
"row",
|
|
369
|
-
"row-resize",
|
|
370
|
-
"row-reverse",
|
|
371
|
-
"rtl",
|
|
372
|
-
"run-in",
|
|
373
|
-
"running",
|
|
374
|
-
"s-resize",
|
|
375
|
-
"sans-serif",
|
|
376
|
-
"saturation",
|
|
377
|
-
"scale",
|
|
378
|
-
"scale3d",
|
|
379
|
-
"scaleX",
|
|
380
|
-
"scaleY",
|
|
381
|
-
"scaleZ",
|
|
382
|
-
"screen",
|
|
383
|
-
"scroll",
|
|
384
|
-
"scrollbar",
|
|
385
|
-
"scroll-position",
|
|
386
|
-
"se-resize",
|
|
387
|
-
"self-start",
|
|
388
|
-
"self-end",
|
|
389
|
-
"semi-condensed",
|
|
390
|
-
"semi-expanded",
|
|
391
|
-
"separate",
|
|
392
|
-
"serif",
|
|
393
|
-
"show",
|
|
394
|
-
"single",
|
|
395
|
-
"skew",
|
|
396
|
-
"skewX",
|
|
397
|
-
"skewY",
|
|
398
|
-
"skip-white-space",
|
|
399
|
-
"slide",
|
|
400
|
-
"slider-horizontal",
|
|
401
|
-
"slider-vertical",
|
|
402
|
-
"sliderthumb-horizontal",
|
|
403
|
-
"sliderthumb-vertical",
|
|
404
|
-
"slow",
|
|
405
|
-
"small",
|
|
406
|
-
"small-caps",
|
|
407
|
-
"small-caption",
|
|
408
|
-
"smaller",
|
|
409
|
-
"soft-light",
|
|
410
|
-
"solid",
|
|
411
|
-
"source-atop",
|
|
412
|
-
"source-in",
|
|
413
|
-
"source-out",
|
|
414
|
-
"source-over",
|
|
415
|
-
"space",
|
|
416
|
-
"space-around",
|
|
417
|
-
"space-between",
|
|
418
|
-
"space-evenly",
|
|
419
|
-
"spell-out",
|
|
420
|
-
"square",
|
|
421
|
-
"start",
|
|
422
|
-
"static",
|
|
423
|
-
"status-bar",
|
|
424
|
-
"stretch",
|
|
425
|
-
"stroke",
|
|
426
|
-
"stroke-box",
|
|
427
|
-
"sub",
|
|
428
|
-
"subpixel-antialiased",
|
|
429
|
-
"svg_masks",
|
|
430
|
-
"super",
|
|
431
|
-
"sw-resize",
|
|
432
|
-
"symbolic",
|
|
433
|
-
"symbols",
|
|
434
|
-
"system-ui",
|
|
435
|
-
"table",
|
|
436
|
-
"table-caption",
|
|
437
|
-
"table-cell",
|
|
438
|
-
"table-column",
|
|
439
|
-
"table-column-group",
|
|
440
|
-
"table-footer-group",
|
|
441
|
-
"table-header-group",
|
|
442
|
-
"table-row",
|
|
443
|
-
"table-row-group",
|
|
444
|
-
"text",
|
|
445
|
-
"text-bottom",
|
|
446
|
-
"text-top",
|
|
447
|
-
"textarea",
|
|
448
|
-
"textfield",
|
|
449
|
-
"thick",
|
|
450
|
-
"thin",
|
|
451
|
-
"threeddarkshadow",
|
|
452
|
-
"threedface",
|
|
453
|
-
"threedhighlight",
|
|
454
|
-
"threedlightshadow",
|
|
455
|
-
"threedshadow",
|
|
456
|
-
"to",
|
|
457
|
-
"top",
|
|
458
|
-
"transform",
|
|
459
|
-
"translate",
|
|
460
|
-
"translate3d",
|
|
461
|
-
"translateX",
|
|
462
|
-
"translateY",
|
|
463
|
-
"translateZ",
|
|
464
|
-
"transparent",
|
|
465
|
-
"ultra-condensed",
|
|
466
|
-
"ultra-expanded",
|
|
467
|
-
"underline",
|
|
468
|
-
"unidirectional-pan",
|
|
469
|
-
"unset",
|
|
470
|
-
"up",
|
|
471
|
-
"upper-latin",
|
|
472
|
-
"uppercase",
|
|
473
|
-
"url",
|
|
474
|
-
"var",
|
|
475
|
-
"vertical",
|
|
476
|
-
"vertical-text",
|
|
477
|
-
"view-box",
|
|
478
|
-
"visible",
|
|
479
|
-
"visibleFill",
|
|
480
|
-
"visiblePainted",
|
|
481
|
-
"visibleStroke",
|
|
482
|
-
"visual",
|
|
483
|
-
"w-resize",
|
|
484
|
-
"wait",
|
|
485
|
-
"wave",
|
|
486
|
-
"wider",
|
|
487
|
-
"window",
|
|
488
|
-
"windowframe",
|
|
489
|
-
"windowtext",
|
|
490
|
-
"words",
|
|
491
|
-
"wrap",
|
|
492
|
-
"wrap-reverse",
|
|
493
|
-
"x-large",
|
|
494
|
-
"x-small",
|
|
495
|
-
"xor",
|
|
496
|
-
"xx-large",
|
|
497
|
-
"xx-small"
|
|
498
|
-
].map((t) => ({ type: "keyword", label: t })).concat(/* @__PURE__ */ [
|
|
499
|
-
"aliceblue",
|
|
500
|
-
"antiquewhite",
|
|
501
|
-
"aqua",
|
|
502
|
-
"aquamarine",
|
|
503
|
-
"azure",
|
|
504
|
-
"beige",
|
|
505
|
-
"bisque",
|
|
506
|
-
"black",
|
|
507
|
-
"blanchedalmond",
|
|
508
|
-
"blue",
|
|
509
|
-
"blueviolet",
|
|
510
|
-
"brown",
|
|
511
|
-
"burlywood",
|
|
512
|
-
"cadetblue",
|
|
513
|
-
"chartreuse",
|
|
514
|
-
"chocolate",
|
|
515
|
-
"coral",
|
|
516
|
-
"cornflowerblue",
|
|
517
|
-
"cornsilk",
|
|
518
|
-
"crimson",
|
|
519
|
-
"cyan",
|
|
520
|
-
"darkblue",
|
|
521
|
-
"darkcyan",
|
|
522
|
-
"darkgoldenrod",
|
|
523
|
-
"darkgray",
|
|
524
|
-
"darkgreen",
|
|
525
|
-
"darkkhaki",
|
|
526
|
-
"darkmagenta",
|
|
527
|
-
"darkolivegreen",
|
|
528
|
-
"darkorange",
|
|
529
|
-
"darkorchid",
|
|
530
|
-
"darkred",
|
|
531
|
-
"darksalmon",
|
|
532
|
-
"darkseagreen",
|
|
533
|
-
"darkslateblue",
|
|
534
|
-
"darkslategray",
|
|
535
|
-
"darkturquoise",
|
|
536
|
-
"darkviolet",
|
|
537
|
-
"deeppink",
|
|
538
|
-
"deepskyblue",
|
|
539
|
-
"dimgray",
|
|
540
|
-
"dodgerblue",
|
|
541
|
-
"firebrick",
|
|
542
|
-
"floralwhite",
|
|
543
|
-
"forestgreen",
|
|
544
|
-
"fuchsia",
|
|
545
|
-
"gainsboro",
|
|
546
|
-
"ghostwhite",
|
|
547
|
-
"gold",
|
|
548
|
-
"goldenrod",
|
|
549
|
-
"gray",
|
|
550
|
-
"grey",
|
|
551
|
-
"green",
|
|
552
|
-
"greenyellow",
|
|
553
|
-
"honeydew",
|
|
554
|
-
"hotpink",
|
|
555
|
-
"indianred",
|
|
556
|
-
"indigo",
|
|
557
|
-
"ivory",
|
|
558
|
-
"khaki",
|
|
559
|
-
"lavender",
|
|
560
|
-
"lavenderblush",
|
|
561
|
-
"lawngreen",
|
|
562
|
-
"lemonchiffon",
|
|
563
|
-
"lightblue",
|
|
564
|
-
"lightcoral",
|
|
565
|
-
"lightcyan",
|
|
566
|
-
"lightgoldenrodyellow",
|
|
567
|
-
"lightgray",
|
|
568
|
-
"lightgreen",
|
|
569
|
-
"lightpink",
|
|
570
|
-
"lightsalmon",
|
|
571
|
-
"lightseagreen",
|
|
572
|
-
"lightskyblue",
|
|
573
|
-
"lightslategray",
|
|
574
|
-
"lightsteelblue",
|
|
575
|
-
"lightyellow",
|
|
576
|
-
"lime",
|
|
577
|
-
"limegreen",
|
|
578
|
-
"linen",
|
|
579
|
-
"magenta",
|
|
580
|
-
"maroon",
|
|
581
|
-
"mediumaquamarine",
|
|
582
|
-
"mediumblue",
|
|
583
|
-
"mediumorchid",
|
|
584
|
-
"mediumpurple",
|
|
585
|
-
"mediumseagreen",
|
|
586
|
-
"mediumslateblue",
|
|
587
|
-
"mediumspringgreen",
|
|
588
|
-
"mediumturquoise",
|
|
589
|
-
"mediumvioletred",
|
|
590
|
-
"midnightblue",
|
|
591
|
-
"mintcream",
|
|
592
|
-
"mistyrose",
|
|
593
|
-
"moccasin",
|
|
594
|
-
"navajowhite",
|
|
595
|
-
"navy",
|
|
596
|
-
"oldlace",
|
|
597
|
-
"olive",
|
|
598
|
-
"olivedrab",
|
|
599
|
-
"orange",
|
|
600
|
-
"orangered",
|
|
601
|
-
"orchid",
|
|
602
|
-
"palegoldenrod",
|
|
603
|
-
"palegreen",
|
|
604
|
-
"paleturquoise",
|
|
605
|
-
"palevioletred",
|
|
606
|
-
"papayawhip",
|
|
607
|
-
"peachpuff",
|
|
608
|
-
"peru",
|
|
609
|
-
"pink",
|
|
610
|
-
"plum",
|
|
611
|
-
"powderblue",
|
|
612
|
-
"purple",
|
|
613
|
-
"rebeccapurple",
|
|
614
|
-
"red",
|
|
615
|
-
"rosybrown",
|
|
616
|
-
"royalblue",
|
|
617
|
-
"saddlebrown",
|
|
618
|
-
"salmon",
|
|
619
|
-
"sandybrown",
|
|
620
|
-
"seagreen",
|
|
621
|
-
"seashell",
|
|
622
|
-
"sienna",
|
|
623
|
-
"silver",
|
|
624
|
-
"skyblue",
|
|
625
|
-
"slateblue",
|
|
626
|
-
"slategray",
|
|
627
|
-
"snow",
|
|
628
|
-
"springgreen",
|
|
629
|
-
"steelblue",
|
|
630
|
-
"tan",
|
|
631
|
-
"teal",
|
|
632
|
-
"thistle",
|
|
633
|
-
"tomato",
|
|
634
|
-
"turquoise",
|
|
635
|
-
"violet",
|
|
636
|
-
"wheat",
|
|
637
|
-
"white",
|
|
638
|
-
"whitesmoke",
|
|
639
|
-
"yellow",
|
|
640
|
-
"yellowgreen"
|
|
641
|
-
].map((t) => ({ type: "constant", label: t }))), F = /* @__PURE__ */ [
|
|
642
|
-
"a",
|
|
643
|
-
"abbr",
|
|
644
|
-
"address",
|
|
645
|
-
"article",
|
|
646
|
-
"aside",
|
|
647
|
-
"b",
|
|
648
|
-
"bdi",
|
|
649
|
-
"bdo",
|
|
650
|
-
"blockquote",
|
|
651
|
-
"body",
|
|
652
|
-
"br",
|
|
653
|
-
"button",
|
|
654
|
-
"canvas",
|
|
655
|
-
"caption",
|
|
656
|
-
"cite",
|
|
657
|
-
"code",
|
|
658
|
-
"col",
|
|
659
|
-
"colgroup",
|
|
660
|
-
"dd",
|
|
661
|
-
"del",
|
|
662
|
-
"details",
|
|
663
|
-
"dfn",
|
|
664
|
-
"dialog",
|
|
665
|
-
"div",
|
|
666
|
-
"dl",
|
|
667
|
-
"dt",
|
|
668
|
-
"em",
|
|
669
|
-
"figcaption",
|
|
670
|
-
"figure",
|
|
671
|
-
"footer",
|
|
672
|
-
"form",
|
|
673
|
-
"header",
|
|
674
|
-
"hgroup",
|
|
675
|
-
"h1",
|
|
676
|
-
"h2",
|
|
677
|
-
"h3",
|
|
678
|
-
"h4",
|
|
679
|
-
"h5",
|
|
680
|
-
"h6",
|
|
681
|
-
"hr",
|
|
682
|
-
"html",
|
|
683
|
-
"i",
|
|
684
|
-
"iframe",
|
|
685
|
-
"img",
|
|
686
|
-
"input",
|
|
687
|
-
"ins",
|
|
688
|
-
"kbd",
|
|
689
|
-
"label",
|
|
690
|
-
"legend",
|
|
691
|
-
"li",
|
|
692
|
-
"main",
|
|
693
|
-
"meter",
|
|
694
|
-
"nav",
|
|
695
|
-
"ol",
|
|
696
|
-
"output",
|
|
697
|
-
"p",
|
|
698
|
-
"pre",
|
|
699
|
-
"ruby",
|
|
700
|
-
"section",
|
|
701
|
-
"select",
|
|
702
|
-
"small",
|
|
703
|
-
"source",
|
|
704
|
-
"span",
|
|
705
|
-
"strong",
|
|
706
|
-
"sub",
|
|
707
|
-
"summary",
|
|
708
|
-
"sup",
|
|
709
|
-
"table",
|
|
710
|
-
"tbody",
|
|
711
|
-
"td",
|
|
712
|
-
"template",
|
|
713
|
-
"textarea",
|
|
714
|
-
"tfoot",
|
|
715
|
-
"th",
|
|
716
|
-
"thead",
|
|
717
|
-
"tr",
|
|
718
|
-
"u",
|
|
719
|
-
"ul"
|
|
720
|
-
].map((t) => ({ type: "type", label: t })), N = /* @__PURE__ */ [
|
|
721
|
-
"@charset",
|
|
722
|
-
"@color-profile",
|
|
723
|
-
"@container",
|
|
724
|
-
"@counter-style",
|
|
725
|
-
"@font-face",
|
|
726
|
-
"@font-feature-values",
|
|
727
|
-
"@font-palette-values",
|
|
728
|
-
"@import",
|
|
729
|
-
"@keyframes",
|
|
730
|
-
"@layer",
|
|
731
|
-
"@media",
|
|
732
|
-
"@namespace",
|
|
733
|
-
"@page",
|
|
734
|
-
"@position-try",
|
|
735
|
-
"@property",
|
|
736
|
-
"@scope",
|
|
737
|
-
"@starting-style",
|
|
738
|
-
"@supports",
|
|
739
|
-
"@view-transition"
|
|
740
|
-
].map((t) => ({ type: "keyword", label: t })), s = /^(\w[\w-]*|-\w[\w-]*|)$/, L = /^-(-[\w-]*)?$/;
|
|
741
|
-
function A(t, a) {
|
|
742
|
-
var o;
|
|
743
|
-
if ((t.name == "(" || t.type.isError) && (t = t.parent || t), t.name != "ArgList")
|
|
744
|
-
return !1;
|
|
745
|
-
let r = (o = t.parent) === null || o === void 0 ? void 0 : o.firstChild;
|
|
746
|
-
return (r == null ? void 0 : r.name) != "Callee" ? !1 : a.sliceString(r.from, r.to) == "var";
|
|
747
|
-
}
|
|
748
|
-
const f = /* @__PURE__ */ new q(), P = ["Declaration"];
|
|
749
|
-
function T(t) {
|
|
750
|
-
for (let a = t; ; ) {
|
|
751
|
-
if (a.type.isTop)
|
|
752
|
-
return a;
|
|
753
|
-
if (!(a = a.parent))
|
|
754
|
-
return t;
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
function h(t, a, o) {
|
|
758
|
-
if (a.to - a.from > 4096) {
|
|
759
|
-
let r = f.get(a);
|
|
760
|
-
if (r)
|
|
761
|
-
return r;
|
|
762
|
-
let e = [], l = /* @__PURE__ */ new Set(), i = a.cursor(C.IncludeAnonymous);
|
|
763
|
-
if (i.firstChild())
|
|
764
|
-
do
|
|
765
|
-
for (let n of h(t, i.node, o))
|
|
766
|
-
l.has(n.label) || (l.add(n.label), e.push(n));
|
|
767
|
-
while (i.nextSibling());
|
|
768
|
-
return f.set(a, e), e;
|
|
769
|
-
} else {
|
|
770
|
-
let r = [], e = /* @__PURE__ */ new Set();
|
|
771
|
-
return a.cursor().iterate((l) => {
|
|
772
|
-
var i;
|
|
773
|
-
if (o(l) && l.matchContext(P) && ((i = l.node.nextSibling) === null || i === void 0 ? void 0 : i.name) == ":") {
|
|
774
|
-
let n = t.sliceString(l.from, l.to);
|
|
775
|
-
e.has(n) || (e.add(n), r.push({ label: n, type: "variable" }));
|
|
64
|
+
);
|
|
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,
|
|
71
|
+
{
|
|
72
|
+
"data-state": g(o.checked),
|
|
73
|
+
"data-disabled": o.disabled ? "" : void 0,
|
|
74
|
+
...c,
|
|
75
|
+
ref: a
|
|
776
76
|
}
|
|
777
|
-
|
|
77
|
+
);
|
|
778
78
|
}
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
indentOnInput: /^\s*\}$/,
|
|
821
|
-
wordChars: "-"
|
|
79
|
+
);
|
|
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);
|
|
100
|
+
}
|
|
101
|
+
}, [p, e, c]), /* @__PURE__ */ m(
|
|
102
|
+
"input",
|
|
103
|
+
{
|
|
104
|
+
type: "checkbox",
|
|
105
|
+
"aria-hidden": !0,
|
|
106
|
+
defaultChecked: e,
|
|
107
|
+
...o,
|
|
108
|
+
tabIndex: -1,
|
|
109
|
+
ref: n,
|
|
110
|
+
style: {
|
|
111
|
+
...o.style,
|
|
112
|
+
...w,
|
|
113
|
+
position: "absolute",
|
|
114
|
+
pointerEvents: "none",
|
|
115
|
+
opacity: 0,
|
|
116
|
+
margin: 0
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
);
|
|
822
120
|
}
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
121
|
+
);
|
|
122
|
+
x.displayName = L;
|
|
123
|
+
function g(t) {
|
|
124
|
+
return t ? "checked" : "unchecked";
|
|
826
125
|
}
|
|
126
|
+
var Q = R, V = _;
|
|
827
127
|
export {
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
128
|
+
Q as Root,
|
|
129
|
+
R as Switch,
|
|
130
|
+
_ as SwitchThumb,
|
|
131
|
+
V as Thumb
|
|
832
132
|
};
|