@drjoshcsimmons/scl 0.2.8 → 0.3.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.
Files changed (233) hide show
  1. package/dist/components/ui/accordion/accordion.d.ts.map +1 -1
  2. package/dist/components/ui/alert/alert.d.ts +5 -4
  3. package/dist/components/ui/alert/alert.d.ts.map +1 -1
  4. package/dist/components/ui/alert/index.d.ts +1 -1
  5. package/dist/components/ui/alert/index.d.ts.map +1 -1
  6. package/dist/components/ui/avatar/avatar.d.ts.map +1 -1
  7. package/dist/components/ui/badge/badge.d.ts +4 -6
  8. package/dist/components/ui/badge/badge.d.ts.map +1 -1
  9. package/dist/components/ui/badge/index.d.ts +1 -1
  10. package/dist/components/ui/badge/index.d.ts.map +1 -1
  11. package/dist/components/ui/button/button.d.ts +6 -7
  12. package/dist/components/ui/button/button.d.ts.map +1 -1
  13. package/dist/components/ui/button/index.d.ts +1 -1
  14. package/dist/components/ui/button/index.d.ts.map +1 -1
  15. package/dist/components/ui/card/card.d.ts.map +1 -1
  16. package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -1
  17. package/dist/components/ui/collapsible/collapsible.d.ts.map +1 -1
  18. package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
  19. package/dist/components/ui/input/input.d.ts.map +1 -1
  20. package/dist/components/ui/label/label.d.ts +1 -2
  21. package/dist/components/ui/label/label.d.ts.map +1 -1
  22. package/dist/components/ui/popover/popover.d.ts.map +1 -1
  23. package/dist/components/ui/progress/progress.d.ts +0 -3
  24. package/dist/components/ui/progress/progress.d.ts.map +1 -1
  25. package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -1
  26. package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -1
  27. package/dist/components/ui/select/select.d.ts.map +1 -1
  28. package/dist/components/ui/separator/separator.d.ts.map +1 -1
  29. package/dist/components/ui/skeleton/skeleton.d.ts +1 -0
  30. package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
  31. package/dist/components/ui/slider/slider.d.ts.map +1 -1
  32. package/dist/components/ui/switch/switch.d.ts.map +1 -1
  33. package/dist/components/ui/table/table.d.ts.map +1 -1
  34. package/dist/components/ui/tabs/tabs.d.ts.map +1 -1
  35. package/dist/components/ui/textarea/textarea.d.ts.map +1 -1
  36. package/dist/components/ui/toggle/index.d.ts +1 -1
  37. package/dist/components/ui/toggle/index.d.ts.map +1 -1
  38. package/dist/components/ui/toggle/toggle.d.ts +6 -10
  39. package/dist/components/ui/toggle/toggle.d.ts.map +1 -1
  40. package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
  41. package/dist/globals.css +222 -287
  42. package/dist/index.d.ts +1 -10
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +115 -184
  45. package/dist/index10.js +29 -57
  46. package/dist/index100.js +6 -30
  47. package/dist/index101.js +44 -11
  48. package/dist/index102.js +54 -5
  49. package/dist/index103.js +30 -25
  50. package/dist/index104.js +30 -9
  51. package/dist/index105.js +3 -180
  52. package/dist/index106.js +218 -3
  53. package/dist/index107.js +47 -29
  54. package/dist/index108.js +30 -9
  55. package/dist/index109.js +47 -29
  56. package/dist/index11.js +6 -19
  57. package/dist/index110.js +8 -54
  58. package/dist/index111.js +6 -30
  59. package/dist/index112.js +1 -1
  60. package/dist/index113.js +11 -47
  61. package/dist/index114.js +1 -1
  62. package/dist/index115.js +204 -10
  63. package/dist/index116.js +20 -204
  64. package/dist/index117.js +399 -21
  65. package/dist/index118.js +2 -400
  66. package/dist/index119.js +50 -45
  67. package/dist/index12.js +80 -5
  68. package/dist/index120.js +65 -6
  69. package/dist/index121.js +24 -20
  70. package/dist/index122.js +29 -9
  71. package/dist/index123.js +5 -38
  72. package/dist/index124.js +2 -18
  73. package/dist/index125.js +2 -25
  74. package/dist/index126.js +5 -29
  75. package/dist/index127.js +3 -5
  76. package/dist/index128.js +24 -2
  77. package/dist/index129.js +109 -49
  78. package/dist/index13.js +16 -136
  79. package/dist/index130.js +15 -64
  80. package/dist/index131.js +525 -2
  81. package/dist/index132.js +128 -2
  82. package/dist/index133.js +134 -5
  83. package/dist/index134.js +65 -3
  84. package/dist/index135.js +69 -24
  85. package/dist/index136.js +9 -113
  86. package/dist/index137.js +14 -16
  87. package/dist/index138.js +64 -523
  88. package/dist/index139.js +3 -127
  89. package/dist/index14.js +11 -97
  90. package/dist/index140.js +22 -133
  91. package/dist/index141.js +12 -64
  92. package/dist/index142.js +27 -68
  93. package/dist/index143.js +4 -8
  94. package/dist/index144.js +23 -14
  95. package/dist/index15.js +18 -72
  96. package/dist/index16.js +30 -252
  97. package/dist/index17.js +20 -133
  98. package/dist/index18.js +37 -89
  99. package/dist/index19.js +138 -18
  100. package/dist/index2.js +5 -5
  101. package/dist/index20.js +21 -10
  102. package/dist/index21.js +13 -22
  103. package/dist/index22.js +24 -35
  104. package/dist/index23.js +13 -19
  105. package/dist/index24.js +32 -37
  106. package/dist/index25.js +23 -102
  107. package/dist/index26.js +16 -20
  108. package/dist/index27.js +11 -72
  109. package/dist/index28.js +24 -12
  110. package/dist/index29.js +99 -28
  111. package/dist/index3.js +6 -6
  112. package/dist/index30.js +39 -111
  113. package/dist/index31.js +11 -25
  114. package/dist/index32.js +49 -65
  115. package/dist/index33.js +65 -43
  116. package/dist/index34.js +230 -79
  117. package/dist/index36.js +58 -33
  118. package/dist/index4.js +42 -26
  119. package/dist/index41.js +73 -49
  120. package/dist/index43.js +159 -13
  121. package/dist/index45.js +232 -210
  122. package/dist/index47.js +16 -223
  123. package/dist/index5.js +21 -32
  124. package/dist/index50.js +236 -11
  125. package/dist/index52.js +30 -309
  126. package/dist/index55.js +860 -18
  127. package/dist/index57.js +71 -249
  128. package/dist/index59.js +22 -12
  129. package/dist/index6.js +26 -70
  130. package/dist/index61.js +509 -109
  131. package/dist/index63.js +225 -109
  132. package/dist/index65.js +409 -210
  133. package/dist/index67.js +103 -321
  134. package/dist/index69.js +245 -18
  135. package/dist/index7.js +7 -40
  136. package/dist/index71.js +320 -66
  137. package/dist/index73.js +111 -416
  138. package/dist/index77.js +25 -44
  139. package/dist/index78.js +52 -24
  140. package/dist/index79.js +10 -6
  141. package/dist/index8.js +20 -26
  142. package/dist/index80.js +4 -52
  143. package/dist/index81.js +8 -12
  144. package/dist/index82.js +12 -10
  145. package/dist/index83.js +30 -8
  146. package/dist/index84.js +5 -123
  147. package/dist/index85.js +65 -12
  148. package/dist/index86.js +173 -127
  149. package/dist/index87.js +66 -216
  150. package/dist/index88.js +33 -13
  151. package/dist/index89.js +7 -68
  152. package/dist/index9.js +33 -36
  153. package/dist/index90.js +49 -45
  154. package/dist/index91.js +11 -50
  155. package/dist/index92.js +124 -8
  156. package/dist/index93.js +135 -4
  157. package/dist/index94.js +13 -649
  158. package/dist/index95.js +13 -13
  159. package/dist/index96.js +9 -30
  160. package/dist/index97.js +49 -47
  161. package/dist/index98.js +44 -51
  162. package/dist/index99.js +24 -10
  163. package/dist/lib/utils.d.ts +8 -8
  164. package/dist/lib/utils.d.ts.map +1 -1
  165. package/package.json +5 -46
  166. package/dist/components/ui/alert-dialog/alert-dialog.d.ts +0 -21
  167. package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +0 -1
  168. package/dist/components/ui/alert-dialog/index.d.ts +0 -2
  169. package/dist/components/ui/alert-dialog/index.d.ts.map +0 -1
  170. package/dist/components/ui/combobox/combobox.d.ts +0 -31
  171. package/dist/components/ui/combobox/combobox.d.ts.map +0 -1
  172. package/dist/components/ui/combobox/index.d.ts +0 -3
  173. package/dist/components/ui/combobox/index.d.ts.map +0 -1
  174. package/dist/components/ui/command/command.d.ts +0 -85
  175. package/dist/components/ui/command/command.d.ts.map +0 -1
  176. package/dist/components/ui/command/index.d.ts +0 -2
  177. package/dist/components/ui/command/index.d.ts.map +0 -1
  178. package/dist/components/ui/dithered-image/dithered-image.d.ts +0 -21
  179. package/dist/components/ui/dithered-image/dithered-image.d.ts.map +0 -1
  180. package/dist/components/ui/dithered-image/index.d.ts +0 -3
  181. package/dist/components/ui/dithered-image/index.d.ts.map +0 -1
  182. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -28
  183. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +0 -1
  184. package/dist/components/ui/dropdown-menu/index.d.ts +0 -2
  185. package/dist/components/ui/dropdown-menu/index.d.ts.map +0 -1
  186. package/dist/components/ui/form/form.d.ts +0 -24
  187. package/dist/components/ui/form/form.d.ts.map +0 -1
  188. package/dist/components/ui/form/index.d.ts +0 -2
  189. package/dist/components/ui/form/index.d.ts.map +0 -1
  190. package/dist/components/ui/sheet/index.d.ts +0 -2
  191. package/dist/components/ui/sheet/index.d.ts.map +0 -1
  192. package/dist/components/ui/sheet/sheet.d.ts +0 -26
  193. package/dist/components/ui/sheet/sheet.d.ts.map +0 -1
  194. package/dist/components/ui/statusline/index.d.ts +0 -2
  195. package/dist/components/ui/statusline/index.d.ts.map +0 -1
  196. package/dist/components/ui/statusline/statusline.d.ts +0 -40
  197. package/dist/components/ui/statusline/statusline.d.ts.map +0 -1
  198. package/dist/components/ui/terminal-textarea/index.d.ts +0 -2
  199. package/dist/components/ui/terminal-textarea/index.d.ts.map +0 -1
  200. package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts +0 -16
  201. package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +0 -1
  202. package/dist/index145.js +0 -68
  203. package/dist/index146.js +0 -6
  204. package/dist/index147.js +0 -25
  205. package/dist/index148.js +0 -25
  206. package/dist/index149.js +0 -15
  207. package/dist/index150.js +0 -30
  208. package/dist/index151.js +0 -7
  209. package/dist/index35.js +0 -20
  210. package/dist/index37.js +0 -28
  211. package/dist/index38.js +0 -102
  212. package/dist/index39.js +0 -41
  213. package/dist/index40.js +0 -13
  214. package/dist/index42.js +0 -68
  215. package/dist/index44.js +0 -2265
  216. package/dist/index46.js +0 -13
  217. package/dist/index48.js +0 -11
  218. package/dist/index49.js +0 -13
  219. package/dist/index51.js +0 -243
  220. package/dist/index53.js +0 -14
  221. package/dist/index54.js +0 -120
  222. package/dist/index56.js +0 -35
  223. package/dist/index58.js +0 -14
  224. package/dist/index60.js +0 -75
  225. package/dist/index62.js +0 -62
  226. package/dist/index64.js +0 -256
  227. package/dist/index66.js +0 -532
  228. package/dist/index68.js +0 -251
  229. package/dist/index70.js +0 -163
  230. package/dist/index72.js +0 -33
  231. package/dist/index74.js +0 -862
  232. package/dist/index75.js +0 -11
  233. package/dist/index76.js +0 -70
