@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.
Files changed (234) 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 +223 -287
  42. package/dist/hooks/use-font-loaded.d.ts +2 -0
  43. package/dist/hooks/use-font-loaded.d.ts.map +1 -0
  44. package/dist/index.d.ts +2 -10
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +118 -185
  47. package/dist/index10.js +28 -51
  48. package/dist/index100.js +14 -30
  49. package/dist/index101.js +47 -12
  50. package/dist/index102.js +50 -6
  51. package/dist/index103.js +9 -25
  52. package/dist/index104.js +30 -9
  53. package/dist/index105.js +9 -9
  54. package/dist/index106.js +8 -3
  55. package/dist/index107.js +30 -30
  56. package/dist/index108.js +54 -8
  57. package/dist/index109.js +30 -30
  58. package/dist/index11.js +26 -16
  59. package/dist/index110.js +44 -51
  60. package/dist/index111.js +47 -29
  61. package/dist/index112.js +1 -1
  62. package/dist/index113.js +1 -1
  63. package/dist/index114.js +6 -48
  64. package/dist/index115.js +1 -1
  65. package/dist/index117.js +1 -1
  66. package/dist/index118.js +3 -3
  67. package/dist/index119.js +2 -48
  68. package/dist/index12.js +6 -5
  69. package/dist/index120.js +53 -6
  70. package/dist/index121.js +62 -18
  71. package/dist/index122.js +25 -9
  72. package/dist/index123.js +29 -38
  73. package/dist/index124.js +5 -18
  74. package/dist/index125.js +2 -25
  75. package/dist/index126.js +2 -29
  76. package/dist/index127.js +5 -5
  77. package/dist/index128.js +3 -2
  78. package/dist/index129.js +22 -51
  79. package/dist/index13.js +77 -134
  80. package/dist/index130.js +108 -60
  81. package/dist/index131.js +16 -2
  82. package/dist/index132.js +525 -2
  83. package/dist/index133.js +128 -5
  84. package/dist/index134.js +134 -3
  85. package/dist/index135.js +63 -22
  86. package/dist/index136.js +66 -110
  87. package/dist/index137.js +8 -15
  88. package/dist/index138.js +11 -522
  89. package/dist/index139.js +65 -127
  90. package/dist/index14.js +13 -97
  91. package/dist/index140.js +3 -133
  92. package/dist/index141.js +19 -61
  93. package/dist/index142.js +22 -68
  94. package/dist/index143.js +11 -7
  95. package/dist/index144.js +28 -14
  96. package/dist/index145.js +4 -65
  97. package/dist/index15.js +12 -71
  98. package/dist/index16.js +19 -254
  99. package/dist/index17.js +32 -138
  100. package/dist/index18.js +25 -89
  101. package/dist/index19.js +37 -18
  102. package/dist/index2.js +5 -5
  103. package/dist/index20.js +139 -10
  104. package/dist/index21.js +18 -19
  105. package/dist/index22.js +13 -35
  106. package/dist/index23.js +24 -22
  107. package/dist/index24.js +13 -34
  108. package/dist/index25.js +31 -114
  109. package/dist/index26.js +32 -16
  110. package/dist/index27.js +14 -74
  111. package/dist/index28.js +15 -12
  112. package/dist/index29.js +24 -29
  113. package/dist/index3.js +10 -22
  114. package/dist/index30.js +97 -108
  115. package/dist/index31.js +39 -25
  116. package/dist/index32.js +11 -65
  117. package/dist/index33.js +49 -44
  118. package/dist/index34.js +65 -85
  119. package/dist/index35.js +234 -15
  120. package/dist/index38.js +71 -98
  121. package/dist/index4.js +22 -37
  122. package/dist/index43.js +58 -13
  123. package/dist/index45.js +219 -207
  124. package/dist/index48.js +530 -9
  125. package/dist/index5.js +51 -34
  126. package/dist/index50.js +18 -11
  127. package/dist/index52.js +229 -298
  128. package/dist/index54.js +218 -100
  129. package/dist/index57.js +115 -245
  130. package/dist/index59.js +22 -12
  131. package/dist/index6.js +21 -75
  132. package/dist/index61.js +325 -119
  133. package/dist/index63.js +74 -117
  134. package/dist/index65.js +409 -210
  135. package/dist/index67.js +234 -311
  136. package/dist/index69.js +112 -16
  137. package/dist/index7.js +22 -27
  138. package/dist/index71.js +146 -67
  139. package/dist/index73.js +30 -434
  140. package/dist/index76.js +854 -62
  141. package/dist/index78.js +64 -23
  142. package/dist/index79.js +44 -5
  143. package/dist/index8.js +6 -27
  144. package/dist/index80.js +24 -49
  145. package/dist/index81.js +6 -33
  146. package/dist/index82.js +51 -10
  147. package/dist/index83.js +33 -7
  148. package/dist/index84.js +10 -124
  149. package/dist/index85.js +7 -14
  150. package/dist/index86.js +50 -130
  151. package/dist/index87.js +10 -218
  152. package/dist/index88.js +4 -14
  153. package/dist/index89.js +29 -68
  154. package/dist/index9.js +19 -34
  155. package/dist/index90.js +12 -47
  156. package/dist/index91.js +6 -50
  157. package/dist/index92.js +25 -9
  158. package/dist/index93.js +68 -3
  159. package/dist/index94.js +3 -649
  160. package/dist/index95.js +30 -15
  161. package/dist/index96.js +124 -29
  162. package/dist/index97.js +13 -46
  163. package/dist/index98.js +130 -50
  164. package/dist/index99.js +218 -10
  165. package/dist/lib/utils.d.ts +8 -8
  166. package/dist/lib/utils.d.ts.map +1 -1
  167. package/package.json +5 -46
  168. package/dist/components/ui/alert-dialog/alert-dialog.d.ts +0 -21
  169. package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +0 -1
  170. package/dist/components/ui/alert-dialog/index.d.ts +0 -2
  171. package/dist/components/ui/alert-dialog/index.d.ts.map +0 -1
  172. package/dist/components/ui/combobox/combobox.d.ts +0 -31
  173. package/dist/components/ui/combobox/combobox.d.ts.map +0 -1
  174. package/dist/components/ui/combobox/index.d.ts +0 -3
  175. package/dist/components/ui/combobox/index.d.ts.map +0 -1
  176. package/dist/components/ui/command/command.d.ts +0 -85
  177. package/dist/components/ui/command/command.d.ts.map +0 -1
  178. package/dist/components/ui/command/index.d.ts +0 -2
  179. package/dist/components/ui/command/index.d.ts.map +0 -1
  180. package/dist/components/ui/dithered-image/dithered-image.d.ts +0 -21
  181. package/dist/components/ui/dithered-image/dithered-image.d.ts.map +0 -1
  182. package/dist/components/ui/dithered-image/index.d.ts +0 -3
  183. package/dist/components/ui/dithered-image/index.d.ts.map +0 -1
  184. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -28
  185. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +0 -1
  186. package/dist/components/ui/dropdown-menu/index.d.ts +0 -2
  187. package/dist/components/ui/dropdown-menu/index.d.ts.map +0 -1
  188. package/dist/components/ui/form/form.d.ts +0 -24
  189. package/dist/components/ui/form/form.d.ts.map +0 -1
  190. package/dist/components/ui/form/index.d.ts +0 -2
  191. package/dist/components/ui/form/index.d.ts.map +0 -1
  192. package/dist/components/ui/sheet/index.d.ts +0 -2
  193. package/dist/components/ui/sheet/index.d.ts.map +0 -1
  194. package/dist/components/ui/sheet/sheet.d.ts +0 -26
  195. package/dist/components/ui/sheet/sheet.d.ts.map +0 -1
  196. package/dist/components/ui/statusline/index.d.ts +0 -2
  197. package/dist/components/ui/statusline/index.d.ts.map +0 -1
  198. package/dist/components/ui/statusline/statusline.d.ts +0 -40
  199. package/dist/components/ui/statusline/statusline.d.ts.map +0 -1
  200. package/dist/components/ui/terminal-textarea/index.d.ts +0 -2
  201. package/dist/components/ui/terminal-textarea/index.d.ts.map +0 -1
  202. package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts +0 -16
  203. package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +0 -1
  204. package/dist/index146.js +0 -6
  205. package/dist/index147.js +0 -25
  206. package/dist/index148.js +0 -25
  207. package/dist/index149.js +0 -15
  208. package/dist/index150.js +0 -30
  209. package/dist/index151.js +0 -7
  210. package/dist/index36.js +0 -37
  211. package/dist/index37.js +0 -28
  212. package/dist/index39.js +0 -41
  213. package/dist/index40.js +0 -13
  214. package/dist/index41.js +0 -51
  215. package/dist/index42.js +0 -68
  216. package/dist/index44.js +0 -2265
  217. package/dist/index46.js +0 -13
  218. package/dist/index47.js +0 -227
  219. package/dist/index49.js +0 -13
  220. package/dist/index51.js +0 -243
  221. package/dist/index53.js +0 -14
  222. package/dist/index55.js +0 -20
  223. package/dist/index56.js +0 -35
  224. package/dist/index58.js +0 -14
  225. package/dist/index60.js +0 -75
  226. package/dist/index62.js +0 -62
  227. package/dist/index64.js +0 -256
  228. package/dist/index66.js +0 -532
  229. package/dist/index68.js +0 -251
  230. package/dist/index70.js +0 -163
  231. package/dist/index72.js +0 -33
  232. package/dist/index74.js +0 -862
  233. package/dist/index75.js +0 -11
  234. package/dist/index77.js +0 -48
package/dist/index.js CHANGED
@@ -1,188 +1,121 @@
1
- import { cn as r } from "./index2.js";
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";
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
- 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,
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 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
- )
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
- 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 })
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
- 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
- )
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
- 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
- )
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
- f.displayName = "CardDescription";
44
- const p = t.forwardRef(
45
- ({ className: r, ...a }, e) => /* @__PURE__ */ d("div", { ref: e, className: o("p-6", r), ...a })
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
- 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 })
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
- c.displayName = "CardFooter";
28
+ f.displayName = "CardFooter";
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
+ 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 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 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
- w as Primitive
15
+ d as Portal
32
16
  };
package/dist/index101.js CHANGED
@@ -1,15 +1,50 @@
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 () => {
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
- s as useIsHydrated
49
+ b as createSlot
15
50
  };
package/dist/index102.js CHANGED
@@ -1,8 +1,52 @@
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
- }
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
- t as usePrevious
51
+ C as hideOthers
8
52
  };
package/dist/index103.js CHANGED
@@ -1,27 +1,11 @@
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 { __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
- c as useSize
10
+ s as default
27
11
  };
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 "./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
- n as createSlottable
31
+ w as Primitive
11
32
  };