@arcadeai/design-system 0.7.4 → 0.8.0
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/index.js +134 -130
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/avatar.js +200 -82
- package/dist/components/ui/atoms/breadcrumb.js +25 -37
- package/dist/components/ui/atoms/chart.js +115 -10398
- package/dist/components/ui/atoms/command.js +158 -168
- package/dist/components/ui/atoms/dialog.js +30 -29
- package/dist/components/ui/atoms/dropdown-menu.js +153 -162
- package/dist/components/ui/atoms/form.js +57 -250
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/index.d.ts +1 -0
- package/dist/components/ui/atoms/index.js +134 -130
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/radio-group.d.ts +5 -0
- package/dist/components/ui/atoms/radio-group.js +272 -0
- package/dist/components/ui/atoms/resizable.js +359 -372
- package/dist/components/ui/atoms/select.js +101 -110
- package/dist/components/ui/atoms/sheet.js +24 -23
- package/dist/components/ui/atoms/sidebar.js +80 -89
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/index.js +134 -130
- package/dist/{index-f0YS5Ufh.js → index-PlrlSrPo.js} +266 -259
- package/dist/{index-DLfXSskr.js → index-toVHZ337.js} +49 -61
- package/dist/main.js +134 -130
- package/package.json +13 -12
- package/dist/check-B5h1DvDs.js +0 -11
- package/dist/chevron-down-DmZMdOiC.js +0 -11
- package/dist/chevron-right-BYYHEJjK.js +0 -11
- package/dist/createLucideIcon-XRdN60yz.js +0 -94
- package/dist/index-CJFGOBPb.js +0 -122
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import { R as r, C as
|
|
1
|
+
import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { R as r, C as s, a as d, D as c, O as g, P as u, b as f, T as m } from "../../../index-toVHZ337.js";
|
|
3
|
+
import { XIcon as p } from "lucide-react";
|
|
3
4
|
import { c as o } from "../../../utils-CRiPKpXj.js";
|
|
4
|
-
function
|
|
5
|
+
function N({
|
|
5
6
|
...t
|
|
6
7
|
}) {
|
|
7
8
|
return /* @__PURE__ */ a(r, { "data-slot": "dialog", ...t });
|
|
8
9
|
}
|
|
9
|
-
function
|
|
10
|
+
function z({
|
|
10
11
|
...t
|
|
11
12
|
}) {
|
|
12
|
-
return /* @__PURE__ */ a(
|
|
13
|
+
return /* @__PURE__ */ a(m, { "data-slot": "dialog-trigger", ...t });
|
|
13
14
|
}
|
|
14
15
|
function x({
|
|
15
16
|
...t
|
|
16
17
|
}) {
|
|
17
|
-
return /* @__PURE__ */ a(
|
|
18
|
+
return /* @__PURE__ */ a(u, { "data-slot": "dialog-portal", ...t });
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function C({
|
|
20
21
|
...t
|
|
21
22
|
}) {
|
|
22
|
-
return /* @__PURE__ */ a(
|
|
23
|
+
return /* @__PURE__ */ a(s, { "data-slot": "dialog-close", ...t });
|
|
23
24
|
}
|
|
24
25
|
function D({
|
|
25
26
|
className: t,
|
|
26
27
|
...e
|
|
27
28
|
}) {
|
|
28
29
|
return /* @__PURE__ */ a(
|
|
29
|
-
|
|
30
|
+
g,
|
|
30
31
|
{
|
|
31
32
|
className: o(
|
|
32
33
|
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",
|
|
@@ -37,15 +38,15 @@ function D({
|
|
|
37
38
|
}
|
|
38
39
|
);
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
+
function w({
|
|
41
42
|
className: t,
|
|
42
43
|
children: e,
|
|
43
44
|
showCloseButton: l = !0,
|
|
44
45
|
...i
|
|
45
46
|
}) {
|
|
46
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ n(x, { "data-slot": "dialog-portal", children: [
|
|
47
48
|
/* @__PURE__ */ a(D, {}),
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ n(
|
|
49
50
|
d,
|
|
50
51
|
{
|
|
51
52
|
className: o(
|
|
@@ -56,13 +57,13 @@ function C({
|
|
|
56
57
|
...i,
|
|
57
58
|
children: [
|
|
58
59
|
e,
|
|
59
|
-
l && /* @__PURE__ */
|
|
60
|
-
|
|
60
|
+
l && /* @__PURE__ */ n(
|
|
61
|
+
s,
|
|
61
62
|
{
|
|
62
63
|
className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
63
64
|
"data-slot": "dialog-close",
|
|
64
65
|
children: [
|
|
65
|
-
/* @__PURE__ */ a(
|
|
66
|
+
/* @__PURE__ */ a(p, {}),
|
|
66
67
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
|
|
67
68
|
]
|
|
68
69
|
}
|
|
@@ -72,7 +73,7 @@ function C({
|
|
|
72
73
|
)
|
|
73
74
|
] });
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
+
function T({ className: t, ...e }) {
|
|
76
77
|
return /* @__PURE__ */ a(
|
|
77
78
|
"div",
|
|
78
79
|
{
|
|
@@ -82,7 +83,7 @@ function w({ className: t, ...e }) {
|
|
|
82
83
|
}
|
|
83
84
|
);
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function k({ className: t, ...e }) {
|
|
86
87
|
return /* @__PURE__ */ a(
|
|
87
88
|
"div",
|
|
88
89
|
{
|
|
@@ -95,12 +96,12 @@ function T({ className: t, ...e }) {
|
|
|
95
96
|
}
|
|
96
97
|
);
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function j({
|
|
99
100
|
className: t,
|
|
100
101
|
...e
|
|
101
102
|
}) {
|
|
102
103
|
return /* @__PURE__ */ a(
|
|
103
|
-
|
|
104
|
+
f,
|
|
104
105
|
{
|
|
105
106
|
className: o("font-semibold text-lg leading-none", t),
|
|
106
107
|
"data-slot": "dialog-title",
|
|
@@ -108,12 +109,12 @@ function k({
|
|
|
108
109
|
}
|
|
109
110
|
);
|
|
110
111
|
}
|
|
111
|
-
function
|
|
112
|
+
function O({
|
|
112
113
|
className: t,
|
|
113
114
|
...e
|
|
114
115
|
}) {
|
|
115
116
|
return /* @__PURE__ */ a(
|
|
116
|
-
|
|
117
|
+
c,
|
|
117
118
|
{
|
|
118
119
|
className: o("text-muted-foreground text-sm", t),
|
|
119
120
|
"data-slot": "dialog-description",
|
|
@@ -122,14 +123,14 @@ function j({
|
|
|
122
123
|
);
|
|
123
124
|
}
|
|
124
125
|
export {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
126
|
+
N as Dialog,
|
|
127
|
+
C as DialogClose,
|
|
128
|
+
w as DialogContent,
|
|
129
|
+
O as DialogDescription,
|
|
130
|
+
k as DialogFooter,
|
|
131
|
+
T as DialogHeader,
|
|
131
132
|
D as DialogOverlay,
|
|
132
133
|
x as DialogPortal,
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
j as DialogTitle,
|
|
135
|
+
z as DialogTrigger
|
|
135
136
|
};
|