@drjoshcsimmons/scl 0.1.14 → 0.1.15

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 (131) hide show
  1. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  2. package/dist/index100.js +24 -12
  3. package/dist/index102.js +178 -27
  4. package/dist/index103.js +47 -3
  5. package/dist/index104.js +30 -25
  6. package/dist/index105.js +54 -5
  7. package/dist/index106.js +30 -55
  8. package/dist/index107.js +1 -1
  9. package/dist/index108.js +650 -30
  10. package/dist/index109.js +1 -1
  11. package/dist/index11.js +2 -2
  12. package/dist/index110.js +27 -647
  13. package/dist/index113.js +6 -12
  14. package/dist/index114.js +42 -200
  15. package/dist/index115.js +47 -21
  16. package/dist/index116.js +10 -398
  17. package/dist/index117.js +200 -42
  18. package/dist/index118.js +21 -47
  19. package/dist/index119.js +399 -20
  20. package/dist/index12.js +1 -1
  21. package/dist/index120.js +15 -3
  22. package/dist/index121.js +3 -32
  23. package/dist/index122.js +32 -12
  24. package/dist/index123.js +18 -6
  25. package/dist/index124.js +1 -1
  26. package/dist/index125.js +2 -25
  27. package/dist/index126.js +53 -29
  28. package/dist/index127.js +65 -5
  29. package/dist/index128.js +25 -2
  30. package/dist/index129.js +29 -53
  31. package/dist/index13.js +2 -2
  32. package/dist/index130.js +5 -65
  33. package/dist/index131.js +2 -5
  34. package/dist/index132.js +2 -3
  35. package/dist/index133.js +5 -24
  36. package/dist/index134.js +3 -113
  37. package/dist/index135.js +23 -15
  38. package/dist/index136.js +107 -519
  39. package/dist/index137.js +14 -126
  40. package/dist/index138.js +516 -125
  41. package/dist/index139.js +128 -2
  42. package/dist/index14.js +2 -2
  43. package/dist/index140.js +134 -2
  44. package/dist/index141.js +65 -69
  45. package/dist/index142.js +68 -8
  46. package/dist/index143.js +9 -14
  47. package/dist/index144.js +14 -66
  48. package/dist/index145.js +65 -64
  49. package/dist/index148.js +11 -21
  50. package/dist/index149.js +26 -11
  51. package/dist/index15.js +54 -54
  52. package/dist/index150.js +4 -27
  53. package/dist/index151.js +22 -4
  54. package/dist/index17.js +70 -71
  55. package/dist/index18.js +2 -2
  56. package/dist/index19.js +4 -4
  57. package/dist/index20.js +2 -2
  58. package/dist/index21.js +15 -15
  59. package/dist/index22.js +20 -20
  60. package/dist/index24.js +12 -12
  61. package/dist/index25.js +59 -59
  62. package/dist/index26.js +1 -1
  63. package/dist/index27.js +32 -32
  64. package/dist/index29.js +7 -7
  65. package/dist/index31.js +14 -14
  66. package/dist/index32.js +17 -17
  67. package/dist/index33.js +10 -10
  68. package/dist/index36.js +9 -9
  69. package/dist/index37.js +18 -18
  70. package/dist/index4.js +26 -26
  71. package/dist/index45.js +237 -33
  72. package/dist/index46.js +11 -241
  73. package/dist/index47.js +33 -237
  74. package/dist/index48.js +73 -11
  75. package/dist/index49.js +198 -217
  76. package/dist/index5.js +1 -1
  77. package/dist/index50.js +435 -12
  78. package/dist/index51.js +112 -517
  79. package/dist/index52.js +245 -18
  80. package/dist/index53.js +9 -161
  81. package/dist/index54.js +107 -62
  82. package/dist/index55.js +119 -325
  83. package/dist/index56.js +10 -10
  84. package/dist/index57.js +1 -1
  85. package/dist/index58.js +53 -75
  86. package/dist/index59.js +247 -242
  87. package/dist/index6.js +36 -36
  88. package/dist/index60.js +260 -9
  89. package/dist/index61.js +12 -130
  90. package/dist/index62.js +530 -18
  91. package/dist/index63.js +18 -860
  92. package/dist/index64.js +161 -9
  93. package/dist/index65.js +82 -31
  94. package/dist/index66.js +20 -433
  95. package/dist/index67.js +856 -56
  96. package/dist/index68.js +9 -118
  97. package/dist/index69.js +6 -6
  98. package/dist/index7.js +1 -1
  99. package/dist/index70.js +1 -1
  100. package/dist/index71.js +336 -12
  101. package/dist/index72.js +303 -118
  102. package/dist/index73.js +12 -310
  103. package/dist/index74.js +31 -12
  104. package/dist/index75.js +12 -254
  105. package/dist/index76.js +66 -5
  106. package/dist/index77.js +44 -25
  107. package/dist/index78.js +23 -64
  108. package/dist/index79.js +5 -123
  109. package/dist/index8.js +5 -5
  110. package/dist/index80.js +50 -13
  111. package/dist/index81.js +32 -133
  112. package/dist/index82.js +1 -1
  113. package/dist/index83.js +7 -218
  114. package/dist/index84.js +55 -14
  115. package/dist/index85.js +10 -68
  116. package/dist/index86.js +4 -34
  117. package/dist/index87.js +29 -47
  118. package/dist/index88.js +10 -49
  119. package/dist/index89.js +122 -47
  120. package/dist/index9.js +21 -21
  121. package/dist/index90.js +14 -8
  122. package/dist/index91.js +130 -41
  123. package/dist/index92.js +218 -7
  124. package/dist/index93.js +14 -48
  125. package/dist/index94.js +68 -29
  126. package/dist/index95.js +43 -176
  127. package/dist/index96.js +48 -53
  128. package/dist/index97.js +8 -10
  129. package/dist/index98.js +4 -4
  130. package/dist/index99.js +6 -30
  131. package/package.json +1 -1
