welcome-ui 8.0.0 → 8.0.2

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 (90) hide show
  1. package/dist/AXB53BZF-BOEe01VW.mjs +25 -0
  2. package/dist/Accordion.mjs +17 -17
  3. package/dist/Alert.mjs +19 -19
  4. package/dist/{BYC7LY2E-CVjUW1dr.mjs → BYC7LY2E-B1IDizRs.mjs} +298 -295
  5. package/dist/Badge.mjs +1 -1
  6. package/dist/Breadcrumb.mjs +27 -26
  7. package/dist/Button.mjs +2 -2
  8. package/dist/Checkbox.mjs +1 -1
  9. package/dist/{CustomInput-D_13Gd_3.mjs → CustomInput-IA_gVoXd.mjs} +2991 -2859
  10. package/dist/DatePicker.mjs +4 -4
  11. package/dist/DateTimePicker.mjs +9 -9
  12. package/dist/DateTimePickerCommon.mjs +1 -1
  13. package/dist/Drawer.mjs +7 -7
  14. package/dist/DropdownMenu.mjs +262 -262
  15. package/dist/Field.mjs +25 -25
  16. package/dist/FileDrop.mjs +273 -267
  17. package/dist/FileUpload.mjs +26 -26
  18. package/dist/Files.mjs +1 -1
  19. package/dist/Hint.mjs +1 -1
  20. package/dist/{ITI7HKP4-BONrZ9Pq.mjs → ITI7HKP4-EL9KXYBU.mjs} +150 -150
  21. package/dist/Icons.mjs +88 -88
  22. package/dist/IconsFont.mjs +159 -159
  23. package/dist/InputText.mjs +1 -1
  24. package/dist/{JC64G2H7-Dey-8h60.mjs → JC64G2H7-BzklVBKM.mjs} +70 -70
  25. package/dist/KUU7WJ55-CS4NemC6.mjs +61 -0
  26. package/dist/{LVA2YJMS-qFC9J-lt.mjs → LVA2YJMS-DDEmK0pp.mjs} +491 -488
  27. package/dist/Label.mjs +2 -2
  28. package/dist/Link.mjs +3 -3
  29. package/dist/MTZPJQMC-CMjAwC0N.mjs +15 -0
  30. package/dist/Modal.mjs +13 -13
  31. package/dist/NLEBE274-QOMV1l7e.mjs +84 -0
  32. package/dist/P2CTZE2T-Cl2w7OLV.mjs +300 -0
  33. package/dist/P4IRICAX-DezbJY4s.mjs +37 -0
  34. package/dist/Pagination.mjs +22 -22
  35. package/dist/Picker.mjs +2 -2
  36. package/dist/Popover.mjs +2 -2
  37. package/dist/QYJ6MIDR-Bb0O5xUM.mjs +97 -0
  38. package/dist/Radio.mjs +18 -18
  39. package/dist/RadioGroup.mjs +15 -15
  40. package/dist/RadioTab.mjs +9 -9
  41. package/dist/{SYRFVSLH-cVmYtx36.mjs → SYRFVSLH-jn06-eLy.mjs} +17 -17
  42. package/dist/Search.mjs +2 -2
  43. package/dist/Select.mjs +719 -716
  44. package/dist/Shape.mjs +1 -1
  45. package/dist/Slider.mjs +1 -1
  46. package/dist/Swiper.mjs +284 -278
  47. package/dist/Tabs.mjs +128 -128
  48. package/dist/Tag.mjs +16 -16
  49. package/dist/Text.mjs +1 -1
  50. package/dist/Textarea.mjs +4 -4
  51. package/dist/TimePicker.mjs +6 -6
  52. package/dist/Toast.mjs +69 -69
  53. package/dist/Toggle.mjs +2 -2
  54. package/dist/Tooltip.mjs +60 -60
  55. package/dist/UniversalLink.mjs +8 -8
  56. package/dist/VEVQD5MH-CuegL0m0.mjs +20 -0
  57. package/dist/{VGCJ63VH-B39w1tBw.mjs → VGCJ63VH-BMzoZtCu.mjs} +31 -33
  58. package/dist/VariantIcon.mjs +4 -4
  59. package/dist/WelcomeLoader.mjs +4862 -9223
  60. package/dist/X5NMLKT6-CvSCix-_.mjs +25 -0
  61. package/dist/YV4JVR4I-Bh7B7TET.mjs +344 -0
  62. package/dist/downshift.esm-D0ns_SQs.mjs +1082 -0
  63. package/dist/{field-styles-DLIhqG_8.mjs → field-styles-CfVLcVQp.mjs} +1 -1
  64. package/dist/{index-BDeIsk2X.mjs → index-5PUh49rV.mjs} +56 -56
  65. package/dist/{index-DEJJvyGk.mjs → index-B0gDDiFm.mjs} +7 -7
  66. package/dist/{index-CExLVjET.mjs → index-B22SHR8h.mjs} +4 -4
  67. package/dist/index-BhcLigYU.mjs +77 -0
  68. package/dist/{index-BJAZgeHL.mjs → index-Bkl89twW.mjs} +4 -4
  69. package/dist/{index-BYdkhqH4.mjs → index-CBBbX29m.mjs} +3652 -3584
  70. package/dist/{index-BpRjq7lj.mjs → index-CQD9fgf_.mjs} +3 -3
  71. package/dist/{index-BRDOakbf.mjs → index-CmsWSKKs.mjs} +5 -5
  72. package/dist/{index-SbQUT2mU.mjs → index-DgSynio4.mjs} +244 -239
  73. package/dist/{index-BrfXjmHY.mjs → index-wr_b5GSV.mjs} +6 -6
  74. package/dist/radio-group-RFyDp0KD.mjs +51 -0
  75. package/dist/theme.mjs +670 -615
  76. package/dist/{use-viewport-m3glsbna.mjs → use-viewport-CfklieD-.mjs} +5 -5
  77. package/dist/utils.mjs +29 -91
  78. package/package.json +10 -13
  79. package/dist/AXB53BZF-CGoc4K3d.mjs +0 -25
  80. package/dist/KUU7WJ55-3sP-w1F1.mjs +0 -61
  81. package/dist/MTZPJQMC-C0Xe_WK4.mjs +0 -13
  82. package/dist/NLEBE274-C94QU78N.mjs +0 -84
  83. package/dist/P2CTZE2T-YPes1GXe.mjs +0 -297
  84. package/dist/P4IRICAX-DzXqUYe-.mjs +0 -37
  85. package/dist/QYJ6MIDR-BLLqyXdd.mjs +0 -97
  86. package/dist/VEVQD5MH-ZMnHV8ZJ.mjs +0 -20
  87. package/dist/X5NMLKT6-uFSu0Lii.mjs +0 -25
  88. package/dist/YV4JVR4I-BGfUf3Nu.mjs +0 -341
  89. package/dist/downshift.esm-CEHW4VDy.mjs +0 -1085
  90. package/dist/radio-group-CGC6DTFJ.mjs +0 -51
package/dist/theme.mjs CHANGED
@@ -1,133 +1,188 @@
1
1
  "use client";
