@drjoshcsimmons/scl 0.1.14 → 0.2.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 (258) hide show
  1. package/LICENSE +1 -1
  2. package/dist/components/ui/accordion/accordion.d.ts +1 -1
  3. package/dist/components/ui/accordion/accordion.d.ts.map +1 -1
  4. package/dist/components/ui/accordion/index.d.ts +1 -1
  5. package/dist/components/ui/accordion/index.d.ts.map +1 -1
  6. package/dist/components/ui/alert/alert.d.ts.map +1 -1
  7. package/dist/components/ui/alert/index.d.ts +1 -1
  8. package/dist/components/ui/alert/index.d.ts.map +1 -1
  9. package/dist/components/ui/alert-dialog/alert-dialog.d.ts +2 -2
  10. package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +1 -1
  11. package/dist/components/ui/alert-dialog/index.d.ts +1 -1
  12. package/dist/components/ui/alert-dialog/index.d.ts.map +1 -1
  13. package/dist/components/ui/avatar/avatar.d.ts +1 -1
  14. package/dist/components/ui/avatar/avatar.d.ts.map +1 -1
  15. package/dist/components/ui/avatar/index.d.ts +1 -1
  16. package/dist/components/ui/avatar/index.d.ts.map +1 -1
  17. package/dist/components/ui/badge/badge.d.ts +1 -1
  18. package/dist/components/ui/badge/badge.d.ts.map +1 -1
  19. package/dist/components/ui/badge/index.d.ts +1 -1
  20. package/dist/components/ui/badge/index.d.ts.map +1 -1
  21. package/dist/components/ui/button/button.d.ts.map +1 -1
  22. package/dist/components/ui/button/index.d.ts +1 -1
  23. package/dist/components/ui/button/index.d.ts.map +1 -1
  24. package/dist/components/ui/card/card.d.ts.map +1 -1
  25. package/dist/components/ui/card/index.d.ts +1 -1
  26. package/dist/components/ui/card/index.d.ts.map +1 -1
  27. package/dist/components/ui/checkbox/checkbox.d.ts +1 -1
  28. package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -1
  29. package/dist/components/ui/checkbox/index.d.ts.map +1 -1
  30. package/dist/components/ui/collapsible/collapsible.d.ts.map +1 -1
  31. package/dist/components/ui/collapsible/index.d.ts +1 -1
  32. package/dist/components/ui/collapsible/index.d.ts.map +1 -1
  33. package/dist/components/ui/combobox/combobox.d.ts.map +1 -1
  34. package/dist/components/ui/combobox/index.d.ts +1 -1
  35. package/dist/components/ui/combobox/index.d.ts.map +1 -1
  36. package/dist/components/ui/command/command.d.ts.map +1 -1
  37. package/dist/components/ui/command/index.d.ts +1 -1
  38. package/dist/components/ui/command/index.d.ts.map +1 -1
  39. package/dist/components/ui/dialog/dialog.d.ts +1 -1
  40. package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
  41. package/dist/components/ui/dialog/index.d.ts +1 -1
  42. package/dist/components/ui/dialog/index.d.ts.map +1 -1
  43. package/dist/components/ui/dithered-image/dithered-image.d.ts.map +1 -1
  44. package/dist/components/ui/dithered-image/index.d.ts +1 -1
  45. package/dist/components/ui/dithered-image/index.d.ts.map +1 -1
  46. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +1 -1
  47. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  48. package/dist/components/ui/dropdown-menu/index.d.ts +1 -1
  49. package/dist/components/ui/dropdown-menu/index.d.ts.map +1 -1
  50. package/dist/components/ui/form/form.d.ts +1 -1
  51. package/dist/components/ui/form/form.d.ts.map +1 -1
  52. package/dist/components/ui/form/index.d.ts +1 -1
  53. package/dist/components/ui/form/index.d.ts.map +1 -1
  54. package/dist/components/ui/input/index.d.ts.map +1 -1
  55. package/dist/components/ui/input/input.d.ts.map +1 -1
  56. package/dist/components/ui/label/index.d.ts.map +1 -1
  57. package/dist/components/ui/label/label.d.ts +1 -1
  58. package/dist/components/ui/label/label.d.ts.map +1 -1
  59. package/dist/components/ui/popover/index.d.ts +1 -1
  60. package/dist/components/ui/popover/index.d.ts.map +1 -1
  61. package/dist/components/ui/popover/popover.d.ts +1 -1
  62. package/dist/components/ui/popover/popover.d.ts.map +1 -1
  63. package/dist/components/ui/progress/index.d.ts.map +1 -1
  64. package/dist/components/ui/progress/progress.d.ts +1 -1
  65. package/dist/components/ui/progress/progress.d.ts.map +1 -1
  66. package/dist/components/ui/radio-group/index.d.ts.map +1 -1
  67. package/dist/components/ui/radio-group/radio-group.d.ts +1 -1
  68. package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -1
  69. package/dist/components/ui/scroll-area/index.d.ts.map +1 -1
  70. package/dist/components/ui/scroll-area/scroll-area.d.ts +1 -1
  71. package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -1
  72. package/dist/components/ui/select/index.d.ts +1 -1
  73. package/dist/components/ui/select/index.d.ts.map +1 -1
  74. package/dist/components/ui/select/select.d.ts +1 -1
  75. package/dist/components/ui/select/select.d.ts.map +1 -1
  76. package/dist/components/ui/separator/index.d.ts.map +1 -1
  77. package/dist/components/ui/separator/separator.d.ts +1 -1
  78. package/dist/components/ui/separator/separator.d.ts.map +1 -1
  79. package/dist/components/ui/sheet/index.d.ts +1 -1
  80. package/dist/components/ui/sheet/index.d.ts.map +1 -1
  81. package/dist/components/ui/sheet/sheet.d.ts +2 -2
  82. package/dist/components/ui/sheet/sheet.d.ts.map +1 -1
  83. package/dist/components/ui/skeleton/index.d.ts.map +1 -1
  84. package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
  85. package/dist/components/ui/slider/index.d.ts.map +1 -1
  86. package/dist/components/ui/slider/slider.d.ts +1 -1
  87. package/dist/components/ui/slider/slider.d.ts.map +1 -1
  88. package/dist/components/ui/statusline/index.d.ts.map +1 -1
  89. package/dist/components/ui/statusline/statusline.d.ts.map +1 -1
  90. package/dist/components/ui/switch/index.d.ts.map +1 -1
  91. package/dist/components/ui/switch/switch.d.ts +1 -1
  92. package/dist/components/ui/switch/switch.d.ts.map +1 -1
  93. package/dist/components/ui/table/index.d.ts +1 -1
  94. package/dist/components/ui/table/index.d.ts.map +1 -1
  95. package/dist/components/ui/table/table.d.ts +1 -1
  96. package/dist/components/ui/table/table.d.ts.map +1 -1
  97. package/dist/components/ui/tabs/index.d.ts +1 -1
  98. package/dist/components/ui/tabs/index.d.ts.map +1 -1
  99. package/dist/components/ui/tabs/tabs.d.ts +1 -1
  100. package/dist/components/ui/tabs/tabs.d.ts.map +1 -1
  101. package/dist/components/ui/terminal-textarea/index.d.ts.map +1 -1
  102. package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +1 -1
  103. package/dist/components/ui/textarea/index.d.ts.map +1 -1
  104. package/dist/components/ui/textarea/textarea.d.ts.map +1 -1
  105. package/dist/components/ui/toggle/index.d.ts.map +1 -1
  106. package/dist/components/ui/toggle/toggle.d.ts +1 -1
  107. package/dist/components/ui/toggle/toggle.d.ts.map +1 -1
  108. package/dist/components/ui/tooltip/index.d.ts +1 -1
  109. package/dist/components/ui/tooltip/index.d.ts.map +1 -1
  110. package/dist/components/ui/tooltip/tooltip.d.ts +1 -1
  111. package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
  112. package/dist/index.d.ts.map +1 -1
  113. package/dist/index.js +12 -12
  114. package/dist/index10.js +42 -44
  115. package/dist/index100.js +4 -13
  116. package/dist/index101.js +30 -9
  117. package/dist/index102.js +13 -30
  118. package/dist/index103.js +649 -3
  119. package/dist/index104.js +30 -25
  120. package/dist/index105.js +3 -5
  121. package/dist/index106.js +44 -51
  122. package/dist/index107.js +30 -30
  123. package/dist/index108.js +55 -30
  124. package/dist/index109.js +29 -47
  125. package/dist/index11.js +5 -11
  126. package/dist/index110.js +44 -646
  127. package/dist/index113.js +47 -11
  128. package/dist/index114.js +42 -200
  129. package/dist/index115.js +12 -22
  130. package/dist/index116.js +194 -388
  131. package/dist/index117.js +21 -47
  132. package/dist/index118.js +392 -40
  133. package/dist/index119.js +6 -21
  134. package/dist/index12.js +2 -2
  135. package/dist/index120.js +48 -9
  136. package/dist/index121.js +15 -32
  137. package/dist/index122.js +3 -12
  138. package/dist/index123.js +38 -6
  139. package/dist/index124.js +18 -48
  140. package/dist/index126.js +3 -3
  141. package/dist/index127.js +3 -3
  142. package/dist/index129.js +1 -1
  143. package/dist/index13.js +2 -2
  144. package/dist/index130.js +1 -1
  145. package/dist/index131.js +2 -5
  146. package/dist/index132.js +2 -3
  147. package/dist/index133.js +5 -24
  148. package/dist/index134.js +3 -113
  149. package/dist/index135.js +23 -15
  150. package/dist/index136.js +107 -519
  151. package/dist/index137.js +14 -126
  152. package/dist/index138.js +516 -125
  153. package/dist/index139.js +128 -2
  154. package/dist/index14.js +4 -13
  155. package/dist/index140.js +134 -2
  156. package/dist/index141.js +65 -69
  157. package/dist/index142.js +68 -8
  158. package/dist/index143.js +9 -14
  159. package/dist/index144.js +14 -66
  160. package/dist/index145.js +65 -64
  161. package/dist/index15.js +43 -67
  162. package/dist/index16.js +3 -30
  163. package/dist/index17.js +75 -80
  164. package/dist/index18.js +11 -13
  165. package/dist/index19.js +4 -4
  166. package/dist/index20.js +5 -12
  167. package/dist/index21.js +15 -15
  168. package/dist/index22.js +21 -24
  169. package/dist/index23.js +7 -14
  170. package/dist/index24.js +11 -11
  171. package/dist/index25.js +66 -72
  172. package/dist/index26.js +15 -17
  173. package/dist/index27.js +57 -51
  174. package/dist/index28.js +2 -10
  175. package/dist/index29.js +9 -12
  176. package/dist/index3.js +18 -18
  177. package/dist/index30.js +27 -60
  178. package/dist/index31.js +15 -15
  179. package/dist/index32.js +24 -47
  180. package/dist/index33.js +16 -16
  181. package/dist/index34.js +1 -4
  182. package/dist/index36.js +11 -11
  183. package/dist/index37.js +21 -18
  184. package/dist/index38.js +99 -38
  185. package/dist/index39.js +37 -64
  186. package/dist/index4.js +24 -31
  187. package/dist/index40.js +10 -48
  188. package/dist/index41.js +48 -99
  189. package/dist/index42.js +65 -10
  190. package/dist/index45.js +237 -33
  191. package/dist/index46.js +11 -241
  192. package/dist/index47.js +33 -237
  193. package/dist/index48.js +241 -11
  194. package/dist/index49.js +16 -258
  195. package/dist/index5.js +13 -26
  196. package/dist/index50.js +125 -12
  197. package/dist/index51.js +25 -524
  198. package/dist/index52.js +71 -20
  199. package/dist/index53.js +206 -131
  200. package/dist/index54.js +11 -73
  201. package/dist/index55.js +54 -330
  202. package/dist/index56.js +249 -231
  203. package/dist/index57.js +225 -11
  204. package/dist/index58.js +9 -82
  205. package/dist/index59.js +11 -249
  206. package/dist/index6.js +66 -36
  207. package/dist/index60.js +130 -9
  208. package/dist/index61.js +21 -129
  209. package/dist/index62.js +860 -18
  210. package/dist/index63.js +9 -860
  211. package/dist/index64.js +82 -9
  212. package/dist/index65.js +256 -27
  213. package/dist/index66.js +12 -435
  214. package/dist/index67.js +244 -55
  215. package/dist/index68.js +7 -7
  216. package/dist/index69.js +511 -206
  217. package/dist/index7.js +5 -5
  218. package/dist/index70.js +5 -4
  219. package/dist/index71.js +435 -12
  220. package/dist/index72.js +318 -107
  221. package/dist/index73.js +3 -3
  222. package/dist/index74.js +1 -1
  223. package/dist/index75.js +156 -249
  224. package/dist/index76.js +66 -5
  225. package/dist/index77.js +44 -25
  226. package/dist/index78.js +23 -64
  227. package/dist/index79.js +5 -123
  228. package/dist/index8.js +5 -5
  229. package/dist/index80.js +50 -13
  230. package/dist/index81.js +32 -133
  231. package/dist/index82.js +1 -1
  232. package/dist/index83.js +7 -218
  233. package/dist/index84.js +124 -13
  234. package/dist/index85.js +13 -67
  235. package/dist/index86.js +133 -32
  236. package/dist/index87.js +216 -45
  237. package/dist/index88.js +14 -52
  238. package/dist/index89.js +66 -47
  239. package/dist/index9.js +19 -26
  240. package/dist/index90.js +48 -9
  241. package/dist/index91.js +49 -45
  242. package/dist/index92.js +9 -8
  243. package/dist/index93.js +29 -47
  244. package/dist/index94.js +9 -30
  245. package/dist/index95.js +8 -8
  246. package/dist/index96.js +24 -54
  247. package/dist/index97.js +5 -10
  248. package/dist/index98.js +55 -4
  249. package/dist/index99.js +11 -30
  250. package/dist/lib/utils.d.ts.map +1 -1
  251. package/dist/tokens/animations.d.ts.map +1 -1
  252. package/dist/tokens/colors.d.ts.map +1 -1
  253. package/dist/tokens/index.d.ts +3 -3
  254. package/dist/tokens/index.d.ts.map +1 -1
  255. package/dist/tokens/shadows.d.ts.map +1 -1
  256. package/dist/tokens/spacing.d.ts.map +1 -1
  257. package/dist/tokens/typography.d.ts.map +1 -1
  258. package/package.json +19 -9