package/dist/index18.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import { Root as F } from "./index67.js";
4
- import { FormProvider as u, useFormContext as p, Controller as x } from "./index75.js";
3
+ import { Root as F } from "./index58.js";
4
+ import { FormProvider as u, useFormContext as p, Controller as x } from "./index59.js";
5
5
  import { cn as a } from "./index2.js";
6
6
  import { Label as I } from "./index20.js";
7
7
  const D = u, f = s.createContext(
package/dist/index19.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import * as t from "react";
3
3
  import { cn as f } from "./index2.js";
4
- const a = t.forwardRef(
4
+ const m = t.forwardRef(
5
5
  ({ className: r, type: e, ...i }, l) => /* @__PURE__ */ o(
6
6
  "input",
7
7
  {
8
8
  type: e,
9
9
  className: f(
10
- "flex h-10 w-full border-2 border-primary bg-black px-3 py-1 text-base text-primary transition-colors file:-ml-3 file:-my-1 file:mr-4 file:h-10 file:px-3 file:border-0 file:border-r file:border-primary file:bg-primary file:text-primary-foreground file:text-sm file:font-medium file:cursor-pointer hover:file:bg-black hover:file:text-primary placeholder:text-primary/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
10
+ "flex h-10 w-full border-2 border-primary bg-black px-3 py-1 text-base text-primary file:-ml-3 file:-my-1 file:mr-4 file:h-10 file:px-3 file:border-0 file:border-r file:border-primary file:bg-primary file:text-primary-foreground file:text-sm file:font-medium file:cursor-pointer hover:file:bg-black hover:file:text-primary placeholder:text-primary/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
11
11
  r
12
12
  ),
13
13
  ref: l,
@@ -15,7 +15,7 @@ const a = t.forwardRef(
15
15
  }
16
16
  )
17
17
  );
18
- a.displayName = "Input";
18
+ m.displayName = "Input";
19
19
  export {
20
- a as Input
20
+ m as Input
21
21
  };
package/dist/index20.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import * as t from "react";
3
- import { Root as o } from "./index62.js";
4
- import { cva as i } from "./index45.js";
3
+ import { Root as o } from "./index63.js";
4
+ import { cva as i } from "./index47.js";
5
5
  import { cn as s } from "./index2.js";
6
6
  const l = i(
7
7
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
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 * as c from "react";
3
+ import { Root as m, Trigger as s, Anchor as i, Portal as l, Content as r } from "./index49.js";
4
+ import { cn as d } from "./index2.js";
5
+ const h = m, v = s, y = i, f = c.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...a }, p) => /* @__PURE__ */ o(l, { 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,33 @@
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 * as n from "react";
3
+ import { Root as d, Indicator as l } from "./index65.js";
4
4
  import { cn as c } from "./index2.js";
5
- const f = m.forwardRef(
5
+ const f = n.forwardRef(
6
6
  ({
7
- className: s,
8
- value: t = 0,
9
- showPercentage: i = !1,
7
+ className: i,
8
+ value: s = 0,
9
+ showPercentage: t = !1,
10
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),
11
+ ...m
12
+ }, a) => /* @__PURE__ */ e("div", { className: "w-full min-w-[200px]", children: [
13
+ (r || t) && /* @__PURE__ */ e("div", { className: "flex justify-center items-center gap-2 mb-2 font-mono text-sm font-bold text-primary", children: [
14
+ r && /* @__PURE__ */ o("span", { children: r }),
15
+ t && /* @__PURE__ */ e("span", { children: [
16
+ Math.round(s),
17
17
  "%"
18
18
  ] })
19
19
  ] }),
20
- /* @__PURE__ */ e(
20
+ /* @__PURE__ */ o(
21
21
  d,
22
22
  {
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(
23
+ ref: a,
24
+ className: c("relative h-6 w-full overflow-hidden bg-background border-2 border-primary", i),
25
+ ...m,
26
+ children: /* @__PURE__ */ o(
27
27
  l,
28
28
  {
29
- className: "h-full bg-primary transition-all duration-200",
30
- style: { width: `${t}%` }
29
+ className: "h-full bg-primary",
30
+ style: { width: `${s}%` }
31
31
  }
32
32
  )
33
33
  }
package/dist/index24.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
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";
3
+ import { Root as c, Viewport as p, Corner as d, ScrollAreaScrollbar as s, ScrollAreaThumb as f } from "./index62.js";
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 = i.forwardRef(({ className: l, children: e, ...a }, o) => /* @__PURE__ */ m(
6
+ c,
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,23 +16,23 @@ 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(
21
- c,
19
+ h.displayName = c.displayName;
20
+ const t = i.forwardRef(({ className: l, orientation: e = "vertical", ...a }, o) => /* @__PURE__ */ r(
21
+ s,
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
  ));
35
- t.displayName = c.displayName;
35
+ t.displayName = s.displayName;
36
36
  export {
37
37
  h as ScrollArea,
38
38
  t as ScrollBar
package/dist/index25.js CHANGED
@@ -1,123 +1,123 @@
1
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,
2
+ import * as o from "react";
3
+ import { Root as N, Group as b, Value as g, Trigger as c, Icon as S, Portal as v, Content as m, Viewport as R, Label as n, Item as p, ItemIndicator as C, ItemText as j, Separator as d, ScrollUpButton as f, ScrollDownButton as y } from "./index67.js";
4
+ import { cn as l } from "./index2.js";
5
+ import u from "./index46.js";
6
+ import I from "./index53.js";
7
+ import B from "./index68.js";
8
+ const E = N, F = b, H = g, k = o.forwardRef(({ className: t, children: a, ...r }, s) => /* @__PURE__ */ i(
9
+ c,
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,
18
+ a,
19
19
  /* @__PURE__ */ e(S, { 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(
23
+ k.displayName = c.displayName;
24
+ const h = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
25
25
  f,
26
26
  {
27
- ref: t,
28
- className: o(
27
+ ref: r,
28
+ className: l(
29
29
  "flex cursor-default items-center justify-center py-1",
30
- a
30
+ t
31
31
  ),
32
- ...r,
32
+ ...a,
33
33
  children: /* @__PURE__ */ e(B, { className: "h-4 w-4 text-primary" })
34
34
  }
35
35
  ));
36
36
  h.displayName = f.displayName;
37
- const x = s.forwardRef(({ className: a, ...r }, t) => /* @__PURE__ */ e(
37
+ const x = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
38
38
  y,
39
39
  {
40
- ref: t,
41
- className: o(
40
+ ref: r,
41
+ className: l(
42
42
  "flex cursor-default items-center justify-center py-1",
43
- a
43
+ t
44
44
  ),
45
- ...r,
45
+ ...a,
46
46
  children: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-primary" })
47
47
  }
48
48
  ));
49
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(
50
+ const D = o.forwardRef(({ className: t, children: a, position: r = "popper", ...s }, w) => /* @__PURE__ */ e(v, { children: /* @__PURE__ */ i(
51
51
  m,
52
52
  {
53
53
  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
54
+ className: l(
55
+ "relative z-[60] max-h-96 min-w-[8rem] overflow-hidden border-2 border-primary bg-black text-primary",
56
+ 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",
57
+ t
58
58
  ),
59
- position: t,
60
- ...l,
59
+ position: r,
60
+ ...s,
61
61
  children: [
62
62
  /* @__PURE__ */ e(h, {}),
63
63
  /* @__PURE__ */ e(
64
64
  R,
65
65
  {
66
- className: o(
66
+ className: l(
67
67
  "p-1",
68
- t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
68
+ r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
69
69
  ),
70
- children: r
70
+ children: a
71
71
  }
72
72
  ),
73
73
  /* @__PURE__ */ e(x, {})
74
74
  ]
75
75
  }
76
76
  ) }));
77
- z.displayName = m.displayName;
78
- const D = s.forwardRef(({ className: a, ...r }, t) => /* @__PURE__ */ e(
77
+ D.displayName = m.displayName;
78
+ const T = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
79
79
  n,
80
80
  {
81
- ref: t,
82
- className: o("px-2 py-1.5 text-sm font-semibold", a),
83
- ...r
81
+ ref: r,
82
+ className: l("px-2 py-1.5 text-sm font-semibold", t),
83
+ ...a
84
84
  }
85
85
  ));
86
- D.displayName = n.displayName;
87
- const T = s.forwardRef(({ className: a, children: r, ...t }, l) => /* @__PURE__ */ i(
88
- c,
86
+ T.displayName = n.displayName;
87
+ const U = o.forwardRef(({ className: t, children: a, ...r }, s) => /* @__PURE__ */ i(
88
+ p,
89
89
  {
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
90
+ ref: s,
91
+ className: l(
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 hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
93
+ t
94
94
  ),
95
- ...t,
95
+ ...r,
96
96
  children: [
97
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 })
98
+ /* @__PURE__ */ e(j, { children: a })
99
99
  ]
100
100
  }
101
101
  ));
102
- T.displayName = c.displayName;
103
- const U = s.forwardRef(({ className: a, ...r }, t) => /* @__PURE__ */ e(
104
- p,
102
+ U.displayName = p.displayName;
103
+ const V = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
104
+ d,
105
105
  {
106
- ref: t,
107
- className: o("-mx-1 my-1 h-px bg-muted", a),
108
- ...r
106
+ ref: r,
107
+ className: l("-mx-1 my-1 h-px bg-muted", t),
108
+ ...a
109
109
  }
110
110
  ));
111
- U.displayName = p.displayName;
111
+ V.displayName = d.displayName;
112
112
  export {
113
113
  E as Select,
114
- z as SelectContent,
114
+ D as SelectContent,
115
115
  F as SelectGroup,
116
- T as SelectItem,
117
- D as SelectLabel,
116
+ U as SelectItem,
117
+ T as SelectLabel,
118
118
  x as SelectScrollDownButton,
119
119
  h as SelectScrollUpButton,
120
- U as SelectSeparator,
120
+ V as SelectSeparator,
121
121
  k as SelectTrigger,
122
122
  H as SelectValue
123
123
  };
package/dist/index26.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import * as f from "react";
3
- import { Root as o } from "./index52.js";
3
+ import { Root as o } from "./index66.js";
4
4
  import { cn as i } from "./index2.js";
5
5
  const s = f.forwardRef(
6
6
  ({ className: a, orientation: r = "horizontal", decorative: m = !0, ...p }, t) => /* @__PURE__ */ l(
package/dist/index27.js CHANGED
@@ -1,63 +1,63 @@
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 * as a from "react";
3
+ import { Root as x, Portal as g, Trigger as N, Close as l, Overlay as n, Content as m, Title as c, Description as d } from "./index60.js";
4
+ import { cva as y } from "./index47.js";
5
+ import { cn as r } from "./index2.js";
6
+ import b from "./index61.js";
7
+ const H = x, O = N, P = l, u = g, f = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(
8
+ n,
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",
10
+ className: r(
11
+ "fixed inset-0 z-50 bg-black data-[state=closed]:hidden",
12
12
  e
13
13
  ),
14
14
  ...t,
15
15
  ref: o
16
16
  }
17
17
  ));
18
- f.displayName = d.displayName;
18
+ f.displayName = n.displayName;
19
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",
20
+ "fixed z-[60] gap-4 bg-black p-6",
21
21
  {
22
22
  variants: {
23
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"
24
+ top: "inset-x-0 top-0 border-b",
25
+ bottom: "inset-x-0 bottom-0 border-t",
26
+ left: "inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
27
+ right: "inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"
28
28
  }
29
29
  },
30
30
  defaultVariants: {
31
31
  side: "right"
32
32
  }
33
33
  }
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,
34
+ ), w = a.forwardRef(({ side: e = "right", className: t, children: o, ...p }, h) => /* @__PURE__ */ i(u, { children: [
35
+ /* @__PURE__ */ s(f, {}),
36
+ /* @__PURE__ */ i(
37
+ m,
38
38
  {
39
39
  ref: h,
40
- className: s(S({ side: e }), t),
40
+ className: r(S({ side: e }), t),
41
41
  ...p,
42
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" })
43
+ /* @__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: [
44
+ /* @__PURE__ */ s(b, { className: "h-4 w-4" }),
45
+ /* @__PURE__ */ s("span", { className: "sr-only", children: "Close" })
46
46
  ] }),
47
47
  o
48
48
  ]
49
49
  }
50
50
  )
51
51
  ] }));
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 });
52
+ w.displayName = m.displayName;
53
+ const v = ({ className: e, ...t }) => /* @__PURE__ */ s("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
54
54
  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 });
55
+ const R = ({ className: e, ...t }) => /* @__PURE__ */ s("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
56
56
  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;
57
+ const C = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(c, { ref: o, className: r("text-lg font-semibold text-foreground", e), ...t }));
58
+ C.displayName = c.displayName;
59
+ const T = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(d, { ref: o, className: r("text-sm text-muted-foreground", e), ...t }));
60
+ T.displayName = d.displayName;
61
61
  export {
62
62
  H as Sheet,
63
63
  P as SheetClose,
@@ -66,7 +66,7 @@ export {
66
66
  R as SheetFooter,
67
67
  v as SheetHeader,
68
68
  f as SheetOverlay,
69
- b as SheetPortal,
69
+ u as SheetPortal,
70
70
  C as SheetTitle,
71
71
  O as SheetTrigger
72
72
  };
package/dist/index29.js CHANGED
@@ -1,10 +1,10 @@
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 * as a from "react";
3
+ import { Root as n, Track as p, Range as l, Thumb as d } from "./index50.js";
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 = a.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,
@@ -16,11 +16,11 @@ const g = b.forwardRef(({ className: i, defaultValue: r, value: o, ...s }, m) =>
16
16
  ),
17
17
  ...s,
18
18
  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" }) }),
19
+ /* @__PURE__ */ e(p, { className: "relative h-2 w-full grow overflow-hidden border border-primary bg-background", children: /* @__PURE__ */ e(l, { className: "absolute h-full bg-primary" }) }),
20
20
  Array.from({ length: t }).map((f, c) => /* @__PURE__ */ e(
21
21
  d,
22
22
  {
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"
23
+ 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
24
  },
25
25
  c
26
26
  ))
package/dist/index31.js CHANGED
@@ -1,27 +1,27 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import * as a from "react";
3
- import { Root as o, Thumb as n } from "./index61.js";
4
- import { cn as e } from "./index2.js";
5
- const c = a.forwardRef(({ className: i, ...s }, t) => /* @__PURE__ */ r(
6
- o,
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import * as t from "react";
3
+ import { Root as i, Thumb as n } from "./index55.js";
4
+ import { cn as r } from "./index2.js";
5
+ const c = t.forwardRef(({ className: o, ...s }, a) => /* @__PURE__ */ e(
6
+ i,
7
7
  {
8
- className: e(
9
- "peer inline-flex h-6 w-12 shrink-0 cursor-pointer items-center border-2 border-primary bg-background px-0.5 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
10
- i
8
+ className: r(
9
+ "peer inline-flex h-6 w-12 shrink-0 cursor-pointer items-center border-2 border-primary bg-background px-0.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
10
+ o
11
11
  ),
12
12
  ...s,
13
- ref: t,
14
- children: /* @__PURE__ */ r(
13
+ ref: a,
14
+ children: /* @__PURE__ */ e(
15
15
  n,
16
16
  {
17
- className: e(
18
- "pointer-events-none block h-4 w-5 bg-primary transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
17
+ className: r(
18
+ "pointer-events-none block h-4 w-5 bg-primary data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
19
19
  )
20
20
  }
21
21
  )
22
22
  }
23
23
  ));
24
- c.displayName = o.displayName;
24
+ c.displayName = i.displayName;
25
25
  export {
26
26
  c as Switch
27
27
  };