2
- import { css as w, rpxTransformers as E, defaultTheme as b } from "@xstyled/styled-components";
3
- import { g as R } from "./_commonjsHelpers-CXJ7dpIk.mjs";
4
- import { h as f } from "./hex-to-rgba-BIDK-3ab.mjs";
5
- function _(e) {
6
- return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
2
+ import { css as S, rpxTransformers as M, defaultTheme as u } from "@xstyled/styled-components";
3
+ import { g as N } from "./_commonjsHelpers-CXJ7dpIk.mjs";
4
+ import { h as m } from "./hex-to-rgba-BIDK-3ab.mjs";
5
+ var f, D;
6
+ function $() {
7
+ if (D) return f;
8
+ D = 1;
9
+ function o(r) {
10
+ return r != null && typeof r == "object" && r["@@functional/placeholder"] === !0;
11
+ }
12
+ return f = o, f;
7
13
  }
8
- var v = _, L = v;
9
- function I(e) {
10
- return function r(o) {
11
- return arguments.length === 0 || L(o) ? r : e.apply(this, arguments);
12
- };
14
+ var x, T;
15
+ function H() {
16
+ if (T) return x;
17
+ T = 1;
18
+ var o = /* @__PURE__ */ $();
19
+ function r(e) {
20
+ return function i(n) {
21
+ return arguments.length === 0 || o(n) ? i : e.apply(this, arguments);
22
+ };
23
+ }
24
+ return x = r, x;
13
25
  }
14
- var S = I, F = S, p = v;
15
- function H(e) {
16
- return function r(o, n) {
17
- switch (arguments.length) {
18
- case 0:
19
- return r;
20
- case 1:
21
- return p(o) ? r : F(function(a) {
22
- return e(o, a);
23
- });
24
- default:
25
- return p(o) && p(n) ? r : p(o) ? F(function(a) {
26
- return e(a, n);
27
- }) : p(n) ? F(function(a) {
28
- return e(o, a);
29
- }) : e(o, n);
30
- }
31
- };
26
+ var C, R;
27
+ function q() {
28
+ if (R) return C;
29
+ R = 1;
30
+ var o = /* @__PURE__ */ H(), r = /* @__PURE__ */ $();
31
+ function e(i) {
32
+ return function n(l, d) {
33
+ switch (arguments.length) {
34
+ case 0:
35
+ return n;
36
+ case 1:
37
+ return r(l) ? n : o(function(a) {
38
+ return i(l, a);
39
+ });
40
+ default:
41
+ return r(l) && r(d) ? n : r(l) ? o(function(a) {
42
+ return i(a, d);
43
+ }) : r(d) ? o(function(a) {
44
+ return i(l, a);
45
+ }) : i(l, d);
46
+ }
47
+ };
48
+ }
49
+ return C = e, C;
32
50
  }
33
- var T = H, x = S, h = T, g = v;
34
- function U(e) {
35
- return function r(o, n, a) {
36
- switch (arguments.length) {
37
- case 0:
38
- return r;
39
- case 1:
40
- return g(o) ? r : h(function(i, d) {
41
- return e(o, i, d);
42
- });
43
- case 2:
44
- return g(o) && g(n) ? r : g(o) ? h(function(i, d) {
45
- return e(i, n, d);
46
- }) : g(n) ? h(function(i, d) {
47
- return e(o, i, d);
48
- }) : x(function(i) {
49
- return e(o, n, i);
50
- });
51
- default:
52
- return g(o) && g(n) && g(a) ? r : g(o) && g(n) ? h(function(i, d) {
53
- return e(i, d, a);
54
- }) : g(o) && g(a) ? h(function(i, d) {
55
- return e(i, n, d);
56
- }) : g(n) && g(a) ? h(function(i, d) {
57
- return e(o, i, d);
58
- }) : g(o) ? x(function(i) {
59
- return e(i, n, a);
60
- }) : g(n) ? x(function(i) {
61
- return e(o, i, a);
62
- }) : g(a) ? x(function(i) {
63
- return e(o, n, i);
64
- }) : e(o, n, a);
65
- }
66
- };
51
+ var y, _;
52
+ function O() {
53
+ if (_) return y;
54
+ _ = 1;
55
+ var o = /* @__PURE__ */ H(), r = /* @__PURE__ */ q(), e = /* @__PURE__ */ $();
56
+ function i(n) {
57
+ return function l(d, a, s) {
58
+ switch (arguments.length) {
59
+ case 0:
60
+ return l;
61
+ case 1:
62
+ return e(d) ? l : r(function(t, c) {
63
+ return n(d, t, c);
64
+ });
65
+ case 2:
66
+ return e(d) && e(a) ? l : e(d) ? r(function(t, c) {
67
+ return n(t, a, c);
68
+ }) : e(a) ? r(function(t, c) {
69
+ return n(d, t, c);
70
+ }) : o(function(t) {
71
+ return n(d, a, t);
72
+ });
73
+ default:
74
+ return e(d) && e(a) && e(s) ? l : e(d) && e(a) ? r(function(t, c) {
75
+ return n(t, c, s);
76
+ }) : e(d) && e(s) ? r(function(t, c) {
77
+ return n(t, a, c);
78
+ }) : e(a) && e(s) ? r(function(t, c) {
79
+ return n(d, t, c);
80
+ }) : e(d) ? o(function(t) {
81
+ return n(t, a, s);
82
+ }) : e(a) ? o(function(t) {
83
+ return n(d, t, s);
84
+ }) : e(s) ? o(function(t) {
85
+ return n(d, a, t);
86
+ }) : n(d, a, s);
87
+ }
88
+ };
89
+ }
90
+ return y = i, y;
67
91
  }
68
- var D = U;
69
- function O(e) {
70
- return Object.prototype.toString.call(e) === "[object Object]";
92
+ var k, z;
93
+ function K() {
94
+ if (z) return k;
95
+ z = 1;
96
+ function o(r) {
97
+ return Object.prototype.toString.call(r) === "[object Object]";
98
+ }
99
+ return k = o, k;
100
+ }
101
+ var F, B;
102
+ function G() {
103
+ if (B) return F;
104
+ B = 1;
105
+ function o(r, e) {
106
+ return Object.prototype.hasOwnProperty.call(e, r);
107
+ }
108
+ return F = o, F;
71
109
  }
72
- var N = O;
73
- function P(e, r) {
74
- return Object.prototype.hasOwnProperty.call(r, e);
110
+ var v, A;
111
+ function Y() {
112
+ if (A) return v;
113
+ A = 1;
114
+ var o = /* @__PURE__ */ O(), r = /* @__PURE__ */ G(), e = /* @__PURE__ */ o(function(n, l, d) {
115
+ var a = {}, s;
116
+ l = l || {}, d = d || {};
117
+ for (s in l)
118
+ r(s, l) && (a[s] = r(s, d) ? n(s, l[s], d[s]) : l[s]);
119
+ for (s in d)
120
+ r(s, d) && !r(s, a) && (a[s] = d[s]);
121
+ return a;
122
+ });
123
+ return v = e, v;
75
124
  }
76
- var j = P, G = D, C = j, M = /* @__PURE__ */ G(function(r, o, n) {
77
- var a = {}, i;
78
- o = o || {}, n = n || {};
79
- for (i in o)
80
- C(i, o) && (a[i] = C(i, n) ? r(i, o[i], n[i]) : o[i]);
81
- for (i in n)
82
- C(i, n) && !C(i, a) && (a[i] = n[i]);
83
- return a;
84
- }), K = M, Y = D, $ = N, J = K, X = /* @__PURE__ */ Y(function e(r, o, n) {
85
- return J(function(a, i, d) {
86
- return $(i) && $(d) ? e(r, i, d) : r(a, i, d);
87
- }, o, n);
88
- }), Z = X, q = T, Q = Z, V = /* @__PURE__ */ q(function(r, o) {
89
- return Q(function(n, a, i) {
90
- return i;
91
- }, r, o);
92
- }), rr = V;
93
- const W = /* @__PURE__ */ R(rr), or = (e) => {
94
- const { borderWidths: r, colors: o, fontSizes: n, radii: a, space: i, texts: d, transitions: l } = e;
125
+ var w, E;
126
+ function J() {
127
+ if (E) return w;
128
+ E = 1;
129
+ var o = /* @__PURE__ */ O(), r = /* @__PURE__ */ K(), e = /* @__PURE__ */ Y(), i = /* @__PURE__ */ o(function n(l, d, a) {
130
+ return e(function(s, t, c) {
131
+ return r(t) && r(c) ? n(l, t, c) : l(s, t, c);
132
+ }, d, a);
133
+ });
134
+ return w = i, w;
135
+ }
136
+ var W, L;
137
+ function X() {
138
+ if (L) return W;
139
+ L = 1;
140
+ var o = /* @__PURE__ */ q(), r = /* @__PURE__ */ J(), e = /* @__PURE__ */ o(function(n, l) {
141
+ return r(function(d, a, s) {
142
+ return s;
143
+ }, n, l);
144
+ });
145
+ return W = e, W;
146
+ }
147
+ var Z = /* @__PURE__ */ X();
148
+ const I = /* @__PURE__ */ N(Z), Q = (o) => {
149
+ const { borderWidths: r, colors: e, fontSizes: i, radii: n, space: l, texts: d, transitions: a } = o;
95
150
  return {
96
- padding: i.lg,
151
+ padding: l.lg,
97
152
  wrapper: {
98
- backgroundColor: o["neutral-10"],
99
- transition: l.medium,
100
- border: `${r.sm} solid ${o["neutral-30"]}`,
101
- borderRadius: a.md
153
+ backgroundColor: e["neutral-10"],
154
+ transition: a.medium,
155
+ border: `${r.sm} solid ${e["neutral-30"]}`,
156
+ borderRadius: n.md
102
157
  },
103
158
  icon: {
104
- color: o["neutral-90"]
159
+ color: e["neutral-90"]
105
160
  },
106
161
  content: {
107
- fontSize: n.sm
162
+ fontSize: i.sm
108
163
  },
109
164
  title: d.h5
110
165
  };
111
- }, er = (e) => {
112
- const { borderWidths: r, colors: o, fontSizes: n, fontWeights: a, radii: i, space: d } = e, l = (s) => ({
113
- backgroundColor: o[`${s}-10`],
114
- borderColor: o[`${s}-10`],
115
- color: o[`${s}-90`]
166
+ }, V = (o) => {
167
+ const { borderWidths: r, colors: e, fontSizes: i, fontWeights: n, radii: l, space: d } = o, a = (s) => ({
168
+ backgroundColor: e[`${s}-10`],
169
+ borderColor: e[`${s}-10`],
170
+ color: e[`${s}-90`]
116
171
  });
117
172
  return {
118
173
  default: {
119
- backgroundColor: o["neutral-10"],
120
- borderColor: o["neutral-30"],
121
- borderRadius: i.lg,
174
+ backgroundColor: e["neutral-10"],
175
+ borderColor: e["neutral-30"],
176
+ borderRadius: l.lg,
122
177
  borderStyle: "solid",
123
178
  borderWidth: r.sm,
124
- color: o["neutral-80"],
125
- fontSize: n.sm
179
+ color: e["neutral-80"],
180
+ fontSize: i.sm
126
181
  },
127
182
  title: {
128
183
  default: {
129
- color: o["neutral-90"],
130
- fontWeight: a.medium
184
+ color: e["neutral-90"],
185
+ fontWeight: n.medium
131
186
  },
132
187
  sizes: {
133
188
  sm: {
@@ -138,19 +193,19 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
138
193
  }
139
194
  }
140
195
  },
141
- danger: l("red"),
142
- warning: l("orange"),
143
- info: l("blue"),
144
- success: l("green"),
196
+ danger: a("red"),
197
+ warning: a("orange"),
198
+ info: a("blue"),
199
+ success: a("green"),
145
200
  beige: {
146
- backgroundColor: o["beige-20"],
147
- borderColor: o["beige-20"],
148
- color: o["beige-80"]
201
+ backgroundColor: e["beige-20"],
202
+ borderColor: e["beige-20"],
203
+ color: e["beige-80"]
149
204
  },
150
205
  ai: {
151
- backgroundColor: o["violet-10"],
152
- color: o["violet-90"],
153
- borderColor: o["violet-10"]
206
+ backgroundColor: e["violet-10"],
207
+ color: e["violet-90"],
208
+ borderColor: e["violet-10"]
154
209
  },
155
210
  sizes: {
156
211
  sm: {
@@ -161,27 +216,27 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
161
216
  }
162
217
  }
163
218
  };
164
- }, tr = (e) => {
165
- const { colors: r, fontWeights: o, toRem: n } = e;
219
+ }, rr = (o) => {
220
+ const { colors: r, fontWeights: e, toRem: i } = o;
166
221
  return {
167
222
  sizes: {
168
- sm: n(20),
169
- md: n(30),
170
- lg: n(40),
171
- xl: n(50),
172
- xxl: n(60)
223
+ sm: i(20),
224
+ md: i(30),
225
+ lg: i(40),
226
+ xl: i(50),
227
+ xxl: i(60)
173
228
  },
174
229
  text: {
175
230
  color: r["neutral-90"],
176
- fontWeight: o.bold
231
+ fontWeight: e.bold
177
232
  }
178
233
  };
179
- }, nr = (e) => {
180
- const { colors: r, fontWeights: o, space: n, texts: a, toRem: i } = e;
234
+ }, er = (o) => {
235
+ const { colors: r, fontWeights: e, space: i, texts: n, toRem: l } = o;
181
236
  return {
182
237
  default: {
183
- ...a.xs,
184
- fontWeight: o.medium
238
+ ...n.xs,
239
+ fontWeight: e.medium
185
240
  },
186
241
  variants: {
187
242
  default: {
@@ -205,23 +260,23 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
205
260
  },
206
261
  sizes: {
207
262
  sm: {
208
- padding: n.xxs,
209
- height: i(16),
210
- borderRadius: i(14)
263
+ padding: i.xxs,
264
+ height: l(16),
265
+ borderRadius: l(14)
211
266
  },
212
267
  md: {
213
- padding: n.xs,
214
- height: i(20),
215
- borderRadius: i(14)
268
+ padding: i.xs,
269
+ height: l(20),
270
+ borderRadius: l(14)
216
271
  }
217
272
  }
218
273
  };
219
- }, ar = (e) => {
220
- const { colors: r, space: o, texts: n } = e;
274
+ }, or = (o) => {
275
+ const { colors: r, space: e, texts: i } = o;
221
276
  return {
222
277
  list: {
223
- ...n["subtitle-sm"],
224
- padding: `${o.sm} 0`
278
+ ...i["subtitle-sm"],
279
+ padding: `${e.sm} 0`
225
280
  },
226
281
  item: {
227
282
  default: {
@@ -236,22 +291,22 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
236
291
  }
237
292
  },
238
293
  separator: {
239
- padding: `0 ${o.xs}`,
294
+ padding: `0 ${e.xs}`,
240
295
  color: r["neutral-50"]
241
296
  }
242
297
  };
243
- }, ir = (e) => {
244
- const { colors: r, focus: o, fontWeights: n, radii: a, space: i, texts: d, toRem: l } = e, s = {
298
+ }, tr = (o) => {
299
+ const { colors: r, focus: e, fontWeights: i, radii: n, space: l, texts: d, toRem: a } = o, s = {
245
300
  ...d.xs,
246
301
  color: r["neutral-10"],
247
- fontWeight: n.bold,
302
+ fontWeight: i.bold,
248
303
  letterSpacing: 0,
249
- borderRadius: a.md
304
+ borderRadius: n.md
250
305
  };
251
306
  return {
252
307
  primary: {
253
308
  ...s,
254
- color: e.colors["neutral-90"],
309
+ color: o.colors["neutral-90"],
255
310
  backgroundColor: r["primary-40"],
256
311
  borderColor: r["primary-40"]
257
312
  },
@@ -316,10 +371,10 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
316
371
  borderColor: "transparent"
317
372
  },
318
373
  tertiary: {
319
- backgroundColor: f(r["neutral-90"], 0.1)
374
+ backgroundColor: m(r["neutral-90"], 0.1)
320
375
  },
321
376
  ghost: {
322
- backgroundColor: f(r["neutral-90"], 0.1)
377
+ backgroundColor: m(r["neutral-90"], 0.1)
323
378
  },
324
379
  danger: {
325
380
  primary: {
@@ -347,19 +402,19 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
347
402
  }
348
403
  },
349
404
  focus: {
350
- primary: { ...o(r["primary-20"]) },
351
- secondary: { ...o(r["neutral-40"]) },
352
- tertiary: { ...o(r["neutral-40"]) },
353
- ghost: { ...o(r["neutral-40"]) },
405
+ primary: { ...e(r["primary-20"]) },
406
+ secondary: { ...e(r["neutral-40"]) },
407
+ tertiary: { ...e(r["neutral-40"]) },
408
+ ghost: { ...e(r["neutral-40"]) },
354
409
  danger: {
355
- primary: { ...o(r["red-40"]) },
356
- tertiary: { ...o(r["red-40"]) },
357
- ghost: { ...o(r["red-40"]) }
410
+ primary: { ...e(r["red-40"]) },
411
+ tertiary: { ...e(r["red-40"]) },
412
+ ghost: { ...e(r["red-40"]) }
358
413
  },
359
414
  ai: {
360
- primary: { ...o(r["violet-50"]) },
361
- tertiary: { ...o(r["violet-50"]) },
362
- ghost: { ...o(r["violet-50"]) }
415
+ primary: { ...e(r["violet-50"]) },
416
+ tertiary: { ...e(r["violet-50"]) },
417
+ ghost: { ...e(r["violet-50"]) }
363
418
  }
364
419
  },
365
420
  active: {
@@ -372,10 +427,10 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
372
427
  borderColor: r["neutral-50"]
373
428
  },
374
429
  tertiary: {
375
- backgroundColor: f(r["neutral-90"], 0.4)
430
+ backgroundColor: m(r["neutral-90"], 0.4)
376
431
  },
377
432
  ghost: {
378
- backgroundColor: f(r["neutral-90"], 0.4)
433
+ backgroundColor: m(r["neutral-90"], 0.4)
379
434
  },
380
435
  danger: {
381
436
  primary: {
@@ -407,79 +462,79 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
407
462
  color: r["beige-70"],
408
463
  backgroundColor: r["beige-40"],
409
464
  borderColor: r["beige-40"],
410
- "&:focus": { ...o(r["beige-10"]) }
465
+ "&:focus": { ...e(r["beige-10"]) }
411
466
  },
412
467
  sizes: {
413
468
  xs: {
414
- height: l(24),
415
- padding: `${i.xs} ${i.sm}`
469
+ height: a(24),
470
+ padding: `${l.xs} ${l.sm}`
416
471
  },
417
472
  sm: {
418
- height: l(32),
419
- padding: `${i.sm} ${i.md}`
473
+ height: a(32),
474
+ padding: `${l.sm} ${l.md}`
420
475
  },
421
476
  md: {
422
477
  ...d.sm,
423
- fontWeight: n.bold,
424
- height: l(40),
425
- padding: `${i.sm} ${i.lg}`
478
+ fontWeight: i.bold,
479
+ height: a(40),
480
+ padding: `${l.sm} ${l.lg}`
426
481
  },
427
482
  lg: {
428
483
  ...d.sm,
429
- fontWeight: n.bold,
430
- height: l(48),
431
- padding: `${i.md} ${i.xl}`
484
+ fontWeight: i.bold,
485
+ height: a(48),
486
+ padding: `${l.md} ${l.xl}`
432
487
  }
433
488
  },
434
489
  icon: {
435
490
  only: {
436
- xs: l(16),
437
- sm: l(16),
438
- md: l(16),
439
- lg: l(24)
491
+ xs: a(16),
492
+ sm: a(16),
493
+ md: a(16),
494
+ lg: a(24)
440
495
  },
441
496
  default: {
442
- xs: l(12),
443
- sm: l(16),
444
- md: l(16),
445
- lg: l(16)
497
+ xs: a(12),
498
+ sm: a(16),
499
+ md: a(16),
500
+ lg: a(16)
446
501
  }
447
502
  }
448
503
  };
449
- }, lr = (e) => {
450
- const { borderWidths: r, colors: o } = e;
504
+ }, nr = (o) => {
505
+ const { borderWidths: r, colors: e } = o;
451
506
  return {
452
507
  default: {
453
- backgroundColor: o["neutral-10"],
508
+ backgroundColor: e["neutral-10"],
454
509
  borderStyle: "solid",
455
510
  borderWidth: r.sm,
456
- borderColor: o["neutral-30"]
511
+ borderColor: e["neutral-30"]
457
512
  }
458
513
  };
459
- }, dr = (e) => {
460
- const { colors: r, fontWeights: o } = e;
514
+ }, ir = (o) => {
515
+ const { colors: r, fontWeights: e } = o;
461
516
  return {
462
517
  item: {
463
518
  selected: {
464
519
  color: r["neutral-90"],
465
- fontWeight: o.bold,
520
+ fontWeight: e.bold,
466
521
  backgroundColor: r["primary-40"],
467
522
  outline: "none"
468
523
  },
469
524
  today: {
470
525
  color: r["neutral-90"],
471
- fontWeight: o.bold
526
+ fontWeight: e.bold
472
527
  }
473
528
  }
474
529
  };
475
- }, sr = (e) => {
476
- const { colors: r, radii: o, toRem: n } = e;
530
+ }, ar = (o) => {
531
+ const { colors: r, radii: e, toRem: i } = o;
477
532
  return {
478
533
  default: {
479
- width: n(16),
480
- height: n(16),
534
+ width: i(16),
535
+ height: i(16),
481
536
  flexShrink: 0,
482
- borderRadius: o.sm
537
+ borderRadius: e.sm
483
538
  },
484
539
  disabled: {
485
540
  borderColor: r["beige-60"]
@@ -490,8 +545,8 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
490
545
  borderColor: r["primary-40"]
491
546
  }
492
547
  };
493
- }, gr = (e) => {
494
- const { colors: r, space: o, toRem: n } = e;
548
+ }, lr = (o) => {
549
+ const { colors: r, space: e, toRem: i } = o;
495
550
  return {
496
551
  backdrop: {
497
552
  backgroundColor: r.overlay,
@@ -504,35 +559,35 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
504
559
  title: {
505
560
  margin: 0,
506
561
  backgroundColor: r["neutral-10"],
507
- padding: `${o.xl} ${o["5xl"]} ${o.xl} ${o.xl}`
562
+ padding: `${e.xl} ${e["5xl"]} ${e.xl} ${e.xl}`
508
563
  },
509
564
  content: {
510
- padding: `${o.xl}`
565
+ padding: `${e.xl}`
511
566
  },
512
567
  footer: {
513
568
  backgroundColor: r["neutral-10"],
514
- padding: `${o.xl}`
569
+ padding: `${e.xl}`
515
570
  },
516
571
  sizes: {
517
572
  horizontal: {
518
- sm: { width: n(400) },
519
- md: { width: n(550) },
520
- lg: { width: n(680) }
573
+ sm: { width: i(400) },
574
+ md: { width: i(550) },
575
+ lg: { width: i(680) }
521
576
  },
522
577
  vertical: {
523
- sm: { height: n(400) },
524
- md: { height: n(550) },
525
- lg: { height: n(680) }
578
+ sm: { height: i(400) },
579
+ md: { height: i(550) },
580
+ lg: { height: i(680) }
526
581
  }
527
582
  }
528
583
  };
529
- }, cr = (e) => {
530
- const { colors: r, fontSizes: o, radii: n, toRem: a } = e, i = r["beige-30"];
584
+ }, dr = (o) => {
585
+ const { colors: r, fontSizes: e, radii: i, toRem: n } = o, l = r["beige-30"];
531
586
  return {
532
587
  inner: {
533
- fontSize: o.sm,
534
- minWidth: a(130),
535
- borderRadius: n.md
588
+ fontSize: e.sm,
589
+ minWidth: n(130),
590
+ borderRadius: i.md
536
591
  },
537
592
  item: {
538
593
  backgroundColor: "transparent",
@@ -552,14 +607,14 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
552
607
  }
553
608
  },
554
609
  separator: {
555
- backgroundColor: i
610
+ backgroundColor: l
556
611
  }
557
612
  };
558
- }, ur = (e) => {
559
- const { colors: r, toRem: o } = e;
613
+ }, sr = (o) => {
614
+ const { colors: r, toRem: e } = o;
560
615
  return {
561
616
  default: {
562
- minHeight: o(200),
617
+ minHeight: e(200),
563
618
  borderStyle: "dashed"
564
619
  },
565
620
  dragAccept: {},
@@ -568,11 +623,11 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
568
623
  backgroundColor: r["beige-30"]
569
624
  }
570
625
  };
571
- }, br = (e) => {
572
- const { colors: r, texts: o } = e;
626
+ }, cr = (o) => {
627
+ const { colors: r, texts: e } = o;
573
628
  return {
574
629
  default: {
575
- ...o.xs,
630
+ ...e.xs,
576
631
  color: r["neutral-60"]
577
632
  },
578
633
  danger: {
@@ -585,23 +640,23 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
585
640
  color: r["orange-70"]
586
641
  }
587
642
  };
588
- }, mr = (e) => {
589
- const { colors: r, fontSizes: o, fontWeights: n } = e;
643
+ }, gr = (o) => {
644
+ const { colors: r, fontSizes: e, fontWeights: i } = o;
590
645
  return {
591
646
  color: r["neutral-60"],
592
- fontSize: o.sm,
593
- fontWeight: n.medium
647
+ fontSize: e.sm,
648
+ fontWeight: i.medium
594
649
  };
595
- }, hr = (e) => {
596
- const { colors: r, fontWeights: o, icons: n, space: a, transitions: i } = e;
650
+ }, ur = (o) => {
651
+ const { colors: r, fontWeights: e, icons: i, space: n, transitions: l } = o;
597
652
  return {
598
653
  default: {
599
654
  color: r["neutral-90"],
600
- fontWeight: o.medium,
601
- transition: i.medium
655
+ fontWeight: e.medium,
656
+ transition: l.medium
602
657
  },
603
658
  withExternalLink: {
604
- backgroundSize: `calc(100% - ${n.sm} - ${a.sm}) 50%`
659
+ backgroundSize: `calc(100% - ${i.sm} - ${n.sm}) 50%`
605
660
  },
606
661
  disabled: {
607
662
  color: r["neutral-50"],
@@ -620,20 +675,20 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
620
675
  }
621
676
  }
622
677
  };
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;
678
+ }, br = ({ toRem: o }) => ({
679
+ xs: o(8),
680
+ sm: o(10),
681
+ md: o(15),
682
+ lg: o(20)
683
+ }), mr = ({ toRem: o }) => ({
684
+ xs: o(12),
685
+ sm: o(16),
686
+ md: o(24),
687
+ lg: o(32),
688
+ xl: o(48),
689
+ xxl: o(64)
690
+ }), hr = (o) => {
691
+ const { colors: r, radii: e, space: i, toRem: n } = o;
637
692
  return {
638
693
  backdrop: {
639
694
  backgroundColor: r.overlay,
@@ -641,16 +696,16 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
641
696
  },
642
697
  default: {
643
698
  zIndex: 999,
644
- borderRadius: o.md
699
+ borderRadius: e.md
645
700
  },
646
701
  header: {
647
702
  backgroundColor: r["neutral-10"],
648
- borderTopLeftRadius: o.md,
649
- borderTopRightRadius: o.md,
650
- paddingTop: n.xxl,
651
- paddingRight: n["3xl"],
652
- paddingBottom: n.xxl,
653
- paddingLeft: n.xxl,
703
+ borderTopLeftRadius: e.md,
704
+ borderTopRightRadius: e.md,
705
+ paddingTop: i.xxl,
706
+ paddingRight: i["3xl"],
707
+ paddingBottom: i.xxl,
708
+ paddingLeft: i.xxl,
654
709
  subtitle: {
655
710
  color: r["neutral-70"],
656
711
  variant: "sm",
@@ -659,62 +714,62 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
659
714
  },
660
715
  body: {
661
716
  color: r["neutral-90"],
662
- paddingRight: n["3xl"],
663
- paddingBottom: n.xxl,
664
- paddingLeft: n.xxl
717
+ paddingRight: i["3xl"],
718
+ paddingBottom: i.xxl,
719
+ paddingLeft: i.xxl
665
720
  },
666
721
  footer: {
667
722
  backgroundColor: r["neutral-10"],
668
723
  borderTop: `solid ${r["neutral-30"]}`,
669
- borderBottomLeftRadius: o.md,
670
- borderBottomRightRadius: o.md,
724
+ borderBottomLeftRadius: e.md,
725
+ borderBottomRightRadius: e.md,
671
726
  children: {
672
- paddingRight: n.xxl,
673
- paddingLeft: n.xxl,
674
- paddingTop: n.lg,
675
- paddingBottom: n.xl
727
+ paddingRight: i.xxl,
728
+ paddingLeft: i.xxl,
729
+ paddingTop: i.lg,
730
+ paddingBottom: i.xl
676
731
  },
677
732
  information: {
678
733
  backgroundColor: r["beige-20"],
679
- paddingRight: n.xxl,
680
- paddingLeft: n.xxl,
681
- paddingTop: n.xl,
682
- paddingBottom: n.xxl
734
+ paddingRight: i.xxl,
735
+ paddingLeft: i.xxl,
736
+ paddingTop: i.xl,
737
+ paddingBottom: i.xxl
683
738
  }
684
739
  },
685
- gutter: a(32),
740
+ gutter: n(32),
686
741
  sizes: {
687
742
  xs: {
688
- width: a(320)
743
+ width: n(320)
689
744
  },
690
745
  sm: {
691
- width: a(450)
746
+ width: n(450)
692
747
  },
693
748
  md: {
694
- width: a(600)
749
+ width: n(600)
695
750
  },
696
751
  lg: {
697
- width: a(730)
752
+ width: n(730)
698
753
  },
699
754
  auto: {}
700
755
  },
701
756
  cover: {}
702
757
  };
703
- }, Cr = (e) => {
704
- const { colors: r, focus: o, fontSizes: n, fontWeights: a, toRem: i } = e;
758
+ }, pr = (o) => {
759
+ const { colors: r, focus: e, fontSizes: i, fontWeights: n, toRem: l } = o;
705
760
  return {
706
761
  default: {
707
- width: i(32),
708
- height: i(32),
762
+ width: l(32),
763
+ height: l(32),
709
764
  color: r["neutral-90"],
710
- fontWeight: a.bold,
711
- fontSize: n.xs
765
+ fontWeight: n.bold,
766
+ fontSize: i.xs
712
767
  },
713
768
  item: {
714
769
  "&:hover, &:focus": {
715
770
  backgroundColor: r["neutral-30"]
716
771
  },
717
- "&:focus": { ...o(r["neutral-60"]) }
772
+ "&:focus": { ...e(r["neutral-60"]) }
718
773
  },
719
774
  active: {
720
775
  backgroundColor: r["neutral-90"],
@@ -728,35 +783,35 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
728
783
  color: r["beige-70"]
729
784
  }
730
785
  };
731
- }, kr = (e) => {
732
- const { borderWidths: r, colors: o, space: n, texts: a, toRem: i } = e;
786
+ }, fr = (o) => {
787
+ const { borderWidths: r, colors: e, space: i, texts: n, toRem: l } = o;
733
788
  return {
734
789
  default: {
735
- ...a.sm,
736
- backgroundColor: o["neutral-90"],
737
- color: o["neutral-10"],
738
- maxWidth: i(700),
790
+ ...n.sm,
791
+ backgroundColor: e["neutral-90"],
792
+ color: e["neutral-10"],
793
+ maxWidth: l(700),
739
794
  zIndex: 1
740
795
  },
741
796
  content: {
742
797
  display: "block",
743
- padding: n.md
798
+ padding: i.md
744
799
  },
745
800
  title: {
746
- ...a.h6,
747
- padding: `${n.md} ${n.md} ${n.xs}`,
748
- color: o["neutral-10"],
749
- borderBottomColor: o["neutral-70"],
801
+ ...n.h6,
802
+ padding: `${i.md} ${i.md} ${i.xs}`,
803
+ color: e["neutral-10"],
804
+ borderBottomColor: e["neutral-70"],
750
805
  borderBottomWidth: r.sm,
751
806
  borderBottomStyle: "solid"
752
807
  }
753
808
  };
754
- }, yr = (e) => {
755
- const { colors: r, toRem: o } = e;
809
+ }, xr = (o) => {
810
+ const { colors: r, toRem: e } = o;
756
811
  return {
757
812
  default: {
758
- width: o(16),
759
- height: o(16)
813
+ width: e(16),
814
+ height: e(16)
760
815
  },
761
816
  checked: {
762
817
  color: r["neutral-90"],
@@ -767,8 +822,8 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
767
822
  disabled: r["beige-60"]
768
823
  }
769
824
  };
770
- }, Fr = (e) => {
771
- const { colors: r } = e;
825
+ }, Cr = (o) => {
826
+ const { colors: r } = o;
772
827
  return {
773
828
  default: {
774
829
  "&:hover": {
@@ -777,52 +832,52 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
777
832
  },
778
833
  checked: {
779
834
  backgroundColor: r["primary-40"],
780
- color: e.colors["neutral-90"],
835
+ color: o.colors["neutral-90"],
781
836
  borderColor: r["primary-40"],
782
837
  "&:hover": {
783
838
  backgroundColor: r["primary-30"]
784
839
  }
785
840
  }
786
841
  };
787
- }, vr = (e) => {
788
- const { borderWidths: r, colors: o } = e;
842
+ }, yr = (o) => {
843
+ const { borderWidths: r, colors: e } = o;
789
844
  return {
790
845
  default: {
791
- backgroundColor: o["beige-40"],
792
- backgroundImage: `linear-gradient(${o["primary-40"]}, ${o["primary-40"]})`
846
+ backgroundColor: e["beige-40"],
847
+ backgroundImage: `linear-gradient(${e["primary-40"]}, ${e["primary-40"]})`
793
848
  },
794
849
  selector: {
795
- backgroundColor: o["neutral-90"],
850
+ backgroundColor: e["neutral-90"],
796
851
  borderRadius: "50%",
797
852
  border: `${r.md} solid`,
798
853
  disabled: {
799
- backgroundColor: o["beige-60"]
854
+ backgroundColor: e["beige-60"]
800
855
  }
801
856
  },
802
857
  output: {
803
858
  tooltip: {
804
- backgroundColor: o["neutral-90"],
805
- border: `${r.sm} solid ${o["neutral-70"]}}`,
806
- color: o["neutral-10"]
859
+ backgroundColor: e["neutral-90"],
860
+ border: `${r.sm} solid ${e["neutral-70"]}}`,
861
+ color: e["neutral-10"]
807
862
  }
808
863
  },
809
864
  focused: {
810
- outline: `${r.md} solid ${o["primary-40"]}`,
865
+ outline: `${r.md} solid ${e["primary-40"]}`,
811
866
  disabled: {
812
867
  outline: "none"
813
868
  }
814
869
  },
815
870
  disabled: {
816
- backgroundImage: `linear-gradient(${o["beige-60"]}, ${o["beige-60"]})`
871
+ backgroundImage: `linear-gradient(${e["beige-60"]}, ${e["beige-60"]})`
817
872
  },
818
873
  rangeInput: {
819
874
  disabled: {
820
- backgroundColor: o["beige-60"]
875
+ backgroundColor: e["beige-60"]
821
876
  }
822
877
  }
823
878
  };
824
- }, wr = (e) => {
825
- const { colors: r } = e;
879
+ }, kr = (o) => {
880
+ const { colors: r } = o;
826
881
  return {
827
882
  navigation: {
828
883
  bullet: {
@@ -831,81 +886,81 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
831
886
  }
832
887
  }
833
888
  };
834
- }, $r = (e) => {
835
- const { borderWidths: r, colors: o, fontWeights: n, space: a } = e;
889
+ }, Fr = (o) => {
890
+ const { borderWidths: r, colors: e, fontWeights: i, space: n } = o;
836
891
  return {
837
892
  th: {
838
- color: o["neutral-60"],
839
- fontWeight: n.medium,
893
+ color: e["neutral-60"],
894
+ fontWeight: i.medium,
840
895
  textAlign: "left",
841
- borderBottomColor: o["neutral-90"],
896
+ borderBottomColor: e["neutral-90"],
842
897
  borderBottomWidth: r.sm,
843
898
  borderBottomStyle: "solid"
844
899
  },
845
900
  td: {
846
901
  textAlign: "left",
847
- padding: a.xl
902
+ padding: n.xl
848
903
  },
849
904
  tr: {
850
905
  default: {
851
- borderBottomColor: o["neutral-30"],
906
+ borderBottomColor: e["neutral-30"],
852
907
  borderBottomWidth: r.sm,
853
908
  borderBottomStyle: "solid"
854
909
  },
855
910
  danger: {
856
- backgroundColor: o["red-10"],
857
- color: o["red-70"]
911
+ backgroundColor: e["red-10"],
912
+ color: e["red-70"]
858
913
  },
859
914
  warning: {
860
- backgroundColor: o["orange-10"],
861
- color: o["orange-80"]
915
+ backgroundColor: e["orange-10"],
916
+ color: e["orange-80"]
862
917
  },
863
918
  info: {
864
- backgroundColor: o["blue-10"],
865
- color: o["blue-70"]
919
+ backgroundColor: e["blue-10"],
920
+ color: e["blue-70"]
866
921
  },
867
922
  success: {
868
- backgroundColor: o["green-10"],
869
- color: o["green-70"]
923
+ backgroundColor: e["green-10"],
924
+ color: e["green-70"]
870
925
  },
871
926
  clickable: {
872
927
  cursor: "pointer"
873
928
  }
874
929
  }
875
930
  };
876
- }, Wr = (e) => {
877
- const { borderWidths: r, colors: o, fontSizes: n, fontWeights: a, lineHeights: i, space: d } = e;
931
+ }, vr = (o) => {
932
+ const { borderWidths: r, colors: e, fontSizes: i, fontWeights: n, lineHeights: l, space: d } = o;
878
933
  return {
879
934
  tabsBorder: {
880
935
  horizontal: {
881
- boxShadow: `inset 0 -${r.sm} 0 ${o["neutral-30"]}`
936
+ boxShadow: `inset 0 -${r.sm} 0 ${e["neutral-30"]}`
882
937
  },
883
938
  vertical: {
884
- boxShadow: `inset -${r.sm} 0 0 ${o["neutral-30"]}`
939
+ boxShadow: `inset -${r.sm} 0 0 ${e["neutral-30"]}`
885
940
  }
886
941
  },
887
942
  item: {
888
943
  default: {
889
- color: o["neutral-70"],
890
- fontWeight: a.medium,
944
+ color: e["neutral-70"],
945
+ fontWeight: n.medium,
891
946
  textDecoration: "none",
892
- lineHeight: i.md
947
+ lineHeight: l.md
893
948
  },
894
949
  active: {
895
- color: o["neutral-90"]
950
+ color: e["neutral-90"]
896
951
  },
897
952
  focus: {
898
- color: o["neutral-90"]
953
+ color: e["neutral-90"]
899
954
  },
900
955
  disabled: {
901
- color: o["neutral-50"]
956
+ color: e["neutral-50"]
902
957
  },
903
958
  size: {
904
959
  sm: {
905
- fontSize: n.sm
960
+ fontSize: i.sm
906
961
  },
907
962
  md: {
908
- fontSize: n.md
963
+ fontSize: i.md
909
964
  }
910
965
  }
911
966
  },
@@ -924,11 +979,11 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
924
979
  },
925
980
  activeBar: {
926
981
  horizontal: {
927
- background: o["primary-40"],
982
+ background: e["primary-40"],
928
983
  height: r.md
929
984
  },
930
985
  vertical: {
931
- background: o["primary-40"],
986
+ background: e["primary-40"],
932
987
  width: r.md
933
988
  }
934
989
  },
@@ -940,26 +995,26 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
940
995
  maxHeight: d.lg
941
996
  }
942
997
  };
943
- }, Sr = (e) => {
944
- const { colors: r, fontSizes: o, fontWeights: n, radii: a, space: i, toRem: d } = e, l = {
998
+ }, wr = (o) => {
999
+ const { colors: r, fontSizes: e, fontWeights: i, radii: n, space: l, toRem: d } = o, a = {
945
1000
  xs: d(20),
946
1001
  sm: d(24),
947
1002
  md: d(32)
948
- }, s = (u) => ({
949
- backgroundColor: r[`${u}-10`],
950
- color: r[`${u}-90`]
951
- }), t = (u) => ({
952
- backgroundColor: r[`${u}-20`]
953
- }), c = (u) => ({
954
- backgroundColor: r[`${u}-${u === "green" ? "30" : "40"}`],
1003
+ }, s = (g) => ({
1004
+ backgroundColor: r[`${g}-10`],
1005
+ color: r[`${g}-90`]
1006
+ }), t = (g) => ({
1007
+ backgroundColor: r[`${g}-20`]
1008
+ }), c = (g) => ({
1009
+ backgroundColor: r[`${g}-${g === "green" ? "30" : "40"}`],
955
1010
  color: r["neutral-90"]
956
- }), m = (u) => ({
957
- backgroundColor: r[`${u}-${u === "green" ? "40" : "50"}`]
1011
+ }), b = (g) => ({
1012
+ backgroundColor: r[`${g}-${g === "green" ? "40" : "50"}`]
958
1013
  });
959
1014
  return {
960
1015
  default: {
961
- fontWeight: n.medium,
962
- borderRadius: a.md
1016
+ fontWeight: i.medium,
1017
+ borderRadius: n.md
963
1018
  },
964
1019
  variants: {
965
1020
  default: {
@@ -967,7 +1022,7 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
967
1022
  color: r["beige-90"]
968
1023
  },
969
1024
  primary: {
970
- color: e.colors["neutral-90"],
1025
+ color: o.colors["neutral-90"],
971
1026
  backgroundColor: r["primary-40"]
972
1027
  },
973
1028
  success: s("green"),
@@ -996,35 +1051,35 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
996
1051
  danger: t("red"),
997
1052
  warning: t("orange"),
998
1053
  info: t("blue"),
999
- teal: m("teal"),
1000
- blue: m("blue"),
1001
- orange: m("orange"),
1002
- pink: m("pink"),
1003
- green: m("green"),
1004
- violet: m("violet"),
1054
+ teal: b("teal"),
1055
+ blue: b("blue"),
1056
+ orange: b("orange"),
1057
+ pink: b("pink"),
1058
+ green: b("green"),
1059
+ violet: b("violet"),
1005
1060
  ai: {
1006
1061
  backgroundColor: r["violet-30"]
1007
1062
  }
1008
1063
  },
1009
1064
  sizes: {
1010
1065
  xs: {
1011
- padding: `${i.xxs} ${i.xs}`,
1012
- height: l.xs,
1013
- fontSize: o.xs,
1014
- gap: i.xs,
1015
- borderRadius: a.sm
1066
+ padding: `${l.xxs} ${l.xs}`,
1067
+ height: a.xs,
1068
+ fontSize: e.xs,
1069
+ gap: l.xs,
1070
+ borderRadius: n.sm
1016
1071
  },
1017
1072
  sm: {
1018
- padding: `${i.xs} ${i.sm}`,
1019
- height: l.sm,
1020
- fontSize: o.xs,
1021
- gap: i.xs
1073
+ padding: `${l.xs} ${l.sm}`,
1074
+ height: a.sm,
1075
+ fontSize: e.xs,
1076
+ gap: l.xs
1022
1077
  },
1023
1078
  md: {
1024
- padding: `${i.xs} ${i.sm}`,
1025
- height: l.md,
1026
- fontSize: o.sm,
1027
- gap: i.sm
1079
+ padding: `${l.xs} ${l.sm}`,
1080
+ height: a.md,
1081
+ fontSize: e.sm,
1082
+ gap: l.sm
1028
1083
  }
1029
1084
  },
1030
1085
  icon: {
@@ -1034,47 +1089,47 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1034
1089
  },
1035
1090
  shape: {
1036
1091
  xs: {
1037
- width: l.xs,
1038
- height: l.xs
1092
+ width: a.xs,
1093
+ height: a.xs
1039
1094
  },
1040
1095
  sm: {
1041
- width: l.sm,
1042
- height: l.sm
1096
+ width: a.sm,
1097
+ height: a.sm
1043
1098
  },
1044
1099
  md: {
1045
- width: l.md,
1046
- height: l.md
1100
+ width: a.md,
1101
+ height: a.md
1047
1102
  }
1048
1103
  }
1049
1104
  };
1050
- }, Tr = (e) => {
1051
- const { space: r, toRem: o } = e;
1105
+ }, Wr = (o) => {
1106
+ const { space: r, toRem: e } = o;
1052
1107
  return {
1053
- minHeight: o(130),
1108
+ minHeight: e(130),
1054
1109
  padding: r.md
1055
1110
  };
1056
- }, Dr = (e, r) => {
1057
- const { toEm: o, toRem: n } = r, a = n;
1111
+ }, $r = (o, r) => {
1112
+ const { toEm: e, toRem: i } = r, n = i;
1058
1113
  return {
1059
- h0: a(65),
1060
- h1: a(45),
1061
- h2: a(36),
1062
- h3: a(26),
1063
- h4: a(20),
1064
- h5: a(16),
1065
- h6: a(14),
1066
- lg: a(18),
1067
- md: a(16),
1068
- sm: a(14),
1069
- "subtitle-md": a(13),
1070
- "subtitle-sm": a(11),
1071
- xs: a(12)
1114
+ h0: n(65),
1115
+ h1: n(45),
1116
+ h2: n(36),
1117
+ h3: n(26),
1118
+ h4: n(20),
1119
+ h5: n(16),
1120
+ h6: n(14),
1121
+ lg: n(18),
1122
+ md: n(16),
1123
+ sm: n(14),
1124
+ "subtitle-md": n(13),
1125
+ "subtitle-sm": n(11),
1126
+ xs: n(12)
1072
1127
  };
1073
- }, zr = ({
1074
- defaultLineHeight: e,
1128
+ }, Sr = ({
1129
+ defaultLineHeight: o,
1075
1130
  toRem: r
1076
1131
  }) => ({
1077
- html: e,
1132
+ html: o,
1078
1133
  h0: r(72),
1079
1134
  h1: r(48),
1080
1135
  h2: r(40),
@@ -1086,17 +1141,17 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1086
1141
  md: r(18),
1087
1142
  sm: r(18),
1088
1143
  xs: r(14),
1089
- "subtitle-md": e,
1090
- "subtitle-sm": e
1091
- }), Br = {
1144
+ "subtitle-md": o,
1145
+ "subtitle-sm": o
1146
+ }), Dr = {
1092
1147
  regular: 400,
1093
1148
  medium: 500,
1094
1149
  bold: 600
1095
- }, Ar = ({
1096
- defaultLetterSpacing: e,
1150
+ }, Tr = ({
1151
+ defaultLetterSpacing: o,
1097
1152
  toRem: r
1098
1153
  }) => ({
1099
- html: e,
1154
+ html: o,
1100
1155
  h0: r(-1.7),
1101
1156
  h1: r(-1.2),
1102
1157
  h2: r(-1),
@@ -1104,14 +1159,14 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1104
1159
  h4: r(-0.6),
1105
1160
  h5: r(-0.5),
1106
1161
  h6: r(-0.5),
1107
- lg: e,
1108
- md: e,
1109
- sm: e,
1162
+ lg: o,
1163
+ md: o,
1164
+ sm: o,
1110
1165
  xs: r(-0.2),
1111
1166
  "subtitle-md": r(-0.2),
1112
1167
  "subtitle-sm": r(-0.2)
1113
- }), Er = (e) => {
1114
- const { fontWeights: r } = e;
1168
+ }), Rr = (o) => {
1169
+ const { fontWeights: r } = o;
1115
1170
  return {
1116
1171
  h0: r.bold,
1117
1172
  h1: r.bold,
@@ -1127,8 +1182,8 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1127
1182
  "subtitle-sm": r.medium,
1128
1183
  xs: r.regular
1129
1184
  };
1130
- }, Rr = (e) => {
1131
- const { fonts: r } = e;
1185
+ }, _r = (o) => {
1186
+ const { fonts: r } = o;
1132
1187
  return {
1133
1188
  h0: r.headings,
1134
1189
  h1: r.headings,
@@ -1140,11 +1195,11 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1140
1195
  "subtitle-md": r.headings,
1141
1196
  "subtitle-sm": r.headings
1142
1197
  };
1143
- }, _r = () => ({
1198
+ }, zr = () => ({
1144
1199
  "subtitle-md": "uppercase",
1145
1200
  "subtitle-sm": "uppercase"
1146
- }), Lr = (e) => {
1147
- const { colors: r } = e;
1201
+ }), Br = (o) => {
1202
+ const { colors: r } = o;
1148
1203
  return {
1149
1204
  h0: r["neutral-90"],
1150
1205
  h1: r["neutral-90"],
@@ -1154,151 +1209,151 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1154
1209
  h5: r["neutral-90"],
1155
1210
  h6: r["neutral-90"]
1156
1211
  };
1157
- }, z = (e) => {
1212
+ }, U = (o) => {
1158
1213
  const {
1159
1214
  fontSizes: r,
1160
- letterSpacings: o,
1161
- lineHeights: n,
1162
- textsFontColors: a,
1163
- textsFontFamily: i,
1215
+ letterSpacings: e,
1216
+ lineHeights: i,
1217
+ textsFontColors: n,
1218
+ textsFontFamily: l,
1164
1219
  textsFontWeights: d,
1165
- textsTextTransform: l
1166
- } = e;
1220
+ textsTextTransform: a
1221
+ } = o;
1167
1222
  return Object.keys(r).reduce((s, t) => ({
1168
1223
  ...s,
1169
1224
  [t]: {
1170
- color: a[t],
1171
- fontFamily: i[t] || void 0,
1225
+ color: n[t],
1226
+ fontFamily: l[t] || void 0,
1172
1227
  fontWeight: d[t],
1173
1228
  fontSize: r[t],
1174
- lineHeight: n[t] || n.lg,
1175
- letterSpacing: o[t] || void 0,
1176
- textTransform: l[t] || void 0
1229
+ lineHeight: i[t] || i.lg,
1230
+ letterSpacing: e[t] || void 0,
1231
+ textTransform: a[t] || void 0
1177
1232
  }
1178
1233
  }), {});
1179
- }, Ir = (e, r, o) => ({
1180
- texts: [e, "sans-serif"].join(", "),
1234
+ }, Ar = (o, r, e) => ({
1235
+ texts: [o, "sans-serif"].join(", "),
1181
1236
  headings: [r, "sans-serif"].join(", "),
1182
- icons: o
1183
- }), Hr = (e) => {
1184
- const { borderWidths: r, colors: o, fontWeights: n, radii: a, space: i } = e;
1237
+ icons: e
1238
+ }), Er = (o) => {
1239
+ const { borderWidths: r, colors: e, fontWeights: i, radii: n, space: l } = o;
1185
1240
  return {
1186
1241
  default: {
1187
- paddingLeft: i.sm,
1188
- paddingRight: i.sm
1242
+ paddingLeft: l.sm,
1243
+ paddingRight: l.sm
1189
1244
  },
1190
1245
  top: {
1191
- paddingTop: i.lg
1246
+ paddingTop: l.lg
1192
1247
  },
1193
1248
  bottom: {
1194
- paddingBottom: i.lg
1249
+ paddingBottom: l.lg
1195
1250
  },
1196
1251
  growls: {
1197
1252
  default: {
1198
- ...z(e).sm,
1253
+ ...U(o).sm,
1199
1254
  borderWidth: r.sm,
1200
1255
  borderStyle: "solid",
1201
- borderRadius: a.lg,
1256
+ borderRadius: n.lg,
1202
1257
  maxWidth: 340
1203
1258
  },
1204
1259
  title: {
1205
- fontWeight: n.bold,
1206
- color: o["neutral-90"]
1260
+ fontWeight: i.bold,
1261
+ color: e["neutral-90"]
1207
1262
  }
1208
1263
  },
1209
1264
  snackbar: {
1210
1265
  default: {
1211
- borderRadius: a.lg
1266
+ borderRadius: n.lg
1212
1267
  },
1213
1268
  separator: {
1214
1269
  default: {
1215
1270
  borderLeft: "1px solid",
1216
- borderLeftColor: o["neutral-30"]
1271
+ borderLeftColor: e["neutral-30"]
1217
1272
  },
1218
1273
  danger: {
1219
- borderLeftColor: o["red-20"]
1274
+ borderLeftColor: e["red-20"]
1220
1275
  },
1221
1276
  warning: {
1222
- borderLeftColor: o["orange-20"]
1277
+ borderLeftColor: e["orange-20"]
1223
1278
  },
1224
1279
  info: {
1225
- borderLeftColor: o["blue-30"]
1280
+ borderLeftColor: e["blue-30"]
1226
1281
  },
1227
1282
  success: {
1228
- borderLeftColor: o["green-30"]
1283
+ borderLeftColor: e["green-30"]
1229
1284
  }
1230
1285
  }
1231
1286
  }
1232
1287
  };
1233
- }, Ur = "0.32rem !important", Or = "0.12rem ! important", Nr = (e) => {
1234
- const { borderWidths: r, colors: o, focus: n, toRem: a } = e;
1288
+ }, Lr = "0.32rem !important", Ir = "0.12rem ! important", Hr = (o) => {
1289
+ const { borderWidths: r, colors: e, focus: i, toRem: n } = o;
1235
1290
  return {
1236
1291
  item: {
1237
1292
  default: {
1238
- backgroundColor: o["neutral-10"],
1239
- borderColor: o["neutral-30"],
1293
+ backgroundColor: e["neutral-10"],
1294
+ borderColor: e["neutral-30"],
1240
1295
  borderWidth: r.sm,
1241
1296
  borderStyle: "solid",
1242
- borderRadius: a(16),
1297
+ borderRadius: n(16),
1243
1298
  "&:focus": {
1244
- borderColor: o["primary-30"],
1245
- ...n(o["primary-30"])
1299
+ borderColor: e["primary-30"],
1300
+ ...i(e["primary-30"])
1246
1301
  }
1247
1302
  },
1248
1303
  sizes: {
1249
1304
  xs: {
1250
- width: a(28),
1251
- height: a(16),
1252
- marginTop: Ur
1305
+ width: n(28),
1306
+ height: n(16),
1307
+ marginTop: Lr
1253
1308
  },
1254
1309
  sm: {
1255
- width: a(36),
1256
- height: a(20),
1257
- marginTop: Or
1310
+ width: n(36),
1311
+ height: n(20),
1312
+ marginTop: Ir
1258
1313
  },
1259
1314
  md: {
1260
- width: a(44),
1261
- height: a(24),
1315
+ width: n(44),
1316
+ height: n(24),
1262
1317
  marginTop: "0 !important"
1263
1318
  }
1264
1319
  },
1265
1320
  checked: {
1266
- backgroundColor: o["primary-40"],
1267
- borderColor: o["primary-40"]
1321
+ backgroundColor: e["primary-40"],
1322
+ borderColor: e["primary-40"]
1268
1323
  },
1269
1324
  disabled: {
1270
- borderColor: o["beige-60"],
1271
- backgroundColor: o["beige-40"]
1325
+ borderColor: e["beige-60"],
1326
+ backgroundColor: e["beige-40"]
1272
1327
  }
1273
1328
  },
1274
1329
  after: {
1275
1330
  default: {
1276
- backgroundColor: o["neutral-10"],
1277
- borderColor: o["neutral-50"],
1331
+ backgroundColor: e["neutral-10"],
1332
+ borderColor: e["neutral-50"],
1278
1333
  borderWidth: r.sm,
1279
1334
  borderStyle: "solid",
1280
1335
  borderRadius: "50%"
1281
1336
  },
1282
1337
  checked: {
1283
- backgroundColor: o["neutral-10"],
1284
- borderColor: o["neutral-10"]
1338
+ backgroundColor: e["neutral-10"],
1339
+ borderColor: e["neutral-10"]
1285
1340
  },
1286
1341
  disabled: {
1287
1342
  borderColor: "transparent",
1288
- backgroundColor: o["beige-60"]
1343
+ backgroundColor: e["beige-60"]
1289
1344
  },
1290
1345
  sizes: {
1291
1346
  xs: {
1292
- width: a(12),
1293
- height: a(12)
1347
+ width: n(12),
1348
+ height: n(12)
1294
1349
  },
1295
1350
  sm: {
1296
- width: a(16),
1297
- height: a(16)
1351
+ width: n(16),
1352
+ height: n(16)
1298
1353
  },
1299
1354
  md: {
1300
- width: a(20),
1301
- height: a(20)
1355
+ width: n(20),
1356
+ height: n(20)
1302
1357
  }
1303
1358
  }
1304
1359
  },
@@ -1319,38 +1374,38 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1319
1374
  },
1320
1375
  sizes: {
1321
1376
  xs: {
1322
- width: a(10),
1323
- height: a(10),
1324
- fontSize: a(10)
1377
+ width: n(10),
1378
+ height: n(10),
1379
+ fontSize: n(10)
1325
1380
  },
1326
1381
  sm: {
1327
- width: a(12),
1328
- height: a(12),
1329
- fontSize: a(12)
1382
+ width: n(12),
1383
+ height: n(12),
1384
+ fontSize: n(12)
1330
1385
  },
1331
1386
  md: {
1332
- width: a(16),
1333
- height: a(16),
1334
- fontSize: a(16)
1387
+ width: n(16),
1388
+ height: n(16),
1389
+ fontSize: n(16)
1335
1390
  }
1336
1391
  }
1337
1392
  }
1338
1393
  };
1339
- }, Pr = (e) => {
1340
- const { borderWidths: r, colors: o, fontSizes: n, fontWeights: a, radii: i, space: d, toRem: l } = e;
1394
+ }, qr = (o) => {
1395
+ const { borderWidths: r, colors: e, fontSizes: i, fontWeights: n, radii: l, space: d, toRem: a } = o;
1341
1396
  return {
1342
- maxWidth: l(200),
1343
- backgroundColor: o["neutral-90"],
1344
- color: o["neutral-10"],
1397
+ maxWidth: a(200),
1398
+ backgroundColor: e["neutral-90"],
1399
+ color: e["neutral-10"],
1345
1400
  padding: `${d.xs} ${d.sm}`,
1346
- fontSize: n.sm,
1347
- fontWeight: a.medium,
1348
- border: `${r.sm} solid ${o["neutral-60"]}`,
1349
- borderRadius: i.md,
1401
+ fontSize: i.sm,
1402
+ fontWeight: n.medium,
1403
+ border: `${r.sm} solid ${e["neutral-60"]}`,
1404
+ borderRadius: l.md,
1350
1405
  boxSizing: "border-box"
1351
1406
  };
1352
- }, jr = (e) => {
1353
- const { colors: r } = e;
1407
+ }, Or = (o) => {
1408
+ const { colors: r } = o;
1354
1409
  return {
1355
1410
  default: {
1356
1411
  color: r["neutral-90"]
@@ -1371,7 +1426,7 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1371
1426
  color: r["violet-70"]
1372
1427
  }
1373
1428
  };
1374
- }, Gr = {
1429
+ }, Ur = {
1375
1430
  "beige-10": "#FBF9F7",
1376
1431
  "beige-20": "#F6F3EF",
1377
1432
  "beige-30": "#EAE4DE",
@@ -1477,94 +1532,94 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1477
1532
  "yellow-70": "#846A01",
1478
1533
  "yellow-80": "#604D00",
1479
1534
  "yellow-90": "#423500"
1480
- }, B = (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"],
1535
+ }, P = (o) => ({
1536
+ ...o,
1537
+ "primary-10": o["yellow-10"],
1538
+ "primary-20": o["yellow-20"],
1539
+ "primary-30": o["yellow-30"],
1540
+ "primary-40": o["yellow-40"],
1541
+ "primary-50": o["yellow-50"],
1542
+ "primary-60": o["yellow-60"],
1543
+ "primary-70": o["yellow-70"],
1544
+ "primary-80": o["yellow-80"],
1545
+ "primary-90": o["yellow-90"],
1546
+ "secondary-blue": o["blue-40"],
1547
+ "secondary-green": o["green-30"],
1548
+ "secondary-orange": o["red-orange-40"],
1549
+ "secondary-pink": o["pink-40"],
1550
+ "secondary-teal": o["teal-40"],
1551
+ "secondary-violet": o["violet-40"],
1497
1552
  overlay: "rgba(0, 0, 0, 0.55)"
1498
- }), y = B(Gr), Mr = Object.keys(y).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);
1553
+ }), p = P(Ur), Pr = Object.keys(p).reduce((o, r) => {
1554
+ if (r.startsWith("secondary-") || r === "overlay") return o;
1555
+ const e = 100 - Number(r.slice(-2)), i = r.slice(0, r.length - 2);
1501
1556
  return {
1502
- ...e,
1503
- [r]: y[`${n}${o}`]
1557
+ ...o,
1558
+ [r]: p[`${i}${e}`]
1504
1559
  };
1505
- }, {}), Kr = {
1506
- ...y,
1507
- ...B(Mr)
1508
- }, po = {
1509
- colors: Kr
1510
- }, Yr = "f19d0de47a5f6f7446d37111f075c0901835bf12", Jr = (e) => ({
1560
+ }, {}), jr = {
1561
+ ...p,
1562
+ ...P(Pr)
1563
+ }, ue = {
1564
+ colors: jr
1565
+ }, Mr = "f19d0de47a5f6f7446d37111f075c0901835bf12", Nr = (o) => ({
1511
1566
  "welcome-font": [
1512
1567
  {
1513
- url: `${e.fontsUrl}/welcome-font-regular`,
1568
+ url: `${o.fontsUrl}/welcome-font-regular`,
1514
1569
  weight: "400"
1515
1570
  },
1516
1571
  {
1517
- url: `${e.fontsUrl}/welcome-font-medium`,
1572
+ url: `${o.fontsUrl}/welcome-font-medium`,
1518
1573
  weight: "500"
1519
1574
  },
1520
1575
  {
1521
- url: `${e.fontsUrl}/welcome-font-bold`,
1576
+ url: `${o.fontsUrl}/welcome-font-bold`,
1522
1577
  weight: "600"
1523
1578
  },
1524
1579
  {
1525
- url: `${e.fontsUrl}/welcome-font-regular-italic`,
1580
+ url: `${o.fontsUrl}/welcome-font-regular-italic`,
1526
1581
  style: "italic",
1527
1582
  weight: "400"
1528
1583
  },
1529
1584
  {
1530
- url: `${e.fontsUrl}/welcome-font-medium-italic`,
1585
+ url: `${o.fontsUrl}/welcome-font-medium-italic`,
1531
1586
  style: "italic",
1532
1587
  weight: "500"
1533
1588
  },
1534
1589
  {
1535
- url: `${e.fontsUrl}/welcome-font-bold-italic`,
1590
+ url: `${o.fontsUrl}/welcome-font-bold-italic`,
1536
1591
  style: "italic",
1537
1592
  weight: "600"
1538
1593
  }
1539
1594
  ],
1540
1595
  "welcome-icon-font": [
1541
1596
  {
1542
- url: `${e.fontsUrl}/icon-font/${Yr}/welcome-icon-font`,
1597
+ url: `${o.fontsUrl}/icon-font/${Mr}/welcome-icon-font`,
1543
1598
  display: "block"
1544
1599
  }
1545
1600
  ],
1546
1601
  "work-sans": [
1547
1602
  {
1548
- url: `${e.fontsUrl}/work-sans-variable`,
1603
+ url: `${o.fontsUrl}/work-sans-variable`,
1549
1604
  isVariable: !0,
1550
1605
  stretch: "75% 125%",
1551
1606
  weight: "100 1000"
1552
1607
  }
1553
1608
  ]
1554
- }), k = {
1609
+ }), h = {
1555
1610
  primary: "ease",
1556
1611
  secondary: "linear",
1557
1612
  tertiary: "cubic-bezier(0.41, 0.094, 0.54, 0.07)"
1558
- }, Xr = {
1559
- slow: `500ms ${k.tertiary}`,
1560
- medium: `300ms ${k.primary}`,
1561
- fast: `100ms ${k.secondary}`
1562
- }, Zr = ({ colors: e }) => ({
1563
- default: w`
1613
+ }, Kr = {
1614
+ slow: `500ms ${h.tertiary}`,
1615
+ medium: `300ms ${h.primary}`,
1616
+ fast: `100ms ${h.secondary}`
1617
+ }, Gr = ({ colors: o }) => ({
1618
+ default: S`
1564
1619
  background-image: linear-gradient(
1565
1620
  0deg,
1566
- ${e["primary-40"]},
1567
- ${e["primary-40"]} 100%
1621
+ ${o["primary-40"]},
1622
+ ${o["primary-40"]} 100%
1568
1623
  );
1569
1624
  background-repeat: no-repeat;
1570
1625
  background-size: 100% 50%;
@@ -1574,24 +1629,24 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1574
1629
  background-size 250ms,
1575
1630
  color 250ms;
1576
1631
  `,
1577
- hover: w`
1632
+ hover: S`
1578
1633
  opacity: 1;
1579
1634
  background-position-y: 100%;
1580
1635
  background-size: 100% 100%;
1581
1636
  `
1582
- }), qr = (e) => ({
1637
+ }), Yr = (o) => ({
1583
1638
  none: "0",
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),
1639
+ sm: o.toRem(2),
1640
+ md: o.toRem(4),
1641
+ lg: o.toRem(8),
1642
+ xl: o.toRem(16),
1643
+ xxl: o.toRem(24),
1589
1644
  full: "100%"
1590
- }), Qr = {
1645
+ }), Jr = {
1591
1646
  sm: "1px",
1592
1647
  md: "2px",
1593
1648
  lg: "3px"
1594
- }, Vr = {
1649
+ }, Xr = {
1595
1650
  xs: 0,
1596
1651
  sm: 480,
1597
1652
  md: 736,
@@ -1600,43 +1655,43 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1600
1655
  xxl: 1440,
1601
1656
  "3xl": 1620,
1602
1657
  "4xl": 1920
1603
- }, ro = {
1658
+ }, Zr = {
1604
1659
  sm: "1px 2px 4px 0 rgba(0,0,0,0.05)",
1605
1660
  md: "3px 4px 10px 0 rgba(0,0,0,0.07)"
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"]) {
1661
+ }, Qr = (o) => ({
1662
+ xxs: o.toRem(2),
1663
+ xs: o.toRem(4),
1664
+ sm: o.toRem(8),
1665
+ md: o.toRem(12),
1666
+ lg: o.toRem(16),
1667
+ xl: o.toRem(24),
1668
+ xxl: o.toRem(32),
1669
+ "3xl": o.toRem(48),
1670
+ "4xl": o.toRem(64),
1671
+ "5xl": o.toRem(96),
1672
+ "6xl": o.toRem(128),
1673
+ "7xl": o.toRem(192)
1674
+ }), Vr = (o) => ({
1675
+ backgroundColor: o.colors["primary-40"],
1676
+ color: o.colors["neutral-90"]
1677
+ }), re = ({ colors: o }) => {
1678
+ function r(e = o["primary-40"]) {
1624
1679
  return {
1625
- boxShadow: `0 0 0 2px ${o}`
1680
+ boxShadow: `0 0 0 2px ${e}`
1626
1681
  };
1627
1682
  }
1628
1683
  return r;
1629
- }, no = (e) => {
1630
- const { borderWidths: r, colors: o, focus: n, fontSizes: a, fontWeights: i, radii: d, space: l, toRem: s } = e;
1684
+ }, ee = (o) => {
1685
+ const { borderWidths: r, colors: e, focus: i, fontSizes: n, fontWeights: l, radii: d, space: a, toRem: s } = o;
1631
1686
  return {
1632
1687
  default: {
1633
- color: o["neutral-90"],
1634
- fontSize: a.sm,
1688
+ color: e["neutral-90"],
1689
+ fontSize: n.sm,
1635
1690
  /* Can't use 16 because that's a valid line-height value (16em) */
1636
1691
  lineHeight: "1rem",
1637
- fontWeight: i.regular,
1638
- backgroundColor: o["neutral-10"],
1639
- borderColor: o["neutral-30"],
1692
+ fontWeight: l.regular,
1693
+ backgroundColor: e["neutral-10"],
1694
+ borderColor: e["neutral-30"],
1640
1695
  borderWidth: r.sm,
1641
1696
  borderStyle: "solid",
1642
1697
  outline: "none",
@@ -1644,60 +1699,60 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1644
1699
  },
1645
1700
  hover: {
1646
1701
  default: {
1647
- borderColor: o["neutral-40"]
1702
+ borderColor: e["neutral-40"]
1648
1703
  },
1649
1704
  transparency: {
1650
- borderColor: o["neutral-20"]
1705
+ borderColor: e["neutral-20"]
1651
1706
  }
1652
1707
  },
1653
1708
  variants: {
1654
1709
  danger: {
1655
- borderColor: o["red-70"]
1710
+ borderColor: e["red-70"]
1656
1711
  },
1657
1712
  success: {
1658
- borderColor: o["green-60"]
1713
+ borderColor: e["green-60"]
1659
1714
  },
1660
1715
  warning: {
1661
- borderColor: o["orange-60"]
1716
+ borderColor: e["orange-60"]
1662
1717
  }
1663
1718
  },
1664
1719
  focused: {
1665
1720
  default: {
1666
- ...n(o["primary-20"]),
1667
- borderColor: o["primary-40"]
1721
+ ...i(e["primary-20"]),
1722
+ borderColor: e["primary-40"]
1668
1723
  },
1669
- danger: { ...n(o["red-30"]) },
1670
- warning: { ...n(o["orange-20"]) },
1671
- success: { ...n(o["green-30"]) }
1724
+ danger: { ...i(e["red-30"]) },
1725
+ warning: { ...i(e["orange-20"]) },
1726
+ success: { ...i(e["green-30"]) }
1672
1727
  },
1673
1728
  sizes: {
1674
1729
  xs: {
1675
1730
  height: s(24),
1676
- paddingTop: l.xs,
1677
- paddingRight: l.sm,
1678
- paddingBottom: l.xs,
1679
- paddingLeft: l.sm
1731
+ paddingTop: a.xs,
1732
+ paddingRight: a.sm,
1733
+ paddingBottom: a.xs,
1734
+ paddingLeft: a.sm
1680
1735
  },
1681
1736
  sm: {
1682
1737
  height: s(32),
1683
- paddingTop: l.sm,
1684
- paddingRight: l.md,
1685
- paddingBottom: l.sm,
1686
- paddingLeft: l.md
1738
+ paddingTop: a.sm,
1739
+ paddingRight: a.md,
1740
+ paddingBottom: a.sm,
1741
+ paddingLeft: a.md
1687
1742
  },
1688
1743
  md: {
1689
1744
  height: s(40),
1690
- paddingTop: l.md,
1691
- paddingRight: l.md,
1692
- paddingBottom: l.md,
1693
- paddingLeft: l.md
1745
+ paddingTop: a.md,
1746
+ paddingRight: a.md,
1747
+ paddingBottom: a.md,
1748
+ paddingLeft: a.md
1694
1749
  },
1695
1750
  lg: {
1696
1751
  height: s(48),
1697
- paddingTop: l.lg,
1698
- paddingRight: l.md,
1699
- paddingBottom: l.lg,
1700
- paddingLeft: l.md
1752
+ paddingTop: a.lg,
1753
+ paddingRight: a.md,
1754
+ paddingBottom: a.lg,
1755
+ paddingLeft: a.md
1701
1756
  }
1702
1757
  },
1703
1758
  iconPlacement: {
@@ -1728,17 +1783,17 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1728
1783
  }
1729
1784
  },
1730
1785
  disabled: {
1731
- backgroundColor: o["beige-40"],
1732
- color: o["beige-70"],
1786
+ backgroundColor: e["beige-40"],
1787
+ color: e["beige-70"],
1733
1788
  cursor: "not-allowed"
1734
1789
  },
1735
1790
  placeholder: {
1736
- color: o["neutral-50"]
1791
+ color: e["neutral-50"]
1737
1792
  },
1738
1793
  checkablelabel: {
1739
1794
  default: {},
1740
1795
  checked: {
1741
- color: o["neutral-90"],
1796
+ color: e["neutral-90"],
1742
1797
  "-webkit-text-stroke": "0.04em"
1743
1798
  }
1744
1799
  },
@@ -1748,22 +1803,22 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1748
1803
  borderRadius: d.md
1749
1804
  },
1750
1805
  existing: {
1751
- color: o["beige-40"],
1806
+ color: e["beige-40"],
1752
1807
  cursor: "not-allowed"
1753
1808
  },
1754
1809
  highlighted: {
1755
- backgroundColor: o["beige-20"],
1810
+ backgroundColor: e["beige-20"],
1756
1811
  cursor: "default"
1757
1812
  },
1758
1813
  selectedAndHighlighted: {
1759
1814
  backgroundImage: "linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08) 100%)"
1760
1815
  },
1761
1816
  selected: {
1762
- color: o["neutral-90"],
1763
- fontWeight: i.bold
1817
+ color: e["neutral-90"],
1818
+ fontWeight: l.bold
1764
1819
  },
1765
1820
  disabled: {
1766
- color: o["beige-60"],
1821
+ color: e["beige-60"],
1767
1822
  cursor: "not-allowed"
1768
1823
  }
1769
1824
  },
@@ -1771,21 +1826,21 @@ const W = /* @__PURE__ */ R(rr), or = (e) => {
1771
1826
  "border-width": "0"
1772
1827
  }
1773
1828
  };
