@drjoshcsimmons/scl 0.1.13 → 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 (115) hide show
  1. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  2. package/dist/index100.js +25 -30
  3. package/dist/index101.js +8 -12
  4. package/dist/index102.js +177 -51
  5. package/dist/index103.js +47 -29
  6. package/dist/index104.js +30 -4
  7. package/dist/index105.js +52 -216
  8. package/dist/index106.js +29 -47
  9. package/dist/index107.js +30 -30
  10. package/dist/index108.js +650 -30
  11. package/dist/index110.js +30 -9
  12. package/dist/index111.js +8 -180
  13. package/dist/index112.js +15 -30
  14. package/dist/index113.js +6 -48
  15. package/dist/index115.js +47 -11
  16. package/dist/index116.js +11 -47
  17. package/dist/index117.js +206 -6
  18. package/dist/index118.js +20 -204
  19. package/dist/index119.js +399 -21
  20. package/dist/index12.js +1 -1
  21. package/dist/index120.js +20 -399
  22. package/dist/index121.js +3 -15
  23. package/dist/index122.js +32 -3
  24. package/dist/index123.js +12 -32
  25. package/dist/index124.js +48 -18
  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 +1 -1
  32. package/dist/index130.js +5 -65
  33. package/dist/index136.js +1 -1
  34. package/dist/index137.js +1 -1
  35. package/dist/index14.js +2 -2
  36. package/dist/index141.js +1 -1
  37. package/dist/index142.js +1 -1
  38. package/dist/index143.js +1 -1
  39. package/dist/index148.js +11 -21
  40. package/dist/index149.js +26 -11
  41. package/dist/index15.js +54 -54
  42. package/dist/index150.js +4 -27
  43. package/dist/index151.js +22 -4
  44. package/dist/index17.js +71 -72
  45. package/dist/index18.js +2 -2
  46. package/dist/index19.js +4 -4
  47. package/dist/index21.js +15 -15
  48. package/dist/index22.js +20 -20
  49. package/dist/index23.js +2 -2
  50. package/dist/index24.js +12 -12
  51. package/dist/index25.js +57 -57
  52. package/dist/index26.js +1 -1
  53. package/dist/index27.js +31 -31
  54. package/dist/index29.js +7 -7
  55. package/dist/index31.js +14 -14
  56. package/dist/index32.js +17 -17
  57. package/dist/index33.js +10 -10
  58. package/dist/index36.js +8 -8
  59. package/dist/index37.js +18 -18
  60. package/dist/index4.js +25 -25
  61. package/dist/index45.js +1 -1
  62. package/dist/index46.js +1 -1
  63. package/dist/index48.js +62 -249
  64. package/dist/index49.js +241 -12
  65. package/dist/index50.js +410 -285
  66. package/dist/index51.js +125 -12
  67. package/dist/index52.js +3 -3
  68. package/dist/index53.js +1 -1
  69. package/dist/index54.js +102 -209
  70. package/dist/index55.js +130 -11
  71. package/dist/index56.js +236 -11
  72. package/dist/index57.js +11 -125
  73. package/dist/index58.js +57 -70
  74. package/dist/index59.js +248 -76
  75. package/dist/index6.js +36 -36
  76. package/dist/index60.js +222 -822
  77. package/dist/index61.js +6 -3
  78. package/dist/index62.js +506 -94
  79. package/dist/index63.js +1 -1
  80. package/dist/index64.js +158 -57
  81. package/dist/index65.js +71 -230
  82. package/dist/index66.js +20 -433
  83. package/dist/index67.js +823 -299
  84. package/dist/index68.js +9 -161
  85. package/dist/index69.js +218 -24
  86. package/dist/index7.js +1 -1
  87. package/dist/index70.js +11 -236
  88. package/dist/index71.js +325 -119
  89. package/dist/index72.js +310 -12
  90. package/dist/index73.js +12 -254
  91. package/dist/index74.js +25 -524
  92. package/dist/index75.js +12 -22
  93. package/dist/index77.js +1 -1
  94. package/dist/index8.js +5 -5
  95. package/dist/index80.js +1 -1
  96. package/dist/index81.js +1 -1
  97. package/dist/index82.js +1 -1
  98. package/dist/index84.js +48 -118
  99. package/dist/index85.js +10 -134
  100. package/dist/index86.js +4 -14
  101. package/dist/index87.js +29 -68
  102. package/dist/index88.js +11 -13
  103. package/dist/index89.js +124 -8
  104. package/dist/index9.js +21 -21
  105. package/dist/index90.js +15 -50
  106. package/dist/index91.js +127 -40
  107. package/dist/index92.js +218 -5
  108. package/dist/index93.js +14 -25
  109. package/dist/index94.js +66 -12
  110. package/dist/index95.js +44 -646
  111. package/dist/index96.js +50 -9
  112. package/dist/index97.js +9 -55
  113. package/dist/index98.js +3 -10
  114. package/dist/index99.js +6 -4
  115. package/package.json +1 -1
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 "./index60.js";
4
- import { cn as o } from "./index2.js";
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
5
  import u from "./index46.js";
