@turingpaper/ui 0.0.1-test.2 → 0.0.1-test.4
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 +44 -83
- package/dist/alert-dialog.mjs +108 -175
- package/dist/avatar.mjs +40 -104
- package/dist/badge.mjs +10 -27
- package/dist/breadcrumb.mjs +82 -109
- package/dist/button.mjs +26 -38
- package/dist/card.mjs +62 -96
- package/dist/chart.mjs +208 -0
- package/dist/checkbox.mjs +25 -32
- package/dist/collapsible.mjs +5 -32
- package/dist/command.mjs +101 -165
- package/dist/components/accordion.d.ts +4 -5
- package/dist/components/alert-dialog.d.ts +19 -17
- package/dist/components/avatar.d.ts +4 -10
- package/dist/components/badge.d.ts +4 -4
- package/dist/components/breadcrumb.d.ts +16 -8
- package/dist/components/button.d.ts +5 -4
- package/dist/components/card.d.ts +7 -10
- package/dist/components/chart.d.ts +49 -0
- package/dist/components/checkbox.d.ts +1 -2
- package/dist/components/collapsible.d.ts +3 -4
- package/dist/components/command.d.ts +78 -16
- package/dist/components/dialog.d.ts +18 -16
- package/dist/components/drawer.d.ts +19 -10
- package/dist/components/dropdown-menu.d.ts +21 -27
- package/dist/components/hover-card.d.ts +3 -4
- package/dist/components/input-group.d.ts +1 -1
- package/dist/components/input-otp.d.ts +34 -0
- package/dist/components/input.d.ts +1 -1
- package/dist/components/label.d.ts +1 -2
- package/dist/components/pagination.d.ts +24 -13
- package/dist/components/popover.d.ts +4 -9
- package/dist/components/progress.d.ts +1 -2
- package/dist/components/radio-group.d.ts +2 -3
- package/dist/components/scroll-area.d.ts +2 -3
- package/dist/components/select.d.ts +11 -14
- package/dist/components/separator.d.ts +1 -2
- package/dist/components/sheet.d.ts +24 -13
- package/dist/components/skeleton.d.ts +1 -1
- package/dist/components/slider.d.ts +1 -2
- package/dist/components/switch.d.ts +1 -4
- package/dist/components/table.d.ts +8 -8
- package/dist/components/tabs.d.ts +5 -10
- package/dist/components/textarea.d.ts +1 -1
- package/dist/components/toggle-group.d.ts +2 -8
- package/dist/components/toggle.d.ts +1 -3
- package/dist/components/tooltip.d.ts +5 -6
- package/dist/dialog.mjs +91 -147
- package/dist/drawer.mjs +89 -118
- package/dist/dropdown-menu.mjs +141 -249
- package/dist/hover-card.mjs +20 -35
- package/dist/input-otp.mjs +48 -0
- package/dist/input.mjs +15 -13
- package/dist/label.mjs +17 -20
- package/dist/pagination.mjs +103 -126
- package/dist/popover.mjs +19 -76
- package/dist/progress.mjs +23 -28
- package/dist/provider.mjs +1 -1
- package/dist/radio-group.mjs +29 -42
- package/dist/scroll-area.mjs +36 -57
- package/dist/select.mjs +117 -182
- package/dist/separator.mjs +16 -18
- package/dist/sheet.mjs +99 -128
- package/dist/skeleton.mjs +8 -6
- package/dist/slider.mjs +21 -57
- package/dist/styles.css +1 -1
- package/dist/switch.mjs +25 -29
- package/dist/table.mjs +83 -110
- package/dist/tabs.mjs +42 -86
- package/dist/textarea.mjs +16 -16
- package/dist/toggle-group.mjs +32 -67
- package/dist/toggle.mjs +22 -28
- package/dist/tooltip.mjs +20 -52
- package/package.json +11 -1
package/dist/tabs.mjs
CHANGED
|
@@ -1,90 +1,46 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { cn as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
orientation: t = "horizontal",
|
|
8
|
-
...o
|
|
9
|
-
}) {
|
|
10
|
-
return /* @__PURE__ */ r(
|
|
11
|
-
e.Root,
|
|
12
|
-
{
|
|
13
|
-
"data-slot": "tabs",
|
|
14
|
-
"data-orientation": t,
|
|
15
|
-
className: i(
|
|
16
|
-
"group/tabs flex gap-2 data-horizontal:flex-col",
|
|
17
|
-
a
|
|
18
|
-
),
|
|
19
|
-
...o
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
const s = n(
|
|
24
|
-
"group/tabs-list inline-flex w-fit items-center justify-center rounded-4xl p-[3px] text-muted-foreground group-data-horizontal/tabs:h-9 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col group-data-vertical/tabs:rounded-2xl data-[variant=line]:rounded-none",
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import * as e from "radix-ui";
|
|
4
|
+
import { cn as a } from "./utils.mjs";
|
|
5
|
+
const l = e.Root, r = n.forwardRef(({ className: i, ...t }, s) => /* @__PURE__ */ o(
|
|
6
|
+
e.List,
|
|
25
7
|
{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
defaultVariants: {
|
|
33
|
-
variant: "default"
|
|
34
|
-
}
|
|
8
|
+
ref: s,
|
|
9
|
+
className: a(
|
|
10
|
+
"inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
|
|
11
|
+
i
|
|
12
|
+
),
|
|
13
|
+
...t
|
|
35
14
|
}
|
|
36
|
-
);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
|
|
63
|
-
"data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground",
|
|
64
|
-
"after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",
|
|
65
|
-
a
|
|
66
|
-
),
|
|
67
|
-
...t
|
|
68
|
-
}
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
function f({
|
|
72
|
-
className: a,
|
|
73
|
-
...t
|
|
74
|
-
}) {
|
|
75
|
-
return /* @__PURE__ */ r(
|
|
76
|
-
e.Content,
|
|
77
|
-
{
|
|
78
|
-
"data-slot": "tabs-content",
|
|
79
|
-
className: i("flex-1 text-sm outline-none", a),
|
|
80
|
-
...t
|
|
81
|
-
}
|
|
82
|
-
);
|
|
83
|
-
}
|
|
15
|
+
));
|
|
16
|
+
r.displayName = e.List.displayName;
|
|
17
|
+
const f = n.forwardRef(({ className: i, ...t }, s) => /* @__PURE__ */ o(
|
|
18
|
+
e.Trigger,
|
|
19
|
+
{
|
|
20
|
+
ref: s,
|
|
21
|
+
className: a(
|
|
22
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
|
|
23
|
+
i
|
|
24
|
+
),
|
|
25
|
+
...t
|
|
26
|
+
}
|
|
27
|
+
));
|
|
28
|
+
f.displayName = e.Trigger.displayName;
|
|
29
|
+
const d = n.forwardRef(({ className: i, ...t }, s) => /* @__PURE__ */ o(
|
|
30
|
+
e.Content,
|
|
31
|
+
{
|
|
32
|
+
ref: s,
|
|
33
|
+
className: a(
|
|
34
|
+
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
35
|
+
i
|
|
36
|
+
),
|
|
37
|
+
...t
|
|
38
|
+
}
|
|
39
|
+
));
|
|
40
|
+
d.displayName = e.Content.displayName;
|
|
84
41
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
s as tabsListVariants
|
|
42
|
+
l as Tabs,
|
|
43
|
+
d as TabsContent,
|
|
44
|
+
r as TabsList,
|
|
45
|
+
f as TabsTrigger
|
|
90
46
|
};
|
package/dist/textarea.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { cn as a } from "./utils.mjs";
|
|
4
|
+
const s = i.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ t(
|
|
5
|
+
"textarea",
|
|
6
|
+
{
|
|
7
|
+
className: a(
|
|
8
|
+
"flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
9
|
+
e
|
|
10
|
+
),
|
|
11
|
+
ref: o,
|
|
12
|
+
...r
|
|
13
|
+
}
|
|
14
|
+
));
|
|
15
|
+
s.displayName = "Textarea";
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
s as Textarea
|
|
18
18
|
};
|
package/dist/toggle-group.mjs
CHANGED
|
@@ -1,76 +1,41 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { cn as
|
|
5
|
-
import { toggleVariants as
|
|
6
|
-
const
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import * as t from "radix-ui";
|
|
4
|
+
import { cn as p } from "./utils.mjs";
|
|
5
|
+
import { toggleVariants as f } from "./toggle.mjs";
|
|
6
|
+
const c = e.createContext({
|
|
7
7
|
size: "default",
|
|
8
|
-
variant: "default"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return /* @__PURE__ */
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
"data-slot": "toggle-group",
|
|
25
|
-
"data-variant": r,
|
|
26
|
-
"data-size": o,
|
|
27
|
-
"data-spacing": t,
|
|
28
|
-
"data-orientation": g,
|
|
29
|
-
style: { "--gap": t },
|
|
30
|
-
className: d(
|
|
31
|
-
"group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] data-[spacing=0]:data-[variant=outline]:rounded-4xl data-vertical:flex-col data-vertical:items-stretch",
|
|
32
|
-
e
|
|
33
|
-
),
|
|
34
|
-
...u,
|
|
35
|
-
children: /* @__PURE__ */ i(
|
|
36
|
-
p.Provider,
|
|
37
|
-
{
|
|
38
|
-
value: { variant: r, size: o, spacing: t, orientation: g },
|
|
39
|
-
children: a
|
|
40
|
-
}
|
|
41
|
-
)
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
function z({
|
|
46
|
-
className: e,
|
|
47
|
-
children: r,
|
|
48
|
-
variant: o = "default",
|
|
49
|
-
size: t = "default",
|
|
50
|
-
...g
|
|
51
|
-
}) {
|
|
52
|
-
const a = n.useContext(p);
|
|
53
|
-
return /* @__PURE__ */ i(
|
|
54
|
-
l.Item,
|
|
8
|
+
variant: "default"
|
|
9
|
+
}), d = e.forwardRef(({ className: o, variant: r, size: a, children: i, ...s }, m) => /* @__PURE__ */ n(
|
|
10
|
+
t.Root,
|
|
11
|
+
{
|
|
12
|
+
ref: m,
|
|
13
|
+
className: p("flex items-center justify-center gap-1", o),
|
|
14
|
+
...s,
|
|
15
|
+
children: /* @__PURE__ */ n(c.Provider, { value: { variant: r, size: a }, children: i })
|
|
16
|
+
}
|
|
17
|
+
));
|
|
18
|
+
d.displayName = t.Root.displayName;
|
|
19
|
+
const u = e.forwardRef(({ className: o, children: r, variant: a, size: i, ...s }, m) => {
|
|
20
|
+
const l = e.useContext(c);
|
|
21
|
+
return /* @__PURE__ */ n(
|
|
22
|
+
t.Item,
|
|
55
23
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-3 group-data-[spacing=0]/toggle-group:shadow-none focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-4xl group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-xl group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-4xl group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-xl data-[state=on]:bg-muted group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",
|
|
62
|
-
s({
|
|
63
|
-
variant: a.variant || o,
|
|
64
|
-
size: a.size || t
|
|
24
|
+
ref: m,
|
|
25
|
+
className: p(
|
|
26
|
+
f({
|
|
27
|
+
variant: l.variant || a,
|
|
28
|
+
size: l.size || i
|
|
65
29
|
}),
|
|
66
|
-
|
|
30
|
+
o
|
|
67
31
|
),
|
|
68
|
-
...
|
|
32
|
+
...s,
|
|
69
33
|
children: r
|
|
70
34
|
}
|
|
71
35
|
);
|
|
72
|
-
}
|
|
36
|
+
});
|
|
37
|
+
u.displayName = t.Item.displayName;
|
|
73
38
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
39
|
+
d as ToggleGroup,
|
|
40
|
+
u as ToggleGroupItem
|
|
76
41
|
};
|
package/dist/toggle.mjs
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import * as e from "radix-ui";
|
|
4
|
+
import { cva as d } from "class-variance-authority";
|
|
5
|
+
import { cn as f } from "./utils.mjs";
|
|
6
|
+
const m = d(
|
|
7
|
+
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2",
|
|
7
8
|
{
|
|
8
9
|
variants: {
|
|
9
10
|
variant: {
|
|
10
11
|
default: "bg-transparent",
|
|
11
|
-
outline: "border border-input bg-transparent hover:bg-
|
|
12
|
+
outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
|
|
12
13
|
},
|
|
13
14
|
size: {
|
|
14
|
-
default: "h-
|
|
15
|
-
sm: "h-
|
|
16
|
-
lg: "h-
|
|
15
|
+
default: "h-10 px-3 min-w-10",
|
|
16
|
+
sm: "h-9 px-2.5 min-w-9",
|
|
17
|
+
lg: "h-11 px-5 min-w-11"
|
|
17
18
|
}
|
|
18
19
|
},
|
|
19
20
|
defaultVariants: {
|
|
@@ -21,23 +22,16 @@ const d = a(
|
|
|
21
22
|
size: "default"
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
{
|
|
34
|
-
"data-slot": "toggle",
|
|
35
|
-
className: s(d({ variant: i, size: r, className: e })),
|
|
36
|
-
...t
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
}
|
|
25
|
+
), c = s.forwardRef(({ className: t, variant: o, size: n, ...r }, i) => /* @__PURE__ */ a(
|
|
26
|
+
e.Root,
|
|
27
|
+
{
|
|
28
|
+
ref: i,
|
|
29
|
+
className: f(m({ variant: o, size: n, className: t })),
|
|
30
|
+
...r
|
|
31
|
+
}
|
|
32
|
+
));
|
|
33
|
+
c.displayName = e.Root.displayName;
|
|
40
34
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
c as Toggle,
|
|
36
|
+
m as toggleVariants
|
|
43
37
|
};
|
package/dist/tooltip.mjs
CHANGED
|
@@ -1,55 +1,23 @@
|
|
|
1
|
-
import { jsx as a
|
|
2
|
-
import
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import * as o from "radix-ui";
|
|
3
4
|
import { cn as n } from "./utils.mjs";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
function m({
|
|
18
|
-
...t
|
|
19
|
-
}) {
|
|
20
|
-
return /* @__PURE__ */ a(o.Root, { "data-slot": "tooltip", ...t });
|
|
21
|
-
}
|
|
22
|
-
function x({
|
|
23
|
-
...t
|
|
24
|
-
}) {
|
|
25
|
-
return /* @__PURE__ */ a(o.Trigger, { "data-slot": "tooltip-trigger", ...t });
|
|
26
|
-
}
|
|
27
|
-
function c({
|
|
28
|
-
className: t,
|
|
29
|
-
sideOffset: e = 0,
|
|
30
|
-
children: d,
|
|
31
|
-
...i
|
|
32
|
-
}) {
|
|
33
|
-
return /* @__PURE__ */ a(o.Portal, { children: /* @__PURE__ */ r(
|
|
34
|
-
o.Content,
|
|
35
|
-
{
|
|
36
|
-
"data-slot": "tooltip-content",
|
|
37
|
-
sideOffset: e,
|
|
38
|
-
className: n(
|
|
39
|
-
"z-50 inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-1.5 rounded-2xl bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-4xl data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
40
|
-
t
|
|
41
|
-
),
|
|
42
|
-
...i,
|
|
43
|
-
children: [
|
|
44
|
-
d,
|
|
45
|
-
/* @__PURE__ */ a(o.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=left]:translate-x-[-1.5px] data-[side=right]:translate-x-[1.5px]" })
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
) });
|
|
49
|
-
}
|
|
5
|
+
const l = o.Provider, f = o.Root, c = o.Trigger, s = d.forwardRef(({ className: t, sideOffset: e = 4, ...i }, r) => /* @__PURE__ */ a(
|
|
6
|
+
o.Content,
|
|
7
|
+
{
|
|
8
|
+
ref: r,
|
|
9
|
+
sideOffset: e,
|
|
10
|
+
className: n(
|
|
11
|
+
"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
|
|
12
|
+
t
|
|
13
|
+
),
|
|
14
|
+
...i
|
|
15
|
+
}
|
|
16
|
+
));
|
|
17
|
+
s.displayName = o.Content.displayName;
|
|
50
18
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
19
|
+
f as Tooltip,
|
|
20
|
+
s as TooltipContent,
|
|
21
|
+
l as TooltipProvider,
|
|
22
|
+
c as TooltipTrigger
|
|
55
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turingpaper/ui",
|
|
3
|
-
"version": "0.0.1-test.
|
|
3
|
+
"version": "0.0.1-test.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Pre-built Shadcn/ui component library for Turingpaper TSX functions",
|
|
6
6
|
"license": "MIT",
|
|
@@ -149,6 +149,14 @@
|
|
|
149
149
|
"./hover-card": {
|
|
150
150
|
"import": "./dist/hover-card.mjs",
|
|
151
151
|
"types": "./dist/components/hover-card.d.ts"
|
|
152
|
+
},
|
|
153
|
+
"./chart": {
|
|
154
|
+
"import": "./dist/chart.mjs",
|
|
155
|
+
"types": "./dist/components/chart.d.ts"
|
|
156
|
+
},
|
|
157
|
+
"./input-otp": {
|
|
158
|
+
"import": "./dist/input-otp.mjs",
|
|
159
|
+
"types": "./dist/components/input-otp.d.ts"
|
|
152
160
|
}
|
|
153
161
|
},
|
|
154
162
|
"files": [
|
|
@@ -167,8 +175,10 @@
|
|
|
167
175
|
"class-variance-authority": "^0.7.1",
|
|
168
176
|
"clsx": "^2.1.1",
|
|
169
177
|
"cmdk": "^1.1.1",
|
|
178
|
+
"input-otp": "^1.4.2",
|
|
170
179
|
"lucide-react": "^0.562.0",
|
|
171
180
|
"radix-ui": "^1.4.3",
|
|
181
|
+
"recharts": "^3.8.0",
|
|
172
182
|
"tailwind-merge": "^3.4.0",
|
|
173
183
|
"vaul": "^1.1.2"
|
|
174
184
|
},
|