@drjoshcsimmons/scl 0.2.8 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/dist/components/ui/accordion/accordion.d.ts.map +1 -1
  2. package/dist/components/ui/alert/alert.d.ts +5 -4
  3. package/dist/components/ui/alert/alert.d.ts.map +1 -1
  4. package/dist/components/ui/alert/index.d.ts +1 -1
  5. package/dist/components/ui/alert/index.d.ts.map +1 -1
  6. package/dist/components/ui/avatar/avatar.d.ts.map +1 -1
  7. package/dist/components/ui/badge/badge.d.ts +4 -6
  8. package/dist/components/ui/badge/badge.d.ts.map +1 -1
  9. package/dist/components/ui/badge/index.d.ts +1 -1
  10. package/dist/components/ui/badge/index.d.ts.map +1 -1
  11. package/dist/components/ui/button/button.d.ts +6 -7
  12. package/dist/components/ui/button/button.d.ts.map +1 -1
  13. package/dist/components/ui/button/index.d.ts +1 -1
  14. package/dist/components/ui/button/index.d.ts.map +1 -1
  15. package/dist/components/ui/card/card.d.ts.map +1 -1
  16. package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -1
  17. package/dist/components/ui/collapsible/collapsible.d.ts.map +1 -1
  18. package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
  19. package/dist/components/ui/input/input.d.ts.map +1 -1
  20. package/dist/components/ui/label/label.d.ts +1 -2
  21. package/dist/components/ui/label/label.d.ts.map +1 -1
  22. package/dist/components/ui/popover/popover.d.ts.map +1 -1
  23. package/dist/components/ui/progress/progress.d.ts +0 -3
  24. package/dist/components/ui/progress/progress.d.ts.map +1 -1
  25. package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -1
  26. package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -1
  27. package/dist/components/ui/select/select.d.ts.map +1 -1
  28. package/dist/components/ui/separator/separator.d.ts.map +1 -1
  29. package/dist/components/ui/skeleton/skeleton.d.ts +1 -0
  30. package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
  31. package/dist/components/ui/slider/slider.d.ts.map +1 -1
  32. package/dist/components/ui/switch/switch.d.ts.map +1 -1
  33. package/dist/components/ui/table/table.d.ts.map +1 -1
  34. package/dist/components/ui/tabs/tabs.d.ts.map +1 -1
  35. package/dist/components/ui/textarea/textarea.d.ts.map +1 -1
  36. package/dist/components/ui/toggle/index.d.ts +1 -1
  37. package/dist/components/ui/toggle/index.d.ts.map +1 -1
  38. package/dist/components/ui/toggle/toggle.d.ts +6 -10
  39. package/dist/components/ui/toggle/toggle.d.ts.map +1 -1
  40. package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
  41. package/dist/globals.css +223 -287
  42. package/dist/hooks/use-font-loaded.d.ts +2 -0
  43. package/dist/hooks/use-font-loaded.d.ts.map +1 -0
  44. package/dist/index.d.ts +2 -10
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +118 -185
  47. package/dist/index10.js +28 -51
  48. package/dist/index100.js +14 -30
  49. package/dist/index101.js +47 -12
  50. package/dist/index102.js +50 -6
  51. package/dist/index103.js +9 -25
  52. package/dist/index104.js +30 -9
  53. package/dist/index105.js +9 -9
  54. package/dist/index106.js +8 -3
  55. package/dist/index107.js +30 -30
  56. package/dist/index108.js +54 -8
  57. package/dist/index109.js +30 -30
  58. package/dist/index11.js +26 -16
  59. package/dist/index110.js +44 -51
  60. package/dist/index111.js +47 -29
  61. package/dist/index112.js +1 -1
  62. package/dist/index113.js +1 -1
  63. package/dist/index114.js +6 -48
  64. package/dist/index115.js +1 -1
  65. package/dist/index117.js +1 -1
  66. package/dist/index118.js +3 -3
  67. package/dist/index119.js +2 -48
  68. package/dist/index12.js +6 -5
  69. package/dist/index120.js +53 -6
  70. package/dist/index121.js +62 -18
  71. package/dist/index122.js +25 -9
  72. package/dist/index123.js +29 -38
  73. package/dist/index124.js +5 -18
  74. package/dist/index125.js +2 -25
  75. package/dist/index126.js +2 -29
  76. package/dist/index127.js +5 -5
  77. package/dist/index128.js +3 -2
  78. package/dist/index129.js +22 -51
  79. package/dist/index13.js +77 -134
  80. package/dist/index130.js +108 -60
  81. package/dist/index131.js +16 -2
  82. package/dist/index132.js +525 -2
  83. package/dist/index133.js +128 -5
  84. package/dist/index134.js +134 -3
  85. package/dist/index135.js +63 -22
  86. package/dist/index136.js +66 -110
  87. package/dist/index137.js +8 -15
  88. package/dist/index138.js +11 -522
  89. package/dist/index139.js +65 -127
  90. package/dist/index14.js +13 -97
  91. package/dist/index140.js +3 -133
  92. package/dist/index141.js +19 -61
  93. package/dist/index142.js +22 -68
  94. package/dist/index143.js +11 -7
  95. package/dist/index144.js +28 -14
  96. package/dist/index145.js +4 -65
  97. package/dist/index15.js +12 -71
  98. package/dist/index16.js +19 -254
  99. package/dist/index17.js +32 -138
  100. package/dist/index18.js +25 -89
  101. package/dist/index19.js +37 -18
  102. package/dist/index2.js +5 -5
  103. package/dist/index20.js +139 -10
  104. package/dist/index21.js +18 -19
  105. package/dist/index22.js +13 -35
  106. package/dist/index23.js +24 -22
  107. package/dist/index24.js +13 -34
  108. package/dist/index25.js +31 -114
  109. package/dist/index26.js +32 -16
  110. package/dist/index27.js +14 -74
  111. package/dist/index28.js +15 -12
  112. package/dist/index29.js +24 -29
  113. package/dist/index3.js +10 -22
  114. package/dist/index30.js +97 -108
  115. package/dist/index31.js +39 -25
  116. package/dist/index32.js +11 -65
  117. package/dist/index33.js +49 -44
  118. package/dist/index34.js +65 -85
  119. package/dist/index35.js +234 -15
  120. package/dist/index38.js +71 -98
  121. package/dist/index4.js +22 -37
  122. package/dist/index43.js +58 -13
  123. package/dist/index45.js +219 -207
  124. package/dist/index48.js +530 -9
  125. package/dist/index5.js +51 -34
  126. package/dist/index50.js +18 -11
  127. package/dist/index52.js +229 -298
  128. package/dist/index54.js +218 -100
  129. package/dist/index57.js +115 -245
  130. package/dist/index59.js +22 -12
  131. package/dist/index6.js +21 -75
  132. package/dist/index61.js +325 -119
  133. package/dist/index63.js +74 -117
  134. package/dist/index65.js +409 -210
  135. package/dist/index67.js +234 -311
  136. package/dist/index69.js +112 -16
  137. package/dist/index7.js +22 -27
  138. package/dist/index71.js +146 -67
  139. package/dist/index73.js +30 -434
  140. package/dist/index76.js +854 -62
  141. package/dist/index78.js +64 -23
  142. package/dist/index79.js +44 -5
  143. package/dist/index8.js +6 -27
  144. package/dist/index80.js +24 -49
  145. package/dist/index81.js +6 -33
  146. package/dist/index82.js +51 -10
  147. package/dist/index83.js +33 -7
  148. package/dist/index84.js +10 -124
  149. package/dist/index85.js +7 -14
  150. package/dist/index86.js +50 -130
  151. package/dist/index87.js +10 -218
  152. package/dist/index88.js +4 -14
  153. package/dist/index89.js +29 -68
  154. package/dist/index9.js +19 -34
  155. package/dist/index90.js +12 -47
  156. package/dist/index91.js +6 -50
  157. package/dist/index92.js +25 -9
  158. package/dist/index93.js +68 -3
  159. package/dist/index94.js +3 -649
  160. package/dist/index95.js +30 -15
  161. package/dist/index96.js +124 -29
  162. package/dist/index97.js +13 -46
  163. package/dist/index98.js +130 -50
  164. package/dist/index99.js +218 -10
  165. package/dist/lib/utils.d.ts +8 -8
  166. package/dist/lib/utils.d.ts.map +1 -1
  167. package/package.json +5 -46
  168. package/dist/components/ui/alert-dialog/alert-dialog.d.ts +0 -21
  169. package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +0 -1
  170. package/dist/components/ui/alert-dialog/index.d.ts +0 -2
  171. package/dist/components/ui/alert-dialog/index.d.ts.map +0 -1
  172. package/dist/components/ui/combobox/combobox.d.ts +0 -31
  173. package/dist/components/ui/combobox/combobox.d.ts.map +0 -1
  174. package/dist/components/ui/combobox/index.d.ts +0 -3
  175. package/dist/components/ui/combobox/index.d.ts.map +0 -1
  176. package/dist/components/ui/command/command.d.ts +0 -85
  177. package/dist/components/ui/command/command.d.ts.map +0 -1
  178. package/dist/components/ui/command/index.d.ts +0 -2
  179. package/dist/components/ui/command/index.d.ts.map +0 -1
  180. package/dist/components/ui/dithered-image/dithered-image.d.ts +0 -21
  181. package/dist/components/ui/dithered-image/dithered-image.d.ts.map +0 -1
  182. package/dist/components/ui/dithered-image/index.d.ts +0 -3
  183. package/dist/components/ui/dithered-image/index.d.ts.map +0 -1
  184. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -28
  185. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +0 -1
  186. package/dist/components/ui/dropdown-menu/index.d.ts +0 -2
  187. package/dist/components/ui/dropdown-menu/index.d.ts.map +0 -1
  188. package/dist/components/ui/form/form.d.ts +0 -24
  189. package/dist/components/ui/form/form.d.ts.map +0 -1
  190. package/dist/components/ui/form/index.d.ts +0 -2
  191. package/dist/components/ui/form/index.d.ts.map +0 -1
  192. package/dist/components/ui/sheet/index.d.ts +0 -2
  193. package/dist/components/ui/sheet/index.d.ts.map +0 -1
  194. package/dist/components/ui/sheet/sheet.d.ts +0 -26
  195. package/dist/components/ui/sheet/sheet.d.ts.map +0 -1
  196. package/dist/components/ui/statusline/index.d.ts +0 -2
  197. package/dist/components/ui/statusline/index.d.ts.map +0 -1
  198. package/dist/components/ui/statusline/statusline.d.ts +0 -40
  199. package/dist/components/ui/statusline/statusline.d.ts.map +0 -1
  200. package/dist/components/ui/terminal-textarea/index.d.ts +0 -2
  201. package/dist/components/ui/terminal-textarea/index.d.ts.map +0 -1
  202. package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts +0 -16
  203. package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +0 -1
  204. package/dist/index146.js +0 -6
  205. package/dist/index147.js +0 -25
  206. package/dist/index148.js +0 -25
  207. package/dist/index149.js +0 -15
  208. package/dist/index150.js +0 -30
  209. package/dist/index151.js +0 -7
  210. package/dist/index36.js +0 -37
  211. package/dist/index37.js +0 -28
  212. package/dist/index39.js +0 -41
  213. package/dist/index40.js +0 -13
  214. package/dist/index41.js +0 -51
  215. package/dist/index42.js +0 -68
  216. package/dist/index44.js +0 -2265
  217. package/dist/index46.js +0 -13
  218. package/dist/index47.js +0 -227
  219. package/dist/index49.js +0 -13
  220. package/dist/index51.js +0 -243
  221. package/dist/index53.js +0 -14
  222. package/dist/index55.js +0 -20
  223. package/dist/index56.js +0 -35
  224. package/dist/index58.js +0 -14
  225. package/dist/index60.js +0 -75
  226. package/dist/index62.js +0 -62
  227. package/dist/index64.js +0 -256
  228. package/dist/index66.js +0 -532
  229. package/dist/index68.js +0 -251
  230. package/dist/index70.js +0 -163
  231. package/dist/index72.js +0 -33
  232. package/dist/index74.js +0 -862
  233. package/dist/index75.js +0 -11
  234. package/dist/index77.js +0 -48
