@turingpaper/ui 0.0.1-test.2 → 0.0.1-test.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/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 +62 -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/checkbox.mjs
CHANGED
|
@@ -1,34 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
e
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
{}
|
|
26
|
-
)
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
}
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import * as r from "radix-ui";
|
|
4
|
+
import { Check as s } from "lucide-react";
|
|
5
|
+
import { cn as o } from "./utils.mjs";
|
|
6
|
+
const n = c.forwardRef(({ className: i, ...t }, a) => /* @__PURE__ */ e(
|
|
7
|
+
r.Root,
|
|
8
|
+
{
|
|
9
|
+
ref: a,
|
|
10
|
+
className: o(
|
|
11
|
+
"grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
|
|
12
|
+
i
|
|
13
|
+
),
|
|
14
|
+
...t,
|
|
15
|
+
children: /* @__PURE__ */ e(
|
|
16
|
+
r.Indicator,
|
|
17
|
+
{
|
|
18
|
+
className: o("grid place-content-center text-current"),
|
|
19
|
+
children: /* @__PURE__ */ e(s, { className: "h-4 w-4" })
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
));
|
|
24
|
+
n.displayName = r.Root.displayName;
|
|
32
25
|
export {
|
|
33
|
-
|
|
26
|
+
n as Checkbox
|
|
34
27
|
};
|
package/dist/collapsible.mjs
CHANGED
|
@@ -1,34 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
function a({
|
|
4
|
-
...l
|
|
5
|
-
}) {
|
|
6
|
-
return /* @__PURE__ */ o(t.Root, { "data-slot": "collapsible", ...l });
|
|
7
|
-
}
|
|
8
|
-
function r({
|
|
9
|
-
...l
|
|
10
|
-
}) {
|
|
11
|
-
return /* @__PURE__ */ o(
|
|
12
|
-
t.CollapsibleTrigger,
|
|
13
|
-
{
|
|
14
|
-
"data-slot": "collapsible-trigger",
|
|
15
|
-
...l
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
function n({
|
|
20
|
-
...l
|
|
21
|
-
}) {
|
|
22
|
-
return /* @__PURE__ */ o(
|
|
23
|
-
t.CollapsibleContent,
|
|
24
|
-
{
|
|
25
|
-
"data-slot": "collapsible-content",
|
|
26
|
-
...l
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
}
|
|
1
|
+
import * as o from "radix-ui";
|
|
2
|
+
const l = o.Root, e = o.CollapsibleTrigger, i = o.CollapsibleContent;
|
|
30
3
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
4
|
+
l as Collapsible,
|
|
5
|
+
i as CollapsibleContent,
|
|
6
|
+
e as CollapsibleTrigger
|
|
34
7
|
};
|
package/dist/command.mjs
CHANGED
|
@@ -1,173 +1,109 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"data-slot": "command",
|
|
15
|
-
className: a(
|
|
16
|
-
"flex size-full flex-col overflow-hidden rounded-4xl bg-popover p-1 text-popover-foreground",
|
|
17
|
-
e
|
|
18
|
-
),
|
|
19
|
-
...o
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
function D({
|
|
24
|
-
title: e = "Command Palette",
|
|
25
|
-
description: o = "Search for a command to run...",
|
|
26
|
-
children: r,
|
|
27
|
-
className: m,
|
|
28
|
-
showCloseButton: s = !1,
|
|
29
|
-
...l
|
|
30
|
-
}) {
|
|
31
|
-
return /* @__PURE__ */ d(c, { ...l, children: [
|
|
32
|
-
/* @__PURE__ */ d(i, { className: "sr-only", children: [
|
|
33
|
-
/* @__PURE__ */ t(u, { children: e }),
|
|
34
|
-
/* @__PURE__ */ t(p, { children: o })
|
|
35
|
-
] }),
|
|
36
|
-
/* @__PURE__ */ t(
|
|
37
|
-
g,
|
|
38
|
-
{
|
|
39
|
-
className: a(
|
|
40
|
-
"top-1/3 translate-y-0 overflow-hidden rounded-4xl! p-0",
|
|
41
|
-
m
|
|
42
|
-
),
|
|
43
|
-
showCloseButton: s,
|
|
44
|
-
children: r
|
|
45
|
-
}
|
|
46
|
-
)
|
|
47
|
-
] });
|
|
48
|
-
}
|
|
49
|
-
function S({
|
|
50
|
-
className: e,
|
|
51
|
-
...o
|
|
52
|
-
}) {
|
|
53
|
-
return /* @__PURE__ */ t("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ d(f, { className: "h-9 bg-input/30", children: [
|
|
54
|
-
/* @__PURE__ */ t(
|
|
55
|
-
n.Input,
|
|
56
|
-
{
|
|
57
|
-
"data-slot": "command-input",
|
|
58
|
-
className: a(
|
|
59
|
-
"w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
|
|
60
|
-
e
|
|
61
|
-
),
|
|
62
|
-
...o
|
|
63
|
-
}
|
|
1
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import * as m from "react";
|
|
3
|
+
import { Command as o } from "cmdk";
|
|
4
|
+
import { Search as p } from "lucide-react";
|
|
5
|
+
import { cn as r } from "./utils.mjs";
|
|
6
|
+
import { Dialog as i, DialogContent as l } from "./dialog.mjs";
|
|
7
|
+
const n = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ t(
|
|
8
|
+
o,
|
|
9
|
+
{
|
|
10
|
+
ref: d,
|
|
11
|
+
className: r(
|
|
12
|
+
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
13
|
+
e
|
|
64
14
|
),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
n.List,
|
|
74
|
-
{
|
|
75
|
-
"data-slot": "command-list",
|
|
76
|
-
className: a(
|
|
77
|
-
"no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
|
|
78
|
-
e
|
|
79
|
-
),
|
|
80
|
-
...o
|
|
81
|
-
}
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
function G({
|
|
85
|
-
className: e,
|
|
86
|
-
...o
|
|
87
|
-
}) {
|
|
88
|
-
return /* @__PURE__ */ t(
|
|
89
|
-
n.Empty,
|
|
90
|
-
{
|
|
91
|
-
"data-slot": "command-empty",
|
|
92
|
-
className: a("py-6 text-center text-sm", e),
|
|
93
|
-
...o
|
|
94
|
-
}
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
function _({
|
|
98
|
-
className: e,
|
|
99
|
-
...o
|
|
100
|
-
}) {
|
|
101
|
-
return /* @__PURE__ */ t(
|
|
102
|
-
n.Group,
|
|
15
|
+
...a
|
|
16
|
+
}
|
|
17
|
+
));
|
|
18
|
+
n.displayName = o.displayName;
|
|
19
|
+
const C = ({ children: e, ...a }) => /* @__PURE__ */ t(i, { ...a, children: /* @__PURE__ */ t(l, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ t(n, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), c = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ s("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
20
|
+
/* @__PURE__ */ t(p, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
21
|
+
/* @__PURE__ */ t(
|
|
22
|
+
o.Input,
|
|
103
23
|
{
|
|
104
|
-
|
|
105
|
-
className:
|
|
106
|
-
"
|
|
24
|
+
ref: d,
|
|
25
|
+
className: r(
|
|
26
|
+
"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
107
27
|
e
|
|
108
28
|
),
|
|
109
|
-
...
|
|
29
|
+
...a
|
|
110
30
|
}
|
|
111
|
-
)
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
31
|
+
)
|
|
32
|
+
] }));
|
|
33
|
+
c.displayName = o.Input.displayName;
|
|
34
|
+
const u = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ t(
|
|
35
|
+
o.List,
|
|
36
|
+
{
|
|
37
|
+
ref: d,
|
|
38
|
+
className: r("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
39
|
+
...a
|
|
40
|
+
}
|
|
41
|
+
));
|
|
42
|
+
u.displayName = o.List.displayName;
|
|
43
|
+
const f = m.forwardRef((e, a) => /* @__PURE__ */ t(
|
|
44
|
+
o.Empty,
|
|
45
|
+
{
|
|
46
|
+
ref: a,
|
|
47
|
+
className: "py-6 text-center text-sm",
|
|
48
|
+
...e
|
|
49
|
+
}
|
|
50
|
+
));
|
|
51
|
+
f.displayName = o.Empty.displayName;
|
|
52
|
+
const g = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ t(
|
|
53
|
+
o.Group,
|
|
54
|
+
{
|
|
55
|
+
ref: d,
|
|
56
|
+
className: r(
|
|
57
|
+
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
58
|
+
e
|
|
59
|
+
),
|
|
60
|
+
...a
|
|
61
|
+
}
|
|
62
|
+
));
|
|
63
|
+
g.displayName = o.Group.displayName;
|
|
64
|
+
const x = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ t(
|
|
65
|
+
o.Separator,
|
|
66
|
+
{
|
|
67
|
+
ref: d,
|
|
68
|
+
className: r("-mx-1 h-px bg-border", e),
|
|
69
|
+
...a
|
|
70
|
+
}
|
|
71
|
+
));
|
|
72
|
+
x.displayName = o.Separator.displayName;
|
|
73
|
+
const h = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ t(
|
|
74
|
+
o.Item,
|
|
75
|
+
{
|
|
76
|
+
ref: d,
|
|
77
|
+
className: r(
|
|
78
|
+
"relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
79
|
+
e
|
|
80
|
+
),
|
|
81
|
+
...a
|
|
82
|
+
}
|
|
83
|
+
));
|
|
84
|
+
h.displayName = o.Item.displayName;
|
|
85
|
+
const y = ({
|
|
148
86
|
className: e,
|
|
149
|
-
...
|
|
150
|
-
})
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
);
|
|
162
|
-
}
|
|
87
|
+
...a
|
|
88
|
+
}) => /* @__PURE__ */ t(
|
|
89
|
+
"span",
|
|
90
|
+
{
|
|
91
|
+
className: r(
|
|
92
|
+
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
93
|
+
e
|
|
94
|
+
),
|
|
95
|
+
...a
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
y.displayName = "CommandShortcut";
|
|
163
99
|
export {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
100
|
+
n as Command,
|
|
101
|
+
C as CommandDialog,
|
|
102
|
+
f as CommandEmpty,
|
|
103
|
+
g as CommandGroup,
|
|
104
|
+
c as CommandInput,
|
|
105
|
+
h as CommandItem,
|
|
106
|
+
u as CommandList,
|
|
107
|
+
x as CommandSeparator,
|
|
108
|
+
y as CommandShortcut
|
|
173
109
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Accordion as AccordionPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
2
|
+
declare const Accordion: any;
|
|
3
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<any>;
|
|
4
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<any>;
|
|
5
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<any>;
|
|
7
6
|
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
|
|
2
|
-
import { Button } from './button';
|
|
3
1
|
import * as React from "react";
|
|
4
|
-
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
declare
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
import * as AlertDialogPrimitive from "radix-ui";
|
|
3
|
+
declare const AlertDialog: any;
|
|
4
|
+
declare const AlertDialogTrigger: any;
|
|
5
|
+
declare const AlertDialogPortal: typeof AlertDialogPrimitive.Portal;
|
|
6
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<any>;
|
|
7
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<any>;
|
|
8
|
+
declare const AlertDialogHeader: {
|
|
9
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
declare const AlertDialogFooter: {
|
|
13
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<any>;
|
|
17
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<any>;
|
|
18
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<any>;
|
|
19
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<any>;
|
|
20
|
+
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { Avatar as AvatarPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function AvatarBadge({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function AvatarGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function AvatarGroupCount({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { Avatar, AvatarImage, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarBadge, };
|
|
2
|
+
declare const Avatar: React.ForwardRefExoticComponent<any>;
|
|
3
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<any>;
|
|
4
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<any>;
|
|
5
|
+
export { Avatar, AvatarImage, AvatarFallback };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
|
+
}
|
|
8
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export { Badge, badgeVariants };
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare
|
|
2
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
3
|
+
separator?: React.ReactNode;
|
|
4
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
+
declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
7
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
6
8
|
asChild?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare
|
|
9
|
-
declare
|
|
10
|
-
|
|
9
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
|
+
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
|
+
declare const BreadcrumbSeparator: {
|
|
12
|
+
({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const BreadcrumbEllipsis: {
|
|
16
|
+
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
11
19
|
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "default" | "
|
|
5
|
-
size?: "default" | "
|
|
4
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
|
|
7
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
11
|
export { Button, buttonVariants };
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
2
|
+
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as RechartsPrimitive from "recharts";
|
|
3
|
+
declare const THEMES: {
|
|
4
|
+
readonly light: "";
|
|
5
|
+
readonly dark: ".dark";
|
|
6
|
+
};
|
|
7
|
+
export type ChartConfig = {
|
|
8
|
+
[k in string]: {
|
|
9
|
+
label?: React.ReactNode;
|
|
10
|
+
icon?: React.ComponentType;
|
|
11
|
+
} & ({
|
|
12
|
+
color?: string;
|
|
13
|
+
theme?: never;
|
|
14
|
+
} | {
|
|
15
|
+
color?: never;
|
|
16
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
20
|
+
config: ChartConfig;
|
|
21
|
+
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
22
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const ChartStyle: ({ id, config }: {
|
|
24
|
+
id: string;
|
|
25
|
+
config: ChartConfig;
|
|
26
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
27
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
28
|
+
declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType> & {
|
|
29
|
+
accessibilityLayer?: boolean;
|
|
30
|
+
active?: boolean | undefined;
|
|
31
|
+
includeHidden?: boolean | undefined;
|
|
32
|
+
allowEscapeViewBox?: import('recharts/types/util/types').AllowInDimension;
|
|
33
|
+
animationDuration?: import('recharts/types/util/types').AnimationDuration;
|
|
34
|
+
animationEasing?: import('recharts/types/util/types').AnimationTiming;
|
|
35
|
+
content?: import('recharts/types/component/Tooltip').ContentType<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType> | undefined;
|
|
36
|
+
coordinate?: Partial<import('recharts/types/util/types').Coordinate>;
|
|
37
|
+
cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
|
|
38
|
+
filterNull?: boolean;
|
|
39
|
+
defaultIndex?: number;
|
|
40
|
+
isAnimationActive?: boolean;
|
|
41
|
+
offset?: number;
|
|
42
|
+
payloadUniqBy?: import('recharts/types/util/payload/getUniqPayload').UniqueOption<import('recharts/types/component/DefaultTooltipContent').Payload<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType>> | undefined;
|
|
43
|
+
position?: Partial<import('recharts/types/util/types').Coordinate>;
|
|
44
|
+
reverseDirection?: import('recharts/types/util/types').AllowInDimension;
|
|
45
|
+
shared?: boolean;
|
|
46
|
+
trigger?: "hover" | "click";
|
|
47
|
+
useTranslate3d?: boolean;
|
|
48
|
+
viewBox?: import('recharts/types/util/types').CartesianViewBox;
|
|
49
|
+
wrapperStyle?: React.CSSProperties;
|
|
50
|
+
} & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
51
|
+
hideLabel?: boolean;
|
|
52
|
+
hideIndicator?: boolean;
|
|
53
|
+
indicator?: "line" | "dot" | "dashed";
|
|
54
|
+
nameKey?: string;
|
|
55
|
+
labelKey?: string;
|
|
56
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
57
|
+
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
58
|
+
declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
59
|
+
hideIcon?: boolean;
|
|
60
|
+
nameKey?: string;
|
|
61
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
62
|
+
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Checkbox as CheckboxPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
2
|
+
declare const Checkbox: React.ForwardRefExoticComponent<any>;
|
|
4
3
|
export { Checkbox };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare
|
|
3
|
-
declare
|
|
4
|
-
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const Collapsible: any;
|
|
2
|
+
declare const CollapsibleTrigger: any;
|
|
3
|
+
declare const CollapsibleContent: any;
|
|
5
4
|
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|