@drjoshcsimmons/scl 0.1.15 → 0.2.2

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 (237) 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 +1 -7
  103. package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +1 -1
  104. package/dist/components/ui/textarea/index.d.ts.map +1 -1
  105. package/dist/components/ui/textarea/textarea.d.ts.map +1 -1
  106. package/dist/components/ui/toggle/index.d.ts.map +1 -1
  107. package/dist/components/ui/toggle/toggle.d.ts +1 -1
  108. package/dist/components/ui/toggle/toggle.d.ts.map +1 -1
  109. package/dist/components/ui/tooltip/index.d.ts +1 -1
  110. package/dist/components/ui/tooltip/index.d.ts.map +1 -1
  111. package/dist/components/ui/tooltip/tooltip.d.ts +1 -1
  112. package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
  113. package/dist/index.d.ts.map +1 -1
  114. package/dist/index.js +12 -12
  115. package/dist/index10.js +42 -44
  116. package/dist/index100.js +9 -25
  117. package/dist/index101.js +3 -8
  118. package/dist/index102.js +628 -159
  119. package/dist/index103.js +5 -47
  120. package/dist/index104.js +25 -30
  121. package/dist/index105.js +30 -55
  122. package/dist/index106.js +1 -1
  123. package/dist/index107.js +15 -30
  124. package/dist/index108.js +159 -628
  125. package/dist/index109.js +1 -1
  126. package/dist/index11.js +5 -11
  127. package/dist/index110.js +54 -29
  128. package/dist/index111.js +30 -9
  129. package/dist/index112.js +45 -12
  130. package/dist/index114.js +1 -1
  131. package/dist/index115.js +1 -1
  132. package/dist/index116.js +1 -1
  133. package/dist/index118.js +1 -1
  134. package/dist/index12.js +2 -2
  135. package/dist/index120.js +48 -21
  136. package/dist/index121.js +15 -3
  137. package/dist/index122.js +3 -32
  138. package/dist/index123.js +32 -12
  139. package/dist/index124.js +18 -48
  140. package/dist/index13.js +2 -2
  141. package/dist/index14.js +5 -14
  142. package/dist/index15.js +15 -39
  143. package/dist/index16.js +3 -30
  144. package/dist/index17.js +24 -28
  145. package/dist/index18.js +11 -13
  146. package/dist/index20.js +5 -12
  147. package/dist/index21.js +3 -3
  148. package/dist/index22.js +10 -13
  149. package/dist/index23.js +7 -14
  150. package/dist/index24.js +8 -8
  151. package/dist/index25.js +24 -30
  152. package/dist/index26.js +15 -17
  153. package/dist/index27.js +50 -44
  154. package/dist/index28.js +2 -10
  155. package/dist/index29.js +6 -9
  156. package/dist/index3.js +18 -18
  157. package/dist/index30.js +27 -60
  158. package/dist/index31.js +4 -4
  159. package/dist/index32.js +16 -39
  160. package/dist/index33.js +7 -7
  161. package/dist/index34.js +19 -20
  162. package/dist/index36.js +5 -5
  163. package/dist/index37.js +7 -4
  164. package/dist/index38.js +99 -38
  165. package/dist/index39.js +37 -64
  166. package/dist/index4.js +7 -14
  167. package/dist/index40.js +10 -48
  168. package/dist/index41.js +48 -99
  169. package/dist/index42.js +65 -10
  170. package/dist/index45.js +33 -237
  171. package/dist/index46.js +125 -11
  172. package/dist/index47.js +237 -33
  173. package/dist/index48.js +11 -73
  174. package/dist/index49.js +57 -238
  175. package/dist/index5.js +13 -26
  176. package/dist/index50.js +61 -423
  177. package/dist/index51.js +224 -108
  178. package/dist/index52.js +311 -224
  179. package/dist/index53.js +530 -9
  180. package/dist/index54.js +209 -102
  181. package/dist/index55.js +9 -130
  182. package/dist/index56.js +11 -236
  183. package/dist/index57.js +4 -4
  184. package/dist/index58.js +128 -58
  185. package/dist/index59.js +298 -242
  186. package/dist/index6.js +44 -14
  187. package/dist/index60.js +12 -260
  188. package/dist/index61.js +18 -12
  189. package/dist/index62.js +18 -526
  190. package/dist/index63.js +252 -16
  191. package/dist/index64.js +98 -141
  192. package/dist/index65.js +146 -67
  193. package/dist/index66.js +256 -18
  194. package/dist/index67.js +12 -860
  195. package/dist/index68.js +82 -9
  196. package/dist/index69.js +828 -193
  197. package/dist/index7.js +5 -5
  198. package/dist/index70.js +3 -5
  199. package/dist/index71.js +28 -333
  200. package/dist/index72.js +237 -298
  201. package/dist/index73.js +236 -12
  202. package/dist/index74.js +12 -31
  203. package/dist/index75.js +435 -12
  204. package/dist/index77.js +25 -44
  205. package/dist/index78.js +5 -25
  206. package/dist/index79.js +8 -6
  207. package/dist/index8.js +1 -1
  208. package/dist/index80.js +44 -50
  209. package/dist/index81.js +51 -33
  210. package/dist/index82.js +33 -10
  211. package/dist/index83.js +10 -7
  212. package/dist/index84.js +7 -54
  213. package/dist/index85.js +54 -10
  214. package/dist/index86.js +11 -4
  215. package/dist/index87.js +4 -30
  216. package/dist/index88.js +30 -13
  217. package/dist/index89.js +11 -123
  218. package/dist/index9.js +6 -13
  219. package/dist/index90.js +122 -12
  220. package/dist/index91.js +212 -128
  221. package/dist/index92.js +13 -218
  222. package/dist/index93.js +69 -14
  223. package/dist/index94.js +8 -68
  224. package/dist/index95.js +29 -47
  225. package/dist/index96.js +15 -50
  226. package/dist/index97.js +134 -8
  227. package/dist/index98.js +47 -3
  228. package/dist/index99.js +50 -6
  229. package/dist/lib/utils.d.ts.map +1 -1
  230. package/dist/tokens/animations.d.ts.map +1 -1
  231. package/dist/tokens/colors.d.ts.map +1 -1
  232. package/dist/tokens/index.d.ts +3 -3
  233. package/dist/tokens/index.d.ts.map +1 -1
  234. package/dist/tokens/shadows.d.ts.map +1 -1
  235. package/dist/tokens/spacing.d.ts.map +1 -1
  236. package/dist/tokens/typography.d.ts.map +1 -1
  237. package/package.json +19 -9
