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