welcome-ui 7.1.1 → 7.2.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/theme.mjs CHANGED
@@ -1,132 +1,132 @@
1
1
  "use client";
2
- import { css as w, rpxTransformers as A, defaultTheme as E } from "@xstyled/styled-components";
2
+ import { css as v, rpxTransformers as A, defaultTheme as E } from "@xstyled/styled-components";
3
3
  import { g as _ } from "./_commonjsHelpers-CXJ7dpIk.mjs";
4
4
  import { h as p } from "./hex-to-rgba-BIDK-3ab.mjs";
5
- function R(o) {
6
- return o != null && typeof o == "object" && o["@@functional/placeholder"] === !0;
5
+ function R(e) {
6
+ return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
7
7
  }
8
8
  var F = R, L = F;
9
- function I(o) {
10
- return function r(e) {
11
- return arguments.length === 0 || L(e) ? r : o.apply(this, arguments);
9
+ function I(e) {
10
+ return function r(o) {
11
+ return arguments.length === 0 || L(o) ? r : e.apply(this, arguments);
12
12
  };
13
13
  }
14
14
  var W = I, y = W, h = F;
15
- function H(o) {
16
- return function r(e, n) {
15
+ function H(e) {
16
+ return function r(o, n) {
17
17
  switch (arguments.length) {
18
18
  case 0:
19
19
  return r;
20
20
  case 1:
21
- return h(e) ? r : y(function(a) {
22
- return o(e, a);
21
+ return h(o) ? r : y(function(a) {
22
+ return e(o, a);
23
23
  });
24
24
  default:
25
- return h(e) && h(n) ? r : h(e) ? y(function(a) {
26
- return o(a, n);
25
+ return h(o) && h(n) ? r : h(o) ? y(function(a) {
26
+ return e(a, n);
27
27
  }) : h(n) ? y(function(a) {
28
- return o(e, a);
29
- }) : o(e, n);
28
+ return e(o, a);
29
+ }) : e(o, n);
30
30
  }
31
31
  };
32
32
  }
33
33
  var S = H, f = W, m = S, c = F;
34
- function U(o) {
35
- return function r(e, n, a) {
34
+ function U(e) {
35
+ return function r(o, n, a) {
36
36
  switch (arguments.length) {
37
37
  case 0:
38
38
  return r;
39
39
  case 1:
40
- return c(e) ? r : m(function(l, d) {
41
- return o(e, l, d);
40
+ return c(o) ? r : m(function(l, d) {
41
+ return e(o, l, d);
42
42
  });
43
43
  case 2:
44
- return c(e) && c(n) ? r : c(e) ? m(function(l, d) {
45
- return o(l, n, d);
44
+ return c(o) && c(n) ? r : c(o) ? m(function(l, d) {
45
+ return e(l, n, d);
46
46
  }) : c(n) ? m(function(l, d) {
47
- return o(e, l, d);
47
+ return e(o, l, d);
48
48
  }) : f(function(l) {
49
- return o(e, n, l);
49
+ return e(o, n, l);
50
50
  });
51
51
  default:
52
- return c(e) && c(n) && c(a) ? r : c(e) && c(n) ? m(function(l, d) {
53
- return o(l, d, a);
54
- }) : c(e) && c(a) ? m(function(l, d) {
55
- return o(l, n, d);
52
+ return c(o) && c(n) && c(a) ? r : c(o) && c(n) ? m(function(l, d) {
53
+ return e(l, d, a);
54
+ }) : c(o) && c(a) ? m(function(l, d) {
55
+ return e(l, n, d);
56
56
  }) : c(n) && c(a) ? m(function(l, d) {
57
- return o(e, l, d);
58
- }) : c(e) ? f(function(l) {
59
- return o(l, n, a);
57
+ return e(o, l, d);
58
+ }) : c(o) ? f(function(l) {
59
+ return e(l, n, a);
60
60
  }) : c(n) ? f(function(l) {
61
- return o(e, l, a);
61
+ return e(o, l, a);
62
62
  }) : c(a) ? f(function(l) {
63
- return o(e, n, l);
64
- }) : o(e, n, a);
63
+ return e(o, n, l);
64
+ }) : e(o, n, a);
65
65
  }
66
66
  };
67
67
  }
68
68
  var T = U;
69
- function O(o) {
70
- return Object.prototype.toString.call(o) === "[object Object]";
69
+ function O(e) {
70
+ return Object.prototype.toString.call(e) === "[object Object]";
71
71
  }
72
72
  var N = O;
73
- function j(o, r) {
74
- return Object.prototype.hasOwnProperty.call(r, o);
73
+ function j(e, r) {
74
+ return Object.prototype.hasOwnProperty.call(r, e);
75
75
  }
76
- var P = j, G = T, x = P, M = /* @__PURE__ */ G(function(r, e, n) {
76
+ var P = j, G = T, x = P, M = /* @__PURE__ */ G(function(r, o, n) {
77
77
  var a = {}, l;
78
- e = e || {}, n = n || {};
79
- for (l in e)
80
- x(l, e) && (a[l] = x(l, n) ? r(l, e[l], n[l]) : e[l]);
78
+ o = o || {}, n = n || {};
79
+ for (l in o)
80
+ x(l, o) && (a[l] = x(l, n) ? r(l, o[l], n[l]) : o[l]);
81
81
  for (l in n)
82
82
  x(l, n) && !x(l, a) && (a[l] = n[l]);
83
83
  return a;
84
- }), K = M, Y = T, $ = N, J = K, X = /* @__PURE__ */ Y(function o(r, e, n) {
84
+ }), K = M, Y = T, w = N, J = K, X = /* @__PURE__ */ Y(function e(r, o, n) {
85
85
  return J(function(a, l, d) {
86
- return $(l) && $(d) ? o(r, l, d) : r(a, l, d);
87
- }, e, n);
88
- }), Z = X, q = S, Q = Z, V = /* @__PURE__ */ q(function(r, e) {
86
+ return w(l) && w(d) ? e(r, l, d) : r(a, l, d);
87
+ }, o, n);
88
+ }), Z = X, q = S, Q = Z, V = /* @__PURE__ */ q(function(r, o) {
89
89
  return Q(function(n, a, l) {
90
90
  return l;
91
- }, r, e);
91
+ }, r, o);
92
92
  }), rr = V;
93
- const v = /* @__PURE__ */ _(rr), er = (o) => {
94
- const { borderWidths: r, colors: e, fontSizes: n, radii: a, space: l, texts: d, transitions: i } = o;
93
+ const $ = /* @__PURE__ */ _(rr), or = (e) => {
94
+ const { borderWidths: r, colors: o, fontSizes: n, radii: a, space: l, texts: d, transitions: i } = e;
95
95
  return {
96
96
  padding: l.lg,
97
97
  wrapper: {
98
- backgroundColor: e["neutral-10"],
98
+ backgroundColor: o["neutral-10"],
99
99
  transition: i.medium,
100
- border: `${r.sm} solid ${e["neutral-30"]}`,
100
+ border: `${r.sm} solid ${o["neutral-30"]}`,
101
101
  borderRadius: a.md
102
102
  },
103
103
  icon: {
104
- color: e["neutral-90"]
104
+ color: o["neutral-90"]
105
105
  },
106
106
  content: {
107
107
  fontSize: n.sm
108
108
  },
109
109
  title: d.h5
110
110
  };
111
- }, or = (o) => {
112
- const { borderWidths: r, colors: e, fontSizes: n, fontWeights: a, radii: l, space: d } = o, i = (s) => ({
113
- backgroundColor: e[`${s}-10`],
114
- borderColor: e[`${s}-10`],
115
- color: e[`${s}-90`]
111
+ }, er = (e) => {
112
+ const { borderWidths: r, colors: o, fontSizes: n, fontWeights: a, radii: l, space: d } = e, i = (s) => ({
113
+ backgroundColor: o[`${s}-10`],
114
+ borderColor: o[`${s}-10`],
115
+ color: o[`${s}-90`]
116
116
  });
117
117
  return {
118
118
  default: {
119
- backgroundColor: e["neutral-10"],
120
- borderColor: e["neutral-30"],
119
+ backgroundColor: o["neutral-10"],
120
+ borderColor: o["neutral-30"],
121
121
  borderRadius: l.lg,
122
122
  borderStyle: "solid",
123
123
  borderWidth: r.sm,
124
- color: e["neutral-80"],
124
+ color: o["neutral-80"],
125
125
  fontSize: n.sm
126
126
  },
127
127
  title: {
128
128
  default: {
129
- color: e["neutral-90"],
129
+ color: o["neutral-90"],
130
130
  fontWeight: a.medium
131
131
  },
132
132
  sizes: {
@@ -143,9 +143,14 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
143
143
  info: i("blue"),
144
144
  success: i("green"),
145
145
  beige: {
146
- backgroundColor: e["beige-20"],
147
- borderColor: e["beige-20"],
148
- color: e["beige-80"]
146
+ backgroundColor: o["beige-20"],
147
+ borderColor: o["beige-20"],
148
+ color: o["beige-80"]
149
+ },
150
+ ai: {
151
+ backgroundColor: o["violet-10"],
152
+ color: o["violet-90"],
153
+ borderColor: o["violet-10"]
149
154
  },
150
155
  sizes: {
151
156
  sm: {
@@ -156,8 +161,8 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
156
161
  }
157
162
  }
158
163
  };
159
- }, tr = (o) => {
160
- const { colors: r, fontWeights: e, toRem: n } = o;
164
+ }, tr = (e) => {
165
+ const { colors: r, fontWeights: o, toRem: n } = e;
161
166
  return {
162
167
  sizes: {
163
168
  sm: n(20),
@@ -168,15 +173,15 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
168
173
  },
169
174
  text: {
170
175
  color: r["neutral-90"],
171
- fontWeight: e.bold
176
+ fontWeight: o.bold
172
177
  }
173
178
  };
174
- }, nr = (o) => {
175
- const { colors: r, fontWeights: e, space: n, texts: a, toRem: l } = o;
179
+ }, nr = (e) => {
180
+ const { colors: r, fontWeights: o, space: n, texts: a, toRem: l } = e;
176
181
  return {
177
182
  default: {
178
183
  ...a.xs,
179
- fontWeight: e.medium
184
+ fontWeight: o.medium
180
185
  },
181
186
  variants: {
182
187
  default: {
@@ -211,12 +216,12 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
211
216
  }
212
217
  }
213
218
  };
214
- }, ar = (o) => {
215
- const { colors: r, space: e, texts: n } = o;
219
+ }, ar = (e) => {
220
+ const { colors: r, space: o, texts: n } = e;
216
221
  return {
217
222
  list: {
218
223
  ...n["subtitle-sm"],
219
- padding: `${e.sm} 0`
224
+ padding: `${o.sm} 0`
220
225
  },
221
226
  item: {
222
227
  default: {
@@ -231,12 +236,12 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
231
236
  }
232
237
  },
233
238
  separator: {
234
- padding: `0 ${e.xs}`,
239
+ padding: `0 ${o.xs}`,
235
240
  color: r["neutral-50"]
236
241
  }
237
242
  };
238
- }, lr = (o) => {
239
- const { colors: r, focus: e, fontWeights: n, radii: a, space: l, texts: d, toRem: i } = o, s = {
243
+ }, lr = (e) => {
244
+ const { colors: r, focus: o, fontWeights: n, radii: a, space: l, texts: d, toRem: i } = e, s = {
240
245
  ...d.xs,
241
246
  color: r["neutral-10"],
242
247
  fontWeight: n.bold,
@@ -246,7 +251,7 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
246
251
  return {
247
252
  primary: {
248
253
  ...s,
249
- color: o.colors["neutral-90"],
254
+ color: e.colors["neutral-90"],
250
255
  backgroundColor: r["primary-40"],
251
256
  borderColor: r["primary-40"]
252
257
  },
@@ -284,6 +289,23 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
284
289
  borderColor: "transparent"
285
290
  }
286
291
  },
292
+ ai: {
293
+ primary: {
294
+ color: r["neutral-10"],
295
+ backgroundColor: r["violet-70"],
296
+ borderColor: "transparent"
297
+ },
298
+ tertiary: {
299
+ backgroundColor: "neutral-10",
300
+ color: r["violet-70"],
301
+ borderColor: r["violet-70"]
302
+ },
303
+ ghost: {
304
+ color: r["violet-70"],
305
+ backgroundColor: r["neutral-10"],
306
+ borderColor: "transparent"
307
+ }
308
+ },
287
309
  hover: {
288
310
  primary: {
289
311
  backgroundColor: r["primary-30"],
@@ -310,17 +332,34 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
310
332
  ghost: {
311
333
  backgroundColor: r["red-10"]
312
334
  }
335
+ },
336
+ ai: {
337
+ primary: {
338
+ backgroundColor: r["violet-60"],
339
+ borderColor: "transparent"
340
+ },
341
+ tertiary: {
342
+ backgroundColor: r["violet-10"]
343
+ },
344
+ ghost: {
345
+ backgroundColor: r["violet-10"]
346
+ }
313
347
  }
314
348
  },
315
349
  focus: {
316
- primary: { ...e(r["primary-20"]) },
317
- secondary: { ...e(r["neutral-40"]) },
318
- tertiary: { ...e(r["neutral-40"]) },
319
- ghost: { ...e(r["neutral-40"]) },
350
+ primary: { ...o(r["primary-20"]) },
351
+ secondary: { ...o(r["neutral-40"]) },
352
+ tertiary: { ...o(r["neutral-40"]) },
353
+ ghost: { ...o(r["neutral-40"]) },
320
354
  danger: {
321
- primary: { ...e(r["red-40"]) },
322
- tertiary: { ...e(r["red-40"]) },
323
- ghost: { ...e(r["red-40"]) }
355
+ primary: { ...o(r["red-40"]) },
356
+ tertiary: { ...o(r["red-40"]) },
357
+ ghost: { ...o(r["red-40"]) }
358
+ },
359
+ ai: {
360
+ primary: { ...o(r["violet-50"]) },
361
+ tertiary: { ...o(r["violet-50"]) },
362
+ ghost: { ...o(r["violet-50"]) }
324
363
  }
325
364
  },
326
365
  active: {
@@ -349,6 +388,18 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
349
388
  ghost: {
350
389
  backgroundColor: r["red-20"]
351
390
  }
391
+ },
392
+ ai: {
393
+ primary: {
394
+ backgroundColor: r["violet-40"],
395
+ borderColor: r["violet-40"]
396
+ },
397
+ tertiary: {
398
+ backgroundColor: r["violet-30"]
399
+ },
400
+ ghost: {
401
+ backgroundColor: r["violet-30"]
402
+ }
352
403
  }
353
404
  },
354
405
  disabled: {
@@ -356,7 +407,7 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
356
407
  color: r["beige-70"],
357
408
  backgroundColor: r["beige-40"],
358
409
  borderColor: r["beige-40"],
359
- "&:focus": { ...e(r["beige-10"]) }
410
+ "&:focus": { ...o(r["beige-10"]) }
360
411
  },
361
412
  sizes: {
362
413
  xs: {
@@ -395,40 +446,40 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
395
446
  }
396
447
  }
397
448
  };
398
- }, ir = (o) => {
399
- const { borderWidths: r, colors: e } = o;
449
+ }, ir = (e) => {
450
+ const { borderWidths: r, colors: o } = e;
400
451
  return {
401
452
  default: {
402
- backgroundColor: e["neutral-10"],
453
+ backgroundColor: o["neutral-10"],
403
454
  borderStyle: "solid",
404
455
  borderWidth: r.sm,
405
- borderColor: e["neutral-30"]
456
+ borderColor: o["neutral-30"]
406
457
  }
407
458
  };
408
- }, dr = (o) => {
409
- const { colors: r, fontWeights: e } = o;
459
+ }, dr = (e) => {
460
+ const { colors: r, fontWeights: o } = e;
410
461
  return {
411
462
  item: {
412
463
  selected: {
413
464
  color: r["neutral-90"],
414
- fontWeight: e.bold,
465
+ fontWeight: o.bold,
415
466
  backgroundColor: r["primary-40"],
416
467
  outline: "none"
417
468
  },
418
469
  today: {
419
470
  color: r["neutral-90"],
420
- fontWeight: e.bold
471
+ fontWeight: o.bold
421
472
  }
422
473
  }
423
474
  };
424
- }, sr = (o) => {
425
- const { colors: r, radii: e, toRem: n } = o;
475
+ }, sr = (e) => {
476
+ const { colors: r, radii: o, toRem: n } = e;
426
477
  return {
427
478
  default: {
428
479
  width: n(16),
429
480
  height: n(16),
430
481
  flexShrink: 0,
431
- borderRadius: e.sm
482
+ borderRadius: o.sm
432
483
  },
433
484
  disabled: {
434
485
  borderColor: r["beige-60"]
@@ -439,8 +490,8 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
439
490
  borderColor: r["primary-40"]
440
491
  }
441
492
  };
442
- }, cr = (o) => {
443
- const { colors: r, space: e, toRem: n } = o;
493
+ }, cr = (e) => {
494
+ const { colors: r, space: o, toRem: n } = e;
444
495
  return {
445
496
  backdrop: {
446
497
  backgroundColor: r.overlay,
@@ -453,14 +504,14 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
453
504
  title: {
454
505
  margin: 0,
455
506
  backgroundColor: r["neutral-10"],
456
- padding: `${e.xl} ${e["5xl"]} ${e.xl} ${e.xl}`
507
+ padding: `${o.xl} ${o["5xl"]} ${o.xl} ${o.xl}`
457
508
  },
458
509
  content: {
459
- padding: `${e.xl}`
510
+ padding: `${o.xl}`
460
511
  },
461
512
  footer: {
462
513
  backgroundColor: r["neutral-10"],
463
- padding: `${e.xl}`
514
+ padding: `${o.xl}`
464
515
  },
465
516
  sizes: {
466
517
  horizontal: {
@@ -475,11 +526,11 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
475
526
  }
476
527
  }
477
528
  };
478
- }, gr = (o) => {
479
- const { colors: r, fontSizes: e, radii: n, toRem: a } = o, l = r["beige-30"];
529
+ }, gr = (e) => {
530
+ const { colors: r, fontSizes: o, radii: n, toRem: a } = e, l = r["beige-30"];
480
531
  return {
481
532
  inner: {
482
- fontSize: e.sm,
533
+ fontSize: o.sm,
483
534
  minWidth: a(130),
484
535
  borderRadius: n.md
485
536
  },
@@ -504,11 +555,11 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
504
555
  backgroundColor: l
505
556
  }
506
557
  };
507
- }, ur = (o) => {
508
- const { colors: r, toRem: e } = o;
558
+ }, ur = (e) => {
559
+ const { colors: r, toRem: o } = e;
509
560
  return {
510
561
  default: {
511
- minHeight: e(200),
562
+ minHeight: o(200),
512
563
  borderStyle: "dashed"
513
564
  },
514
565
  dragAccept: {},
@@ -517,11 +568,11 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
517
568
  backgroundColor: r["beige-30"]
518
569
  }
519
570
  };
520
- }, br = (o) => {
521
- const { colors: r, texts: e } = o;
571
+ }, br = (e) => {
572
+ const { colors: r, texts: o } = e;
522
573
  return {
523
574
  default: {
524
- ...e.xs,
575
+ ...o.xs,
525
576
  color: r["neutral-60"]
526
577
  },
527
578
  danger: {
@@ -534,19 +585,19 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
534
585
  color: r["orange-70"]
535
586
  }
536
587
  };
537
- }, mr = (o) => {
538
- const { colors: r, fontSizes: e, fontWeights: n } = o;
588
+ }, mr = (e) => {
589
+ const { colors: r, fontSizes: o, fontWeights: n } = e;
539
590
  return {
540
591
  color: r["neutral-60"],
541
- fontSize: e.sm,
592
+ fontSize: o.sm,
542
593
  fontWeight: n.medium
543
594
  };
544
- }, hr = (o) => {
545
- const { colors: r, fontWeights: e, icons: n, space: a, transitions: l } = o;
595
+ }, hr = (e) => {
596
+ const { colors: r, fontWeights: o, icons: n, space: a, transitions: l } = e;
546
597
  return {
547
598
  default: {
548
599
  color: r["neutral-90"],
549
- fontWeight: e.medium,
600
+ fontWeight: o.medium,
550
601
  transition: l.medium
551
602
  },
552
603
  withExternalLink: {
@@ -569,20 +620,20 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
569
620
  }
570
621
  }
571
622
  };
572
- }, pr = ({ toRem: o }) => ({
573
- xs: o(8),
574
- sm: o(10),
575
- md: o(15),
576
- lg: o(20)
577
- }), fr = ({ toRem: o }) => ({
578
- xs: o(12),
579
- sm: o(16),
580
- md: o(24),
581
- lg: o(32),
582
- xl: o(48),
583
- xxl: o(64)
584
- }), xr = (o) => {
585
- const { colors: r, radii: e, space: n, toRem: a } = o;
623
+ }, pr = ({ toRem: e }) => ({
624
+ xs: e(8),
625
+ sm: e(10),
626
+ md: e(15),
627
+ lg: e(20)
628
+ }), fr = ({ toRem: e }) => ({
629
+ xs: e(12),
630
+ sm: e(16),
631
+ md: e(24),
632
+ lg: e(32),
633
+ xl: e(48),
634
+ xxl: e(64)
635
+ }), xr = (e) => {
636
+ const { colors: r, radii: o, space: n, toRem: a } = e;
586
637
  return {
587
638
  backdrop: {
588
639
  backgroundColor: r.overlay,
@@ -590,12 +641,12 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
590
641
  },
591
642
  default: {
592
643
  zIndex: 999,
593
- borderRadius: e.md
644
+ borderRadius: o.md
594
645
  },
595
646
  header: {
596
647
  backgroundColor: r["neutral-10"],
597
- borderTopLeftRadius: e.md,
598
- borderTopRightRadius: e.md,
648
+ borderTopLeftRadius: o.md,
649
+ borderTopRightRadius: o.md,
599
650
  paddingTop: n.xxl,
600
651
  paddingRight: n["3xl"],
601
652
  paddingBottom: n.xxl,
@@ -615,8 +666,8 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
615
666
  footer: {
616
667
  backgroundColor: r["neutral-10"],
617
668
  borderTop: `solid ${r["neutral-30"]}`,
618
- borderBottomLeftRadius: e.md,
619
- borderBottomRightRadius: e.md,
669
+ borderBottomLeftRadius: o.md,
670
+ borderBottomRightRadius: o.md,
620
671
  children: {
621
672
  paddingRight: n.xxl,
622
673
  paddingLeft: n.xxl,
@@ -649,8 +700,8 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
649
700
  },
650
701
  cover: {}
651
702
  };
652
- }, Cr = (o) => {
653
- const { colors: r, focus: e, fontSizes: n, fontWeights: a, toRem: l } = o;
703
+ }, Cr = (e) => {
704
+ const { colors: r, focus: o, fontSizes: n, fontWeights: a, toRem: l } = e;
654
705
  return {
655
706
  default: {
656
707
  width: l(32),
@@ -663,7 +714,7 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
663
714
  "&:hover, &:focus": {
664
715
  backgroundColor: r["neutral-30"]
665
716
  },
666
- "&:focus": { ...e(r["neutral-60"]) }
717
+ "&:focus": { ...o(r["neutral-60"]) }
667
718
  },
668
719
  active: {
669
720
  backgroundColor: r["neutral-90"],
@@ -677,13 +728,13 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
677
728
  color: r["beige-70"]
678
729
  }
679
730
  };
680
- }, kr = (o) => {
681
- const { borderWidths: r, colors: e, space: n, texts: a, toRem: l } = o;
731
+ }, kr = (e) => {
732
+ const { borderWidths: r, colors: o, space: n, texts: a, toRem: l } = e;
682
733
  return {
683
734
  default: {
684
735
  ...a.sm,
685
- backgroundColor: e["neutral-90"],
686
- color: e["neutral-10"],
736
+ backgroundColor: o["neutral-90"],
737
+ color: o["neutral-10"],
687
738
  maxWidth: l(700),
688
739
  zIndex: 1
689
740
  },
@@ -694,18 +745,18 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
694
745
  title: {
695
746
  ...a.h6,
696
747
  padding: `${n.md} ${n.md} ${n.xs}`,
697
- color: e["neutral-10"],
698
- borderBottomColor: e["neutral-70"],
748
+ color: o["neutral-10"],
749
+ borderBottomColor: o["neutral-70"],
699
750
  borderBottomWidth: r.sm,
700
751
  borderBottomStyle: "solid"
701
752
  }
702
753
  };
703
- }, yr = (o) => {
704
- const { colors: r, toRem: e } = o;
754
+ }, yr = (e) => {
755
+ const { colors: r, toRem: o } = e;
705
756
  return {
706
757
  default: {
707
- width: e(16),
708
- height: e(16)
758
+ width: o(16),
759
+ height: o(16)
709
760
  },
710
761
  checked: {
711
762
  color: r["neutral-90"],
@@ -716,8 +767,8 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
716
767
  disabled: r["beige-60"]
717
768
  }
718
769
  };
719
- }, Fr = (o) => {
720
- const { colors: r } = o;
770
+ }, Fr = (e) => {
771
+ const { colors: r } = e;
721
772
  return {
722
773
  default: {
723
774
  "&:hover": {
@@ -726,52 +777,52 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
726
777
  },
727
778
  checked: {
728
779
  backgroundColor: r["primary-40"],
729
- color: o.colors["neutral-90"],
780
+ color: e.colors["neutral-90"],
730
781
  borderColor: r["primary-40"],
731
782
  "&:hover": {
732
783
  backgroundColor: r["primary-30"]
733
784
  }
734
785
  }
735
786
  };
736
- }, wr = (o) => {
737
- const { borderWidths: r, colors: e } = o;
787
+ }, vr = (e) => {
788
+ const { borderWidths: r, colors: o } = e;
738
789
  return {
739
790
  default: {
740
- backgroundColor: e["beige-40"],
741
- backgroundImage: `linear-gradient(${e["primary-40"]}, ${e["primary-40"]})`
791
+ backgroundColor: o["beige-40"],
792
+ backgroundImage: `linear-gradient(${o["primary-40"]}, ${o["primary-40"]})`
742
793
  },
743
794
  selector: {
744
- backgroundColor: e["neutral-90"],
795
+ backgroundColor: o["neutral-90"],
745
796
  borderRadius: "50%",
746
797
  border: `${r.md} solid`,
747
798
  disabled: {
748
- backgroundColor: e["beige-60"]
799
+ backgroundColor: o["beige-60"]
749
800
  }
750
801
  },
751
802
  output: {
752
803
  tooltip: {
753
- backgroundColor: e["neutral-90"],
754
- border: `${r.sm} solid ${e["neutral-70"]}}`,
755
- color: e["neutral-10"]
804
+ backgroundColor: o["neutral-90"],
805
+ border: `${r.sm} solid ${o["neutral-70"]}}`,
806
+ color: o["neutral-10"]
756
807
  }
757
808
  },
758
809
  focused: {
759
- outline: `${r.md} solid ${e["primary-40"]}`,
810
+ outline: `${r.md} solid ${o["primary-40"]}`,
760
811
  disabled: {
761
812
  outline: "none"
762
813
  }
763
814
  },
764
815
  disabled: {
765
- backgroundImage: `linear-gradient(${e["beige-60"]}, ${e["beige-60"]})`
816
+ backgroundImage: `linear-gradient(${o["beige-60"]}, ${o["beige-60"]})`
766
817
  },
767
818
  rangeInput: {
768
819
  disabled: {
769
- backgroundColor: e["beige-60"]
820
+ backgroundColor: o["beige-60"]
770
821
  }
771
822
  }
772
823
  };
773
- }, $r = (o) => {
774
- const { colors: r } = o;
824
+ }, wr = (e) => {
825
+ const { colors: r } = e;
775
826
  return {
776
827
  navigation: {
777
828
  bullet: {
@@ -780,14 +831,14 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
780
831
  }
781
832
  }
782
833
  };
783
- }, vr = (o) => {
784
- const { borderWidths: r, colors: e, fontWeights: n, space: a } = o;
834
+ }, $r = (e) => {
835
+ const { borderWidths: r, colors: o, fontWeights: n, space: a } = e;
785
836
  return {
786
837
  th: {
787
- color: e["neutral-60"],
838
+ color: o["neutral-60"],
788
839
  fontWeight: n.medium,
789
840
  textAlign: "left",
790
- borderBottomColor: e["neutral-90"],
841
+ borderBottomColor: o["neutral-90"],
791
842
  borderBottomWidth: r.sm,
792
843
  borderBottomStyle: "solid"
793
844
  },
@@ -797,57 +848,57 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
797
848
  },
798
849
  tr: {
799
850
  default: {
800
- borderBottomColor: e["neutral-30"],
851
+ borderBottomColor: o["neutral-30"],
801
852
  borderBottomWidth: r.sm,
802
853
  borderBottomStyle: "solid"
803
854
  },
804
855
  danger: {
805
- backgroundColor: e["red-10"],
806
- color: e["red-70"]
856
+ backgroundColor: o["red-10"],
857
+ color: o["red-70"]
807
858
  },
808
859
  warning: {
809
- backgroundColor: e["orange-10"],
810
- color: e["orange-80"]
860
+ backgroundColor: o["orange-10"],
861
+ color: o["orange-80"]
811
862
  },
812
863
  info: {
813
- backgroundColor: e["blue-10"],
814
- color: e["blue-70"]
864
+ backgroundColor: o["blue-10"],
865
+ color: o["blue-70"]
815
866
  },
816
867
  success: {
817
- backgroundColor: e["green-10"],
818
- color: e["green-70"]
868
+ backgroundColor: o["green-10"],
869
+ color: o["green-70"]
819
870
  },
820
871
  clickable: {
821
872
  cursor: "pointer"
822
873
  }
823
874
  }
824
875
  };
825
- }, Wr = (o) => {
826
- const { borderWidths: r, colors: e, fontSizes: n, fontWeights: a, lineHeights: l, space: d } = o;
876
+ }, Wr = (e) => {
877
+ const { borderWidths: r, colors: o, fontSizes: n, fontWeights: a, lineHeights: l, space: d } = e;
827
878
  return {
828
879
  tabsBorder: {
829
880
  horizontal: {
830
- boxShadow: `inset 0 -${r.sm} 0 ${e["neutral-30"]}`
881
+ boxShadow: `inset 0 -${r.sm} 0 ${o["neutral-30"]}`
831
882
  },
832
883
  vertical: {
833
- boxShadow: `inset -${r.sm} 0 0 ${e["neutral-30"]}`
884
+ boxShadow: `inset -${r.sm} 0 0 ${o["neutral-30"]}`
834
885
  }
835
886
  },
836
887
  item: {
837
888
  default: {
838
- color: e["neutral-70"],
889
+ color: o["neutral-70"],
839
890
  fontWeight: a.medium,
840
891
  textDecoration: "none",
841
892
  lineHeight: l.md
842
893
  },
843
894
  active: {
844
- color: e["neutral-90"]
895
+ color: o["neutral-90"]
845
896
  },
846
897
  focus: {
847
- color: e["neutral-90"]
898
+ color: o["neutral-90"]
848
899
  },
849
900
  disabled: {
850
- color: e["neutral-50"]
901
+ color: o["neutral-50"]
851
902
  },
852
903
  size: {
853
904
  sm: {
@@ -873,11 +924,11 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
873
924
  },
874
925
  activeBar: {
875
926
  horizontal: {
876
- background: e["primary-40"],
927
+ background: o["primary-40"],
877
928
  height: r.md
878
929
  },
879
930
  vertical: {
880
- background: e["primary-40"],
931
+ background: o["primary-40"],
881
932
  width: r.md
882
933
  }
883
934
  },
@@ -889,8 +940,8 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
889
940
  maxHeight: d.lg
890
941
  }
891
942
  };
892
- }, Sr = (o) => {
893
- const { colors: r, fontSizes: e, fontWeights: n, radii: a, space: l, toRem: d } = o, i = {
943
+ }, Sr = (e) => {
944
+ const { colors: r, fontSizes: o, fontWeights: n, radii: a, space: l, toRem: d } = e, i = {
894
945
  xs: d(20),
895
946
  sm: d(24),
896
947
  md: d(32)
@@ -916,7 +967,7 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
916
967
  color: r["beige-90"]
917
968
  },
918
969
  primary: {
919
- color: o.colors["neutral-90"],
970
+ color: e.colors["neutral-90"],
920
971
  backgroundColor: r["primary-40"]
921
972
  },
922
973
  success: s("green"),
@@ -928,7 +979,11 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
928
979
  orange: g("orange"),
929
980
  pink: g("pink"),
930
981
  green: g("green"),
931
- violet: g("violet")
982
+ violet: g("violet"),
983
+ ai: {
984
+ backgroundColor: r["violet-20"],
985
+ color: r["violet-90"]
986
+ }
932
987
  },
933
988
  hover: {
934
989
  default: {
@@ -946,26 +1001,29 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
946
1001
  orange: b("orange"),
947
1002
  pink: b("pink"),
948
1003
  green: b("green"),
949
- violet: b("violet")
1004
+ violet: b("violet"),
1005
+ ai: {
1006
+ backgroundColor: r["violet-30"]
1007
+ }
950
1008
  },
951
1009
  sizes: {
952
1010
  xs: {
953
1011
  padding: `${l.xxs} ${l.xs}`,
954
1012
  height: i.xs,
955
- fontSize: e.xs,
1013
+ fontSize: o.xs,
956
1014
  gap: l.xs,
957
1015
  borderRadius: a.sm
958
1016
  },
959
1017
  sm: {
960
1018
  padding: `${l.xs} ${l.sm}`,
961
1019
  height: i.sm,
962
- fontSize: e.xs,
1020
+ fontSize: o.xs,
963
1021
  gap: l.xs
964
1022
  },
965
1023
  md: {
966
1024
  padding: `${l.xs} ${l.sm}`,
967
1025
  height: i.md,
968
- fontSize: e.sm,
1026
+ fontSize: o.sm,
969
1027
  gap: l.sm
970
1028
  }
971
1029
  },
@@ -989,14 +1047,14 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
989
1047
  }
990
1048
  }
991
1049
  };
992
- }, Tr = (o) => {
993
- const { space: r, toRem: e } = o;
1050
+ }, Tr = (e) => {
1051
+ const { space: r, toRem: o } = e;
994
1052
  return {
995
- minHeight: e(130),
1053
+ minHeight: o(130),
996
1054
  padding: r.md
997
1055
  };
998
- }, Dr = (o, r) => {
999
- const { toEm: e, toRem: n } = r, a = n;
1056
+ }, Dr = (e, r) => {
1057
+ const { toEm: o, toRem: n } = r, a = n;
1000
1058
  return {
1001
1059
  h0: a(65),
1002
1060
  h1: a(45),
@@ -1013,10 +1071,10 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1013
1071
  xs: a(12)
1014
1072
  };
1015
1073
  }, zr = ({
1016
- defaultLineHeight: o,
1074
+ defaultLineHeight: e,
1017
1075
  toRem: r
1018
1076
  }) => ({
1019
- html: o,
1077
+ html: e,
1020
1078
  h0: r(72),
1021
1079
  h1: r(48),
1022
1080
  h2: r(40),
@@ -1028,17 +1086,17 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1028
1086
  md: r(18),
1029
1087
  sm: r(18),
1030
1088
  xs: r(14),
1031
- "subtitle-md": o,
1032
- "subtitle-sm": o
1089
+ "subtitle-md": e,
1090
+ "subtitle-sm": e
1033
1091
  }), Br = {
1034
1092
  regular: 400,
1035
1093
  medium: 500,
1036
1094
  bold: 600
1037
1095
  }, Ar = ({
1038
- defaultLetterSpacing: o,
1096
+ defaultLetterSpacing: e,
1039
1097
  toRem: r
1040
1098
  }) => ({
1041
- html: o,
1099
+ html: e,
1042
1100
  h0: r(-1.7),
1043
1101
  h1: r(-1.2),
1044
1102
  h2: r(-1),
@@ -1046,14 +1104,14 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1046
1104
  h4: r(-0.6),
1047
1105
  h5: r(-0.5),
1048
1106
  h6: r(-0.5),
1049
- lg: o,
1050
- md: o,
1051
- sm: o,
1107
+ lg: e,
1108
+ md: e,
1109
+ sm: e,
1052
1110
  xs: r(-0.2),
1053
1111
  "subtitle-md": r(-0.2),
1054
1112
  "subtitle-sm": r(-0.2)
1055
- }), Er = (o) => {
1056
- const { fontWeights: r } = o;
1113
+ }), Er = (e) => {
1114
+ const { fontWeights: r } = e;
1057
1115
  return {
1058
1116
  h0: r.bold,
1059
1117
  h1: r.bold,
@@ -1069,8 +1127,8 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1069
1127
  "subtitle-sm": r.medium,
1070
1128
  xs: r.regular
1071
1129
  };
1072
- }, _r = (o) => {
1073
- const { fonts: r } = o;
1130
+ }, _r = (e) => {
1131
+ const { fonts: r } = e;
1074
1132
  return {
1075
1133
  h0: r.headings,
1076
1134
  h1: r.headings,
@@ -1085,8 +1143,8 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1085
1143
  }, Rr = () => ({
1086
1144
  "subtitle-md": "uppercase",
1087
1145
  "subtitle-sm": "uppercase"
1088
- }), Lr = (o) => {
1089
- const { colors: r } = o;
1146
+ }), Lr = (e) => {
1147
+ const { colors: r } = e;
1090
1148
  return {
1091
1149
  h0: r["neutral-90"],
1092
1150
  h1: r["neutral-90"],
@@ -1096,16 +1154,16 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1096
1154
  h5: r["neutral-90"],
1097
1155
  h6: r["neutral-90"]
1098
1156
  };
1099
- }, D = (o) => {
1157
+ }, D = (e) => {
1100
1158
  const {
1101
1159
  fontSizes: r,
1102
- letterSpacings: e,
1160
+ letterSpacings: o,
1103
1161
  lineHeights: n,
1104
1162
  textsFontColors: a,
1105
1163
  textsFontFamily: l,
1106
1164
  textsFontWeights: d,
1107
1165
  textsTextTransform: i
1108
- } = o;
1166
+ } = e;
1109
1167
  return Object.keys(r).reduce((s, t) => ({
1110
1168
  ...s,
1111
1169
  [t]: {
@@ -1114,16 +1172,16 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1114
1172
  fontWeight: d[t],
1115
1173
  fontSize: r[t],
1116
1174
  lineHeight: n[t] || n.lg,
1117
- letterSpacing: e[t] || void 0,
1175
+ letterSpacing: o[t] || void 0,
1118
1176
  textTransform: i[t] || void 0
1119
1177
  }
1120
1178
  }), {});
1121
- }, Ir = (o, r, e) => ({
1122
- texts: [o, "sans-serif"].join(", "),
1179
+ }, Ir = (e, r, o) => ({
1180
+ texts: [e, "sans-serif"].join(", "),
1123
1181
  headings: [r, "sans-serif"].join(", "),
1124
- icons: e
1125
- }), Hr = (o) => {
1126
- const { borderWidths: r, colors: e, fontWeights: n, radii: a, space: l } = o;
1182
+ icons: o
1183
+ }), Hr = (e) => {
1184
+ const { borderWidths: r, colors: o, fontWeights: n, radii: a, space: l } = e;
1127
1185
  return {
1128
1186
  default: {
1129
1187
  paddingLeft: l.sm,
@@ -1137,7 +1195,7 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1137
1195
  },
1138
1196
  growls: {
1139
1197
  default: {
1140
- ...D(o).sm,
1198
+ ...D(e).sm,
1141
1199
  borderWidth: r.sm,
1142
1200
  borderStyle: "solid",
1143
1201
  borderRadius: a.lg,
@@ -1145,7 +1203,7 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1145
1203
  },
1146
1204
  title: {
1147
1205
  fontWeight: n.bold,
1148
- color: e["neutral-90"]
1206
+ color: o["neutral-90"]
1149
1207
  }
1150
1208
  },
1151
1209
  snackbar: {
@@ -1155,36 +1213,36 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1155
1213
  separator: {
1156
1214
  default: {
1157
1215
  borderLeft: "1px solid",
1158
- borderLeftColor: e["neutral-30"]
1216
+ borderLeftColor: o["neutral-30"]
1159
1217
  },
1160
1218
  danger: {
1161
- borderLeftColor: e["red-20"]
1219
+ borderLeftColor: o["red-20"]
1162
1220
  },
1163
1221
  warning: {
1164
- borderLeftColor: e["orange-20"]
1222
+ borderLeftColor: o["orange-20"]
1165
1223
  },
1166
1224
  info: {
1167
- borderLeftColor: e["blue-30"]
1225
+ borderLeftColor: o["blue-30"]
1168
1226
  },
1169
1227
  success: {
1170
- borderLeftColor: e["green-30"]
1228
+ borderLeftColor: o["green-30"]
1171
1229
  }
1172
1230
  }
1173
1231
  }
1174
1232
  };
1175
- }, Ur = "0.32rem !important", Or = "0.12rem ! important", Nr = (o) => {
1176
- const { borderWidths: r, colors: e, focus: n, toRem: a } = o;
1233
+ }, Ur = "0.32rem !important", Or = "0.12rem ! important", Nr = (e) => {
1234
+ const { borderWidths: r, colors: o, focus: n, toRem: a } = e;
1177
1235
  return {
1178
1236
  item: {
1179
1237
  default: {
1180
- backgroundColor: e["neutral-10"],
1181
- borderColor: e["neutral-30"],
1238
+ backgroundColor: o["neutral-10"],
1239
+ borderColor: o["neutral-30"],
1182
1240
  borderWidth: r.sm,
1183
1241
  borderStyle: "solid",
1184
1242
  borderRadius: a(16),
1185
1243
  "&:focus": {
1186
- borderColor: e["primary-30"],
1187
- ...n(e["primary-30"])
1244
+ borderColor: o["primary-30"],
1245
+ ...n(o["primary-30"])
1188
1246
  }
1189
1247
  },
1190
1248
  sizes: {
@@ -1205,29 +1263,29 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1205
1263
  }
1206
1264
  },
1207
1265
  checked: {
1208
- backgroundColor: e["primary-40"],
1209
- borderColor: e["primary-40"]
1266
+ backgroundColor: o["primary-40"],
1267
+ borderColor: o["primary-40"]
1210
1268
  },
1211
1269
  disabled: {
1212
- borderColor: e["beige-60"],
1213
- backgroundColor: e["beige-40"]
1270
+ borderColor: o["beige-60"],
1271
+ backgroundColor: o["beige-40"]
1214
1272
  }
1215
1273
  },
1216
1274
  after: {
1217
1275
  default: {
1218
- backgroundColor: e["neutral-10"],
1219
- borderColor: e["neutral-50"],
1276
+ backgroundColor: o["neutral-10"],
1277
+ borderColor: o["neutral-50"],
1220
1278
  borderWidth: r.sm,
1221
1279
  borderStyle: "solid",
1222
1280
  borderRadius: "50%"
1223
1281
  },
1224
1282
  checked: {
1225
- backgroundColor: e["neutral-10"],
1226
- borderColor: e["neutral-10"]
1283
+ backgroundColor: o["neutral-10"],
1284
+ borderColor: o["neutral-10"]
1227
1285
  },
1228
1286
  disabled: {
1229
1287
  borderColor: "transparent",
1230
- backgroundColor: e["beige-60"]
1288
+ backgroundColor: o["beige-60"]
1231
1289
  },
1232
1290
  sizes: {
1233
1291
  xs: {
@@ -1278,21 +1336,21 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1278
1336
  }
1279
1337
  }
1280
1338
  };
1281
- }, jr = (o) => {
1282
- const { borderWidths: r, colors: e, fontSizes: n, fontWeights: a, radii: l, space: d, toRem: i } = o;
1339
+ }, jr = (e) => {
1340
+ const { borderWidths: r, colors: o, fontSizes: n, fontWeights: a, radii: l, space: d, toRem: i } = e;
1283
1341
  return {
1284
1342
  maxWidth: i(200),
1285
- backgroundColor: e["neutral-90"],
1286
- color: e["neutral-10"],
1343
+ backgroundColor: o["neutral-90"],
1344
+ color: o["neutral-10"],
1287
1345
  padding: `${d.xs} ${d.sm}`,
1288
1346
  fontSize: n.sm,
1289
1347
  fontWeight: a.medium,
1290
- border: `${r.sm} solid ${e["neutral-60"]}`,
1348
+ border: `${r.sm} solid ${o["neutral-60"]}`,
1291
1349
  borderRadius: l.md,
1292
1350
  boxSizing: "border-box"
1293
1351
  };
1294
- }, Pr = (o) => {
1295
- const { colors: r } = o;
1352
+ }, Pr = (e) => {
1353
+ const { colors: r } = e;
1296
1354
  return {
1297
1355
  default: {
1298
1356
  color: r["neutral-90"]
@@ -1308,6 +1366,9 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1308
1366
  },
1309
1367
  info: {
1310
1368
  color: r["blue-60"]
1369
+ },
1370
+ ai: {
1371
+ color: r["violet-70"]
1311
1372
  }
1312
1373
  };
1313
1374
  }, Gr = {
@@ -1416,75 +1477,75 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1416
1477
  "yellow-70": "#846A01",
1417
1478
  "yellow-80": "#604D00",
1418
1479
  "yellow-90": "#423500"
1419
- }, z = (o) => ({
1420
- ...o,
1421
- "primary-10": o["yellow-10"],
1422
- "primary-20": o["yellow-20"],
1423
- "primary-30": o["yellow-30"],
1424
- "primary-40": o["yellow-40"],
1425
- "primary-50": o["yellow-50"],
1426
- "primary-60": o["yellow-60"],
1427
- "primary-70": o["yellow-70"],
1428
- "primary-80": o["yellow-80"],
1429
- "primary-90": o["yellow-90"],
1430
- "secondary-blue": o["blue-40"],
1431
- "secondary-green": o["green-30"],
1432
- "secondary-orange": o["red-orange-40"],
1433
- "secondary-pink": o["pink-40"],
1434
- "secondary-teal": o["teal-40"],
1435
- "secondary-violet": o["violet-40"],
1480
+ }, z = (e) => ({
1481
+ ...e,
1482
+ "primary-10": e["yellow-10"],
1483
+ "primary-20": e["yellow-20"],
1484
+ "primary-30": e["yellow-30"],
1485
+ "primary-40": e["yellow-40"],
1486
+ "primary-50": e["yellow-50"],
1487
+ "primary-60": e["yellow-60"],
1488
+ "primary-70": e["yellow-70"],
1489
+ "primary-80": e["yellow-80"],
1490
+ "primary-90": e["yellow-90"],
1491
+ "secondary-blue": e["blue-40"],
1492
+ "secondary-green": e["green-30"],
1493
+ "secondary-orange": e["red-orange-40"],
1494
+ "secondary-pink": e["pink-40"],
1495
+ "secondary-teal": e["teal-40"],
1496
+ "secondary-violet": e["violet-40"],
1436
1497
  overlay: "rgba(0, 0, 0, 0.55)"
1437
- }), k = z(Gr), Mr = Object.keys(k).reduce((o, r) => {
1438
- if (r.startsWith("secondary-") || r === "overlay") return o;
1439
- const e = 100 - Number(r.slice(-2)), n = r.slice(0, r.length - 2);
1498
+ }), k = z(Gr), Mr = Object.keys(k).reduce((e, r) => {
1499
+ if (r.startsWith("secondary-") || r === "overlay") return e;
1500
+ const o = 100 - Number(r.slice(-2)), n = r.slice(0, r.length - 2);
1440
1501
  return {
1441
- ...o,
1442
- [r]: k[`${n}${e}`]
1502
+ ...e,
1503
+ [r]: k[`${n}${o}`]
1443
1504
  };
1444
1505
  }, {}), Kr = {
1445
1506
  ...k,
1446
1507
  ...z(Mr)
1447
- }, he = {
1508
+ }, po = {
1448
1509
  colors: Kr
1449
- }, Yr = "f19d0de47a5f6f7446d37111f075c0901835bf12", Jr = (o) => ({
1510
+ }, Yr = "f19d0de47a5f6f7446d37111f075c0901835bf12", Jr = (e) => ({
1450
1511
  "welcome-font": [
1451
1512
  {
1452
- url: `${o.fontsUrl}/welcome-font-regular`,
1513
+ url: `${e.fontsUrl}/welcome-font-regular`,
1453
1514
  weight: "400"
1454
1515
  },
1455
1516
  {
1456
- url: `${o.fontsUrl}/welcome-font-medium`,
1517
+ url: `${e.fontsUrl}/welcome-font-medium`,
1457
1518
  weight: "500"
1458
1519
  },
1459
1520
  {
1460
- url: `${o.fontsUrl}/welcome-font-bold`,
1521
+ url: `${e.fontsUrl}/welcome-font-bold`,
1461
1522
  weight: "600"
1462
1523
  },
1463
1524
  {
1464
- url: `${o.fontsUrl}/welcome-font-regular-italic`,
1525
+ url: `${e.fontsUrl}/welcome-font-regular-italic`,
1465
1526
  style: "italic",
1466
1527
  weight: "400"
1467
1528
  },
1468
1529
  {
1469
- url: `${o.fontsUrl}/welcome-font-medium-italic`,
1530
+ url: `${e.fontsUrl}/welcome-font-medium-italic`,
1470
1531
  style: "italic",
1471
1532
  weight: "500"
1472
1533
  },
1473
1534
  {
1474
- url: `${o.fontsUrl}/welcome-font-bold-italic`,
1535
+ url: `${e.fontsUrl}/welcome-font-bold-italic`,
1475
1536
  style: "italic",
1476
1537
  weight: "600"
1477
1538
  }
1478
1539
  ],
1479
1540
  "welcome-icon-font": [
1480
1541
  {
1481
- url: `${o.fontsUrl}/icon-font/${Yr}/welcome-icon-font`,
1542
+ url: `${e.fontsUrl}/icon-font/${Yr}/welcome-icon-font`,
1482
1543
  display: "block"
1483
1544
  }
1484
1545
  ],
1485
1546
  "work-sans": [
1486
1547
  {
1487
- url: `${o.fontsUrl}/work-sans-variable`,
1548
+ url: `${e.fontsUrl}/work-sans-variable`,
1488
1549
  isVariable: !0,
1489
1550
  stretch: "75% 125%",
1490
1551
  weight: "100 1000"
@@ -1498,12 +1559,12 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1498
1559
  slow: `500ms ${C.tertiary}`,
1499
1560
  medium: `300ms ${C.primary}`,
1500
1561
  fast: `100ms ${C.secondary}`
1501
- }, Zr = ({ colors: o }) => ({
1502
- default: w`
1562
+ }, Zr = ({ colors: e }) => ({
1563
+ default: v`
1503
1564
  background-image: linear-gradient(
1504
1565
  0deg,
1505
- ${o["primary-40"]},
1506
- ${o["primary-40"]} 100%
1566
+ ${e["primary-40"]},
1567
+ ${e["primary-40"]} 100%
1507
1568
  );
1508
1569
  background-repeat: no-repeat;
1509
1570
  background-size: 100% 50%;
@@ -1513,18 +1574,18 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1513
1574
  background-size 250ms,
1514
1575
  color 250ms;
1515
1576
  `,
1516
- hover: w`
1577
+ hover: v`
1517
1578
  opacity: 1;
1518
1579
  background-position-y: 100%;
1519
1580
  background-size: 100% 100%;
1520
1581
  `
1521
- }), qr = (o) => ({
1582
+ }), qr = (e) => ({
1522
1583
  none: "0",
1523
- sm: o.toRem(2),
1524
- md: o.toRem(4),
1525
- lg: o.toRem(8),
1526
- xl: o.toRem(16),
1527
- xxl: o.toRem(24),
1584
+ sm: e.toRem(2),
1585
+ md: e.toRem(4),
1586
+ lg: e.toRem(8),
1587
+ xl: e.toRem(16),
1588
+ xxl: e.toRem(24),
1528
1589
  full: "100%"
1529
1590
  }), Qr = {
1530
1591
  sm: "1px",
@@ -1539,43 +1600,43 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1539
1600
  xxl: 1440,
1540
1601
  "3xl": 1620,
1541
1602
  "4xl": 1920
1542
- }, re = {
1603
+ }, ro = {
1543
1604
  sm: "1px 2px 4px 0 rgba(0,0,0,0.05)",
1544
1605
  md: "3px 4px 10px 0 rgba(0,0,0,0.07)"
1545
- }, ee = (o) => ({
1546
- xxs: o.toRem(2),
1547
- xs: o.toRem(4),
1548
- sm: o.toRem(8),
1549
- md: o.toRem(12),
1550
- lg: o.toRem(16),
1551
- xl: o.toRem(24),
1552
- xxl: o.toRem(32),
1553
- "3xl": o.toRem(48),
1554
- "4xl": o.toRem(64),
1555
- "5xl": o.toRem(96),
1556
- "6xl": o.toRem(128),
1557
- "7xl": o.toRem(192)
1558
- }), oe = (o) => ({
1559
- backgroundColor: o.colors["primary-40"],
1560
- color: o.colors["neutral-90"]
1561
- }), te = ({ colors: o }) => {
1562
- function r(e = o["primary-40"]) {
1606
+ }, oo = (e) => ({
1607
+ xxs: e.toRem(2),
1608
+ xs: e.toRem(4),
1609
+ sm: e.toRem(8),
1610
+ md: e.toRem(12),
1611
+ lg: e.toRem(16),
1612
+ xl: e.toRem(24),
1613
+ xxl: e.toRem(32),
1614
+ "3xl": e.toRem(48),
1615
+ "4xl": e.toRem(64),
1616
+ "5xl": e.toRem(96),
1617
+ "6xl": e.toRem(128),
1618
+ "7xl": e.toRem(192)
1619
+ }), eo = (e) => ({
1620
+ backgroundColor: e.colors["primary-40"],
1621
+ color: e.colors["neutral-90"]
1622
+ }), to = ({ colors: e }) => {
1623
+ function r(o = e["primary-40"]) {
1563
1624
  return {
1564
- boxShadow: `0 0 0 2px ${e}`
1625
+ boxShadow: `0 0 0 2px ${o}`
1565
1626
  };
1566
1627
  }
1567
1628
  return r;
1568
- }, ne = (o) => {
1569
- const { borderWidths: r, colors: e, focus: n, fontSizes: a, fontWeights: l, radii: d, space: i, toRem: s } = o;
1629
+ }, no = (e) => {
1630
+ const { borderWidths: r, colors: o, focus: n, fontSizes: a, fontWeights: l, radii: d, space: i, toRem: s } = e;
1570
1631
  return {
1571
1632
  default: {
1572
- color: e["neutral-90"],
1633
+ color: o["neutral-90"],
1573
1634
  fontSize: a.sm,
1574
1635
  /* Can't use 16 because that's a valid line-height value (16em) */
1575
1636
  lineHeight: "1rem",
1576
1637
  fontWeight: l.regular,
1577
- backgroundColor: e["neutral-10"],
1578
- borderColor: e["neutral-30"],
1638
+ backgroundColor: o["neutral-10"],
1639
+ borderColor: o["neutral-30"],
1579
1640
  borderWidth: r.sm,
1580
1641
  borderStyle: "solid",
1581
1642
  outline: "none",
@@ -1583,31 +1644,31 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1583
1644
  },
1584
1645
  hover: {
1585
1646
  default: {
1586
- borderColor: e["neutral-40"]
1647
+ borderColor: o["neutral-40"]
1587
1648
  },
1588
1649
  transparency: {
1589
- borderColor: e["neutral-20"]
1650
+ borderColor: o["neutral-20"]
1590
1651
  }
1591
1652
  },
1592
1653
  variants: {
1593
1654
  danger: {
1594
- borderColor: e["red-70"]
1655
+ borderColor: o["red-70"]
1595
1656
  },
1596
1657
  success: {
1597
- borderColor: e["green-60"]
1658
+ borderColor: o["green-60"]
1598
1659
  },
1599
1660
  warning: {
1600
- borderColor: e["orange-60"]
1661
+ borderColor: o["orange-60"]
1601
1662
  }
1602
1663
  },
1603
1664
  focused: {
1604
1665
  default: {
1605
- ...n(e["primary-20"]),
1606
- borderColor: e["primary-40"]
1666
+ ...n(o["primary-20"]),
1667
+ borderColor: o["primary-40"]
1607
1668
  },
1608
- danger: { ...n(e["red-30"]) },
1609
- warning: { ...n(e["orange-20"]) },
1610
- success: { ...n(e["green-30"]) }
1669
+ danger: { ...n(o["red-30"]) },
1670
+ warning: { ...n(o["orange-20"]) },
1671
+ success: { ...n(o["green-30"]) }
1611
1672
  },
1612
1673
  sizes: {
1613
1674
  xs: {
@@ -1667,17 +1728,17 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1667
1728
  }
1668
1729
  },
1669
1730
  disabled: {
1670
- backgroundColor: e["beige-40"],
1671
- color: e["beige-70"],
1731
+ backgroundColor: o["beige-40"],
1732
+ color: o["beige-70"],
1672
1733
  cursor: "not-allowed"
1673
1734
  },
1674
1735
  placeholder: {
1675
- color: e["neutral-50"]
1736
+ color: o["neutral-50"]
1676
1737
  },
1677
1738
  checkablelabel: {
1678
1739
  default: {},
1679
1740
  checked: {
1680
- color: e["neutral-90"],
1741
+ color: o["neutral-90"],
1681
1742
  "-webkit-text-stroke": "0.04em"
1682
1743
  }
1683
1744
  },
@@ -1687,22 +1748,22 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1687
1748
  borderRadius: d.md
1688
1749
  },
1689
1750
  existing: {
1690
- color: e["beige-40"],
1751
+ color: o["beige-40"],
1691
1752
  cursor: "not-allowed"
1692
1753
  },
1693
1754
  highlighted: {
1694
- backgroundColor: e["beige-20"],
1755
+ backgroundColor: o["beige-20"],
1695
1756
  cursor: "default"
1696
1757
  },
1697
1758
  selectedAndHighlighted: {
1698
1759
  backgroundImage: "linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08) 100%)"
1699
1760
  },
1700
1761
  selected: {
1701
- color: e["neutral-90"],
1762
+ color: o["neutral-90"],
1702
1763
  fontWeight: l.bold
1703
1764
  },
1704
1765
  disabled: {
1705
- color: e["beige-60"],
1766
+ color: o["beige-60"],
1706
1767
  cursor: "not-allowed"
1707
1768
  }
1708
1769
  },
@@ -1710,21 +1771,21 @@ const v = /* @__PURE__ */ _(rr), er = (o) => {
1710
1771
  "border-width": "0"
1711
1772
  }
1712
1773
  };
1713
- }, ae = "work-sans", le = 16, ie = "-0.019rem", de = 1.15, se = "https://cdn.welcome-ui.com/fonts", ce = "welcome-font", ge = "welcome-icon-font", pe = (o = {}) => {
1774
+ }, ao = "work-sans", lo = 16, io = "-0.019rem", so = 1.15, co = "https://cdn.welcome-ui.com/fonts", go = "welcome-font", uo = "welcome-icon-font", fo = (e = {}) => {
1714
1775
  const {
1715
- defaultFontFamily: r = ae,
1716
- defaultFontSize: e = le,
1717
- defaultLetterSpacing: n = ie,
1718
- defaultLineHeight: a = de,
1719
- fontsUrl: l = se,
1720
- headingFontFamily: d = ce,
1721
- iconFontFamily: i = ge,
1776
+ defaultFontFamily: r = ao,
1777
+ defaultFontSize: o = lo,
1778
+ defaultLetterSpacing: n = io,
1779
+ defaultLineHeight: a = so,
1780
+ fontsUrl: l = co,
1781
+ headingFontFamily: d = go,
1782
+ iconFontFamily: i = uo,
1722
1783
  ...s
1723
- } = o;
1784
+ } = e;
1724
1785
  let t = {};
1725
- return t.transformers = { ...A }, t.toEm = (g) => `${g / e}em`, t.toRem = (g) => `${g / e}rem`, t.toPx = (g) => `${g * e}px`, t.colors = k, t.fontsUrl = l, t.fontFaces = Jr(t), t.fontSizes = Dr("rem", t), t.defaultLineHeight = a, t.defaultLetterSpacing = n, t.lineHeights = zr(t), t.fontWeights = Br, t.letterSpacings = Ar(t), t.fonts = Ir(r, d, i), t.borderWidths = Qr, t.screens = Vr, t.space = ee(t), t.inset = t.space, t.radii = qr(t), t.transitions = Xr, t.timingFunction = C, t.shadows = re, t = v(t, s), t.selection = oe(t), t.underline = Zr(t), t.focus = te(t), t.textsFontWeights = Er(t), t.textsFontFamily = _r(t), t.textsFontColors = Lr(t), t.textsTextTransform = Rr(), t.texts = D(t), t.defaultFields = ne(t), t.icons = fr(t), t.accordions = er(t), t.alerts = or(t), t.avatars = tr(t), t.badges = nr(t), t.breadcrumbs = ar(t), t.buttons = lr(t), t.cards = ir(t), t.checkboxes = sr(t), t.dateTimePickerCommon = dr(t), t.drawers = cr(t), t.dropdownMenu = gr(t), t.fileDrops = ur(t), t.hints = br(t), t.labels = mr(t), t.links = hr(t), t.loaders = pr(t), t.modals = xr(t), t.paginations = Cr(t), t.popovers = kr(t), t.radios = yr(t), t.radiosTab = Fr(t), t.sliders = wr(t), t.swipers = $r(t), t.tables = vr(t), t.tabs = Wr(t), t.tags = Sr(t), t.textareas = Tr(t), t.toasts = Hr(t), t.toggles = Nr(t), t.tooltips = jr(t), t.variantIcon = Pr(t), t.states = E.states, t = v(t, s), t;
1786
+ return t.transformers = { ...A }, t.toEm = (g) => `${g / o}em`, t.toRem = (g) => `${g / o}rem`, t.toPx = (g) => `${g * o}px`, t.colors = k, t.fontsUrl = l, t.fontFaces = Jr(t), t.fontSizes = Dr("rem", t), t.defaultLineHeight = a, t.defaultLetterSpacing = n, t.lineHeights = zr(t), t.fontWeights = Br, t.letterSpacings = Ar(t), t.fonts = Ir(r, d, i), t.borderWidths = Qr, t.screens = Vr, t.space = oo(t), t.inset = t.space, t.radii = qr(t), t.transitions = Xr, t.timingFunction = C, t.shadows = ro, t = $(t, s), t.selection = eo(t), t.underline = Zr(t), t.focus = to(t), t.textsFontWeights = Er(t), t.textsFontFamily = _r(t), t.textsFontColors = Lr(t), t.textsTextTransform = Rr(), t.texts = D(t), t.defaultFields = no(t), t.icons = fr(t), t.accordions = or(t), t.alerts = er(t), t.avatars = tr(t), t.badges = nr(t), t.breadcrumbs = ar(t), t.buttons = lr(t), t.cards = ir(t), t.checkboxes = sr(t), t.dateTimePickerCommon = dr(t), t.drawers = cr(t), t.dropdownMenu = gr(t), t.fileDrops = ur(t), t.hints = br(t), t.labels = mr(t), t.links = hr(t), t.loaders = pr(t), t.modals = xr(t), t.paginations = Cr(t), t.popovers = kr(t), t.radios = yr(t), t.radiosTab = Fr(t), t.sliders = vr(t), t.swipers = wr(t), t.tables = $r(t), t.tabs = Wr(t), t.tags = Sr(t), t.textareas = Tr(t), t.toasts = Hr(t), t.toggles = Nr(t), t.tooltips = jr(t), t.variantIcon = Pr(t), t.states = E.states, t = $(t, s), t;
1726
1787
  };
1727
1788
  export {
1728
- pe as createTheme,
1729
- he as darkTheme
1789
+ fo as createTheme,
1790
+ po as darkTheme
1730
1791
  };