package/dist/index25.js CHANGED
@@ -1,117 +1,34 @@
1
- import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
- import { Root as N, Group as b, Value as g, Portal as S, Content as c, Viewport as v, Item as m, ItemIndicator as R, ItemText as C, Label as n, ScrollDownButton as p, ScrollUpButton as d, Separator as f, Trigger as y, Icon as j } from "./index74.js";
1
+ import { jsx as s } from "react/jsx-runtime";
3
2
  import * as o from "react";
4
- import { cn as l } from "./index2.js";
5
- import I from "./index48.js";
6
- import u from "./index46.js";
7
- import B from "./index75.js";
8
- const E = N, F = b, H = g, k = o.forwardRef(({ className: t, children: a, ...r }, s) => /* @__PURE__ */ i(
9
- y,
10
- {
11
- ref: s,
12
- className: l(
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
- t
15
- ),
16
- ...r,
17
- children: [
18
- a,
19
- /* @__PURE__ */ e(j, { asChild: !0, children: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-primary" }) })
20
- ]
21
- }
22
- ));
23
- k.displayName = y.displayName;
24
- const h = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
25
- d,
26
- {
27
- ref: r,
28
- className: l("flex cursor-default items-center justify-center py-1", t),
29
- ...a,
30
- children: /* @__PURE__ */ e(B, { className: "h-4 w-4 text-primary" })
31
- }
32
- ));
33
- h.displayName = d.displayName;
34
- const x = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
35
- p,
36
- {
37
- ref: r,
38
- className: l("flex cursor-default items-center justify-center py-1", t),
39
- ...a,
40
- children: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-primary" })
41
- }
42
- ));
43
- x.displayName = p.displayName;
44
- const D = o.forwardRef(({ className: t, children: a, position: r = "popper", ...s }, w) => /* @__PURE__ */ e(S, { children: /* @__PURE__ */ i(
45
- c,
46
- {
47
- ref: w,
48
- className: l(
49
- "relative z-[60] max-h-96 min-w-[8rem] overflow-hidden border-2 border-primary bg-black text-primary",
50
- r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
51
- t
52
- ),
53
- position: r,
54
- ...s,
55
- children: [
56
- /* @__PURE__ */ e(h, {}),
57
- /* @__PURE__ */ e(
58
- v,
59
- {
60
- className: l(
61
- "p-1",
62
- r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
63
- ),
64
- children: a
65
- }
66
- ),
67
- /* @__PURE__ */ e(x, {})
68
- ]
69
- }
70
- ) }));
71
- D.displayName = c.displayName;
72
- const T = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
73
- n,
74
- {
75
- ref: r,
76
- className: l("px-2 py-1.5 text-sm font-semibold", t),
77
- ...a
78
- }
79
- ));
80
- T.displayName = n.displayName;
81
- const U = o.forwardRef(({ className: t, children: a, ...r }, s) => /* @__PURE__ */ i(
82
- m,
83
- {
84
- ref: s,
85
- className: l(
86
- "relative flex w-full cursor-default select-none items-center py-1.5 pl-2 pr-8 text-sm outline-none hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
87
- t
88
- ),
89
- ...r,
90
- children: [
91
- /* @__PURE__ */ e("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(I, { className: "h-4 w-4" }) }) }),
92
- /* @__PURE__ */ e(C, { children: a })
93
- ]
94
- }
95
- ));
96
- U.displayName = m.displayName;
97
- const V = o.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e(
98
- f,
99
- {
100
- ref: r,
101
- className: l("-mx-1 my-1 h-px bg-muted", t),
102
- ...a
103
- }
104
- ));
105
- V.displayName = f.displayName;
3
+ import { cx as t } from "./index2.js";
4
+ /* empty css */
5
+ const r = o.forwardRef(
6
+ ({ className: a, ...e }, l) => /* @__PURE__ */ s("div", { className: "scl-table-wrapper", children: /* @__PURE__ */ s("table", { ref: l, className: t("scl-table", a), ...e }) })
7
+ );
8
+ r.displayName = "Table";
9
+ const c = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("thead", { ref: l, className: t("scl-table__header", a), ...e }));
10
+ c.displayName = "TableHeader";
11
+ const d = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("tbody", { ref: l, className: t("scl-table__body", a), ...e }));
12
+ d.displayName = "TableBody";
13
+ const b = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("tfoot", { ref: l, className: t("scl-table__footer", a), ...e }));
14
+ b.displayName = "TableFooter";
15
+ const m = o.forwardRef(
16
+ ({ className: a, ...e }, l) => /* @__PURE__ */ s("tr", { ref: l, className: t("scl-table__row", a), ...e })
17
+ );
18
+ m.displayName = "TableRow";
19
+ const f = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("th", { ref: l, className: t("scl-table__head", a), ...e }));
20
+ f.displayName = "TableHead";
21
+ const p = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("td", { ref: l, className: t("scl-table__cell", a), ...e }));
22
+ p.displayName = "TableCell";
23
+ const i = o.forwardRef(({ className: a, ...e }, l) => /* @__PURE__ */ s("caption", { ref: l, className: t("scl-table__caption", a), ...e }));
24
+ i.displayName = "TableCaption";
106
25
  export {
107
- E as Select,
108
- D as SelectContent,
109
- F as SelectGroup,
110
- U as SelectItem,
111
- T as SelectLabel,
112
- x as SelectScrollDownButton,
113
- h as SelectScrollUpButton,
114
- V as SelectSeparator,
115
- k as SelectTrigger,
116
- H as SelectValue
26
+ r as Table,
27
+ d as TableBody,
28
+ i as TableCaption,
29
+ p as TableCell,
30
+ b as TableFooter,
31
+ f as TableHead,
32
+ c as TableHeader,
33
+ m as TableRow
117
34
  };