package/dist/index27.js CHANGED
@@ -1,63 +1,69 @@
1
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 "./index66.js";
3
+ import { cva as y } from "./index45.js";
2
4
  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
5
  import { cn as r } from "./index2.js";
6
- import b from "./index61.js";
6
+ import b from "./index67.js";
7
7
  const H = x, O = N, P = l, u = g, f = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(
8
- n,
8
+ c,
9
9
  {
10
- className: r(
11
- "fixed inset-0 z-50 bg-black data-[state=closed]:hidden",
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 = n.displayName;
19
- const S = y(
20
- "fixed z-[60] gap-4 bg-black p-6",
21
- {
22
- variants: {
23
- side: {
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
- }
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 = a.forwardRef(({ side: e = "right", className: t, children: o, ...p }, h) => /* @__PURE__ */ i(u, { children: [
28
+ }), w = a.forwardRef(({ side: e = "right", className: t, children: o, ...p }, h) => /* @__PURE__ */ i(u, { children: [
35
29
  /* @__PURE__ */ s(f, {}),
36
- /* @__PURE__ */ i(
37
- m,
38
- {
39
- ref: h,
40
- className: r(S({ side: e }), t),
41
- ...p,
42
- children: [
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
- ] }),
47
- o
48
- ]
49
- }
50
- )
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 = m.displayName;
38
+ w.displayName = n.displayName;
53
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__ */ s("div", { className: r("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 = 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;
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,
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,8 +1,8 @@
1
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";
2
+ import { Root as n, Track as a, Range as p, Thumb as l } from "./index75.js";
3
+ import * as d from "react";
4
4
  import { cn as h } from "./index2.js";
5
- const g = a.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
7
  return /* @__PURE__ */ b(
8
8
  n,
@@ -10,15 +10,12 @@ const g = a.forwardRef(({ className: i, defaultValue: r, value: o, ...s }, m) =>
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(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" }) }),
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
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
  },
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
  };
package/dist/index30.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsxs as l, jsx as e, Fragment as h } from "react/jsx-runtime";
1
+ import { jsxs as l, jsx as e, Fragment as A } from "react/jsx-runtime";
2
2
  import * as u from "react";
3
3
  import { cn as r } from "./index2.js";
4
4
  const B = {
@@ -22,7 +22,7 @@ const B = {
22
22
  fg: "text-white",
23
23
  label: "COMMAND"
24
24
  }
25
- }, p = ({
25
+ }, h = ({
26
26
  direction: m = "right",
27
27
  fromBg: i,
28
28
  toBg: d
@@ -48,21 +48,21 @@ const B = {
48
48
  filename: o,
49
49
  filetype: f,
50
50
  filetypeAbbr: g,
51
- encoding: N = "utf-8",
51
+ encoding: p = "utf-8",
52
52
  line: t,
53
53
  column: c,
54
54
  totalLines: a,
55
55
  percentage: n,
56
56
  branch: x,
57
57
  diffStat: O,
58
- modified: v = !1,
59
- readonly: y = !1,
60
- leftContent: w,
61
- centerContent: S,
62
- rightContent: M,
63
- ...R
64
- }, $) => {
65
- const s = B[d], A = i || s.label, b = u.useMemo(() => {
58
+ modified: N = !1,
59
+ readonly: v = !1,
60
+ leftContent: y,
61
+ centerContent: w,
62
+ rightContent: S,
63
+ ...M
64
+ }, R) => {
65
+ const s = B[d], $ = i || s.label, b = u.useMemo(() => {
66
66
  if (n !== void 0) return n;
67
67
  if (t !== void 0 && a !== void 0 && a > 0)
68
68
  return t <= 1 ? "Top" : t >= a ? "Bot" : `${Math.round(t / a * 100)}%`;
@@ -70,70 +70,37 @@ const B = {
70
70
  return /* @__PURE__ */ l(
71
71
  "div",
72
72
  {
73
- ref: $,
74
- className: r(
75
- "flex h-6 w-full items-stretch font-mono text-sm",
76
- m
77
- ),
78
- ...R,
73
+ ref: R,
74
+ className: r("flex h-6 w-full items-stretch font-mono text-sm", m),
75
+ ...M,
79
76
  children: [
80
77
  /* @__PURE__ */ l("div", { className: "flex items-stretch", children: [
81
- /* @__PURE__ */ e(
82
- "div",
83
- {
84
- className: r(
85
- "flex items-center px-2 font-bold",
86
- s.bg,
87
- s.fg
88
- ),
89
- children: A
90
- }
91
- ),
92
- /* @__PURE__ */ e(p, { fromBg: s.bg, toBg: "bg-muted" }),
93
- w,
94
- x && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ l("div", { className: "flex items-center px-2 bg-muted text-yellow-400", children: [
78
+ /* @__PURE__ */ e("div", { className: r("flex items-center px-2 font-bold", s.bg, s.fg), children: $ }),
79
+ /* @__PURE__ */ e(h, { fromBg: s.bg, toBg: "bg-muted" }),
80
+ y,
81
+ x && /* @__PURE__ */ l("div", { className: "flex items-center px-2 bg-muted text-yellow-400", children: [
95
82
  /* @__PURE__ */ e("span", { className: "mr-1" }),
96
83
  x
97
- ] }) })
84
+ ] })
98
85
  ] }),
99
- /* @__PURE__ */ e("div", { className: "flex flex-1 items-center px-3 bg-muted", children: S || /* @__PURE__ */ l(h, { children: [
86
+ /* @__PURE__ */ e("div", { className: "flex flex-1 items-center px-3 bg-muted", children: w || /* @__PURE__ */ l(A, { children: [
100
87
  /* @__PURE__ */ e("span", { className: "mr-1 text-muted-foreground" }),
101
88
  o && /* @__PURE__ */ l("span", { className: "text-primary truncate", children: [
102
89
  o,
103
- v && /* @__PURE__ */ e("span", { className: "text-yellow-400 ml-1", children: "[+]" }),
104
- y && /* @__PURE__ */ e("span", { className: "text-red-500 ml-1", children: "[RO]" })
90
+ N && /* @__PURE__ */ e("span", { className: "text-yellow-400 ml-1", children: "[+]" }),
91
+ v && /* @__PURE__ */ e("span", { className: "text-red-500 ml-1", children: "[RO]" })
105
92
  ] })
106
93
  ] }) }),
107
94
  /* @__PURE__ */ l("div", { className: "flex items-stretch", children: [
108
- M,
95
+ S,
109
96
  (f || g) && /* @__PURE__ */ l("div", { className: "flex items-center px-2 bg-muted text-cyan-400", children: [
110
97
  /* @__PURE__ */ e("span", { className: "mr-1" }),
111
98
  g || f
112
99
  ] }),
113
- /* @__PURE__ */ e("div", { className: "flex items-center px-2 bg-muted text-muted-foreground", children: N }),
114
- /* @__PURE__ */ e(p, { direction: "left", fromBg: s.bg, toBg: "bg-muted" }),
115
- b !== void 0 && /* @__PURE__ */ e(
116
- "div",
117
- {
118
- className: r(
119
- "flex items-center px-2 font-bold",
120
- s.bg,
121
- s.fg
122
- ),
123
- children: b
124
- }
125
- ),
126
- (t !== void 0 || c !== void 0) && /* @__PURE__ */ e(
127
- "div",
128
- {
129
- className: r(
130
- "flex items-center px-2 font-bold",
131
- s.bg,
132
- s.fg
133
- ),
134
- children: t !== void 0 && c !== void 0 ? `${t}:${c}` : t !== void 0 ? `Ln ${t}` : `Col ${c}`
135
- }
136
- )
100
+ /* @__PURE__ */ e("div", { className: "flex items-center px-2 bg-muted text-muted-foreground", children: p }),
101
+ /* @__PURE__ */ e(h, { direction: "left", fromBg: s.bg, toBg: "bg-muted" }),
102
+ b !== void 0 && /* @__PURE__ */ e("div", { className: r("flex items-center px-2 font-bold", s.bg, s.fg), children: b }),
103
+ (t !== void 0 || c !== void 0) && /* @__PURE__ */ e("div", { className: r("flex items-center px-2 font-bold", s.bg, s.fg), children: t !== void 0 && c !== void 0 ? `${t}:${c}` : t !== void 0 ? `Ln ${t}` : `Col ${c}` })
137
104
  ] })
138
105
  ]
139
106
  }
package/dist/index31.js CHANGED
@@ -1,8 +1,8 @@
1
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";
2
+ import { Root as i, Thumb as t } from "./index58.js";
3
+ import * as n from "react";
4
4
  import { cn as r } from "./index2.js";
5
- const c = t.forwardRef(({ className: o, ...s }, a) => /* @__PURE__ */ e(
5
+ const c = n.forwardRef(({ className: o, ...s }, a) => /* @__PURE__ */ e(
6
6
  i,
7
7
  {
8
8
  className: r(
@@ -12,7 +12,7 @@ const c = t.forwardRef(({ className: o, ...s }, a) => /* @__PURE__ */ e(
12
12
  ...s,
13
13
  ref: a,
14
14
  children: /* @__PURE__ */ e(
15
- n,
15
+ t,
16
16
  {
17
17
  className: r(
18
18
  "pointer-events-none block h-4 w-5 bg-primary data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
package/dist/index32.js CHANGED
@@ -1,49 +1,33 @@
1
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 }, t) => /* @__PURE__ */ o("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ o(
5
- "table",
6
- {
7
- ref: t,
8
- className: r("w-full caption-bottom text-sm", e),
9
- ...a
10
- }
11
- ) }));
4
+ const d = l.forwardRef(
5
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ o("table", { ref: t, className: r("w-full caption-bottom text-sm", e), ...a }) })
6
+ );
12
7
  d.displayName = "Table";
13
8
  const s = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", e), ...a }));
14
9
  s.displayName = "TableHeader";
15
- const m = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
16
- "tbody",
17
- {
18
- ref: t,
19
- className: r("[&_tr:last-child]:border-0", e),
20
- ...a
21
- }
22
- ));
10
+ const m = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tbody", { ref: t, className: r("[&_tr:last-child]:border-0", e), ...a }));
23
11
  m.displayName = "TableBody";
24
12
  const b = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
25
13
  "tfoot",
26
14
  {
27
15
  ref: t,
28
- className: r(
29
- "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
30
- e
31
- ),
16
+ className: r("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
32
17
  ...a
33
18
  }
34
19
  ));
35
20
  b.displayName = "TableFooter";
36
- const c = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
37
- "tr",
38
- {
39
- ref: t,
40
- className: r(
41
- "border-b hover:bg-muted/50 data-[state=selected]:bg-muted",
42
- e
43
- ),
44
- ...a
45
- }
46
- ));
21
+ const c = l.forwardRef(
22
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(
23
+ "tr",
24
+ {
25
+ ref: t,
26
+ className: r("border-b hover:bg-muted/50 data-[state=selected]:bg-muted", e),
27
+ ...a
28
+ }
29
+ )
30
+ );
47
31
  c.displayName = "TableRow";
48
32
  const f = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
49
33
  "th",
@@ -69,14 +53,7 @@ const i = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
69
53
  }
70
54
  ));
71
55
  i.displayName = "TableCell";
72
- const n = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
73
- "caption",
74
- {
75
- ref: t,
76
- className: r("mt-4 text-sm text-muted-foreground", e),
77
- ...a
78
- }
79
- ));
56
+ const n = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("caption", { ref: t, className: r("mt-4 text-sm text-muted-foreground", e), ...a }));
80
57
  n.displayName = "TableCaption";
81
58
  export {
82
59
  d as Table,
package/dist/index33.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
+ import { Root as d, Content as o, List as n, Trigger as c } from "./index65.js";
2
3
  import * as s from "react";
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
5
  const g = d, f = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
6
- o,
6
+ n,
7
7
  {
8
8
  ref: i,
9
9
  className: r(
@@ -13,9 +13,9 @@ const g = d, f = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
13
13
  ...t
14
14
  }
15
15
  ));
16
- f.displayName = o.displayName;
16
+ f.displayName = n.displayName;
17
17
  const m = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
18
- n,
18
+ c,
19
19
  {
20
20
  ref: i,
21
21
  className: r(
@@ -25,9 +25,9 @@ const m = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
25
25
  ...t
26
26
  }
27
27
  ));
28
- m.displayName = n.displayName;
28
+ m.displayName = c.displayName;
29
29
  const l = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
30
- c,
30
+ o,
31
31
  {
32
32
  ref: i,
33
33
  className: r(
@@ -37,7 +37,7 @@ const l = s.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ a(
37
37
  ...t
38
38
  }
39
39
  ));
40
- l.displayName = c.displayName;
40
+ l.displayName = o.displayName;
41
41
  export {
42
42
  g as Tabs,
43
43
  l as TabsContent,
package/dist/index34.js CHANGED
@@ -1,7 +1,7 @@
1
- import { jsxs as w, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as S, jsx as i } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
3
  import { cn as f } from "./index2.js";
4
- const S = m.forwardRef(
4
+ const B = m.forwardRef(
5
5
  ({
6
6
  className: p,
7
7
  visibleLines: h = 10,
@@ -10,29 +10,30 @@ const S = m.forwardRef(
10
10
  onChange: l,
11
11
  onCursorChange: u,
12
12
  placeholder: b,
13
- readOnly: x = !1
14
- }, y) => {
13
+ readOnly: x = !1,
14
+ ...y
15
+ }, k) => {
15
16
  const e = m.useRef(null), n = m.useRef(null), o = d.split(`
16
- `).length, k = () => {
17
+ `).length, N = () => {
17
18
  e.current && n.current && (n.current.scrollTop = e.current.scrollTop);
18
19
  }, s = () => {
19
20
  if (e.current && u) {
20
21
  const t = e.current, a = t.value.substring(0, t.selectionStart).split(`
21
- `), T = a.length, v = a[a.length - 1].length + 1;
22
- u(T, v);
22
+ `), v = a.length, w = a[a.length - 1].length + 1;
23
+ u(v, w);
23
24
  }
24
- }, N = (t) => {
25
+ }, R = (t) => {
25
26
  l == null || l(t.target.value);
26
- }, c = 1.5, R = h * c;
27
- return /* @__PURE__ */ w(
27
+ }, c = 1.5, T = h * c;
28
+ return /* @__PURE__ */ S(
28
29
  "div",
29
30
  {
30
- ref: y,
31
+ ref: k,
31
32
  className: f(
32
33
  "flex font-mono text-sm bg-black border-2 border-primary overflow-hidden",
33
34
  p
34
35
  ),
35
- style: { height: `${R}rem` },
36
+ style: { height: `${T}rem` },
36
37
  children: [
37
38
  g && /* @__PURE__ */ i(
38
39
  "div",
@@ -43,10 +44,7 @@ const S = m.forwardRef(
43
44
  children: Array.from({ length: Math.max(o, h) }, (t, r) => /* @__PURE__ */ i(
44
45
  "div",
45
46
  {
46
- className: f(
47
- "px-2 leading-6",
48
- r >= o && "text-blue-500"
49
- ),
47
+ className: f("px-2 leading-6", r >= o && "text-blue-500"),
50
48
  style: { height: `${c}rem` },
51
49
  children: r < o ? r + 1 : "~"
52
50
  },
@@ -57,10 +55,11 @@ const S = m.forwardRef(
57
55
  /* @__PURE__ */ i(
58
56
  "textarea",
59
57
  {
58
+ ...y,
60
59
  ref: e,
61
60
  value: d,
62
- onChange: N,
63
- onScroll: k,
61
+ onChange: R,
62
+ onScroll: N,
64
63
  onSelect: s,
65
64
  onKeyUp: s,
66
65
  onClick: s,
@@ -83,7 +82,7 @@ const S = m.forwardRef(
83
82
  );
84
83
  }
85
84
  );
86
- S.displayName = "TerminalTextarea";
85
+ B.displayName = "TerminalTextarea";
87
86
  export {
88
- S as TerminalTextarea
87
+ B as TerminalTextarea
89
88
  };
package/dist/index36.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import * as s from "react";
3
- import { Root as e } from "./index74.js";
4
- import { cva as m } from "./index47.js";
2
+ import { Root as e } from "./index71.js";
3
+ import { cva as s } from "./index45.js";
4
+ import * as m from "react";
5
5
  import { cn as p } from "./index2.js";
6
- const f = m(
6
+ const f = s(
7
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: {
@@ -22,7 +22,7 @@ const f = m(
22
22
  size: "default"
23
23
  }
24
24
  }
25
- ), d = s.forwardRef(({ className: r, variant: t, size: a, ...o }, i) => /* @__PURE__ */ n(
25
+ ), d = m.forwardRef(({ className: r, variant: t, size: a, ...o }, i) => /* @__PURE__ */ n(
26
26
  e,
27
27
  {
28
28
  ref: i,
package/dist/index37.js CHANGED
@@ -1,10 +1,13 @@
1
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";
2
+ import { Root as p, Trigger as n, Portal as s, Content as i, Provider as l } from "./index52.js";
3
+ import * as m from "react";
4
4
  import { cn as d } from "./index2.js";
5
- const c = ({ children: o, ...r }) => /* @__PURE__ */ t(m, { delayDuration: 100, skipDelayDuration: 300, ...r, children: o });
5
+ const c = ({
6
+ children: o,
7
+ ...r
8
+ }) => /* @__PURE__ */ t(l, { delayDuration: 100, skipDelayDuration: 300, ...r, children: o });
6
9
  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(
10
+ const x = p, v = n, f = m.forwardRef(({ className: o, sideOffset: r = 4, ...e }, a) => /* @__PURE__ */ t(s, { children: /* @__PURE__ */ t(
8
11
  i,
9
12
  {
10
13
  ref: a,