@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.
- package/dist/components/ui/accordion/accordion.d.ts.map +1 -1
- package/dist/components/ui/alert/alert.d.ts +5 -4
- package/dist/components/ui/alert/alert.d.ts.map +1 -1
- package/dist/components/ui/alert/index.d.ts +1 -1
- package/dist/components/ui/alert/index.d.ts.map +1 -1
- package/dist/components/ui/avatar/avatar.d.ts.map +1 -1
- package/dist/components/ui/badge/badge.d.ts +4 -6
- package/dist/components/ui/badge/badge.d.ts.map +1 -1
- package/dist/components/ui/badge/index.d.ts +1 -1
- package/dist/components/ui/badge/index.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts +6 -7
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/button/index.d.ts.map +1 -1
- package/dist/components/ui/card/card.d.ts.map +1 -1
- package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/ui/collapsible/collapsible.d.ts.map +1 -1
- package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
- package/dist/components/ui/input/input.d.ts.map +1 -1
- package/dist/components/ui/label/label.d.ts +1 -2
- package/dist/components/ui/label/label.d.ts.map +1 -1
- package/dist/components/ui/popover/popover.d.ts.map +1 -1
- package/dist/components/ui/progress/progress.d.ts +0 -3
- package/dist/components/ui/progress/progress.d.ts.map +1 -1
- package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/select/select.d.ts.map +1 -1
- package/dist/components/ui/separator/separator.d.ts.map +1 -1
- package/dist/components/ui/skeleton/skeleton.d.ts +1 -0
- package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/ui/slider/slider.d.ts.map +1 -1
- package/dist/components/ui/switch/switch.d.ts.map +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/tabs/tabs.d.ts.map +1 -1
- package/dist/components/ui/textarea/textarea.d.ts.map +1 -1
- package/dist/components/ui/toggle/index.d.ts +1 -1
- package/dist/components/ui/toggle/index.d.ts.map +1 -1
- package/dist/components/ui/toggle/toggle.d.ts +6 -10
- package/dist/components/ui/toggle/toggle.d.ts.map +1 -1
- package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
- package/dist/globals.css +223 -287
- package/dist/hooks/use-font-loaded.d.ts +2 -0
- package/dist/hooks/use-font-loaded.d.ts.map +1 -0
- package/dist/index.d.ts +2 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -185
- package/dist/index10.js +28 -51
- package/dist/index100.js +14 -30
- package/dist/index101.js +47 -12
- package/dist/index102.js +50 -6
- package/dist/index103.js +9 -25
- package/dist/index104.js +30 -9
- package/dist/index105.js +9 -9
- package/dist/index106.js +8 -3
- package/dist/index107.js +30 -30
- package/dist/index108.js +54 -8
- package/dist/index109.js +30 -30
- package/dist/index11.js +26 -16
- package/dist/index110.js +44 -51
- package/dist/index111.js +47 -29
- package/dist/index112.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index114.js +6 -48
- package/dist/index115.js +1 -1
- package/dist/index117.js +1 -1
- package/dist/index118.js +3 -3
- package/dist/index119.js +2 -48
- package/dist/index12.js +6 -5
- package/dist/index120.js +53 -6
- package/dist/index121.js +62 -18
- package/dist/index122.js +25 -9
- package/dist/index123.js +29 -38
- package/dist/index124.js +5 -18
- package/dist/index125.js +2 -25
- package/dist/index126.js +2 -29
- package/dist/index127.js +5 -5
- package/dist/index128.js +3 -2
- package/dist/index129.js +22 -51
- package/dist/index13.js +77 -134
- package/dist/index130.js +108 -60
- package/dist/index131.js +16 -2
- package/dist/index132.js +525 -2
- package/dist/index133.js +128 -5
- package/dist/index134.js +134 -3
- package/dist/index135.js +63 -22
- package/dist/index136.js +66 -110
- package/dist/index137.js +8 -15
- package/dist/index138.js +11 -522
- package/dist/index139.js +65 -127
- package/dist/index14.js +13 -97
- package/dist/index140.js +3 -133
- package/dist/index141.js +19 -61
- package/dist/index142.js +22 -68
- package/dist/index143.js +11 -7
- package/dist/index144.js +28 -14
- package/dist/index145.js +4 -65
- package/dist/index15.js +12 -71
- package/dist/index16.js +19 -254
- package/dist/index17.js +32 -138
- package/dist/index18.js +25 -89
- package/dist/index19.js +37 -18
- package/dist/index2.js +5 -5
- package/dist/index20.js +139 -10
- package/dist/index21.js +18 -19
- package/dist/index22.js +13 -35
- package/dist/index23.js +24 -22
- package/dist/index24.js +13 -34
- package/dist/index25.js +31 -114
- package/dist/index26.js +32 -16
- package/dist/index27.js +14 -74
- package/dist/index28.js +15 -12
- package/dist/index29.js +24 -29
- package/dist/index3.js +10 -22
- package/dist/index30.js +97 -108
- package/dist/index31.js +39 -25
- package/dist/index32.js +11 -65
- package/dist/index33.js +49 -44
- package/dist/index34.js +65 -85
- package/dist/index35.js +234 -15
- package/dist/index38.js +71 -98
- package/dist/index4.js +22 -37
- package/dist/index43.js +58 -13
- package/dist/index45.js +219 -207
- package/dist/index48.js +530 -9
- package/dist/index5.js +51 -34
- package/dist/index50.js +18 -11
- package/dist/index52.js +229 -298
- package/dist/index54.js +218 -100
- package/dist/index57.js +115 -245
- package/dist/index59.js +22 -12
- package/dist/index6.js +21 -75
- package/dist/index61.js +325 -119
- package/dist/index63.js +74 -117
- package/dist/index65.js +409 -210
- package/dist/index67.js +234 -311
- package/dist/index69.js +112 -16
- package/dist/index7.js +22 -27
- package/dist/index71.js +146 -67
- package/dist/index73.js +30 -434
- package/dist/index76.js +854 -62
- package/dist/index78.js +64 -23
- package/dist/index79.js +44 -5
- package/dist/index8.js +6 -27
- package/dist/index80.js +24 -49
- package/dist/index81.js +6 -33
- package/dist/index82.js +51 -10
- package/dist/index83.js +33 -7
- package/dist/index84.js +10 -124
- package/dist/index85.js +7 -14
- package/dist/index86.js +50 -130
- package/dist/index87.js +10 -218
- package/dist/index88.js +4 -14
- package/dist/index89.js +29 -68
- package/dist/index9.js +19 -34
- package/dist/index90.js +12 -47
- package/dist/index91.js +6 -50
- package/dist/index92.js +25 -9
- package/dist/index93.js +68 -3
- package/dist/index94.js +3 -649
- package/dist/index95.js +30 -15
- package/dist/index96.js +124 -29
- package/dist/index97.js +13 -46
- package/dist/index98.js +130 -50
- package/dist/index99.js +218 -10
- package/dist/lib/utils.d.ts +8 -8
- package/dist/lib/utils.d.ts.map +1 -1
- package/package.json +5 -46
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +0 -21
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog/index.d.ts +0 -2
- package/dist/components/ui/alert-dialog/index.d.ts.map +0 -1
- package/dist/components/ui/combobox/combobox.d.ts +0 -31
- package/dist/components/ui/combobox/combobox.d.ts.map +0 -1
- package/dist/components/ui/combobox/index.d.ts +0 -3
- package/dist/components/ui/combobox/index.d.ts.map +0 -1
- package/dist/components/ui/command/command.d.ts +0 -85
- package/dist/components/ui/command/command.d.ts.map +0 -1
- package/dist/components/ui/command/index.d.ts +0 -2
- package/dist/components/ui/command/index.d.ts.map +0 -1
- package/dist/components/ui/dithered-image/dithered-image.d.ts +0 -21
- package/dist/components/ui/dithered-image/dithered-image.d.ts.map +0 -1
- package/dist/components/ui/dithered-image/index.d.ts +0 -3
- package/dist/components/ui/dithered-image/index.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -28
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -2
- package/dist/components/ui/dropdown-menu/index.d.ts.map +0 -1
- package/dist/components/ui/form/form.d.ts +0 -24
- package/dist/components/ui/form/form.d.ts.map +0 -1
- package/dist/components/ui/form/index.d.ts +0 -2
- package/dist/components/ui/form/index.d.ts.map +0 -1
- package/dist/components/ui/sheet/index.d.ts +0 -2
- package/dist/components/ui/sheet/index.d.ts.map +0 -1
- package/dist/components/ui/sheet/sheet.d.ts +0 -26
- package/dist/components/ui/sheet/sheet.d.ts.map +0 -1
- package/dist/components/ui/statusline/index.d.ts +0 -2
- package/dist/components/ui/statusline/index.d.ts.map +0 -1
- package/dist/components/ui/statusline/statusline.d.ts +0 -40
- package/dist/components/ui/statusline/statusline.d.ts.map +0 -1
- package/dist/components/ui/terminal-textarea/index.d.ts +0 -2
- package/dist/components/ui/terminal-textarea/index.d.ts.map +0 -1
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts +0 -16
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +0 -1
- package/dist/index146.js +0 -6
- package/dist/index147.js +0 -25
- package/dist/index148.js +0 -25
- package/dist/index149.js +0 -15
- package/dist/index150.js +0 -30
- package/dist/index151.js +0 -7
- package/dist/index36.js +0 -37
- package/dist/index37.js +0 -28
- package/dist/index39.js +0 -41
- package/dist/index40.js +0 -13
- package/dist/index41.js +0 -51
- package/dist/index42.js +0 -68
- package/dist/index44.js +0 -2265
- package/dist/index46.js +0 -13
- package/dist/index47.js +0 -227
- package/dist/index49.js +0 -13
- package/dist/index51.js +0 -243
- package/dist/index53.js +0 -14
- package/dist/index55.js +0 -20
- package/dist/index56.js +0 -35
- package/dist/index58.js +0 -14
- package/dist/index60.js +0 -75
- package/dist/index62.js +0 -62
- package/dist/index64.js +0 -256
- package/dist/index66.js +0 -532
- package/dist/index68.js +0 -251
- package/dist/index70.js +0 -163
- package/dist/index72.js +0 -33
- package/dist/index74.js +0 -862
- package/dist/index75.js +0 -11
- package/dist/index77.js +0 -48
package/dist/index25.js
CHANGED
|
@@ -1,117 +1,34 @@
|
|
|
1
|
-
import { jsx as
|
|
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 {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
));
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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
|
|
2
|
-
import { Root as
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
10
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
16
|
+
p as Toggle
|
|
14
17
|
};
|
package/dist/index29.js
CHANGED
|
@@ -1,31 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Root as
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
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
|
-
|
|
101
|
+
t as animations
|
|
113
102
|
};
|