package/dist/index26.js CHANGED
@@ -1,22 +1,38 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import { Root as o } from "./index69.js";
3
- import * as f from "react";
4
- import { cn as i } from "./index2.js";
5
- const s = f.forwardRef(({ className: a, orientation: r = "horizontal", decorative: m = !0, ...p }, t) => /* @__PURE__ */ l(
6
- o,
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { Root as l, Content as m, List as i, Trigger as c } from "./index71.js";
3
+ import * as r from "react";
4
+ import { cx as e } from "./index2.js";
5
+ /* empty css */
6
+ const y = l, p = r.forwardRef(({ className: s, ...a }, t) => /* @__PURE__ */ o(
7
+ i,
7
8
  {
8
9
  ref: t,
9
- decorative: m,
10
- orientation: r,
11
- className: i(
12
- "shrink-0 bg-primary",
13
- r === "horizontal" ? "h-[2px] w-full" : "h-full w-[3px]",
14
- a
15
- ),
16
- ...p
10
+ className: e("scl-tabs-list", s),
11
+ ...a
17
12
  }
18
13
  ));
19
- s.displayName = o.displayName;
14
+ p.displayName = i.displayName;
15
+ const f = r.forwardRef(({ className: s, ...a }, t) => /* @__PURE__ */ o(
16
+ c,
17
+ {
18
+ ref: t,
19
+ className: e("scl-tabs-trigger", s),
20
+ ...a
21
+ }
22
+ ));
23
+ f.displayName = c.displayName;
24
+ const n = r.forwardRef(({ className: s, ...a }, t) => /* @__PURE__ */ o(
25
+ m,
26
+ {
27
+ ref: t,
28
+ className: e("scl-tabs-content", s),
29
+ ...a
30
+ }
31
+ ));
32
+ n.displayName = m.displayName;
20
33
  export {
21
- s as Separator
34
+ y as Tabs,
35
+ n as TabsContent,
36
+ p as TabsList,
37
+ f as TabsTrigger
22
38
  };
package/dist/index27.js CHANGED
@@ -1,78 +1,18 @@
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 "./index57.js";
3
- import { cva as y } from "./index56.js";
4
- import * as a from "react";
5
- import { cn as r } from "./index2.js";
6
- import b from "./index58.js";
7
- const H = x, O = N, P = l, u = g, f = a.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ s(
8
- c,
9
- {
10
- className: r("fixed inset-0 z-50 bg-black data-[state=closed]:hidden", e),
11
- ...t,
12
- ref: o
13
- }
14
- ));
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"
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import * as o from "react";
3
+ import { cx as m } from "./index2.js";
4
+ /* empty css */
5
+ const s = o.forwardRef(
6
+ ({ className: r, ...a }, e) => /* @__PURE__ */ t(
7
+ "textarea",
8
+ {
9
+ className: m("scl-textarea", r),
10
+ ref: e,
11
+ ...a
23
12
  }
24
- },
25
- defaultVariants: {
26
- side: "right"
27
- }
28
- }), w = a.forwardRef(({ side: e = "right", className: t, children: o, ...p }, h) => /* @__PURE__ */ i(u, { children: [
29
- /* @__PURE__ */ s(f, {}),
30
- /* @__PURE__ */ i(n, { ref: h, className: r(S({ side: e }), t), ...p, children: [
31
- /* @__PURE__ */ i(l, { className: "absolute right-4 top-4 ring-offset-background hover:text-primary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none cursor-pointer", children: [
32
- /* @__PURE__ */ s(b, { className: "h-4 w-4" }),
33
- /* @__PURE__ */ s("span", { className: "sr-only", children: "Close" })
34
- ] }),
35
- o
36
- ] })
37
- ] }));
38
- w.displayName = n.displayName;
39
- const v = ({ className: e, ...t }) => /* @__PURE__ */ s("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
40
- v.displayName = "SheetHeader";
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
- }
13
+ )
47
14
  );
