welcome-ui 8.1.1 → 8.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AXB53BZF-BOEe01VW.mjs → AXB53BZF-XKOjjeWO.mjs} +3 -3
- package/dist/Accordion.mjs +30 -23
- package/dist/Alert.mjs +72 -66
- package/dist/AspectRatio.mjs +9 -9
- package/dist/Avatar.mjs +45 -41
- package/dist/{BYC7LY2E-B1IDizRs.mjs → BYC7LY2E-CWSI38FM.mjs} +128 -127
- package/dist/Badge.mjs +25 -25
- package/dist/Box.mjs +5 -5
- package/dist/Breadcrumb.mjs +118 -112
- package/dist/Button.mjs +72 -67
- package/dist/ButtonGroup.mjs +12 -11
- package/dist/Card.mjs +14 -14
- package/dist/Checkbox.mjs +2 -2
- package/dist/ClearButton.mjs +15 -15
- package/dist/CloseButton.mjs +9 -9
- package/dist/{CustomInput-IA_gVoXd.mjs → CustomPopper-DezjKb9n.mjs} +1458 -1442
- package/dist/DatePicker.mjs +63 -62
- package/dist/DateTimePicker.mjs +69 -63
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.mjs +171 -159
- package/dist/DropdownMenu.mjs +354 -351
- package/dist/Field.mjs +103 -92
- package/dist/FieldGroup.mjs +12 -9
- package/dist/FileDrop.mjs +316 -295
- package/dist/FileUpload.mjs +83 -69
- package/dist/Files.mjs +41 -41
- package/dist/Flex.mjs +13 -13
- package/dist/Grid.mjs +29 -29
- package/dist/Hint.mjs +12 -12
- package/dist/{ITI7HKP4-EL9KXYBU.mjs → ITI7HKP4-C89kOQb8.mjs} +68 -67
- package/dist/Icon.mjs +25 -25
- package/dist/Icons.mjs +988 -988
- package/dist/IconsFont.mjs +22 -22
- package/dist/InputText.mjs +64 -56
- package/dist/{JC64G2H7-BzklVBKM.mjs → JC64G2H7-afsomHuH.mjs} +47 -46
- package/dist/{KUU7WJ55-CS4NemC6.mjs → KUU7WJ55-CzsjuIMv.mjs} +1 -1
- package/dist/LVA2YJMS-C-kJ1lkr.mjs +873 -0
- package/dist/Label.mjs +37 -35
- package/dist/Link.mjs +32 -28
- package/dist/Loader.mjs +20 -16
- package/dist/Logo.mjs +55 -42
- package/dist/{MTZPJQMC-CMjAwC0N.mjs → MTZPJQMC-TybFZCho.mjs} +2 -2
- package/dist/Modal.mjs +263 -244
- package/dist/{NLEBE274-QOMV1l7e.mjs → NLEBE274-oSxMftGy.mjs} +9 -9
- package/dist/{P2CTZE2T-Cl2w7OLV.mjs → P2CTZE2T-DOT1mNnX.mjs} +49 -48
- package/dist/{P4IRICAX-DezbJY4s.mjs → P4IRICAX-CWSZLTGz.mjs} +3 -3
- package/dist/Pagination.mjs +105 -103
- package/dist/PasswordInput.mjs +35 -34
- package/dist/Picker.mjs +36 -34
- package/dist/Popover.mjs +106 -99
- package/dist/{QYJ6MIDR-Bb0O5xUM.mjs → QYJ6MIDR-DJ-vUdAM.mjs} +31 -30
- package/dist/Radio.mjs +52 -46
- package/dist/RadioGroup.mjs +47 -47
- package/dist/RadioTab.mjs +37 -35
- package/dist/{SYRFVSLH-jn06-eLy.mjs → SYRFVSLH-B6m278Vb.mjs} +11 -10
- package/dist/Search.mjs +147 -135
- package/dist/Select.mjs +348 -330
- package/dist/Shape.mjs +9 -9
- package/dist/Slider.mjs +353 -326
- package/dist/Stack.mjs +24 -23
- package/dist/Swiper.mjs +192 -186
- package/dist/Table.mjs +23 -23
- package/dist/Tabs.mjs +205 -200
- package/dist/Tag.mjs +49 -47
- package/dist/Text.mjs +20 -20
- package/dist/Textarea.mjs +40 -40
- package/dist/TimePicker.mjs +59 -58
- package/dist/Toast.mjs +135 -128
- package/dist/Toggle.mjs +27 -24
- package/dist/Tooltip.mjs +103 -99
- package/dist/UniversalLink.mjs +15 -15
- package/dist/{VEVQD5MH-CuegL0m0.mjs → VEVQD5MH-0w9Y7Ytc.mjs} +3 -3
- package/dist/{VGCJ63VH-BMzoZtCu.mjs → VGCJ63VH-C0UPBY-5.mjs} +39 -38
- package/dist/VariantIcon.mjs +23 -22
- package/dist/WelcomeLoader.mjs +122 -121
- package/dist/WuiProvider.mjs +52 -44
- package/dist/{X5NMLKT6-CvSCix-_.mjs → X5NMLKT6-BJw3xE-K.mjs} +2 -2
- package/dist/{YV4JVR4I-Bh7B7TET.mjs → YV4JVR4I-DPC8mMuG.mjs} +57 -57
- package/dist/hide-focus-rings-root-CCXdysih.mjs +15 -0
- package/dist/{index-5PUh49rV.mjs → index-62h-enZF.mjs} +62 -61
- package/dist/{index-C7zM96J_.mjs → index-BaLGEKs7.mjs} +8 -8
- package/dist/index-CYmF7qCH.mjs +11 -0
- package/dist/index-C_k-m0Rl.mjs +36 -0
- package/dist/index-D8v_VJ9z.mjs +26 -0
- package/dist/{index-BNGGwOCo.mjs → index-DAZ1SYdj.mjs} +7 -7
- package/dist/index-DpkNUfAS.mjs +11 -0
- package/dist/{index-DqBUFsqP.mjs → index-DvzWKxKE.mjs} +7 -7
- package/dist/{index-Bkl89twW.mjs → index-QaLwIvZS.mjs} +8 -8
- package/dist/{index-BQtDgQBH.mjs → index-SQQQ4dEE.mjs} +8 -8
- package/dist/index-i_anpNhw.mjs +66 -0
- package/dist/index-wl3X6EM1.mjs +16 -0
- package/dist/jsx-runtime-B7I4PJ0H.mjs +613 -0
- package/dist/radio-group-C0fUHvam.mjs +52 -0
- package/dist/theme.mjs +805 -805
- package/dist/types/components/Accordion/index.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +2 -2
- package/dist/types/components/Alert/styles.d.ts +4 -4
- package/dist/types/components/Alert/theme.d.ts +4 -4
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Avatar/styles.d.ts +4 -4
- package/dist/types/components/Avatar/theme.d.ts +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Badge/styles.d.ts +2 -2
- package/dist/types/components/Breadcrumb/Item.d.ts +1 -1
- package/dist/types/components/Breadcrumb/index.d.ts +1 -1
- package/dist/types/components/Button/index.d.ts +4 -5
- package/dist/types/components/Button/theme.d.ts +7 -7
- package/dist/types/components/ButtonGroup/index.d.ts +3 -3
- package/dist/types/components/Card/Cover.styles.d.ts +2 -2
- package/dist/types/components/Card/index.d.ts +2 -3
- package/dist/types/components/Checkbox/index.d.ts +2 -2
- package/dist/types/components/ClearButton/index.d.ts +4 -5
- package/dist/types/components/ClearButton/styles.d.ts +2 -2
- package/dist/types/components/CloseButton/styles.d.ts +2 -2
- package/dist/types/components/DatePicker/index.d.ts +3 -3
- package/dist/types/components/DateTimePicker/index.d.ts +2 -2
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +5 -5
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/index.d.ts +2 -2
- package/dist/types/components/DateTimePickerCommon/utils.d.ts +1 -1
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +1 -1
- package/dist/types/components/Drawer/AssetDrawer/index.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +8 -8
- package/dist/types/components/Drawer/styles.d.ts +3 -3
- package/dist/types/components/Drawer/theme.d.ts +1 -1
- package/dist/types/components/DropdownMenu/index.d.ts +4 -4
- package/dist/types/components/Field/index.d.ts +8 -8
- package/dist/types/components/Field/styles.d.ts +1 -1
- package/dist/types/components/Field/utils.d.ts +1 -1
- package/dist/types/components/FileDrop/FilePreview.d.ts +2 -2
- package/dist/types/components/FileDrop/Message.d.ts +1 -1
- package/dist/types/components/FileDrop/index.d.ts +16 -16
- package/dist/types/components/FileUpload/index.d.ts +13 -13
- package/dist/types/components/Files/index.d.ts +4 -4
- package/dist/types/components/Files/types.d.ts +1 -1
- package/dist/types/components/Hint/index.d.ts +1 -2
- package/dist/types/components/Icon/index.d.ts +3 -3
- package/dist/types/components/Icon/styles.d.ts +3 -3
- package/dist/types/components/Icon/theme.d.ts +1 -1
- package/dist/types/components/Icons/index.d.ts +2 -2
- package/dist/types/components/IconsFont/index.d.ts +2 -3
- package/dist/types/components/IconsFont/styles.d.ts +1 -1
- package/dist/types/components/InputText/index.d.ts +1 -1
- package/dist/types/components/InputText/styles.d.ts +1 -1
- package/dist/types/components/Label/index.d.ts +2 -3
- package/dist/types/components/Link/index.d.ts +3 -3
- package/dist/types/components/Link/styles.d.ts +2 -2
- package/dist/types/components/Loader/index.d.ts +1 -1
- package/dist/types/components/Loader/styles.d.ts +2 -2
- package/dist/types/components/Loader/theme.d.ts +2 -2
- package/dist/types/components/Logo/Solutions.d.ts +1 -2
- package/dist/types/components/Logo/Symbol.d.ts +1 -2
- package/dist/types/components/Logo/Wui.d.ts +1 -2
- package/dist/types/components/Logo/index.d.ts +5 -5
- package/dist/types/components/Modal/Assets/Backdrop.d.ts +4 -5
- package/dist/types/components/Modal/Assets/Iframe.d.ts +1 -2
- package/dist/types/components/Modal/Assets/index.d.ts +5 -5
- package/dist/types/components/Modal/Assets/styles.d.ts +4 -4
- package/dist/types/components/Modal/Close.d.ts +1 -2
- package/dist/types/components/Modal/Footer.d.ts +1 -1
- package/dist/types/components/Modal/Header.d.ts +2 -2
- package/dist/types/components/Modal/index.d.ts +11 -11
- package/dist/types/components/Modal/styles.d.ts +4 -4
- package/dist/types/components/Modal/theme.d.ts +1 -1
- package/dist/types/components/Pagination/index.d.ts +2 -2
- package/dist/types/components/Pagination/utils.d.ts +1 -1
- package/dist/types/components/Popover/Arrow.d.ts +1 -2
- package/dist/types/components/Popover/Content.d.ts +2 -3
- package/dist/types/components/Popover/Popover.d.ts +4 -5
- package/dist/types/components/Popover/PopoverHover.d.ts +3 -4
- package/dist/types/components/Popover/Trigger.d.ts +1 -1
- package/dist/types/components/Popover/usePopover.d.ts +6 -6
- package/dist/types/components/Radio/index.d.ts +5 -5
- package/dist/types/components/Radio/styles.d.ts +2 -2
- package/dist/types/components/RadioGroup/index.d.ts +2 -2
- package/dist/types/components/RadioTab/index.d.ts +2 -2
- package/dist/types/components/RadioTab/styles.d.ts +9 -9
- package/dist/types/components/Search/index.d.ts +4 -4
- package/dist/types/components/Select/index.d.ts +9 -9
- package/dist/types/components/Select/styles.d.ts +4 -4
- package/dist/types/components/Select/utils.d.ts +4 -4
- package/dist/types/components/Shape/index.d.ts +1 -1
- package/dist/types/components/Shape/styles.d.ts +2 -2
- package/dist/types/components/Slider/Range.d.ts +3 -3
- package/dist/types/components/Slider/index.d.ts +2 -2
- package/dist/types/components/Slider/styles.d.ts +10 -10
- package/dist/types/components/Stack/index.d.ts +1 -1
- package/dist/types/components/Swiper/index.d.ts +16 -17
- package/dist/types/components/Swiper/styles.d.ts +55 -55
- package/dist/types/components/System/index.d.ts +10 -10
- package/dist/types/components/Table/index.d.ts +6 -7
- package/dist/types/components/Table/styles.d.ts +1 -1
- package/dist/types/components/Tabs/ActiveBar.d.ts +5 -5
- package/dist/types/components/Tabs/TabList.d.ts +2 -2
- package/dist/types/components/Tabs/TabPanel.d.ts +2 -2
- package/dist/types/components/Tabs/theme.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +2 -3
- package/dist/types/components/Tag/styles.d.ts +1 -1
- package/dist/types/components/Tag/theme.d.ts +2 -2
- package/dist/types/components/Text/index.d.ts +2 -2
- package/dist/types/components/Textarea/index.d.ts +1 -1
- package/dist/types/components/TimePicker/index.d.ts +2 -2
- package/dist/types/components/Toast/Growl.d.ts +1 -1
- package/dist/types/components/Toast/Snackbar.d.ts +1 -1
- package/dist/types/components/Toast/ToastWrapper.d.ts +4 -4
- package/dist/types/components/Toast/index.d.ts +5 -5
- package/dist/types/components/Toast/styles.d.ts +10 -10
- package/dist/types/components/Toast/theme.d.ts +1 -1
- package/dist/types/components/Toast/utils.d.ts +13 -13
- package/dist/types/components/Toggle/index.d.ts +2 -2
- package/dist/types/components/Toggle/theme.d.ts +4 -4
- package/dist/types/components/Tooltip/index.d.ts +3 -3
- package/dist/types/components/VariantIcon/index.d.ts +1 -1
- package/dist/types/components/VariantIcon/styles.d.ts +1 -1
- package/dist/types/components/VariantIcon/theme.d.ts +1 -1
- package/dist/types/theme/colors.d.ts +3 -3
- package/dist/types/theme/dark.d.ts +1 -1
- package/dist/types/theme/defaultFields.d.ts +5 -5
- package/dist/types/theme/fonts.d.ts +5 -5
- package/dist/types/theme/index.d.ts +31 -31
- package/dist/types/theme/screens.d.ts +7 -7
- package/dist/types/theme/space.d.ts +9 -9
- package/dist/types/utils/field-styles.d.ts +2 -2
- package/dist/types/utils/index.d.ts +2 -2
- package/dist/types/utils/ts-utils.d.ts +1 -1
- package/dist/types/utils/use-copy-text.d.ts +1 -1
- package/dist/types/utils/use-create-portal.d.ts +1 -1
- package/dist/types/utils/wrap-children.d.ts +1 -1
- package/dist/{use-viewport-CfklieD-.mjs → use-viewport-CWpjoHXy.mjs} +2 -2
- package/dist/utils.mjs +13 -13
- package/dist/wrap-children-CzmhoRzd.mjs +13 -0
- package/package.json +3 -27
- package/dist/LVA2YJMS-DDEmK0pp.mjs +0 -1482
- package/dist/hide-focus-rings-root-BNyva1yb.mjs +0 -14
- package/dist/index-B0gDDiFm.mjs +0 -66
- package/dist/index-B22SHR8h.mjs +0 -26
- package/dist/index-CQD9fgf_.mjs +0 -11
- package/dist/index-CmsWSKKs.mjs +0 -11
- package/dist/index-u1oHKa7X.mjs +0 -16
- package/dist/index-wr_b5GSV.mjs +0 -36
- package/dist/radio-group-RFyDp0KD.mjs +0 -51
- package/dist/wrap-children-aq69jtFP.mjs +0 -12
- package/dist/{downshift.esm-D0ns_SQs.mjs → downshift.esm-B7Jil1wW.mjs} +9 -9
package/dist/theme.mjs
CHANGED
|
@@ -148,20 +148,20 @@ var Z = /* @__PURE__ */ X();
|
|
|
148
148
|
const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
149
149
|
const { borderWidths: r, colors: e, fontSizes: i, radii: n, space: l, texts: d, transitions: a } = o;
|
|
150
150
|
return {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
backgroundColor: e["neutral-10"],
|
|
154
|
-
transition: a.medium,
|
|
155
|
-
border: `${r.sm} solid ${e["neutral-30"]}`,
|
|
156
|
-
borderRadius: n.md
|
|
151
|
+
content: {
|
|
152
|
+
fontSize: i.sm
|
|
157
153
|
},
|
|
158
154
|
icon: {
|
|
159
155
|
color: e["neutral-90"]
|
|
160
156
|
},
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
padding: l.lg,
|
|
158
|
+
title: d.h5,
|
|
159
|
+
wrapper: {
|
|
160
|
+
backgroundColor: e["neutral-10"],
|
|
161
|
+
border: `${r.sm} solid ${e["neutral-30"]}`,
|
|
162
|
+
borderRadius: n.md,
|
|
163
|
+
transition: a.medium
|
|
164
|
+
}
|
|
165
165
|
};
|
|
166
166
|
}, V = (o) => {
|
|
167
167
|
const { borderWidths: r, colors: e, fontSizes: i, fontWeights: n, radii: l, space: d } = o, a = (s) => ({
|
|
@@ -170,6 +170,17 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
170
170
|
color: e[`${s}-90`]
|
|
171
171
|
});
|
|
172
172
|
return {
|
|
173
|
+
ai: {
|
|
174
|
+
backgroundColor: e["violet-10"],
|
|
175
|
+
borderColor: e["violet-10"],
|
|
176
|
+
color: e["violet-90"]
|
|
177
|
+
},
|
|
178
|
+
beige: {
|
|
179
|
+
backgroundColor: e["beige-20"],
|
|
180
|
+
borderColor: e["beige-20"],
|
|
181
|
+
color: e["beige-80"]
|
|
182
|
+
},
|
|
183
|
+
danger: a("red"),
|
|
173
184
|
default: {
|
|
174
185
|
backgroundColor: e["neutral-10"],
|
|
175
186
|
borderColor: e["neutral-30"],
|
|
@@ -179,50 +190,39 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
179
190
|
color: e["neutral-80"],
|
|
180
191
|
fontSize: i.sm
|
|
181
192
|
},
|
|
193
|
+
info: a("blue"),
|
|
194
|
+
sizes: {
|
|
195
|
+
md: {
|
|
196
|
+
padding: d.xl
|
|
197
|
+
},
|
|
198
|
+
sm: {
|
|
199
|
+
padding: d.lg
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
success: a("green"),
|
|
182
203
|
title: {
|
|
183
204
|
default: {
|
|
184
205
|
color: e["neutral-90"],
|
|
185
206
|
fontWeight: n.medium
|
|
186
207
|
},
|
|
187
208
|
sizes: {
|
|
188
|
-
sm: {
|
|
189
|
-
marginBottom: d.xs
|
|
190
|
-
},
|
|
191
209
|
md: {
|
|
192
210
|
marginBottom: d.sm
|
|
211
|
+
},
|
|
212
|
+
sm: {
|
|
213
|
+
marginBottom: d.xs
|
|
193
214
|
}
|
|
194
215
|
}
|
|
195
216
|
},
|
|
196
|
-
|
|
197
|
-
warning: a("orange"),
|
|
198
|
-
info: a("blue"),
|
|
199
|
-
success: a("green"),
|
|
200
|
-
beige: {
|
|
201
|
-
backgroundColor: e["beige-20"],
|
|
202
|
-
borderColor: e["beige-20"],
|
|
203
|
-
color: e["beige-80"]
|
|
204
|
-
},
|
|
205
|
-
ai: {
|
|
206
|
-
backgroundColor: e["violet-10"],
|
|
207
|
-
color: e["violet-90"],
|
|
208
|
-
borderColor: e["violet-10"]
|
|
209
|
-
},
|
|
210
|
-
sizes: {
|
|
211
|
-
sm: {
|
|
212
|
-
padding: d.lg
|
|
213
|
-
},
|
|
214
|
-
md: {
|
|
215
|
-
padding: d.xl
|
|
216
|
-
}
|
|
217
|
-
}
|
|
217
|
+
warning: a("orange")
|
|
218
218
|
};
|
|
219
219
|
}, rr = (o) => {
|
|
220
220
|
const { colors: r, fontWeights: e, toRem: i } = o;
|
|
221
221
|
return {
|
|
222
222
|
sizes: {
|
|
223
|
-
sm: i(20),
|
|
224
|
-
md: i(30),
|
|
225
223
|
lg: i(40),
|
|
224
|
+
md: i(30),
|
|
225
|
+
sm: i(20),
|
|
226
226
|
xl: i(50),
|
|
227
227
|
xxl: i(60)
|
|
228
228
|
},
|
|
@@ -238,186 +238,100 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
238
238
|
...n.xs,
|
|
239
239
|
fontWeight: e.medium
|
|
240
240
|
},
|
|
241
|
-
variants: {
|
|
242
|
-
default: {
|
|
243
|
-
color: r["beige-70"],
|
|
244
|
-
backgroundColor: r["beige-30"]
|
|
245
|
-
},
|
|
246
|
-
primary: {
|
|
247
|
-
color: r["neutral-90"],
|
|
248
|
-
backgroundColor: r["primary-40"]
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
241
|
disabled: {
|
|
252
242
|
default: {
|
|
253
|
-
|
|
254
|
-
|
|
243
|
+
backgroundColor: r["beige-20"],
|
|
244
|
+
color: r["beige-40"]
|
|
255
245
|
},
|
|
256
246
|
primary: {
|
|
257
|
-
|
|
258
|
-
|
|
247
|
+
backgroundColor: r["primary-50"],
|
|
248
|
+
color: r["primary-80"]
|
|
259
249
|
}
|
|
260
250
|
},
|
|
261
251
|
sizes: {
|
|
252
|
+
md: {
|
|
253
|
+
borderRadius: l(14),
|
|
254
|
+
height: l(20),
|
|
255
|
+
padding: i.xs
|
|
256
|
+
},
|
|
262
257
|
sm: {
|
|
263
|
-
|
|
258
|
+
borderRadius: l(14),
|
|
264
259
|
height: l(16),
|
|
265
|
-
|
|
260
|
+
padding: i.xxs
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
variants: {
|
|
264
|
+
default: {
|
|
265
|
+
backgroundColor: r["beige-30"],
|
|
266
|
+
color: r["beige-70"]
|
|
266
267
|
},
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
borderRadius: l(14)
|
|
268
|
+
primary: {
|
|
269
|
+
backgroundColor: r["primary-40"],
|
|
270
|
+
color: r["neutral-90"]
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}, or = (o) => {
|
|
275
275
|
const { colors: r, space: e, texts: i } = o;
|
|
276
276
|
return {
|
|
277
|
-
list: {
|
|
278
|
-
...i["subtitle-sm"],
|
|
279
|
-
padding: `${e.sm} 0`
|
|
280
|
-
},
|
|
281
277
|
item: {
|
|
278
|
+
active: {
|
|
279
|
+
color: r["neutral-70"]
|
|
280
|
+
},
|
|
282
281
|
default: {
|
|
283
282
|
color: r["neutral-50"],
|
|
284
283
|
textDecoration: "none"
|
|
285
284
|
},
|
|
286
285
|
hover: {
|
|
287
286
|
color: r["neutral-70"]
|
|
288
|
-
},
|
|
289
|
-
active: {
|
|
290
|
-
color: r["neutral-70"]
|
|
291
287
|
}
|
|
292
288
|
},
|
|
289
|
+
list: {
|
|
290
|
+
...i["subtitle-sm"],
|
|
291
|
+
padding: `${e.sm} 0`
|
|
292
|
+
},
|
|
293
293
|
separator: {
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
color: r["neutral-50"],
|
|
295
|
+
padding: `0 ${e.xs}`
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
298
|
}, tr = (o) => {
|
|
299
299
|
const { colors: r, focus: e, fontWeights: i, radii: n, space: l, texts: d, toRem: a } = o, s = {
|
|
300
300
|
...d.xs,
|
|
301
|
+
borderRadius: n.md,
|
|
301
302
|
color: r["neutral-10"],
|
|
302
303
|
fontWeight: i.bold,
|
|
303
|
-
letterSpacing: 0
|
|
304
|
-
borderRadius: n.md
|
|
304
|
+
letterSpacing: 0
|
|
305
305
|
};
|
|
306
306
|
return {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
},
|
|
313
|
-
secondary: {
|
|
314
|
-
...s,
|
|
315
|
-
backgroundColor: r["neutral-90"],
|
|
316
|
-
borderColor: r["neutral-90"]
|
|
317
|
-
},
|
|
318
|
-
tertiary: {
|
|
319
|
-
...s,
|
|
320
|
-
color: r["neutral-90"],
|
|
321
|
-
backgroundColor: "transparent",
|
|
322
|
-
borderColor: r["neutral-90"]
|
|
323
|
-
},
|
|
324
|
-
ghost: {
|
|
325
|
-
...s,
|
|
326
|
-
color: r["neutral-90"],
|
|
327
|
-
backgroundColor: "transparent",
|
|
328
|
-
borderColor: "transparent"
|
|
329
|
-
},
|
|
330
|
-
danger: {
|
|
331
|
-
primary: {
|
|
332
|
-
color: r["neutral-10"],
|
|
333
|
-
backgroundColor: r["red-70"],
|
|
334
|
-
borderColor: r["red-70"]
|
|
335
|
-
},
|
|
336
|
-
tertiary: {
|
|
337
|
-
backgroundColor: "transparent",
|
|
338
|
-
color: r["red-80"],
|
|
339
|
-
borderColor: r["red-80"]
|
|
340
|
-
},
|
|
341
|
-
ghost: {
|
|
342
|
-
color: r["red-80"],
|
|
343
|
-
backgroundColor: "transparent",
|
|
344
|
-
borderColor: "transparent"
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
ai: {
|
|
348
|
-
primary: {
|
|
349
|
-
color: r["neutral-10"],
|
|
350
|
-
backgroundColor: r["violet-70"],
|
|
351
|
-
borderColor: "transparent"
|
|
352
|
-
},
|
|
353
|
-
tertiary: {
|
|
354
|
-
backgroundColor: "neutral-10",
|
|
355
|
-
color: r["violet-70"],
|
|
356
|
-
borderColor: r["violet-70"]
|
|
357
|
-
},
|
|
358
|
-
ghost: {
|
|
359
|
-
color: r["violet-70"],
|
|
360
|
-
backgroundColor: r["neutral-10"],
|
|
361
|
-
borderColor: "transparent"
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
hover: {
|
|
365
|
-
primary: {
|
|
366
|
-
backgroundColor: r["primary-30"],
|
|
367
|
-
borderColor: r["primary-30"]
|
|
368
|
-
},
|
|
369
|
-
secondary: {
|
|
370
|
-
backgroundColor: r["neutral-70"],
|
|
371
|
-
borderColor: "transparent"
|
|
372
|
-
},
|
|
373
|
-
tertiary: {
|
|
374
|
-
backgroundColor: m(r["neutral-90"], 0.1)
|
|
375
|
-
},
|
|
376
|
-
ghost: {
|
|
377
|
-
backgroundColor: m(r["neutral-90"], 0.1)
|
|
378
|
-
},
|
|
379
|
-
danger: {
|
|
307
|
+
active: {
|
|
308
|
+
ai: {
|
|
309
|
+
ghost: {
|
|
310
|
+
backgroundColor: r["violet-30"]
|
|
311
|
+
},
|
|
380
312
|
primary: {
|
|
381
|
-
backgroundColor: r["
|
|
382
|
-
borderColor: r["
|
|
313
|
+
backgroundColor: r["violet-40"],
|
|
314
|
+
borderColor: r["violet-40"]
|
|
383
315
|
},
|
|
384
316
|
tertiary: {
|
|
385
|
-
backgroundColor: r["
|
|
386
|
-
},
|
|
387
|
-
ghost: {
|
|
388
|
-
backgroundColor: r["red-10"]
|
|
317
|
+
backgroundColor: r["violet-30"]
|
|
389
318
|
}
|
|
390
319
|
},
|
|
391
|
-
|
|
320
|
+
danger: {
|
|
321
|
+
ghost: {
|
|
322
|
+
backgroundColor: r["red-20"]
|
|
323
|
+
},
|
|
392
324
|
primary: {
|
|
393
|
-
backgroundColor: r["
|
|
394
|
-
borderColor: "
|
|
325
|
+
backgroundColor: r["red-50"],
|
|
326
|
+
borderColor: r["red-50"]
|
|
395
327
|
},
|
|
396
328
|
tertiary: {
|
|
397
|
-
backgroundColor: r["
|
|
398
|
-
},
|
|
399
|
-
ghost: {
|
|
400
|
-
backgroundColor: r["violet-10"]
|
|
329
|
+
backgroundColor: r["red-20"]
|
|
401
330
|
}
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
focus: {
|
|
405
|
-
primary: { ...e(r["primary-20"]) },
|
|
406
|
-
secondary: { ...e(r["neutral-40"]) },
|
|
407
|
-
tertiary: { ...e(r["neutral-40"]) },
|
|
408
|
-
ghost: { ...e(r["neutral-40"]) },
|
|
409
|
-
danger: {
|
|
410
|
-
primary: { ...e(r["red-40"]) },
|
|
411
|
-
tertiary: { ...e(r["red-40"]) },
|
|
412
|
-
ghost: { ...e(r["red-40"]) }
|
|
413
331
|
},
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
ghost: { ...e(r["violet-50"]) }
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
active: {
|
|
332
|
+
ghost: {
|
|
333
|
+
backgroundColor: m(r["neutral-90"], 0.4)
|
|
334
|
+
},
|
|
421
335
|
primary: {
|
|
422
336
|
backgroundColor: r["primary-10"],
|
|
423
337
|
borderColor: r["primary-10"]
|
|
@@ -428,77 +342,163 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
428
342
|
},
|
|
429
343
|
tertiary: {
|
|
430
344
|
backgroundColor: m(r["neutral-90"], 0.4)
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
ai: {
|
|
348
|
+
ghost: {
|
|
349
|
+
backgroundColor: r["neutral-10"],
|
|
350
|
+
borderColor: "transparent",
|
|
351
|
+
color: r["violet-70"]
|
|
352
|
+
},
|
|
353
|
+
primary: {
|
|
354
|
+
backgroundColor: r["violet-70"],
|
|
355
|
+
borderColor: "transparent",
|
|
356
|
+
color: r["neutral-10"]
|
|
431
357
|
},
|
|
358
|
+
tertiary: {
|
|
359
|
+
backgroundColor: "neutral-10",
|
|
360
|
+
borderColor: r["violet-70"],
|
|
361
|
+
color: r["violet-70"]
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
danger: {
|
|
432
365
|
ghost: {
|
|
433
|
-
backgroundColor:
|
|
366
|
+
backgroundColor: "transparent",
|
|
367
|
+
borderColor: "transparent",
|
|
368
|
+
color: r["red-80"]
|
|
434
369
|
},
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
},
|
|
440
|
-
tertiary: {
|
|
441
|
-
backgroundColor: r["red-20"]
|
|
442
|
-
},
|
|
443
|
-
ghost: {
|
|
444
|
-
backgroundColor: r["red-20"]
|
|
445
|
-
}
|
|
370
|
+
primary: {
|
|
371
|
+
backgroundColor: r["red-70"],
|
|
372
|
+
borderColor: r["red-70"],
|
|
373
|
+
color: r["neutral-10"]
|
|
446
374
|
},
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
},
|
|
452
|
-
tertiary: {
|
|
453
|
-
backgroundColor: r["violet-30"]
|
|
454
|
-
},
|
|
455
|
-
ghost: {
|
|
456
|
-
backgroundColor: r["violet-30"]
|
|
457
|
-
}
|
|
375
|
+
tertiary: {
|
|
376
|
+
backgroundColor: "transparent",
|
|
377
|
+
borderColor: r["red-80"],
|
|
378
|
+
color: r["red-80"]
|
|
458
379
|
}
|
|
459
380
|
},
|
|
460
381
|
disabled: {
|
|
461
382
|
...s,
|
|
462
|
-
|
|
383
|
+
"&:focus": { ...e(r["beige-10"]) },
|
|
463
384
|
backgroundColor: r["beige-40"],
|
|
464
385
|
borderColor: r["beige-40"],
|
|
465
|
-
|
|
386
|
+
color: r["beige-70"]
|
|
466
387
|
},
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
388
|
+
focus: {
|
|
389
|
+
ai: {
|
|
390
|
+
ghost: { ...e(r["violet-50"]) },
|
|
391
|
+
primary: { ...e(r["violet-50"]) },
|
|
392
|
+
tertiary: { ...e(r["violet-50"]) }
|
|
471
393
|
},
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
394
|
+
danger: {
|
|
395
|
+
ghost: { ...e(r["red-40"]) },
|
|
396
|
+
primary: { ...e(r["red-40"]) },
|
|
397
|
+
tertiary: { ...e(r["red-40"]) }
|
|
475
398
|
},
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
399
|
+
ghost: { ...e(r["neutral-40"]) },
|
|
400
|
+
primary: { ...e(r["primary-20"]) },
|
|
401
|
+
secondary: { ...e(r["neutral-40"]) },
|
|
402
|
+
tertiary: { ...e(r["neutral-40"]) }
|
|
403
|
+
},
|
|
404
|
+
ghost: {
|
|
405
|
+
...s,
|
|
406
|
+
backgroundColor: "transparent",
|
|
407
|
+
borderColor: "transparent",
|
|
408
|
+
color: r["neutral-90"]
|
|
409
|
+
},
|
|
410
|
+
hover: {
|
|
411
|
+
ai: {
|
|
412
|
+
ghost: {
|
|
413
|
+
backgroundColor: r["violet-10"]
|
|
414
|
+
},
|
|
415
|
+
primary: {
|
|
416
|
+
backgroundColor: r["violet-60"],
|
|
417
|
+
borderColor: "transparent"
|
|
418
|
+
},
|
|
419
|
+
tertiary: {
|
|
420
|
+
backgroundColor: r["violet-10"]
|
|
421
|
+
}
|
|
481
422
|
},
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
423
|
+
danger: {
|
|
424
|
+
ghost: {
|
|
425
|
+
backgroundColor: r["red-10"]
|
|
426
|
+
},
|
|
427
|
+
primary: {
|
|
428
|
+
backgroundColor: r["red-60"],
|
|
429
|
+
borderColor: r["red-60"]
|
|
430
|
+
},
|
|
431
|
+
tertiary: {
|
|
432
|
+
backgroundColor: r["red-10"]
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
ghost: {
|
|
436
|
+
backgroundColor: m(r["neutral-90"], 0.1)
|
|
437
|
+
},
|
|
438
|
+
primary: {
|
|
439
|
+
backgroundColor: r["primary-30"],
|
|
440
|
+
borderColor: r["primary-30"]
|
|
441
|
+
},
|
|
442
|
+
secondary: {
|
|
443
|
+
backgroundColor: r["neutral-70"],
|
|
444
|
+
borderColor: "transparent"
|
|
445
|
+
},
|
|
446
|
+
tertiary: {
|
|
447
|
+
backgroundColor: m(r["neutral-90"], 0.1)
|
|
487
448
|
}
|
|
488
449
|
},
|
|
489
450
|
icon: {
|
|
490
|
-
only: {
|
|
491
|
-
xs: a(16),
|
|
492
|
-
sm: a(16),
|
|
493
|
-
md: a(16),
|
|
494
|
-
lg: a(24)
|
|
495
|
-
},
|
|
496
451
|
default: {
|
|
497
|
-
|
|
452
|
+
lg: a(16),
|
|
453
|
+
md: a(16),
|
|
498
454
|
sm: a(16),
|
|
455
|
+
xs: a(12)
|
|
456
|
+
},
|
|
457
|
+
only: {
|
|
458
|
+
lg: a(24),
|
|
499
459
|
md: a(16),
|
|
500
|
-
|
|
460
|
+
sm: a(16),
|
|
461
|
+
xs: a(16)
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
primary: {
|
|
465
|
+
...s,
|
|
466
|
+
backgroundColor: r["primary-40"],
|
|
467
|
+
borderColor: r["primary-40"],
|
|
468
|
+
color: o.colors["neutral-90"]
|
|
469
|
+
},
|
|
470
|
+
secondary: {
|
|
471
|
+
...s,
|
|
472
|
+
backgroundColor: r["neutral-90"],
|
|
473
|
+
borderColor: r["neutral-90"]
|
|
474
|
+
},
|
|
475
|
+
sizes: {
|
|
476
|
+
lg: {
|
|
477
|
+
...d.sm,
|
|
478
|
+
fontWeight: i.bold,
|
|
479
|
+
height: a(48),
|
|
480
|
+
padding: `${l.md} ${l.xl}`
|
|
481
|
+
},
|
|
482
|
+
md: {
|
|
483
|
+
...d.sm,
|
|
484
|
+
fontWeight: i.bold,
|
|
485
|
+
height: a(40),
|
|
486
|
+
padding: `${l.sm} ${l.lg}`
|
|
487
|
+
},
|
|
488
|
+
sm: {
|
|
489
|
+
height: a(32),
|
|
490
|
+
padding: `${l.sm} ${l.md}`
|
|
491
|
+
},
|
|
492
|
+
xs: {
|
|
493
|
+
height: a(24),
|
|
494
|
+
padding: `${l.xs} ${l.sm}`
|
|
501
495
|
}
|
|
496
|
+
},
|
|
497
|
+
tertiary: {
|
|
498
|
+
...s,
|
|
499
|
+
backgroundColor: "transparent",
|
|
500
|
+
borderColor: r["neutral-90"],
|
|
501
|
+
color: r["neutral-90"]
|
|
502
502
|
}
|
|
503
503
|
};
|
|
504
504
|
}, nr = (o) => {
|
|
@@ -506,19 +506,37 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
506
506
|
return {
|
|
507
507
|
default: {
|
|
508
508
|
backgroundColor: e["neutral-10"],
|
|
509
|
+
borderColor: e["neutral-30"],
|
|
509
510
|
borderStyle: "solid",
|
|
510
|
-
borderWidth: r.sm
|
|
511
|
-
borderColor: e["neutral-30"]
|
|
511
|
+
borderWidth: r.sm
|
|
512
512
|
}
|
|
513
513
|
};
|
|
514
514
|
}, ir = (o) => {
|
|
515
|
+
const { colors: r, radii: e, toRem: i } = o;
|
|
516
|
+
return {
|
|
517
|
+
checked: {
|
|
518
|
+
backgroundColor: r["primary-40"],
|
|
519
|
+
borderColor: r["primary-40"],
|
|
520
|
+
color: r["neutral-90"]
|
|
521
|
+
},
|
|
522
|
+
default: {
|
|
523
|
+
borderRadius: e.sm,
|
|
524
|
+
flexShrink: 0,
|
|
525
|
+
height: i(16),
|
|
526
|
+
width: i(16)
|
|
527
|
+
},
|
|
528
|
+
disabled: {
|
|
529
|
+
borderColor: r["beige-60"]
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
}, ar = (o) => {
|
|
515
533
|
const { colors: r, fontWeights: e } = o;
|
|
516
534
|
return {
|
|
517
535
|
item: {
|
|
518
536
|
selected: {
|
|
537
|
+
backgroundColor: r["primary-40"],
|
|
519
538
|
color: r["neutral-90"],
|
|
520
539
|
fontWeight: e.bold,
|
|
521
|
-
backgroundColor: r["primary-40"],
|
|
522
540
|
outline: "none"
|
|
523
541
|
},
|
|
524
542
|
today: {
|
|
@@ -527,24 +545,6 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
527
545
|
}
|
|
528
546
|
}
|
|
529
547
|
};
|
|
530
|
-
}, ar = (o) => {
|
|
531
|
-
const { colors: r, radii: e, toRem: i } = o;
|
|
532
|
-
return {
|
|
533
|
-
default: {
|
|
534
|
-
width: i(16),
|
|
535
|
-
height: i(16),
|
|
536
|
-
flexShrink: 0,
|
|
537
|
-
borderRadius: e.sm
|
|
538
|
-
},
|
|
539
|
-
disabled: {
|
|
540
|
-
borderColor: r["beige-60"]
|
|
541
|
-
},
|
|
542
|
-
checked: {
|
|
543
|
-
color: r["neutral-90"],
|
|
544
|
-
backgroundColor: r["primary-40"],
|
|
545
|
-
borderColor: r["primary-40"]
|
|
546
|
-
}
|
|
547
|
-
};
|
|
548
548
|
}, lr = (o) => {
|
|
549
549
|
const { colors: r, space: e, toRem: i } = o;
|
|
550
550
|
return {
|
|
@@ -552,51 +552,49 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
552
552
|
backgroundColor: r.overlay,
|
|
553
553
|
zIndex: 999
|
|
554
554
|
},
|
|
555
|
-
default: {
|
|
556
|
-
zIndex: 999
|
|
557
|
-
},
|
|
558
555
|
closeButton: {},
|
|
559
|
-
title: {
|
|
560
|
-
margin: 0,
|
|
561
|
-
backgroundColor: r["neutral-10"],
|
|
562
|
-
padding: `${e.xl} ${e["5xl"]} ${e.xl} ${e.xl}`
|
|
563
|
-
},
|
|
564
556
|
content: {
|
|
565
557
|
padding: `${e.xl}`
|
|
566
558
|
},
|
|
559
|
+
default: {
|
|
560
|
+
zIndex: 999
|
|
561
|
+
},
|
|
567
562
|
footer: {
|
|
568
563
|
backgroundColor: r["neutral-10"],
|
|
569
564
|
padding: `${e.xl}`
|
|
570
565
|
},
|
|
571
566
|
sizes: {
|
|
572
567
|
horizontal: {
|
|
573
|
-
|
|
568
|
+
lg: { width: i(680) },
|
|
574
569
|
md: { width: i(550) },
|
|
575
|
-
|
|
570
|
+
sm: { width: i(400) }
|
|
576
571
|
},
|
|
577
572
|
vertical: {
|
|
578
|
-
|
|
573
|
+
lg: { height: i(680) },
|
|
579
574
|
md: { height: i(550) },
|
|
580
|
-
|
|
575
|
+
sm: { height: i(400) }
|
|
581
576
|
}
|
|
577
|
+
},
|
|
578
|
+
title: {
|
|
579
|
+
backgroundColor: r["neutral-10"],
|
|
580
|
+
margin: 0,
|
|
581
|
+
padding: `${e.xl} ${e["5xl"]} ${e.xl} ${e.xl}`
|
|
582
582
|
}
|
|
583
583
|
};
|
|
584
584
|
}, dr = (o) => {
|
|
585
585
|
const { colors: r, fontSizes: e, radii: i, toRem: n } = o, l = r["beige-30"];
|
|
586
586
|
return {
|
|
587
587
|
inner: {
|
|
588
|
+
borderRadius: i.md,
|
|
588
589
|
fontSize: e.sm,
|
|
589
|
-
minWidth: n(130)
|
|
590
|
-
borderRadius: i.md
|
|
590
|
+
minWidth: n(130)
|
|
591
591
|
},
|
|
592
592
|
item: {
|
|
593
|
-
|
|
594
|
-
color: r["beige-70"],
|
|
595
|
-
"&:hover": {
|
|
593
|
+
"&:focus": {
|
|
596
594
|
backgroundColor: r["beige-30"],
|
|
597
595
|
color: r["neutral-90"]
|
|
598
596
|
},
|
|
599
|
-
"&:
|
|
597
|
+
"&:hover": {
|
|
600
598
|
backgroundColor: r["beige-30"],
|
|
601
599
|
color: r["neutral-90"]
|
|
602
600
|
},
|
|
@@ -604,7 +602,9 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
604
602
|
backgroundColor: "transparent",
|
|
605
603
|
color: r["beige-40"],
|
|
606
604
|
cursor: "not-allowed"
|
|
607
|
-
}
|
|
605
|
+
},
|
|
606
|
+
backgroundColor: "transparent",
|
|
607
|
+
color: r["beige-70"]
|
|
608
608
|
},
|
|
609
609
|
separator: {
|
|
610
610
|
backgroundColor: l
|
|
@@ -614,25 +614,25 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
614
614
|
const { colors: r, toRem: e } = o;
|
|
615
615
|
return {
|
|
616
616
|
default: {
|
|
617
|
-
|
|
618
|
-
|
|
617
|
+
borderStyle: "dashed",
|
|
618
|
+
minHeight: e(200)
|
|
619
619
|
},
|
|
620
|
-
dragAccept: {},
|
|
621
|
-
dragReject: {},
|
|
622
620
|
disabled: {
|
|
623
621
|
backgroundColor: r["beige-30"]
|
|
624
|
-
}
|
|
622
|
+
},
|
|
623
|
+
dragAccept: {},
|
|
624
|
+
dragReject: {}
|
|
625
625
|
};
|
|
626
626
|
}, cr = (o) => {
|
|
627
627
|
const { colors: r, texts: e } = o;
|
|
628
628
|
return {
|
|
629
|
+
danger: {
|
|
630
|
+
color: r["red-70"]
|
|
631
|
+
},
|
|
629
632
|
default: {
|
|
630
633
|
...e.xs,
|
|
631
634
|
color: r["neutral-60"]
|
|
632
635
|
},
|
|
633
|
-
danger: {
|
|
634
|
-
color: r["red-70"]
|
|
635
|
-
},
|
|
636
636
|
success: {
|
|
637
637
|
color: r["green-70"]
|
|
638
638
|
},
|
|
@@ -640,14 +640,21 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
640
640
|
color: r["orange-70"]
|
|
641
641
|
}
|
|
642
642
|
};
|
|
643
|
-
}, gr = (o) => {
|
|
643
|
+
}, gr = ({ toRem: o }) => ({
|
|
644
|
+
lg: o(32),
|
|
645
|
+
md: o(24),
|
|
646
|
+
sm: o(16),
|
|
647
|
+
xl: o(48),
|
|
648
|
+
xs: o(12),
|
|
649
|
+
xxl: o(64)
|
|
650
|
+
}), ur = (o) => {
|
|
644
651
|
const { colors: r, fontSizes: e, fontWeights: i } = o;
|
|
645
652
|
return {
|
|
646
653
|
color: r["neutral-60"],
|
|
647
654
|
fontSize: e.sm,
|
|
648
655
|
fontWeight: i.medium
|
|
649
656
|
};
|
|
650
|
-
},
|
|
657
|
+
}, br = (o) => {
|
|
651
658
|
const { colors: r, fontWeights: e, icons: i, space: n, transitions: l } = o;
|
|
652
659
|
return {
|
|
653
660
|
default: {
|
|
@@ -655,12 +662,9 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
655
662
|
fontWeight: e.medium,
|
|
656
663
|
transition: l.medium
|
|
657
664
|
},
|
|
658
|
-
withExternalLink: {
|
|
659
|
-
backgroundSize: `calc(100% - ${i.sm} - ${n.sm}) 50%`
|
|
660
|
-
},
|
|
661
665
|
disabled: {
|
|
662
|
-
|
|
663
|
-
|
|
666
|
+
backgroundImage: `linear-gradient(0deg, ${r["neutral-30"]}, ${r["neutral-30"]} 100%)`,
|
|
667
|
+
color: r["neutral-50"]
|
|
664
668
|
},
|
|
665
669
|
primary: {
|
|
666
670
|
default: {},
|
|
@@ -673,20 +677,16 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
673
677
|
hover: {
|
|
674
678
|
color: r["neutral-10"]
|
|
675
679
|
}
|
|
680
|
+
},
|
|
681
|
+
withExternalLink: {
|
|
682
|
+
backgroundSize: `calc(100% - ${i.sm} - ${n.sm}) 50%`
|
|
676
683
|
}
|
|
677
684
|
};
|
|
678
|
-
},
|
|
679
|
-
|
|
680
|
-
sm: o(10),
|
|
685
|
+
}, mr = ({ toRem: o }) => ({
|
|
686
|
+
lg: o(20),
|
|
681
687
|
md: o(15),
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
xs: o(12),
|
|
685
|
-
sm: o(16),
|
|
686
|
-
md: o(24),
|
|
687
|
-
lg: o(32),
|
|
688
|
-
xl: o(48),
|
|
689
|
-
xxl: o(64)
|
|
688
|
+
sm: o(10),
|
|
689
|
+
xs: o(8)
|
|
690
690
|
}), hr = (o) => {
|
|
691
691
|
const { colors: r, radii: e, space: i, toRem: n } = o;
|
|
692
692
|
return {
|
|
@@ -694,98 +694,102 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
694
694
|
backgroundColor: r.overlay,
|
|
695
695
|
zIndex: 999
|
|
696
696
|
},
|
|
697
|
-
default: {
|
|
698
|
-
zIndex: 999,
|
|
699
|
-
borderRadius: e.md
|
|
700
|
-
},
|
|
701
|
-
header: {
|
|
702
|
-
backgroundColor: r["neutral-10"],
|
|
703
|
-
borderTopLeftRadius: e.md,
|
|
704
|
-
borderTopRightRadius: e.md,
|
|
705
|
-
paddingTop: i.xxl,
|
|
706
|
-
paddingRight: i["3xl"],
|
|
707
|
-
paddingBottom: i.xxl,
|
|
708
|
-
paddingLeft: i.xxl,
|
|
709
|
-
subtitle: {
|
|
710
|
-
color: r["neutral-70"],
|
|
711
|
-
variant: "sm",
|
|
712
|
-
margin: 0
|
|
713
|
-
}
|
|
714
|
-
},
|
|
715
697
|
body: {
|
|
716
698
|
color: r["neutral-90"],
|
|
717
|
-
paddingRight: i["3xl"],
|
|
718
699
|
paddingBottom: i.xxl,
|
|
719
|
-
paddingLeft: i.xxl
|
|
700
|
+
paddingLeft: i.xxl,
|
|
701
|
+
paddingRight: i["3xl"]
|
|
702
|
+
},
|
|
703
|
+
cover: {},
|
|
704
|
+
default: {
|
|
705
|
+
borderRadius: e.md,
|
|
706
|
+
zIndex: 999
|
|
720
707
|
},
|
|
721
708
|
footer: {
|
|
722
709
|
backgroundColor: r["neutral-10"],
|
|
723
|
-
borderTop: `solid ${r["neutral-30"]}`,
|
|
724
710
|
borderBottomLeftRadius: e.md,
|
|
725
711
|
borderBottomRightRadius: e.md,
|
|
712
|
+
borderTop: `solid ${r["neutral-30"]}`,
|
|
726
713
|
children: {
|
|
727
|
-
|
|
714
|
+
paddingBottom: i.xl,
|
|
728
715
|
paddingLeft: i.xxl,
|
|
729
|
-
|
|
730
|
-
|
|
716
|
+
paddingRight: i.xxl,
|
|
717
|
+
paddingTop: i.lg
|
|
731
718
|
},
|
|
732
719
|
information: {
|
|
733
720
|
backgroundColor: r["beige-20"],
|
|
734
|
-
|
|
721
|
+
paddingBottom: i.xxl,
|
|
735
722
|
paddingLeft: i.xxl,
|
|
736
|
-
|
|
737
|
-
|
|
723
|
+
paddingRight: i.xxl,
|
|
724
|
+
paddingTop: i.xl
|
|
738
725
|
}
|
|
739
726
|
},
|
|
740
727
|
gutter: n(32),
|
|
728
|
+
header: {
|
|
729
|
+
backgroundColor: r["neutral-10"],
|
|
730
|
+
borderTopLeftRadius: e.md,
|
|
731
|
+
borderTopRightRadius: e.md,
|
|
732
|
+
paddingBottom: i.xxl,
|
|
733
|
+
paddingLeft: i.xxl,
|
|
734
|
+
paddingRight: i["3xl"],
|
|
735
|
+
paddingTop: i.xxl,
|
|
736
|
+
subtitle: {
|
|
737
|
+
color: r["neutral-70"],
|
|
738
|
+
margin: 0,
|
|
739
|
+
variant: "sm"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
741
742
|
sizes: {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
sm: {
|
|
746
|
-
width: n(450)
|
|
743
|
+
auto: {},
|
|
744
|
+
lg: {
|
|
745
|
+
width: n(730)
|
|
747
746
|
},
|
|
748
747
|
md: {
|
|
749
748
|
width: n(600)
|
|
750
749
|
},
|
|
751
|
-
|
|
752
|
-
width: n(
|
|
750
|
+
sm: {
|
|
751
|
+
width: n(450)
|
|
753
752
|
},
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
753
|
+
xs: {
|
|
754
|
+
width: n(320)
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
757
|
};
|
|
758
758
|
}, pr = (o) => {
|
|
759
759
|
const { colors: r, focus: e, fontSizes: i, fontWeights: n, toRem: l } = o;
|
|
760
760
|
return {
|
|
761
|
+
active: {
|
|
762
|
+
"&:hover, &:focus": {
|
|
763
|
+
backgroundColor: r["neutral-90"]
|
|
764
|
+
},
|
|
765
|
+
backgroundColor: r["neutral-90"],
|
|
766
|
+
color: r["neutral-10"]
|
|
767
|
+
},
|
|
761
768
|
default: {
|
|
762
|
-
width: l(32),
|
|
763
|
-
height: l(32),
|
|
764
769
|
color: r["neutral-90"],
|
|
770
|
+
fontSize: i.xs,
|
|
765
771
|
fontWeight: n.bold,
|
|
766
|
-
|
|
772
|
+
height: l(32),
|
|
773
|
+
width: l(32)
|
|
774
|
+
},
|
|
775
|
+
disabled: {
|
|
776
|
+
backgroundColor: r["beige-40"],
|
|
777
|
+
color: r["beige-70"]
|
|
767
778
|
},
|
|
768
779
|
item: {
|
|
780
|
+
"&:focus": { ...e(r["neutral-60"]) },
|
|
769
781
|
"&:hover, &:focus": {
|
|
770
782
|
backgroundColor: r["neutral-30"]
|
|
771
|
-
},
|
|
772
|
-
"&:focus": { ...e(r["neutral-60"]) }
|
|
773
|
-
},
|
|
774
|
-
active: {
|
|
775
|
-
backgroundColor: r["neutral-90"],
|
|
776
|
-
color: r["neutral-10"],
|
|
777
|
-
"&:hover, &:focus": {
|
|
778
|
-
backgroundColor: r["neutral-90"]
|
|
779
783
|
}
|
|
780
|
-
},
|
|
781
|
-
disabled: {
|
|
782
|
-
backgroundColor: r["beige-40"],
|
|
783
|
-
color: r["beige-70"]
|
|
784
784
|
}
|
|
785
785
|
};
|
|
786
786
|
}, fr = (o) => {
|
|
787
787
|
const { borderWidths: r, colors: e, space: i, texts: n, toRem: l } = o;
|
|
788
788
|
return {
|
|
789
|
+
content: {
|
|
790
|
+
display: "block",
|
|
791
|
+
padding: i.md
|
|
792
|
+
},
|
|
789
793
|
default: {
|
|
790
794
|
...n.sm,
|
|
791
795
|
backgroundColor: e["neutral-90"],
|
|
@@ -793,49 +797,45 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
793
797
|
maxWidth: l(700),
|
|
794
798
|
zIndex: 1
|
|
795
799
|
},
|
|
796
|
-
content: {
|
|
797
|
-
display: "block",
|
|
798
|
-
padding: i.md
|
|
799
|
-
},
|
|
800
800
|
title: {
|
|
801
801
|
...n.h6,
|
|
802
|
-
padding: `${i.md} ${i.md} ${i.xs}`,
|
|
803
|
-
color: e["neutral-10"],
|
|
804
802
|
borderBottomColor: e["neutral-70"],
|
|
803
|
+
borderBottomStyle: "solid",
|
|
805
804
|
borderBottomWidth: r.sm,
|
|
806
|
-
|
|
805
|
+
color: e["neutral-10"],
|
|
806
|
+
padding: `${i.md} ${i.md} ${i.xs}`
|
|
807
807
|
}
|
|
808
808
|
};
|
|
809
809
|
}, xr = (o) => {
|
|
810
810
|
const { colors: r, toRem: e } = o;
|
|
811
811
|
return {
|
|
812
|
-
default: {
|
|
813
|
-
width: e(16),
|
|
814
|
-
height: e(16)
|
|
815
|
-
},
|
|
816
812
|
checked: {
|
|
817
|
-
|
|
818
|
-
|
|
813
|
+
borderColor: r["primary-40"],
|
|
814
|
+
color: r["neutral-90"]
|
|
819
815
|
},
|
|
820
816
|
checkedCenteredColor: {
|
|
821
817
|
default: r["primary-40"],
|
|
822
818
|
disabled: r["beige-60"]
|
|
819
|
+
},
|
|
820
|
+
default: {
|
|
821
|
+
height: e(16),
|
|
822
|
+
width: e(16)
|
|
823
823
|
}
|
|
824
824
|
};
|
|
825
825
|
}, Cr = (o) => {
|
|
826
826
|
const { colors: r } = o;
|
|
827
827
|
return {
|
|
828
|
-
default: {
|
|
829
|
-
"&:hover": {
|
|
830
|
-
backgroundColor: r["beige-30"]
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
828
|
checked: {
|
|
829
|
+
"&:hover": {
|
|
830
|
+
backgroundColor: r["primary-30"]
|
|
831
|
+
},
|
|
834
832
|
backgroundColor: r["primary-40"],
|
|
835
|
-
color: o.colors["neutral-90"],
|
|
836
833
|
borderColor: r["primary-40"],
|
|
834
|
+
color: o.colors["neutral-90"]
|
|
835
|
+
},
|
|
836
|
+
default: {
|
|
837
837
|
"&:hover": {
|
|
838
|
-
backgroundColor: r["
|
|
838
|
+
backgroundColor: r["beige-30"]
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
};
|
|
@@ -846,13 +846,14 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
846
846
|
backgroundColor: e["beige-40"],
|
|
847
847
|
backgroundImage: `linear-gradient(${e["primary-40"]}, ${e["primary-40"]})`
|
|
848
848
|
},
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
849
|
+
disabled: {
|
|
850
|
+
backgroundImage: `linear-gradient(${e["beige-60"]}, ${e["beige-60"]})`
|
|
851
|
+
},
|
|
852
|
+
focused: {
|
|
853
853
|
disabled: {
|
|
854
|
-
|
|
855
|
-
}
|
|
854
|
+
outline: "none"
|
|
855
|
+
},
|
|
856
|
+
outline: `${r.md} solid ${e["primary-40"]}`
|
|
856
857
|
},
|
|
857
858
|
output: {
|
|
858
859
|
tooltip: {
|
|
@@ -861,16 +862,15 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
861
862
|
color: e["neutral-10"]
|
|
862
863
|
}
|
|
863
864
|
},
|
|
864
|
-
|
|
865
|
-
outline: `${r.md} solid ${e["primary-40"]}`,
|
|
865
|
+
rangeInput: {
|
|
866
866
|
disabled: {
|
|
867
|
-
|
|
867
|
+
backgroundColor: e["beige-60"]
|
|
868
868
|
}
|
|
869
869
|
},
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
870
|
+
selector: {
|
|
871
|
+
backgroundColor: e["neutral-90"],
|
|
872
|
+
border: `${r.md} solid`,
|
|
873
|
+
borderRadius: "50%",
|
|
874
874
|
disabled: {
|
|
875
875
|
backgroundColor: e["beige-60"]
|
|
876
876
|
}
|
|
@@ -889,31 +889,30 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
889
889
|
}, Fr = (o) => {
|
|
890
890
|
const { borderWidths: r, colors: e, fontWeights: i, space: n } = o;
|
|
891
891
|
return {
|
|
892
|
+
td: {
|
|
893
|
+
padding: n.xl,
|
|
894
|
+
textAlign: "left"
|
|
895
|
+
},
|
|
892
896
|
th: {
|
|
893
|
-
color: e["neutral-60"],
|
|
894
|
-
fontWeight: i.medium,
|
|
895
|
-
textAlign: "left",
|
|
896
897
|
borderBottomColor: e["neutral-90"],
|
|
898
|
+
borderBottomStyle: "solid",
|
|
897
899
|
borderBottomWidth: r.sm,
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
textAlign: "left",
|
|
902
|
-
padding: n.xl
|
|
900
|
+
color: e["neutral-60"],
|
|
901
|
+
fontWeight: i.medium,
|
|
902
|
+
textAlign: "left"
|
|
903
903
|
},
|
|
904
904
|
tr: {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
borderBottomWidth: r.sm,
|
|
908
|
-
borderBottomStyle: "solid"
|
|
905
|
+
clickable: {
|
|
906
|
+
cursor: "pointer"
|
|
909
907
|
},
|
|
910
908
|
danger: {
|
|
911
909
|
backgroundColor: e["red-10"],
|
|
912
910
|
color: e["red-70"]
|
|
913
911
|
},
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
912
|
+
default: {
|
|
913
|
+
borderBottomColor: e["neutral-30"],
|
|
914
|
+
borderBottomStyle: "solid",
|
|
915
|
+
borderBottomWidth: r.sm
|
|
917
916
|
},
|
|
918
917
|
info: {
|
|
919
918
|
backgroundColor: e["blue-10"],
|
|
@@ -923,83 +922,84 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
923
922
|
backgroundColor: e["green-10"],
|
|
924
923
|
color: e["green-70"]
|
|
925
924
|
},
|
|
926
|
-
|
|
927
|
-
|
|
925
|
+
warning: {
|
|
926
|
+
backgroundColor: e["orange-10"],
|
|
927
|
+
color: e["orange-80"]
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
930
|
};
|
|
931
931
|
}, vr = (o) => {
|
|
932
932
|
const { borderWidths: r, colors: e, fontSizes: i, fontWeights: n, lineHeights: l, space: d } = o;
|
|
933
933
|
return {
|
|
934
|
-
|
|
934
|
+
activeBar: {
|
|
935
935
|
horizontal: {
|
|
936
|
-
|
|
936
|
+
background: e["primary-40"],
|
|
937
|
+
height: r.md
|
|
937
938
|
},
|
|
938
939
|
vertical: {
|
|
939
|
-
|
|
940
|
+
background: e["primary-40"],
|
|
941
|
+
width: r.md
|
|
940
942
|
}
|
|
941
943
|
},
|
|
944
|
+
badge: {
|
|
945
|
+
maxHeight: d.lg
|
|
946
|
+
},
|
|
947
|
+
icon: {
|
|
948
|
+
maxHeight: d.lg,
|
|
949
|
+
maxWidth: d.lg
|
|
950
|
+
},
|
|
942
951
|
item: {
|
|
952
|
+
active: {
|
|
953
|
+
color: e["neutral-90"]
|
|
954
|
+
},
|
|
943
955
|
default: {
|
|
944
956
|
color: e["neutral-70"],
|
|
945
957
|
fontWeight: n.medium,
|
|
946
|
-
|
|
947
|
-
|
|
958
|
+
lineHeight: l.md,
|
|
959
|
+
textDecoration: "none"
|
|
948
960
|
},
|
|
949
|
-
|
|
950
|
-
color: e["neutral-
|
|
961
|
+
disabled: {
|
|
962
|
+
color: e["neutral-50"]
|
|
951
963
|
},
|
|
952
964
|
focus: {
|
|
953
965
|
color: e["neutral-90"]
|
|
954
966
|
},
|
|
955
|
-
disabled: {
|
|
956
|
-
color: e["neutral-50"]
|
|
957
|
-
},
|
|
958
967
|
size: {
|
|
959
|
-
sm: {
|
|
960
|
-
fontSize: i.sm
|
|
961
|
-
},
|
|
962
968
|
md: {
|
|
963
969
|
fontSize: i.md
|
|
970
|
+
},
|
|
971
|
+
sm: {
|
|
972
|
+
fontSize: i.sm
|
|
964
973
|
}
|
|
965
974
|
}
|
|
966
975
|
},
|
|
967
976
|
panel: {
|
|
968
|
-
|
|
977
|
+
horizontal: {
|
|
969
978
|
"&:focus": {
|
|
970
979
|
outline: "none"
|
|
971
|
-
}
|
|
980
|
+
},
|
|
981
|
+
marginTop: d.xl
|
|
972
982
|
},
|
|
973
|
-
|
|
974
|
-
marginTop: d.xl,
|
|
983
|
+
vertical: {
|
|
975
984
|
"&:focus": {
|
|
976
985
|
outline: "none"
|
|
977
986
|
}
|
|
978
987
|
}
|
|
979
988
|
},
|
|
980
|
-
|
|
989
|
+
tabsBorder: {
|
|
981
990
|
horizontal: {
|
|
982
|
-
|
|
983
|
-
height: r.md
|
|
991
|
+
boxShadow: `inset 0 -${r.sm} 0 ${e["neutral-30"]}`
|
|
984
992
|
},
|
|
985
993
|
vertical: {
|
|
986
|
-
|
|
987
|
-
width: r.md
|
|
994
|
+
boxShadow: `inset -${r.sm} 0 0 ${e["neutral-30"]}`
|
|
988
995
|
}
|
|
989
|
-
},
|
|
990
|
-
icon: {
|
|
991
|
-
maxWidth: d.lg,
|
|
992
|
-
maxHeight: d.lg
|
|
993
|
-
},
|
|
994
|
-
badge: {
|
|
995
|
-
maxHeight: d.lg
|
|
996
996
|
}
|
|
997
997
|
};
|
|
998
998
|
}, wr = (o) => {
|
|
999
999
|
const { colors: r, fontSizes: e, fontWeights: i, radii: n, space: l, toRem: d } = o, a = {
|
|
1000
|
-
|
|
1000
|
+
md: d(32),
|
|
1001
1001
|
sm: d(24),
|
|
1002
|
-
|
|
1002
|
+
xs: d(20)
|
|
1003
1003
|
}, s = (g) => ({
|
|
1004
1004
|
backgroundColor: r[`${g}-10`],
|
|
1005
1005
|
color: r[`${g}-90`]
|
|
@@ -1013,93 +1013,93 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1013
1013
|
});
|
|
1014
1014
|
return {
|
|
1015
1015
|
default: {
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
},
|
|
1019
|
-
variants: {
|
|
1020
|
-
default: {
|
|
1021
|
-
backgroundColor: r["beige-20"],
|
|
1022
|
-
color: r["beige-90"]
|
|
1023
|
-
},
|
|
1024
|
-
primary: {
|
|
1025
|
-
color: o.colors["neutral-90"],
|
|
1026
|
-
backgroundColor: r["primary-40"]
|
|
1027
|
-
},
|
|
1028
|
-
success: s("green"),
|
|
1029
|
-
danger: s("red"),
|
|
1030
|
-
warning: s("orange"),
|
|
1031
|
-
info: s("blue"),
|
|
1032
|
-
teal: c("teal"),
|
|
1033
|
-
blue: c("blue"),
|
|
1034
|
-
orange: c("orange"),
|
|
1035
|
-
pink: c("pink"),
|
|
1036
|
-
green: c("green"),
|
|
1037
|
-
violet: c("violet"),
|
|
1038
|
-
ai: {
|
|
1039
|
-
backgroundColor: r["violet-20"],
|
|
1040
|
-
color: r["violet-90"]
|
|
1041
|
-
}
|
|
1016
|
+
borderRadius: n.md,
|
|
1017
|
+
fontWeight: i.medium
|
|
1042
1018
|
},
|
|
1043
1019
|
hover: {
|
|
1020
|
+
ai: {
|
|
1021
|
+
backgroundColor: r["violet-30"]
|
|
1022
|
+
},
|
|
1023
|
+
blue: b("blue"),
|
|
1024
|
+
danger: t("red"),
|
|
1044
1025
|
default: {
|
|
1045
1026
|
backgroundColor: r["beige-30"]
|
|
1046
1027
|
},
|
|
1028
|
+
green: b("green"),
|
|
1029
|
+
info: t("blue"),
|
|
1030
|
+
orange: b("orange"),
|
|
1031
|
+
pink: b("pink"),
|
|
1047
1032
|
primary: {
|
|
1048
1033
|
backgroundColor: r["primary-50"]
|
|
1049
1034
|
},
|
|
1050
1035
|
success: t("green"),
|
|
1051
|
-
danger: t("red"),
|
|
1052
|
-
warning: t("orange"),
|
|
1053
|
-
info: t("blue"),
|
|
1054
1036
|
teal: b("teal"),
|
|
1055
|
-
blue: b("blue"),
|
|
1056
|
-
orange: b("orange"),
|
|
1057
|
-
pink: b("pink"),
|
|
1058
|
-
green: b("green"),
|
|
1059
1037
|
violet: b("violet"),
|
|
1060
|
-
|
|
1061
|
-
backgroundColor: r["violet-30"]
|
|
1062
|
-
}
|
|
1038
|
+
warning: t("orange")
|
|
1063
1039
|
},
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1040
|
+
icon: {
|
|
1041
|
+
md: d(16),
|
|
1042
|
+
sm: d(12),
|
|
1043
|
+
xs: d(12)
|
|
1044
|
+
},
|
|
1045
|
+
shape: {
|
|
1046
|
+
md: {
|
|
1047
|
+
height: a.md,
|
|
1048
|
+
width: a.md
|
|
1071
1049
|
},
|
|
1072
1050
|
sm: {
|
|
1073
|
-
padding: `${l.xs} ${l.sm}`,
|
|
1074
1051
|
height: a.sm,
|
|
1075
|
-
|
|
1076
|
-
gap: l.xs
|
|
1052
|
+
width: a.sm
|
|
1077
1053
|
},
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
fontSize: e.sm,
|
|
1082
|
-
gap: l.sm
|
|
1054
|
+
xs: {
|
|
1055
|
+
height: a.xs,
|
|
1056
|
+
width: a.xs
|
|
1083
1057
|
}
|
|
1084
1058
|
},
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
xs: {
|
|
1092
|
-
width: a.xs,
|
|
1093
|
-
height: a.xs
|
|
1059
|
+
sizes: {
|
|
1060
|
+
md: {
|
|
1061
|
+
fontSize: e.sm,
|
|
1062
|
+
gap: l.sm,
|
|
1063
|
+
height: a.md,
|
|
1064
|
+
padding: `${l.xs} ${l.sm}`
|
|
1094
1065
|
},
|
|
1095
1066
|
sm: {
|
|
1096
|
-
|
|
1097
|
-
|
|
1067
|
+
fontSize: e.xs,
|
|
1068
|
+
gap: l.xs,
|
|
1069
|
+
height: a.sm,
|
|
1070
|
+
padding: `${l.xs} ${l.sm}`
|
|
1098
1071
|
},
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1072
|
+
xs: {
|
|
1073
|
+
borderRadius: n.sm,
|
|
1074
|
+
fontSize: e.xs,
|
|
1075
|
+
gap: l.xs,
|
|
1076
|
+
height: a.xs,
|
|
1077
|
+
padding: `${l.xxs} ${l.xs}`
|
|
1102
1078
|
}
|
|
1079
|
+
},
|
|
1080
|
+
variants: {
|
|
1081
|
+
ai: {
|
|
1082
|
+
backgroundColor: r["violet-20"],
|
|
1083
|
+
color: r["violet-90"]
|
|
1084
|
+
},
|
|
1085
|
+
blue: c("blue"),
|
|
1086
|
+
danger: s("red"),
|
|
1087
|
+
default: {
|
|
1088
|
+
backgroundColor: r["beige-20"],
|
|
1089
|
+
color: r["beige-90"]
|
|
1090
|
+
},
|
|
1091
|
+
green: c("green"),
|
|
1092
|
+
info: s("blue"),
|
|
1093
|
+
orange: c("orange"),
|
|
1094
|
+
pink: c("pink"),
|
|
1095
|
+
primary: {
|
|
1096
|
+
backgroundColor: r["primary-40"],
|
|
1097
|
+
color: o.colors["neutral-90"]
|
|
1098
|
+
},
|
|
1099
|
+
success: s("green"),
|
|
1100
|
+
teal: c("teal"),
|
|
1101
|
+
violet: c("violet"),
|
|
1102
|
+
warning: s("orange")
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
1105
|
}, Wr = (o) => {
|
|
@@ -1129,7 +1129,6 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1129
1129
|
defaultLineHeight: o,
|
|
1130
1130
|
toRem: r
|
|
1131
1131
|
}) => ({
|
|
1132
|
-
html: o,
|
|
1133
1132
|
h0: r(72),
|
|
1134
1133
|
h1: r(48),
|
|
1135
1134
|
h2: r(40),
|
|
@@ -1137,21 +1136,21 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1137
1136
|
h4: r(24),
|
|
1138
1137
|
h5: r(18),
|
|
1139
1138
|
h6: r(16),
|
|
1139
|
+
html: o,
|
|
1140
1140
|
lg: r(24),
|
|
1141
1141
|
md: r(18),
|
|
1142
1142
|
sm: r(18),
|
|
1143
|
-
xs: r(14),
|
|
1144
1143
|
"subtitle-md": o,
|
|
1145
|
-
"subtitle-sm": o
|
|
1144
|
+
"subtitle-sm": o,
|
|
1145
|
+
xs: r(14)
|
|
1146
1146
|
}), Dr = {
|
|
1147
|
-
|
|
1147
|
+
bold: 600,
|
|
1148
1148
|
medium: 500,
|
|
1149
|
-
|
|
1149
|
+
regular: 400
|
|
1150
1150
|
}, Tr = ({
|
|
1151
1151
|
defaultLetterSpacing: o,
|
|
1152
1152
|
toRem: r
|
|
1153
1153
|
}) => ({
|
|
1154
|
-
html: o,
|
|
1155
1154
|
h0: r(-1.7),
|
|
1156
1155
|
h1: r(-1.2),
|
|
1157
1156
|
h2: r(-1),
|
|
@@ -1159,12 +1158,13 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1159
1158
|
h4: r(-0.6),
|
|
1160
1159
|
h5: r(-0.5),
|
|
1161
1160
|
h6: r(-0.5),
|
|
1161
|
+
html: o,
|
|
1162
1162
|
lg: o,
|
|
1163
1163
|
md: o,
|
|
1164
1164
|
sm: o,
|
|
1165
|
-
xs: r(-0.2),
|
|
1166
1165
|
"subtitle-md": r(-0.2),
|
|
1167
|
-
"subtitle-sm": r(-0.2)
|
|
1166
|
+
"subtitle-sm": r(-0.2),
|
|
1167
|
+
xs: r(-0.2)
|
|
1168
1168
|
}), Rr = (o) => {
|
|
1169
1169
|
const { fontWeights: r } = o;
|
|
1170
1170
|
return {
|
|
@@ -1224,41 +1224,38 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1224
1224
|
[t]: {
|
|
1225
1225
|
color: n[t],
|
|
1226
1226
|
fontFamily: l[t] || void 0,
|
|
1227
|
-
fontWeight: d[t],
|
|
1228
1227
|
fontSize: r[t],
|
|
1229
|
-
|
|
1228
|
+
fontWeight: d[t],
|
|
1230
1229
|
letterSpacing: e[t] || void 0,
|
|
1230
|
+
lineHeight: i[t] || i.lg,
|
|
1231
1231
|
textTransform: a[t] || void 0
|
|
1232
1232
|
}
|
|
1233
1233
|
}), {});
|
|
1234
1234
|
}, Ar = (o, r, e) => ({
|
|
1235
|
-
texts: [o, "sans-serif"].join(", "),
|
|
1236
1235
|
headings: [r, "sans-serif"].join(", "),
|
|
1237
|
-
icons: e
|
|
1236
|
+
icons: e,
|
|
1237
|
+
texts: [o, "sans-serif"].join(", ")
|
|
1238
1238
|
}), Er = (o) => {
|
|
1239
1239
|
const { borderWidths: r, colors: e, fontWeights: i, radii: n, space: l } = o;
|
|
1240
1240
|
return {
|
|
1241
|
+
bottom: {
|
|
1242
|
+
paddingBottom: l.lg
|
|
1243
|
+
},
|
|
1241
1244
|
default: {
|
|
1242
1245
|
paddingLeft: l.sm,
|
|
1243
1246
|
paddingRight: l.sm
|
|
1244
1247
|
},
|
|
1245
|
-
top: {
|
|
1246
|
-
paddingTop: l.lg
|
|
1247
|
-
},
|
|
1248
|
-
bottom: {
|
|
1249
|
-
paddingBottom: l.lg
|
|
1250
|
-
},
|
|
1251
1248
|
growls: {
|
|
1252
1249
|
default: {
|
|
1253
1250
|
...U(o).sm,
|
|
1254
|
-
borderWidth: r.sm,
|
|
1255
|
-
borderStyle: "solid",
|
|
1256
1251
|
borderRadius: n.lg,
|
|
1252
|
+
borderStyle: "solid",
|
|
1253
|
+
borderWidth: r.sm,
|
|
1257
1254
|
maxWidth: 340
|
|
1258
1255
|
},
|
|
1259
1256
|
title: {
|
|
1260
|
-
|
|
1261
|
-
|
|
1257
|
+
color: e["neutral-90"],
|
|
1258
|
+
fontWeight: i.bold
|
|
1262
1259
|
}
|
|
1263
1260
|
},
|
|
1264
1261
|
snackbar: {
|
|
@@ -1266,127 +1263,130 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1266
1263
|
borderRadius: n.lg
|
|
1267
1264
|
},
|
|
1268
1265
|
separator: {
|
|
1269
|
-
default: {
|
|
1270
|
-
borderLeft: "1px solid",
|
|
1271
|
-
borderLeftColor: e["neutral-30"]
|
|
1272
|
-
},
|
|
1273
1266
|
danger: {
|
|
1274
1267
|
borderLeftColor: e["red-20"]
|
|
1275
1268
|
},
|
|
1276
|
-
|
|
1277
|
-
|
|
1269
|
+
default: {
|
|
1270
|
+
borderLeft: "1px solid",
|
|
1271
|
+
borderLeftColor: e["neutral-30"]
|
|
1278
1272
|
},
|
|
1279
1273
|
info: {
|
|
1280
1274
|
borderLeftColor: e["blue-30"]
|
|
1281
1275
|
},
|
|
1282
1276
|
success: {
|
|
1283
1277
|
borderLeftColor: e["green-30"]
|
|
1278
|
+
},
|
|
1279
|
+
warning: {
|
|
1280
|
+
borderLeftColor: e["orange-20"]
|
|
1284
1281
|
}
|
|
1285
1282
|
}
|
|
1283
|
+
},
|
|
1284
|
+
top: {
|
|
1285
|
+
paddingTop: l.lg
|
|
1286
1286
|
}
|
|
1287
1287
|
};
|
|
1288
1288
|
}, Lr = "0.32rem !important", Ir = "0.12rem ! important", Hr = (o) => {
|
|
1289
1289
|
const { borderWidths: r, colors: e, focus: i, toRem: n } = o;
|
|
1290
1290
|
return {
|
|
1291
|
-
|
|
1292
|
-
default: {
|
|
1293
|
-
backgroundColor: e["neutral-10"],
|
|
1294
|
-
borderColor: e["neutral-30"],
|
|
1295
|
-
borderWidth: r.sm,
|
|
1296
|
-
borderStyle: "solid",
|
|
1297
|
-
borderRadius: n(16),
|
|
1298
|
-
"&:focus": {
|
|
1299
|
-
borderColor: e["primary-30"],
|
|
1300
|
-
...i(e["primary-30"])
|
|
1301
|
-
}
|
|
1302
|
-
},
|
|
1303
|
-
sizes: {
|
|
1304
|
-
xs: {
|
|
1305
|
-
width: n(28),
|
|
1306
|
-
height: n(16),
|
|
1307
|
-
marginTop: Lr
|
|
1308
|
-
},
|
|
1309
|
-
sm: {
|
|
1310
|
-
width: n(36),
|
|
1311
|
-
height: n(20),
|
|
1312
|
-
marginTop: Ir
|
|
1313
|
-
},
|
|
1314
|
-
md: {
|
|
1315
|
-
width: n(44),
|
|
1316
|
-
height: n(24),
|
|
1317
|
-
marginTop: "0 !important"
|
|
1318
|
-
}
|
|
1319
|
-
},
|
|
1291
|
+
after: {
|
|
1320
1292
|
checked: {
|
|
1321
|
-
backgroundColor: e["
|
|
1322
|
-
borderColor: e["
|
|
1293
|
+
backgroundColor: e["neutral-10"],
|
|
1294
|
+
borderColor: e["neutral-10"]
|
|
1323
1295
|
},
|
|
1324
|
-
disabled: {
|
|
1325
|
-
borderColor: e["beige-60"],
|
|
1326
|
-
backgroundColor: e["beige-40"]
|
|
1327
|
-
}
|
|
1328
|
-
},
|
|
1329
|
-
after: {
|
|
1330
1296
|
default: {
|
|
1331
1297
|
backgroundColor: e["neutral-10"],
|
|
1332
1298
|
borderColor: e["neutral-50"],
|
|
1333
|
-
|
|
1299
|
+
borderRadius: "50%",
|
|
1334
1300
|
borderStyle: "solid",
|
|
1335
|
-
|
|
1336
|
-
},
|
|
1337
|
-
checked: {
|
|
1338
|
-
backgroundColor: e["neutral-10"],
|
|
1339
|
-
borderColor: e["neutral-10"]
|
|
1301
|
+
borderWidth: r.sm
|
|
1340
1302
|
},
|
|
1341
1303
|
disabled: {
|
|
1342
|
-
|
|
1343
|
-
|
|
1304
|
+
backgroundColor: e["beige-60"],
|
|
1305
|
+
borderColor: "transparent"
|
|
1344
1306
|
},
|
|
1345
1307
|
sizes: {
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1308
|
+
md: {
|
|
1309
|
+
height: n(20),
|
|
1310
|
+
width: n(20)
|
|
1349
1311
|
},
|
|
1350
1312
|
sm: {
|
|
1351
|
-
|
|
1352
|
-
|
|
1313
|
+
height: n(16),
|
|
1314
|
+
width: n(16)
|
|
1353
1315
|
},
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1316
|
+
xs: {
|
|
1317
|
+
height: n(12),
|
|
1318
|
+
width: n(12)
|
|
1357
1319
|
}
|
|
1358
1320
|
}
|
|
1359
1321
|
},
|
|
1360
1322
|
icon: {
|
|
1361
1323
|
position: {
|
|
1362
|
-
|
|
1363
|
-
left: "2px",
|
|
1364
|
-
right: "2px"
|
|
1365
|
-
},
|
|
1366
|
-
sm: {
|
|
1324
|
+
md: {
|
|
1367
1325
|
left: "4px",
|
|
1368
1326
|
right: "4px"
|
|
1369
1327
|
},
|
|
1370
|
-
|
|
1328
|
+
sm: {
|
|
1371
1329
|
left: "4px",
|
|
1372
1330
|
right: "4px"
|
|
1331
|
+
},
|
|
1332
|
+
xs: {
|
|
1333
|
+
left: "2px",
|
|
1334
|
+
right: "2px"
|
|
1373
1335
|
}
|
|
1374
1336
|
},
|
|
1375
1337
|
sizes: {
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
height: n(
|
|
1379
|
-
|
|
1338
|
+
md: {
|
|
1339
|
+
fontSize: n(16),
|
|
1340
|
+
height: n(16),
|
|
1341
|
+
width: n(16)
|
|
1380
1342
|
},
|
|
1381
1343
|
sm: {
|
|
1382
|
-
|
|
1344
|
+
fontSize: n(12),
|
|
1383
1345
|
height: n(12),
|
|
1384
|
-
|
|
1346
|
+
width: n(12)
|
|
1385
1347
|
},
|
|
1348
|
+
xs: {
|
|
1349
|
+
fontSize: n(10),
|
|
1350
|
+
height: n(10),
|
|
1351
|
+
width: n(10)
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
item: {
|
|
1356
|
+
checked: {
|
|
1357
|
+
backgroundColor: e["primary-40"],
|
|
1358
|
+
borderColor: e["primary-40"]
|
|
1359
|
+
},
|
|
1360
|
+
default: {
|
|
1361
|
+
"&:focus": {
|
|
1362
|
+
borderColor: e["primary-30"],
|
|
1363
|
+
...i(e["primary-30"])
|
|
1364
|
+
},
|
|
1365
|
+
backgroundColor: e["neutral-10"],
|
|
1366
|
+
borderColor: e["neutral-30"],
|
|
1367
|
+
borderRadius: n(16),
|
|
1368
|
+
borderStyle: "solid",
|
|
1369
|
+
borderWidth: r.sm
|
|
1370
|
+
},
|
|
1371
|
+
disabled: {
|
|
1372
|
+
backgroundColor: e["beige-40"],
|
|
1373
|
+
borderColor: e["beige-60"]
|
|
1374
|
+
},
|
|
1375
|
+
sizes: {
|
|
1386
1376
|
md: {
|
|
1387
|
-
|
|
1377
|
+
height: n(24),
|
|
1378
|
+
marginTop: "0 !important",
|
|
1379
|
+
width: n(44)
|
|
1380
|
+
},
|
|
1381
|
+
sm: {
|
|
1382
|
+
height: n(20),
|
|
1383
|
+
marginTop: Ir,
|
|
1384
|
+
width: n(36)
|
|
1385
|
+
},
|
|
1386
|
+
xs: {
|
|
1388
1387
|
height: n(16),
|
|
1389
|
-
|
|
1388
|
+
marginTop: Lr,
|
|
1389
|
+
width: n(28)
|
|
1390
1390
|
}
|
|
1391
1391
|
}
|
|
1392
1392
|
}
|
|
@@ -1394,39 +1394,43 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1394
1394
|
}, qr = (o) => {
|
|
1395
1395
|
const { borderWidths: r, colors: e, fontSizes: i, fontWeights: n, radii: l, space: d, toRem: a } = o;
|
|
1396
1396
|
return {
|
|
1397
|
-
maxWidth: a(200),
|
|
1398
1397
|
backgroundColor: e["neutral-90"],
|
|
1398
|
+
border: `${r.sm} solid ${e["neutral-60"]}`,
|
|
1399
|
+
borderRadius: l.md,
|
|
1400
|
+
boxSizing: "border-box",
|
|
1399
1401
|
color: e["neutral-10"],
|
|
1400
|
-
padding: `${d.xs} ${d.sm}`,
|
|
1401
1402
|
fontSize: i.sm,
|
|
1402
1403
|
fontWeight: n.medium,
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
boxSizing: "border-box"
|
|
1404
|
+
maxWidth: a(200),
|
|
1405
|
+
padding: `${d.xs} ${d.sm}`
|
|
1406
1406
|
};
|
|
1407
1407
|
}, Or = (o) => {
|
|
1408
1408
|
const { colors: r } = o;
|
|
1409
1409
|
return {
|
|
1410
|
-
|
|
1411
|
-
color: r["
|
|
1410
|
+
ai: {
|
|
1411
|
+
color: r["violet-70"]
|
|
1412
1412
|
},
|
|
1413
1413
|
danger: {
|
|
1414
1414
|
color: r["red-70"]
|
|
1415
1415
|
},
|
|
1416
|
+
default: {
|
|
1417
|
+
color: r["neutral-90"]
|
|
1418
|
+
},
|
|
1419
|
+
info: {
|
|
1420
|
+
color: r["blue-60"]
|
|
1421
|
+
},
|
|
1416
1422
|
success: {
|
|
1417
1423
|
color: r["green-60"]
|
|
1418
1424
|
},
|
|
1419
1425
|
warning: {
|
|
1420
1426
|
color: r["orange-60"]
|
|
1421
|
-
},
|
|
1422
|
-
info: {
|
|
1423
|
-
color: r["blue-60"]
|
|
1424
|
-
},
|
|
1425
|
-
ai: {
|
|
1426
|
-
color: r["violet-70"]
|
|
1427
1427
|
}
|
|
1428
1428
|
};
|
|
1429
1429
|
}, Ur = {
|
|
1430
|
+
lg: "3px",
|
|
1431
|
+
md: "2px",
|
|
1432
|
+
sm: "1px"
|
|
1433
|
+
}, Pr = {
|
|
1430
1434
|
"beige-10": "#FBF9F7",
|
|
1431
1435
|
"beige-20": "#F6F3EF",
|
|
1432
1436
|
"beige-30": "#EAE4DE",
|
|
@@ -1534,6 +1538,7 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1534
1538
|
"yellow-90": "#423500"
|
|
1535
1539
|
}, P = (o) => ({
|
|
1536
1540
|
...o,
|
|
1541
|
+
overlay: "rgba(0, 0, 0, 0.55)",
|
|
1537
1542
|
"primary-10": o["yellow-10"],
|
|
1538
1543
|
"primary-20": o["yellow-20"],
|
|
1539
1544
|
"primary-30": o["yellow-30"],
|
|
@@ -1548,21 +1553,172 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1548
1553
|
"secondary-orange": o["red-orange-40"],
|
|
1549
1554
|
"secondary-pink": o["pink-40"],
|
|
1550
1555
|
"secondary-teal": o["teal-40"],
|
|
1551
|
-
"secondary-violet": o["violet-40"]
|
|
1552
|
-
|
|
1553
|
-
}), p = P(Ur), Pr = Object.keys(p).reduce((o, r) => {
|
|
1556
|
+
"secondary-violet": o["violet-40"]
|
|
1557
|
+
}), p = P(Pr), jr = Object.keys(p).reduce((o, r) => {
|
|
1554
1558
|
if (r.startsWith("secondary-") || r === "overlay") return o;
|
|
1555
1559
|
const e = 100 - Number(r.slice(-2)), i = r.slice(0, r.length - 2);
|
|
1556
1560
|
return {
|
|
1557
1561
|
...o,
|
|
1558
1562
|
[r]: p[`${i}${e}`]
|
|
1559
1563
|
};
|
|
1560
|
-
}, {}),
|
|
1564
|
+
}, {}), Mr = {
|
|
1561
1565
|
...p,
|
|
1562
|
-
...P(
|
|
1566
|
+
...P(jr)
|
|
1563
1567
|
}, ue = {
|
|
1564
|
-
colors:
|
|
1565
|
-
},
|
|
1568
|
+
colors: Mr
|
|
1569
|
+
}, Nr = (o) => {
|
|
1570
|
+
const { borderWidths: r, colors: e, focus: i, fontSizes: n, fontWeights: l, radii: d, space: a, toRem: s } = o;
|
|
1571
|
+
return {
|
|
1572
|
+
checkableField: {
|
|
1573
|
+
checked: {
|
|
1574
|
+
color: "neutral-90"
|
|
1575
|
+
// not hex color, only color from browser because is on a content svg
|
|
1576
|
+
},
|
|
1577
|
+
disabled: {
|
|
1578
|
+
opacity: 0.4
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
checkablelabel: {
|
|
1582
|
+
checked: {
|
|
1583
|
+
"-webkit-text-stroke": "0.04em",
|
|
1584
|
+
color: e["neutral-90"]
|
|
1585
|
+
},
|
|
1586
|
+
default: {}
|
|
1587
|
+
},
|
|
1588
|
+
default: {
|
|
1589
|
+
backgroundColor: e["neutral-10"],
|
|
1590
|
+
borderColor: e["neutral-30"],
|
|
1591
|
+
borderRadius: d.md,
|
|
1592
|
+
borderStyle: "solid",
|
|
1593
|
+
borderWidth: r.sm,
|
|
1594
|
+
color: e["neutral-90"],
|
|
1595
|
+
fontSize: n.sm,
|
|
1596
|
+
fontWeight: l.regular,
|
|
1597
|
+
/* Can't use 16 because that's a valid line-height value (16em) */
|
|
1598
|
+
lineHeight: "1rem",
|
|
1599
|
+
outline: "none"
|
|
1600
|
+
},
|
|
1601
|
+
disabled: {
|
|
1602
|
+
backgroundColor: e["beige-40"],
|
|
1603
|
+
color: e["beige-70"],
|
|
1604
|
+
cursor: "not-allowed"
|
|
1605
|
+
},
|
|
1606
|
+
fieldset: {
|
|
1607
|
+
"border-width": "0"
|
|
1608
|
+
},
|
|
1609
|
+
focused: {
|
|
1610
|
+
danger: { ...i(e["red-30"]) },
|
|
1611
|
+
default: {
|
|
1612
|
+
...i(e["primary-20"]),
|
|
1613
|
+
borderColor: e["primary-40"]
|
|
1614
|
+
},
|
|
1615
|
+
success: { ...i(e["green-30"]) },
|
|
1616
|
+
warning: { ...i(e["orange-20"]) }
|
|
1617
|
+
},
|
|
1618
|
+
hover: {
|
|
1619
|
+
default: {
|
|
1620
|
+
borderColor: e["neutral-40"]
|
|
1621
|
+
},
|
|
1622
|
+
transparency: {
|
|
1623
|
+
borderColor: e["neutral-20"]
|
|
1624
|
+
}
|
|
1625
|
+
},
|
|
1626
|
+
iconPlacement: {
|
|
1627
|
+
lg: {
|
|
1628
|
+
left: s(12),
|
|
1629
|
+
right: s(12)
|
|
1630
|
+
},
|
|
1631
|
+
md: {
|
|
1632
|
+
left: s(12),
|
|
1633
|
+
right: s(12)
|
|
1634
|
+
},
|
|
1635
|
+
sm: {
|
|
1636
|
+
left: s(12),
|
|
1637
|
+
right: s(12)
|
|
1638
|
+
},
|
|
1639
|
+
xs: {
|
|
1640
|
+
left: s(8),
|
|
1641
|
+
right: s(8)
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
placeholder: {
|
|
1645
|
+
color: e["neutral-50"]
|
|
1646
|
+
},
|
|
1647
|
+
select: {
|
|
1648
|
+
default: {
|
|
1649
|
+
borderRadius: d.md,
|
|
1650
|
+
maxHeight: s(155)
|
|
1651
|
+
},
|
|
1652
|
+
disabled: {
|
|
1653
|
+
color: e["beige-60"],
|
|
1654
|
+
cursor: "not-allowed"
|
|
1655
|
+
},
|
|
1656
|
+
existing: {
|
|
1657
|
+
color: e["beige-40"],
|
|
1658
|
+
cursor: "not-allowed"
|
|
1659
|
+
},
|
|
1660
|
+
highlighted: {
|
|
1661
|
+
backgroundColor: e["beige-20"],
|
|
1662
|
+
cursor: "default"
|
|
1663
|
+
},
|
|
1664
|
+
selected: {
|
|
1665
|
+
color: e["neutral-90"],
|
|
1666
|
+
fontWeight: l.bold
|
|
1667
|
+
},
|
|
1668
|
+
selectedAndHighlighted: {
|
|
1669
|
+
backgroundImage: "linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08) 100%)"
|
|
1670
|
+
}
|
|
1671
|
+
},
|
|
1672
|
+
sizes: {
|
|
1673
|
+
lg: {
|
|
1674
|
+
height: s(48),
|
|
1675
|
+
paddingBottom: a.lg,
|
|
1676
|
+
paddingLeft: a.md,
|
|
1677
|
+
paddingRight: a.md,
|
|
1678
|
+
paddingTop: a.lg
|
|
1679
|
+
},
|
|
1680
|
+
md: {
|
|
1681
|
+
height: s(40),
|
|
1682
|
+
paddingBottom: a.md,
|
|
1683
|
+
paddingLeft: a.md,
|
|
1684
|
+
paddingRight: a.md,
|
|
1685
|
+
paddingTop: a.md
|
|
1686
|
+
},
|
|
1687
|
+
sm: {
|
|
1688
|
+
height: s(32),
|
|
1689
|
+
paddingBottom: a.sm,
|
|
1690
|
+
paddingLeft: a.md,
|
|
1691
|
+
paddingRight: a.md,
|
|
1692
|
+
paddingTop: a.sm
|
|
1693
|
+
},
|
|
1694
|
+
xs: {
|
|
1695
|
+
height: s(24),
|
|
1696
|
+
paddingBottom: a.xs,
|
|
1697
|
+
paddingLeft: a.sm,
|
|
1698
|
+
paddingRight: a.sm,
|
|
1699
|
+
paddingTop: a.xs
|
|
1700
|
+
}
|
|
1701
|
+
},
|
|
1702
|
+
variants: {
|
|
1703
|
+
danger: {
|
|
1704
|
+
borderColor: e["red-70"]
|
|
1705
|
+
},
|
|
1706
|
+
success: {
|
|
1707
|
+
borderColor: e["green-60"]
|
|
1708
|
+
},
|
|
1709
|
+
warning: {
|
|
1710
|
+
borderColor: e["orange-60"]
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
};
|
|
1714
|
+
}, Kr = ({ colors: o }) => {
|
|
1715
|
+
function r(e = o["primary-40"]) {
|
|
1716
|
+
return {
|
|
1717
|
+
boxShadow: `0 0 0 2px ${e}`
|
|
1718
|
+
};
|
|
1719
|
+
}
|
|
1720
|
+
return r;
|
|
1721
|
+
}, Gr = "f19d0de47a5f6f7446d37111f075c0901835bf12", Yr = (o) => ({
|
|
1566
1722
|
"welcome-font": [
|
|
1567
1723
|
{
|
|
1568
1724
|
url: `${o.fontsUrl}/welcome-font-regular`,
|
|
@@ -1577,44 +1733,80 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1577
1733
|
weight: "600"
|
|
1578
1734
|
},
|
|
1579
1735
|
{
|
|
1580
|
-
url: `${o.fontsUrl}/welcome-font-regular-italic`,
|
|
1581
1736
|
style: "italic",
|
|
1737
|
+
url: `${o.fontsUrl}/welcome-font-regular-italic`,
|
|
1582
1738
|
weight: "400"
|
|
1583
1739
|
},
|
|
1584
1740
|
{
|
|
1585
|
-
url: `${o.fontsUrl}/welcome-font-medium-italic`,
|
|
1586
1741
|
style: "italic",
|
|
1742
|
+
url: `${o.fontsUrl}/welcome-font-medium-italic`,
|
|
1587
1743
|
weight: "500"
|
|
1588
1744
|
},
|
|
1589
1745
|
{
|
|
1590
|
-
url: `${o.fontsUrl}/welcome-font-bold-italic`,
|
|
1591
1746
|
style: "italic",
|
|
1747
|
+
url: `${o.fontsUrl}/welcome-font-bold-italic`,
|
|
1592
1748
|
weight: "600"
|
|
1593
1749
|
}
|
|
1594
1750
|
],
|
|
1595
1751
|
"welcome-icon-font": [
|
|
1596
1752
|
{
|
|
1597
|
-
|
|
1598
|
-
|
|
1753
|
+
display: "block",
|
|
1754
|
+
url: `${o.fontsUrl}/icon-font/${Gr}/welcome-icon-font`
|
|
1599
1755
|
}
|
|
1600
1756
|
],
|
|
1601
1757
|
"work-sans": [
|
|
1602
1758
|
{
|
|
1603
|
-
url: `${o.fontsUrl}/work-sans-variable`,
|
|
1604
1759
|
isVariable: !0,
|
|
1605
1760
|
stretch: "75% 125%",
|
|
1761
|
+
url: `${o.fontsUrl}/work-sans-variable`,
|
|
1606
1762
|
weight: "100 1000"
|
|
1607
1763
|
}
|
|
1608
1764
|
]
|
|
1765
|
+
}), Jr = (o) => ({
|
|
1766
|
+
full: "100%",
|
|
1767
|
+
lg: o.toRem(8),
|
|
1768
|
+
md: o.toRem(4),
|
|
1769
|
+
none: "0",
|
|
1770
|
+
sm: o.toRem(2),
|
|
1771
|
+
xl: o.toRem(16),
|
|
1772
|
+
xxl: o.toRem(24)
|
|
1773
|
+
}), Xr = {
|
|
1774
|
+
"3xl": 1620,
|
|
1775
|
+
"4xl": 1920,
|
|
1776
|
+
lg: 980,
|
|
1777
|
+
md: 736,
|
|
1778
|
+
sm: 480,
|
|
1779
|
+
xl: 1280,
|
|
1780
|
+
xs: 0,
|
|
1781
|
+
xxl: 1440
|
|
1782
|
+
}, Zr = (o) => ({
|
|
1783
|
+
backgroundColor: o.colors["primary-40"],
|
|
1784
|
+
color: o.colors["neutral-90"]
|
|
1785
|
+
}), Qr = {
|
|
1786
|
+
md: "3px 4px 10px 0 rgba(0,0,0,0.07)",
|
|
1787
|
+
sm: "1px 2px 4px 0 rgba(0,0,0,0.05)"
|
|
1788
|
+
}, Vr = (o) => ({
|
|
1789
|
+
"3xl": o.toRem(48),
|
|
1790
|
+
"4xl": o.toRem(64),
|
|
1791
|
+
"5xl": o.toRem(96),
|
|
1792
|
+
"6xl": o.toRem(128),
|
|
1793
|
+
"7xl": o.toRem(192),
|
|
1794
|
+
lg: o.toRem(16),
|
|
1795
|
+
md: o.toRem(12),
|
|
1796
|
+
sm: o.toRem(8),
|
|
1797
|
+
xl: o.toRem(24),
|
|
1798
|
+
xs: o.toRem(4),
|
|
1799
|
+
xxl: o.toRem(32),
|
|
1800
|
+
xxs: o.toRem(2)
|
|
1609
1801
|
}), h = {
|
|
1610
1802
|
primary: "ease",
|
|
1611
1803
|
secondary: "linear",
|
|
1612
1804
|
tertiary: "cubic-bezier(0.41, 0.094, 0.54, 0.07)"
|
|
1613
|
-
},
|
|
1614
|
-
|
|
1805
|
+
}, re = {
|
|
1806
|
+
fast: `100ms ${h.secondary}`,
|
|
1615
1807
|
medium: `300ms ${h.primary}`,
|
|
1616
|
-
|
|
1617
|
-
},
|
|
1808
|
+
slow: `500ms ${h.tertiary}`
|
|
1809
|
+
}, ee = ({ colors: o }) => ({
|
|
1618
1810
|
default: S`
|
|
1619
1811
|
background-image: linear-gradient(
|
|
1620
1812
|
0deg,
|
|
@@ -1634,199 +1826,7 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1634
1826
|
background-position-y: 100%;
|
|
1635
1827
|
background-size: 100% 100%;
|
|
1636
1828
|
`
|
|
1637
|
-
}),
|
|
1638
|
-
none: "0",
|
|
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),
|
|
1644
|
-
full: "100%"
|
|
1645
|
-
}), Jr = {
|
|
1646
|
-
sm: "1px",
|
|
1647
|
-
md: "2px",
|
|
1648
|
-
lg: "3px"
|
|
1649
|
-
}, Xr = {
|
|
1650
|
-
xs: 0,
|
|
1651
|
-
sm: 480,
|
|
1652
|
-
md: 736,
|
|
1653
|
-
lg: 980,
|
|
1654
|
-
xl: 1280,
|
|
1655
|
-
xxl: 1440,
|
|
1656
|
-
"3xl": 1620,
|
|
1657
|
-
"4xl": 1920
|
|
1658
|
-
}, Zr = {
|
|
1659
|
-
sm: "1px 2px 4px 0 rgba(0,0,0,0.05)",
|
|
1660
|
-
md: "3px 4px 10px 0 rgba(0,0,0,0.07)"
|
|
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"]) {
|
|
1679
|
-
return {
|
|
1680
|
-
boxShadow: `0 0 0 2px ${e}`
|
|
1681
|
-
};
|
|
1682
|
-
}
|
|
1683
|
-
return r;
|
|
1684
|
-
}, ee = (o) => {
|
|
1685
|
-
const { borderWidths: r, colors: e, focus: i, fontSizes: n, fontWeights: l, radii: d, space: a, toRem: s } = o;
|
|
1686
|
-
return {
|
|
1687
|
-
default: {
|
|
1688
|
-
color: e["neutral-90"],
|
|
1689
|
-
fontSize: n.sm,
|
|
1690
|
-
/* Can't use 16 because that's a valid line-height value (16em) */
|
|
1691
|
-
lineHeight: "1rem",
|
|
1692
|
-
fontWeight: l.regular,
|
|
1693
|
-
backgroundColor: e["neutral-10"],
|
|
1694
|
-
borderColor: e["neutral-30"],
|
|
1695
|
-
borderWidth: r.sm,
|
|
1696
|
-
borderStyle: "solid",
|
|
1697
|
-
outline: "none",
|
|
1698
|
-
borderRadius: d.md
|
|
1699
|
-
},
|
|
1700
|
-
hover: {
|
|
1701
|
-
default: {
|
|
1702
|
-
borderColor: e["neutral-40"]
|
|
1703
|
-
},
|
|
1704
|
-
transparency: {
|
|
1705
|
-
borderColor: e["neutral-20"]
|
|
1706
|
-
}
|
|
1707
|
-
},
|
|
1708
|
-
variants: {
|
|
1709
|
-
danger: {
|
|
1710
|
-
borderColor: e["red-70"]
|
|
1711
|
-
},
|
|
1712
|
-
success: {
|
|
1713
|
-
borderColor: e["green-60"]
|
|
1714
|
-
},
|
|
1715
|
-
warning: {
|
|
1716
|
-
borderColor: e["orange-60"]
|
|
1717
|
-
}
|
|
1718
|
-
},
|
|
1719
|
-
focused: {
|
|
1720
|
-
default: {
|
|
1721
|
-
...i(e["primary-20"]),
|
|
1722
|
-
borderColor: e["primary-40"]
|
|
1723
|
-
},
|
|
1724
|
-
danger: { ...i(e["red-30"]) },
|
|
1725
|
-
warning: { ...i(e["orange-20"]) },
|
|
1726
|
-
success: { ...i(e["green-30"]) }
|
|
1727
|
-
},
|
|
1728
|
-
sizes: {
|
|
1729
|
-
xs: {
|
|
1730
|
-
height: s(24),
|
|
1731
|
-
paddingTop: a.xs,
|
|
1732
|
-
paddingRight: a.sm,
|
|
1733
|
-
paddingBottom: a.xs,
|
|
1734
|
-
paddingLeft: a.sm
|
|
1735
|
-
},
|
|
1736
|
-
sm: {
|
|
1737
|
-
height: s(32),
|
|
1738
|
-
paddingTop: a.sm,
|
|
1739
|
-
paddingRight: a.md,
|
|
1740
|
-
paddingBottom: a.sm,
|
|
1741
|
-
paddingLeft: a.md
|
|
1742
|
-
},
|
|
1743
|
-
md: {
|
|
1744
|
-
height: s(40),
|
|
1745
|
-
paddingTop: a.md,
|
|
1746
|
-
paddingRight: a.md,
|
|
1747
|
-
paddingBottom: a.md,
|
|
1748
|
-
paddingLeft: a.md
|
|
1749
|
-
},
|
|
1750
|
-
lg: {
|
|
1751
|
-
height: s(48),
|
|
1752
|
-
paddingTop: a.lg,
|
|
1753
|
-
paddingRight: a.md,
|
|
1754
|
-
paddingBottom: a.lg,
|
|
1755
|
-
paddingLeft: a.md
|
|
1756
|
-
}
|
|
1757
|
-
},
|
|
1758
|
-
iconPlacement: {
|
|
1759
|
-
xs: {
|
|
1760
|
-
left: s(8),
|
|
1761
|
-
right: s(8)
|
|
1762
|
-
},
|
|
1763
|
-
sm: {
|
|
1764
|
-
left: s(12),
|
|
1765
|
-
right: s(12)
|
|
1766
|
-
},
|
|
1767
|
-
md: {
|
|
1768
|
-
left: s(12),
|
|
1769
|
-
right: s(12)
|
|
1770
|
-
},
|
|
1771
|
-
lg: {
|
|
1772
|
-
left: s(12),
|
|
1773
|
-
right: s(12)
|
|
1774
|
-
}
|
|
1775
|
-
},
|
|
1776
|
-
checkableField: {
|
|
1777
|
-
checked: {
|
|
1778
|
-
color: "neutral-90"
|
|
1779
|
-
// not hex color, only color from browser because is on a content svg
|
|
1780
|
-
},
|
|
1781
|
-
disabled: {
|
|
1782
|
-
opacity: 0.4
|
|
1783
|
-
}
|
|
1784
|
-
},
|
|
1785
|
-
disabled: {
|
|
1786
|
-
backgroundColor: e["beige-40"],
|
|
1787
|
-
color: e["beige-70"],
|
|
1788
|
-
cursor: "not-allowed"
|
|
1789
|
-
},
|
|
1790
|
-
placeholder: {
|
|
1791
|
-
color: e["neutral-50"]
|
|
1792
|
-
},
|
|
1793
|
-
checkablelabel: {
|
|
1794
|
-
default: {},
|
|
1795
|
-
checked: {
|
|
1796
|
-
color: e["neutral-90"],
|
|
1797
|
-
"-webkit-text-stroke": "0.04em"
|
|
1798
|
-
}
|
|
1799
|
-
},
|
|
1800
|
-
select: {
|
|
1801
|
-
default: {
|
|
1802
|
-
maxHeight: s(155),
|
|
1803
|
-
borderRadius: d.md
|
|
1804
|
-
},
|
|
1805
|
-
existing: {
|
|
1806
|
-
color: e["beige-40"],
|
|
1807
|
-
cursor: "not-allowed"
|
|
1808
|
-
},
|
|
1809
|
-
highlighted: {
|
|
1810
|
-
backgroundColor: e["beige-20"],
|
|
1811
|
-
cursor: "default"
|
|
1812
|
-
},
|
|
1813
|
-
selectedAndHighlighted: {
|
|
1814
|
-
backgroundImage: "linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08) 100%)"
|
|
1815
|
-
},
|
|
1816
|
-
selected: {
|
|
1817
|
-
color: e["neutral-90"],
|
|
1818
|
-
fontWeight: l.bold
|
|
1819
|
-
},
|
|
1820
|
-
disabled: {
|
|
1821
|
-
color: e["beige-60"],
|
|
1822
|
-
cursor: "not-allowed"
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
fieldset: {
|
|
1826
|
-
"border-width": "0"
|
|
1827
|
-
}
|
|
1828
|
-
};
|
|
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 = {}) => {
|
|
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 = {}) => {
|
|
1830
1830
|
const {
|
|
1831
1831
|
defaultFontFamily: r = oe,
|
|
1832
1832
|
defaultFontSize: e = te,
|
|
@@ -1838,7 +1838,7 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1838
1838
|
...s
|
|
1839
1839
|
} = o;
|
|
1840
1840
|
let 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 =
|
|
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 = Yr(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 = Ur, t.screens = Xr, t.space = Vr(t), t.inset = t.space, t.radii = Jr(t), t.transitions = re, t.timingFunction = h, t.shadows = Qr, t = I(t, s), t.selection = Zr(t), t.underline = ee(t), t.focus = Kr(t), t.textsFontWeights = Rr(t), t.textsFontFamily = _r(t), t.textsFontColors = Br(t), t.textsTextTransform = zr(), t.texts = U(t), t.defaultFields = Nr(t), t.icons = gr(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 = ir(t), t.dateTimePickerCommon = ar(t), t.drawers = lr(t), t.dropdownMenu = dr(t), t.fileDrops = sr(t), t.hints = cr(t), t.labels = ur(t), t.links = br(t), t.loaders = mr(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;
|
|
1842
1842
|
};
|
|
1843
1843
|
export {
|
|
1844
1844
|
be as createTheme,
|