@moises.ai/design-system 0.0.3 → 1.0.5

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/icons.js CHANGED
@@ -1 +1,336 @@
1
1
  export * from "@radix-ui/react-icons";
2
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
3
+ const n = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ r(
4
+ "svg",
5
+ {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ width: o,
8
+ height: e,
9
+ viewBox: "0 0 20 20",
10
+ fill: "none",
11
+ className: t,
12
+ ...l,
13
+ children: /* @__PURE__ */ r(
14
+ "path",
15
+ {
16
+ d: "M10.6984 8.90271V4.97574C10.6984 4.59084 10.2817 4.35028 9.9484 4.54273L1.25 9.56475C0.916667 9.7572 0.916667 10.2383 1.25 10.4308L9.9484 15.4528C10.2817 15.6452 10.6984 15.4047 10.6984 15.0198V11.0928L18.2501 15.4528C18.5835 15.6452 19.0001 15.4047 19.0001 15.0198V4.97574C19.0001 4.59084 18.5835 4.35027 18.2501 4.54272L10.6984 8.90271Z",
17
+ fill: "currentColor"
18
+ }
19
+ )
20
+ }
21
+ );
22
+ n.displayName = "BackwardIcon";
23
+ const c = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ r(
24
+ "svg",
25
+ {
26
+ width: o,
27
+ height: e,
28
+ className: t,
29
+ viewBox: "0 0 20 20",
30
+ fill: "none",
31
+ xmlns: "http://www.w3.org/2000/svg",
32
+ ...l,
33
+ children: /* @__PURE__ */ r("g", { id: "ic-count-in", children: /* @__PURE__ */ r(
34
+ "path",
35
+ {
36
+ id: "Stroke",
37
+ d: "M4.16675 2.2383L5.42218 1.17901C5.58473 1.04185 5.8334 1.1574 5.8334 1.37008L5.83341 7.91536M16.0417 16.9786L16.0417 11.9845C16.0417 11.742 15.7311 11.6415 15.589 11.8381L12.1615 16.5822C12.0421 16.7475 12.1602 16.9786 12.3642 16.9786H16.0417ZM16.0417 16.9786L16.0417 18.8791M16.0417 16.9786H17.2882M12.5001 2.91536C12.5001 1.66536 13.2622 0.832031 14.5834 0.832031C16.3662 0.832031 17.0834 2.91536 15.8334 4.16536C14.6852 5.31359 13.8552 6.00625 12.4665 7.49877C12.3186 7.65766 12.4315 7.91536 12.6486 7.91536H16.6667M5.362 15.2251C6.6676 15.2251 7.2875 14.3352 7.2875 13.4452C7.2875 12.5553 6.49243 11.6657 5.22134 11.6657C4.19916 11.6657 3.50474 12.241 3.27197 12.9291M5.362 15.2251H4.56693M5.362 15.2251C6.6676 15.2251 7.2875 16.1151 7.2875 17.005C7.2875 17.895 6.49243 18.7846 5.22134 18.7846C4.19916 18.7846 3.50474 18.2093 3.27197 17.5211",
38
+ stroke: "currentColor",
39
+ strokeWidth: "1.5",
40
+ strokeLinecap: "round"
41
+ }
42
+ ) })
43
+ }
44
+ );
45
+ c.displayName = "CountInIcon";
46
+ const d = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ i(
47
+ "svg",
48
+ {
49
+ xmlns: "http://www.w3.org/2000/svg",
50
+ width: o,
51
+ height: e,
52
+ viewBox: "0 0 16 16",
53
+ fill: "none",
54
+ className: t,
55
+ ...l,
56
+ children: [
57
+ /* @__PURE__ */ i("g", { clipPath: "url(#clip0_4414_845)", children: [
58
+ /* @__PURE__ */ r(
59
+ "path",
60
+ {
61
+ d: "M8.84142 4.03922C8.84142 4.50392 8.4647 4.88064 7.99999 4.88064C7.53529 4.88064 7.15857 4.50392 7.15857 4.03922C7.15857 3.57451 7.53529 3.19779 7.99999 3.19779C8.4647 3.19779 8.84142 3.57451 8.84142 4.03922Z",
62
+ stroke: "currentColor"
63
+ }
64
+ ),
65
+ /* @__PURE__ */ r(
66
+ "path",
67
+ {
68
+ d: "M8.4999 4.03921C8.4999 4.31536 8.27604 4.53921 7.9999 4.53921C7.72375 4.53921 7.4999 4.31536 7.4999 4.03921C7.4999 3.76307 7.72375 3.53921 7.9999 3.53921C8.27604 3.53921 8.4999 3.76307 8.4999 4.03921Z",
69
+ stroke: "currentColor"
70
+ }
71
+ ),
72
+ /* @__PURE__ */ r(
73
+ "path",
74
+ {
75
+ d: "M8.84142 8C8.84142 8.46471 8.4647 8.84142 7.99999 8.84142C7.53529 8.84142 7.15857 8.46471 7.15857 8C7.15857 7.53529 7.53529 7.15858 7.99999 7.15858C8.4647 7.15858 8.84142 7.53529 8.84142 8Z",
76
+ stroke: "currentColor"
77
+ }
78
+ ),
79
+ /* @__PURE__ */ r(
80
+ "path",
81
+ {
82
+ d: "M8.4999 8C8.4999 8.27614 8.27604 8.5 7.9999 8.5C7.72375 8.5 7.4999 8.27614 7.4999 8C7.4999 7.72386 7.72375 7.5 7.9999 7.5C8.27604 7.5 8.4999 7.72386 8.4999 8Z",
83
+ stroke: "currentColor"
84
+ }
85
+ ),
86
+ /* @__PURE__ */ r(
87
+ "path",
88
+ {
89
+ d: "M8.84142 11.9608C8.84142 12.4255 8.4647 12.8022 7.99999 12.8022C7.53529 12.8022 7.15857 12.4255 7.15857 11.9608C7.15857 11.4961 7.53529 11.1194 7.99999 11.1194C8.4647 11.1194 8.84142 11.4961 8.84142 11.9608Z",
90
+ stroke: "currentColor"
91
+ }
92
+ ),
93
+ /* @__PURE__ */ r(
94
+ "path",
95
+ {
96
+ d: "M8.4999 11.9608C8.4999 12.2369 8.27604 12.4608 7.9999 12.4608C7.72375 12.4608 7.4999 12.2369 7.4999 11.9608C7.4999 11.6846 7.72375 11.4608 7.9999 11.4608C8.27604 11.4608 8.4999 11.6846 8.4999 11.9608Z",
97
+ stroke: "currentColor"
98
+ }
99
+ )
100
+ ] }),
101
+ /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_4414_845", children: /* @__PURE__ */ r("rect", { width: "16", height: "16", fill: "white" }) }) })
102
+ ]
103
+ }
104
+ );
105
+ d.displayName = "DotsVerticalIcon";
106
+ const s = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ r(
107
+ "svg",
108
+ {
109
+ xmlns: "http://www.w3.org/2000/svg",
110
+ width: o,
111
+ height: e,
112
+ viewBox: "0 0 20 20",
113
+ fill: "none",
114
+ className: t,
115
+ ...l,
116
+ children: /* @__PURE__ */ r(
117
+ "path",
118
+ {
119
+ d: "M9.30172 8.90271V4.97574C9.30172 4.59084 9.71839 4.35028 10.0517 4.54273L18.7501 9.56475C19.0835 9.7572 19.0835 10.2383 18.7501 10.4308L10.0517 15.4528C9.71839 15.6452 9.30172 15.4047 9.30172 15.0198V11.0928L1.75 15.4528C1.41667 15.6452 1 15.4047 1 15.0198V4.97574C1 4.59084 1.41667 4.35027 1.75 4.54272L9.30172 8.90271Z",
120
+ fill: "currentColor"
121
+ }
122
+ )
123
+ }
124
+ );
125
+ s.displayName = "ForwardIcon";
126
+ const h = ({ width: o = 16, height: e = 16, className: t, ...l }) => /* @__PURE__ */ i(
127
+ "svg",
128
+ {
129
+ xmlns: "http://www.w3.org/2000/svg",
130
+ width: o,
131
+ height: e,
132
+ viewBox: "0 0 16 16",
133
+ fill: "none",
134
+ className: t,
135
+ ...l,
136
+ children: [
137
+ /* @__PURE__ */ r("g", { clipPath: "url(#clip0_4338_6306)", children: /* @__PURE__ */ r(
138
+ "path",
139
+ {
140
+ d: "M11.1665 4H11.3332C13.5423 4 15.3332 5.79086 15.3332 8C15.3332 10.2091 13.5423 12 11.3332 12H7.83317M4.72633 12H4.6665C2.45737 12 0.666504 10.2091 0.666504 8C0.666504 5.79086 2.45736 4 4.6665 4H8.33317M5.99984 1.33334L8.6665 4L5.99984 6.66667M9.99984 14.6667L7.33317 12L9.99984 9.33334",
141
+ stroke: "currentColor",
142
+ strokeLinecap: "round",
143
+ strokeLinejoin: "round"
144
+ }
145
+ ) }),
146
+ /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_4338_6306", children: /* @__PURE__ */ r("rect", { width: "16", height: "16", fill: "white" }) }) })
147
+ ]
148
+ }
149
+ );
150
+ h.displayName = "LoopIcon";
151
+ const C = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ i(
152
+ "svg",
153
+ {
154
+ xmlns: "http://www.w3.org/2000/svg",
155
+ width: o,
156
+ height: e,
157
+ viewBox: "0 0 16 16",
158
+ fill: "none",
159
+ className: t,
160
+ ...l,
161
+ children: [
162
+ /* @__PURE__ */ r("g", { clipPath: "url(#clip0_4278_78814)", children: /* @__PURE__ */ r(
163
+ "path",
164
+ {
165
+ d: "M7.55929 10.1041V12.6128C7.55929 13.218 7.15172 13.7423 6.56663 13.8969L5.13396 14.2756C4.28819 14.4991 3.45996 13.8613 3.45996 12.9865V12.2142C3.45996 11.609 3.86754 11.0797 4.45263 10.9251L7.55929 10.1041ZM7.55929 10.1041V1.63461C7.55929 3.99995 11.3333 3.99994 11.3333 7.99993",
166
+ stroke: "currentColor",
167
+ strokeOpacity: "0.364706",
168
+ strokeMiterlimit: "10",
169
+ strokeLinecap: "round"
170
+ }
171
+ ) }),
172
+ /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_4278_78814", children: /* @__PURE__ */ r("rect", { width: "16", height: "16", fill: "white" }) }) })
173
+ ]
174
+ }
175
+ );
176
+ C.displayName = "MusicNoteIcon";
177
+ const w = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ i(
178
+ "svg",
179
+ {
180
+ xmlns: "http://www.w3.org/2000/svg",
181
+ width: o,
182
+ height: e,
183
+ viewBox: "0 0 20 20",
184
+ fill: "none",
185
+ className: t,
186
+ ...l,
187
+ children: [
188
+ /* @__PURE__ */ r(
189
+ "path",
190
+ {
191
+ d: "M6.66683 2.70833C7.47224 2.70833 8.12516 3.36125 8.12516 4.16666L8.12516 15.8333C8.12516 16.6387 7.47225 17.2917 6.66683 17.2917C5.86141 17.2917 5.2085 16.6387 5.2085 15.8333L5.2085 4.16666C5.2085 3.36125 5.86141 2.70833 6.66683 2.70833Z",
192
+ fill: "currentColor"
193
+ }
194
+ ),
195
+ /* @__PURE__ */ r(
196
+ "path",
197
+ {
198
+ d: "M13.3335 2.70833C14.1389 2.70833 14.7918 3.36125 14.7918 4.16666V15.8333C14.7918 16.6387 14.1389 17.2917 13.3335 17.2917C12.5281 17.2917 11.8752 16.6387 11.8752 15.8333L11.8752 4.16666C11.8752 3.36125 12.5281 2.70833 13.3335 2.70833Z",
199
+ fill: "currentColor"
200
+ }
201
+ )
202
+ ]
203
+ }
204
+ );
205
+ w.displayName = "PauseIcon";
206
+ const p = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ r(
207
+ "svg",
208
+ {
209
+ xmlns: "http://www.w3.org/2000/svg",
210
+ width: o,
211
+ height: e,
212
+ viewBox: "0 0 20 20",
213
+ fill: "none",
214
+ className: t,
215
+ ...l,
216
+ children: /* @__PURE__ */ r(
217
+ "path",
218
+ {
219
+ d: "M17.1436 8.90462C17.953 9.34981 18.004 10.468 17.2959 10.9974L17.1436 11.0951L5.60254 17.4427C4.7695 17.9009 3.75007 17.2987 3.75 16.348L3.75 3.65169C3.75029 2.76065 4.64608 2.17508 5.44434 2.48275L5.60254 2.55697L17.1436 8.90462Z",
220
+ fill: "currentColor",
221
+ stroke: "currentColor",
222
+ strokeWidth: "0.833333"
223
+ }
224
+ )
225
+ }
226
+ );
227
+ p.displayName = "PlayIcon";
228
+ const a = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ r(
229
+ "svg",
230
+ {
231
+ width: o,
232
+ height: e,
233
+ viewBox: "0 0 16 16",
234
+ fill: "none",
235
+ className: t,
236
+ xmlns: "http://www.w3.org/2000/svg",
237
+ ...l,
238
+ children: /* @__PURE__ */ r("rect", { width: "16", height: "16", rx: "8", fill: "currentColor" })
239
+ }
240
+ );
241
+ a.displayName = "RecordIcon";
242
+ const g = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ i(
243
+ "svg",
244
+ {
245
+ width: o,
246
+ height: e,
247
+ viewBox: "0 0 30 30",
248
+ fill: "none",
249
+ className: t,
250
+ xmlns: "http://www.w3.org/2000/svg",
251
+ ...l,
252
+ children: [
253
+ /* @__PURE__ */ r(
254
+ "rect",
255
+ {
256
+ width: "30",
257
+ height: "30",
258
+ rx: "15",
259
+ fill: "currentColor",
260
+ fillOpacity: "0.266667"
261
+ }
262
+ ),
263
+ /* @__PURE__ */ r("rect", { x: "8", y: "8", width: "14", height: "14", rx: "2", fill: "currentColor" })
264
+ ]
265
+ }
266
+ );
267
+ g.displayName = "RecordingIcon";
268
+ const u = ({
269
+ width: o = 16,
270
+ height: e = 16,
271
+ className: t,
272
+ ...l
273
+ }) => /* @__PURE__ */ i(
274
+ "svg",
275
+ {
276
+ xmlns: "http://www.w3.org/2000/svg",
277
+ width: o,
278
+ height: e,
279
+ viewBox: "0 0 16 16",
280
+ fill: "none",
281
+ className: t,
282
+ ...l,
283
+ children: [
284
+ /* @__PURE__ */ r("g", { clipPath: "url(#clip0_4338_1189)", children: /* @__PURE__ */ r(
285
+ "path",
286
+ {
287
+ d: "M12.7135 3.28666C13.9633 4.53684 14.6654 6.23223 14.6654 7.99999C14.6654 9.76775 13.9633 11.4631 12.7135 12.7133M10.3602 5.63999C10.9851 6.26509 11.3361 7.11278 11.3361 7.99666C11.3361 8.88054 10.9851 9.72823 10.3602 10.3533M7.3335 3.33333L4.00016 6H1.3335V10H4.00016L7.3335 12.6667V3.33333Z",
288
+ stroke: "currentColor",
289
+ strokeLinecap: "round",
290
+ strokeLinejoin: "round"
291
+ }
292
+ ) }),
293
+ /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_4338_1189", children: /* @__PURE__ */ r("rect", { width: "16", height: "16", fill: "white" }) }) })
294
+ ]
295
+ }
296
+ );
297
+ u.displayName = "SpeakerLoudIcon";
298
+ const L = ({ width: o, height: e, className: t, ...l }) => /* @__PURE__ */ i(
299
+ "svg",
300
+ {
301
+ xmlns: "http://www.w3.org/2000/svg",
302
+ width: o,
303
+ height: e,
304
+ viewBox: "0 0 16 16",
305
+ fill: "none",
306
+ className: t,
307
+ ...l,
308
+ children: [
309
+ /* @__PURE__ */ r("g", { clipPath: "url(#clip0_4414_913)", children: /* @__PURE__ */ r(
310
+ "path",
311
+ {
312
+ d: "M14 10V12.6667C14 13.0203 13.8595 13.3594 13.6095 13.6095C13.3594 13.8595 13.0203 14 12.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667L2 10M11.3333 5.33333L8 2M8 2L4.66667 5.33333M8 2V10",
313
+ stroke: "currentColor",
314
+ strokeLinecap: "round",
315
+ strokeLinejoin: "round"
316
+ }
317
+ ) }),
318
+ /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_4414_913", children: /* @__PURE__ */ r("rect", { width: "16", height: "16", fill: "white" }) }) })
319
+ ]
320
+ }
321
+ );
322
+ L.displayName = "UploadIcon";
323
+ export {
324
+ n as BackwardIcon,
325
+ c as CountInIcon,
326
+ d as DotsVerticalIcon,
327
+ s as ForwardIcon,
328
+ h as LoopIcon,
329
+ C as MusicNoteIcon,
330
+ w as PauseIcon,
331
+ p as PlayIcon,
332
+ a as RecordIcon,
333
+ g as RecordingIcon,
334
+ u as SpeakerLoudIcon,
335
+ L as UploadIcon
336
+ };
package/dist/index.js CHANGED
@@ -1,17 +1,106 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { Theme as a } from "@radix-ui/themes";
3
- export * from "@radix-ui/themes";
4
- const p = ({ children: r, ...e }) => /* @__PURE__ */ o(
5
- a,
1
+ import { IconButton as d, Theme as p } from "@radix-ui/themes";
2
+ import { Avatar as w, Badge as N, Box as O, Button as S, Card as g, Container as C, Dialog as H, DropdownMenu as I, Flex as P, Grid as k, Heading as E, HoverCard as F, Popover as M, Select as $, Tabs as G, Text as V, ThemePanel as q, Tooltip as J } from "@radix-ui/themes";
3
+ import { jsx as c } from "react/jsx-runtime";
4
+ export * from "@radix-ui/react-icons";
5
+ const A = () => /* @__PURE__ */ c("div", { children: "Header a b c d e f" });
6
+ function f(o) {
7
+ return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
8
+ }
9
+ var l = { exports: {} };
10
+ /*!
11
+ Copyright (c) 2018 Jed Watson.
12
+ Licensed under the MIT License (MIT), see
13
+ http://jedwatson.github.io/classnames
14
+ */
15
+ (function(o) {
16
+ (function() {
17
+ var s = {}.hasOwnProperty;
18
+ function e() {
19
+ for (var t = "", n = 0; n < arguments.length; n++) {
20
+ var r = arguments[n];
21
+ r && (t = a(t, i(r)));
22
+ }
23
+ return t;
24
+ }
25
+ function i(t) {
26
+ if (typeof t == "string" || typeof t == "number")
27
+ return t;
28
+ if (typeof t != "object")
29
+ return "";
30
+ if (Array.isArray(t))
31
+ return e.apply(null, t);
32
+ if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
33
+ return t.toString();
34
+ var n = "";
35
+ for (var r in t)
36
+ s.call(t, r) && t[r] && (n = a(n, r));
37
+ return n;
38
+ }
39
+ function a(t, n) {
40
+ return n ? t ? t + " " + n : t + n : t;
41
+ }
42
+ o.exports ? (e.default = e, o.exports = e) : window.classNames = e;
43
+ })();
44
+ })(l);
45
+ var m = l.exports;
46
+ const B = /* @__PURE__ */ f(m), v = "_iconButton_7rr0k_3", h = "_iconButtonDisabled_7rr0k_7", b = "_iconButtonActive_7rr0k_15", u = {
47
+ iconButton: v,
48
+ iconButtonDisabled: h,
49
+ iconButtonActive: b
50
+ }, y = ({
51
+ key: o,
52
+ onClick: s,
53
+ className: e,
54
+ iconSize: i,
55
+ Icon: a,
56
+ active: t,
57
+ ...n
58
+ }) => /* @__PURE__ */ c(
59
+ d,
60
+ {
61
+ onClick: s,
62
+ className: B(u.iconButton, e, {
63
+ [u.iconButtonActive]: t,
64
+ [u.iconButtonDisabled]: n.disabled
65
+ }),
66
+ variant: "ghost",
67
+ ...n,
68
+ children: /* @__PURE__ */ c(a, { width: i, height: i })
69
+ },
70
+ o
71
+ );
72
+ y.displayName = "IconButton";
73
+ const D = ({ children: o, ...s }) => /* @__PURE__ */ c(
74
+ p,
6
75
  {
7
76
  accentColor: "cyan",
8
77
  appearance: "dark",
9
78
  radius: "small",
10
79
  panelBackground: "solid",
11
- ...e,
12
- children: r
80
+ ...s,
81
+ children: o
13
82
  }
14
83
  );
15
84
  export {
16
- p as Theme
85
+ w as Avatar,
86
+ N as Badge,
87
+ O as Box,
88
+ S as Button,
89
+ g as Card,
90
+ C as Container,
91
+ H as Dialog,
92
+ I as DropdownMenu,
93
+ P as Flex,
94
+ k as Grid,
95
+ A as Header,
96
+ E as Heading,
97
+ F as HoverCard,
98
+ y as IconButton,
99
+ M as Popover,
100
+ $ as Select,
101
+ G as Tabs,
102
+ V as Text,
103
+ D as Theme,
104
+ q as ThemePanel,
105
+ J as Tooltip
17
106
  };
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ :root{--aqua-1: #f8fefe;--aqua-2: #f0fbfc;--aqua-3: #dbf8fb;--aqua-4: #c5f3f7;--aqua-5: #adf0f5;--aqua-6: #95edf3;--aqua-7: #7deaf1;--aqua-8: #65e7ef;--aqua-9: #00d0de;--aqua-10: #00c4d2;--aqua-11: #00a9b6;--aqua-12: #004348;--aqua-alpha-1: rgba(0, 219, 219, .03);--aqua-alpha-2: rgba(0, 187, 204, .06);--aqua-alpha-3: rgba(0, 206, 227, .14);--aqua-alpha-4: rgba(0, 212, 229, .26);--aqua-alpha-5: rgba(0, 209, 230, .39);--aqua-alpha-6: rgba(0, 210, 229, .52);--aqua-alpha-7: rgba(0, 215, 232, .67);--aqua-alpha-8: rgba(0, 218, 232, .9);--aqua-alpha-9: #00d0de;--aqua-alpha-10: #00c4d2;--aqua-alpha-11: rgba(5, 165, 177, .96);--aqua-alpha-12: #004348;--aqua-dark-1: #061415;--aqua-dark-2: #0c1c1d;--aqua-dark-3: #002e32;--aqua-dark-4: #003b42;--aqua-dark-5: #005a63;--aqua-dark-6: #007a84;--aqua-dark-7: #009aa5;--aqua-dark-8: #00bac6;--aqua-dark-9: #00dae8;--aqua-dark-10: #19e4f1;--aqua-dark-11: #75ebf5;--aqua-dark-12: #adf0f6;--aqua-dark-alpha-1: rgba(0, 171, 222, .02);--aqua-dark-alpha-2: rgba(0, 233, 253, .07);--aqua-dark-alpha-3: rgba(0, 223, 251, .16);--aqua-dark-alpha-4: rgba(0, 220, 253, .2);--aqua-dark-alpha-5: rgba(0, 227, 254, .33);--aqua-dark-alpha-6: rgba(0, 231, 255, .48);--aqua-dark-alpha-7: rgba(0, 234, 253, .62);--aqua-dark-alpha-8: rgba(0, 216, 230, .84);--aqua-dark-alpha-9: rgba(0, 238, 254, .91);--aqua-dark-alpha-10: rgba(49, 242, 255, .93);--aqua-dark-alpha-11: rgba(120, 247, 255, .95);--aqua-dark-alpha-12: rgba(178, 248, 254, .97);--mint-1: #f8fffb;--mint-2: #f0fdf5;--mint-3: #d8fce7;--mint-4: #bff9d8;--mint-5: #b0f9d4;--mint-6: #a1f9d0;--mint-7: #93facc;--mint-8: #84fac8;--mint-9: #0affa7;--mint-10: #00ef99;--mint-11: #04c781;--mint-12: #004527;--mint-alpha-1: rgba(0, 255, 110, .02);--mint-alpha-2: rgba(0, 221, 85, .05);--mint-alpha-3: rgba(0, 236, 99, .13);--mint-alpha-4: rgba(0, 232, 100, .25);--mint-alpha-5: rgba(155, 247, 201, .81);--mint-alpha-6: rgba(115, 249, 186, .71);--mint-alpha-7: rgba(113, 249, 189, .8);--mint-alpha-8: rgba(106, 247, 188, .85);--mint-alpha-9: #0affa7;--mint-alpha-10: rgba(7, 235, 133, .84);--mint-alpha-11: rgba(1, 188, 108, .85);--mint-alpha-12: rgba(0, 69, 39, .99);--mint-dark-1: #0b130e;--mint-dark-2: #101c15;--mint-dark-3: #101c15;--mint-dark-4: #023d25;--mint-dark-5: #03633f;--mint-dark-6: #058a59;--mint-dark-7: #06b173;--mint-dark-8: #08d88d;--mint-dark-9: #0affa7;--mint-dark-10: #4dffb8;--mint-dark-11: #78ffbe;--mint-dark-12: #a6fecd;--mint-dark-alpha-1: rgba(0, 187, 0, .02);--mint-dark-alpha-2: rgba(0, 251, 103, .04);--mint-dark-alpha-3: rgba(0, 249, 121, .11);--mint-dark-alpha-4: rgba(0, 79, 47, .7);--mint-dark-alpha-5: rgba(0, 132, 82, .71);--mint-dark-alpha-6: rgba(0, 171, 111, .78);--mint-dark-alpha-7: rgba(1, 197, 126, .89);--mint-dark-alpha-8: rgba(0, 253, 162, .84);--mint-dark-alpha-9: rgba(10, 255, 167, 1);--mint-dark-alpha-10: rgba(99, 255, 193, .98);--mint-dark-alpha-11: rgba(120, 255, 190, 1);--mint-dark-alpha-12: rgba(166, 254, 205, 1);--neutral-10: rgba(119, 123, 132, 1);--neutral-11: rgba(176, 180, 186, 1);--neutral-12: rgba(237, 238, 240, 1);--neutral-alpha-3: rgba(221, 234, 248, .08)}._iconButton_7rr0k_3{background-color:transparent;color:var(--neutral-11)!important}._iconButton_7rr0k_3:hover:not(._iconButtonDisabled_7rr0k_7){border-radius:6px;background:transparent;color:var(--neutral-12)!important;cursor:pointer}._iconButtonActive_7rr0k_15{border-radius:6px;background:var(--neutral-alpha-3);color:var(--neutral-12)!important}._iconButtonDisabled_7rr0k_7{cursor:default;color:var(--neutral-10)!important}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moises.ai/design-system",
3
- "version": "0.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",
@@ -15,20 +15,25 @@
15
15
  "./icons": {
16
16
  "import": "./dist/icons.js",
17
17
  "require": "./dist/icons.js"
18
- }
18
+ },
19
+ "./styles.css": "./styles.css"
19
20
  },