package/dist/index.js CHANGED
@@ -1,188 +1,119 @@
1
- import { cn as r } from "./index2.js";
1
+ import { cn as e, cx as t } from "./index2.js";
2
2
  import { theme as a } from "./index3.js";
3
- import { Accordion as n, AccordionContent as p, AccordionItem as i, AccordionTrigger as m } from "./index4.js";
4
- import { Alert as d, AlertDescription as x, AlertTitle as D } from "./index5.js";
5
- import { AlertDialog as c, AlertDialogAction as C, AlertDialogCancel as u, AlertDialogContent as S, AlertDialogDescription as T, AlertDialogFooter as b, AlertDialogHeader as s, AlertDialogOverlay as A, AlertDialogPortal as h, AlertDialogTitle as w, AlertDialogTrigger as M } from "./index6.js";
6
- import { Avatar as I, AvatarFallback as v, AvatarImage as P } from "./index7.js";
7
- import { Badge as B, badgeVariants as G } from "./index8.js";
8
- import { Button as L, buttonVariants as R } from "./index9.js";
9
- import { Card as V, CardContent as O, CardDescription as E, CardFooter as U, CardHeader as j, CardTitle as q } from "./index10.js";
10
- import { Checkbox as J } from "./index11.js";
11
- import { Collapsible as N, CollapsibleContent as Q, CollapsibleTrigger as W } from "./index12.js";
12
- import { Combobox as Y, ComboboxMulti as Z } from "./index13.js";
13
- import { Command as $, CommandDialog as oo, CommandEmpty as eo, CommandGroup as ro, CommandInput as to, CommandItem as ao, CommandList as lo, CommandSeparator as no, CommandShortcut as po } from "./index14.js";
14
- import { Dialog as mo, DialogClose as go, DialogContent as xo, DialogDescription as Do, DialogFooter as fo, DialogHeader as co, DialogOverlay as Co, DialogPortal as uo, DialogTitle as So, DialogTrigger as To } from "./index15.js";
15
- import { DitheredImage as so } from "./index16.js";
16
- import { DropdownMenu as ho, DropdownMenuCheckboxItem as wo, DropdownMenuContent as Mo, DropdownMenuGroup as Fo, DropdownMenuItem as Io, DropdownMenuLabel as vo, DropdownMenuPortal as Po, DropdownMenuRadioGroup as yo, DropdownMenuRadioItem as Bo, DropdownMenuSeparator as Go, DropdownMenuShortcut as Ho, DropdownMenuSub as Lo, DropdownMenuSubContent as Ro, DropdownMenuSubTrigger as ko, DropdownMenuTrigger as Vo } from "./index17.js";
17
- import { Form as Eo, FormControl as Uo, FormDescription as jo, FormField as qo, FormItem as zo, FormLabel as Jo, FormMessage as Ko, useFormField as No } from "./index18.js";
18
- import { Input as Wo } from "./index19.js";
19
- import { Label as Yo } from "./index20.js";
20
- import { Popover as _o, PopoverAnchor as $o, PopoverContent as oe, PopoverTrigger as ee } from "./index21.js";
21
- import { Progress as te } from "./index22.js";
22
- import { RadioGroup as le, RadioGroupItem as ne } from "./index23.js";
23
- import { ScrollArea as ie, ScrollBar as me } from "./index24.js";
24
- import { Select as de, SelectContent as xe, SelectGroup as De, SelectItem as fe, SelectLabel as ce, SelectScrollDownButton as Ce, SelectScrollUpButton as ue, SelectSeparator as Se, SelectTrigger as Te, SelectValue as be } from "./index25.js";
25
- import { Separator as Ae } from "./index26.js";
26
- import { Sheet as we, SheetClose as Me, SheetContent as Fe, SheetDescription as Ie, SheetFooter as ve, SheetHeader as Pe, SheetOverlay as ye, SheetPortal as Be, SheetTitle as Ge, SheetTrigger as He } from "./index27.js";
27
- import { Skeleton as Re } from "./index28.js";
28
- import { Slider as Ve } from "./index29.js";
29
- import { Statusline as Ee } from "./index30.js";
30
- import { Switch as je } from "./index31.js";
31
- import { Table as ze, TableBody as Je, TableCaption as Ke, TableCell as Ne, TableFooter as Qe, TableHead as We, TableHeader as Xe, TableRow as Ye } from "./index32.js";
32
- import { Tabs as _e, TabsContent as $e, TabsList as or, TabsTrigger as er } from "./index33.js";
33
- import { TerminalTextarea as tr } from "./index34.js";
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";
3
+ import { Accordion as i, AccordionContent as m, AccordionItem as n, AccordionTrigger as x } from "./index4.js";
4
+ import { Alert as f, AlertDescription as g, AlertTitle as T } from "./index5.js";
5
+ import { Avatar as C, AvatarFallback as b, AvatarImage as s } from "./index6.js";
6
+ import { Badge as D } from "./index7.js";
7
+ import { Button as u } from "./index8.js";
8
+ import { Card as P, CardContent as h, CardDescription as B, CardFooter as I, CardHeader as w, CardTitle as y } from "./index9.js";
9
+ import { Checkbox as H } from "./index10.js";
10
+ import { Collapsible as k, CollapsibleContent as G, CollapsibleTrigger as L } from "./index11.js";
11
+ import { Dialog as U, DialogClose as V, DialogContent as j, DialogDescription as q, DialogFooter as z, DialogHeader as E, DialogOverlay as J, DialogPortal as K, DialogTitle as M, DialogTrigger as N } from "./index12.js";
12
+ import { Input as W } from "./index13.js";
13
+ import { Label as Y } from "./index14.js";
14
+ import { Popover as _, PopoverAnchor as $, PopoverContent as oo, PopoverTrigger as ro } from "./index15.js";
15
+ import { Progress as to } from "./index16.js";
16
+ import { RadioGroup as ao, RadioGroupItem as po } from "./index17.js";
17
+ import { ScrollArea as mo, ScrollBar as no } from "./index18.js";
18
+ import { Select as co, SelectContent as fo, SelectGroup as go, SelectItem as To, SelectLabel as Co, SelectScrollDownButton as bo, SelectScrollUpButton as so, SelectSeparator as So, SelectTrigger as Do, SelectValue as Ao } from "./index19.js";
19
+ import { Separator as vo } from "./index20.js";
20
+ import { Skeleton as ho } from "./index21.js";
21
+ import { Slider as Io } from "./index22.js";
22
+ import { Switch as yo } from "./index23.js";
23
+ import { Table as Ho, TableBody as Ro, TableCaption as ko, TableCell as Go, TableFooter as Lo, TableHead as Oo, TableHeader as Uo, TableRow as Vo } from "./index24.js";
24
+ import { Tabs as qo, TabsContent as zo, TabsList as Eo, TabsTrigger as Jo } from "./index25.js";
25
+ import { Textarea as Mo } from "./index26.js";
26
+ import { Toggle as Qo } from "./index27.js";
27
+ import { Tooltip as Xo, TooltipContent as Yo, TooltipProvider as Zo, TooltipTrigger as _o } from "./index28.js";
28
+ import { animations as or } from "./index29.js";
29
+ import { colors as er, palette as tr } from "./index30.js";
30
+ import { shadows as ar } from "./index31.js";
31
+ import { borderRadius as ir, spacing as mr } from "./index32.js";
32
+ import { typography as xr } from "./index33.js";
42
33
  export {
43
- n as Accordion,
44
- p as AccordionContent,
45
- i as AccordionItem,
46
- m as AccordionTrigger,
47
- d as Alert,
48
- x as AlertDescription,
49
- c as AlertDialog,
50
- C as AlertDialogAction,
51
- u as AlertDialogCancel,
52
- S as AlertDialogContent,
53
- T as AlertDialogDescription,
54
- b as AlertDialogFooter,
55
- s as AlertDialogHeader,
56
- A as AlertDialogOverlay,
57
- h as AlertDialogPortal,
58
- w as AlertDialogTitle,
59
- M as AlertDialogTrigger,
60
- D as AlertTitle,
61
- I as Avatar,
62
- v as AvatarFallback,
63
- P as AvatarImage,
64
- B as Badge,
65
- L as Button,
66
- V as Card,
67
- O as CardContent,
68
- E as CardDescription,
69
- U as CardFooter,
70
- j as CardHeader,
71
- q as CardTitle,
72
- J as Checkbox,
73
- N as Collapsible,
74
- Q as CollapsibleContent,
75
- W as CollapsibleTrigger,
76
- Y as Combobox,
77
- Z as ComboboxMulti,
78
- $ as Command,
79
- oo as CommandDialog,
80
- eo as CommandEmpty,
81
- ro as CommandGroup,
82
- to as CommandInput,
83
- ao as CommandItem,
84
- lo as CommandList,
85
- no as CommandSeparator,
86
- po as CommandShortcut,
87
- mo as Dialog,
88
- go as DialogClose,
89
- xo as DialogContent,
90
- Do as DialogDescription,
91
- fo as DialogFooter,
92
- co as DialogHeader,
93
- Co as DialogOverlay,
94
- uo as DialogPortal,
95
- So as DialogTitle,
96
- To as DialogTrigger,
97
- so as DitheredImage,
98
- ho as DropdownMenu,
99
- wo as DropdownMenuCheckboxItem,
100
- Mo as DropdownMenuContent,
101
- Fo as DropdownMenuGroup,
102
- Io as DropdownMenuItem,
103
- vo as DropdownMenuLabel,
104
- Po as DropdownMenuPortal,
105
- yo as DropdownMenuRadioGroup,
106
- Bo as DropdownMenuRadioItem,
107
- Go as DropdownMenuSeparator,
108
- Ho as DropdownMenuShortcut,
109
- Lo as DropdownMenuSub,
110
- Ro as DropdownMenuSubContent,
111
- ko as DropdownMenuSubTrigger,
112
- Vo as DropdownMenuTrigger,
113
- Eo as Form,
114
- Uo as FormControl,
115
- jo as FormDescription,
116
- qo as FormField,
117
- zo as FormItem,
118
- Jo as FormLabel,
119
- Ko as FormMessage,
120
- Wo as Input,
121
- Yo as Label,
122
- _o as Popover,
123
- $o as PopoverAnchor,
124
- oe as PopoverContent,
125
- ee as PopoverTrigger,
126
- te as Progress,
127
- le as RadioGroup,
128
- ne as RadioGroupItem,
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,
34
+ i as Accordion,
35
+ m as AccordionContent,
36
+ n as AccordionItem,
37
+ x as AccordionTrigger,
38
+ f as Alert,
39
+ g as AlertDescription,
40
+ T as AlertTitle,
41
+ C as Avatar,
42
+ b as AvatarFallback,
43
+ s as AvatarImage,
44
+ D as Badge,
45
+ u as Button,
46
+ P as Card,
47
+ h as CardContent,
48
+ B as CardDescription,
49
+ I as CardFooter,
50
+ w as CardHeader,
51
+ y as CardTitle,
52
+ H as Checkbox,
53
+ k as Collapsible,
54
+ G as CollapsibleContent,
55
+ L as CollapsibleTrigger,
56
+ U as Dialog,
57
+ V as DialogClose,
58
+ j as DialogContent,
59
+ q as DialogDescription,
60
+ z as DialogFooter,
61
+ E as DialogHeader,
62
+ J as DialogOverlay,
63
+ K as DialogPortal,
64
+ M as DialogTitle,
65
+ N as DialogTrigger,
66
+ W as Input,
67
+ Y as Label,
68
+ _ as Popover,
69
+ $ as PopoverAnchor,
70
+ oo as PopoverContent,
71
+ ro as PopoverTrigger,
72
+ to as Progress,
73
+ ao as RadioGroup,
74
+ po as RadioGroupItem,
75
+ mo as ScrollArea,
76
+ no as ScrollBar,
77
+ co as Select,
78
+ fo as SelectContent,
79
+ go as SelectGroup,
80
+ To as SelectItem,
81
+ Co as SelectLabel,
82
+ bo as SelectScrollDownButton,
83
+ so as SelectScrollUpButton,
84
+ So as SelectSeparator,
85
+ Do as SelectTrigger,
86
+ Ao as SelectValue,
87
+ vo as Separator,
88
+ ho as Skeleton,
89
+ Io as Slider,
90
+ yo as Switch,
91
+ Ho as Table,
92
+ Ro as TableBody,
93
+ ko as TableCaption,
94
+ Go as TableCell,
95
+ Lo as TableFooter,
96
+ Oo as TableHead,
97
+ Uo as TableHeader,
98
+ Vo as TableRow,
99
+ qo as Tabs,
100
+ zo as TabsContent,
101
+ Eo as TabsList,
102
+ Jo as TabsTrigger,
103
+ Mo as Textarea,
104
+ Qo as Toggle,
105
+ Xo as Tooltip,
106
+ Yo as TooltipContent,
107
+ Zo as TooltipProvider,
108
+ _o as TooltipTrigger,
109
+ or as animations,
110
+ ir as borderRadius,
111
+ e as cn,
112
+ er as colors,
113
+ t as cx,
114
+ tr as palette,
115
+ ar as shadows,
116
+ mr as spacing,
184
117
  a as theme,
185
- ir as toggleVariants,
186
- Mr as typography,
187
- No as useFormField
118
+ xr as typography
188
119
  };