48
- R.displayName = "SheetFooter";
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;
15
+ s.displayName = "Textarea";
67
16
  export {
68
- H as Sheet,
69
- P as SheetClose,
70
- w as SheetContent,
71
- T as SheetDescription,
72
- R as SheetFooter,
73
- v as SheetHeader,
74
- f as SheetOverlay,
75
- u as SheetPortal,
76
- C as SheetTitle,
77
- O as SheetTrigger
17
+ s as Textarea
78
18
  };
package/dist/index28.js CHANGED
@@ -1,14 +1,17 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { cn as m } from "./index2.js";
3
- function a({ className: r, blink: e = !0, ...o }) {
4
- return /* @__PURE__ */ i(
5
- "div",
6
- {
7
- className: m("border border-primary/30 bg-primary/10", e && "animate-blink", r),
8
- ...o
9
- }
10
- );
11
- }
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Root as o } from "./index73.js";
3
+ import * as l from "react";
4
+ import { cx as s } from "./index2.js";
5
+ /* empty css */
6
+ const p = l.forwardRef(({ className: m, size: r = "default", ...t }, a) => /* @__PURE__ */ e(
7
+ o,
8
+ {
9
+ ref: a,
10
+ className: s("scl-toggle", `scl-toggle--${r}`, m),
11
+ ...t
12
+ }
13
+ ));
14
+ p.displayName = o.displayName;
12
15
  export {
13
- a as Skeleton
16
+ p as Toggle
14
17
  };