6
6
  import I from "./index53.js";
7
- import B from "./index61.js";
8
- const E = N, F = b, H = g, k = s.forwardRef(({ className: a, children: r, ...t }, l) => /* @__PURE__ */ i(
9
- d,
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 "./index75.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 "./index48.js";
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
4
  import { cva as y } from "./index47.js";
5
- import { cn as s } from "./index2.js";
6
- import N from "./index49.js";
7
- const H = g, O = x, P = n, b = u, f = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(
8
- d,
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 "./index71.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
  };
package/dist/index32.js CHANGED
@@ -1,30 +1,30 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as o } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
3
  import { cn as r } from "./index2.js";
4
- const d = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ t(
4
+ const d = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ o(
5
5
  "table",
6
6
  {
7
- ref: o,
7
+ ref: t,
8
8
  className: r("w-full caption-bottom text-sm", e),
9
9
  ...a
10
10
  }
11
11
  ) }));
12
12
  d.displayName = "Table";
13
- const s = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t("thead", { ref: o, className: r("[&_tr]:border-b", e), ...a }));
13
+ const s = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", e), ...a }));
14
14
  s.displayName = "TableHeader";
15
- const m = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
15
+ const m = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
16
16
  "tbody",
17
17
  {
18
- ref: o,
18
+ ref: t,
19
19
  className: r("[&_tr:last-child]:border-0", e),
20
20
  ...a
21
21
  }
22
22
  ));
23
23
  m.displayName = "TableBody";
24
- const b = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
24
+ const b = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
25
25
  "tfoot",
26
26
  {
27
- ref: o,
27
+ ref: t,
28
28
  className: r(
29
29
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
30
30
  e
@@ -33,22 +33,22 @@ const b = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
33
33
  }
34
34
  ));
35
35
  b.displayName = "TableFooter";
36
- const c = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
36
+ const c = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
37
37
  "tr",
38
38
  {
39
- ref: o,
39
+ ref: t,
40
40
  className: r(
41
- "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
41
+ "border-b hover:bg-muted/50 data-[state=selected]:bg-muted",
42
42
  e
43
43
  ),
44
44
  ...a
45
45
  }
46
46
  ));
47
47
  c.displayName = "TableRow";
48
- const f = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
48
+ const f = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
49
49
  "th",
50
50
  {
51
- ref: o,
51
+ ref: t,
52
52
  className: r(
53
53
  "h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
54
54
  e
@@ -57,10 +57,10 @@ const f = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
57
57
  }
58
58
  ));
59
59
  f.displayName = "TableHead";
60
- const i = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
60
+ const i = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
61
61
  "td",
62
62
  {
63
- ref: o,
63
+ ref: t,
64
64
  className: r(
65
65
  "p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
66
66
  e
@@ -69,10 +69,10 @@ const i = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
69
69
  }
70
70
  ));
71
71
  i.displayName = "TableCell";