package/dist/index10.js CHANGED
@@ -1,59 +1,31 @@
1
- import { jsx as d } from "react/jsx-runtime";
2
- import * as t from "react";
3
- import { cn as o } from "./index2.js";
4
- const s = t.forwardRef(
5
- ({ className: r, ...a }, e) => /* @__PURE__ */ d(
6
- "div",
7
- {
8
- ref: e,
9
- className: o("border-2 border-primary bg-card text-card-foreground", r),
10
- ...a
11
- }
12
- )
13
- );
14
- s.displayName = "Card";
15
- const i = t.forwardRef(
16
- ({ className: r, ...a }, e) => /* @__PURE__ */ d("div", { ref: e, className: o("flex flex-col space-y-1.5", r), ...a })
17
- );
18
- i.displayName = "CardHeader";
19
- const m = t.forwardRef(
20
- ({ className: r, ...a }, e) => /* @__PURE__ */ d(
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
- )
31
- );
32
- m.displayName = "CardTitle";
33
- const f = t.forwardRef(
34
- ({ className: r, ...a }, e) => /* @__PURE__ */ d(
35
- "div",
36
- {
37
- ref: e,
38
- className: o("px-6 pt-2 text-sm text-muted-foreground", r),
39
- ...a
40
- }
41
- )
42
- );
43
- f.displayName = "CardDescription";
44
- const p = t.forwardRef(
45
- ({ className: r, ...a }, e) => /* @__PURE__ */ d("div", { ref: e, className: o("p-6", r), ...a })
46
- );
47
- p.displayName = "CardContent";
48
- const c = t.forwardRef(
49
- ({ className: r, ...a }, e) => /* @__PURE__ */ d("div", { ref: e, className: o("flex items-center p-6 pt-0", r), ...a })
50
- );
51
- c.displayName = "CardFooter";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { Checkbox as e, CheckboxIndicator as s } from "./index69.js";
3
+ import * as a from "react";
4
+ import { cx as t } from "./index2.js";
5
+ /* empty css */
6
+ const n = () => /* @__PURE__ */ o(
7
+ "svg",
8
+ {
9
+ className: "scl-checkbox__icon",
10
+ viewBox: "0 0 24 24",
11
+ fill: "none",
12
+ stroke: "currentColor",
13
+ strokeWidth: "3",
14
+ strokeLinecap: "square",
15
+ strokeLinejoin: "miter",
16
+ "aria-hidden": "true",
17
+ children: /* @__PURE__ */ o("polyline", { points: "20 6 9 17 4 12" })
18
+ }
19
+ ), l = a.forwardRef(({ className: c, ...r }, i) => /* @__PURE__ */ o(
20
+ e,
21
+ {
22
+ ref: i,
23
+ className: t("scl-checkbox", c),
24
+ ...r,
25
+ children: /* @__PURE__ */ o(s, { className: "scl-checkbox__indicator", children: /* @__PURE__ */ o(n, {}) })
26
+ }
27
+ ));
28
+ l.displayName = e.displayName;
52
29
  export {
53
- s as Card,
54
- p as CardContent,
55
- f as CardDescription,
56
- c as CardFooter,
57
- i as CardHeader,
58
- m as CardTitle
30
+ l as Checkbox
59
31
  };