package/dist/index21.js CHANGED
@@ -1,24 +1,24 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import * as s from "react";
3
- import { Root as d, Trigger as m, Anchor as p, Portal as c, Content as t } from "./index46.js";
4
- import { cn as l } from "./index2.js";
5
- const P = d, u = m, v = p, f = s.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, ...i }, n) => /* @__PURE__ */ o(c, { children: /* @__PURE__ */ o(
6
- t,
2
+ import { Root as c, Anchor as m, Trigger as s, Portal as i, Content as r } from "./index48.js";
3
+ import * as l from "react";
4
+ import { cn as d } from "./index2.js";
5
+ const h = c, v = s, y = m, f = l.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...a }, p) => /* @__PURE__ */ o(i, { children: /* @__PURE__ */ o(
6
+ r,
7
7
  {
8
- ref: n,
9
- align: a,
10
- sideOffset: r,
11
- className: l(
12
- "z-50 w-72 border-2 border-primary bg-black p-4 text-primary outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
8
+ ref: p,
9
+ align: t,
10
+ sideOffset: n,
11
+ className: d(
12
+ "z-50 w-72 border-2 border-primary bg-black p-4 text-primary outline-none",
13
13
  e
14
14
  ),
15
- ...i
15
+ ...a
16
16
  }
17
17
  ) }));
18
- f.displayName = t.displayName;
18
+ f.displayName = r.displayName;
19
19
  export {
20
- P as Popover,
21
- v as PopoverAnchor,
20
+ h as Popover,
21
+ y as PopoverAnchor,
22
22
  f as PopoverContent,
23
- u as PopoverTrigger
23
+ v as PopoverTrigger
24
24
  };
package/dist/index22.js CHANGED
@@ -1,33 +1,30 @@
1
- import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import * as m from "react";
3
- import { Root as d, Indicator as l } from "./index58.js";
1
+ import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
+ import { Root as n, Indicator as d } from "./index64.js";
3
+ import * as l from "react";
4
4
  import { cn as c } from "./index2.js";
5
- const f = m.forwardRef(
6
- ({
7
- className: s,
8
- value: t = 0,
9
- showPercentage: i = !1,
10
- label: r,
11
- ...a
12
- }, n) => /* @__PURE__ */ o("div", { className: "w-full min-w-[200px]", children: [
13
- (r || i) && /* @__PURE__ */ o("div", { className: "flex justify-center items-center gap-2 mb-2 font-mono text-sm font-bold text-primary", children: [
14
- r && /* @__PURE__ */ e("span", { children: r }),
15
- i && /* @__PURE__ */ o("span", { children: [
16
- Math.round(t),
5
+ const f = l.forwardRef(
6
+ ({ className: i, value: s = 0, showPercentage: t = !1, label: r, ...m }, a) => /* @__PURE__ */ e("div", { className: "w-full min-w-[200px]", children: [
7
+ (r || t) && /* @__PURE__ */ e("div", { className: "flex justify-center items-center gap-2 mb-2 font-mono text-sm font-bold text-primary", children: [
8
+ r && /* @__PURE__ */ o("span", { children: r }),
9
+ t && /* @__PURE__ */ e("span", { children: [
10
+ Math.round(s),
17
11
  "%"
18
12
  ] })
19
13
  ] }),
20
- /* @__PURE__ */ e(
21
- d,
14
+ /* @__PURE__ */ o(
15
+ n,
22
16
  {
23
- ref: n,
24
- className: c("relative h-6 w-full overflow-hidden bg-background border-2 border-primary", s),
25
- ...a,
26
- children: /* @__PURE__ */ e(
27
- l,
17
+ ref: a,
18
+ className: c(
19
+ "relative h-6 w-full overflow-hidden bg-background border-2 border-primary",
20
+ i
21
+ ),
22
+ ...m,
23
+ children: /* @__PURE__ */ o(
24
+ d,
28
25
  {
29
- className: "h-full bg-primary transition-all duration-200",
30
- style: { width: `${t}%` }
26
+ className: "h-full bg-primary",
27
+ style: { width: `${s}%` }
31
28
  }
32
29
  )
33
30
  }
package/dist/index23.js CHANGED
@@ -1,19 +1,12 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import * as i from "react";
3
- import { Root as t, Item as s, Indicator as d } from "./index56.js";
2
+ import { Root as i, Item as t, Indicator as d } from "./index53.js";
3
+ import * as s from "react";
4
4
  import { cn as m } from "./index2.js";
5
- import l from "./index57.js";
6
- const c = i.forwardRef(({ className: e, ...o }, a) => /* @__PURE__ */ r(
5
+ import l from "./index54.js";
6
+ const c = s.forwardRef(({ className: e, ...o }, a) => /* @__PURE__ */ r(i, { className: m("grid gap-2", e), ...o, ref: a }));
7
+ c.displayName = i.displayName;
8
+ const n = s.forwardRef(({ className: e, ...o }, a) => /* @__PURE__ */ r(
7
9
  t,
8
- {
9
- className: m("grid gap-2", e),
10
- ...o,
11
- ref: a
12
- }
13
- ));
14
- c.displayName = t.displayName;
15
- const n = i.forwardRef(({ className: e, ...o }, a) => /* @__PURE__ */ r(
16
- s,
17
10
  {
18
11
  ref: a,
19
12
  className: m(
@@ -24,7 +17,7 @@ const n = i.forwardRef(({ className: e, ...o }, a) => /* @__PURE__ */ r(
24
17
  children: /* @__PURE__ */ r(d, { className: "flex items-center justify-center", children: /* @__PURE__ */ r(l, { className: "h-3 w-3 fill-primary-foreground text-primary-foreground" }) })
25
18
  }
26
19
  ));
27
- n.displayName = s.displayName;
20
+ n.displayName = t.displayName;
28
21
  export {
29
22
  c as RadioGroup,
30
23
  n as RadioGroupItem
package/dist/index24.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
- import * as i from "react";
3
- import { Root as s, Viewport as p, Corner as d, ScrollAreaScrollbar as c, ScrollAreaThumb as f } from "./index51.js";
2
+ import { Root as i, Viewport as p, Corner as d, ScrollAreaScrollbar as c, ScrollAreaThumb as f } from "./index69.js";
3
+ import * as s from "react";
4
4
  import { cn as n } from "./index2.js";
5
- const h = i.forwardRef(({ className: l, children: e, ...o }, a) => /* @__PURE__ */ m(
6
- s,
5
+ const h = s.forwardRef(({ className: l, children: e, ...a }, o) => /* @__PURE__ */ m(
6
+ i,
7
7
  {
8
- ref: a,
8
+ ref: o,
9
9
  className: n("relative overflow-hidden", l),
10
- ...o,
10
+ ...a,
11
11
  children: [
12
12
  /* @__PURE__ */ r(p, { className: "h-full w-full rounded-[inherit]", children: e }),
13
13
  /* @__PURE__ */ r(t, { orientation: "vertical" }),
@@ -16,19 +16,19 @@ const h = i.forwardRef(({ className: l, children: e, ...o }, a) => /* @__PURE__
16
16
  ]
17
17
  }
18
18
  ));
19
- h.displayName = s.displayName;
20
- const t = i.forwardRef(({ className: l, orientation: e = "vertical", ...o }, a) => /* @__PURE__ */ r(
19
+ h.displayName = i.displayName;
20
+ const t = s.forwardRef(({ className: l, orientation: e = "vertical", ...a }, o) => /* @__PURE__ */ r(
21
21
  c,
22
22
  {
23
- ref: a,
23
+ ref: o,
24
24
  orientation: e,
25
25
  className: n(
26
- "flex touch-none select-none transition-colors",
26
+ "flex touch-none select-none",
27
27
  e === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
28
28
  e === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
29
29
  l
30
30
  ),
31
- ...o,
31
+ ...a,
32
32
  children: /* @__PURE__ */ r(f, { className: "relative flex-1 bg-primary" })
33
33
  }
34
34
  ));
package/dist/index25.js CHANGED
@@ -1,123 +1,117 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import * as s from "react";
3
- import { Root as N, Group as b, Value as g, Trigger as d, Icon as S, Portal as v, Content as m, Viewport as R, Label as n, Item as c, ItemIndicator as C, ItemText as j, Separator as p, ScrollUpButton as f, ScrollDownButton as y } from "./index63.js";
4
- import { cn as o } from "./index2.js";
5
- import u from "./index48.js";
6
- import I from "./index60.js";
7
- import B from "./index64.js";
8
- const E = N, F = b, H = g, k = s.forwardRef(({ className: a, children: r, ...t }, l) => /* @__PURE__ */ i(
9
- d,
1
+ import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
+ import { Root as N, Group as b, Value as g, Portal as S, Content as c, Viewport as v, Item as m, ItemIndicator as R, ItemText as C, Label as n, ScrollDownButton as p, ScrollUpButton as d, Separator as f, Trigger as y, Icon as j } from "./index62.js";
3
+ import * as o from "react";
4
+ import { cn as l } from "./index2.js";
5
+ import I from "./index58.js";
6
+ import u from "./index46.js";
7
+ import B from "./index63.js";
8
+ const E = N, F = b, H = g, k = o.forwardRef(({ className: t, children: a, ...r }, s) => /* @__PURE__ */ i(
9
+ y,
10
10
  {
11
- ref: l,
12
- className: o(
11
+ ref: s,
12
+ className: l(
13
13
  "flex h-10 w-full items-center justify-between whitespace-nowrap border-2 border-primary bg-black text-primary px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
14
- a
14
+ t
15
15
  ),
16
- ...t,
16
+ ...r,
17
17
  children: [
18
- r,
19
- /* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-primary" }) })
18
+ a,
19
+ /* @__PURE__ */ e(j, { asChild: !0, children: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-primary" }) })
20
20
  ]
21
21
  }
22
22
  ));
23
- k.displayName = d.displayName;
24
- const h = s.forwardRef(({ className: a, ...r }, t) => /* @__PURE__ */ e(
25
- f,
23
+ k.displayName = y.displayName;
24
+ const h = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
25
+ d,
26
26
  {
27
- ref: t,
28
- className: o(
29
- "flex cursor-default items-center justify-center py-1",
30
- a
31
- ),
32
- ...r,
27
+ ref: r,
28
+ className: l("flex cursor-default items-center justify-center py-1", t),
29
+ ...a,
33
30
  children: /* @__PURE__ */ e(B, { className: "h-4 w-4 text-primary" })
34
31
  }
35
32
  ));
36
- h.displayName = f.displayName;
37
- const x = s.forwardRef(({ className: a, ...r }, t) => /* @__PURE__ */ e(
38
- y,
33
+ h.displayName = d.displayName;
34
+ const x = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
35
+ p,
39
36
  {
40
- ref: t,
41
- className: o(
42
- "flex cursor-default items-center justify-center py-1",
43
- a
44
- ),
45
- ...r,
37
+ ref: r,
38
+ className: l("flex cursor-default items-center justify-center py-1", t),
39
+ ...a,
46
40
  children: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-primary" })
47
41
  }
48
42
  ));
49
- x.displayName = y.displayName;
50
- const z = s.forwardRef(({ className: a, children: r, position: t = "popper", ...l }, w) => /* @__PURE__ */ e(v, { children: /* @__PURE__ */ i(
51
- m,
43
+ x.displayName = p.displayName;
44
+ const D = o.forwardRef(({ className: t, children: a, position: r = "popper", ...s }, w) => /* @__PURE__ */ e(S, { children: /* @__PURE__ */ i(
45
+ c,
52
46
  {
53
47
  ref: w,
54
- className: o(
55
- "relative z-[60] max-h-96 min-w-[8rem] overflow-hidden border-2 border-primary bg-black text-primary data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
56
- t === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
57
- a
48
+ className: l(
49
+ "relative z-[60] max-h-96 min-w-[8rem] overflow-hidden border-2 border-primary bg-black text-primary",
50
+ r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
51
+ t
58
52
  ),
59
- position: t,
60
- ...l,
53
+ position: r,
54
+ ...s,
61
55
  children: [
62
56
  /* @__PURE__ */ e(h, {}),
63
57
  /* @__PURE__ */ e(
64
- R,
58
+ v,
65
59
  {
66
- className: o(
60
+ className: l(
67
61
  "p-1",
68
- t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
62
+ r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
69
63
  ),
70
- children: r
64
+ children: a
71
65
  }
72
66
  ),
73
67
  /* @__PURE__ */ e(x, {})
74
68
  ]
75
69
  }
76
70
  ) }));
77
- z.displayName = m.displayName;
78
- const D = s.forwardRef(({ className: a, ...r }, t) => /* @__PURE__ */ e(
71
+ D.displayName = c.displayName;
72
+ const T = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
79
73
  n,
80
74
  {
81
- ref: t,
82
- className: o("px-2 py-1.5 text-sm font-semibold", a),
83
- ...r
75
+ ref: r,
76
+ className: l("px-2 py-1.5 text-sm font-semibold", t),
77
+ ...a
84
78
  }
85
79
  ));
86
- D.displayName = n.displayName;
87
- const T = s.forwardRef(({ className: a, children: r, ...t }, l) => /* @__PURE__ */ i(
88
- c,
80
+ T.displayName = n.displayName;
81
+ const U = o.forwardRef(({ className: t, children: a, ...r }, s) => /* @__PURE__ */ i(
82
+ m,
89
83
  {
90
- ref: l,
91
- className: o(
92
- "relative flex w-full cursor-default select-none items-center py-1.5 pl-2 pr-8 text-sm outline-none hover:bg-primary/20 hover:text-primary focus:bg-primary/20 focus:text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
93
- a
84
+ ref: s,
85
+ className: l(
86
+ "relative flex w-full cursor-default select-none items-center py-1.5 pl-2 pr-8 text-sm outline-none hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
87
+ t
94
88
  ),
95
- ...t,
89
+ ...r,
96
90
  children: [
97
- /* @__PURE__ */ e("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(I, { className: "h-4 w-4" }) }) }),
98
- /* @__PURE__ */ e(j, { children: r })
91
+ /* @__PURE__ */ e("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(I, { className: "h-4 w-4" }) }) }),
92
+ /* @__PURE__ */ e(C, { children: a })
99
93
  ]
100
94
  }
101
95
  ));
102
- T.displayName = c.displayName;
103
- const U = s.forwardRef(({ className: a, ...r }, t) => /* @__PURE__ */ e(
104
- p,
96
+ U.displayName = m.displayName;
97
+ const V = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
98
+ f,
105
99
  {
106
- ref: t,
107
- className: o("-mx-1 my-1 h-px bg-muted", a),
108
- ...r
100
+ ref: r,
101
+ className: l("-mx-1 my-1 h-px bg-muted", t),
102
+ ...a
109
103
  }
110
104
  ));
111
- U.displayName = p.displayName;
105
+ V.displayName = f.displayName;
112
106
  export {
113
107
  E as Select,
114
- z as SelectContent,
108
+ D as SelectContent,
115
109
  F as SelectGroup,
116
- T as SelectItem,
117
- D as SelectLabel,
110
+ U as SelectItem,
111
+ T as SelectLabel,
118
112
  x as SelectScrollDownButton,
119
113
  h as SelectScrollUpButton,
120
- U as SelectSeparator,
114
+ V as SelectSeparator,
121
115
  k as SelectTrigger,
122
116
  H as SelectValue
123
117
  };
package/dist/index26.js CHANGED
@@ -1,23 +1,21 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
+ import { Root as o } from "./index61.js";
2
3
  import * as f from "react";
3
- import { Root as o } from "./index52.js";
4
4
  import { cn as i } from "./index2.js";
5
- const s = f.forwardRef(
6
- ({ className: a, orientation: r = "horizontal", decorative: m = !0, ...p }, t) => /* @__PURE__ */ l(
7
- o,
8
- {
9
- ref: t,
10
- decorative: m,
11
- orientation: r,
12
- className: i(
13
- "shrink-0 bg-primary",
14
- r === "horizontal" ? "h-[2px] w-full" : "h-full w-[3px]",
15
- a
16
- ),
17
- ...p
18
- }
19
- )
20
- );
5
+ const s = f.forwardRef(({ className: a, orientation: r = "horizontal", decorative: m = !0, ...p }, t) => /* @__PURE__ */ l(
6
+ o,
7
+ {
8
+ ref: t,
9
+ decorative: m,
10
+ orientation: r,
11
+ className: i(
12
+ "shrink-0 bg-primary",
13
+ r === "horizontal" ? "h-[2px] w-full" : "h-full w-[3px]",
14
+ a
15
+ ),
16
+ ...p
17
+ }
18
+ ));
21
19
  s.displayName = o.displayName;
22
20
  export {
23
21
  s as Separator
package/dist/index27.js CHANGED
@@ -1,63 +1,69 @@
1
- import { jsx as a, jsxs as r } from "react/jsx-runtime";
2
- import * as i from "react";
3
- import { Root as g, Portal as u, Trigger as x, Close as n, Overlay as d, Content as l, Title as m, Description as c } from "./index49.js";
4
- import { cva as y } from "./index45.js";
5
- import { cn as s } from "./index2.js";
6
- import N from "./index50.js";
7
- const H = g, O = x, P = n, b = u, f = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(
8
- d,
1
+ import { jsx as s, jsxs as i } from "react/jsx-runtime";
2
+ import { Root as x, Close as l, Portal as g, Trigger as N, Content as n, Description as m, Overlay as c, Title as d } from "./index65.js";
3
+ import { cva as y } from "./index47.js";
4
+ import * as a from "react";
5
+ import { cn as r } from "./index2.js";
6
+ import b from "./index66.js";
7
+ const H = x, O = N, P = l, u = g, f = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(
8
+ c,
9
9
  {
10
- className: s(
11
- "fixed inset-0 z-50 bg-black data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
12
- e
13
- ),
10
+ className: r("fixed inset-0 z-50 bg-black data-[state=closed]:hidden", e),
14
11
  ...t,
15
12
  ref: o
16
13
  }
17
14
  ));
18
- f.displayName = d.displayName;
19
- const S = y(
20
- "fixed z-[60] gap-4 bg-black p-6 transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
21
- {
22
- variants: {
23
- side: {
24
- top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
25
- bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
26
- left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
27
- right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
28
- }
29
- },
30
- defaultVariants: {
31
- side: "right"
15
+ f.displayName = c.displayName;
16
+ const S = y("fixed z-[60] gap-4 bg-black p-6", {
17
+ variants: {
18
+ side: {
19
+ top: "inset-x-0 top-0 border-b",
20
+ bottom: "inset-x-0 bottom-0 border-t",
21
+ left: "inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
22
+ right: "inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"
32
23
  }
24
+ },
25
+ defaultVariants: {
26
+ side: "right"
33
27
  }
34
- ), w = i.forwardRef(({ side: e = "right", className: t, children: o, ...p }, h) => /* @__PURE__ */ r(b, { children: [
35
- /* @__PURE__ */ a(f, {}),
36
- /* @__PURE__ */ r(
37
- l,
38
- {
39
- ref: h,
40
- className: s(S({ side: e }), t),
41
- ...p,
42
- children: [
43
- /* @__PURE__ */ r(n, { className: "absolute right-4 top-4 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
44
- /* @__PURE__ */ a(N, { className: "h-4 w-4" }),
45
- /* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
46
- ] }),
47
- o
48
- ]
49
- }
50
- )
28
+ }), w = a.forwardRef(({ side: e = "right", className: t, children: o, ...p }, h) => /* @__PURE__ */ i(u, { children: [
29
+ /* @__PURE__ */ s(f, {}),
30
+ /* @__PURE__ */ i(n, { ref: h, className: r(S({ side: e }), t), ...p, children: [
31
+ /* @__PURE__ */ i(l, { className: "absolute right-4 top-4 ring-offset-background hover:text-primary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none cursor-pointer", children: [
32
+ /* @__PURE__ */ s(b, { className: "h-4 w-4" }),
33
+ /* @__PURE__ */ s("span", { className: "sr-only", children: "Close" })
34
+ ] }),
35
+ o
36
+ ] })
51
37
  ] }));
52
- w.displayName = l.displayName;
53
- const v = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
38
+ w.displayName = n.displayName;
39
+ const v = ({ className: e, ...t }) => /* @__PURE__ */ s("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
54
40
  v.displayName = "SheetHeader";
55
- const R = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
41
+ const R = ({ className: e, ...t }) => /* @__PURE__ */ s(
42
+ "div",
43
+ {
44
+ className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
45
+ ...t
46
+ }
47
+ );
56
48
  R.displayName = "SheetFooter";
57
- const C = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(m, { ref: o, className: s("text-lg font-semibold text-foreground", e), ...t }));
58
- C.displayName = m.displayName;
59
- const T = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(c, { ref: o, className: s("text-sm text-muted-foreground", e), ...t }));
60
- T.displayName = c.displayName;
49
+ const C = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(
50
+ d,
51
+ {
52
+ ref: o,
53
+ className: r("text-lg font-semibold text-foreground", e),
54
+ ...t
55
+ }
56
+ ));
57
+ C.displayName = d.displayName;
58
+ const T = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(
59
+ m,
60
+ {
61
+ ref: o,
62
+ className: r("text-sm text-muted-foreground", e),
63
+ ...t
64
+ }
65
+ ));
66
+ T.displayName = m.displayName;
61
67
  export {
62
68
  H as Sheet,
63
69
  P as SheetClose,
@@ -66,7 +72,7 @@ export {
66
72
  R as SheetFooter,
67
73
  v as SheetHeader,
68
74
  f as SheetOverlay,
69
- b as SheetPortal,
75
+ u as SheetPortal,
70
76
  C as SheetTitle,
71
77
  O as SheetTrigger
72
78
  };
package/dist/index28.js CHANGED
@@ -1,18 +1,10 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { cn as m } from "./index2.js";
3
- function a({
4
- className: r,
5
- blink: e = !0,
6
- ...o
7
- }) {
3
+ function a({ className: r, blink: e = !0, ...o }) {
8
4
  return /* @__PURE__ */ i(
9
5
  "div",
10
6
  {
11
- className: m(
12
- "border border-primary/30 bg-primary/10",
13
- e && "animate-blink",
14
- r
15
- ),
7
+ className: m("border border-primary/30 bg-primary/10", e && "animate-blink", r),
16
8
  ...o
17
9
  }
18
10
  );
package/dist/index29.js CHANGED
@@ -1,26 +1,23 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import * as b from "react";
3
- import { Root as n, Track as l, Range as p, Thumb as d } from "./index66.js";
1
+ import { jsxs as b, jsx as e } from "react/jsx-runtime";
2
+ import { Root as n, Track as a, Range as p, Thumb as l } from "./index71.js";
3
+ import * as d from "react";
4
4
  import { cn as h } from "./index2.js";
5
- const g = b.forwardRef(({ className: i, defaultValue: r, value: o, ...s }, m) => {
5
+ const g = d.forwardRef(({ className: i, defaultValue: r, value: o, ...s }, m) => {
6
6
  const t = (o == null ? void 0 : o.length) ?? (r == null ? void 0 : r.length) ?? 1;
7
- return /* @__PURE__ */ a(
7
+ return /* @__PURE__ */ b(
8
8
  n,
9
9
  {
10
10
  ref: m,
11
11
  defaultValue: r,
12
12
  value: o,
13
- className: h(
14
- "relative flex w-full touch-none select-none items-center",
15
- i
16
- ),
13
+ className: h("relative flex w-full touch-none select-none items-center", i),
17
14
  ...s,
18
15
  children: [
19
- /* @__PURE__ */ e(l, { className: "relative h-2 w-full grow overflow-hidden border border-primary bg-background", children: /* @__PURE__ */ e(p, { className: "absolute h-full bg-primary" }) }),
16
+ /* @__PURE__ */ e(a, { className: "relative h-2 w-full grow overflow-hidden border border-primary bg-background", children: /* @__PURE__ */ e(p, { className: "absolute h-full bg-primary" }) }),
20
17
  Array.from({ length: t }).map((f, c) => /* @__PURE__ */ e(
21
- d,
18
+ l,
22
19
  {
23
- className: "block h-5 w-3 border-2 border-primary bg-primary transition-all focus-visible:outline-none hover:bg-background disabled:pointer-events-none disabled:opacity-50"
20
+ className: "block h-5 w-3 border-2 border-primary bg-primary focus-visible:outline-none hover:bg-background disabled:pointer-events-none disabled:opacity-50 cursor-pointer"
24
21
  },
25
22
  c
26
23
  ))
package/dist/index3.js CHANGED
@@ -1,24 +1,24 @@
1
- import { colors as o } from "./index38.js";
2
- import { palette as g } from "./index38.js";
3
- import { typography as r } from "./index39.js";
4
- import { borderRadius as m, spacing as t } from "./index40.js";
5
- import { animations as p } from "./index41.js";
6
- import { shadows as i } from "./index42.js";
1
+ import { animations as o } from "./index38.js";
2
+ import { colors as r } from "./index39.js";
3
+ import { palette as g } from "./index39.js";
4
+ import { shadows as m } from "./index40.js";
5
+ import { borderRadius as t, spacing as p } from "./index41.js";
6
+ import { typography as i } from "./index42.js";
7
7
  const c = {
8
- colors: o,
9
- typography: r,
10
- spacing: t,
11
- borderRadius: m,
12
- animations: p,
13
- shadows: i
8
+ colors: r,
9
+ typography: i,
10
+ spacing: p,
11
+ borderRadius: t,
12
+ animations: o,
13
+ shadows: m
14
14
  };
15
15
  export {
16
- p as animations,
17
- m as borderRadius,
18
- o as colors,
16
+ o as animations,
17
+ t as borderRadius,
18
+ r as colors,
19
19
  g as palette,
20
- i as shadows,
21
- t as spacing,
20
+ m as shadows,
21
+ p as spacing,
22
22
  c as theme,
23
- r as typography
23
+ i as typography
24
24
  };