@turingpaper/ui 0.0.1-test.4 → 0.0.1-test.6
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/accordion.mjs +18 -18
- package/dist/alert-dialog.mjs +4 -4
- package/dist/avatar.mjs +13 -13
- package/dist/checkbox.mjs +1 -1
- package/dist/collapsible.mjs +4 -4
- package/dist/components/accordion.d.ts +5 -4
- package/dist/components/alert-dialog.d.ts +10 -10
- package/dist/components/avatar.d.ts +4 -3
- package/dist/components/checkbox.d.ts +2 -1
- package/dist/components/collapsible.d.ts +4 -3
- package/dist/components/command.d.ts +2 -1
- package/dist/components/dialog.d.ts +9 -9
- package/dist/components/dropdown-menu.d.ts +20 -16
- package/dist/components/hover-card.d.ts +4 -3
- package/dist/components/label.d.ts +3 -1
- package/dist/components/popover.d.ts +4 -3
- package/dist/components/progress.d.ts +2 -1
- package/dist/components/radio-group.d.ts +3 -2
- package/dist/components/scroll-area.d.ts +3 -2
- package/dist/components/select.d.ts +11 -10
- package/dist/components/separator.d.ts +2 -1
- package/dist/components/sheet.d.ts +10 -10
- package/dist/components/slider.d.ts +2 -1
- package/dist/components/switch.d.ts +2 -1
- package/dist/components/tabs.d.ts +5 -4
- package/dist/components/toggle-group.d.ts +10 -2
- package/dist/components/toggle.d.ts +6 -1
- package/dist/components/tooltip.d.ts +5 -4
- package/dist/dialog.mjs +31 -31
- package/dist/dropdown-menu.mjs +8 -8
- package/dist/hover-card.mjs +4 -4
- package/dist/label.mjs +9 -9
- package/dist/popover.mjs +6 -6
- package/dist/progress.mjs +10 -10
- package/dist/provider.mjs +1 -1
- package/dist/radio-group.mjs +13 -13
- package/dist/scroll-area.mjs +11 -11
- package/dist/select.mjs +5 -5
- package/dist/separator.mjs +14 -14
- package/dist/sheet.mjs +11 -11
- package/dist/slider.mjs +7 -7
- package/dist/styles.css +1 -1
- package/dist/switch.mjs +6 -6
- package/dist/tabs.mjs +20 -20
- package/dist/toggle-group.mjs +18 -18
- package/dist/toggle.mjs +9 -9
- package/dist/tooltip.mjs +5 -5
- package/package.json +1 -1
package/dist/radio-group.mjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { Circle as
|
|
5
|
-
import { cn as
|
|
6
|
-
const
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { RadioGroup as r } from "radix-ui";
|
|
4
|
+
import { Circle as c } from "lucide-react";
|
|
5
|
+
import { cn as t } from "./utils.mjs";
|
|
6
|
+
const d = s.forwardRef(({ className: o, ...i }, a) => /* @__PURE__ */ e(
|
|
7
7
|
r.Root,
|
|
8
8
|
{
|
|
9
|
-
className:
|
|
9
|
+
className: t("grid gap-2", o),
|
|
10
10
|
...i,
|
|
11
11
|
ref: a
|
|
12
12
|
}
|
|
13
13
|
));
|
|
14
|
-
|
|
15
|
-
const
|
|
14
|
+
d.displayName = r.Root.displayName;
|
|
15
|
+
const l = s.forwardRef(({ className: o, ...i }, a) => /* @__PURE__ */ e(
|
|
16
16
|
r.Item,
|
|
17
17
|
{
|
|
18
18
|
ref: a,
|
|
19
|
-
className:
|
|
19
|
+
className: t(
|
|
20
20
|
"aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...i,
|
|
24
|
-
children: /* @__PURE__ */ e(r.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ e(
|
|
24
|
+
children: /* @__PURE__ */ e(r.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ e(c, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
25
25
|
}
|
|
26
26
|
));
|
|
27
|
-
|
|
27
|
+
l.displayName = r.Item.displayName;
|
|
28
28
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
d as RadioGroup,
|
|
30
|
+
l as RadioGroupItem
|
|
31
31
|
};
|
package/dist/scroll-area.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { ScrollArea as r } from "radix-ui";
|
|
4
|
+
import { cn as t } from "./utils.mjs";
|
|
5
|
+
const m = s.forwardRef(({ className: o, children: l, ...a }, c) => /* @__PURE__ */ i(
|
|
6
6
|
r.Root,
|
|
7
7
|
{
|
|
8
|
-
ref:
|
|
9
|
-
className:
|
|
8
|
+
ref: c,
|
|
9
|
+
className: t("relative overflow-hidden", o),
|
|
10
10
|
...a,
|
|
11
11
|
children: [
|
|
12
12
|
/* @__PURE__ */ e(r.Viewport, { className: "h-full w-full rounded-[inherit]", children: l }),
|
|
@@ -15,13 +15,13 @@ const n = t.forwardRef(({ className: o, children: l, ...a }, s) => /* @__PURE__
|
|
|
15
15
|
]
|
|
16
16
|
}
|
|
17
17
|
));
|
|
18
|
-
|
|
19
|
-
const d =
|
|
18
|
+
m.displayName = r.Root.displayName;
|
|
19
|
+
const d = s.forwardRef(({ className: o, orientation: l = "vertical", ...a }, c) => /* @__PURE__ */ e(
|
|
20
20
|
r.ScrollAreaScrollbar,
|
|
21
21
|
{
|
|
22
|
-
ref:
|
|
22
|
+
ref: c,
|
|
23
23
|
orientation: l,
|
|
24
|
-
className:
|
|
24
|
+
className: t(
|
|
25
25
|
"flex touch-none select-none transition-colors",
|
|
26
26
|
l === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
27
27
|
l === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
@@ -33,6 +33,6 @@ const d = t.forwardRef(({ className: o, orientation: l = "vertical", ...a }, s)
|
|
|
33
33
|
));
|
|
34
34
|
d.displayName = r.ScrollAreaScrollbar.displayName;
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
m as ScrollArea,
|
|
37
37
|
d as ScrollBar
|
|
38
38
|
};
|
package/dist/select.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import
|
|
3
|
+
import { Select as e } from "radix-ui";
|
|
4
4
|
import { ChevronDown as i, ChevronUp as f, Check as u } from "lucide-react";
|
|
5
5
|
import { cn as l } from "./utils.mjs";
|
|
6
|
-
const
|
|
6
|
+
const R = e.Root, C = e.Group, I = e.Value, h = s.forwardRef(({ className: o, children: r, ...a }, d) => /* @__PURE__ */ n(
|
|
7
7
|
e.Trigger,
|
|
8
8
|
{
|
|
9
9
|
ref: d,
|
|
@@ -108,14 +108,14 @@ const N = s.forwardRef(({ className: o, ...r }, a) => /* @__PURE__ */ t(
|
|
|
108
108
|
));
|
|
109
109
|
N.displayName = e.Separator.displayName;
|
|
110
110
|
export {
|
|
111
|
-
|
|
111
|
+
R as Select,
|
|
112
112
|
g as SelectContent,
|
|
113
|
-
|
|
113
|
+
C as SelectGroup,
|
|
114
114
|
w as SelectItem,
|
|
115
115
|
y as SelectLabel,
|
|
116
116
|
m as SelectScrollDownButton,
|
|
117
117
|
c as SelectScrollUpButton,
|
|
118
118
|
N as SelectSeparator,
|
|
119
119
|
h as SelectTrigger,
|
|
120
|
-
|
|
120
|
+
I as SelectValue
|
|
121
121
|
};
|
package/dist/separator.mjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
6
|
-
({ className: a, orientation:
|
|
7
|
-
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { Separator as o } from "radix-ui";
|
|
4
|
+
import { cn as s } from "./utils.mjs";
|
|
5
|
+
const f = l.forwardRef(
|
|
6
|
+
({ className: a, orientation: r = "horizontal", decorative: t = !0, ...p }, m) => /* @__PURE__ */ e(
|
|
7
|
+
o.Root,
|
|
8
8
|
{
|
|
9
|
-
ref:
|
|
10
|
-
decorative:
|
|
11
|
-
orientation:
|
|
12
|
-
className:
|
|
9
|
+
ref: m,
|
|
10
|
+
decorative: t,
|
|
11
|
+
orientation: r,
|
|
12
|
+
className: s(
|
|
13
13
|
"shrink-0 bg-border",
|
|
14
|
-
|
|
14
|
+
r === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
15
15
|
a
|
|
16
16
|
),
|
|
17
|
-
...
|
|
17
|
+
...p
|
|
18
18
|
}
|
|
19
19
|
)
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
f.displayName = o.Root.displayName;
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
f as Separator
|
|
24
24
|
};
|
package/dist/sheet.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import
|
|
3
|
+
import { Dialog as e } from "radix-ui";
|
|
4
4
|
import { cva as c } from "class-variance-authority";
|
|
5
5
|
import { X as f } from "lucide-react";
|
|
6
6
|
import { cn as i } from "./utils.mjs";
|
|
7
|
-
const
|
|
7
|
+
const R = e.Root, T = e.Trigger, D = e.Close, p = e.Portal, d = r.forwardRef(({ className: t, ...a }, s) => /* @__PURE__ */ o(
|
|
8
8
|
e.Overlay,
|
|
9
9
|
{
|
|
10
10
|
className: i(
|
|
@@ -31,7 +31,7 @@ const h = c(
|
|
|
31
31
|
side: "right"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
),
|
|
34
|
+
), g = r.forwardRef(({ side: t = "right", className: a, children: s, ...l }, m) => /* @__PURE__ */ n(p, { children: [
|
|
35
35
|
/* @__PURE__ */ o(d, {}),
|
|
36
36
|
/* @__PURE__ */ n(
|
|
37
37
|
e.Content,
|
|
@@ -49,8 +49,8 @@ const h = c(
|
|
|
49
49
|
}
|
|
50
50
|
)
|
|
51
51
|
] }));
|
|
52
|
-
|
|
53
|
-
const
|
|
52
|
+
g.displayName = e.Content.displayName;
|
|
53
|
+
const u = ({
|
|
54
54
|
className: t,
|
|
55
55
|
...a
|
|
56
56
|
}) => /* @__PURE__ */ o(
|
|
@@ -63,7 +63,7 @@ const g = ({
|
|
|
63
63
|
...a
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
|
-
|
|
66
|
+
u.displayName = "SheetHeader";
|
|
67
67
|
const y = ({
|
|
68
68
|
className: t,
|
|
69
69
|
...a
|
|
@@ -97,14 +97,14 @@ const N = r.forwardRef(({ className: t, ...a }, s) => /* @__PURE__ */ o(
|
|
|
97
97
|
));
|
|
98
98
|
N.displayName = e.Description.displayName;
|
|
99
99
|
export {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
R as Sheet,
|
|
101
|
+
D as SheetClose,
|
|
102
|
+
g as SheetContent,
|
|
103
103
|
N as SheetDescription,
|
|
104
104
|
y as SheetFooter,
|
|
105
|
-
|
|
105
|
+
u as SheetHeader,
|
|
106
106
|
d as SheetOverlay,
|
|
107
107
|
p as SheetPortal,
|
|
108
108
|
x as SheetTitle,
|
|
109
|
-
|
|
109
|
+
T as SheetTrigger
|
|
110
110
|
};
|
package/dist/slider.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { cn as
|
|
5
|
-
const t =
|
|
1
|
+
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { Slider as e } from "radix-ui";
|
|
4
|
+
import { cn as n } from "./utils.mjs";
|
|
5
|
+
const t = a.forwardRef(({ className: r, ...i }, l) => /* @__PURE__ */ s(
|
|
6
6
|
e.Root,
|
|
7
7
|
{
|
|
8
|
-
ref:
|
|
9
|
-
className:
|
|
8
|
+
ref: l,
|
|
9
|
+
className: n(
|
|
10
10
|
"relative flex w-full touch-none select-none items-center",
|
|
11
11
|
r
|
|
12
12
|
),
|