@drjoshcsimmons/scl 0.2.8 → 0.3.3
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.map +1 -1
- package/dist/components/ui/alert/alert.d.ts +5 -4
- package/dist/components/ui/alert/alert.d.ts.map +1 -1
- package/dist/components/ui/alert/index.d.ts +1 -1
- package/dist/components/ui/alert/index.d.ts.map +1 -1
- package/dist/components/ui/avatar/avatar.d.ts.map +1 -1
- package/dist/components/ui/badge/badge.d.ts +4 -6
- package/dist/components/ui/badge/badge.d.ts.map +1 -1
- package/dist/components/ui/badge/index.d.ts +1 -1
- package/dist/components/ui/badge/index.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts +6 -7
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/button/index.d.ts.map +1 -1
- package/dist/components/ui/card/card.d.ts.map +1 -1
- package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/ui/collapsible/collapsible.d.ts.map +1 -1
- package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
- package/dist/components/ui/input/input.d.ts.map +1 -1
- package/dist/components/ui/label/label.d.ts +1 -2
- package/dist/components/ui/label/label.d.ts.map +1 -1
- package/dist/components/ui/popover/popover.d.ts.map +1 -1
- package/dist/components/ui/progress/progress.d.ts +0 -3
- package/dist/components/ui/progress/progress.d.ts.map +1 -1
- package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/select/select.d.ts.map +1 -1
- package/dist/components/ui/separator/separator.d.ts.map +1 -1
- package/dist/components/ui/skeleton/skeleton.d.ts +1 -0
- package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/ui/slider/slider.d.ts.map +1 -1
- package/dist/components/ui/switch/switch.d.ts.map +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/tabs/tabs.d.ts.map +1 -1
- package/dist/components/ui/textarea/textarea.d.ts.map +1 -1
- package/dist/components/ui/toggle/index.d.ts +1 -1
- package/dist/components/ui/toggle/index.d.ts.map +1 -1
- package/dist/components/ui/toggle/toggle.d.ts +6 -10
- package/dist/components/ui/toggle/toggle.d.ts.map +1 -1
- package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
- package/dist/globals.css +223 -287
- 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 +2 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -185
- package/dist/index10.js +28 -51
- package/dist/index100.js +14 -30
- package/dist/index101.js +47 -12
- package/dist/index102.js +50 -6
- package/dist/index103.js +9 -25
- package/dist/index104.js +30 -9
- package/dist/index105.js +9 -9
- package/dist/index106.js +8 -3
- package/dist/index107.js +30 -30
- package/dist/index108.js +54 -8
- package/dist/index109.js +30 -30
- package/dist/index11.js +26 -16
- package/dist/index110.js +44 -51
- package/dist/index111.js +47 -29
- package/dist/index112.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index114.js +6 -48
- package/dist/index115.js +1 -1
- package/dist/index117.js +1 -1
- package/dist/index118.js +3 -3
- package/dist/index119.js +2 -48
- package/dist/index12.js +6 -5
- package/dist/index120.js +53 -6
- package/dist/index121.js +62 -18
- package/dist/index122.js +25 -9
- package/dist/index123.js +29 -38
- package/dist/index124.js +5 -18
- package/dist/index125.js +2 -25
- package/dist/index126.js +2 -29
- package/dist/index127.js +5 -5
- package/dist/index128.js +3 -2
- package/dist/index129.js +22 -51
- package/dist/index13.js +77 -134
- package/dist/index130.js +108 -60
- package/dist/index131.js +16 -2
- package/dist/index132.js +525 -2
- package/dist/index133.js +128 -5
- package/dist/index134.js +134 -3
- package/dist/index135.js +63 -22
- package/dist/index136.js +66 -110
- package/dist/index137.js +8 -15
- package/dist/index138.js +11 -522
- package/dist/index139.js +65 -127
- package/dist/index14.js +13 -97
- package/dist/index140.js +3 -133
- package/dist/index141.js +19 -61
- package/dist/index142.js +22 -68
- package/dist/index143.js +11 -7
- package/dist/index144.js +28 -14
- package/dist/index145.js +4 -65
- package/dist/index15.js +12 -71
- package/dist/index16.js +19 -254
- package/dist/index17.js +32 -138
- package/dist/index18.js +25 -89
- package/dist/index19.js +37 -18
- package/dist/index2.js +5 -5
- package/dist/index20.js +139 -10
- package/dist/index21.js +18 -19
- package/dist/index22.js +13 -35
- package/dist/index23.js +24 -22
- package/dist/index24.js +13 -34
- package/dist/index25.js +31 -114
- package/dist/index26.js +32 -16
- package/dist/index27.js +14 -74
- package/dist/index28.js +15 -12
- package/dist/index29.js +24 -29
- package/dist/index3.js +10 -22
- package/dist/index30.js +97 -108
- package/dist/index31.js +39 -25
- package/dist/index32.js +11 -65
- package/dist/index33.js +49 -44
- package/dist/index34.js +65 -85
- package/dist/index35.js +234 -15
- package/dist/index38.js +71 -98
- package/dist/index4.js +22 -37
- package/dist/index43.js +58 -13
- package/dist/index45.js +219 -207
- package/dist/index48.js +530 -9
- package/dist/index5.js +51 -34
- package/dist/index50.js +18 -11
- package/dist/index52.js +229 -298
- package/dist/index54.js +218 -100
- package/dist/index57.js +115 -245
- package/dist/index59.js +22 -12
- package/dist/index6.js +21 -75
- package/dist/index61.js +325 -119
- package/dist/index63.js +74 -117
- package/dist/index65.js +409 -210
- package/dist/index67.js +234 -311
- package/dist/index69.js +112 -16
- package/dist/index7.js +22 -27
- package/dist/index71.js +146 -67
- package/dist/index73.js +30 -434
- package/dist/index76.js +854 -62
- package/dist/index78.js +64 -23
- package/dist/index79.js +44 -5
- package/dist/index8.js +6 -27
- package/dist/index80.js +24 -49
- package/dist/index81.js +6 -33
- package/dist/index82.js +51 -10
- package/dist/index83.js +33 -7
- package/dist/index84.js +10 -124
- package/dist/index85.js +7 -14
- package/dist/index86.js +50 -130
- package/dist/index87.js +10 -218
- package/dist/index88.js +4 -14
- package/dist/index89.js +29 -68
- package/dist/index9.js +19 -34
- package/dist/index90.js +12 -47
- package/dist/index91.js +6 -50
- package/dist/index92.js +25 -9
- package/dist/index93.js +68 -3
- package/dist/index94.js +3 -649
- package/dist/index95.js +30 -15
- package/dist/index96.js +124 -29
- package/dist/index97.js +13 -46
- package/dist/index98.js +130 -50
- package/dist/index99.js +218 -10
- package/dist/lib/utils.d.ts +8 -8
- package/dist/lib/utils.d.ts.map +1 -1
- package/package.json +5 -46
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +0 -21
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog/index.d.ts +0 -2
- package/dist/components/ui/alert-dialog/index.d.ts.map +0 -1
- package/dist/components/ui/combobox/combobox.d.ts +0 -31
- package/dist/components/ui/combobox/combobox.d.ts.map +0 -1
- package/dist/components/ui/combobox/index.d.ts +0 -3
- package/dist/components/ui/combobox/index.d.ts.map +0 -1
- package/dist/components/ui/command/command.d.ts +0 -85
- package/dist/components/ui/command/command.d.ts.map +0 -1
- package/dist/components/ui/command/index.d.ts +0 -2
- package/dist/components/ui/command/index.d.ts.map +0 -1
- package/dist/components/ui/dithered-image/dithered-image.d.ts +0 -21
- package/dist/components/ui/dithered-image/dithered-image.d.ts.map +0 -1
- package/dist/components/ui/dithered-image/index.d.ts +0 -3
- package/dist/components/ui/dithered-image/index.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -28
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -2
- package/dist/components/ui/dropdown-menu/index.d.ts.map +0 -1
- package/dist/components/ui/form/form.d.ts +0 -24
- package/dist/components/ui/form/form.d.ts.map +0 -1
- package/dist/components/ui/form/index.d.ts +0 -2
- package/dist/components/ui/form/index.d.ts.map +0 -1
- package/dist/components/ui/sheet/index.d.ts +0 -2
- package/dist/components/ui/sheet/index.d.ts.map +0 -1
- package/dist/components/ui/sheet/sheet.d.ts +0 -26
- package/dist/components/ui/sheet/sheet.d.ts.map +0 -1
- package/dist/components/ui/statusline/index.d.ts +0 -2
- package/dist/components/ui/statusline/index.d.ts.map +0 -1
- package/dist/components/ui/statusline/statusline.d.ts +0 -40
- package/dist/components/ui/statusline/statusline.d.ts.map +0 -1
- package/dist/components/ui/terminal-textarea/index.d.ts +0 -2
- package/dist/components/ui/terminal-textarea/index.d.ts.map +0 -1
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts +0 -16
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +0 -1
- package/dist/index146.js +0 -6
- package/dist/index147.js +0 -25
- package/dist/index148.js +0 -25
- package/dist/index149.js +0 -15
- package/dist/index150.js +0 -30
- package/dist/index151.js +0 -7
- package/dist/index36.js +0 -37
- package/dist/index37.js +0 -28
- package/dist/index39.js +0 -41
- package/dist/index40.js +0 -13
- package/dist/index41.js +0 -51
- package/dist/index42.js +0 -68
- package/dist/index44.js +0 -2265
- package/dist/index46.js +0 -13
- package/dist/index47.js +0 -227
- package/dist/index49.js +0 -13
- package/dist/index51.js +0 -243
- package/dist/index53.js +0 -14
- package/dist/index55.js +0 -20
- package/dist/index56.js +0 -35
- package/dist/index58.js +0 -14
- package/dist/index60.js +0 -75
- package/dist/index62.js +0 -62
- package/dist/index64.js +0 -256
- package/dist/index66.js +0 -532
- package/dist/index68.js +0 -251
- package/dist/index70.js +0 -163
- package/dist/index72.js +0 -33
- package/dist/index74.js +0 -862
- package/dist/index75.js +0 -11
- package/dist/index77.js +0 -48
package/dist/index.js
CHANGED
|
@@ -1,188 +1,121 @@
|
|
|
1
|
-
import { cn as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { Avatar as
|
|
7
|
-
import { Badge as
|
|
8
|
-
import { Button as
|
|
9
|
-
import { Card as
|
|
10
|
-
import { Checkbox as
|
|
11
|
-
import { Collapsible as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { Textarea as lr } from "./index35.js";
|
|
35
|
-
import { Toggle as pr, toggleVariants as ir } from "./index36.js";
|
|
36
|
-
import { Tooltip as gr, TooltipContent as dr, TooltipProvider as xr, TooltipTrigger as Dr } from "./index37.js";
|
|
37
|
-
import { animations as cr } from "./index38.js";
|
|
38
|
-
import { colors as ur, palette as Sr } from "./index39.js";
|
|
39
|
-
import { shadows as br } from "./index40.js";
|
|
40
|
-
import { borderRadius as Ar, spacing as hr } from "./index41.js";
|
|
41
|
-
import { typography as Mr } from "./index42.js";
|
|
1
|
+
import { cn as e, cx as t } from "./index2.js";
|
|
2
|
+
import { useFontLoaded as a } from "./index3.js";
|
|
3
|
+
import { theme as i } from "./index4.js";
|
|
4
|
+
import { Accordion as n, AccordionContent as x, AccordionItem as c, AccordionTrigger as f } from "./index5.js";
|
|
5
|
+
import { Alert as T, AlertDescription as d, AlertTitle as s } from "./index6.js";
|
|
6
|
+
import { Avatar as b, AvatarFallback as S, AvatarImage as D } from "./index7.js";
|
|
7
|
+
import { Badge as u } from "./index8.js";
|
|
8
|
+
import { Button as P } from "./index9.js";
|
|
9
|
+
import { Card as B, CardContent as F, CardDescription as I, CardFooter as w, CardHeader as y, CardTitle as H } from "./index10.js";
|
|
10
|
+
import { Checkbox as R } from "./index11.js";
|
|
11
|
+
import { Collapsible as G, CollapsibleContent as O, CollapsibleTrigger as U } from "./index12.js";
|
|
12
|
+
import { Dialog as j, DialogClose as q, DialogContent as z, DialogDescription as E, DialogFooter as J, DialogHeader as K, DialogOverlay as M, DialogPortal as N, DialogTitle as Q, DialogTrigger as W } from "./index13.js";
|
|
13
|
+
import { Input as Y } from "./index14.js";
|
|
14
|
+
import { Label as _ } from "./index15.js";
|
|
15
|
+
import { Popover as oo, PopoverAnchor as ro, PopoverContent as eo, PopoverTrigger as to } from "./index16.js";
|
|
16
|
+
import { Progress as ao } from "./index17.js";
|
|
17
|
+
import { RadioGroup as io, RadioGroupItem as mo } from "./index18.js";
|
|
18
|
+
import { ScrollArea as xo, ScrollBar as co } from "./index19.js";
|
|
19
|
+
import { Select as go, SelectContent as To, SelectGroup as so, SelectItem as Co, SelectLabel as bo, SelectScrollDownButton as So, SelectScrollUpButton as Do, SelectSeparator as Ao, SelectTrigger as uo, SelectValue as vo } from "./index20.js";
|
|
20
|
+
import { Separator as ho } from "./index21.js";
|
|
21
|
+
import { Skeleton as Fo } from "./index22.js";
|
|
22
|
+
import { Slider as wo } from "./index23.js";
|
|
23
|
+
import { Switch as Ho } from "./index24.js";
|
|
24
|
+
import { Table as Ro, TableBody as ko, TableCaption as Go, TableCell as Oo, TableFooter as Uo, TableHead as Vo, TableHeader as jo, TableRow as qo } from "./index25.js";
|
|
25
|
+
import { Tabs as Eo, TabsContent as Jo, TabsList as Ko, TabsTrigger as Mo } from "./index26.js";
|
|
26
|
+
import { Textarea as Qo } from "./index27.js";
|
|
27
|
+
import { Toggle as Xo } from "./index28.js";
|
|
28
|
+
import { Tooltip as Zo, TooltipContent as _o, TooltipProvider as $o, TooltipTrigger as or } from "./index29.js";
|
|
29
|
+
import { animations as er } from "./index30.js";
|
|
30
|
+
import { colors as lr, palette as ar } from "./index31.js";
|
|
31
|
+
import { shadows as ir } from "./index32.js";
|
|
32
|
+
import { borderRadius as nr, spacing as xr } from "./index33.js";
|
|
33
|
+
import { typography as fr } from "./index34.js";
|
|
42
34
|
export {
|
|
43
35
|
n as Accordion,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
w as
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
E as
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
uo as
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
ie as ScrollArea,
|
|
130
|
-
me as ScrollBar,
|
|
131
|
-
de as Select,
|
|
132
|
-
xe as SelectContent,
|
|
133
|
-
De as SelectGroup,
|
|
134
|
-
fe as SelectItem,
|
|
135
|
-
ce as SelectLabel,
|
|
136
|
-
Ce as SelectScrollDownButton,
|
|
137
|
-
ue as SelectScrollUpButton,
|
|
138
|
-
Se as SelectSeparator,
|
|
139
|
-
Te as SelectTrigger,
|
|
140
|
-
be as SelectValue,
|
|
141
|
-
Ae as Separator,
|
|
142
|
-
we as Sheet,
|
|
143
|
-
Me as SheetClose,
|
|
144
|
-
Fe as SheetContent,
|
|
145
|
-
Ie as SheetDescription,
|
|
146
|
-
ve as SheetFooter,
|
|
147
|
-
Pe as SheetHeader,
|
|
148
|
-
ye as SheetOverlay,
|
|
149
|
-
Be as SheetPortal,
|
|
150
|
-
Ge as SheetTitle,
|
|
151
|
-
He as SheetTrigger,
|
|
152
|
-
Re as Skeleton,
|
|
153
|
-
Ve as Slider,
|
|
154
|
-
Ee as Statusline,
|
|
155
|
-
je as Switch,
|
|
156
|
-
ze as Table,
|
|
157
|
-
Je as TableBody,
|
|
158
|
-
Ke as TableCaption,
|
|
159
|
-
Ne as TableCell,
|
|
160
|
-
Qe as TableFooter,
|
|
161
|
-
We as TableHead,
|
|
162
|
-
Xe as TableHeader,
|
|
163
|
-
Ye as TableRow,
|
|
164
|
-
_e as Tabs,
|
|
165
|
-
$e as TabsContent,
|
|
166
|
-
or as TabsList,
|
|
167
|
-
er as TabsTrigger,
|
|
168
|
-
tr as TerminalTextarea,
|
|
169
|
-
lr as Textarea,
|
|
170
|
-
pr as Toggle,
|
|
171
|
-
gr as Tooltip,
|
|
172
|
-
dr as TooltipContent,
|
|
173
|
-
xr as TooltipProvider,
|
|
174
|
-
Dr as TooltipTrigger,
|
|
175
|
-
cr as animations,
|
|
176
|
-
G as badgeVariants,
|
|
177
|
-
Ar as borderRadius,
|
|
178
|
-
R as buttonVariants,
|
|
179
|
-
r as cn,
|
|
180
|
-
ur as colors,
|
|
181
|
-
Sr as palette,
|
|
182
|
-
br as shadows,
|
|
183
|
-
hr as spacing,
|
|
184
|
-
a as theme,
|
|
185
|
-
ir as toggleVariants,
|
|
186
|
-
Mr as typography,
|
|
187
|
-
No as useFormField
|
|
36
|
+
x as AccordionContent,
|
|
37
|
+
c as AccordionItem,
|
|
38
|
+
f as AccordionTrigger,
|
|
39
|
+
T as Alert,
|
|
40
|
+
d as AlertDescription,
|
|
41
|
+
s as AlertTitle,
|
|
42
|
+
b as Avatar,
|
|
43
|
+
S as AvatarFallback,
|
|
44
|
+
D as AvatarImage,
|
|
45
|
+
u as Badge,
|
|
46
|
+
P as Button,
|
|
47
|
+
B as Card,
|
|
48
|
+
F as CardContent,
|
|
49
|
+
I as CardDescription,
|
|
50
|
+
w as CardFooter,
|
|
51
|
+
y as CardHeader,
|
|
52
|
+
H as CardTitle,
|
|
53
|
+
R as Checkbox,
|
|
54
|
+
G as Collapsible,
|
|
55
|
+
O as CollapsibleContent,
|
|
56
|
+
U as CollapsibleTrigger,
|
|
57
|
+
j as Dialog,
|
|
58
|
+
q as DialogClose,
|
|
59
|
+
z as DialogContent,
|
|
60
|
+
E as DialogDescription,
|
|
61
|
+
J as DialogFooter,
|
|
62
|
+
K as DialogHeader,
|
|
63
|
+
M as DialogOverlay,
|
|
64
|
+
N as DialogPortal,
|
|
65
|
+
Q as DialogTitle,
|
|
66
|
+
W as DialogTrigger,
|
|
67
|
+
Y as Input,
|
|
68
|
+
_ as Label,
|
|
69
|
+
oo as Popover,
|
|
70
|
+
ro as PopoverAnchor,
|
|
71
|
+
eo as PopoverContent,
|
|
72
|
+
to as PopoverTrigger,
|
|
73
|
+
ao as Progress,
|
|
74
|
+
io as RadioGroup,
|
|
75
|
+
mo as RadioGroupItem,
|
|
76
|
+
xo as ScrollArea,
|
|
77
|
+
co as ScrollBar,
|
|
78
|
+
go as Select,
|
|
79
|
+
To as SelectContent,
|
|
80
|
+
so as SelectGroup,
|
|
81
|
+
Co as SelectItem,
|
|
82
|
+
bo as SelectLabel,
|
|
83
|
+
So as SelectScrollDownButton,
|
|
84
|
+
Do as SelectScrollUpButton,
|
|
85
|
+
Ao as SelectSeparator,
|
|
86
|
+
uo as SelectTrigger,
|
|
87
|
+
vo as SelectValue,
|
|
88
|
+
ho as Separator,
|
|
89
|
+
Fo as Skeleton,
|
|
90
|
+
wo as Slider,
|
|
91
|
+
Ho as Switch,
|
|
92
|
+
Ro as Table,
|
|
93
|
+
ko as TableBody,
|
|
94
|
+
Go as TableCaption,
|
|
95
|
+
Oo as TableCell,
|
|
96
|
+
Uo as TableFooter,
|
|
97
|
+
Vo as TableHead,
|
|
98
|
+
jo as TableHeader,
|
|
99
|
+
qo as TableRow,
|
|
100
|
+
Eo as Tabs,
|
|
101
|
+
Jo as TabsContent,
|
|
102
|
+
Ko as TabsList,
|
|
103
|
+
Mo as TabsTrigger,
|
|
104
|
+
Qo as Textarea,
|
|
105
|
+
Xo as Toggle,
|
|
106
|
+
Zo as Tooltip,
|
|
107
|
+
_o as TooltipContent,
|
|
108
|
+
$o as TooltipProvider,
|
|
109
|
+
or as TooltipTrigger,
|
|
110
|
+
er as animations,
|
|
111
|
+
nr as borderRadius,
|
|
112
|
+
e as cn,
|
|
113
|
+
lr as colors,
|
|
114
|
+
t as cx,
|
|
115
|
+
ar as palette,
|
|
116
|
+
ir as shadows,
|
|
117
|
+
xr as spacing,
|
|
118
|
+
i as theme,
|
|
119
|
+
fr as typography,
|
|
120
|
+
a as useFontLoaded
|
|
188
121
|
};
|
package/dist/index10.js
CHANGED
|
@@ -1,59 +1,36 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
ref: e,
|
|
9
|
-
className: o("border-2 border-primary bg-card text-card-foreground", r),
|
|
10
|
-
...a
|
|
11
|
-
}
|
|
12
|
-
)
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { cx as o } from "./index2.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
const c = s.forwardRef(
|
|
6
|
+
({ className: a, ...r }, d) => /* @__PURE__ */ e("div", { ref: d, className: o("scl-card", a), ...r })
|
|
13
7
|
);
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
({ className:
|
|
8
|
+
c.displayName = "Card";
|
|
9
|
+
const t = s.forwardRef(
|
|
10
|
+
({ className: a, ...r }, d) => /* @__PURE__ */ e("div", { ref: d, className: o("scl-card__header", a), ...r })
|
|
17
11
|
);
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
({ className:
|
|
21
|
-
"div",
|
|
22
|
-
{
|
|
23
|
-
ref: e,
|
|
24
|
-
className: o(
|
|
25
|
-
"bg-primary text-primary-foreground px-2 py-1 text-sm font-semibold leading-none tracking-tight w-full",
|
|
26
|
-
r
|
|
27
|
-
),
|
|
28
|
-
...a
|
|
29
|
-
}
|
|
30
|
-
)
|
|
12
|
+
t.displayName = "CardHeader";
|
|
13
|
+
const i = s.forwardRef(
|
|
14
|
+
({ className: a, ...r }, d) => /* @__PURE__ */ e("div", { ref: d, className: o("scl-card__title", a), ...r })
|
|
31
15
|
);
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
({ className:
|
|
35
|
-
"div",
|
|
36
|
-
{
|
|
37
|
-
ref: e,
|
|
38
|
-
className: o("px-6 pt-2 text-sm text-muted-foreground", r),
|
|
39
|
-
...a
|
|
40
|
-
}
|
|
41
|
-
)
|
|
16
|
+
i.displayName = "CardTitle";
|
|
17
|
+
const l = s.forwardRef(
|
|
18
|
+
({ className: a, ...r }, d) => /* @__PURE__ */ e("div", { ref: d, className: o("scl-card__description", a), ...r })
|
|
42
19
|
);
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
({ className:
|
|
20
|
+
l.displayName = "CardDescription";
|
|
21
|
+
const m = s.forwardRef(
|
|
22
|
+
({ className: a, ...r }, d) => /* @__PURE__ */ e("div", { ref: d, className: o("scl-card__content", a), ...r })
|
|
46
23
|
);
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
({ className:
|
|
24
|
+
m.displayName = "CardContent";
|
|
25
|
+
const f = s.forwardRef(
|
|
26
|
+
({ className: a, ...r }, d) => /* @__PURE__ */ e("div", { ref: d, className: o("scl-card__footer", a), ...r })
|
|
50
27
|
);
|
|
51
|
-
|
|
28
|
+
f.displayName = "CardFooter";
|
|
52
29
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
30
|
+
c as Card,
|
|
31
|
+
m as CardContent,
|
|
32
|
+
l as CardDescription,
|
|
33
|
+
f as CardFooter,
|
|
34
|
+
t as CardHeader,
|
|
35
|
+
i as CardTitle
|
|
59
36
|
};
|
package/dist/index100.js
CHANGED
|
@@ -1,32 +1,16 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import "react-dom";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"label",
|
|
15
|
-
"li",
|
|
16
|
-
"nav",
|
|
17
|
-
"ol",
|
|
18
|
-
"p",
|
|
19
|
-
"select",
|
|
20
|
-
"span",
|
|
21
|
-
"svg",
|
|
22
|
-
"ul"
|
|
23
|
-
], w = u.reduce((t, i) => {
|
|
24
|
-
const o = l(`Primitive.${i}`), r = f.forwardRef((e, m) => {
|
|
25
|
-
const { asChild: a, ...p } = e, s = a ? o : i;
|
|
26
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, { ...p, ref: m });
|
|
27
|
-
});
|
|
28
|
-
return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
|
|
29
|
-
}, {});
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import s from "react-dom";
|
|
3
|
+
import { Primitive as c } from "./index83.js";
|
|
4
|
+
import { useLayoutEffect as u } from "./index88.js";
|
|
5
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
6
|
+
var p = "Portal", d = r.forwardRef((e, a) => {
|
|
7
|
+
var o;
|
|
8
|
+
const { container: f, ...i } = e, [m, n] = r.useState(!1);
|
|
9
|
+
u(() => n(!0), []);
|
|
10
|
+
const t = f || m && ((o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body);
|
|
11
|
+
return t ? s.createPortal(/* @__PURE__ */ l(c.div, { ...i, ref: a }), t) : null;
|
|
12
|
+
});
|
|
13
|
+
d.displayName = p;
|
|
30
14
|
export {
|
|
31
|
-
|
|
15
|
+
d as Portal
|
|
32
16
|
};
|
package/dist/index101.js
CHANGED
|
@@ -1,15 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { composeRefs as m } from "./index80.js";
|
|
3
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
4
|
+
// @__NO_SIDE_EFFECTS__
|
|
5
|
+
function b(e) {
|
|
6
|
+
const n = /* @__PURE__ */ y(e), o = l.forwardRef((t, r) => {
|
|
7
|
+
const { children: i, ...c } = t, s = l.Children.toArray(i), a = s.find(E);
|
|
8
|
+
if (a) {
|
|
9
|
+
const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
|
|
10
|
+
return /* @__PURE__ */ u(n, { ...c, ref: r, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
|
|
11
|
+
}
|
|
12
|
+
return /* @__PURE__ */ u(n, { ...c, ref: r, children: i });
|
|
13
|
+
});
|
|
14
|
+
return o.displayName = `${e}.Slot`, o;
|
|
15
|
+
}
|
|
16
|
+
// @__NO_SIDE_EFFECTS__
|
|
17
|
+
function y(e) {
|
|
18
|
+
const n = l.forwardRef((o, t) => {
|
|
19
|
+
const { children: r, ...i } = o;
|
|
20
|
+
if (l.isValidElement(r)) {
|
|
21
|
+
const c = S(r), s = C(i, r.props);
|
|
22
|
+
return r.type !== l.Fragment && (s.ref = t ? m(t, c) : c), l.cloneElement(r, s);
|
|
23
|
+
}
|
|
24
|
+
return l.Children.count(r) > 1 ? l.Children.only(null) : null;
|
|
25
|
+
});
|
|
26
|
+
return n.displayName = `${e}.SlotClone`, n;
|
|
27
|
+
}
|
|
28
|
+
var g = Symbol("radix.slottable");
|
|
29
|
+
function E(e) {
|
|
30
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === g;
|
|
31
|
+
}
|
|
32
|
+
function C(e, n) {
|
|
33
|
+
const o = { ...n };
|
|
34
|
+
for (const t in n) {
|
|
35
|
+
const r = e[t], i = n[t];
|
|
36
|
+
/^on[A-Z]/.test(t) ? r && i ? o[t] = (...s) => {
|
|
37
|
+
const a = i(...s);
|
|
38
|
+
return r(...s), a;
|
|
39
|
+
} : r && (o[t] = r) : t === "style" ? o[t] = { ...r, ...i } : t === "className" && (o[t] = [r, i].filter(Boolean).join(" "));
|
|
40
|
+
}
|
|
41
|
+
return { ...e, ...o };
|
|
42
|
+
}
|
|
43
|
+
function S(e) {
|
|
44
|
+
var t, r;
|
|
45
|
+
let n = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, o = n && "isReactWarning" in n && n.isReactWarning;
|
|
46
|
+
return o ? e.ref : (n = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
12
47
|
}
|
|
13
48
|
export {
|
|
14
|
-
|
|
49
|
+
b as createSlot
|
|
15
50
|
};
|
package/dist/index102.js
CHANGED
|
@@ -1,8 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var S = function(r) {
|
|
2
|
+
if (typeof document > "u")
|
|
3
|
+
return null;
|
|
4
|
+
var u = Array.isArray(r) ? r[0] : r;
|
|
5
|
+
return u.ownerDocument.body;
|
|
6
|
+
}, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
|
|
7
|
+
return r && (r.host || W(r.parentNode));
|
|
8
|
+
}, D = function(r, u) {
|
|
9
|
+
return u.map(function(e) {
|
|
10
|
+
if (r.contains(e))
|
|
11
|
+
return e;
|
|
12
|
+
var n = W(e);
|
|
13
|
+
return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
|
|
14
|
+
}).filter(function(e) {
|
|
15
|
+
return !!e;
|
|
16
|
+
});
|
|
17
|
+
}, E = function(r, u, e, n) {
|
|
18
|
+
var i = D(u, Array.isArray(r) ? r : [r]);
|
|
19
|
+
p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
|
|
20
|
+
var s = p[e], l = [], o = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
|
|
21
|
+
!t || o.has(t) || (o.add(t), y(t.parentNode));
|
|
22
|
+
};
|
|
23
|
+
i.forEach(y);
|
|
24
|
+
var A = function(t) {
|
|
25
|
+
!t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
|
|
26
|
+
if (o.has(a))
|
|
27
|
+
A(a);
|
|
28
|
+
else
|
|
29
|
+
try {
|
|
30
|
+
var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (s.get(a) || 0) + 1;
|
|
31
|
+
f.set(a, d), s.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
|
|
32
|
+
} catch (k) {
|
|
33
|
+
console.error("aria-hidden: cannot operate on ", a, k);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
return A(u), o.clear(), h++, function() {
|
|
38
|
+
l.forEach(function(t) {
|
|
39
|
+
var a = f.get(t) - 1, c = s.get(t) - 1;
|
|
40
|
+
f.set(t, a), s.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
|
|
41
|
+
}), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
|
|
42
|
+
};
|
|
43
|
+
}, C = function(r, u, e) {
|
|
44
|
+
e === void 0 && (e = "data-aria-hidden");
|
|
45
|
+
var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
|
|
46
|
+
return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live], script"))), E(n, i, e, "aria-hidden")) : function() {
|
|
47
|
+
return null;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
6
50
|
export {
|
|
7
|
-
|
|
51
|
+
C as hideOthers
|
|
8
52
|
};
|
package/dist/index103.js
CHANGED
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
if (!Array.isArray(i) || !i.length)
|
|
10
|
-
return;
|
|
11
|
-
const b = i[0];
|
|
12
|
-
let o, t;
|
|
13
|
-
if ("borderBoxSize" in b) {
|
|
14
|
-
const s = b.borderBoxSize, u = Array.isArray(s) ? s[0] : s;
|
|
15
|
-
o = u.inlineSize, t = u.blockSize;
|
|
16
|
-
} else
|
|
17
|
-
o = r.offsetWidth, t = r.offsetHeight;
|
|
18
|
-
e({ width: o, height: t });
|
|
19
|
-
});
|
|
20
|
-
return f.observe(r, { box: "border-box" }), () => f.unobserve(r);
|
|
21
|
-
} else
|
|
22
|
-
e(void 0);
|
|
23
|
-
}, [r]), d;
|
|
24
|
-
}
|
|
1
|
+
import { __assign as m } from "./index122.js";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { RemoveScroll as e } from "./index123.js";
|
|
4
|
+
import t from "./index124.js";
|
|
5
|
+
var s = r.forwardRef(function(a, o) {
|
|
6
|
+
return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
|
|
7
|
+
});
|
|
8
|
+
s.classNames = e.classNames;
|
|
25
9
|
export {
|
|
26
|
-
|
|
10
|
+
s as default
|
|
27
11
|
};
|
package/dist/index104.js
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import "react-dom";
|
|
3
|
+
import { createSlot as l } from "./index43.js";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
var u = [
|
|
6
|
+
"a",
|
|
7
|
+
"button",
|
|
8
|
+
"div",
|
|
9
|
+
"form",
|
|
10
|
+
"h2",
|
|
11
|
+
"h3",
|
|
12
|
+
"img",
|
|
13
|
+
"input",
|
|
14
|
+
"label",
|
|
15
|
+
"li",
|
|
16
|
+
"nav",
|
|
17
|
+
"ol",
|
|
18
|
+
"p",
|
|
19
|
+
"select",
|
|
20
|
+
"span",
|
|
21
|
+
"svg",
|
|
22
|
+
"ul"
|
|
23
|
+
], w = u.reduce((t, i) => {
|
|
24
|
+
const o = l(`Primitive.${i}`), r = f.forwardRef((e, m) => {
|
|
25
|
+
const { asChild: a, ...p } = e, s = a ? o : i;
|
|
26
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, { ...p, ref: m });
|
|
27
|
+
});
|
|
28
|
+
return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
|
|
29
|
+
}, {});
|
|
9
30
|
export {
|
|
10
|
-
|
|
31
|
+
w as Primitive
|
|
11
32
|
};
|