package/dist/index29.js CHANGED
@@ -1,31 +1,26 @@
1
- import { jsxs as b, jsx as e } from "react/jsx-runtime";
2
- import { Root as n, Track as a, Range as p, Thumb as l } from "./index73.js";
3
- import * as d from "react";
4
- import { cn as h } from "./index2.js";
5
- const g = d.forwardRef(({ className: i, defaultValue: r, value: o, ...s }, m) => {
6
- const t = (o == null ? void 0 : o.length) ?? (r == null ? void 0 : r.length) ?? 1;
7
- return /* @__PURE__ */ b(
8
- n,
9
- {
10
- ref: m,
11
- defaultValue: r,
12
- value: o,
13
- className: h("relative flex w-full touch-none select-none items-center", i),
14
- ...s,
15
- children: [
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" }) }),
17
- Array.from({ length: t }).map((f, c) => /* @__PURE__ */ e(
18
- l,
19
- {
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"
21
- },
22
- c
23
- ))
24
- ]
25
- }
26
- );
27
- });
28
- g.displayName = n.displayName;
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { Root as p, Trigger as l, Portal as n, Content as i, Provider as s } from "./index61.js";
3
+ import * as m from "react";
4
+ import { cx as c } from "./index2.js";
5
+ /* empty css */
6
+ const d = ({
7
+ children: o,
8
+ ...t
9
+ }) => /* @__PURE__ */ r(s, { delayDuration: 100, skipDelayDuration: 300, ...t, children: o });
10
+ d.displayName = "TooltipProvider";
11
+ const P = p, R = l, T = m.forwardRef(({ className: o, sideOffset: t = 4, ...e }, a) => /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(
12
+ i,
13
+ {
14
+ ref: a,
15
+ sideOffset: t,
16
+ className: c("scl-tooltip-content", o),
17
+ ...e
18
+ }
19
+ ) }));
20
+ T.displayName = i.displayName;
29
21
  export {
30
- g as Slider
22
+ P as Tooltip,
23
+ T as TooltipContent,
24
+ d as TooltipProvider,
25
+ R as TooltipTrigger
31
26
  };
