@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.
- package/LICENSE +1 -1
- package/dist/components/ui/accordion/accordion.d.ts +1 -1
- package/dist/components/ui/accordion/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion/index.d.ts +1 -1
- package/dist/components/ui/accordion/index.d.ts.map +1 -1
- 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/alert-dialog/alert-dialog.d.ts +2 -2
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog/index.d.ts +1 -1
- package/dist/components/ui/alert-dialog/index.d.ts.map +1 -1
- package/dist/components/ui/avatar/avatar.d.ts +1 -1
- package/dist/components/ui/avatar/avatar.d.ts.map +1 -1
- package/dist/components/ui/avatar/index.d.ts +1 -1
- package/dist/components/ui/avatar/index.d.ts.map +1 -1
- package/dist/components/ui/badge/badge.d.ts +1 -1
- 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.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/card/index.d.ts +1 -1
- package/dist/components/ui/card/index.d.ts.map +1 -1
- package/dist/components/ui/checkbox/checkbox.d.ts +1 -1
- package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox/index.d.ts.map +1 -1
- package/dist/components/ui/collapsible/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible/index.d.ts +1 -1
- package/dist/components/ui/collapsible/index.d.ts.map +1 -1
- package/dist/components/ui/combobox/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox/index.d.ts +1 -1
- package/dist/components/ui/combobox/index.d.ts.map +1 -1
- package/dist/components/ui/command/command.d.ts.map +1 -1
- package/dist/components/ui/command/index.d.ts +1 -1
- package/dist/components/ui/command/index.d.ts.map +1 -1
- package/dist/components/ui/dialog/dialog.d.ts +1 -1
- package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog/index.d.ts +1 -1
- package/dist/components/ui/dialog/index.d.ts.map +1 -1
- package/dist/components/ui/dithered-image/dithered-image.d.ts.map +1 -1
- package/dist/components/ui/dithered-image/index.d.ts +1 -1
- package/dist/components/ui/dithered-image/index.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu/index.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/index.d.ts.map +1 -1
- package/dist/components/ui/form/form.d.ts +1 -1
- package/dist/components/ui/form/form.d.ts.map +1 -1
- package/dist/components/ui/form/index.d.ts +1 -1
- package/dist/components/ui/form/index.d.ts.map +1 -1
- package/dist/components/ui/input/index.d.ts.map +1 -1
- package/dist/components/ui/input/input.d.ts.map +1 -1
- package/dist/components/ui/label/index.d.ts.map +1 -1
- package/dist/components/ui/label/label.d.ts +1 -1
- package/dist/components/ui/label/label.d.ts.map +1 -1
- package/dist/components/ui/popover/index.d.ts +1 -1
- package/dist/components/ui/popover/index.d.ts.map +1 -1
- package/dist/components/ui/popover/popover.d.ts +1 -1
- package/dist/components/ui/popover/popover.d.ts.map +1 -1
- package/dist/components/ui/progress/index.d.ts.map +1 -1
- package/dist/components/ui/progress/progress.d.ts +1 -1
- package/dist/components/ui/progress/progress.d.ts.map +1 -1
- package/dist/components/ui/radio-group/index.d.ts.map +1 -1
- package/dist/components/ui/radio-group/radio-group.d.ts +1 -1
- package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/ui/scroll-area/index.d.ts.map +1 -1
- package/dist/components/ui/scroll-area/scroll-area.d.ts +1 -1
- package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/select/index.d.ts +1 -1
- package/dist/components/ui/select/index.d.ts.map +1 -1
- package/dist/components/ui/select/select.d.ts +1 -1
- package/dist/components/ui/select/select.d.ts.map +1 -1
- package/dist/components/ui/separator/index.d.ts.map +1 -1
- package/dist/components/ui/separator/separator.d.ts +1 -1
- package/dist/components/ui/separator/separator.d.ts.map +1 -1
- package/dist/components/ui/sheet/index.d.ts +1 -1
- package/dist/components/ui/sheet/index.d.ts.map +1 -1
- package/dist/components/ui/sheet/sheet.d.ts +2 -2
- package/dist/components/ui/sheet/sheet.d.ts.map +1 -1
- package/dist/components/ui/skeleton/index.d.ts.map +1 -1
- package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/ui/slider/index.d.ts.map +1 -1
- package/dist/components/ui/slider/slider.d.ts +1 -1
- package/dist/components/ui/slider/slider.d.ts.map +1 -1
- package/dist/components/ui/statusline/index.d.ts.map +1 -1
- package/dist/components/ui/statusline/statusline.d.ts.map +1 -1
- package/dist/components/ui/switch/index.d.ts.map +1 -1
- package/dist/components/ui/switch/switch.d.ts +1 -1
- package/dist/components/ui/switch/switch.d.ts.map +1 -1
- package/dist/components/ui/table/index.d.ts +1 -1
- package/dist/components/ui/table/index.d.ts.map +1 -1
- package/dist/components/ui/table/table.d.ts +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/tabs/index.d.ts +1 -1
- package/dist/components/ui/tabs/index.d.ts.map +1 -1
- package/dist/components/ui/tabs/tabs.d.ts +1 -1
- package/dist/components/ui/tabs/tabs.d.ts.map +1 -1
- package/dist/components/ui/terminal-textarea/index.d.ts.map +1 -1
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts +1 -7
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +1 -1
- package/dist/components/ui/textarea/index.d.ts.map +1 -1
- package/dist/components/ui/textarea/textarea.d.ts.map +1 -1
- package/dist/components/ui/toggle/index.d.ts.map +1 -1
- package/dist/components/ui/toggle/toggle.d.ts +1 -1
- package/dist/components/ui/toggle/toggle.d.ts.map +1 -1
- package/dist/components/ui/tooltip/index.d.ts +1 -1
- package/dist/components/ui/tooltip/index.d.ts.map +1 -1
- package/dist/components/ui/tooltip/tooltip.d.ts +1 -1
- package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index10.js +42 -44
- package/dist/index100.js +9 -25
- package/dist/index101.js +3 -8
- package/dist/index102.js +628 -159
- package/dist/index103.js +5 -47
- package/dist/index104.js +25 -30
- package/dist/index105.js +30 -55
- package/dist/index106.js +1 -1
- package/dist/index107.js +15 -30
- package/dist/index108.js +159 -628
- package/dist/index109.js +1 -1
- package/dist/index11.js +5 -11
- package/dist/index110.js +54 -29
- package/dist/index111.js +30 -9
- package/dist/index112.js +45 -12
- package/dist/index114.js +1 -1
- package/dist/index115.js +1 -1
- package/dist/index116.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index12.js +2 -2
- package/dist/index120.js +48 -21
- package/dist/index121.js +15 -3
- package/dist/index122.js +3 -32
- package/dist/index123.js +32 -12
- package/dist/index124.js +18 -48
- package/dist/index13.js +2 -2
- package/dist/index14.js +5 -14
- package/dist/index15.js +15 -39
- package/dist/index16.js +3 -30
- package/dist/index17.js +24 -28
- package/dist/index18.js +11 -13
- package/dist/index20.js +5 -12
- package/dist/index21.js +3 -3
- package/dist/index22.js +10 -13
- package/dist/index23.js +7 -14
- package/dist/index24.js +8 -8
- package/dist/index25.js +24 -30
- package/dist/index26.js +15 -17
- package/dist/index27.js +50 -44
- package/dist/index28.js +2 -10
- package/dist/index29.js +6 -9
- package/dist/index3.js +18 -18
- package/dist/index30.js +27 -60
- package/dist/index31.js +4 -4
- package/dist/index32.js +16 -39
- package/dist/index33.js +7 -7
- package/dist/index34.js +19 -20
- package/dist/index36.js +5 -5
- package/dist/index37.js +7 -4
- package/dist/index38.js +99 -38
- package/dist/index39.js +37 -64
- package/dist/index4.js +7 -14
- package/dist/index40.js +10 -48
- package/dist/index41.js +48 -99
- package/dist/index42.js +65 -10
- package/dist/index45.js +33 -237
- package/dist/index46.js +125 -11
- package/dist/index47.js +237 -33
- package/dist/index48.js +11 -73
- package/dist/index49.js +57 -238
- package/dist/index5.js +13 -26
- package/dist/index50.js +61 -423
- package/dist/index51.js +224 -108
- package/dist/index52.js +311 -224
- package/dist/index53.js +530 -9
- package/dist/index54.js +209 -102
- package/dist/index55.js +9 -130
- package/dist/index56.js +11 -236
- package/dist/index57.js +4 -4
- package/dist/index58.js +128 -58
- package/dist/index59.js +298 -242
- package/dist/index6.js +44 -14
- package/dist/index60.js +12 -260
- package/dist/index61.js +18 -12
- package/dist/index62.js +18 -526
- package/dist/index63.js +252 -16
- package/dist/index64.js +98 -141
- package/dist/index65.js +146 -67
- package/dist/index66.js +256 -18
- package/dist/index67.js +12 -860
- package/dist/index68.js +82 -9
- package/dist/index69.js +828 -193
- package/dist/index7.js +5 -5
- package/dist/index70.js +3 -5
- package/dist/index71.js +28 -333
- package/dist/index72.js +237 -298
- package/dist/index73.js +236 -12
- package/dist/index74.js +12 -31
- package/dist/index75.js +435 -12
- package/dist/index77.js +25 -44
- package/dist/index78.js +5 -25
- package/dist/index79.js +8 -6
- package/dist/index8.js +1 -1
- package/dist/index80.js +44 -50
- package/dist/index81.js +51 -33
- package/dist/index82.js +33 -10
- package/dist/index83.js +10 -7
- package/dist/index84.js +7 -54
- package/dist/index85.js +54 -10
- package/dist/index86.js +11 -4
- package/dist/index87.js +4 -30
- package/dist/index88.js +30 -13
- package/dist/index89.js +11 -123
- package/dist/index9.js +6 -13
- package/dist/index90.js +122 -12
- package/dist/index91.js +212 -128
- package/dist/index92.js +13 -218
- package/dist/index93.js +69 -14
- package/dist/index94.js +8 -68
- package/dist/index95.js +29 -47
- package/dist/index96.js +15 -50
- package/dist/index97.js +134 -8
- package/dist/index98.js +47 -3
- package/dist/index99.js +50 -6
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/tokens/animations.d.ts.map +1 -1
- package/dist/tokens/colors.d.ts.map +1 -1
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/shadows.d.ts.map +1 -1
- package/dist/tokens/spacing.d.ts.map +1 -1
- package/dist/tokens/typography.d.ts.map +1 -1
- package/package.json +19 -9
package/dist/index109.js
CHANGED
package/dist/index11.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import { Checkbox as o, CheckboxIndicator as c } from "./index72.js";
|
|
3
|
+
import * as s from "react";
|
|
4
4
|
import { cn as r } from "./index2.js";
|
|
5
|
-
import m from "./
|
|
6
|
-
const n =
|
|
5
|
+
import m from "./index55.js";
|
|
6
|
+
const n = s.forwardRef(({ className: i, ...t }, a) => /* @__PURE__ */ e(
|
|
7
7
|
o,
|
|
8
8
|
{
|
|
9
9
|
ref: a,
|
|
@@ -12,13 +12,7 @@ const n = c.forwardRef(({ className: i, ...t }, a) => /* @__PURE__ */ e(
|
|
|
12
12
|
i
|
|
13
13
|
),
|
|
14
14
|
...t,
|
|
15
|
-
children: /* @__PURE__ */ e(
|
|
16
|
-
s,
|
|
17
|
-
{
|
|
18
|
-
className: r("flex items-center justify-center text-current"),
|
|
19
|
-
children: /* @__PURE__ */ e(m, { className: "h-5 w-5" })
|
|
20
|
-
}
|
|
21
|
-
)
|
|
15
|
+
children: /* @__PURE__ */ e(c, { className: r("flex items-center justify-center text-current"), children: /* @__PURE__ */ e(m, { className: "h-5 w-5" }) })
|
|
22
16
|
}
|
|
23
17
|
));
|
|
24
18
|
n.displayName = o.displayName;
|
package/dist/index110.js
CHANGED
|
@@ -1,32 +1,57 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
style: { ...d, ...r.style }
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
3
|
+
function $(e, x = []) {
|
|
4
|
+
let o = [];
|
|
5
|
+
function f(r, n) {
|
|
6
|
+
const t = i.createContext(n);
|
|
7
|
+
t.displayName = r + "Context";
|
|
8
|
+
const c = o.length;
|
|
9
|
+
o = [...o, n];
|
|
10
|
+
const m = (a) => {
|
|
11
|
+
var l;
|
|
12
|
+
const { scope: s, children: C, ...p } = a, d = ((l = s == null ? void 0 : s[e]) == null ? void 0 : l[c]) || t, v = i.useMemo(() => p, Object.values(p));
|
|
13
|
+
return /* @__PURE__ */ _(d.Provider, { value: v, children: C });
|
|
14
|
+
};
|
|
15
|
+
m.displayName = r + "Provider";
|
|
16
|
+
function S(a, s) {
|
|
17
|
+
var d;
|
|
18
|
+
const C = ((d = s == null ? void 0 : s[e]) == null ? void 0 : d[c]) || t, p = i.useContext(C);
|
|
19
|
+
if (p) return p;
|
|
20
|
+
if (n !== void 0) return n;
|
|
21
|
+
throw new Error(`\`${a}\` must be used within \`${r}\``);
|
|
23
22
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
return [m, S];
|
|
24
|
+
}
|
|
25
|
+
const u = () => {
|
|
26
|
+
const r = o.map((n) => i.createContext(n));
|
|
27
|
+
return function(t) {
|
|
28
|
+
const c = (t == null ? void 0 : t[e]) || r;
|
|
29
|
+
return i.useMemo(
|
|
30
|
+
() => ({ [`__scope${e}`]: { ...t, [e]: c } }),
|
|
31
|
+
[t, c]
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
return u.scopeName = e, [f, h(u, ...x)];
|
|
36
|
+
}
|
|
37
|
+
function h(...e) {
|
|
38
|
+
const x = e[0];
|
|
39
|
+
if (e.length === 1) return x;
|
|
40
|
+
const o = () => {
|
|
41
|
+
const f = e.map((u) => ({
|
|
42
|
+
useScope: u(),
|
|
43
|
+
scopeName: u.scopeName
|
|
44
|
+
}));
|
|
45
|
+
return function(r) {
|
|
46
|
+
const n = f.reduce((t, { useScope: c, scopeName: m }) => {
|
|
47
|
+
const a = c(r)[`__scope${m}`];
|
|
48
|
+
return { ...t, ...a };
|
|
49
|
+
}, {});
|
|
50
|
+
return i.useMemo(() => ({ [`__scope${x.scopeName}`]: n }), [n]);
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
return o.scopeName = x.scopeName, o;
|
|
54
|
+
}
|
|
28
55
|
export {
|
|
29
|
-
|
|
30
|
-
d as VISUALLY_HIDDEN_STYLES,
|
|
31
|
-
e as VisuallyHidden
|
|
56
|
+
$ as createContextScope
|
|
32
57
|
};
|
package/dist/index111.js
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import "react-dom";
|
|
3
|
+
import { createSlot as l } from "./index49.js";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
var u = [
|
|
6
|
+
"a",
|
|
7
|
+
"button",
|
|
8
|
+
"div",
|
|
9
|
+
"form",
|
|
10
|
+
"h2",
|
|
11
|
+
"h3",
|
|
12
|
+
"img",
|
|
13
|
+
"input",
|
|
14
|
+
"label",
|
|
15
|
+
"li",
|
|
16
|
+
"nav",
|
|
17
|
+
"ol",
|
|
18
|
+
"p",
|
|
19
|
+
"select",
|
|
20
|
+
"span",
|
|
21
|
+
"svg",
|
|
22
|
+
"ul"
|
|
23
|
+
], w = u.reduce((t, i) => {
|
|
24
|
+
const o = l(`Primitive.${i}`), r = f.forwardRef((e, m) => {
|
|
25
|
+
const { asChild: a, ...p } = e, s = a ? o : i;
|
|
26
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, { ...p, ref: m });
|
|
27
|
+
});
|
|
28
|
+
return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
|
|
29
|
+
}, {});
|
|
9
30
|
export {
|
|
10
|
-
|
|
31
|
+
w as Primitive
|
|
11
32
|
};
|
package/dist/index112.js
CHANGED
|
@@ -1,17 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { composeRefs as m } from "./index77.js";
|
|
3
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
4
|
+
// @__NO_SIDE_EFFECTS__
|
|
5
|
+
function b(e) {
|
|
6
|
+
const n = /* @__PURE__ */ y(e), o = l.forwardRef((t, r) => {
|
|
7
|
+
const { children: i, ...c } = t, s = l.Children.toArray(i), a = s.find(E);
|
|
8
|
+
if (a) {
|
|
9
|
+
const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
|
|
10
|
+
return /* @__PURE__ */ u(n, { ...c, ref: r, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
|
|
11
|
+
}
|
|
12
|
+
return /* @__PURE__ */ u(n, { ...c, ref: r, children: i });
|
|
13
|
+
});
|
|
14
|
+
return o.displayName = `${e}.Slot`, o;
|
|
8
15
|
}
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
// @__NO_SIDE_EFFECTS__
|
|
17
|
+
function y(e) {
|
|
18
|
+
const n = l.forwardRef((o, t) => {
|
|
19
|
+
const { children: r, ...i } = o;
|
|
20
|
+
if (l.isValidElement(r)) {
|
|
21
|
+
const c = S(r), s = C(i, r.props);
|
|
22
|
+
return r.type !== l.Fragment && (s.ref = t ? m(t, c) : c), l.cloneElement(r, s);
|
|
23
|
+
}
|
|
24
|
+
return l.Children.count(r) > 1 ? l.Children.only(null) : null;
|
|
25
|
+
});
|
|
26
|
+
return n.displayName = `${e}.SlotClone`, n;
|
|
11
27
|
}
|
|
12
|
-
|
|
13
|
-
|
|
28
|
+
var g = Symbol("radix.slottable");
|
|
29
|
+
function E(e) {
|
|
30
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === g;
|
|
31
|
+
}
|
|
32
|
+
function C(e, n) {
|
|
33
|
+
const o = { ...n };
|
|
34
|
+
for (const t in n) {
|
|
35
|
+
const r = e[t], i = n[t];
|
|
36
|
+
/^on[A-Z]/.test(t) ? r && i ? o[t] = (...s) => {
|
|
37
|
+
const a = i(...s);
|
|
38
|
+
return r(...s), a;
|
|
39
|
+
} : r && (o[t] = r) : t === "style" ? o[t] = { ...r, ...i } : t === "className" && (o[t] = [r, i].filter(Boolean).join(" "));
|
|
40
|
+
}
|
|
41
|
+
return { ...e, ...o };
|
|
42
|
+
}
|
|
43
|
+
function S(e) {
|
|
44
|
+
var t, r;
|
|
45
|
+
let n = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, o = n && "isReactWarning" in n && n.isReactWarning;
|
|
46
|
+
return o ? e.ref : (n = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
14
47
|
}
|
|
15
48
|
export {
|
|
16
|
-
|
|
49
|
+
b as createSlot
|
|
17
50
|
};
|
package/dist/index114.js
CHANGED
package/dist/index115.js
CHANGED
package/dist/index116.js
CHANGED
package/dist/index118.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
|
-
import { Primitive as p } from "./
|
|
2
|
+
import { Primitive as p } from "./index82.js";
|
|
3
3
|
import { jsx as o } from "react/jsx-runtime";
|
|
4
4
|
var v = "Arrow", e = n.forwardRef((r, i) => {
|
|
5
5
|
const { children: t, width: a = 10, height: s = 5, ...m } = r;
|
package/dist/index12.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Root as l,
|
|
2
|
-
const t = l, i =
|
|
1
|
+
import { Root as l, CollapsibleContent as o, CollapsibleTrigger as e } from "./index64.js";
|
|
2
|
+
const t = l, i = e, C = o;
|
|
3
3
|
export {
|
|
4
4
|
t as Collapsible,
|
|
5
5
|
C as CollapsibleContent,
|
package/dist/index120.js
CHANGED
|
@@ -1,23 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
({
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { composeRefs as m } from "./index77.js";
|
|
3
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
4
|
+
// @__NO_SIDE_EFFECTS__
|
|
5
|
+
function b(e) {
|
|
6
|
+
const n = /* @__PURE__ */ y(e), o = l.forwardRef((t, r) => {
|
|
7
|
+
const { children: i, ...c } = t, s = l.Children.toArray(i), a = s.find(E);
|
|
8
|
+
if (a) {
|
|
9
|
+
const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
|
|
10
|
+
return /* @__PURE__ */ u(n, { ...c, ref: r, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
|
|
11
|
+
}
|
|
12
|
+
return /* @__PURE__ */ u(n, { ...c, ref: r, children: i });
|
|
13
|
+
});
|
|
14
|
+
return o.displayName = `${e}.Slot`, o;
|
|
15
|
+
}
|
|
16
|
+
// @__NO_SIDE_EFFECTS__
|
|
17
|
+
function y(e) {
|
|
18
|
+
const n = l.forwardRef((o, t) => {
|
|
19
|
+
const { children: r, ...i } = o;
|
|
20
|
+
if (l.isValidElement(r)) {
|
|
21
|
+
const c = S(r), s = C(i, r.props);
|
|
22
|
+
return r.type !== l.Fragment && (s.ref = t ? m(t, c) : c), l.cloneElement(r, s);
|
|
23
|
+
}
|
|
24
|
+
return l.Children.count(r) > 1 ? l.Children.only(null) : null;
|
|
25
|
+
});
|
|
26
|
+
return n.displayName = `${e}.SlotClone`, n;
|
|
27
|
+
}
|
|
28
|
+
var g = Symbol("radix.slottable");
|
|
29
|
+
function E(e) {
|
|
30
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === g;
|
|
31
|
+
}
|
|
32
|
+
function C(e, n) {
|
|
33
|
+
const o = { ...n };
|
|
34
|
+
for (const t in n) {
|
|
35
|
+
const r = e[t], i = n[t];
|
|
36
|
+
/^on[A-Z]/.test(t) ? r && i ? o[t] = (...s) => {
|
|
37
|
+
const a = i(...s);
|
|
38
|
+
return r(...s), a;
|
|
39
|
+
} : r && (o[t] = r) : t === "style" ? o[t] = { ...r, ...i } : t === "className" && (o[t] = [r, i].filter(Boolean).join(" "));
|
|
40
|
+
}
|
|
41
|
+
return { ...e, ...o };
|
|
42
|
+
}
|
|
43
|
+
function S(e) {
|
|
44
|
+
var t, r;
|
|
45
|
+
let n = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, o = n && "isReactWarning" in n && n.isReactWarning;
|
|
46
|
+
return o ? e.ref : (n = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
47
|
+
}
|
|
21
48
|
export {
|
|
22
|
-
|
|
49
|
+
b as createSlot
|
|
23
50
|
};
|
package/dist/index121.js
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
|
+
import { forwardRef as s, createElement as c } from "react";
|
|
2
|
+
import { mergeClasses as n, toKebabCase as f } from "./index122.js";
|
|
3
|
+
import l from "./index123.js";
|
|
1
4
|
/**
|
|
2
5
|
* @license lucide-react v0.460.0 - ISC
|
|
3
6
|
*
|
|
4
7
|
* This source code is licensed under the ISC license.
|
|
5
8
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
9
|
*/
|
|
7
|
-
const
|
|
10
|
+
const u = (e, r) => {
|
|
11
|
+
const o = s(
|
|
12
|
+
({ className: t, ...a }, m) => c(l, {
|
|
13
|
+
ref: m,
|
|
14
|
+
iconNode: r,
|
|
15
|
+
className: n(`lucide-${f(e)}`, t),
|
|
16
|
+
...a
|
|
17
|
+
})
|
|
18
|
+
);
|
|
19
|
+
return o.displayName = `${e}`, o;
|
|
20
|
+
};
|
|
8
21
|
export {
|
|
9
|
-
|
|
10
|
-
n as toKebabCase
|
|
22
|
+
u as default
|
|
11
23
|
};
|
package/dist/index122.js
CHANGED
|
@@ -1,40 +1,11 @@
|
|
|
1
|
-
import { forwardRef as i, createElement as o } from "react";
|
|
2
|
-
import b from "./index123.js";
|
|
3
|
-
import { mergeClasses as d } from "./index121.js";
|
|
4
1
|
/**
|
|
5
2
|
* @license lucide-react v0.460.0 - ISC
|
|
6
3
|
*
|
|
7
4
|
* This source code is licensed under the ISC license.
|
|
8
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
9
6
|
*/
|
|
10
|
-
const
|
|
11
|
-
({
|
|
12
|
-
color: m = "currentColor",
|
|
13
|
-
size: r = 24,
|
|
14
|
-
strokeWidth: e = 2,
|
|
15
|
-
absoluteStrokeWidth: a,
|
|
16
|
-
className: s = "",
|
|
17
|
-
children: t,
|
|
18
|
-
iconNode: u,
|
|
19
|
-
...f
|
|
20
|
-
}, l) => o(
|
|
21
|
-
"svg",
|
|
22
|
-
{
|
|
23
|
-
ref: l,
|
|
24
|
-
...b,
|
|
25
|
-
width: r,
|
|
26
|
-
height: r,
|
|
27
|
-
stroke: m,
|
|
28
|
-
strokeWidth: a ? Number(e) * 24 / Number(r) : e,
|
|
29
|
-
className: d("lucide", s),
|
|
30
|
-
...f
|
|
31
|
-
},
|
|
32
|
-
[
|
|
33
|
-
...u.map(([p, c]) => o(p, c)),
|
|
34
|
-
...Array.isArray(t) ? t : [t]
|
|
35
|
-
]
|
|
36
|
-
)
|
|
37
|
-
);
|
|
7
|
+
const n = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), i = (...e) => e.filter((o, r, t) => !!o && o.trim() !== "" && t.indexOf(o) === r).join(" ").trim();
|
|
38
8
|
export {
|
|
39
|
-
|
|
9
|
+
i as mergeClasses,
|
|
10
|
+
n as toKebabCase
|
|
40
11
|
};
|
package/dist/index123.js
CHANGED
|
@@ -1,20 +1,40 @@
|
|
|
1
|
+
import { forwardRef as i, createElement as o } from "react";
|
|
2
|
+
import b from "./index124.js";
|
|
3
|
+
import { mergeClasses as d } from "./index122.js";
|
|
1
4
|
/**
|
|
2
5
|
* @license lucide-react v0.460.0 - ISC
|
|
3
6
|
*
|
|
4
7
|
* This source code is licensed under the ISC license.
|
|
5
8
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
9
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
10
|
+
const N = i(
|
|
11
|
+
({
|
|
12
|
+
color: m = "currentColor",
|
|
13
|
+
size: r = 24,
|
|
14
|
+
strokeWidth: e = 2,
|
|
15
|
+
absoluteStrokeWidth: a,
|
|
16
|
+
className: s = "",
|
|
17
|
+
children: t,
|
|
18
|
+
iconNode: u,
|
|
19
|
+
...f
|
|
20
|
+
}, l) => o(
|
|
21
|
+
"svg",
|
|
22
|
+
{
|
|
23
|
+
ref: l,
|
|
24
|
+
...b,
|
|
25
|
+
width: r,
|
|
26
|
+
height: r,
|
|
27
|
+
stroke: m,
|
|
28
|
+
strokeWidth: a ? Number(e) * 24 / Number(r) : e,
|
|
29
|
+
className: d("lucide", s),
|
|
30
|
+
...f
|
|
31
|
+
},
|
|
32
|
+
[
|
|
33
|
+
...u.map(([p, c]) => o(p, c)),
|
|
34
|
+
...Array.isArray(t) ? t : [t]
|
|
35
|
+
]
|
|
36
|
+
)
|
|
37
|
+
);
|
|
18
38
|
export {
|
|
19
|
-
|
|
39
|
+
N as default
|
|
20
40
|
};
|
package/dist/index124.js
CHANGED
|
@@ -1,50 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const n = l.forwardRef((o, t) => {
|
|
19
|
-
const { children: r, ...i } = o;
|
|
20
|
-
if (l.isValidElement(r)) {
|
|
21
|
-
const c = S(r), s = C(i, r.props);
|
|
22
|
-
return r.type !== l.Fragment && (s.ref = t ? m(t, c) : c), l.cloneElement(r, s);
|
|
23
|
-
}
|
|
24
|
-
return l.Children.count(r) > 1 ? l.Children.only(null) : null;
|
|
25
|
-
});
|
|
26
|
-
return n.displayName = `${e}.SlotClone`, n;
|
|
27
|
-
}
|
|
28
|
-
var g = Symbol("radix.slottable");
|
|
29
|
-
function E(e) {
|
|
30
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === g;
|
|
31
|
-
}
|
|
32
|
-
function C(e, n) {
|
|
33
|
-
const o = { ...n };
|
|
34
|
-
for (const t in n) {
|
|
35
|
-
const r = e[t], i = n[t];
|
|
36
|
-
/^on[A-Z]/.test(t) ? r && i ? o[t] = (...s) => {
|
|
37
|
-
const a = i(...s);
|
|
38
|
-
return r(...s), a;
|
|
39
|
-
} : r && (o[t] = r) : t === "style" ? o[t] = { ...r, ...i } : t === "className" && (o[t] = [r, i].filter(Boolean).join(" "));
|
|
40
|
-
}
|
|
41
|
-
return { ...e, ...o };
|
|
42
|
-
}
|
|
43
|
-
function S(e) {
|
|
44
|
-
var t, r;
|
|
45
|
-
let n = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, o = n && "isReactWarning" in n && n.isReactWarning;
|
|
46
|
-
return o ? e.ref : (n = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
47
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license lucide-react v0.460.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
var t = {
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
width: 24,
|
|
10
|
+
height: 24,
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeWidth: 2,
|
|
15
|
+
strokeLinecap: "round",
|
|
16
|
+
strokeLinejoin: "round"
|
|
17
|
+
};
|
|
48
18
|
export {
|
|
49
|
-
|
|
19
|
+
t as default
|
|
50
20
|
};
|
package/dist/index13.js
CHANGED
|
@@ -3,9 +3,9 @@ import * as h from "react";
|
|
|
3
3
|
import { cn as f } from "./index2.js";
|
|
4
4
|
import { Popover as v, PopoverTrigger as C, PopoverContent as S } from "./index21.js";
|
|
5
5
|
import { Button as O } from "./index9.js";
|
|
6
|
-
import j from "./
|
|
6
|
+
import j from "./index74.js";
|
|
7
7
|
import { Command as k, CommandInput as P, CommandList as R, CommandEmpty as B, CommandGroup as I, CommandItem as L } from "./index14.js";
|
|
8
|
-
import M from "./
|
|
8
|
+
import M from "./index55.js";
|
|
9
9
|
const D = h.forwardRef(
|
|
10
10
|
({
|
|
11
11
|
options: s,
|
package/dist/index14.js
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Command as r } from "./index59.js";
|
|
2
3
|
import * as o from "react";
|
|
3
|
-
import { Command as r } from "./index72.js";
|
|
4
4
|
import { cn as d } from "./index2.js";
|
|
5
5
|
import { Dialog as s, DialogContent as n } from "./index15.js";
|
|
6
|
-
import l from "./
|
|
6
|
+
import l from "./index60.js";
|
|
7
7
|
const p = o.forwardRef(({ className: e, ...a }, m) => /* @__PURE__ */ t(
|
|
8
8
|
r,
|
|
9
9
|
{
|
|
10
10
|
ref: m,
|
|
11
|
-
className: d(
|
|
12
|
-
"flex h-full w-full flex-col overflow-hidden bg-black text-primary",
|
|
13
|
-
e
|
|
14
|
-
),
|
|
11
|
+
className: d("flex h-full w-full flex-col overflow-hidden bg-black text-primary", e),
|
|
15
12
|
...a
|
|
16
13
|
}
|
|
17
14
|
));
|
|
@@ -85,16 +82,10 @@ const y = o.forwardRef(({ className: e, ...a }, m) => /* @__PURE__ */ t(
|
|
|
85
82
|
}
|
|
86
83
|
));
|
|
87
84
|
y.displayName = r.Item.displayName;
|
|
88
|
-
const h = ({
|
|
89
|
-
className: e,
|
|
90
|
-
...a
|
|
91
|
-
}) => /* @__PURE__ */ t(
|
|
85
|
+
const h = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
92
86
|
"span",
|
|
93
87
|
{
|
|
94
|
-
className: d(
|
|
95
|
-
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
96
|
-
e
|
|
97
|
-
),
|
|
88
|
+
className: d("ml-auto text-xs tracking-widest text-muted-foreground", e),
|
|
98
89
|
...a
|
|
99
90
|
}
|
|
100
91
|
);
|