package/dist/index100.js CHANGED
@@ -1,32 +1,8 @@
1
- import * as f from "react";
2
- import "react-dom";
3
- import { createSlot as l } from "./index62.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
- }, {});
1
+ import * as u from "react";
2
+ function t(r) {
3
+ const e = u.useRef({ value: r, previous: r });
4
+ return u.useMemo(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [r]);
5
+ }
30
6
  export {
31
- w as Primitive
7
+ t as usePrevious
32
8
  };
package/dist/index101.js CHANGED
@@ -1,15 +1,48 @@
1
- import { s as r } from "./index120.js";
2
- function s() {
3
- return r.useSyncExternalStore(
4
- e,
5
- () => !0,
6
- () => !1
7
- );
8
- }
9
- function e() {
10
- return () => {
1
+ import r from "react";
2
+ import { createContextScope as y } from "./index85.js";
3
+ import { useComposedRefs as M } from "./index77.js";
4
+ import { createSlot as x } from "./index114.js";
5
+ import { jsx as u } from "react/jsx-runtime";
6
+ function g(s) {
7
+ const m = s + "CollectionProvider", [A, N] = y(m), [_, f] = A(
8
+ m,
9
+ { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
10
+ ), p = (c) => {
11
+ const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
12
+ return /* @__PURE__ */ u(_, { scope: e, itemMap: t, collectionRef: o, children: l });
11
13
  };
14
+ p.displayName = m;
15
+ const a = s + "CollectionSlot", E = x(a), C = r.forwardRef(
16
+ (c, e) => {
17
+ const { scope: l, children: o } = c, t = f(a, l), n = M(e, t.collectionRef);
18
+ return /* @__PURE__ */ u(E, { ref: n, children: o });
19
+ }
20
+ );
21
+ C.displayName = a;
22
+ const d = s + "CollectionItemSlot", R = "data-radix-collection-item", T = x(d), I = r.forwardRef(
23
+ (c, e) => {
24
+ const { scope: l, children: o, ...t } = c, n = r.useRef(null), S = M(e, n), i = f(d, l);
25
+ return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ u(T, { [R]: "", ref: S, children: o });
26
+ }
27
+ );
28
+ I.displayName = d;
29
+ function O(c) {
30
+ const e = f(s + "CollectionConsumer", c);
31
+ return r.useCallback(() => {
32
+ const o = e.collectionRef.current;
33
+ if (!o) return [];
34
+ const t = Array.from(o.querySelectorAll(`[${R}]`));
35
+ return Array.from(e.itemMap.values()).sort(
36
+ (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
37
+ );
38
+ }, [e.collectionRef, e.itemMap]);
39
+ }
40
+ return [
41
+ { Provider: p, Slot: C, ItemSlot: I },
42
+ O,
43
+ N
44
+ ];
12
45
  }
13
46
  export {
14
- s as useIsHydrated
47
+ g as createCollection
15
48
  };
package/dist/index102.js CHANGED
@@ -1,8 +1,57 @@
1
- import * as u from "react";
2
- function t(r) {
3
- const e = u.useRef({ value: r, previous: r });
4
- return u.useMemo(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [r]);
1
+ import * as i from "react";
2
+ import { jsx as _ } from "react/jsx-runtime";
3
+ function $(e, x = []) {
4
+ let o = [];
5
+ function f(r, n) {
6
+ const t = i.createContext(n);
7
+ t.displayName = r + "Context";
8
+ const c = o.length;
9
+ o = [...o, n];
10
+ const m = (a) => {
11
+ var l;
12
+ const { scope: s, children: C, ...p } = a, d = ((l = s == null ? void 0 : s[e]) == null ? void 0 : l[c]) || t, v = i.useMemo(() => p, Object.values(p));
13
+ return /* @__PURE__ */ _(d.Provider, { value: v, children: C });
14
+ };
15
+ m.displayName = r + "Provider";
16
+ function S(a, s) {
17
+ var d;
18
+ const C = ((d = s == null ? void 0 : s[e]) == null ? void 0 : d[c]) || t, p = i.useContext(C);
19
+ if (p) return p;
20
+ if (n !== void 0) return n;
21
+ throw new Error(`\`${a}\` must be used within \`${r}\``);
22
+ }
23
+ return [m, S];
24
+ }
25
+ const u = () => {
26
+ const r = o.map((n) => i.createContext(n));
27
+ return function(t) {
28
+ const c = (t == null ? void 0 : t[e]) || r;
29
+ return i.useMemo(
30
+ () => ({ [`__scope${e}`]: { ...t, [e]: c } }),
31
+ [t, c]
32
+ );
33
+ };
34
+ };
35
+ return u.scopeName = e, [f, h(u, ...x)];
36
+ }
37
+ function h(...e) {
38
+ const x = e[0];
39
+ if (e.length === 1) return x;
40
+ const o = () => {
41
+ const f = e.map((u) => ({
42
+ useScope: u(),
43
+ scopeName: u.scopeName
44
+ }));
45
+ return function(r) {
46
+ const n = f.reduce((t, { useScope: c, scopeName: m }) => {
47
+ const a = c(r)[`__scope${m}`];
48
+ return { ...t, ...a };
49
+ }, {});
50
+ return i.useMemo(() => ({ [`__scope${x.scopeName}`]: n }), [n]);
51
+ };
52
+ };
53
+ return o.scopeName = x.scopeName, o;
5
54
  }
6
55
  export {
7
- t as usePrevious
56
+ $ as createContextScope
8
57
  };
package/dist/index103.js CHANGED
@@ -1,27 +1,32 @@
1
- import * as h from "react";
2
- import { useLayoutEffect as z } from "./index93.js";
3
- function c(r) {
4
- const [d, e] = h.useState(void 0);
5
- return z(() => {
6
- if (r) {
7
- e({ width: r.offsetWidth, height: r.offsetHeight });
8
- const f = new ResizeObserver((i) => {
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 * as f from "react";
2
+ import "react-dom";
3
+ import { createSlot as l } from "./index36.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
+ }, {});
25
30
  export {
26
- c as useSize
31
+ w as Primitive
27
32
  };
package/dist/index104.js CHANGED
@@ -1,11 +1,32 @@
1
- import "react";
2
- import { jsx as e, Fragment as o } from "react/jsx-runtime";
3
- var l = Symbol("radix.slottable");
4
- // @__NO_SIDE_EFFECTS__
5
- function n(r) {
6
- const t = ({ children: a }) => /* @__PURE__ */ e(o, { children: a });
7
- return t.displayName = `${r}.Slottable`, t.__radixId = l, t;
8
- }
1
+ import * as f from "react";
2
+ import "react-dom";
3
+ import { createSlot as l } from "./index36.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
- n as createSlottable
31
+ w as Primitive
11
32
  };