20
21
  "files": [
21
22
  "dist",
22
- "styles.css"
23
+ "styles.css",
24
+ "dist/css"
23
25
  ],
24
26
  "scripts": {
25
27
  "build": "vite build",
26
28
  "dev": "vite build --watch",
27
- "prepare": "npm run build"
29
+ "prepare": "npm run build",
30
+ "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
31
+ "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix"
28
32
  },
29
33
  "dependencies": {
30
- "@radix-ui/react-icons": "1.3.2",
31
- "@radix-ui/themes": "3.2.1"
34
+ "@radix-ui/colors": "^3.0.0",
35
+ "@radix-ui/react-icons": "^1.3.0",
36
+ "@radix-ui/themes": "^2.0.0"
32
37
  },
33
38
  "peerDependencies": {
34
39
  "react": "*",
@@ -43,10 +48,10 @@
43
48
  }
44
49
  },
45
50
  "devDependencies": {
46
- "vite": "^5.1.0",
47
51
  "@vitejs/plugin-react": "^4.2.1",
48
52
  "react": "^18.2.0",
49
- "react-dom": "^18.2.0"
53
+ "react-dom": "^18.2.0",
54
+ "vite": "^5.1.0"
50
55
  },
51
56
  "publishConfig": {
52
57
  "access": "public"
package/styles.css CHANGED
@@ -1 +1,2 @@
1
- @import '@radix-ui/themes/styles.css';
1
+ @import '@radix-ui/themes/styles.css';
2
+ @import './src/colors/custom-styles.css';