72
- const n = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t(
72
+ const n = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
73
73
  "caption",
74
74
  {
75
- ref: o,
75
+ ref: t,
76
76
  className: r("mt-4 text-sm text-muted-foreground", e),
77
77
  ...a
78
78
  }
package/dist/index33.js CHANGED
@@ -1,11 +1,11 @@
1
- import { jsx as i } from "react/jsx-runtime";
1
+ import { jsx as a } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import { Root as d, List as o, Trigger as n, Content as c } from "./index68.js";
3
+ import { Root as d, List as o, Trigger as n, Content as c } from "./index64.js";
4
4
  import { cn as r } from "./index2.js";
5
- const u = d, f = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ i(
5
+ const g = d, f = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
6
6
  o,
7
7
  {
8
- ref: a,
8
+ ref: i,
9
9
  className: r(
10
10
  "inline-flex h-9 items-center justify-center bg-muted p-1 text-muted-foreground",
11
11
  e
@@ -14,22 +14,22 @@ const u = d, f = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ i(
14
14
  }
15
15
  ));
16
16
  f.displayName = o.displayName;
17
- const m = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ i(
17
+ const m = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
18
18
  n,
19
19
  {
20
- ref: a,
20
+ ref: i,
21
21
  className: r(
22
- "inline-flex items-center justify-center whitespace-nowrap px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-primary data-[state=active]:border-2 data-[state=active]:border-primary data-[state=inactive]:border-2 data-[state=inactive]:border-transparent data-[state=inactive]:text-muted-foreground",
22
+ "inline-flex items-center justify-center whitespace-nowrap px-3 py-1 text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-primary data-[state=active]:border-2 data-[state=active]:border-primary data-[state=inactive]:border-2 data-[state=inactive]:border-transparent data-[state=inactive]:text-muted-foreground cursor-pointer",
23
23
  e
24
24
  ),
25
25
  ...t
26
26
  }
27
27
  ));
28
28
  m.displayName = n.displayName;
29
- const l = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ i(
29
+ const l = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
30
30
  c,
31
31
  {
32
- ref: a,
32
+ ref: i,
33
33
  className: r(
34
34
  "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
35
35
  e
@@ -39,7 +39,7 @@ const l = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ i(
39
39
  ));
40
40
  l.displayName = c.displayName;
41
41
  export {
42
- u as Tabs,
42
+ g as Tabs,
43
43
  l as TabsContent,
44
44
  f as TabsList,
45
45
  m as TabsTrigger
package/dist/index36.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import { Root as t } from "./index69.js";
3
+ import { Root as e } from "./index74.js";
4
4
  import { cva as m } from "./index47.js";
5
5
  import { cn as p } from "./index2.js";
6
6
  const f = m(
7
- "inline-flex items-center justify-center text-sm font-medium transition-colors hover:bg-primary/20 hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary disabled:pointer-events-none disabled:opacity-50 border-2 border-primary data-[state=on]:bg-primary data-[state=on]:text-primary-foreground data-[state=off]:bg-transparent data-[state=off]:text-primary [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2",
7
+ "inline-flex items-center justify-center text-sm font-medium hover:bg-primary hover:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary disabled:pointer-events-none disabled:opacity-50 border-2 border-primary data-[state=on]:bg-primary data-[state=on]:text-primary-foreground data-[state=off]:bg-transparent data-[state=off]:text-primary [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2 cursor-pointer",
8
8
  {
9
9
  variants: {
10
10
  variant: {
@@ -22,15 +22,15 @@ const f = m(
22
22
  size: "default"
23
23
  }
24
24
  }
25
- ), d = s.forwardRef(({ className: e, variant: r, size: a, ...i }, o) => /* @__PURE__ */ n(
26
- t,
25
+ ), d = s.forwardRef(({ className: r, variant: t, size: a, ...o }, i) => /* @__PURE__ */ n(
26
+ e,
27
27
  {
28
- ref: o,
29
- className: p(f({ variant: r, size: a, className: e })),
30
- ...i
28
+ ref: i,
29
+ className: p(f({ variant: t, size: a, className: r })),
30
+ ...o
31
31
  }
32
32
  ));
33
- d.displayName = t.displayName;
33
+ d.displayName = e.displayName;
34
34
  export {
35
35
  d as Toggle,
36
36
  f as toggleVariants
package/dist/index37.js CHANGED
@@ -1,25 +1,25 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import * as d from "react";
3
- import { Root as s, Trigger as n, Portal as m, Content as e, Provider as l } from "./index67.js";
4
- import { cn as p } from "./index2.js";
5
- const f = ({ children: o, ...t }) => /* @__PURE__ */ a(l, { delayDuration: 100, skipDelayDuration: 300, ...t, children: o });
6
- f.displayName = "TooltipProvider";
7
- const u = s, x = n, c = d.forwardRef(({ className: o, sideOffset: t = 4, ...i }, r) => /* @__PURE__ */ a(m, { children: /* @__PURE__ */ a(
8
- e,
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import * as p from "react";
3
+ import { Root as n, Trigger as s, Portal as l, Content as i, Provider as m } from "./index71.js";
4
+ import { cn as d } from "./index2.js";
5
+ const c = ({ children: o, ...r }) => /* @__PURE__ */ t(m, { delayDuration: 100, skipDelayDuration: 300, ...r, children: o });
6
+ c.displayName = "TooltipProvider";
7
+ const x = n, v = s, f = p.forwardRef(({ className: o, sideOffset: r = 4, ...e }, a) => /* @__PURE__ */ t(l, { children: /* @__PURE__ */ t(
8
+ i,
9
9
  {
10
- ref: r,
11
- sideOffset: t,
12
- className: p(
13
- "z-50 overflow-hidden bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
10
+ ref: a,
11
+ sideOffset: r,
12
+ className: d(
13
+ "z-50 overflow-hidden bg-primary px-3 py-1.5 text-xs text-primary-foreground",
14
14
  o
15
15
  ),
16
- ...i
16
+ ...e
17
17
  }
18
18
  ) }));
19
- c.displayName = e.displayName;
19
+ f.displayName = i.displayName;
20
20
  export {
21
- u as Tooltip,
22
- c as TooltipContent,
23
- f as TooltipProvider,
24
- x as TooltipTrigger
21
+ x as Tooltip,
22
+ f as TooltipContent,
23
+ c as TooltipProvider,
24
+ v as TooltipTrigger
25
25
  };