package/dist/index3.js CHANGED
@@ -1,24 +1,12 @@
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
- const c = {
8
- colors: r,
9
- typography: i,
10
- spacing: p,
11
- borderRadius: t,
12
- animations: o,
13
- shadows: m
14
- };
1
+ import { useState as d, useEffect as n } from "react";
2
+ function u(e = "BigBlueTerm437") {
3
+ const [t, o] = d(!1);
4
+ return n(() => {
5
+ document.fonts.ready.then(() => {
6
+ o(document.fonts.check(`16px "${e}"`));
7
+ });
8
+ }, [e]), t;
9
+ }
15
10
  export {
16
- o as animations,
17
- t as borderRadius,
18
- r as colors,
19
- g as palette,
20
- m as shadows,
21
- p as spacing,
22
- c as theme,
23
- i as typography
11
+ u as useFontLoaded
24
12
  };
package/dist/index30.js CHANGED
@@ -1,113 +1,102 @@
1
- import { jsxs as l, jsx as e, Fragment as A } from "react/jsx-runtime";
2
- import * as u from "react";
3
- import { cn as r } from "./index2.js";
4
- const B = {
5
- default: {
6
- bg: "bg-blue-600",
7
- fg: "text-yellow-300",
8
- label: "NORMAL"
9
- },
10
- insert: {
11
- bg: "bg-green-600",
12
- fg: "text-black",
13
- label: "INSERT"
1
+ const t = {
2
+ keyframes: {
3
+ "accordion-down": {
4
+ from: { height: "0" },
5
+ to: { height: "var(--radix-accordion-content-height)" }
6
+ },
7
+ "accordion-up": {
8
+ from: { height: "var(--radix-accordion-content-height)" },
9
+ to: { height: "0" }
10
+ },
11
+ "collapsible-down": {
12
+ from: { height: "0" },
13
+ to: { height: "var(--radix-collapsible-content-height)" }
14
+ },
15
+ "collapsible-up": {
16
+ from: { height: "var(--radix-collapsible-content-height)" },
17
+ to: { height: "0" }
18
+ },
19
+ "fade-in": {
20
+ from: { opacity: "0" },
21
+ to: { opacity: "1" }
22
+ },
23
+ "fade-out": {
24
+ from: { opacity: "1" },
25
+ to: { opacity: "0" }
26
+ },
27
+ "slide-in-from-top": {
28
+ from: { transform: "translateY(-100%)" },
29
+ to: { transform: "translateY(0)" }
30
+ },
31
+ "slide-in-from-bottom": {
32
+ from: { transform: "translateY(100%)" },
33
+ to: { transform: "translateY(0)" }
34
+ },
35
+ "slide-in-from-left": {
36
+ from: { transform: "translateX(-100%)" },
37
+ to: { transform: "translateX(0)" }
38
+ },
39
+ "slide-in-from-right": {
40
+ from: { transform: "translateX(100%)" },
41
+ to: { transform: "translateX(0)" }
42
+ },
43
+ "zoom-in": {
44
+ from: { opacity: "0", transform: "scale(0.95)" },
45
+ to: { opacity: "1", transform: "scale(1)" }
46
+ },
47
+ "zoom-out": {
48
+ from: { opacity: "1", transform: "scale(1)" },
49
+ to: { opacity: "0", transform: "scale(0.95)" }
50
+ },
51
+ spin: {
52
+ from: { transform: "rotate(0deg)" },
53
+ to: { transform: "rotate(360deg)" }
54
+ },
55
+ ping: {
56
+ "75%, 100%": { transform: "scale(2)", opacity: "0" }
57
+ },
58
+ pulse: {
59
+ "0%, 100%": { opacity: "1" },
60
+ "50%": { opacity: "0.5" }
61
+ },
62
+ bounce: {
63
+ "0%, 100%": {
64
+ transform: "translateY(-25%)",
65
+ animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)"
66
+ },
67
+ "50%": {
68
+ transform: "translateY(0)",
69
+ animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)"
70
+ }
71
+ },
72
+ // Terminal-style animations from source app
73
+ flash: {
74
+ "0%, 100%": { opacity: "1" },
75
+ "50%": { opacity: "0" }
76
+ },
77
+ marquee: {
78
+ "0%": { transform: "translateX(100%)" },
79
+ "100%": { transform: "translateX(-100%)" }
80
+ }
14
81
  },
15
- visual: {
16
- bg: "bg-fuchsia-500",
17
- fg: "text-black",
18
- label: "VISUAL"
82
+ durations: {
83
+ fastest: "50ms",
84
+ faster: "100ms",
85
+ fast: "150ms",
86
+ normal: "200ms",
87
+ slow: "300ms",
88
+ slower: "400ms",
89
+ slowest: "500ms"
19
90
  },
20
- command: {
21
- bg: "bg-red-600",
22
- fg: "text-white",
23
- label: "COMMAND"
24
- }
25
- }, h = ({
26
- direction: m = "right",
27
- fromBg: i,
28
- toBg: d
29
- }) => m === "right" ? /* @__PURE__ */ e(
30
- "span",
31
- {
32
- className: r("inline-flex items-center", d),
33
- style: { fontSize: "1.5rem", lineHeight: 1 },
34
- children: /* @__PURE__ */ e("span", { className: i.replace("bg-", "text-") })
35
- }
36
- ) : /* @__PURE__ */ e(
37
- "span",
38
- {
39
- className: r("inline-flex items-center", i),
40
- style: { fontSize: "1.5rem", lineHeight: 1 },
41
- children: /* @__PURE__ */ e("span", { className: d.replace("bg-", "text-") })
91
+ easings: {
92
+ linear: "linear",
93
+ in: "cubic-bezier(0.4, 0, 1, 1)",
94
+ out: "cubic-bezier(0, 0, 0.2, 1)",
95
+ inOut: "cubic-bezier(0.4, 0, 0.2, 1)",
96
+ // Custom easing from source app
97
+ smooth: "cubic-bezier(0.25, 0.46, 0.45, 0.94)"
42
98
  }
43
- ), C = u.forwardRef(
44
- ({
45
- className: m,
46
- mode: i,
47
- modeVariant: d = "default",
48
- filename: o,
49
- filetype: f,
50
- filetypeAbbr: g,
51
- encoding: p = "utf-8",
52
- line: t,
53
- column: c,
54
- totalLines: a,
55
- percentage: n,
56
- branch: x,
57
- diffStat: O,
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
- if (n !== void 0) return n;
67
- if (t !== void 0 && a !== void 0 && a > 0)
68
- return t <= 1 ? "Top" : t >= a ? "Bot" : `${Math.round(t / a * 100)}%`;
69
- }, [n, t, a]);
70
- return /* @__PURE__ */ l(
71
- "div",
72
- {
73
- ref: R,
74
- className: r("flex h-6 w-full items-stretch font-mono text-sm", m),
75
- ...M,
76
- children: [
77
- /* @__PURE__ */ l("div", { className: "flex items-stretch", 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: [
82
- /* @__PURE__ */ e("span", { className: "mr-1" }),
83
- x
84
- ] })
85
- ] }),
86
- /* @__PURE__ */ e("div", { className: "flex flex-1 items-center px-3 bg-muted", children: w || /* @__PURE__ */ l(A, { children: [
87
- /* @__PURE__ */ e("span", { className: "mr-1 text-muted-foreground" }),
88
- o && /* @__PURE__ */ l("span", { className: "text-primary truncate", children: [
89
- o,
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]" })
92
- ] })
93
- ] }) }),
94
- /* @__PURE__ */ l("div", { className: "flex items-stretch", children: [
95
- S,
96
- (f || g) && /* @__PURE__ */ l("div", { className: "flex items-center px-2 bg-muted text-cyan-400", children: [
97
- /* @__PURE__ */ e("span", { className: "mr-1" }),
98
- g || f
99
- ] }),
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}` })
104
- ] })
105
- ]
106
- }
107
- );
108
- }
109
- );
110
- C.displayName = "Statusline";
99
+ };
111
100
  export {
112
- C as Statusline
101
+ t as animations
113
102
  };