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.
- package/dist/AXB53BZF-BOEe01VW.mjs +25 -0
- package/dist/Accordion.mjs +17 -17
- package/dist/Alert.mjs +19 -19
- package/dist/{BYC7LY2E-CVjUW1dr.mjs → BYC7LY2E-B1IDizRs.mjs} +298 -295
- package/dist/Badge.mjs +1 -1
- package/dist/Breadcrumb.mjs +27 -26
- package/dist/Button.mjs +2 -2
- package/dist/Checkbox.mjs +1 -1
- package/dist/{CustomInput-D_13Gd_3.mjs → CustomInput-IA_gVoXd.mjs} +2991 -2859
- package/dist/DatePicker.mjs +4 -4
- package/dist/DateTimePicker.mjs +9 -9
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.mjs +7 -7
- package/dist/DropdownMenu.mjs +262 -262
- package/dist/Field.mjs +25 -25
- package/dist/FileDrop.mjs +273 -267
- package/dist/FileUpload.mjs +26 -26
- package/dist/Files.mjs +1 -1
- package/dist/Hint.mjs +1 -1
- package/dist/{ITI7HKP4-BONrZ9Pq.mjs → ITI7HKP4-EL9KXYBU.mjs} +150 -150
- package/dist/Icons.mjs +88 -88
- package/dist/IconsFont.mjs +159 -159
- package/dist/InputText.mjs +1 -1
- package/dist/{JC64G2H7-Dey-8h60.mjs → JC64G2H7-BzklVBKM.mjs} +70 -70
- package/dist/KUU7WJ55-CS4NemC6.mjs +61 -0
- package/dist/{LVA2YJMS-qFC9J-lt.mjs → LVA2YJMS-DDEmK0pp.mjs} +491 -488
- package/dist/Label.mjs +2 -2
- package/dist/Link.mjs +3 -3
- package/dist/MTZPJQMC-CMjAwC0N.mjs +15 -0
- package/dist/Modal.mjs +13 -13
- package/dist/NLEBE274-QOMV1l7e.mjs +84 -0
- package/dist/P2CTZE2T-Cl2w7OLV.mjs +300 -0
- package/dist/P4IRICAX-DezbJY4s.mjs +37 -0
- package/dist/Pagination.mjs +22 -22
- package/dist/Picker.mjs +2 -2
- package/dist/Popover.mjs +2 -2
- package/dist/QYJ6MIDR-Bb0O5xUM.mjs +97 -0
- package/dist/Radio.mjs +18 -18
- package/dist/RadioGroup.mjs +15 -15
- package/dist/RadioTab.mjs +9 -9
- package/dist/{SYRFVSLH-cVmYtx36.mjs → SYRFVSLH-jn06-eLy.mjs} +17 -17
- package/dist/Search.mjs +2 -2
- package/dist/Select.mjs +719 -716
- package/dist/Shape.mjs +1 -1
- package/dist/Slider.mjs +1 -1
- package/dist/Swiper.mjs +284 -278
- package/dist/Tabs.mjs +128 -128
- package/dist/Tag.mjs +16 -16
- package/dist/Text.mjs +1 -1
- package/dist/Textarea.mjs +4 -4
- package/dist/TimePicker.mjs +6 -6
- package/dist/Toast.mjs +69 -69
- package/dist/Toggle.mjs +2 -2
- package/dist/Tooltip.mjs +60 -60
- package/dist/UniversalLink.mjs +8 -8
- package/dist/VEVQD5MH-CuegL0m0.mjs +20 -0
- package/dist/{VGCJ63VH-B39w1tBw.mjs → VGCJ63VH-BMzoZtCu.mjs} +31 -33
- package/dist/VariantIcon.mjs +4 -4
- package/dist/WelcomeLoader.mjs +4862 -9223
- package/dist/X5NMLKT6-CvSCix-_.mjs +25 -0
- package/dist/YV4JVR4I-Bh7B7TET.mjs +344 -0
- package/dist/downshift.esm-D0ns_SQs.mjs +1082 -0
- package/dist/{field-styles-DLIhqG_8.mjs → field-styles-CfVLcVQp.mjs} +1 -1
- package/dist/{index-BDeIsk2X.mjs → index-5PUh49rV.mjs} +56 -56
- package/dist/{index-DEJJvyGk.mjs → index-B0gDDiFm.mjs} +7 -7
- package/dist/{index-CExLVjET.mjs → index-B22SHR8h.mjs} +4 -4
- package/dist/index-BhcLigYU.mjs +77 -0
- package/dist/{index-BJAZgeHL.mjs → index-Bkl89twW.mjs} +4 -4
- package/dist/{index-BYdkhqH4.mjs → index-CBBbX29m.mjs} +3652 -3584
- package/dist/{index-BpRjq7lj.mjs → index-CQD9fgf_.mjs} +3 -3
- package/dist/{index-BRDOakbf.mjs → index-CmsWSKKs.mjs} +5 -5
- package/dist/{index-SbQUT2mU.mjs → index-DgSynio4.mjs} +244 -239
- package/dist/{index-BrfXjmHY.mjs → index-wr_b5GSV.mjs} +6 -6
- package/dist/radio-group-RFyDp0KD.mjs +51 -0
- package/dist/theme.mjs +670 -615
- package/dist/{use-viewport-m3glsbna.mjs → use-viewport-CfklieD-.mjs} +5 -5
- package/dist/utils.mjs +29 -91
- package/package.json +10 -13
- package/dist/AXB53BZF-CGoc4K3d.mjs +0 -25
- package/dist/KUU7WJ55-3sP-w1F1.mjs +0 -61
- package/dist/MTZPJQMC-C0Xe_WK4.mjs +0 -13
- package/dist/NLEBE274-C94QU78N.mjs +0 -84
- package/dist/P2CTZE2T-YPes1GXe.mjs +0 -297
- package/dist/P4IRICAX-DzXqUYe-.mjs +0 -37
- package/dist/QYJ6MIDR-BLLqyXdd.mjs +0 -97
- package/dist/VEVQD5MH-ZMnHV8ZJ.mjs +0 -20
- package/dist/X5NMLKT6-uFSu0Lii.mjs +0 -25
- package/dist/YV4JVR4I-BGfUf3Nu.mjs +0 -341
- package/dist/downshift.esm-CEHW4VDy.mjs +0 -1085
- 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
|
|
3
|
-
import { g as
|
|
4
|
-
import { h as
|
|
5
|
-
|
|
6
|
-
|
|
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
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
15
|
-
function
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
|
69
|
-
function
|
|
70
|
-
|
|
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
|
|
73
|
-
function
|
|
74
|
-
|
|
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
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
})
|
|
85
|
-
return
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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:
|
|
151
|
+
padding: l.lg,
|
|
97
152
|
wrapper: {
|
|
98
|
-
backgroundColor:
|
|
99
|
-
transition:
|
|
100
|
-
border: `${r.sm} solid ${
|
|
101
|
-
borderRadius:
|
|
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:
|
|
159
|
+
color: e["neutral-90"]
|
|
105
160
|
},
|
|
106
161
|
content: {
|
|
107
|
-
fontSize:
|
|
162
|
+
fontSize: i.sm
|
|
108
163
|
},
|
|
109
164
|
title: d.h5
|
|
110
165
|
};
|
|
111
|
-
},
|
|
112
|
-
const { borderWidths: r, colors:
|
|
113
|
-
backgroundColor:
|
|
114
|
-
borderColor:
|
|
115
|
-
color:
|
|
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:
|
|
120
|
-
borderColor:
|
|
121
|
-
borderRadius:
|
|
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:
|
|
125
|
-
fontSize:
|
|
179
|
+
color: e["neutral-80"],
|
|
180
|
+
fontSize: i.sm
|
|
126
181
|
},
|
|
127
182
|
title: {
|
|
128
183
|
default: {
|
|
129
|
-
color:
|
|
130
|
-
fontWeight:
|
|
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:
|
|
142
|
-
warning:
|
|
143
|
-
info:
|
|
144
|
-
success:
|
|
196
|
+
danger: a("red"),
|
|
197
|
+
warning: a("orange"),
|
|
198
|
+
info: a("blue"),
|
|
199
|
+
success: a("green"),
|
|
145
200
|
beige: {
|
|
146
|
-
backgroundColor:
|
|
147
|
-
borderColor:
|
|
148
|
-
color:
|
|
201
|
+
backgroundColor: e["beige-20"],
|
|
202
|
+
borderColor: e["beige-20"],
|
|
203
|
+
color: e["beige-80"]
|
|
149
204
|
},
|
|
150
205
|
ai: {
|
|
151
|
-
backgroundColor:
|
|
152
|
-
color:
|
|
153
|
-
borderColor:
|
|
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
|
-
},
|
|
165
|
-
const { colors: r, fontWeights:
|
|
219
|
+
}, rr = (o) => {
|
|
220
|
+
const { colors: r, fontWeights: e, toRem: i } = o;
|
|
166
221
|
return {
|
|
167
222
|
sizes: {
|
|
168
|
-
sm:
|
|
169
|
-
md:
|
|
170
|
-
lg:
|
|
171
|
-
xl:
|
|
172
|
-
xxl:
|
|
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:
|
|
231
|
+
fontWeight: e.bold
|
|
177
232
|
}
|
|
178
233
|
};
|
|
179
|
-
},
|
|
180
|
-
const { colors: r, fontWeights:
|
|
234
|
+
}, er = (o) => {
|
|
235
|
+
const { colors: r, fontWeights: e, space: i, texts: n, toRem: l } = o;
|
|
181
236
|
return {
|
|
182
237
|
default: {
|
|
183
|
-
...
|
|
184
|
-
fontWeight:
|
|
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:
|
|
209
|
-
height:
|
|
210
|
-
borderRadius:
|
|
263
|
+
padding: i.xxs,
|
|
264
|
+
height: l(16),
|
|
265
|
+
borderRadius: l(14)
|
|
211
266
|
},
|
|
212
267
|
md: {
|
|
213
|
-
padding:
|
|
214
|
-
height:
|
|
215
|
-
borderRadius:
|
|
268
|
+
padding: i.xs,
|
|
269
|
+
height: l(20),
|
|
270
|
+
borderRadius: l(14)
|
|
216
271
|
}
|
|
217
272
|
}
|
|
218
273
|
};
|
|
219
|
-
},
|
|
220
|
-
const { colors: r, space:
|
|
274
|
+
}, or = (o) => {
|
|
275
|
+
const { colors: r, space: e, texts: i } = o;
|
|
221
276
|
return {
|
|
222
277
|
list: {
|
|
223
|
-
...
|
|
224
|
-
padding: `${
|
|
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 ${
|
|
294
|
+
padding: `0 ${e.xs}`,
|
|
240
295
|
color: r["neutral-50"]
|
|
241
296
|
}
|
|
242
297
|
};
|
|
243
|
-
},
|
|
244
|
-
const { colors: r, focus:
|
|
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:
|
|
302
|
+
fontWeight: i.bold,
|
|
248
303
|
letterSpacing: 0,
|
|
249
|
-
borderRadius:
|
|
304
|
+
borderRadius: n.md
|
|
250
305
|
};
|
|
251
306
|
return {
|
|
252
307
|
primary: {
|
|
253
308
|
...s,
|
|
254
|
-
color:
|
|
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:
|
|
374
|
+
backgroundColor: m(r["neutral-90"], 0.1)
|
|
320
375
|
},
|
|
321
376
|
ghost: {
|
|
322
|
-
backgroundColor:
|
|
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: { ...
|
|
351
|
-
secondary: { ...
|
|
352
|
-
tertiary: { ...
|
|
353
|
-
ghost: { ...
|
|
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: { ...
|
|
356
|
-
tertiary: { ...
|
|
357
|
-
ghost: { ...
|
|
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: { ...
|
|
361
|
-
tertiary: { ...
|
|
362
|
-
ghost: { ...
|
|
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:
|
|
430
|
+
backgroundColor: m(r["neutral-90"], 0.4)
|
|
376
431
|
},
|
|
377
432
|
ghost: {
|
|
378
|
-
backgroundColor:
|
|
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": { ...
|
|
465
|
+
"&:focus": { ...e(r["beige-10"]) }
|
|
411
466
|
},
|
|
412
467
|
sizes: {
|
|
413
468
|
xs: {
|
|
414
|
-
height:
|
|
415
|
-
padding: `${
|
|
469
|
+
height: a(24),
|
|
470
|
+
padding: `${l.xs} ${l.sm}`
|
|
416
471
|
},
|
|
417
472
|
sm: {
|
|
418
|
-
height:
|
|
419
|
-
padding: `${
|
|
473
|
+
height: a(32),
|
|
474
|
+
padding: `${l.sm} ${l.md}`
|
|
420
475
|
},
|
|
421
476
|
md: {
|
|
422
477
|
...d.sm,
|
|
423
|
-
fontWeight:
|
|
424
|
-
height:
|
|
425
|
-
padding: `${
|
|
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:
|
|
430
|
-
height:
|
|
431
|
-
padding: `${
|
|
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:
|
|
437
|
-
sm:
|
|
438
|
-
md:
|
|
439
|
-
lg:
|
|
491
|
+
xs: a(16),
|
|
492
|
+
sm: a(16),
|
|
493
|
+
md: a(16),
|
|
494
|
+
lg: a(24)
|
|
440
495
|
},
|
|
441
496
|
default: {
|
|
442
|
-
xs:
|
|
443
|
-
sm:
|
|
444
|
-
md:
|
|
445
|
-
lg:
|
|
497
|
+
xs: a(12),
|
|
498
|
+
sm: a(16),
|
|
499
|
+
md: a(16),
|
|
500
|
+
lg: a(16)
|
|
446
501
|
}
|
|
447
502
|
}
|
|
448
503
|
};
|
|
449
|
-
},
|
|
450
|
-
const { borderWidths: r, colors:
|
|
504
|
+
}, nr = (o) => {
|
|
505
|
+
const { borderWidths: r, colors: e } = o;
|
|
451
506
|
return {
|
|
452
507
|
default: {
|
|
453
|
-
backgroundColor:
|
|
508
|
+
backgroundColor: e["neutral-10"],
|
|
454
509
|
borderStyle: "solid",
|
|
455
510
|
borderWidth: r.sm,
|
|
456
|
-
borderColor:
|
|
511
|
+
borderColor: e["neutral-30"]
|
|
457
512
|
}
|
|
458
513
|
};
|
|
459
|
-
},
|
|
460
|
-
const { colors: r, fontWeights:
|
|
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:
|
|
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:
|
|
526
|
+
fontWeight: e.bold
|
|
472
527
|
}
|
|
473
528
|
}
|
|
474
529
|
};
|
|
475
|
-
},
|
|
476
|
-
const { colors: r, radii:
|
|
530
|
+
}, ar = (o) => {
|
|
531
|
+
const { colors: r, radii: e, toRem: i } = o;
|
|
477
532
|
return {
|
|
478
533
|
default: {
|
|
479
|
-
width:
|
|
480
|
-
height:
|
|
534
|
+
width: i(16),
|
|
535
|
+
height: i(16),
|
|
481
536
|
flexShrink: 0,
|
|
482
|
-
borderRadius:
|
|
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
|
-
},
|
|
494
|
-
const { colors: r, space:
|
|
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: `${
|
|
562
|
+
padding: `${e.xl} ${e["5xl"]} ${e.xl} ${e.xl}`
|
|
508
563
|
},
|
|
509
564
|
content: {
|
|
510
|
-
padding: `${
|
|
565
|
+
padding: `${e.xl}`
|
|
511
566
|
},
|
|
512
567
|
footer: {
|
|
513
568
|
backgroundColor: r["neutral-10"],
|
|
514
|
-
padding: `${
|
|
569
|
+
padding: `${e.xl}`
|
|
515
570
|
},
|
|
516
571
|
sizes: {
|
|
517
572
|
horizontal: {
|
|
518
|
-
sm: { width:
|
|
519
|
-
md: { width:
|
|
520
|
-
lg: { width:
|
|
573
|
+
sm: { width: i(400) },
|
|
574
|
+
md: { width: i(550) },
|
|
575
|
+
lg: { width: i(680) }
|
|
521
576
|
},
|
|
522
577
|
vertical: {
|
|
523
|
-
sm: { height:
|
|
524
|
-
md: { height:
|
|
525
|
-
lg: { height:
|
|
578
|
+
sm: { height: i(400) },
|
|
579
|
+
md: { height: i(550) },
|
|
580
|
+
lg: { height: i(680) }
|
|
526
581
|
}
|
|
527
582
|
}
|
|
528
583
|
};
|
|
529
|
-
},
|
|
530
|
-
const { colors: r, fontSizes:
|
|
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:
|
|
534
|
-
minWidth:
|
|
535
|
-
borderRadius:
|
|
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:
|
|
610
|
+
backgroundColor: l
|
|
556
611
|
}
|
|
557
612
|
};
|
|
558
|
-
},
|
|
559
|
-
const { colors: r, toRem:
|
|
613
|
+
}, sr = (o) => {
|
|
614
|
+
const { colors: r, toRem: e } = o;
|
|
560
615
|
return {
|
|
561
616
|
default: {
|
|
562
|
-
minHeight:
|
|
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
|
-
},
|
|
572
|
-
const { colors: r, texts:
|
|
626
|
+
}, cr = (o) => {
|
|
627
|
+
const { colors: r, texts: e } = o;
|
|
573
628
|
return {
|
|
574
629
|
default: {
|
|
575
|
-
...
|
|
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
|
-
},
|
|
589
|
-
const { colors: r, fontSizes:
|
|
643
|
+
}, gr = (o) => {
|
|
644
|
+
const { colors: r, fontSizes: e, fontWeights: i } = o;
|
|
590
645
|
return {
|
|
591
646
|
color: r["neutral-60"],
|
|
592
|
-
fontSize:
|
|
593
|
-
fontWeight:
|
|
647
|
+
fontSize: e.sm,
|
|
648
|
+
fontWeight: i.medium
|
|
594
649
|
};
|
|
595
|
-
},
|
|
596
|
-
const { colors: r, fontWeights:
|
|
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:
|
|
601
|
-
transition:
|
|
655
|
+
fontWeight: e.medium,
|
|
656
|
+
transition: l.medium
|
|
602
657
|
},
|
|
603
658
|
withExternalLink: {
|
|
604
|
-
backgroundSize: `calc(100% - ${
|
|
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
|
-
},
|
|
624
|
-
xs:
|
|
625
|
-
sm:
|
|
626
|
-
md:
|
|
627
|
-
lg:
|
|
628
|
-
}),
|
|
629
|
-
xs:
|
|
630
|
-
sm:
|
|
631
|
-
md:
|
|
632
|
-
lg:
|
|
633
|
-
xl:
|
|
634
|
-
xxl:
|
|
635
|
-
}),
|
|
636
|
-
const { colors: r, radii:
|
|
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:
|
|
699
|
+
borderRadius: e.md
|
|
645
700
|
},
|
|
646
701
|
header: {
|
|
647
702
|
backgroundColor: r["neutral-10"],
|
|
648
|
-
borderTopLeftRadius:
|
|
649
|
-
borderTopRightRadius:
|
|
650
|
-
paddingTop:
|
|
651
|
-
paddingRight:
|
|
652
|
-
paddingBottom:
|
|
653
|
-
paddingLeft:
|
|
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:
|
|
663
|
-
paddingBottom:
|
|
664
|
-
paddingLeft:
|
|
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:
|
|
670
|
-
borderBottomRightRadius:
|
|
724
|
+
borderBottomLeftRadius: e.md,
|
|
725
|
+
borderBottomRightRadius: e.md,
|
|
671
726
|
children: {
|
|
672
|
-
paddingRight:
|
|
673
|
-
paddingLeft:
|
|
674
|
-
paddingTop:
|
|
675
|
-
paddingBottom:
|
|
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:
|
|
680
|
-
paddingLeft:
|
|
681
|
-
paddingTop:
|
|
682
|
-
paddingBottom:
|
|
734
|
+
paddingRight: i.xxl,
|
|
735
|
+
paddingLeft: i.xxl,
|
|
736
|
+
paddingTop: i.xl,
|
|
737
|
+
paddingBottom: i.xxl
|
|
683
738
|
}
|
|
684
739
|
},
|
|
685
|
-
gutter:
|
|
740
|
+
gutter: n(32),
|
|
686
741
|
sizes: {
|
|
687
742
|
xs: {
|
|
688
|
-
width:
|
|
743
|
+
width: n(320)
|
|
689
744
|
},
|
|
690
745
|
sm: {
|
|
691
|
-
width:
|
|
746
|
+
width: n(450)
|
|
692
747
|
},
|
|
693
748
|
md: {
|
|
694
|
-
width:
|
|
749
|
+
width: n(600)
|
|
695
750
|
},
|
|
696
751
|
lg: {
|
|
697
|
-
width:
|
|
752
|
+
width: n(730)
|
|
698
753
|
},
|
|
699
754
|
auto: {}
|
|
700
755
|
},
|
|
701
756
|
cover: {}
|
|
702
757
|
};
|
|
703
|
-
},
|
|
704
|
-
const { colors: r, focus:
|
|
758
|
+
}, pr = (o) => {
|
|
759
|
+
const { colors: r, focus: e, fontSizes: i, fontWeights: n, toRem: l } = o;
|
|
705
760
|
return {
|
|
706
761
|
default: {
|
|
707
|
-
width:
|
|
708
|
-
height:
|
|
762
|
+
width: l(32),
|
|
763
|
+
height: l(32),
|
|
709
764
|
color: r["neutral-90"],
|
|
710
|
-
fontWeight:
|
|
711
|
-
fontSize:
|
|
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": { ...
|
|
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
|
-
},
|
|
732
|
-
const { borderWidths: r, colors:
|
|
786
|
+
}, fr = (o) => {
|
|
787
|
+
const { borderWidths: r, colors: e, space: i, texts: n, toRem: l } = o;
|
|
733
788
|
return {
|
|
734
789
|
default: {
|
|
735
|
-
...
|
|
736
|
-
backgroundColor:
|
|
737
|
-
color:
|
|
738
|
-
maxWidth:
|
|
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:
|
|
798
|
+
padding: i.md
|
|
744
799
|
},
|
|
745
800
|
title: {
|
|
746
|
-
...
|
|
747
|
-
padding: `${
|
|
748
|
-
color:
|
|
749
|
-
borderBottomColor:
|
|
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
|
-
},
|
|
755
|
-
const { colors: r, toRem:
|
|
809
|
+
}, xr = (o) => {
|
|
810
|
+
const { colors: r, toRem: e } = o;
|
|
756
811
|
return {
|
|
757
812
|
default: {
|
|
758
|
-
width:
|
|
759
|
-
height:
|
|
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
|
-
},
|
|
771
|
-
const { colors: r } =
|
|
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:
|
|
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
|
-
},
|
|
788
|
-
const { borderWidths: r, colors:
|
|
842
|
+
}, yr = (o) => {
|
|
843
|
+
const { borderWidths: r, colors: e } = o;
|
|
789
844
|
return {
|
|
790
845
|
default: {
|
|
791
|
-
backgroundColor:
|
|
792
|
-
backgroundImage: `linear-gradient(${
|
|
846
|
+
backgroundColor: e["beige-40"],
|
|
847
|
+
backgroundImage: `linear-gradient(${e["primary-40"]}, ${e["primary-40"]})`
|
|
793
848
|
},
|
|
794
849
|
selector: {
|
|
795
|
-
backgroundColor:
|
|
850
|
+
backgroundColor: e["neutral-90"],
|
|
796
851
|
borderRadius: "50%",
|
|
797
852
|
border: `${r.md} solid`,
|
|
798
853
|
disabled: {
|
|
799
|
-
backgroundColor:
|
|
854
|
+
backgroundColor: e["beige-60"]
|
|
800
855
|
}
|
|
801
856
|
},
|
|
802
857
|
output: {
|
|
803
858
|
tooltip: {
|
|
804
|
-
backgroundColor:
|
|
805
|
-
border: `${r.sm} solid ${
|
|
806
|
-
color:
|
|
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 ${
|
|
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(${
|
|
871
|
+
backgroundImage: `linear-gradient(${e["beige-60"]}, ${e["beige-60"]})`
|
|
817
872
|
},
|
|
818
873
|
rangeInput: {
|
|
819
874
|
disabled: {
|
|
820
|
-
backgroundColor:
|
|
875
|
+
backgroundColor: e["beige-60"]
|
|
821
876
|
}
|
|
822
877
|
}
|
|
823
878
|
};
|
|
824
|
-
},
|
|
825
|
-
const { colors: r } =
|
|
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
|
-
},
|
|
835
|
-
const { borderWidths: r, colors:
|
|
889
|
+
}, Fr = (o) => {
|
|
890
|
+
const { borderWidths: r, colors: e, fontWeights: i, space: n } = o;
|
|
836
891
|
return {
|
|
837
892
|
th: {
|
|
838
|
-
color:
|
|
839
|
-
fontWeight:
|
|
893
|
+
color: e["neutral-60"],
|
|
894
|
+
fontWeight: i.medium,
|
|
840
895
|
textAlign: "left",
|
|
841
|
-
borderBottomColor:
|
|
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:
|
|
902
|
+
padding: n.xl
|
|
848
903
|
},
|
|
849
904
|
tr: {
|
|
850
905
|
default: {
|
|
851
|
-
borderBottomColor:
|
|
906
|
+
borderBottomColor: e["neutral-30"],
|
|
852
907
|
borderBottomWidth: r.sm,
|
|
853
908
|
borderBottomStyle: "solid"
|
|
854
909
|
},
|
|
855
910
|
danger: {
|
|
856
|
-
backgroundColor:
|
|
857
|
-
color:
|
|
911
|
+
backgroundColor: e["red-10"],
|
|
912
|
+
color: e["red-70"]
|
|
858
913
|
},
|
|
859
914
|
warning: {
|
|
860
|
-
backgroundColor:
|
|
861
|
-
color:
|
|
915
|
+
backgroundColor: e["orange-10"],
|
|
916
|
+
color: e["orange-80"]
|
|
862
917
|
},
|
|
863
918
|
info: {
|
|
864
|
-
backgroundColor:
|
|
865
|
-
color:
|
|
919
|
+
backgroundColor: e["blue-10"],
|
|
920
|
+
color: e["blue-70"]
|
|
866
921
|
},
|
|
867
922
|
success: {
|
|
868
|
-
backgroundColor:
|
|
869
|
-
color:
|
|
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
|
-
},
|
|
877
|
-
const { borderWidths: r, colors:
|
|
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 ${
|
|
936
|
+
boxShadow: `inset 0 -${r.sm} 0 ${e["neutral-30"]}`
|
|
882
937
|
},
|
|
883
938
|
vertical: {
|
|
884
|
-
boxShadow: `inset -${r.sm} 0 0 ${
|
|
939
|
+
boxShadow: `inset -${r.sm} 0 0 ${e["neutral-30"]}`
|
|
885
940
|
}
|
|
886
941
|
},
|
|
887
942
|
item: {
|
|
888
943
|
default: {
|
|
889
|
-
color:
|
|
890
|
-
fontWeight:
|
|
944
|
+
color: e["neutral-70"],
|
|
945
|
+
fontWeight: n.medium,
|
|
891
946
|
textDecoration: "none",
|
|
892
|
-
lineHeight:
|
|
947
|
+
lineHeight: l.md
|
|
893
948
|
},
|
|
894
949
|
active: {
|
|
895
|
-
color:
|
|
950
|
+
color: e["neutral-90"]
|
|
896
951
|
},
|
|
897
952
|
focus: {
|
|
898
|
-
color:
|
|
953
|
+
color: e["neutral-90"]
|
|
899
954
|
},
|
|
900
955
|
disabled: {
|
|
901
|
-
color:
|
|
956
|
+
color: e["neutral-50"]
|
|
902
957
|
},
|
|
903
958
|
size: {
|
|
904
959
|
sm: {
|
|
905
|
-
fontSize:
|
|
960
|
+
fontSize: i.sm
|
|
906
961
|
},
|
|
907
962
|
md: {
|
|
908
|
-
fontSize:
|
|
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:
|
|
982
|
+
background: e["primary-40"],
|
|
928
983
|
height: r.md
|
|
929
984
|
},
|
|
930
985
|
vertical: {
|
|
931
|
-
background:
|
|
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
|
-
},
|
|
944
|
-
const { colors: r, fontSizes:
|
|
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 = (
|
|
949
|
-
backgroundColor: r[`${
|
|
950
|
-
color: r[`${
|
|
951
|
-
}), t = (
|
|
952
|
-
backgroundColor: r[`${
|
|
953
|
-
}), c = (
|
|
954
|
-
backgroundColor: r[`${
|
|
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
|
-
}),
|
|
957
|
-
backgroundColor: r[`${
|
|
1011
|
+
}), b = (g) => ({
|
|
1012
|
+
backgroundColor: r[`${g}-${g === "green" ? "40" : "50"}`]
|
|
958
1013
|
});
|
|
959
1014
|
return {
|
|
960
1015
|
default: {
|
|
961
|
-
fontWeight:
|
|
962
|
-
borderRadius:
|
|
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:
|
|
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:
|
|
1000
|
-
blue:
|
|
1001
|
-
orange:
|
|
1002
|
-
pink:
|
|
1003
|
-
green:
|
|
1004
|
-
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: `${
|
|
1012
|
-
height:
|
|
1013
|
-
fontSize:
|
|
1014
|
-
gap:
|
|
1015
|
-
borderRadius:
|
|
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: `${
|
|
1019
|
-
height:
|
|
1020
|
-
fontSize:
|
|
1021
|
-
gap:
|
|
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: `${
|
|
1025
|
-
height:
|
|
1026
|
-
fontSize:
|
|
1027
|
-
gap:
|
|
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:
|
|
1038
|
-
height:
|
|
1092
|
+
width: a.xs,
|
|
1093
|
+
height: a.xs
|
|
1039
1094
|
},
|
|
1040
1095
|
sm: {
|
|
1041
|
-
width:
|
|
1042
|
-
height:
|
|
1096
|
+
width: a.sm,
|
|
1097
|
+
height: a.sm
|
|
1043
1098
|
},
|
|
1044
1099
|
md: {
|
|
1045
|
-
width:
|
|
1046
|
-
height:
|
|
1100
|
+
width: a.md,
|
|
1101
|
+
height: a.md
|
|
1047
1102
|
}
|
|
1048
1103
|
}
|
|
1049
1104
|
};
|
|
1050
|
-
},
|
|
1051
|
-
const { space: r, toRem:
|
|
1105
|
+
}, Wr = (o) => {
|
|
1106
|
+
const { space: r, toRem: e } = o;
|
|
1052
1107
|
return {
|
|
1053
|
-
minHeight:
|
|
1108
|
+
minHeight: e(130),
|
|
1054
1109
|
padding: r.md
|
|
1055
1110
|
};
|
|
1056
|
-
},
|
|
1057
|
-
const { toEm:
|
|
1111
|
+
}, $r = (o, r) => {
|
|
1112
|
+
const { toEm: e, toRem: i } = r, n = i;
|
|
1058
1113
|
return {
|
|
1059
|
-
h0:
|
|
1060
|
-
h1:
|
|
1061
|
-
h2:
|
|
1062
|
-
h3:
|
|
1063
|
-
h4:
|
|
1064
|
-
h5:
|
|
1065
|
-
h6:
|
|
1066
|
-
lg:
|
|
1067
|
-
md:
|
|
1068
|
-
sm:
|
|
1069
|
-
"subtitle-md":
|
|
1070
|
-
"subtitle-sm":
|
|
1071
|
-
xs:
|
|
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
|
-
},
|
|
1074
|
-
defaultLineHeight:
|
|
1128
|
+
}, Sr = ({
|
|
1129
|
+
defaultLineHeight: o,
|
|
1075
1130
|
toRem: r
|
|
1076
1131
|
}) => ({
|
|
1077
|
-
html:
|
|
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":
|
|
1090
|
-
"subtitle-sm":
|
|
1091
|
-
}),
|
|
1144
|
+
"subtitle-md": o,
|
|
1145
|
+
"subtitle-sm": o
|
|
1146
|
+
}), Dr = {
|
|
1092
1147
|
regular: 400,
|
|
1093
1148
|
medium: 500,
|
|
1094
1149
|
bold: 600
|
|
1095
|
-
},
|
|
1096
|
-
defaultLetterSpacing:
|
|
1150
|
+
}, Tr = ({
|
|
1151
|
+
defaultLetterSpacing: o,
|
|
1097
1152
|
toRem: r
|
|
1098
1153
|
}) => ({
|
|
1099
|
-
html:
|
|
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:
|
|
1108
|
-
md:
|
|
1109
|
-
sm:
|
|
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
|
-
}),
|
|
1114
|
-
const { fontWeights: r } =
|
|
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
|
-
},
|
|
1131
|
-
const { fonts: r } =
|
|
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
|
-
},
|
|
1198
|
+
}, zr = () => ({
|
|
1144
1199
|
"subtitle-md": "uppercase",
|
|
1145
1200
|
"subtitle-sm": "uppercase"
|
|
1146
|
-
}),
|
|
1147
|
-
const { colors: r } =
|
|
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
|
-
},
|
|
1212
|
+
}, U = (o) => {
|
|
1158
1213
|
const {
|
|
1159
1214
|
fontSizes: r,
|
|
1160
|
-
letterSpacings:
|
|
1161
|
-
lineHeights:
|
|
1162
|
-
textsFontColors:
|
|
1163
|
-
textsFontFamily:
|
|
1215
|
+
letterSpacings: e,
|
|
1216
|
+
lineHeights: i,
|
|
1217
|
+
textsFontColors: n,
|
|
1218
|
+
textsFontFamily: l,
|
|
1164
1219
|
textsFontWeights: d,
|
|
1165
|
-
textsTextTransform:
|
|
1166
|
-
} =
|
|
1220
|
+
textsTextTransform: a
|
|
1221
|
+
} = o;
|
|
1167
1222
|
return Object.keys(r).reduce((s, t) => ({
|
|
1168
1223
|
...s,
|
|
1169
1224
|
[t]: {
|
|
1170
|
-
color:
|
|
1171
|
-
fontFamily:
|
|
1225
|
+
color: n[t],
|
|
1226
|
+
fontFamily: l[t] || void 0,
|
|
1172
1227
|
fontWeight: d[t],
|
|
1173
1228
|
fontSize: r[t],
|
|
1174
|
-
lineHeight:
|
|
1175
|
-
letterSpacing:
|
|
1176
|
-
textTransform:
|
|
1229
|
+
lineHeight: i[t] || i.lg,
|
|
1230
|
+
letterSpacing: e[t] || void 0,
|
|
1231
|
+
textTransform: a[t] || void 0
|
|
1177
1232
|
}
|
|
1178
1233
|
}), {});
|
|
1179
|
-
},
|
|
1180
|
-
texts: [
|
|
1234
|
+
}, Ar = (o, r, e) => ({
|
|
1235
|
+
texts: [o, "sans-serif"].join(", "),
|
|
1181
1236
|
headings: [r, "sans-serif"].join(", "),
|
|
1182
|
-
icons:
|
|
1183
|
-
}),
|
|
1184
|
-
const { borderWidths: r, colors:
|
|
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:
|
|
1188
|
-
paddingRight:
|
|
1242
|
+
paddingLeft: l.sm,
|
|
1243
|
+
paddingRight: l.sm
|
|
1189
1244
|
},
|
|
1190
1245
|
top: {
|
|
1191
|
-
paddingTop:
|
|
1246
|
+
paddingTop: l.lg
|
|
1192
1247
|
},
|
|
1193
1248
|
bottom: {
|
|
1194
|
-
paddingBottom:
|
|
1249
|
+
paddingBottom: l.lg
|
|
1195
1250
|
},
|
|
1196
1251
|
growls: {
|
|
1197
1252
|
default: {
|
|
1198
|
-
...
|
|
1253
|
+
...U(o).sm,
|
|
1199
1254
|
borderWidth: r.sm,
|
|
1200
1255
|
borderStyle: "solid",
|
|
1201
|
-
borderRadius:
|
|
1256
|
+
borderRadius: n.lg,
|
|
1202
1257
|
maxWidth: 340
|
|
1203
1258
|
},
|
|
1204
1259
|
title: {
|
|
1205
|
-
fontWeight:
|
|
1206
|
-
color:
|
|
1260
|
+
fontWeight: i.bold,
|
|
1261
|
+
color: e["neutral-90"]
|
|
1207
1262
|
}
|
|
1208
1263
|
},
|
|
1209
1264
|
snackbar: {
|
|
1210
1265
|
default: {
|
|
1211
|
-
borderRadius:
|
|
1266
|
+
borderRadius: n.lg
|
|
1212
1267
|
},
|
|
1213
1268
|
separator: {
|
|
1214
1269
|
default: {
|
|
1215
1270
|
borderLeft: "1px solid",
|
|
1216
|
-
borderLeftColor:
|
|
1271
|
+
borderLeftColor: e["neutral-30"]
|
|
1217
1272
|
},
|
|
1218
1273
|
danger: {
|
|
1219
|
-
borderLeftColor:
|
|
1274
|
+
borderLeftColor: e["red-20"]
|
|
1220
1275
|
},
|
|
1221
1276
|
warning: {
|
|
1222
|
-
borderLeftColor:
|
|
1277
|
+
borderLeftColor: e["orange-20"]
|
|
1223
1278
|
},
|
|
1224
1279
|
info: {
|
|
1225
|
-
borderLeftColor:
|
|
1280
|
+
borderLeftColor: e["blue-30"]
|
|
1226
1281
|
},
|
|
1227
1282
|
success: {
|
|
1228
|
-
borderLeftColor:
|
|
1283
|
+
borderLeftColor: e["green-30"]
|
|
1229
1284
|
}
|
|
1230
1285
|
}
|
|
1231
1286
|
}
|
|
1232
1287
|
};
|
|
1233
|
-
},
|
|
1234
|
-
const { borderWidths: r, colors:
|
|
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:
|
|
1239
|
-
borderColor:
|
|
1293
|
+
backgroundColor: e["neutral-10"],
|
|
1294
|
+
borderColor: e["neutral-30"],
|
|
1240
1295
|
borderWidth: r.sm,
|
|
1241
1296
|
borderStyle: "solid",
|
|
1242
|
-
borderRadius:
|
|
1297
|
+
borderRadius: n(16),
|
|
1243
1298
|
"&:focus": {
|
|
1244
|
-
borderColor:
|
|
1245
|
-
...
|
|
1299
|
+
borderColor: e["primary-30"],
|
|
1300
|
+
...i(e["primary-30"])
|
|
1246
1301
|
}
|
|
1247
1302
|
},
|
|
1248
1303
|
sizes: {
|
|
1249
1304
|
xs: {
|
|
1250
|
-
width:
|
|
1251
|
-
height:
|
|
1252
|
-
marginTop:
|
|
1305
|
+
width: n(28),
|
|
1306
|
+
height: n(16),
|
|
1307
|
+
marginTop: Lr
|
|
1253
1308
|
},
|
|
1254
1309
|
sm: {
|
|
1255
|
-
width:
|
|
1256
|
-
height:
|
|
1257
|
-
marginTop:
|
|
1310
|
+
width: n(36),
|
|
1311
|
+
height: n(20),
|
|
1312
|
+
marginTop: Ir
|
|
1258
1313
|
},
|
|
1259
1314
|
md: {
|
|
1260
|
-
width:
|
|
1261
|
-
height:
|
|
1315
|
+
width: n(44),
|
|
1316
|
+
height: n(24),
|
|
1262
1317
|
marginTop: "0 !important"
|
|
1263
1318
|
}
|
|
1264
1319
|
},
|
|
1265
1320
|
checked: {
|
|
1266
|
-
backgroundColor:
|
|
1267
|
-
borderColor:
|
|
1321
|
+
backgroundColor: e["primary-40"],
|
|
1322
|
+
borderColor: e["primary-40"]
|
|
1268
1323
|
},
|
|
1269
1324
|
disabled: {
|
|
1270
|
-
borderColor:
|
|
1271
|
-
backgroundColor:
|
|
1325
|
+
borderColor: e["beige-60"],
|
|
1326
|
+
backgroundColor: e["beige-40"]
|
|
1272
1327
|
}
|
|
1273
1328
|
},
|
|
1274
1329
|
after: {
|
|
1275
1330
|
default: {
|
|
1276
|
-
backgroundColor:
|
|
1277
|
-
borderColor:
|
|
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:
|
|
1284
|
-
borderColor:
|
|
1338
|
+
backgroundColor: e["neutral-10"],
|
|
1339
|
+
borderColor: e["neutral-10"]
|
|
1285
1340
|
},
|
|
1286
1341
|
disabled: {
|
|
1287
1342
|
borderColor: "transparent",
|
|
1288
|
-
backgroundColor:
|
|
1343
|
+
backgroundColor: e["beige-60"]
|
|
1289
1344
|
},
|
|
1290
1345
|
sizes: {
|
|
1291
1346
|
xs: {
|
|
1292
|
-
width:
|
|
1293
|
-
height:
|
|
1347
|
+
width: n(12),
|
|
1348
|
+
height: n(12)
|
|
1294
1349
|
},
|
|
1295
1350
|
sm: {
|
|
1296
|
-
width:
|
|
1297
|
-
height:
|
|
1351
|
+
width: n(16),
|
|
1352
|
+
height: n(16)
|
|
1298
1353
|
},
|
|
1299
1354
|
md: {
|
|
1300
|
-
width:
|
|
1301
|
-
height:
|
|
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:
|
|
1323
|
-
height:
|
|
1324
|
-
fontSize:
|
|
1377
|
+
width: n(10),
|
|
1378
|
+
height: n(10),
|
|
1379
|
+
fontSize: n(10)
|
|
1325
1380
|
},
|
|
1326
1381
|
sm: {
|
|
1327
|
-
width:
|
|
1328
|
-
height:
|
|
1329
|
-
fontSize:
|
|
1382
|
+
width: n(12),
|
|
1383
|
+
height: n(12),
|
|
1384
|
+
fontSize: n(12)
|
|
1330
1385
|
},
|
|
1331
1386
|
md: {
|
|
1332
|
-
width:
|
|
1333
|
-
height:
|
|
1334
|
-
fontSize:
|
|
1387
|
+
width: n(16),
|
|
1388
|
+
height: n(16),
|
|
1389
|
+
fontSize: n(16)
|
|
1335
1390
|
}
|
|
1336
1391
|
}
|
|
1337
1392
|
}
|
|
1338
1393
|
};
|
|
1339
|
-
},
|
|
1340
|
-
const { borderWidths: r, colors:
|
|
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:
|
|
1343
|
-
backgroundColor:
|
|
1344
|
-
color:
|
|
1397
|
+
maxWidth: a(200),
|
|
1398
|
+
backgroundColor: e["neutral-90"],
|
|
1399
|
+
color: e["neutral-10"],
|
|
1345
1400
|
padding: `${d.xs} ${d.sm}`,
|
|
1346
|
-
fontSize:
|
|
1347
|
-
fontWeight:
|
|
1348
|
-
border: `${r.sm} solid ${
|
|
1349
|
-
borderRadius:
|
|
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
|
-
},
|
|
1353
|
-
const { colors: r } =
|
|
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
|
-
},
|
|
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
|
-
},
|
|
1481
|
-
...
|
|
1482
|
-
"primary-10":
|
|
1483
|
-
"primary-20":
|
|
1484
|
-
"primary-30":
|
|
1485
|
-
"primary-40":
|
|
1486
|
-
"primary-50":
|
|
1487
|
-
"primary-60":
|
|
1488
|
-
"primary-70":
|
|
1489
|
-
"primary-80":
|
|
1490
|
-
"primary-90":
|
|
1491
|
-
"secondary-blue":
|
|
1492
|
-
"secondary-green":
|
|
1493
|
-
"secondary-orange":
|
|
1494
|
-
"secondary-pink":
|
|
1495
|
-
"secondary-teal":
|
|
1496
|
-
"secondary-violet":
|
|
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
|
-
}),
|
|
1499
|
-
if (r.startsWith("secondary-") || r === "overlay") return
|
|
1500
|
-
const
|
|
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
|
-
...
|
|
1503
|
-
[r]:
|
|
1557
|
+
...o,
|
|
1558
|
+
[r]: p[`${i}${e}`]
|
|
1504
1559
|
};
|
|
1505
|
-
}, {}),
|
|
1506
|
-
...
|
|
1507
|
-
...
|
|
1508
|
-
},
|
|
1509
|
-
colors:
|
|
1510
|
-
},
|
|
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: `${
|
|
1568
|
+
url: `${o.fontsUrl}/welcome-font-regular`,
|
|
1514
1569
|
weight: "400"
|
|
1515
1570
|
},
|
|
1516
1571
|
{
|
|
1517
|
-
url: `${
|
|
1572
|
+
url: `${o.fontsUrl}/welcome-font-medium`,
|
|
1518
1573
|
weight: "500"
|
|
1519
1574
|
},
|
|
1520
1575
|
{
|
|
1521
|
-
url: `${
|
|
1576
|
+
url: `${o.fontsUrl}/welcome-font-bold`,
|
|
1522
1577
|
weight: "600"
|
|
1523
1578
|
},
|
|
1524
1579
|
{
|
|
1525
|
-
url: `${
|
|
1580
|
+
url: `${o.fontsUrl}/welcome-font-regular-italic`,
|
|
1526
1581
|
style: "italic",
|
|
1527
1582
|
weight: "400"
|
|
1528
1583
|
},
|
|
1529
1584
|
{
|
|
1530
|
-
url: `${
|
|
1585
|
+
url: `${o.fontsUrl}/welcome-font-medium-italic`,
|
|
1531
1586
|
style: "italic",
|
|
1532
1587
|
weight: "500"
|
|
1533
1588
|
},
|
|
1534
1589
|
{
|
|
1535
|
-
url: `${
|
|
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: `${
|
|
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: `${
|
|
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
|
-
}),
|
|
1609
|
+
}), h = {
|
|
1555
1610
|
primary: "ease",
|
|
1556
1611
|
secondary: "linear",
|
|
1557
1612
|
tertiary: "cubic-bezier(0.41, 0.094, 0.54, 0.07)"
|
|
1558
|
-
},
|
|
1559
|
-
slow: `500ms ${
|
|
1560
|
-
medium: `300ms ${
|
|
1561
|
-
fast: `100ms ${
|
|
1562
|
-
},
|
|
1563
|
-
default:
|
|
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
|
-
${
|
|
1567
|
-
${
|
|
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:
|
|
1632
|
+
hover: S`
|
|
1578
1633
|
opacity: 1;
|
|
1579
1634
|
background-position-y: 100%;
|
|
1580
1635
|
background-size: 100% 100%;
|
|
1581
1636
|
`
|
|
1582
|
-
}),
|
|
1637
|
+
}), Yr = (o) => ({
|
|
1583
1638
|
none: "0",
|
|
1584
|
-
sm:
|
|
1585
|
-
md:
|
|
1586
|
-
lg:
|
|
1587
|
-
xl:
|
|
1588
|
-
xxl:
|
|
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
|
-
}),
|
|
1645
|
+
}), Jr = {
|
|
1591
1646
|
sm: "1px",
|
|
1592
1647
|
md: "2px",
|
|
1593
1648
|
lg: "3px"
|
|
1594
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
1607
|
-
xxs:
|
|
1608
|
-
xs:
|
|
1609
|
-
sm:
|
|
1610
|
-
md:
|
|
1611
|
-
lg:
|
|
1612
|
-
xl:
|
|
1613
|
-
xxl:
|
|
1614
|
-
"3xl":
|
|
1615
|
-
"4xl":
|
|
1616
|
-
"5xl":
|
|
1617
|
-
"6xl":
|
|
1618
|
-
"7xl":
|
|
1619
|
-
}),
|
|
1620
|
-
backgroundColor:
|
|
1621
|
-
color:
|
|
1622
|
-
}),
|
|
1623
|
-
function r(
|
|
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 ${
|
|
1680
|
+
boxShadow: `0 0 0 2px ${e}`
|
|
1626
1681
|
};
|
|
1627
1682
|
}
|
|
1628
1683
|
return r;
|
|
1629
|
-
},
|
|
1630
|
-
const { borderWidths: r, colors:
|
|
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:
|
|
1634
|
-
fontSize:
|
|
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:
|
|
1638
|
-
backgroundColor:
|
|
1639
|
-
borderColor:
|
|
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:
|
|
1702
|
+
borderColor: e["neutral-40"]
|
|
1648
1703
|
},
|
|
1649
1704
|
transparency: {
|
|
1650
|
-
borderColor:
|
|
1705
|
+
borderColor: e["neutral-20"]
|
|
1651
1706
|
}
|
|
1652
1707
|
},
|
|
1653
1708
|
variants: {
|
|
1654
1709
|
danger: {
|
|
1655
|
-
borderColor:
|
|
1710
|
+
borderColor: e["red-70"]
|
|
1656
1711
|
},
|
|
1657
1712
|
success: {
|
|
1658
|
-
borderColor:
|
|
1713
|
+
borderColor: e["green-60"]
|
|
1659
1714
|
},
|
|
1660
1715
|
warning: {
|
|
1661
|
-
borderColor:
|
|
1716
|
+
borderColor: e["orange-60"]
|
|
1662
1717
|
}
|
|
1663
1718
|
},
|
|
1664
1719
|
focused: {
|
|
1665
1720
|
default: {
|
|
1666
|
-
...
|
|
1667
|
-
borderColor:
|
|
1721
|
+
...i(e["primary-20"]),
|
|
1722
|
+
borderColor: e["primary-40"]
|
|
1668
1723
|
},
|
|
1669
|
-
danger: { ...
|
|
1670
|
-
warning: { ...
|
|
1671
|
-
success: { ...
|
|
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:
|
|
1677
|
-
paddingRight:
|
|
1678
|
-
paddingBottom:
|
|
1679
|
-
paddingLeft:
|
|
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:
|
|
1684
|
-
paddingRight:
|
|
1685
|
-
paddingBottom:
|
|
1686
|
-
paddingLeft:
|
|
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:
|
|
1691
|
-
paddingRight:
|
|
1692
|
-
paddingBottom:
|
|
1693
|
-
paddingLeft:
|
|
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:
|
|
1698
|
-
paddingRight:
|
|
1699
|
-
paddingBottom:
|
|
1700
|
-
paddingLeft:
|
|
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:
|
|
1732
|
-
color:
|
|
1786
|
+
backgroundColor: e["beige-40"],
|
|
1787
|
+
color: e["beige-70"],
|
|
1733
1788
|
cursor: "not-allowed"
|
|
1734
1789
|
},
|
|
1735
1790
|
placeholder: {
|
|
1736
|
-
color:
|
|
1791
|
+
color: e["neutral-50"]
|
|
1737
1792
|
},
|
|
1738
1793
|
checkablelabel: {
|
|
1739
1794
|
default: {},
|
|
1740
1795
|
checked: {
|
|
1741
|
-
color:
|
|
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:
|
|
1806
|
+
color: e["beige-40"],
|
|
1752
1807
|
cursor: "not-allowed"
|
|
1753
1808
|
},
|
|
1754
1809
|
highlighted: {
|
|
1755
|
-
backgroundColor:
|
|
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:
|
|
1763
|
-
fontWeight:
|
|
1817
|
+
color: e["neutral-90"],
|
|
1818
|
+
fontWeight: l.bold
|
|
1764
1819
|
},
|
|
1765
1820
|
disabled: {
|
|
1766
|
-
color:
|
|
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
|
-
},
|
|
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 =
|
|
1777
|
-
defaultFontSize:
|
|
1778
|
-
defaultLetterSpacing:
|
|
1779
|
-
defaultLineHeight:
|
|
1780
|
-
fontsUrl:
|
|
1781
|
-
headingFontFamily: d =
|
|
1782
|
-
iconFontFamily:
|
|
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
|
-
} =
|
|
1839
|
+
} = o;
|
|
1785
1840
|
let t = {};
|
|
1786
|
-
return t.transformers = { ...
|
|
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
|
-
|
|
1790
|
-
|
|
1844
|
+
be as createTheme,
|
|
1845
|
+
ue as darkTheme
|
|
1791
1846
|
};
|