1774
- }, ao = "work-sans", io = 16, lo = "-0.019rem", so = 1.15, go = "https://cdn.welcome-ui.com/fonts", co = "welcome-font", uo = "welcome-icon-font", fo = (e = {}) => {
1829
+ }, oe = "work-sans", te = 16, ne = "-0.019rem", ie = 1.15, ae = "https://cdn.welcome-ui.com/fonts", le = "welcome-font", de = "welcome-icon-font", be = (o = {}) => {
1775
1830
  const {
1776
- defaultFontFamily: r = ao,
1777
- defaultFontSize: o = io,
1778
- defaultLetterSpacing: n = lo,
1779
- defaultLineHeight: a = so,
1780
- fontsUrl: i = go,
1781
- headingFontFamily: d = co,
1782
- iconFontFamily: l = uo,
1831
+ defaultFontFamily: r = oe,
1832
+ defaultFontSize: e = te,
1833
+ defaultLetterSpacing: i = ne,
1834
+ defaultLineHeight: n = ie,
1835
+ fontsUrl: l = ae,
1836
+ headingFontFamily: d = le,
1837
+ iconFontFamily: a = de,
1783
1838
  ...s
1784
- } = e;
1839
+ } = o;
1785
1840
  let t = {};
1786
- return t.transformers = { ...E }, t.toEm = (c) => `${c / o}em`, t.toRem = (c) => `${c / o}rem`, t.toPx = (c) => `${c * o}px`, t.colors = y, t.fontsUrl = i, 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, l), t.borderWidths = Qr, t.screens = Vr, t.space = oo(t), t.inset = t.space, t.radii = qr(t), t.transitions = Xr, t.timingFunction = k, t.shadows = ro, t = W(t, s), t.selection = eo(t), t.underline = Zr(t), t.focus = to(t), t.textsFontWeights = Er(t), t.textsFontFamily = Rr(t), t.textsFontColors = Lr(t), t.textsTextTransform = _r(), t.texts = z(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 = ir(t), t.cards = lr(t), t.checkboxes = sr(t), t.dateTimePickerCommon = dr(t), t.drawers = gr(t), t.dropdownMenu = cr(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 = Pr(t), t.variantIcon = jr(t), t.states = b.states, t.durations = b.durations, t.gridTemplateColumns = b.gridTemplateColumns, t.gridTemplateRows = b.gridTemplateRows, t.ringWidths = b.ringWidths, t.borders = b.borders, t.transitionProperties = b.transitionProperties, t.timingFunctions = b.timingFunctions, t.animations = b.animations, t.xstyled = b.xstyled, t = W(t, s), t;
1841
+ return t.transformers = { ...M }, t.toEm = (c) => `${c / e}em`, t.toRem = (c) => `${c / e}rem`, t.toPx = (c) => `${c * e}px`, t.colors = p, t.fontsUrl = l, t.fontFaces = Nr(t), t.fontSizes = $r("rem", t), t.defaultLineHeight = n, t.defaultLetterSpacing = i, t.lineHeights = Sr(t), t.fontWeights = Dr, t.letterSpacings = Tr(t), t.fonts = Ar(r, d, a), t.borderWidths = Jr, t.screens = Xr, t.space = Qr(t), t.inset = t.space, t.radii = Yr(t), t.transitions = Kr, t.timingFunction = h, t.shadows = Zr, t = I(t, s), t.selection = Vr(t), t.underline = Gr(t), t.focus = re(t), t.textsFontWeights = Rr(t), t.textsFontFamily = _r(t), t.textsFontColors = Br(t), t.textsTextTransform = zr(), t.texts = U(t), t.defaultFields = ee(t), t.icons = mr(t), t.accordions = Q(t), t.alerts = V(t), t.avatars = rr(t), t.badges = er(t), t.breadcrumbs = or(t), t.buttons = tr(t), t.cards = nr(t), t.checkboxes = ar(t), t.dateTimePickerCommon = ir(t), t.drawers = lr(t), t.dropdownMenu = dr(t), t.fileDrops = sr(t), t.hints = cr(t), t.labels = gr(t), t.links = ur(t), t.loaders = br(t), t.modals = hr(t), t.paginations = pr(t), t.popovers = fr(t), t.radios = xr(t), t.radiosTab = Cr(t), t.sliders = yr(t), t.swipers = kr(t), t.tables = Fr(t), t.tabs = vr(t), t.tags = wr(t), t.textareas = Wr(t), t.toasts = Er(t), t.toggles = Hr(t), t.tooltips = qr(t), t.variantIcon = Or(t), t.states = u.states, t.durations = u.durations, t.gridTemplateColumns = u.gridTemplateColumns, t.gridTemplateRows = u.gridTemplateRows, t.ringWidths = u.ringWidths, t.borders = u.borders, t.transitionProperties = u.transitionProperties, t.timingFunctions = u.timingFunctions, t.animations = u.animations, t.xstyled = u.xstyled, t = I(t, s), t;
1787
1842
  };
1788
1843
  export {
1789
- fo as createTheme,
1790
- po as darkTheme
1844
+ be as createTheme,
1845
+ ue as darkTheme
1791
1846
  };