@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.
Files changed (30) hide show
  1. package/dist/components/index.js +134 -130
  2. package/dist/components/ui/atoms/accordion.js +1 -1
  3. package/dist/components/ui/atoms/avatar.js +200 -82
  4. package/dist/components/ui/atoms/breadcrumb.js +25 -37
  5. package/dist/components/ui/atoms/chart.js +115 -10398
  6. package/dist/components/ui/atoms/command.js +158 -168
  7. package/dist/components/ui/atoms/dialog.js +30 -29
  8. package/dist/components/ui/atoms/dropdown-menu.js +153 -162
  9. package/dist/components/ui/atoms/form.js +57 -250
  10. package/dist/components/ui/atoms/hover-card.js +1 -1
  11. package/dist/components/ui/atoms/index.d.ts +1 -0
  12. package/dist/components/ui/atoms/index.js +134 -130
  13. package/dist/components/ui/atoms/popover.js +1 -1
  14. package/dist/components/ui/atoms/radio-group.d.ts +5 -0
  15. package/dist/components/ui/atoms/radio-group.js +272 -0
  16. package/dist/components/ui/atoms/resizable.js +359 -372
  17. package/dist/components/ui/atoms/select.js +101 -110
  18. package/dist/components/ui/atoms/sheet.js +24 -23
  19. package/dist/components/ui/atoms/sidebar.js +80 -89
  20. package/dist/components/ui/atoms/tooltip.js +1 -1
  21. package/dist/components/ui/index.js +134 -130
  22. package/dist/{index-f0YS5Ufh.js → index-PlrlSrPo.js} +266 -259
  23. package/dist/{index-DLfXSskr.js → index-toVHZ337.js} +49 -61
  24. package/dist/main.js +134 -130
  25. package/package.json +13 -12
  26. package/dist/check-B5h1DvDs.js +0 -11
  27. package/dist/chevron-down-DmZMdOiC.js +0 -11
  28. package/dist/chevron-right-BYYHEJjK.js +0 -11
  29. package/dist/createLucideIcon-XRdN60yz.js +0 -94
  30. package/dist/index-CJFGOBPb.js +0 -122
@@ -1,32 +1,33 @@
1
- import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
- import { R as r, C as n, a as d, X as c, D as g, O as u, P as f, b as m, T as p } from "../../../index-DLfXSskr.js";
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 y({
5
+ function N({
5
6
  ...t
6
7
  }) {
7
8
  return /* @__PURE__ */ a(r, { "data-slot": "dialog", ...t });
8
9
  }
9
- function N({
10
+ function z({
10
11
  ...t
11
12
  }) {
12
- return /* @__PURE__ */ a(p, { "data-slot": "dialog-trigger", ...t });
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(f, { "data-slot": "dialog-portal", ...t });
18
+ return /* @__PURE__ */ a(u, { "data-slot": "dialog-portal", ...t });
18
19
  }
19
- function z({
20
+ function C({
20
21
  ...t
21
22
  }) {
22
- return /* @__PURE__ */ a(n, { "data-slot": "dialog-close", ...t });
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
- u,
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 C({
41
+ function w({
41
42
  className: t,
42
43
  children: e,
43
44
  showCloseButton: l = !0,
44
45
  ...i
45
46
  }) {
46
- return /* @__PURE__ */ s(x, { "data-slot": "dialog-portal", children: [
47
+ return /* @__PURE__ */ n(x, { "data-slot": "dialog-portal", children: [
47
48
  /* @__PURE__ */ a(D, {}),
48
- /* @__PURE__ */ s(
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__ */ s(
60
- n,
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(c, {}),
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 w({ className: t, ...e }) {
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 T({ className: t, ...e }) {
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 k({
99
+ function j({
99
100
  className: t,
100
101
  ...e
101
102
  }) {
102
103
  return /* @__PURE__ */ a(
103
- m,
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 j({
112
+ function O({
112
113
  className: t,
113
114
  ...e
114
115
  }) {
115
116
  return /* @__PURE__ */ a(
116
- g,
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
- y as Dialog,
126
- z as DialogClose,
127
- C as DialogContent,
128
- j as DialogDescription,
129
- T as DialogFooter,
130
- w as DialogHeader,
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
- k as DialogTitle,
134
- N as DialogTrigger
134
+ j as DialogTitle,
135
+ z as DialogTrigger
135
136
  };