welcome-ui 1.0.0-beta.3 → 1.0.0-beta.4
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-BxNazDnS.mjs +25 -0
- package/dist/AXB53BZF-KWM2jKTz.js +1 -0
- package/dist/Accordion.js +16 -30
- package/dist/Accordion.mjs +27 -515
- package/dist/Alert.js +37 -1
- package/dist/Alert.mjs +118 -5
- package/dist/AspectRatio.mjs +7 -7
- package/dist/Avatar.js +3 -3
- package/dist/Avatar.mjs +16 -15
- package/dist/BYC7LY2E-BAjGN7k_.mjs +1074 -0
- package/dist/BYC7LY2E-BkAEL2VD.js +1 -0
- package/dist/Badge.js +3 -3
- package/dist/Badge.mjs +10 -10
- package/dist/Breadcrumb.js +1 -54
- package/dist/Breadcrumb.mjs +7 -437
- package/dist/Button.js +78 -0
- package/dist/Button.mjs +136 -0
- package/dist/ButtonGroup.js +32 -0
- package/dist/ButtonGroup.mjs +51 -0
- package/dist/Card.js +17 -0
- package/dist/Card.mjs +29 -0
- package/dist/Checkbox.js +1 -0
- package/dist/Checkbox.mjs +6 -0
- package/dist/ClearButton.js +14 -0
- package/dist/ClearButton.mjs +26 -0
- package/dist/CloseButton.js +6 -0
- package/dist/CloseButton.mjs +15 -0
- package/dist/CustomInput-9aCUiD6o.js +1070 -0
- package/dist/CustomInput-CenfXh_H.mjs +7825 -0
- package/dist/DatePicker.js +1 -0
- package/dist/DatePicker.mjs +108 -0
- package/dist/DateTimePicker.js +38 -0
- package/dist/DateTimePicker.mjs +109 -0
- package/dist/DateTimePickerCommon.js +1 -0
- package/dist/DateTimePickerCommon.mjs +14 -0
- package/dist/Drawer.js +64 -0
- package/dist/Drawer.mjs +267 -0
- package/dist/DropdownMenu.js +45 -0
- package/dist/DropdownMenu.mjs +776 -0
- package/dist/Field.js +72 -0
- package/dist/Field.mjs +177 -0
- package/dist/FieldGroup.js +13 -0
- package/dist/FieldGroup.mjs +26 -0
- package/dist/FileDrop.js +46 -0
- package/dist/FileDrop.mjs +2325 -0
- package/dist/FileUpload.js +3 -0
- package/dist/FileUpload.mjs +88 -0
- package/dist/Grid.js +1 -0
- package/dist/Grid.mjs +57 -0
- package/dist/Hint.js +8 -0
- package/dist/Hint.mjs +22 -0
- package/dist/ITI7HKP4-BPa8qpnl.js +1 -0
- package/dist/ITI7HKP4-Couz1Z73.mjs +473 -0
- package/dist/Icon.js +17 -0
- package/dist/Icon.mjs +51 -0
- package/dist/IconFont.js +17 -0
- package/dist/IconFont.mjs +348 -0
- package/dist/InputText.js +8 -0
- package/dist/InputText.mjs +81 -0
- package/dist/JC64G2H7-CQsqXPS_.mjs +965 -0
- package/dist/JC64G2H7-YkBMNrtl.js +1 -0
- package/dist/KUU7WJ55-DN8gk6_R.js +1 -0
- package/dist/KUU7WJ55-bC4FU_j7.mjs +61 -0
- package/dist/LVA2YJMS-B2HZjIhJ.js +14 -0
- package/dist/LVA2YJMS-Dm5ieEMw.mjs +1479 -0
- package/dist/Label.js +35 -0
- package/dist/Label.mjs +78 -0
- package/dist/Link.js +43 -0
- package/dist/Link.mjs +77 -0
- package/dist/Loader.js +30 -0
- package/dist/Loader.mjs +48 -0
- package/dist/Logo.js +1 -0
- package/dist/Logo.mjs +8 -0
- package/dist/MTZPJQMC-5Xg78Uyy.js +1 -0
- package/dist/MTZPJQMC-DZ3zg4be.mjs +13 -0
- package/dist/Modal.js +181 -0
- package/dist/Modal.mjs +365 -0
- package/dist/NLEBE274-DvH3XTTw.js +1 -0
- package/dist/NLEBE274-FThuwZH_.mjs +84 -0
- package/dist/P2CTZE2T-5jxBu6ix.mjs +297 -0
- package/dist/P2CTZE2T-q8vyaGc0.js +1 -0
- package/dist/P4IRICAX-DF0_vmod.mjs +37 -0
- package/dist/P4IRICAX-nhgZ26A1.js +1 -0
- package/dist/Pagination.js +46 -0
- package/dist/Pagination.mjs +158 -0
- package/dist/PasswordInput.js +1 -0
- package/dist/PasswordInput.mjs +54 -0
- package/dist/Picker.js +8 -0
- package/dist/Picker.mjs +50 -0
- package/dist/Popover.js +1 -0
- package/dist/Popover.mjs +8 -0
- package/dist/QYJ6MIDR-CRK3satR.js +1 -0
- package/dist/QYJ6MIDR-Cy39pEs2.mjs +97 -0
- package/dist/Radio.js +60 -0
- package/dist/Radio.mjs +118 -0
- package/dist/RadioGroup.js +8 -0
- package/dist/RadioGroup.mjs +68 -0
- package/dist/RadioTab.js +61 -0
- package/dist/RadioTab.mjs +104 -0
- package/dist/SYRFVSLH-BpAfr7UE.js +1 -0
- package/dist/SYRFVSLH-DyepaZf7.mjs +48 -0
- package/dist/Search.js +70 -0
- package/dist/Search.mjs +225 -0
- package/dist/Select.js +122 -0
- package/dist/Select.mjs +1071 -0
- package/dist/Shape.js +23 -0
- package/dist/Shape.mjs +37 -0
- package/dist/Slider.js +190 -0
- package/dist/Slider.mjs +531 -0
- package/dist/Stack.js +1 -0
- package/dist/Stack.mjs +32 -0
- package/dist/Swiper.js +141 -0
- package/dist/Swiper.mjs +448 -0
- package/dist/System.js +1 -1
- package/dist/System.mjs +5 -5
- package/dist/Table.js +55 -0
- package/dist/Table.mjs +75 -0
- package/dist/Tabs.js +82 -0
- package/dist/Tabs.mjs +539 -0
- package/dist/Tag.js +78 -0
- package/dist/Tag.mjs +135 -0
- package/dist/Text.js +46 -0
- package/dist/Text.mjs +97 -0
- package/dist/Textarea.js +6 -0
- package/dist/Textarea.mjs +55 -0
- package/dist/TimePicker.js +4 -0
- package/dist/TimePicker.mjs +88 -0
- package/dist/Toast.js +42 -0
- package/dist/Toast.mjs +264 -0
- package/dist/Toggle.js +75 -0
- package/dist/Toggle.mjs +93 -0
- package/dist/Tooltip.js +68 -0
- package/dist/Tooltip.mjs +303 -0
- package/dist/UniversalLink.js +4 -0
- package/dist/UniversalLink.mjs +25 -0
- package/dist/VEVQD5MH-De4r89YE.mjs +20 -0
- package/dist/VEVQD5MH-mN1wMozH.js +1 -0
- package/dist/VGCJ63VH-BNLwLOaC.js +1 -0
- package/dist/VGCJ63VH-fv0YLRh8.mjs +186 -0
- package/dist/VariantIcon.js +8 -0
- package/dist/VariantIcon.mjs +32 -0
- package/dist/Welcome-BNr4uu5n.mjs +48 -0
- package/dist/Welcome-Dw9OaREs.js +3 -0
- package/dist/WelcomeLoader.js +11 -0
- package/dist/WelcomeLoader.mjs +9453 -0
- package/dist/X5NMLKT6-BzhcQu_I.js +1 -0
- package/dist/X5NMLKT6-DGZEtYXj.mjs +25 -0
- package/dist/YV4JVR4I-1ezWeCCz.mjs +341 -0
- package/dist/YV4JVR4I-DIthYWMj.js +15 -0
- package/dist/_commonjsHelpers-CXJ7dpIk.mjs +9 -0
- package/dist/_commonjsHelpers-DvH0V_XJ.js +1 -0
- package/dist/create-event-YSlay9Ef.js +1 -0
- package/dist/create-event-rXDe5aCQ.mjs +8 -0
- package/dist/downshift.esm-DAo-GJwH.js +1 -0
- package/dist/downshift.esm-K4YLLQXl.mjs +1085 -0
- package/dist/field-styles-CeV7pnOp.mjs +86 -0
- package/dist/field-styles-D_gf6ypV.js +63 -0
- package/dist/get-max-width-height-CDLBnp_J.js +1 -0
- package/dist/get-max-width-height-DoUro2T7.mjs +8 -0
- package/dist/hide-focus-rings-root-BNyva1yb.mjs +14 -0
- package/dist/hide-focus-rings-root-DGU4Klq5.js +5 -0
- package/dist/index-1C9Z0d5Q.mjs +446 -0
- package/dist/index-BHi0wohR.js +142 -0
- package/dist/index-BLom3M2B.js +2 -0
- package/dist/{index-WmqrMIzg.mjs → index-BYdkhqH4.mjs} +6344 -6386
- package/dist/index-C_r0bVmL.js +56 -0
- package/dist/index-CgT8GWHS.js +1 -0
- package/dist/index-ColyClKR.mjs +239 -0
- package/dist/index-CrhKWaM2.js +54 -0
- package/dist/index-Cs1IZBks.js +17 -0
- package/dist/index-DCOLdphy.mjs +184 -0
- package/dist/index-DHOW43M6.mjs +132 -0
- package/dist/index-SbQUT2mU.mjs +639 -0
- package/dist/index.js +5 -147
- package/dist/index.mjs +1448 -537
- package/dist/overflow-ellipsis-C2ESrF8C.js +5 -0
- package/dist/overflow-ellipsis-DGV5Kgt-.mjs +10 -0
- package/dist/radio-group-29lMl-2M.mjs +51 -0
- package/dist/radio-group-BpImAAmy.js +1 -0
- package/dist/throttle-BB1Y3bfD.js +1 -0
- package/dist/throttle-BDBzFeFj.mjs +13 -0
- package/dist/types/components/Alert/Title.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +3 -3
- package/dist/types/components/Alert/styles.d.ts +2 -2
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Avatar/styles.d.ts +2 -2
- package/dist/types/components/Badge/styles.d.ts +2 -2
- package/dist/types/components/Card/Cover.d.ts +1 -1
- package/dist/types/components/Card/Cover.styles.d.ts +1 -1
- package/dist/types/components/Checkbox/index.d.ts +13 -0
- package/dist/types/components/Checkbox/styles.d.ts +3 -0
- package/dist/types/components/Checkbox/theme.d.ts +8 -0
- package/dist/types/components/ClearButton/styles.d.ts +1 -1
- package/dist/types/components/CloseButton/styles.d.ts +1 -1
- package/dist/types/components/DatePicker/index.d.ts +15 -0
- package/dist/types/components/DateTimePicker/index.d.ts +5 -0
- package/dist/types/components/DateTimePicker/styles.d.ts +1 -0
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +18 -0
- package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +17 -0
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +4 -0
- package/dist/types/components/DateTimePickerCommon/datePickerStyles.d.ts +1 -0
- package/dist/types/components/DateTimePickerCommon/index.d.ts +5 -0
- package/dist/types/components/DateTimePickerCommon/styles.d.ts +9 -0
- package/dist/types/components/DateTimePickerCommon/theme.d.ts +9 -0
- package/dist/types/components/DateTimePickerCommon/utils.d.ts +6 -0
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +31 -0
- package/dist/types/components/Drawer/AssetDrawer/index.d.ts +4 -0
- package/dist/types/components/Drawer/AssetDrawer/styles.d.ts +3 -0
- package/dist/types/components/Drawer/Close.d.ts +5 -0
- package/dist/types/components/Drawer/Content.d.ts +4 -0
- package/dist/types/components/Drawer/Footer.d.ts +4 -0
- package/dist/types/components/Drawer/Title.d.ts +3 -0
- package/dist/types/components/Drawer/index.d.ts +52 -0
- package/dist/types/components/Drawer/styles.d.ts +10 -0
- package/dist/types/components/Drawer/theme.d.ts +17 -0
- package/dist/types/components/DropdownMenu/Arrow.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Arrow.styled.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Item.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Item.styled.d.ts +1 -0
- package/dist/types/components/DropdownMenu/Separator.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Separator.styled.d.ts +1 -0
- package/dist/types/components/DropdownMenu/index.d.ts +25 -0
- package/dist/types/components/DropdownMenu/styles.d.ts +1 -0
- package/dist/types/components/DropdownMenu/theme.d.ts +8 -0
- package/dist/types/components/Field/index.d.ts +26 -0
- package/dist/types/components/Field/styles.d.ts +21 -0
- package/dist/types/components/Field/utils.d.ts +5 -0
- package/dist/types/components/FieldGroup/index.d.ts +11 -0
- package/dist/types/components/FieldGroup/styles.d.ts +1 -0
- package/dist/types/components/FileDrop/FilePreview.d.ts +9 -0
- package/dist/types/components/FileDrop/Message.d.ts +7 -0
- package/dist/types/components/FileDrop/Preview.d.ts +3 -0
- package/dist/types/components/FileDrop/index.d.ts +52 -0
- package/dist/types/components/FileDrop/styles.d.ts +9 -0
- package/dist/types/components/FileDrop/theme.d.ts +9 -0
- package/dist/types/components/FileDrop/utils.d.ts +3 -0
- package/dist/types/components/FileUpload/index.d.ts +35 -0
- package/dist/types/components/FileUpload/styles.d.ts +1 -0
- package/dist/types/components/Files/index.d.ts +8 -0
- package/dist/types/components/Files/types.d.ts +72 -0
- package/dist/types/components/Grid/Item.d.ts +14 -0
- package/dist/types/components/Grid/index.d.ts +31 -0
- package/dist/types/components/Hint/index.d.ts +10 -0
- package/dist/types/components/Hint/styles.d.ts +4 -0
- package/dist/types/components/Hint/theme.d.ts +9 -0
- package/dist/types/components/Icon/index.d.ts +26 -0
- package/dist/types/components/Icon/styles.d.ts +9 -0
- package/dist/types/components/Icon/theme.d.ts +10 -0
- package/dist/types/components/IconFont/index.d.ts +311 -0
- package/dist/types/components/IconFont/styles.d.ts +7 -0
- package/dist/types/components/IconFont/unicode.json.d.ts +303 -0
- package/dist/types/components/InputText/index.d.ts +21 -0
- package/dist/types/components/InputText/styles.d.ts +3 -0
- package/dist/types/components/Label/index.d.ts +16 -0
- package/dist/types/components/Label/styles.d.ts +5 -0
- package/dist/types/components/Label/theme.d.ts +4 -0
- package/dist/types/components/Link/index.d.ts +15 -0
- package/dist/types/components/Link/styles.d.ts +2 -0
- package/dist/types/components/Link/theme.d.ts +16 -0
- package/dist/types/components/Link/utils.d.ts +1 -0
- package/dist/types/components/Loader/index.d.ts +11 -0
- package/dist/types/components/Loader/styles.d.ts +6 -0
- package/dist/types/components/Loader/theme.d.ts +8 -0
- package/dist/types/components/Logo/Solutions.d.ts +3 -0
- package/dist/types/components/Logo/Symbol.d.ts +3 -0
- package/dist/types/components/Logo/Welcome.d.ts +3 -0
- package/dist/types/components/Logo/Wui.d.ts +3 -0
- package/dist/types/components/Logo/index.d.ts +7 -0
- package/dist/types/components/Logo/styles.d.ts +1 -0
- package/dist/types/components/Modal/Assets/AssetWithTitle.d.ts +9 -0
- package/dist/types/components/Modal/Assets/Backdrop.d.ts +4 -0
- package/dist/types/components/Modal/Assets/Iframe.d.ts +5 -0
- package/dist/types/components/Modal/Assets/index.d.ts +17 -0
- package/dist/types/components/Modal/Assets/styles.d.ts +7 -0
- package/dist/types/components/Modal/Close.d.ts +6 -0
- package/dist/types/components/Modal/Content.d.ts +16 -0
- package/dist/types/components/Modal/Footer.d.ts +12 -0
- package/dist/types/components/Modal/Header.d.ts +12 -0
- package/dist/types/components/Modal/index.d.ts +53 -0
- package/dist/types/components/Modal/styles.d.ts +11 -0
- package/dist/types/components/Modal/theme.d.ts +17 -0
- package/dist/types/components/Pagination/index.d.ts +14 -0
- package/dist/types/components/Pagination/styles.d.ts +7 -0
- package/dist/types/components/Pagination/theme.d.ts +9 -0
- package/dist/types/components/Pagination/utils.d.ts +7 -0
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +9 -0
- package/dist/types/components/PasswordInput/index.d.ts +5 -0
- package/dist/types/components/Picker/index.d.ts +17 -0
- package/dist/types/components/Picker/styles.d.ts +2 -0
- package/dist/types/components/Popover/Arrow.d.ts +6 -0
- package/dist/types/components/Popover/Content.d.ts +9 -0
- package/dist/types/components/Popover/Popover.d.ts +14 -0
- package/dist/types/components/Popover/PopoverHover.d.ts +14 -0
- package/dist/types/components/Popover/Trigger.d.ts +10 -0
- package/dist/types/components/Popover/index.d.ts +3 -0
- package/dist/types/components/Popover/styles.d.ts +12 -0
- package/dist/types/components/Popover/theme.d.ts +8 -0
- package/dist/types/components/Popover/usePopover.d.ts +15 -0
- package/dist/types/components/Radio/index.d.ts +12 -0
- package/dist/types/components/Radio/styles.d.ts +7 -0
- package/dist/types/components/Radio/theme.d.ts +11 -0
- package/dist/types/components/RadioGroup/index.d.ts +17 -0
- package/dist/types/components/RadioGroup/styles.d.ts +4 -0
- package/dist/types/components/RadioTab/index.d.ts +14 -0
- package/dist/types/components/RadioTab/styles.d.ts +18 -0
- package/dist/types/components/RadioTab/theme.d.ts +7 -0
- package/dist/types/components/Search/index.d.ts +29 -0
- package/dist/types/components/Search/styles.d.ts +15 -0
- package/dist/types/components/Select/index.d.ts +54 -0
- package/dist/types/components/Select/multipleSelections.d.ts +3 -0
- package/dist/types/components/Select/styles.d.ts +32 -0
- package/dist/types/components/Select/utils.d.ts +18 -0
- package/dist/types/components/Shape/index.d.ts +6 -0
- package/dist/types/components/Shape/styles.d.ts +2 -0
- package/dist/types/components/Slider/Range.d.ts +17 -0
- package/dist/types/components/Slider/index.d.ts +27 -0
- package/dist/types/components/Slider/styles.d.ts +19 -0
- package/dist/types/components/Slider/theme.d.ts +11 -0
- package/dist/types/components/Stack/index.d.ts +7 -0
- package/dist/types/components/Swiper/index.d.ts +80 -0
- package/dist/types/components/Swiper/styles.d.ts +138 -0
- package/dist/types/components/Swiper/theme.d.ts +11 -0
- package/dist/types/components/Swiper/use-interval.d.ts +1 -0
- package/dist/types/components/Table/index.d.ts +18 -0
- package/dist/types/components/Table/styles.d.ts +13 -0
- package/dist/types/components/Table/theme.d.ts +15 -0
- package/dist/types/components/Tabs/ActiveBar.d.ts +13 -0
- package/dist/types/components/Tabs/TabList.d.ts +13 -0
- package/dist/types/components/Tabs/TabPanel.d.ts +11 -0
- package/dist/types/components/Tabs/index.d.ts +18 -0
- package/dist/types/components/Tabs/styles.d.ts +9 -0
- package/dist/types/components/Tabs/theme.d.ts +28 -0
- package/dist/types/components/Tabs/utils.d.ts +1 -0
- package/dist/types/components/Tag/index.d.ts +17 -0
- package/dist/types/components/Tag/styles.d.ts +15 -0
- package/dist/types/components/Tag/theme.d.ts +14 -0
- package/dist/types/components/Text/index.d.ts +25 -0
- package/dist/types/components/Text/styles.d.ts +2 -0
- package/dist/types/components/Textarea/index.d.ts +18 -0
- package/dist/types/components/Textarea/styles.d.ts +2 -0
- package/dist/types/components/Textarea/theme.d.ts +4 -0
- package/dist/types/components/TimePicker/index.d.ts +13 -0
- package/dist/types/components/TimePicker/styles.d.ts +1 -0
- package/dist/types/components/Toast/Growl.d.ts +12 -0
- package/dist/types/components/Toast/Snackbar.d.ts +18 -0
- package/dist/types/components/Toast/ToastWrapper.d.ts +16 -0
- package/dist/types/components/Toast/index.d.ts +27 -0
- package/dist/types/components/Toast/styles.d.ts +19 -0
- package/dist/types/components/Toast/theme.d.ts +22 -0
- package/dist/types/components/Toast/utils.d.ts +26 -0
- package/dist/types/components/Toggle/index.d.ts +11 -0
- package/dist/types/components/Toggle/styles.d.ts +12 -0
- package/dist/types/components/Toggle/theme.d.ts +10 -0
- package/dist/types/components/Tooltip/index.d.ts +11 -0
- package/dist/types/components/Tooltip/styles.d.ts +10 -0
- package/dist/types/components/Tooltip/theme.d.ts +4 -0
- package/dist/types/components/UniversalLink/index.d.ts +7 -0
- package/dist/types/components/UniversalLink/styles.d.ts +1 -0
- package/dist/types/components/VariantIcon/index.d.ts +11 -0
- package/dist/types/components/VariantIcon/styles.d.ts +4 -0
- package/dist/types/components/VariantIcon/theme.d.ts +10 -0
- package/dist/types/components/WelcomeLoader/index.d.ts +2 -0
- package/dist/types/components/WelcomeLoader/loader.json.d.ts +3 -0
- package/dist/types/components/index.d.ts +43 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/theme/defaultFields.d.ts +39 -0
- package/dist/types/theme/index.d.ts +52 -2
- package/dist/types/theme/typography.d.ts +2 -2
- package/dist/types/utils/clamp.d.ts +1 -0
- package/dist/types/utils/create-event.d.ts +8 -0
- package/dist/types/utils/field-styles.d.ts +21 -0
- package/dist/types/utils/format-bytes.d.ts +1 -0
- package/dist/types/utils/get-max-width-height.d.ts +1 -0
- package/dist/types/utils/hex-to-rgb.d.ts +1 -0
- package/dist/types/utils/hex-to-rgba.d.ts +1 -0
- package/dist/types/utils/hide-focus-rings-root.d.ts +8 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/overflow-ellipsis.d.ts +1 -0
- package/dist/types/utils/throttle.d.ts +5 -0
- package/dist/types/utils/use-copy-text.d.ts +5 -0
- package/dist/types/utils/use-create-portal.d.ts +4 -0
- package/dist/types/utils/use-fork-ref.d.ts +3 -0
- package/dist/types/utils/use-isomorphic-layout-effect.d.ts +2 -0
- package/dist/types/utils/use-viewport.d.ts +6 -0
- package/dist/types/utils/wrap-children.d.ts +1 -0
- package/dist/use-isomorphic-layout-effect-C1_Gy5Nu.js +1 -0
- package/dist/use-isomorphic-layout-effect-Izr-e2pi.mjs +6 -0
- package/dist/use-viewport-BDDjd1nl.js +1 -0
- package/dist/use-viewport-m3glsbna.mjs +16 -0
- package/dist/usePopover-CZsYHcTW.js +31 -0
- package/dist/usePopover-CcsC9Y-s.mjs +143 -0
- package/dist/wrap-children-BLDjJiiy.js +1 -0
- package/dist/wrap-children-aq69jtFP.mjs +12 -0
- package/package.json +56 -4
- package/dist/X5NMLKT6-BC1Q56kB.mjs +0 -1258
- package/dist/X5NMLKT6-vrNG8i_R.js +0 -14
- package/dist/index-0MPAX4B5.mjs +0 -320
- package/dist/index-BNA_A0oa.js +0 -155
- package/dist/index-BXJQXgy9.js +0 -13
- package/dist/index-Bwrtxit1.mjs +0 -84
- package/dist/index-Ct2FOeyM.js +0 -17
- package/dist/index-DRNn5iIc.js +0 -142
- package/dist/index-Du8Nrf16.mjs +0 -128
- package/dist/index-MifIgNHW.mjs +0 -47
- package/dist/index-V28zHt_Z.js +0 -68
package/dist/index.mjs
CHANGED
|
@@ -1,75 +1,118 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
import { Accordion as Qe, useAccordion as er } from "./Accordion.mjs";
|
|
3
|
+
import { Alert as or } from "./Alert.mjs";
|
|
4
|
+
import { AspectRatio as nr } from "./AspectRatio.mjs";
|
|
5
|
+
import { Avatar as lr } from "./Avatar.mjs";
|
|
6
|
+
import { Badge as dr } from "./Badge.mjs";
|
|
7
|
+
import { Box as cr } from "./Box.mjs";
|
|
8
|
+
import { h as m } from "./index-1C9Z0d5Q.mjs";
|
|
9
|
+
import { a as ur, B as mr } from "./index-1C9Z0d5Q.mjs";
|
|
10
|
+
import { Button as pr, StyledButton as fr } from "./Button.mjs";
|
|
11
|
+
import { ButtonGroup as xr } from "./ButtonGroup.mjs";
|
|
12
|
+
import { Card as yr, CardComponent as kr } from "./Card.mjs";
|
|
13
|
+
import { a as wr } from "./index-DCOLdphy.mjs";
|
|
14
|
+
import { ClearButton as vr, StyledClearButton as Tr } from "./ClearButton.mjs";
|
|
15
|
+
import { CloseButton as $r } from "./CloseButton.mjs";
|
|
16
|
+
import { DatePicker as Ar } from "./DatePicker.mjs";
|
|
17
|
+
import { DateTimePicker as Er } from "./DateTimePicker.mjs";
|
|
18
|
+
import { AssetDrawer as zr, Drawer as Lr, DrawerBackdrop as Ir, Trigger as Hr, useDrawer as Ur } from "./Drawer.mjs";
|
|
19
|
+
import { DropdownMenu as Pr, useDropdownMenu as Mr } from "./DropdownMenu.mjs";
|
|
20
|
+
import { Field as Gr, IconGroupWrapper as Or, IconWrapper as Vr, getBaseType as Yr } from "./Field.mjs";
|
|
21
|
+
import { FieldGroup as Xr, StyledFieldGroup as Kr } from "./FieldGroup.mjs";
|
|
22
|
+
import { FileDrop as jr, ImagePreview as qr } from "./FileDrop.mjs";
|
|
23
|
+
import { g as eo, a as ro, b as oo, c as to } from "./index-DHOW43M6.mjs";
|
|
24
|
+
import { FileUpload as ao } from "./FileUpload.mjs";
|
|
25
|
+
import { Flex as io } from "./Flex.mjs";
|
|
26
|
+
import { Grid as co } from "./Grid.mjs";
|
|
27
|
+
import { Hint as uo, StyledHint as mo } from "./Hint.mjs";
|
|
28
|
+
import { Icon as po, StyledIcon as fo } from "./Icon.mjs";
|
|
29
|
+
import { InputText as xo } from "./InputText.mjs";
|
|
30
|
+
import { Label as yo, StyledLabel as ko } from "./Label.mjs";
|
|
31
|
+
import { Link as wo } from "./Link.mjs";
|
|
32
|
+
import { Loader as vo } from "./Loader.mjs";
|
|
33
|
+
import { W as Do, a as $o, S as Wo, b as Ao } from "./Welcome-BNr4uu5n.mjs";
|
|
34
|
+
import { AssetModal as Eo, Modal as Ro, useModal as zo } from "./Modal.mjs";
|
|
35
|
+
import { Pagination as Io } from "./Pagination.mjs";
|
|
36
|
+
import { PasswordInput as Uo } from "./PasswordInput.mjs";
|
|
37
|
+
import { Picker as Po } from "./Picker.mjs";
|
|
38
|
+
import { P as No, a as Go, u as Oo, b as Vo } from "./usePopover-CcsC9Y-s.mjs";
|
|
39
|
+
import { Radio as Jo } from "./Radio.mjs";
|
|
40
|
+
import { RadioGroup as Ko } from "./RadioGroup.mjs";
|
|
41
|
+
import { RadioTab as jo } from "./RadioTab.mjs";
|
|
42
|
+
import { Search as Qo, StyledSearch as et } from "./Search.mjs";
|
|
43
|
+
import { Select as ot, StyledSelect as tt } from "./Select.mjs";
|
|
44
|
+
import { Shape as at } from "./Shape.mjs";
|
|
45
|
+
import { Slider as it, SliderComponent as dt, ensureMinMax as st, round as ct, thumbWidth as gt } from "./Slider.mjs";
|
|
46
|
+
import { Stack as mt } from "./Stack.mjs";
|
|
47
|
+
import { StyledSwiper as pt, Swiper as ft, useSwiper as ht } from "./Swiper.mjs";
|
|
48
|
+
import { Table as Ct, TableComponent as yt } from "./Table.mjs";
|
|
49
|
+
import { Tab as Ft, TabComponent as wt, useTab as St } from "./Tabs.mjs";
|
|
50
|
+
import { StyledTag as Tt, Tag as Dt } from "./Tag.mjs";
|
|
51
|
+
import { Text as Wt } from "./Text.mjs";
|
|
52
|
+
import { Textarea as Bt } from "./Textarea.mjs";
|
|
53
|
+
import { TimePicker as Rt } from "./TimePicker.mjs";
|
|
54
|
+
import { Notifications as Lt, Toast as It, dismiss as Ht, remove as Ut, toast as _t, useToast as Pt } from "./Toast.mjs";
|
|
55
|
+
import { Toggle as Nt } from "./Toggle.mjs";
|
|
56
|
+
import { Tooltip as Ot } from "./Tooltip.mjs";
|
|
57
|
+
import { VariantIcon as Yt } from "./VariantIcon.mjs";
|
|
58
|
+
import { WelcomeLoader as Xt } from "./WelcomeLoader.mjs";
|
|
59
|
+
import { WuiProvider as Zt } from "./WuiProvider.mjs";
|
|
60
|
+
import { css as h, rpxTransformers as F, defaultTheme as w } from "@xstyled/styled-components";
|
|
61
|
+
import { useState as S, useCallback as v } from "react";
|
|
62
|
+
import { g as T } from "./_commonjsHelpers-CXJ7dpIk.mjs";
|
|
63
|
+
function f(o, e) {
|
|
64
|
+
if (typeof o != "object" || o === null) return e;
|
|
65
|
+
if (typeof e != "object" || e === null) return o;
|
|
66
|
+
const r = { ...o };
|
|
24
67
|
for (const n in e)
|
|
25
|
-
e.hasOwnProperty(n) && (
|
|
26
|
-
return
|
|
68
|
+
e.hasOwnProperty(n) && (r[n] = f(r[n], e[n]));
|
|
69
|
+
return r;
|
|
27
70
|
}
|
|
28
|
-
const
|
|
29
|
-
const { borderWidths: e, colors:
|
|
71
|
+
const D = (o) => {
|
|
72
|
+
const { borderWidths: e, colors: r, fontSizes: n, radii: a, space: i, texts: d, transitions: l } = o;
|
|
30
73
|
return {
|
|
31
|
-
padding:
|
|
74
|
+
padding: i.lg,
|
|
32
75
|
wrapper: {
|
|
33
|
-
backgroundColor:
|
|
76
|
+
backgroundColor: r["neutral-10"],
|
|
34
77
|
transition: l.medium,
|
|
35
|
-
border: `${e.sm} solid ${
|
|
78
|
+
border: `${e.sm} solid ${r["neutral-30"]}`,
|
|
36
79
|
borderRadius: a.md
|
|
37
80
|
},
|
|
38
81
|
icon: {
|
|
39
|
-
color:
|
|
82
|
+
color: r["neutral-90"]
|
|
40
83
|
},
|
|
41
84
|
content: {
|
|
42
85
|
fontSize: n.sm
|
|
43
86
|
},
|
|
44
|
-
title:
|
|
87
|
+
title: d.h5
|
|
45
88
|
};
|
|
46
|
-
},
|
|
47
|
-
const { borderWidths: e, colors:
|
|
48
|
-
backgroundColor:
|
|
49
|
-
borderColor:
|
|
50
|
-
color:
|
|
89
|
+
}, $ = (o) => {
|
|
90
|
+
const { borderWidths: e, colors: r, fontSizes: n, fontWeights: a, radii: i, space: d } = o, l = (s) => ({
|
|
91
|
+
backgroundColor: r[`${s}-10`],
|
|
92
|
+
borderColor: r[`${s}-10`],
|
|
93
|
+
color: r[`${s}-90`]
|
|
51
94
|
});
|
|
52
95
|
return {
|
|
53
96
|
default: {
|
|
54
|
-
backgroundColor:
|
|
55
|
-
borderColor:
|
|
56
|
-
borderRadius:
|
|
97
|
+
backgroundColor: r["neutral-10"],
|
|
98
|
+
borderColor: r["neutral-30"],
|
|
99
|
+
borderRadius: i.lg,
|
|
57
100
|
borderStyle: "solid",
|
|
58
101
|
borderWidth: e.sm,
|
|
59
|
-
color:
|
|
102
|
+
color: r["neutral-80"],
|
|
60
103
|
fontSize: n.sm
|
|
61
104
|
},
|
|
62
105
|
title: {
|
|
63
106
|
default: {
|
|
64
|
-
color:
|
|
107
|
+
color: r["neutral-90"],
|
|
65
108
|
fontWeight: a.medium
|
|
66
109
|
},
|
|
67
110
|
sizes: {
|
|
68
111
|
sm: {
|
|
69
|
-
marginBottom:
|
|
112
|
+
marginBottom: d.xs
|
|
70
113
|
},
|
|
71
114
|
md: {
|
|
72
|
-
marginBottom:
|
|
115
|
+
marginBottom: d.sm
|
|
73
116
|
}
|
|
74
117
|
}
|
|
75
118
|
},
|
|
@@ -78,21 +121,21 @@ const N = (r) => {
|
|
|
78
121
|
info: l("blue"),
|
|
79
122
|
success: l("green"),
|
|
80
123
|
beige: {
|
|
81
|
-
backgroundColor:
|
|
82
|
-
borderColor:
|
|
83
|
-
color:
|
|
124
|
+
backgroundColor: r["beige-20"],
|
|
125
|
+
borderColor: r["beige-20"],
|
|
126
|
+
color: r["beige-80"]
|
|
84
127
|
},
|
|
85
128
|
sizes: {
|
|
86
129
|
sm: {
|
|
87
|
-
padding:
|
|
130
|
+
padding: d.lg
|
|
88
131
|
},
|
|
89
132
|
md: {
|
|
90
|
-
padding:
|
|
133
|
+
padding: d.xl
|
|
91
134
|
}
|
|
92
135
|
}
|
|
93
136
|
};
|
|
94
|
-
},
|
|
95
|
-
const { colors: e, fontWeights:
|
|
137
|
+
}, W = (o) => {
|
|
138
|
+
const { colors: e, fontWeights: r, toRem: n } = o;
|
|
96
139
|
return {
|
|
97
140
|
sizes: {
|
|
98
141
|
sm: n(20),
|
|
@@ -103,15 +146,15 @@ const N = (r) => {
|
|
|
103
146
|
},
|
|
104
147
|
text: {
|
|
105
148
|
color: e["neutral-90"],
|
|
106
|
-
fontWeight:
|
|
149
|
+
fontWeight: r.bold
|
|
107
150
|
}
|
|
108
151
|
};
|
|
109
|
-
},
|
|
110
|
-
const { colors: e, fontWeights:
|
|
152
|
+
}, A = (o) => {
|
|
153
|
+
const { colors: e, fontWeights: r, space: n, texts: a, toRem: i } = o;
|
|
111
154
|
return {
|
|
112
155
|
default: {
|
|
113
156
|
...a.xs,
|
|
114
|
-
fontWeight:
|
|
157
|
+
fontWeight: r.medium
|
|
115
158
|
},
|
|
116
159
|
variants: {
|
|
117
160
|
default: {
|
|
@@ -136,22 +179,22 @@ const N = (r) => {
|
|
|
136
179
|
sizes: {
|
|
137
180
|
sm: {
|
|
138
181
|
padding: n.xxs,
|
|
139
|
-
height:
|
|
140
|
-
borderRadius:
|
|
182
|
+
height: i(16),
|
|
183
|
+
borderRadius: i(14)
|
|
141
184
|
},
|
|
142
185
|
md: {
|
|
143
186
|
padding: n.xs,
|
|
144
|
-
height:
|
|
145
|
-
borderRadius:
|
|
187
|
+
height: i(20),
|
|
188
|
+
borderRadius: i(14)
|
|
146
189
|
}
|
|
147
190
|
}
|
|
148
191
|
};
|
|
149
|
-
},
|
|
150
|
-
const { colors: e, space:
|
|
192
|
+
}, B = (o) => {
|
|
193
|
+
const { colors: e, space: r, texts: n } = o;
|
|
151
194
|
return {
|
|
152
195
|
list: {
|
|
153
196
|
...n["subtitle-sm"],
|
|
154
|
-
padding: `${
|
|
197
|
+
padding: `${r.sm} 0`
|
|
155
198
|
},
|
|
156
199
|
item: {
|
|
157
200
|
default: {
|
|
@@ -166,13 +209,13 @@ const N = (r) => {
|
|
|
166
209
|
}
|
|
167
210
|
},
|
|
168
211
|
separator: {
|
|
169
|
-
padding: `0 ${
|
|
212
|
+
padding: `0 ${r.xs}`,
|
|
170
213
|
color: e["neutral-50"]
|
|
171
214
|
}
|
|
172
215
|
};
|
|
173
|
-
},
|
|
174
|
-
const { colors: e, focus:
|
|
175
|
-
...
|
|
216
|
+
}, E = (o) => {
|
|
217
|
+
const { colors: e, focus: r, fontWeights: n, radii: a, space: i, texts: d, toRem: l } = o, s = {
|
|
218
|
+
...d.xs,
|
|
176
219
|
color: e["neutral-10"],
|
|
177
220
|
fontWeight: n.bold,
|
|
178
221
|
letterSpacing: 0,
|
|
@@ -180,24 +223,24 @@ const N = (r) => {
|
|
|
180
223
|
};
|
|
181
224
|
return {
|
|
182
225
|
primary: {
|
|
183
|
-
...
|
|
184
|
-
color:
|
|
226
|
+
...s,
|
|
227
|
+
color: o.colors["neutral-90"],
|
|
185
228
|
backgroundColor: e["primary-40"],
|
|
186
229
|
borderColor: e["primary-40"]
|
|
187
230
|
},
|
|
188
231
|
secondary: {
|
|
189
|
-
...
|
|
232
|
+
...s,
|
|
190
233
|
backgroundColor: e["neutral-90"],
|
|
191
234
|
borderColor: e["neutral-90"]
|
|
192
235
|
},
|
|
193
236
|
tertiary: {
|
|
194
|
-
...
|
|
237
|
+
...s,
|
|
195
238
|
color: e["neutral-90"],
|
|
196
239
|
backgroundColor: "transparent",
|
|
197
240
|
borderColor: e["neutral-90"]
|
|
198
241
|
},
|
|
199
242
|
ghost: {
|
|
200
|
-
...
|
|
243
|
+
...s,
|
|
201
244
|
color: e["neutral-90"],
|
|
202
245
|
backgroundColor: "transparent",
|
|
203
246
|
borderColor: "transparent"
|
|
@@ -229,10 +272,10 @@ const N = (r) => {
|
|
|
229
272
|
borderColor: "transparent"
|
|
230
273
|
},
|
|
231
274
|
tertiary: {
|
|
232
|
-
backgroundColor:
|
|
275
|
+
backgroundColor: m(e["neutral-90"], 0.1)
|
|
233
276
|
},
|
|
234
277
|
ghost: {
|
|
235
|
-
backgroundColor:
|
|
278
|
+
backgroundColor: m(e["neutral-90"], 0.1)
|
|
236
279
|
},
|
|
237
280
|
danger: {
|
|
238
281
|
primary: {
|
|
@@ -248,14 +291,14 @@ const N = (r) => {
|
|
|
248
291
|
}
|
|
249
292
|
},
|
|
250
293
|
focus: {
|
|
251
|
-
primary: { ...
|
|
252
|
-
secondary: { ...
|
|
253
|
-
tertiary: { ...
|
|
254
|
-
ghost: { ...
|
|
294
|
+
primary: { ...r(e["primary-20"]) },
|
|
295
|
+
secondary: { ...r(e["neutral-40"]) },
|
|
296
|
+
tertiary: { ...r(e["neutral-40"]) },
|
|
297
|
+
ghost: { ...r(e["neutral-40"]) },
|
|
255
298
|
danger: {
|
|
256
|
-
primary: { ...
|
|
257
|
-
tertiary: { ...
|
|
258
|
-
ghost: { ...
|
|
299
|
+
primary: { ...r(e["red-40"]) },
|
|
300
|
+
tertiary: { ...r(e["red-40"]) },
|
|
301
|
+
ghost: { ...r(e["red-40"]) }
|
|
259
302
|
}
|
|
260
303
|
},
|
|
261
304
|
active: {
|
|
@@ -268,10 +311,10 @@ const N = (r) => {
|
|
|
268
311
|
borderColor: e["neutral-50"]
|
|
269
312
|
},
|
|
270
313
|
tertiary: {
|
|
271
|
-
backgroundColor:
|
|
314
|
+
backgroundColor: m(e["neutral-90"], 0.4)
|
|
272
315
|
},
|
|
273
316
|
ghost: {
|
|
274
|
-
backgroundColor:
|
|
317
|
+
backgroundColor: m(e["neutral-90"], 0.4)
|
|
275
318
|
},
|
|
276
319
|
danger: {
|
|
277
320
|
primary: {
|
|
@@ -287,32 +330,32 @@ const N = (r) => {
|
|
|
287
330
|
}
|
|
288
331
|
},
|
|
289
332
|
disabled: {
|
|
290
|
-
...
|
|
333
|
+
...s,
|
|
291
334
|
color: e["beige-70"],
|
|
292
335
|
backgroundColor: e["beige-40"],
|
|
293
336
|
borderColor: e["beige-40"],
|
|
294
|
-
"&:focus": { ...
|
|
337
|
+
"&:focus": { ...r(e["beige-10"]) }
|
|
295
338
|
},
|
|
296
339
|
sizes: {
|
|
297
340
|
xs: {
|
|
298
341
|
height: l(24),
|
|
299
|
-
padding: `${
|
|
342
|
+
padding: `${i.xs} ${i.sm}`
|
|
300
343
|
},
|
|
301
344
|
sm: {
|
|
302
345
|
height: l(32),
|
|
303
|
-
padding: `${
|
|
346
|
+
padding: `${i.sm} ${i.md}`
|
|
304
347
|
},
|
|
305
348
|
md: {
|
|
306
|
-
...
|
|
349
|
+
...d.sm,
|
|
307
350
|
fontWeight: n.bold,
|
|
308
351
|
height: l(40),
|
|
309
|
-
padding: `${
|
|
352
|
+
padding: `${i.sm} ${i.lg}`
|
|
310
353
|
},
|
|
311
354
|
lg: {
|
|
312
|
-
...
|
|
355
|
+
...d.sm,
|
|
313
356
|
fontWeight: n.bold,
|
|
314
357
|
height: l(48),
|
|
315
|
-
padding: `${
|
|
358
|
+
padding: `${i.md} ${i.xl}`
|
|
316
359
|
}
|
|
317
360
|
},
|
|
318
361
|
icon: {
|
|
@@ -330,17 +373,922 @@ const N = (r) => {
|
|
|
330
373
|
}
|
|
331
374
|
}
|
|
332
375
|
};
|
|
333
|
-
},
|
|
334
|
-
const { borderWidths: e, colors:
|
|
376
|
+
}, R = (o) => {
|
|
377
|
+
const { borderWidths: e, colors: r } = o;
|
|
335
378
|
return {
|
|
336
379
|
default: {
|
|
337
|
-
backgroundColor:
|
|
380
|
+
backgroundColor: r["neutral-10"],
|
|
338
381
|
borderStyle: "solid",
|
|
339
382
|
borderWidth: e.sm,
|
|
340
|
-
borderColor:
|
|
383
|
+
borderColor: r["neutral-30"]
|
|
341
384
|
}
|
|
342
385
|
};
|
|
343
|
-
},
|
|
386
|
+
}, z = (o) => {
|
|
387
|
+
const { colors: e, fontWeights: r } = o;
|
|
388
|
+
return {
|
|
389
|
+
item: {
|
|
390
|
+
selected: {
|
|
391
|
+
color: e["neutral-90"],
|
|
392
|
+
fontWeight: r.bold,
|
|
393
|
+
backgroundColor: e["primary-40"],
|
|
394
|
+
outline: "none"
|
|
395
|
+
},
|
|
396
|
+
today: {
|
|
397
|
+
color: e["neutral-90"],
|
|
398
|
+
fontWeight: r.bold
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
}, L = (o) => {
|
|
403
|
+
const { colors: e, radii: r, toRem: n } = o;
|
|
404
|
+
return {
|
|
405
|
+
default: {
|
|
406
|
+
width: n(16),
|
|
407
|
+
height: n(16),
|
|
408
|
+
flexShrink: 0,
|
|
409
|
+
borderRadius: r.sm
|
|
410
|
+
},
|
|
411
|
+
disabled: {
|
|
412
|
+
borderColor: e["beige-60"]
|
|
413
|
+
},
|
|
414
|
+
checked: {
|
|
415
|
+
color: e["neutral-90"],
|
|
416
|
+
backgroundColor: e["primary-40"],
|
|
417
|
+
borderColor: e["primary-40"]
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
}, I = (o) => {
|
|
421
|
+
const { colors: e, space: r, toRem: n } = o;
|
|
422
|
+
return {
|
|
423
|
+
backdrop: {
|
|
424
|
+
backgroundColor: e.overlay,
|
|
425
|
+
zIndex: 999
|
|
426
|
+
},
|
|
427
|
+
default: {
|
|
428
|
+
zIndex: 999
|
|
429
|
+
},
|
|
430
|
+
closeButton: {},
|
|
431
|
+
title: {
|
|
432
|
+
margin: 0,
|
|
433
|
+
backgroundColor: e["neutral-10"],
|
|
434
|
+
padding: `${r.xl} ${r["5xl"]} ${r.xl} ${r.xl}`
|
|
435
|
+
},
|
|
436
|
+
content: {
|
|
437
|
+
padding: `${r.xl}`
|
|
438
|
+
},
|
|
439
|
+
footer: {
|
|
440
|
+
backgroundColor: e["neutral-10"],
|
|
441
|
+
padding: `${r.xl}`
|
|
442
|
+
},
|
|
443
|
+
sizes: {
|
|
444
|
+
horizontal: {
|
|
445
|
+
sm: { width: n(400) },
|
|
446
|
+
md: { width: n(550) },
|
|
447
|
+
lg: { width: n(680) }
|
|
448
|
+
},
|
|
449
|
+
vertical: {
|
|
450
|
+
sm: { height: n(400) },
|
|
451
|
+
md: { height: n(550) },
|
|
452
|
+
lg: { height: n(680) }
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
};
|
|
456
|
+
}, H = (o) => {
|
|
457
|
+
const { colors: e, fontSizes: r, radii: n, toRem: a } = o, i = e["beige-30"];
|
|
458
|
+
return {
|
|
459
|
+
inner: {
|
|
460
|
+
fontSize: r.sm,
|
|
461
|
+
minWidth: a(130),
|
|
462
|
+
borderRadius: n.md
|
|
463
|
+
},
|
|
464
|
+
item: {
|
|
465
|
+
backgroundColor: "transparent",
|
|
466
|
+
color: e["beige-70"],
|
|
467
|
+
"&:hover": {
|
|
468
|
+
backgroundColor: e["beige-30"],
|
|
469
|
+
color: e["neutral-90"]
|
|
470
|
+
},
|
|
471
|
+
"&:focus": {
|
|
472
|
+
backgroundColor: e["beige-30"],
|
|
473
|
+
color: e["neutral-90"]
|
|
474
|
+
},
|
|
475
|
+
"&[disabled]": {
|
|
476
|
+
backgroundColor: "transparent",
|
|
477
|
+
color: e["beige-40"],
|
|
478
|
+
cursor: "not-allowed"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
separator: {
|
|
482
|
+
backgroundColor: i
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
}, U = (o) => {
|
|
486
|
+
const { colors: e, toRem: r } = o;
|
|
487
|
+
return {
|
|
488
|
+
default: {
|
|
489
|
+
minHeight: r(200),
|
|
490
|
+
borderStyle: "dashed"
|
|
491
|
+
},
|
|
492
|
+
dragAccept: {},
|
|
493
|
+
dragReject: {},
|
|
494
|
+
disabled: {
|
|
495
|
+
backgroundColor: e["beige-30"]
|
|
496
|
+
}
|
|
497
|
+
};
|
|
498
|
+
}, _ = (o) => {
|
|
499
|
+
const { colors: e, texts: r } = o;
|
|
500
|
+
return {
|
|
501
|
+
default: {
|
|
502
|
+
...r.xs,
|
|
503
|
+
color: e["neutral-60"]
|
|
504
|
+
},
|
|
505
|
+
danger: {
|
|
506
|
+
color: e["red-70"]
|
|
507
|
+
},
|
|
508
|
+
success: {
|
|
509
|
+
color: e["green-70"]
|
|
510
|
+
},
|
|
511
|
+
warning: {
|
|
512
|
+
color: e["orange-70"]
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
}, P = (o) => {
|
|
516
|
+
const { colors: e, fontSizes: r, fontWeights: n } = o;
|
|
517
|
+
return {
|
|
518
|
+
color: e["neutral-60"],
|
|
519
|
+
fontSize: r.sm,
|
|
520
|
+
fontWeight: n.medium
|
|
521
|
+
};
|
|
522
|
+
}, M = (o) => {
|
|
523
|
+
const { colors: e, fontWeights: r, icons: n, space: a, transitions: i } = o;
|
|
524
|
+
return {
|
|
525
|
+
default: {
|
|
526
|
+
color: e["neutral-90"],
|
|
527
|
+
fontWeight: r.medium,
|
|
528
|
+
transition: i.medium
|
|
529
|
+
},
|
|
530
|
+
withExternalLink: {
|
|
531
|
+
backgroundSize: `calc(100% - ${n.sm} - ${a.sm}) 50%`
|
|
532
|
+
},
|
|
533
|
+
disabled: {
|
|
534
|
+
color: e["neutral-50"],
|
|
535
|
+
backgroundImage: `linear-gradient(0deg, ${e["neutral-30"]}, ${e["neutral-30"]} 100%)`
|
|
536
|
+
},
|
|
537
|
+
primary: {
|
|
538
|
+
default: {},
|
|
539
|
+
hover: {}
|
|
540
|
+
},
|
|
541
|
+
secondary: {
|
|
542
|
+
default: {
|
|
543
|
+
backgroundImage: `linear-gradient(0deg, ${e["neutral-90"]}, ${e["neutral-90"]} 100%)`
|
|
544
|
+
},
|
|
545
|
+
hover: {
|
|
546
|
+
color: e["neutral-10"]
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
};
|
|
550
|
+
}, N = ({ toRem: o }) => ({
|
|
551
|
+
xs: o(8),
|
|
552
|
+
sm: o(10),
|
|
553
|
+
md: o(15),
|
|
554
|
+
lg: o(20)
|
|
555
|
+
}), G = ({ toRem: o }) => ({
|
|
556
|
+
xs: o(12),
|
|
557
|
+
sm: o(16),
|
|
558
|
+
md: o(24),
|
|
559
|
+
lg: o(32),
|
|
560
|
+
xl: o(48),
|
|
561
|
+
xxl: o(64)
|
|
562
|
+
}), O = (o) => {
|
|
563
|
+
const { colors: e, radii: r, space: n, toRem: a } = o;
|
|
564
|
+
return {
|
|
565
|
+
backdrop: {
|
|
566
|
+
backgroundColor: e.overlay,
|
|
567
|
+
zIndex: 999
|
|
568
|
+
},
|
|
569
|
+
default: {
|
|
570
|
+
zIndex: 999,
|
|
571
|
+
borderRadius: r.md
|
|
572
|
+
},
|
|
573
|
+
header: {
|
|
574
|
+
backgroundColor: e["neutral-10"],
|
|
575
|
+
borderTopLeftRadius: r.md,
|
|
576
|
+
borderTopRightRadius: r.md,
|
|
577
|
+
paddingTop: n.xxl,
|
|
578
|
+
paddingRight: n["3xl"],
|
|
579
|
+
paddingBottom: n.xxl,
|
|
580
|
+
paddingLeft: n.xxl,
|
|
581
|
+
subtitle: {
|
|
582
|
+
color: e["neutral-70"],
|
|
583
|
+
variant: "sm",
|
|
584
|
+
margin: 0
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
body: {
|
|
588
|
+
color: e["neutral-90"],
|
|
589
|
+
paddingRight: n["3xl"],
|
|
590
|
+
paddingBottom: n.xxl,
|
|
591
|
+
paddingLeft: n.xxl
|
|
592
|
+
},
|
|
593
|
+
footer: {
|
|
594
|
+
backgroundColor: e["neutral-10"],
|
|
595
|
+
borderTop: `solid ${e["neutral-30"]}`,
|
|
596
|
+
borderBottomLeftRadius: r.md,
|
|
597
|
+
borderBottomRightRadius: r.md,
|
|
598
|
+
children: {
|
|
599
|
+
paddingRight: n.xxl,
|
|
600
|
+
paddingLeft: n.xxl,
|
|
601
|
+
paddingTop: n.lg,
|
|
602
|
+
paddingBottom: n.xl
|
|
603
|
+
},
|
|
604
|
+
information: {
|
|
605
|
+
backgroundColor: e["beige-20"],
|
|
606
|
+
paddingRight: n.xxl,
|
|
607
|
+
paddingLeft: n.xxl,
|
|
608
|
+
paddingTop: n.xl,
|
|
609
|
+
paddingBottom: n.xxl
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
gutter: a(32),
|
|
613
|
+
sizes: {
|
|
614
|
+
xs: {
|
|
615
|
+
width: a(320)
|
|
616
|
+
},
|
|
617
|
+
sm: {
|
|
618
|
+
width: a(450)
|
|
619
|
+
},
|
|
620
|
+
md: {
|
|
621
|
+
width: a(600)
|
|
622
|
+
},
|
|
623
|
+
lg: {
|
|
624
|
+
width: a(730)
|
|
625
|
+
},
|
|
626
|
+
auto: {}
|
|
627
|
+
},
|
|
628
|
+
cover: {}
|
|
629
|
+
};
|
|
630
|
+
}, V = (o) => {
|
|
631
|
+
const { colors: e, focus: r, fontSizes: n, fontWeights: a, toRem: i } = o;
|
|
632
|
+
return {
|
|
633
|
+
default: {
|
|
634
|
+
width: i(32),
|
|
635
|
+
height: i(32),
|
|
636
|
+
color: e["neutral-90"],
|
|
637
|
+
fontWeight: a.bold,
|
|
638
|
+
fontSize: n.xs
|
|
639
|
+
},
|
|
640
|
+
item: {
|
|
641
|
+
"&:hover, &:focus": {
|
|
642
|
+
backgroundColor: e["neutral-30"]
|
|
643
|
+
},
|
|
644
|
+
"&:focus": { ...r(e["neutral-60"]) }
|
|
645
|
+
},
|
|
646
|
+
active: {
|
|
647
|
+
backgroundColor: e["neutral-90"],
|
|
648
|
+
color: e["neutral-10"],
|
|
649
|
+
"&:hover, &:focus": {
|
|
650
|
+
backgroundColor: e["neutral-90"]
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
disabled: {
|
|
654
|
+
backgroundColor: e["beige-40"],
|
|
655
|
+
color: e["beige-70"]
|
|
656
|
+
}
|
|
657
|
+
};
|
|
658
|
+
}, Y = (o) => {
|
|
659
|
+
const { borderWidths: e, colors: r, space: n, texts: a, toRem: i } = o;
|
|
660
|
+
return {
|
|
661
|
+
default: {
|
|
662
|
+
...a.sm,
|
|
663
|
+
backgroundColor: r["neutral-90"],
|
|
664
|
+
color: r["neutral-10"],
|
|
665
|
+
maxWidth: i(700),
|
|
666
|
+
zIndex: 1
|
|
667
|
+
},
|
|
668
|
+
content: {
|
|
669
|
+
display: "block",
|
|
670
|
+
padding: n.md
|
|
671
|
+
},
|
|
672
|
+
title: {
|
|
673
|
+
...a.h6,
|
|
674
|
+
padding: `${n.md} ${n.md} ${n.xs}`,
|
|
675
|
+
color: r["neutral-10"],
|
|
676
|
+
borderBottomColor: r["neutral-70"],
|
|
677
|
+
borderBottomWidth: e.sm,
|
|
678
|
+
borderBottomStyle: "solid"
|
|
679
|
+
}
|
|
680
|
+
};
|
|
681
|
+
}, J = (o) => {
|
|
682
|
+
const { colors: e, toRem: r } = o;
|
|
683
|
+
return {
|
|
684
|
+
default: {
|
|
685
|
+
width: r(16),
|
|
686
|
+
height: r(16)
|
|
687
|
+
},
|
|
688
|
+
checked: {
|
|
689
|
+
color: e["neutral-90"],
|
|
690
|
+
borderColor: e["primary-40"]
|
|
691
|
+
},
|
|
692
|
+
checkedCenteredColor: {
|
|
693
|
+
default: e["primary-40"],
|
|
694
|
+
disabled: e["beige-60"]
|
|
695
|
+
}
|
|
696
|
+
};
|
|
697
|
+
}, X = (o) => {
|
|
698
|
+
const { colors: e } = o;
|
|
699
|
+
return {
|
|
700
|
+
default: {
|
|
701
|
+
"&:hover": {
|
|
702
|
+
backgroundColor: e["beige-30"]
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
checked: {
|
|
706
|
+
backgroundColor: e["primary-40"],
|
|
707
|
+
color: o.colors["neutral-90"],
|
|
708
|
+
borderColor: e["primary-40"],
|
|
709
|
+
"&:hover": {
|
|
710
|
+
backgroundColor: e["primary-30"]
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
};
|
|
714
|
+
}, K = (o) => {
|
|
715
|
+
const { borderWidths: e, colors: r } = o;
|
|
716
|
+
return {
|
|
717
|
+
default: {
|
|
718
|
+
backgroundColor: r["beige-40"],
|
|
719
|
+
backgroundImage: `linear-gradient(${r["primary-40"]}, ${r["primary-40"]})`
|
|
720
|
+
},
|
|
721
|
+
selector: {
|
|
722
|
+
backgroundColor: r["neutral-90"],
|
|
723
|
+
borderRadius: "50%",
|
|
724
|
+
border: `${e.md} solid`,
|
|
725
|
+
disabled: {
|
|
726
|
+
backgroundColor: r["beige-60"]
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
output: {
|
|
730
|
+
tooltip: {
|
|
731
|
+
backgroundColor: r["neutral-90"],
|
|
732
|
+
border: `${e.sm} solid ${r["neutral-70"]}}`,
|
|
733
|
+
color: r["neutral-10"]
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
focused: {
|
|
737
|
+
outline: `${e.md} solid ${r["primary-40"]}`,
|
|
738
|
+
disabled: {
|
|
739
|
+
outline: "none"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
disabled: {
|
|
743
|
+
backgroundImage: `linear-gradient(${r["beige-60"]}, ${r["beige-60"]})`
|
|
744
|
+
},
|
|
745
|
+
rangeInput: {
|
|
746
|
+
disabled: {
|
|
747
|
+
backgroundColor: r["beige-60"]
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
};
|
|
751
|
+
}, Z = (o) => {
|
|
752
|
+
const { colors: e } = o;
|
|
753
|
+
return {
|
|
754
|
+
navigation: {
|
|
755
|
+
bullet: {
|
|
756
|
+
active: { backgroundColor: e["primary-40"] },
|
|
757
|
+
default: { backgroundColor: e["beige-40"] }
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
};
|
|
761
|
+
}, j = (o) => {
|
|
762
|
+
const { borderWidths: e, colors: r, fontWeights: n, space: a } = o;
|
|
763
|
+
return {
|
|
764
|
+
th: {
|
|
765
|
+
color: r["neutral-60"],
|
|
766
|
+
fontWeight: n.medium,
|
|
767
|
+
textAlign: "left",
|
|
768
|
+
borderBottomColor: r["neutral-90"],
|
|
769
|
+
borderBottomWidth: e.sm,
|
|
770
|
+
borderBottomStyle: "solid"
|
|
771
|
+
},
|
|
772
|
+
td: {
|
|
773
|
+
textAlign: "left",
|
|
774
|
+
padding: a.xl
|
|
775
|
+
},
|
|
776
|
+
tr: {
|
|
777
|
+
default: {
|
|
778
|
+
borderBottomColor: r["neutral-30"],
|
|
779
|
+
borderBottomWidth: e.sm,
|
|
780
|
+
borderBottomStyle: "solid"
|
|
781
|
+
},
|
|
782
|
+
danger: {
|
|
783
|
+
backgroundColor: r["red-10"],
|
|
784
|
+
color: r["red-70"]
|
|
785
|
+
},
|
|
786
|
+
warning: {
|
|
787
|
+
backgroundColor: r["orange-10"],
|
|
788
|
+
color: r["orange-80"]
|
|
789
|
+
},
|
|
790
|
+
info: {
|
|
791
|
+
backgroundColor: r["blue-10"],
|
|
792
|
+
color: r["blue-70"]
|
|
793
|
+
},
|
|
794
|
+
success: {
|
|
795
|
+
backgroundColor: r["green-10"],
|
|
796
|
+
color: r["green-70"]
|
|
797
|
+
},
|
|
798
|
+
clickable: {
|
|
799
|
+
cursor: "pointer"
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
};
|
|
803
|
+
}, q = (o) => {
|
|
804
|
+
const { borderWidths: e, colors: r, fontSizes: n, fontWeights: a, lineHeights: i, space: d } = o;
|
|
805
|
+
return {
|
|
806
|
+
tabsBorder: {
|
|
807
|
+
horizontal: {
|
|
808
|
+
boxShadow: `inset 0 -${e.sm} 0 ${r["neutral-30"]}`
|
|
809
|
+
},
|
|
810
|
+
vertical: {
|
|
811
|
+
boxShadow: `inset -${e.sm} 0 0 ${r["neutral-30"]}`
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
item: {
|
|
815
|
+
default: {
|
|
816
|
+
color: r["neutral-70"],
|
|
817
|
+
fontWeight: a.medium,
|
|
818
|
+
textDecoration: "none",
|
|
819
|
+
lineHeight: i.md
|
|
820
|
+
},
|
|
821
|
+
active: {
|
|
822
|
+
color: r["neutral-90"]
|
|
823
|
+
},
|
|
824
|
+
focus: {
|
|
825
|
+
color: r["neutral-90"]
|
|
826
|
+
},
|
|
827
|
+
disabled: {
|
|
828
|
+
color: r["neutral-50"]
|
|
829
|
+
},
|
|
830
|
+
size: {
|
|
831
|
+
sm: {
|
|
832
|
+
fontSize: n.sm
|
|
833
|
+
},
|
|
834
|
+
md: {
|
|
835
|
+
fontSize: n.md
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
panel: {
|
|
840
|
+
vertical: {
|
|
841
|
+
"&:focus": {
|
|
842
|
+
outline: "none"
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
horizontal: {
|
|
846
|
+
marginTop: d.xl,
|
|
847
|
+
"&:focus": {
|
|
848
|
+
outline: "none"
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
activeBar: {
|
|
853
|
+
horizontal: {
|
|
854
|
+
background: r["primary-40"],
|
|
855
|
+
height: e.md
|
|
856
|
+
},
|
|
857
|
+
vertical: {
|
|
858
|
+
background: r["primary-40"],
|
|
859
|
+
width: e.md
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
icon: {
|
|
863
|
+
maxWidth: d.lg,
|
|
864
|
+
maxHeight: d.lg
|
|
865
|
+
},
|
|
866
|
+
badge: {
|
|
867
|
+
maxHeight: d.lg
|
|
868
|
+
}
|
|
869
|
+
};
|
|
870
|
+
}, Q = (o) => {
|
|
871
|
+
const { colors: e, fontSizes: r, fontWeights: n, radii: a, space: i, toRem: d } = o, l = {
|
|
872
|
+
xs: d(20),
|
|
873
|
+
sm: d(24),
|
|
874
|
+
md: d(32)
|
|
875
|
+
}, s = (u) => ({
|
|
876
|
+
backgroundColor: e[`${u}-10`],
|
|
877
|
+
color: e[`${u}-90`]
|
|
878
|
+
}), t = (u) => ({
|
|
879
|
+
backgroundColor: e[`${u}-20`]
|
|
880
|
+
}), c = (u) => ({
|
|
881
|
+
backgroundColor: e[`${u}-${u === "green" ? "30" : "40"}`],
|
|
882
|
+
color: e["neutral-90"]
|
|
883
|
+
}), g = (u) => ({
|
|
884
|
+
backgroundColor: e[`${u}-${u === "green" ? "40" : "50"}`]
|
|
885
|
+
});
|
|
886
|
+
return {
|
|
887
|
+
default: {
|
|
888
|
+
fontWeight: n.medium,
|
|
889
|
+
borderRadius: a.md
|
|
890
|
+
},
|
|
891
|
+
variants: {
|
|
892
|
+
default: {
|
|
893
|
+
backgroundColor: e["beige-20"],
|
|
894
|
+
color: e["beige-90"]
|
|
895
|
+
},
|
|
896
|
+
primary: {
|
|
897
|
+
color: o.colors["neutral-90"],
|
|
898
|
+
backgroundColor: e["primary-40"]
|
|
899
|
+
},
|
|
900
|
+
success: s("green"),
|
|
901
|
+
danger: s("red"),
|
|
902
|
+
warning: s("orange"),
|
|
903
|
+
info: s("blue"),
|
|
904
|
+
teal: c("teal"),
|
|
905
|
+
blue: c("blue"),
|
|
906
|
+
orange: c("orange"),
|
|
907
|
+
pink: c("pink"),
|
|
908
|
+
green: c("green"),
|
|
909
|
+
violet: c("violet")
|
|
910
|
+
},
|
|
911
|
+
hover: {
|
|
912
|
+
default: {
|
|
913
|
+
backgroundColor: e["beige-30"]
|
|
914
|
+
},
|
|
915
|
+
primary: {
|
|
916
|
+
backgroundColor: e["primary-50"]
|
|
917
|
+
},
|
|
918
|
+
success: t("green"),
|
|
919
|
+
danger: t("red"),
|
|
920
|
+
warning: t("orange"),
|
|
921
|
+
info: t("blue"),
|
|
922
|
+
teal: g("teal"),
|
|
923
|
+
blue: g("blue"),
|
|
924
|
+
orange: g("orange"),
|
|
925
|
+
pink: g("pink"),
|
|
926
|
+
green: g("green"),
|
|
927
|
+
violet: g("violet")
|
|
928
|
+
},
|
|
929
|
+
sizes: {
|
|
930
|
+
xs: {
|
|
931
|
+
padding: `${i.xxs} ${i.xs}`,
|
|
932
|
+
height: l.xs,
|
|
933
|
+
fontSize: r.xs,
|
|
934
|
+
gap: i.xs,
|
|
935
|
+
borderRadius: a.sm
|
|
936
|
+
},
|
|
937
|
+
sm: {
|
|
938
|
+
padding: `${i.xs} ${i.sm}`,
|
|
939
|
+
height: l.sm,
|
|
940
|
+
fontSize: r.xs,
|
|
941
|
+
gap: i.xs
|
|
942
|
+
},
|
|
943
|
+
md: {
|
|
944
|
+
padding: `${i.xs} ${i.sm}`,
|
|
945
|
+
height: l.md,
|
|
946
|
+
fontSize: r.sm,
|
|
947
|
+
gap: i.sm
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
icon: {
|
|
951
|
+
xs: d(12),
|
|
952
|
+
sm: d(12),
|
|
953
|
+
md: d(16)
|
|
954
|
+
},
|
|
955
|
+
shape: {
|
|
956
|
+
xs: {
|
|
957
|
+
width: l.xs,
|
|
958
|
+
height: l.xs
|
|
959
|
+
},
|
|
960
|
+
sm: {
|
|
961
|
+
width: l.sm,
|
|
962
|
+
height: l.sm
|
|
963
|
+
},
|
|
964
|
+
md: {
|
|
965
|
+
width: l.md,
|
|
966
|
+
height: l.md
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
};
|
|
970
|
+
}, ee = (o) => {
|
|
971
|
+
const { space: e, toRem: r } = o;
|
|
972
|
+
return {
|
|
973
|
+
minHeight: r(130),
|
|
974
|
+
padding: e.md
|
|
975
|
+
};
|
|
976
|
+
}, re = (o, e) => {
|
|
977
|
+
const { toEm: r, toRem: n } = e, a = n;
|
|
978
|
+
return {
|
|
979
|
+
h0: a(65),
|
|
980
|
+
h1: a(45),
|
|
981
|
+
h2: a(36),
|
|
982
|
+
h3: a(26),
|
|
983
|
+
h4: a(20),
|
|
984
|
+
h5: a(16),
|
|
985
|
+
h6: a(14),
|
|
986
|
+
lg: a(18),
|
|
987
|
+
md: a(16),
|
|
988
|
+
sm: a(14),
|
|
989
|
+
"subtitle-md": a(13),
|
|
990
|
+
"subtitle-sm": a(11),
|
|
991
|
+
xs: a(12)
|
|
992
|
+
};
|
|
993
|
+
}, oe = ({
|
|
994
|
+
defaultLineHeight: o,
|
|
995
|
+
toRem: e
|
|
996
|
+
}) => ({
|
|
997
|
+
html: o,
|
|
998
|
+
h0: e(72),
|
|
999
|
+
h1: e(48),
|
|
1000
|
+
h2: e(40),
|
|
1001
|
+
h3: e(32),
|
|
1002
|
+
h4: e(24),
|
|
1003
|
+
h5: e(18),
|
|
1004
|
+
h6: e(16),
|
|
1005
|
+
lg: e(24),
|
|
1006
|
+
md: e(18),
|
|
1007
|
+
sm: e(18),
|
|
1008
|
+
xs: e(14),
|
|
1009
|
+
"subtitle-md": o,
|
|
1010
|
+
"subtitle-sm": o
|
|
1011
|
+
}), te = {
|
|
1012
|
+
regular: 400,
|
|
1013
|
+
medium: 500,
|
|
1014
|
+
bold: 600
|
|
1015
|
+
}, ne = ({
|
|
1016
|
+
defaultLetterSpacing: o,
|
|
1017
|
+
toRem: e
|
|
1018
|
+
}) => ({
|
|
1019
|
+
html: o,
|
|
1020
|
+
h0: e(-1.7),
|
|
1021
|
+
h1: e(-1.2),
|
|
1022
|
+
h2: e(-1),
|
|
1023
|
+
h3: e(-0.9),
|
|
1024
|
+
h4: e(-0.6),
|
|
1025
|
+
h5: e(-0.5),
|
|
1026
|
+
h6: e(-0.5),
|
|
1027
|
+
lg: o,
|
|
1028
|
+
md: o,
|
|
1029
|
+
sm: o,
|
|
1030
|
+
xs: e(-0.2),
|
|
1031
|
+
"subtitle-md": e(-0.2),
|
|
1032
|
+
"subtitle-sm": e(-0.2)
|
|
1033
|
+
}), ae = (o) => {
|
|
1034
|
+
const { fontWeights: e } = o;
|
|
1035
|
+
return {
|
|
1036
|
+
h0: e.bold,
|
|
1037
|
+
h1: e.bold,
|
|
1038
|
+
h2: e.bold,
|
|
1039
|
+
h3: e.bold,
|
|
1040
|
+
h4: e.bold,
|
|
1041
|
+
h5: e.bold,
|
|
1042
|
+
h6: e.bold,
|
|
1043
|
+
lg: e.regular,
|
|
1044
|
+
md: e.regular,
|
|
1045
|
+
sm: e.regular,
|
|
1046
|
+
"subtitle-md": e.bold,
|
|
1047
|
+
"subtitle-sm": e.medium,
|
|
1048
|
+
xs: e.regular
|
|
1049
|
+
};
|
|
1050
|
+
}, le = (o) => {
|
|
1051
|
+
const { fonts: e } = o;
|
|
1052
|
+
return {
|
|
1053
|
+
h0: e.headings,
|
|
1054
|
+
h1: e.headings,
|
|
1055
|
+
h2: e.headings,
|
|
1056
|
+
h3: e.headings,
|
|
1057
|
+
h4: e.headings,
|
|
1058
|
+
h5: e.headings,
|
|
1059
|
+
h6: e.headings,
|
|
1060
|
+
"subtitle-md": e.headings,
|
|
1061
|
+
"subtitle-sm": e.headings
|
|
1062
|
+
};
|
|
1063
|
+
}, ie = () => ({
|
|
1064
|
+
"subtitle-md": "uppercase",
|
|
1065
|
+
"subtitle-sm": "uppercase"
|
|
1066
|
+
}), de = (o) => {
|
|
1067
|
+
const { colors: e } = o;
|
|
1068
|
+
return {
|
|
1069
|
+
h0: e["neutral-90"],
|
|
1070
|
+
h1: e["neutral-90"],
|
|
1071
|
+
h2: e["neutral-90"],
|
|
1072
|
+
h3: e["neutral-90"],
|
|
1073
|
+
h4: e["neutral-90"],
|
|
1074
|
+
h5: e["neutral-90"],
|
|
1075
|
+
h6: e["neutral-90"]
|
|
1076
|
+
};
|
|
1077
|
+
}, C = (o) => {
|
|
1078
|
+
const {
|
|
1079
|
+
fontSizes: e,
|
|
1080
|
+
letterSpacings: r,
|
|
1081
|
+
lineHeights: n,
|
|
1082
|
+
textsFontColors: a,
|
|
1083
|
+
textsFontFamily: i,
|
|
1084
|
+
textsFontWeights: d,
|
|
1085
|
+
textsTextTransform: l
|
|
1086
|
+
} = o;
|
|
1087
|
+
return Object.keys(e).reduce((s, t) => ({
|
|
1088
|
+
...s,
|
|
1089
|
+
[t]: {
|
|
1090
|
+
color: a[t],
|
|
1091
|
+
fontFamily: i[t] || void 0,
|
|
1092
|
+
fontWeight: d[t],
|
|
1093
|
+
fontSize: e[t],
|
|
1094
|
+
lineHeight: n[t] || n.lg,
|
|
1095
|
+
letterSpacing: r[t] || void 0,
|
|
1096
|
+
textTransform: l[t] || void 0
|
|
1097
|
+
}
|
|
1098
|
+
}), {});
|
|
1099
|
+
}, se = (o, e, r) => ({
|
|
1100
|
+
texts: [o, "sans-serif"].join(", "),
|
|
1101
|
+
headings: [e, "sans-serif"].join(", "),
|
|
1102
|
+
icons: r
|
|
1103
|
+
}), ce = (o) => {
|
|
1104
|
+
const { borderWidths: e, colors: r, fontWeights: n, radii: a, space: i } = o;
|
|
1105
|
+
return {
|
|
1106
|
+
default: {
|
|
1107
|
+
paddingLeft: i.sm,
|
|
1108
|
+
paddingRight: i.sm
|
|
1109
|
+
},
|
|
1110
|
+
top: {
|
|
1111
|
+
paddingTop: i.lg
|
|
1112
|
+
},
|
|
1113
|
+
bottom: {
|
|
1114
|
+
paddingBottom: i.lg
|
|
1115
|
+
},
|
|
1116
|
+
growls: {
|
|
1117
|
+
default: {
|
|
1118
|
+
...C(o).sm,
|
|
1119
|
+
borderWidth: e.sm,
|
|
1120
|
+
borderStyle: "solid",
|
|
1121
|
+
borderRadius: a.lg,
|
|
1122
|
+
maxWidth: 340
|
|
1123
|
+
},
|
|
1124
|
+
title: {
|
|
1125
|
+
fontWeight: n.bold,
|
|
1126
|
+
color: r["neutral-90"]
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
snackbar: {
|
|
1130
|
+
default: {
|
|
1131
|
+
borderRadius: a.lg
|
|
1132
|
+
},
|
|
1133
|
+
separator: {
|
|
1134
|
+
default: {
|
|
1135
|
+
borderLeft: "1px solid",
|
|
1136
|
+
borderLeftColor: r["neutral-30"]
|
|
1137
|
+
},
|
|
1138
|
+
danger: {
|
|
1139
|
+
borderLeftColor: r["red-20"]
|
|
1140
|
+
},
|
|
1141
|
+
warning: {
|
|
1142
|
+
borderLeftColor: r["orange-20"]
|
|
1143
|
+
},
|
|
1144
|
+
info: {
|
|
1145
|
+
borderLeftColor: r["blue-30"]
|
|
1146
|
+
},
|
|
1147
|
+
success: {
|
|
1148
|
+
borderLeftColor: r["green-30"]
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
};
|
|
1153
|
+
}, ge = "0.32rem !important", ue = "0.12rem ! important", me = (o) => {
|
|
1154
|
+
const { borderWidths: e, colors: r, focus: n, toRem: a } = o;
|
|
1155
|
+
return {
|
|
1156
|
+
item: {
|
|
1157
|
+
default: {
|
|
1158
|
+
backgroundColor: r["neutral-10"],
|
|
1159
|
+
borderColor: r["neutral-30"],
|
|
1160
|
+
borderWidth: e.sm,
|
|
1161
|
+
borderStyle: "solid",
|
|
1162
|
+
borderRadius: a(16),
|
|
1163
|
+
"&:focus": {
|
|
1164
|
+
borderColor: r["primary-30"],
|
|
1165
|
+
...n(r["primary-30"])
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
sizes: {
|
|
1169
|
+
xs: {
|
|
1170
|
+
width: a(28),
|
|
1171
|
+
height: a(16),
|
|
1172
|
+
marginTop: ge
|
|
1173
|
+
},
|
|
1174
|
+
sm: {
|
|
1175
|
+
width: a(36),
|
|
1176
|
+
height: a(20),
|
|
1177
|
+
marginTop: ue
|
|
1178
|
+
},
|
|
1179
|
+
md: {
|
|
1180
|
+
width: a(44),
|
|
1181
|
+
height: a(24),
|
|
1182
|
+
marginTop: "0 !important"
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
checked: {
|
|
1186
|
+
backgroundColor: r["primary-40"],
|
|
1187
|
+
borderColor: r["primary-40"]
|
|
1188
|
+
},
|
|
1189
|
+
disabled: {
|
|
1190
|
+
borderColor: r["beige-60"],
|
|
1191
|
+
backgroundColor: r["beige-40"]
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
after: {
|
|
1195
|
+
default: {
|
|
1196
|
+
backgroundColor: r["neutral-10"],
|
|
1197
|
+
borderColor: r["neutral-50"],
|
|
1198
|
+
borderWidth: e.sm,
|
|
1199
|
+
borderStyle: "solid",
|
|
1200
|
+
borderRadius: "50%"
|
|
1201
|
+
},
|
|
1202
|
+
checked: {
|
|
1203
|
+
backgroundColor: r["neutral-10"],
|
|
1204
|
+
borderColor: r["neutral-10"]
|
|
1205
|
+
},
|
|
1206
|
+
disabled: {
|
|
1207
|
+
borderColor: "transparent",
|
|
1208
|
+
backgroundColor: r["beige-60"]
|
|
1209
|
+
},
|
|
1210
|
+
sizes: {
|
|
1211
|
+
xs: {
|
|
1212
|
+
width: a(12),
|
|
1213
|
+
height: a(12)
|
|
1214
|
+
},
|
|
1215
|
+
sm: {
|
|
1216
|
+
width: a(16),
|
|
1217
|
+
height: a(16)
|
|
1218
|
+
},
|
|
1219
|
+
md: {
|
|
1220
|
+
width: a(20),
|
|
1221
|
+
height: a(20)
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
icon: {
|
|
1226
|
+
position: {
|
|
1227
|
+
xs: {
|
|
1228
|
+
left: "2px",
|
|
1229
|
+
right: "2px"
|
|
1230
|
+
},
|
|
1231
|
+
sm: {
|
|
1232
|
+
left: "4px",
|
|
1233
|
+
right: "4px"
|
|
1234
|
+
},
|
|
1235
|
+
md: {
|
|
1236
|
+
left: "4px",
|
|
1237
|
+
right: "4px"
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
sizes: {
|
|
1241
|
+
xs: {
|
|
1242
|
+
width: a(10),
|
|
1243
|
+
height: a(10),
|
|
1244
|
+
fontSize: a(10)
|
|
1245
|
+
},
|
|
1246
|
+
sm: {
|
|
1247
|
+
width: a(12),
|
|
1248
|
+
height: a(12),
|
|
1249
|
+
fontSize: a(12)
|
|
1250
|
+
},
|
|
1251
|
+
md: {
|
|
1252
|
+
width: a(16),
|
|
1253
|
+
height: a(16),
|
|
1254
|
+
fontSize: a(16)
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
};
|
|
1259
|
+
}, be = (o) => {
|
|
1260
|
+
const { borderWidths: e, colors: r, fontSizes: n, fontWeights: a, radii: i, space: d, toRem: l } = o;
|
|
1261
|
+
return {
|
|
1262
|
+
maxWidth: l(200),
|
|
1263
|
+
backgroundColor: r["neutral-90"],
|
|
1264
|
+
color: r["neutral-10"],
|
|
1265
|
+
padding: `${d.xs} ${d.sm}`,
|
|
1266
|
+
fontSize: n.sm,
|
|
1267
|
+
fontWeight: a.medium,
|
|
1268
|
+
border: `${e.sm} solid ${r["neutral-60"]}`,
|
|
1269
|
+
borderRadius: i.md,
|
|
1270
|
+
boxSizing: "border-box"
|
|
1271
|
+
};
|
|
1272
|
+
}, pe = (o) => {
|
|
1273
|
+
const { colors: e } = o;
|
|
1274
|
+
return {
|
|
1275
|
+
default: {
|
|
1276
|
+
color: e["neutral-90"]
|
|
1277
|
+
},
|
|
1278
|
+
danger: {
|
|
1279
|
+
color: e["red-70"]
|
|
1280
|
+
},
|
|
1281
|
+
success: {
|
|
1282
|
+
color: e["green-60"]
|
|
1283
|
+
},
|
|
1284
|
+
warning: {
|
|
1285
|
+
color: e["orange-60"]
|
|
1286
|
+
},
|
|
1287
|
+
info: {
|
|
1288
|
+
color: e["blue-60"]
|
|
1289
|
+
}
|
|
1290
|
+
};
|
|
1291
|
+
}, fe = {
|
|
344
1292
|
"beige-10": "#FBF9F7",
|
|
345
1293
|
"beige-20": "#F6F3EF",
|
|
346
1294
|
"beige-30": "#EAE4DE",
|
|
@@ -446,221 +1394,94 @@ const N = (r) => {
|
|
|
446
1394
|
"yellow-70": "#846A01",
|
|
447
1395
|
"yellow-80": "#604D00",
|
|
448
1396
|
"yellow-90": "#423500"
|
|
449
|
-
},
|
|
450
|
-
...
|
|
451
|
-
"primary-10":
|
|
452
|
-
"primary-20":
|
|
453
|
-
"primary-30":
|
|
454
|
-
"primary-40":
|
|
455
|
-
"primary-50":
|
|
456
|
-
"primary-60":
|
|
457
|
-
"primary-70":
|
|
458
|
-
"primary-80":
|
|
459
|
-
"primary-90":
|
|
460
|
-
"secondary-blue":
|
|
461
|
-
"secondary-green":
|
|
462
|
-
"secondary-orange":
|
|
463
|
-
"secondary-pink":
|
|
464
|
-
"secondary-teal":
|
|
465
|
-
"secondary-violet":
|
|
1397
|
+
}, y = (o) => ({
|
|
1398
|
+
...o,
|
|
1399
|
+
"primary-10": o["yellow-10"],
|
|
1400
|
+
"primary-20": o["yellow-20"],
|
|
1401
|
+
"primary-30": o["yellow-30"],
|
|
1402
|
+
"primary-40": o["yellow-40"],
|
|
1403
|
+
"primary-50": o["yellow-50"],
|
|
1404
|
+
"primary-60": o["yellow-60"],
|
|
1405
|
+
"primary-70": o["yellow-70"],
|
|
1406
|
+
"primary-80": o["yellow-80"],
|
|
1407
|
+
"primary-90": o["yellow-90"],
|
|
1408
|
+
"secondary-blue": o["blue-40"],
|
|
1409
|
+
"secondary-green": o["green-30"],
|
|
1410
|
+
"secondary-orange": o["red-orange-40"],
|
|
1411
|
+
"secondary-pink": o["pink-40"],
|
|
1412
|
+
"secondary-teal": o["teal-40"],
|
|
1413
|
+
"secondary-violet": o["violet-40"],
|
|
466
1414
|
overlay: "rgba(0, 0, 0, 0.55)"
|
|
467
|
-
}),
|
|
468
|
-
if (e.startsWith("secondary-") || e === "overlay") return
|
|
469
|
-
const
|
|
470
|
-
return {
|
|
471
|
-
...
|
|
472
|
-
[e]:
|
|
473
|
-
};
|
|
474
|
-
}, {}),
|
|
475
|
-
...
|
|
476
|
-
...
|
|
477
|
-
},
|
|
478
|
-
colors:
|
|
479
|
-
},
|
|
1415
|
+
}), p = y(fe), he = Object.keys(p).reduce((o, e) => {
|
|
1416
|
+
if (e.startsWith("secondary-") || e === "overlay") return o;
|
|
1417
|
+
const r = 100 - Number(e.slice(-2)), n = e.slice(0, e.length - 2);
|
|
1418
|
+
return {
|
|
1419
|
+
...o,
|
|
1420
|
+
[e]: p[`${n}${r}`]
|
|
1421
|
+
};
|
|
1422
|
+
}, {}), xe = {
|
|
1423
|
+
...p,
|
|
1424
|
+
...y(he)
|
|
1425
|
+
}, Xe = {
|
|
1426
|
+
colors: xe
|
|
1427
|
+
}, Ce = (o) => ({
|
|
480
1428
|
"welcome-font": [
|
|
481
1429
|
{
|
|
482
|
-
url: `${
|
|
1430
|
+
url: `${o.fontsUrl}/welcome-font-regular`,
|
|
483
1431
|
weight: "400"
|
|
484
1432
|
},
|
|
485
1433
|
{
|
|
486
|
-
url: `${
|
|
1434
|
+
url: `${o.fontsUrl}/welcome-font-medium`,
|
|
487
1435
|
weight: "500"
|
|
488
1436
|
},
|
|
489
1437
|
{
|
|
490
|
-
url: `${
|
|
1438
|
+
url: `${o.fontsUrl}/welcome-font-bold`,
|
|
491
1439
|
weight: "600"
|
|
492
1440
|
},
|
|
493
1441
|
{
|
|
494
|
-
url: `${
|
|
1442
|
+
url: `${o.fontsUrl}/welcome-font-regular-italic`,
|
|
495
1443
|
style: "italic",
|
|
496
1444
|
weight: "400"
|
|
497
1445
|
},
|
|
498
1446
|
{
|
|
499
|
-
url: `${
|
|
1447
|
+
url: `${o.fontsUrl}/welcome-font-medium-italic`,
|
|
500
1448
|
style: "italic",
|
|
501
1449
|
weight: "500"
|
|
502
1450
|
},
|
|
503
1451
|
{
|
|
504
|
-
url: `${
|
|
1452
|
+
url: `${o.fontsUrl}/welcome-font-bold-italic`,
|
|
505
1453
|
style: "italic",
|
|
506
1454
|
weight: "600"
|
|
507
1455
|
}
|
|
508
1456
|
],
|
|
509
1457
|
"welcome-icon-font": [
|
|
510
1458
|
{
|
|
511
|
-
url: `${
|
|
1459
|
+
url: `${o.fontsUrl}/icon-font/__ICON_FONT_HASH__/welcome-icon-font`,
|
|
512
1460
|
display: "block"
|
|
513
1461
|
}
|
|
514
1462
|
],
|
|
515
1463
|
"work-sans": [
|
|
516
1464
|
{
|
|
517
|
-
url: `${
|
|
1465
|
+
url: `${o.fontsUrl}/work-sans-variable`,
|
|
518
1466
|
isVariable: !0,
|
|
519
1467
|
stretch: "75% 125%",
|
|
520
1468
|
weight: "100 1000"
|
|
521
1469
|
}
|
|
522
1470
|
]
|
|
523
|
-
}),
|
|
524
|
-
const { toEm: t, toRem: n } = e, a = n;
|
|
525
|
-
return {
|
|
526
|
-
h0: a(65),
|
|
527
|
-
h1: a(45),
|
|
528
|
-
h2: a(36),
|
|
529
|
-
h3: a(26),
|
|
530
|
-
h4: a(20),
|
|
531
|
-
h5: a(16),
|
|
532
|
-
h6: a(14),
|
|
533
|
-
lg: a(18),
|
|
534
|
-
md: a(16),
|
|
535
|
-
sm: a(14),
|
|
536
|
-
"subtitle-md": a(13),
|
|
537
|
-
"subtitle-sm": a(11),
|
|
538
|
-
xs: a(12)
|
|
539
|
-
};
|
|
540
|
-
}, Z = ({
|
|
541
|
-
defaultLineHeight: r,
|
|
542
|
-
toRem: e
|
|
543
|
-
}) => ({
|
|
544
|
-
html: r,
|
|
545
|
-
h0: e(72),
|
|
546
|
-
h1: e(48),
|
|
547
|
-
h2: e(40),
|
|
548
|
-
h3: e(32),
|
|
549
|
-
h4: e(24),
|
|
550
|
-
h5: e(18),
|
|
551
|
-
h6: e(16),
|
|
552
|
-
lg: e(24),
|
|
553
|
-
md: e(18),
|
|
554
|
-
sm: e(18),
|
|
555
|
-
xs: e(14),
|
|
556
|
-
"subtitle-md": r,
|
|
557
|
-
"subtitle-sm": r
|
|
558
|
-
}), J = {
|
|
559
|
-
regular: 400,
|
|
560
|
-
medium: 500,
|
|
561
|
-
bold: 600
|
|
562
|
-
}, K = ({
|
|
563
|
-
defaultLetterSpacing: r,
|
|
564
|
-
toRem: e
|
|
565
|
-
}) => ({
|
|
566
|
-
html: r,
|
|
567
|
-
h0: e(-1.7),
|
|
568
|
-
h1: e(-1.2),
|
|
569
|
-
h2: e(-1),
|
|
570
|
-
h3: e(-0.9),
|
|
571
|
-
h4: e(-0.6),
|
|
572
|
-
h5: e(-0.5),
|
|
573
|
-
h6: e(-0.5),
|
|
574
|
-
lg: r,
|
|
575
|
-
md: r,
|
|
576
|
-
sm: r,
|
|
577
|
-
xs: e(-0.2),
|
|
578
|
-
"subtitle-md": e(-0.2),
|
|
579
|
-
"subtitle-sm": e(-0.2)
|
|
580
|
-
}), Q = (r) => {
|
|
581
|
-
const { fontWeights: e } = r;
|
|
582
|
-
return {
|
|
583
|
-
h0: e.bold,
|
|
584
|
-
h1: e.bold,
|
|
585
|
-
h2: e.bold,
|
|
586
|
-
h3: e.bold,
|
|
587
|
-
h4: e.bold,
|
|
588
|
-
h5: e.bold,
|
|
589
|
-
h6: e.bold,
|
|
590
|
-
lg: e.regular,
|
|
591
|
-
md: e.regular,
|
|
592
|
-
sm: e.regular,
|
|
593
|
-
"subtitle-md": e.bold,
|
|
594
|
-
"subtitle-sm": e.medium,
|
|
595
|
-
xs: e.regular
|
|
596
|
-
};
|
|
597
|
-
}, X = (r) => {
|
|
598
|
-
const { fonts: e } = r;
|
|
599
|
-
return {
|
|
600
|
-
h0: e.headings,
|
|
601
|
-
h1: e.headings,
|
|
602
|
-
h2: e.headings,
|
|
603
|
-
h3: e.headings,
|
|
604
|
-
h4: e.headings,
|
|
605
|
-
h5: e.headings,
|
|
606
|
-
h6: e.headings,
|
|
607
|
-
"subtitle-md": e.headings,
|
|
608
|
-
"subtitle-sm": e.headings
|
|
609
|
-
};
|
|
610
|
-
}, ee = () => ({
|
|
611
|
-
"subtitle-md": "uppercase",
|
|
612
|
-
"subtitle-sm": "uppercase"
|
|
613
|
-
}), re = (r) => {
|
|
614
|
-
const { colors: e } = r;
|
|
615
|
-
return {
|
|
616
|
-
h0: e["neutral-90"],
|
|
617
|
-
h1: e["neutral-90"],
|
|
618
|
-
h2: e["neutral-90"],
|
|
619
|
-
h3: e["neutral-90"],
|
|
620
|
-
h4: e["neutral-90"],
|
|
621
|
-
h5: e["neutral-90"],
|
|
622
|
-
h6: e["neutral-90"]
|
|
623
|
-
};
|
|
624
|
-
}, oe = (r) => {
|
|
625
|
-
const {
|
|
626
|
-
fontSizes: e,
|
|
627
|
-
letterSpacings: t,
|
|
628
|
-
lineHeights: n,
|
|
629
|
-
textsFontColors: a,
|
|
630
|
-
textsFontFamily: s,
|
|
631
|
-
textsFontWeights: c,
|
|
632
|
-
textsTextTransform: l
|
|
633
|
-
} = r;
|
|
634
|
-
return Object.keys(e).reduce((i, o) => ({
|
|
635
|
-
...i,
|
|
636
|
-
[o]: {
|
|
637
|
-
color: a[o],
|
|
638
|
-
fontFamily: s[o] || void 0,
|
|
639
|
-
fontWeight: c[o],
|
|
640
|
-
fontSize: e[o],
|
|
641
|
-
lineHeight: n[o] || n.lg,
|
|
642
|
-
letterSpacing: t[o] || void 0,
|
|
643
|
-
textTransform: l[o] || void 0
|
|
644
|
-
}
|
|
645
|
-
}), {});
|
|
646
|
-
}, te = (r, e, t) => ({
|
|
647
|
-
texts: [r, "sans-serif"].join(", "),
|
|
648
|
-
headings: [e, "sans-serif"].join(", "),
|
|
649
|
-
icons: t
|
|
650
|
-
}), F = {
|
|
1471
|
+
}), b = {
|
|
651
1472
|
primary: "ease",
|
|
652
1473
|
secondary: "linear",
|
|
653
1474
|
tertiary: "cubic-bezier(0.41, 0.094, 0.54, 0.07)"
|
|
654
|
-
},
|
|
655
|
-
slow: `500ms ${
|
|
656
|
-
medium: `300ms ${
|
|
657
|
-
fast: `100ms ${
|
|
658
|
-
},
|
|
659
|
-
default:
|
|
1475
|
+
}, ye = {
|
|
1476
|
+
slow: `500ms ${b.tertiary}`,
|
|
1477
|
+
medium: `300ms ${b.primary}`,
|
|
1478
|
+
fast: `100ms ${b.secondary}`
|
|
1479
|
+
}, ke = ({ colors: o }) => ({
|
|
1480
|
+
default: h`
|
|
660
1481
|
background-image: linear-gradient(
|
|
661
1482
|
0deg,
|
|
662
|
-
${
|
|
663
|
-
${
|
|
1483
|
+
${o["primary-40"]},
|
|
1484
|
+
${o["primary-40"]} 100%
|
|
664
1485
|
);
|
|
665
1486
|
background-repeat: no-repeat;
|
|
666
1487
|
background-size: 100% 50%;
|
|
@@ -670,24 +1491,24 @@ const N = (r) => {
|
|
|
670
1491
|
background-size 250ms,
|
|
671
1492
|
color 250ms;
|
|
672
1493
|
`,
|
|
673
|
-
hover:
|
|
1494
|
+
hover: h`
|
|
674
1495
|
opacity: 1;
|
|
675
1496
|
background-position-y: 100%;
|
|
676
1497
|
background-size: 100% 100%;
|
|
677
1498
|
`
|
|
678
|
-
}),
|
|
1499
|
+
}), Fe = (o) => ({
|
|
679
1500
|
none: "0",
|
|
680
|
-
sm:
|
|
681
|
-
md:
|
|
682
|
-
lg:
|
|
683
|
-
xl:
|
|
684
|
-
xxl:
|
|
1501
|
+
sm: o.toRem(2),
|
|
1502
|
+
md: o.toRem(4),
|
|
1503
|
+
lg: o.toRem(8),
|
|
1504
|
+
xl: o.toRem(16),
|
|
1505
|
+
xxl: o.toRem(24),
|
|
685
1506
|
full: "100%"
|
|
686
|
-
}),
|
|
1507
|
+
}), we = {
|
|
687
1508
|
sm: "1px",
|
|
688
1509
|
md: "2px",
|
|
689
1510
|
lg: "3px"
|
|
690
|
-
},
|
|
1511
|
+
}, Se = {
|
|
691
1512
|
xs: 0,
|
|
692
1513
|
sm: 480,
|
|
693
1514
|
md: 736,
|
|
@@ -696,277 +1517,367 @@ const N = (r) => {
|
|
|
696
1517
|
xxl: 1440,
|
|
697
1518
|
"3xl": 1620,
|
|
698
1519
|
"4xl": 1920
|
|
699
|
-
},
|
|
1520
|
+
}, ve = {
|
|
700
1521
|
sm: "1px 2px 4px 0 rgba(0,0,0,0.05)",
|
|
701
1522
|
md: "3px 4px 10px 0 rgba(0,0,0,0.07)"
|
|
702
|
-
},
|
|
703
|
-
xxs:
|
|
704
|
-
xs:
|
|
705
|
-
sm:
|
|
706
|
-
md:
|
|
707
|
-
lg:
|
|
708
|
-
xl:
|
|
709
|
-
xxl:
|
|
710
|
-
"3xl":
|
|
711
|
-
"4xl":
|
|
712
|
-
"5xl":
|
|
713
|
-
"6xl":
|
|
714
|
-
"7xl":
|
|
715
|
-
}),
|
|
716
|
-
backgroundColor:
|
|
717
|
-
color:
|
|
718
|
-
}),
|
|
719
|
-
function e(
|
|
1523
|
+
}, Te = (o) => ({
|
|
1524
|
+
xxs: o.toRem(2),
|
|
1525
|
+
xs: o.toRem(4),
|
|
1526
|
+
sm: o.toRem(8),
|
|
1527
|
+
md: o.toRem(12),
|
|
1528
|
+
lg: o.toRem(16),
|
|
1529
|
+
xl: o.toRem(24),
|
|
1530
|
+
xxl: o.toRem(32),
|
|
1531
|
+
"3xl": o.toRem(48),
|
|
1532
|
+
"4xl": o.toRem(64),
|
|
1533
|
+
"5xl": o.toRem(96),
|
|
1534
|
+
"6xl": o.toRem(128),
|
|
1535
|
+
"7xl": o.toRem(192)
|
|
1536
|
+
}), De = (o) => ({
|
|
1537
|
+
backgroundColor: o.colors["primary-40"],
|
|
1538
|
+
color: o.colors["neutral-90"]
|
|
1539
|
+
}), $e = ({ colors: o }) => {
|
|
1540
|
+
function e(r = o["primary-40"]) {
|
|
720
1541
|
return {
|
|
721
|
-
boxShadow: `0 0 0 2px ${
|
|
1542
|
+
boxShadow: `0 0 0 2px ${r}`
|
|
722
1543
|
};
|
|
723
1544
|
}
|
|
724
1545
|
return e;
|
|
725
|
-
},
|
|
726
|
-
const {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
${r && g`
|
|
748
|
-
${d(`buttons.danger.${a}`)};
|
|
749
|
-
`}
|
|
750
|
-
position: relative;
|
|
751
|
-
display: inline-flex;
|
|
752
|
-
align-items: center;
|
|
753
|
-
justify-content: center;
|
|
754
|
-
width: auto;
|
|
755
|
-
${d(`buttons.sizes.${n}`)};
|
|
756
|
-
text-decoration: none;
|
|
757
|
-
text-align: center;
|
|
758
|
-
white-space: nowrap;
|
|
759
|
-
cursor: pointer;
|
|
760
|
-
outline: none !important; /* important for firefox */
|
|
761
|
-
border-width: sm;
|
|
762
|
-
border-style: solid;
|
|
763
|
-
appearance: none;
|
|
764
|
-
overflow: hidden;
|
|
765
|
-
transition: medium;
|
|
766
|
-
${t && ye(n, t)};
|
|
767
|
-
${p};
|
|
768
|
-
|
|
769
|
-
& > svg.wui-icon,
|
|
770
|
-
& > i.wui-icon-font {
|
|
771
|
-
font-weight: initial;
|
|
772
|
-
|
|
773
|
-
&:only-child {
|
|
774
|
-
width: ${d(`buttons.icon.only.${n}`)};
|
|
775
|
-
height: ${d(`buttons.icon.only.${n}`)};
|
|
776
|
-
font-size: ${d(`buttons.icon.only.${n}`)};
|
|
777
|
-
}
|
|
778
|
-
&:not(:only-child) {
|
|
779
|
-
width: ${d(`buttons.icon.default.${n}`)};
|
|
780
|
-
height: ${d(`buttons.icon.default.${n}`)};
|
|
781
|
-
font-size: ${d(`buttons.icon.default.${n}`)};
|
|
1546
|
+
}, We = (o) => {
|
|
1547
|
+
const { borderWidths: e, colors: r, focus: n, fontSizes: a, fontWeights: i, radii: d, space: l, toRem: s } = o;
|
|
1548
|
+
return {
|
|
1549
|
+
default: {
|
|
1550
|
+
color: r["neutral-90"],
|
|
1551
|
+
fontSize: a.sm,
|
|
1552
|
+
/* Can't use 16 because that's a valid line-height value (16em) */
|
|
1553
|
+
lineHeight: "1rem",
|
|
1554
|
+
fontWeight: i.regular,
|
|
1555
|
+
backgroundColor: r["neutral-10"],
|
|
1556
|
+
borderColor: r["neutral-30"],
|
|
1557
|
+
borderWidth: e.sm,
|
|
1558
|
+
borderStyle: "solid",
|
|
1559
|
+
outline: "none",
|
|
1560
|
+
borderRadius: d.md
|
|
1561
|
+
},
|
|
1562
|
+
hover: {
|
|
1563
|
+
default: {
|
|
1564
|
+
borderColor: r["neutral-40"]
|
|
1565
|
+
},
|
|
1566
|
+
transparency: {
|
|
1567
|
+
borderColor: r["neutral-20"]
|
|
782
1568
|
}
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
1569
|
+
},
|
|
1570
|
+
variants: {
|
|
1571
|
+
danger: {
|
|
1572
|
+
borderColor: r["red-70"]
|
|
1573
|
+
},
|
|
1574
|
+
success: {
|
|
1575
|
+
borderColor: r["green-60"]
|
|
1576
|
+
},
|
|
1577
|
+
warning: {
|
|
1578
|
+
borderColor: r["orange-60"]
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
focused: {
|
|
1582
|
+
default: {
|
|
1583
|
+
...n(r["primary-20"]),
|
|
1584
|
+
borderColor: r["primary-40"]
|
|
1585
|
+
},
|
|
1586
|
+
danger: { ...n(r["red-30"]) },
|
|
1587
|
+
warning: { ...n(r["orange-20"]) },
|
|
1588
|
+
success: { ...n(r["green-30"]) }
|
|
1589
|
+
},
|
|
1590
|
+
sizes: {
|
|
1591
|
+
xs: {
|
|
1592
|
+
height: s(24),
|
|
1593
|
+
paddingTop: l.xs,
|
|
1594
|
+
paddingRight: l.sm,
|
|
1595
|
+
paddingBottom: l.xs,
|
|
1596
|
+
paddingLeft: l.sm
|
|
1597
|
+
},
|
|
1598
|
+
sm: {
|
|
1599
|
+
height: s(32),
|
|
1600
|
+
paddingTop: l.sm,
|
|
1601
|
+
paddingRight: l.md,
|
|
1602
|
+
paddingBottom: l.sm,
|
|
1603
|
+
paddingLeft: l.md
|
|
1604
|
+
},
|
|
1605
|
+
md: {
|
|
1606
|
+
height: s(40),
|
|
1607
|
+
paddingTop: l.md,
|
|
1608
|
+
paddingRight: l.md,
|
|
1609
|
+
paddingBottom: l.md,
|
|
1610
|
+
paddingLeft: l.md
|
|
1611
|
+
},
|
|
1612
|
+
lg: {
|
|
1613
|
+
height: s(48),
|
|
1614
|
+
paddingTop: l.lg,
|
|
1615
|
+
paddingRight: l.md,
|
|
1616
|
+
paddingBottom: l.lg,
|
|
1617
|
+
paddingLeft: l.md
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
iconPlacement: {
|
|
1621
|
+
xs: {
|
|
1622
|
+
left: s(8),
|
|
1623
|
+
right: s(8)
|
|
1624
|
+
},
|
|
1625
|
+
sm: {
|
|
1626
|
+
left: s(12),
|
|
1627
|
+
right: s(12)
|
|
1628
|
+
},
|
|
1629
|
+
md: {
|
|
1630
|
+
left: s(12),
|
|
1631
|
+
right: s(12)
|
|
1632
|
+
},
|
|
1633
|
+
lg: {
|
|
1634
|
+
left: s(12),
|
|
1635
|
+
right: s(12)
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
checkableField: {
|
|
1639
|
+
checked: {
|
|
1640
|
+
color: "neutral-90"
|
|
1641
|
+
// not hex color, only color from browser because is on a content svg
|
|
1642
|
+
},
|
|
1643
|
+
disabled: {
|
|
1644
|
+
opacity: 0.4
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
disabled: {
|
|
1648
|
+
backgroundColor: r["beige-40"],
|
|
1649
|
+
color: r["beige-70"],
|
|
1650
|
+
cursor: "not-allowed"
|
|
1651
|
+
},
|
|
1652
|
+
placeholder: {
|
|
1653
|
+
color: r["neutral-50"]
|
|
1654
|
+
},
|
|
1655
|
+
checkablelabel: {
|
|
1656
|
+
default: {},
|
|
1657
|
+
checked: {
|
|
1658
|
+
color: r["neutral-90"],
|
|
1659
|
+
"-webkit-text-stroke": "0.04em"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
select: {
|
|
1663
|
+
default: {
|
|
1664
|
+
maxHeight: s(155),
|
|
1665
|
+
borderRadius: d.md
|
|
1666
|
+
},
|
|
1667
|
+
existing: {
|
|
1668
|
+
color: r["beige-40"],
|
|
1669
|
+
cursor: "not-allowed"
|
|
1670
|
+
},
|
|
1671
|
+
highlighted: {
|
|
1672
|
+
backgroundColor: r["beige-20"],
|
|
1673
|
+
cursor: "default"
|
|
1674
|
+
},
|
|
1675
|
+
selectedAndHighlighted: {
|
|
1676
|
+
backgroundImage: "linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08) 100%)"
|
|
1677
|
+
},
|
|
1678
|
+
selected: {
|
|
1679
|
+
color: r["neutral-90"],
|
|
1680
|
+
fontWeight: i.bold
|
|
1681
|
+
},
|
|
1682
|
+
disabled: {
|
|
1683
|
+
color: r["beige-60"],
|
|
1684
|
+
cursor: "not-allowed"
|
|
887
1685
|
}
|
|
1686
|
+
},
|
|
1687
|
+
fieldset: {
|
|
1688
|
+
"border-width": "0"
|
|
888
1689
|
}
|
|
1690
|
+
};
|
|
1691
|
+
}, Ae = "work-sans", Be = 16, Ee = "-0.019rem", Re = 1.15, ze = "https://cdn.welcome-ui.com/fonts", Le = "welcome-font", Ie = "welcome-icon-font", Ke = (o = {}) => {
|
|
1692
|
+
const {
|
|
1693
|
+
defaultFontFamily: e = Ae,
|
|
1694
|
+
defaultFontSize: r = Be,
|
|
1695
|
+
defaultLetterSpacing: n = Ee,
|
|
1696
|
+
defaultLineHeight: a = Re,
|
|
1697
|
+
fontsUrl: i = ze,
|
|
1698
|
+
headingFontFamily: d = Le,
|
|
1699
|
+
iconFontFamily: l = Ie,
|
|
1700
|
+
...s
|
|
1701
|
+
} = o;
|
|
1702
|
+
let t = {};
|
|
1703
|
+
return t.transformers = { ...F }, t.toEm = (c) => `${c / r}em`, t.toRem = (c) => `${c / r}rem`, t.toPx = (c) => `${c * r}px`, t.colors = p, t.fontsUrl = i, t.fontFaces = Ce(t), t.fontSizes = re("rem", t), t.defaultLineHeight = a, t.defaultLetterSpacing = n, t.lineHeights = oe(t), t.fontWeights = te, t.letterSpacings = ne(t), t.fonts = se(e, d, l), t.borderWidths = we, t.screens = Se, t.space = Te(t), t.inset = t.space, t.radii = Fe(t), t.transitions = ye, t.timingFunction = b, t.shadows = ve, t = f(t, s), t.selection = De(t), t.underline = ke(t), t.focus = $e(t), t.textsFontWeights = ae(t), t.textsFontFamily = le(t), t.textsFontColors = de(t), t.textsTextTransform = ie(), t.texts = C(t), t.defaultField = We(t), t.icons = G(t), t.accordions = D(t), t.alerts = $(t), t.avatars = W(t), t.badges = A(t), t.breadcrumbs = B(t), t.buttons = E(t), t.cards = R(t), t.checkboxes = L(t), t.dateTimePickerCommon = z(t), t.drawers = I(t), t.dropdownMenu = H(t), t.fileDrops = U(t), t.hints = _(t), t.labels = P(t), t.links = M(t), t.loaders = N(t), t.modals = O(t), t.pagination = V(t), t.popovers = Y(t), t.radios = J(t), t.radiosTab = X(t), t.sliders = K(t), t.swipers = Z(t), t.tables = j(t), t.tabs = q(t), t.tags = Q(t), t.textareas = ee(t), t.toasts = ce(t), t.toggles = me(t), t.tooltips = be(t), t.variantIcon = pe(t), t.states = w.states, t = f(t, s), t;
|
|
1704
|
+
};
|
|
1705
|
+
var He = function() {
|
|
1706
|
+
var o = document.getSelection();
|
|
1707
|
+
if (!o.rangeCount)
|
|
1708
|
+
return function() {
|
|
1709
|
+
};
|
|
1710
|
+
for (var e = document.activeElement, r = [], n = 0; n < o.rangeCount; n++)
|
|
1711
|
+
r.push(o.getRangeAt(n));
|
|
1712
|
+
switch (e.tagName.toUpperCase()) {
|
|
1713
|
+
case "INPUT":
|
|
1714
|
+
case "TEXTAREA":
|
|
1715
|
+
e.blur();
|
|
1716
|
+
break;
|
|
1717
|
+
default:
|
|
1718
|
+
e = null;
|
|
1719
|
+
break;
|
|
889
1720
|
}
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
1721
|
+
return o.removeAllRanges(), function() {
|
|
1722
|
+
o.type === "Caret" && o.removeAllRanges(), o.rangeCount || r.forEach(function(a) {
|
|
1723
|
+
o.addRange(a);
|
|
1724
|
+
}), e && e.focus();
|
|
1725
|
+
};
|
|
1726
|
+
}, Ue = He, x = {
|
|
1727
|
+
"text/plain": "Text",
|
|
1728
|
+
"text/html": "Url",
|
|
1729
|
+
default: "Text"
|
|
1730
|
+
}, _e = "Copy to clipboard: #{key}, Enter";
|
|
1731
|
+
function Pe(o) {
|
|
1732
|
+
var e = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
|
1733
|
+
return o.replace(/#{\s*key\s*}/g, e);
|
|
1734
|
+
}
|
|
1735
|
+
function Me(o, e) {
|
|
1736
|
+
var r, n, a, i, d, l, s = !1;
|
|
1737
|
+
e || (e = {}), r = e.debug || !1;
|
|
1738
|
+
try {
|
|
1739
|
+
a = Ue(), i = document.createRange(), d = document.getSelection(), l = document.createElement("span"), l.textContent = o, l.ariaHidden = "true", l.style.all = "unset", l.style.position = "fixed", l.style.top = 0, l.style.clip = "rect(0, 0, 0, 0)", l.style.whiteSpace = "pre", l.style.webkitUserSelect = "text", l.style.MozUserSelect = "text", l.style.msUserSelect = "text", l.style.userSelect = "text", l.addEventListener("copy", function(c) {
|
|
1740
|
+
if (c.stopPropagation(), e.format)
|
|
1741
|
+
if (c.preventDefault(), typeof c.clipboardData > "u") {
|
|
1742
|
+
r && console.warn("unable to use e.clipboardData"), r && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
|
1743
|
+
var g = x[e.format] || x.default;
|
|
1744
|
+
window.clipboardData.setData(g, o);
|
|
1745
|
+
} else
|
|
1746
|
+
c.clipboardData.clearData(), c.clipboardData.setData(e.format, o);
|
|
1747
|
+
e.onCopy && (c.preventDefault(), e.onCopy(c.clipboardData));
|
|
1748
|
+
}), document.body.appendChild(l), i.selectNodeContents(l), d.addRange(i);
|
|
1749
|
+
var t = document.execCommand("copy");
|
|
1750
|
+
if (!t)
|
|
1751
|
+
throw new Error("copy command was unsuccessful");
|
|
1752
|
+
s = !0;
|
|
1753
|
+
} catch (c) {
|
|
1754
|
+
r && console.error("unable to copy using execCommand: ", c), r && console.warn("trying IE specific stuff");
|
|
1755
|
+
try {
|
|
1756
|
+
window.clipboardData.setData(e.format || "text", o), e.onCopy && e.onCopy(window.clipboardData), s = !0;
|
|
1757
|
+
} catch (g) {
|
|
1758
|
+
r && console.error("unable to copy using clipboardData: ", g), r && console.error("falling back to prompt"), n = Pe("message" in e ? e.message : _e), window.prompt(n, o);
|
|
901
1759
|
}
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
), Ce = m(U)`
|
|
905
|
-
${d("cards.cover")};
|
|
906
|
-
|
|
907
|
-
${p};
|
|
908
|
-
`, we = ({ src: r, ...e }) => /* @__PURE__ */ u.createElement(Ce, { ...e }, /* @__PURE__ */ u.createElement("img", { src: r })), Ee = m.divBox`
|
|
909
|
-
overflow: 'hidden';
|
|
910
|
-
border-radius: md;
|
|
911
|
-
${d("cards.default")};
|
|
912
|
-
background-size: cover;
|
|
913
|
-
background-position: center;
|
|
914
|
-
|
|
915
|
-
${p};
|
|
916
|
-
`, Ae = m.divBox`
|
|
917
|
-
padding: lg;
|
|
918
|
-
|
|
919
|
-
${p};
|
|
920
|
-
`, Be = h(({ children: r, ...e }, t) => /* @__PURE__ */ u.createElement(Ee, { ref: t, ...e }, r)), Pe = Object.assign(Be, {
|
|
921
|
-
Body: Ae,
|
|
922
|
-
Cover: we
|
|
923
|
-
}), ke = v`
|
|
924
|
-
from {
|
|
925
|
-
opacity: 0;
|
|
1760
|
+
} finally {
|
|
1761
|
+
d && (typeof d.removeRange == "function" ? d.removeRange(i) : d.removeAllRanges()), l && document.body.removeChild(l), a();
|
|
926
1762
|
}
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
width: ${d("space.md")};
|
|
941
|
-
height: ${d("space.md")};
|
|
942
|
-
}
|
|
943
|
-
`, je = h((r, e) => /* @__PURE__ */ u.createElement(ve, { ref: e, shape: "circle", size: "sm", title: "Close", variant: "ghost", ...r }, /* @__PURE__ */ u.createElement(w, { size: "lg" })));
|
|
1763
|
+
return s;
|
|
1764
|
+
}
|
|
1765
|
+
var Ne = Me;
|
|
1766
|
+
const Ge = /* @__PURE__ */ T(Ne);
|
|
1767
|
+
function Ze(o, e) {
|
|
1768
|
+
const [r, n] = S();
|
|
1769
|
+
return [v(() => {
|
|
1770
|
+
let i;
|
|
1771
|
+
typeof o == "number" || typeof o == "string" ? i = o.toString() : o.current instanceof HTMLInputElement ? i = o.current.value : o.current instanceof HTMLElement && (i = o.current.textContent);
|
|
1772
|
+
const d = Ge(i);
|
|
1773
|
+
n(d), e && setTimeout(n, e);
|
|
1774
|
+
}, [o, e]), r];
|
|
1775
|
+
}
|
|
944
1776
|
export {
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
1777
|
+
Qe as Accordion,
|
|
1778
|
+
or as Alert,
|
|
1779
|
+
nr as AspectRatio,
|
|
1780
|
+
zr as AssetDrawer,
|
|
1781
|
+
Eo as AssetModal,
|
|
1782
|
+
lr as Avatar,
|
|
1783
|
+
dr as Badge,
|
|
1784
|
+
cr as Box,
|
|
1785
|
+
ur as Breadcrumb,
|
|
1786
|
+
mr as BreadcrumbComponent,
|
|
1787
|
+
pr as Button,
|
|
1788
|
+
xr as ButtonGroup,
|
|
1789
|
+
yr as Card,
|
|
1790
|
+
kr as CardComponent,
|
|
1791
|
+
wr as Checkbox,
|
|
1792
|
+
vr as ClearButton,
|
|
1793
|
+
$r as CloseButton,
|
|
1794
|
+
Ar as DatePicker,
|
|
1795
|
+
Er as DateTimePicker,
|
|
1796
|
+
Lr as Drawer,
|
|
1797
|
+
Ir as DrawerBackdrop,
|
|
1798
|
+
Pr as DropdownMenu,
|
|
1799
|
+
Gr as Field,
|
|
1800
|
+
Xr as FieldGroup,
|
|
1801
|
+
jr as FileDrop,
|
|
1802
|
+
ao as FileUpload,
|
|
1803
|
+
io as Flex,
|
|
1804
|
+
co as Grid,
|
|
1805
|
+
uo as Hint,
|
|
1806
|
+
po as Icon,
|
|
1807
|
+
Or as IconGroupWrapper,
|
|
1808
|
+
Vr as IconWrapper,
|
|
1809
|
+
qr as ImagePreview,
|
|
1810
|
+
xo as InputText,
|
|
1811
|
+
yo as Label,
|
|
1812
|
+
wo as Link,
|
|
1813
|
+
vo as Loader,
|
|
1814
|
+
Do as Logo,
|
|
1815
|
+
Ro as Modal,
|
|
1816
|
+
Lt as Notifications,
|
|
1817
|
+
Io as Pagination,
|
|
1818
|
+
Uo as PasswordInput,
|
|
1819
|
+
Po as Picker,
|
|
1820
|
+
No as Popover,
|
|
1821
|
+
Go as PopoverHover,
|
|
1822
|
+
Jo as Radio,
|
|
1823
|
+
Ko as RadioGroup,
|
|
1824
|
+
jo as RadioTab,
|
|
1825
|
+
Qo as Search,
|
|
1826
|
+
ot as Select,
|
|
1827
|
+
at as Shape,
|
|
1828
|
+
it as Slider,
|
|
1829
|
+
dt as SliderComponent,
|
|
1830
|
+
$o as SolutionsSymbol,
|
|
1831
|
+
mt as Stack,
|
|
1832
|
+
fr as StyledButton,
|
|
1833
|
+
Tr as StyledClearButton,
|
|
1834
|
+
Kr as StyledFieldGroup,
|
|
1835
|
+
mo as StyledHint,
|
|
1836
|
+
fo as StyledIcon,
|
|
1837
|
+
ko as StyledLabel,
|
|
1838
|
+
et as StyledSearch,
|
|
1839
|
+
tt as StyledSelect,
|
|
1840
|
+
pt as StyledSwiper,
|
|
1841
|
+
Tt as StyledTag,
|
|
1842
|
+
ft as Swiper,
|
|
1843
|
+
Wo as Symbol,
|
|
1844
|
+
Ft as Tab,
|
|
1845
|
+
wt as TabComponent,
|
|
1846
|
+
Ct as Table,
|
|
1847
|
+
yt as TableComponent,
|
|
1848
|
+
Dt as Tag,
|
|
1849
|
+
Wt as Text,
|
|
1850
|
+
Bt as Textarea,
|
|
1851
|
+
Rt as TimePicker,
|
|
1852
|
+
It as Toast,
|
|
1853
|
+
Nt as Toggle,
|
|
1854
|
+
Ot as Tooltip,
|
|
1855
|
+
Hr as Trigger,
|
|
1856
|
+
Yt as VariantIcon,
|
|
1857
|
+
Xt as WelcomeLoader,
|
|
1858
|
+
Ao as WelcomeUILogo,
|
|
1859
|
+
Zt as WuiProvider,
|
|
1860
|
+
Ke as createTheme,
|
|
1861
|
+
Xe as darkTheme,
|
|
1862
|
+
Ht as dismiss,
|
|
1863
|
+
st as ensureMinMax,
|
|
1864
|
+
Yr as getBaseType,
|
|
1865
|
+
eo as getFileIcon,
|
|
1866
|
+
ro as getFileName,
|
|
1867
|
+
oo as getFileSize,
|
|
1868
|
+
to as getMimeType,
|
|
1869
|
+
Ut as remove,
|
|
1870
|
+
ct as round,
|
|
1871
|
+
gt as thumbWidth,
|
|
1872
|
+
_t as toast,
|
|
1873
|
+
er as useAccordion,
|
|
1874
|
+
Ze as useCopyText,
|
|
1875
|
+
Ur as useDrawer,
|
|
1876
|
+
Mr as useDropdownMenu,
|
|
1877
|
+
zo as useModal,
|
|
1878
|
+
Oo as usePopover,
|
|
1879
|
+
Vo as usePopoverHover,
|
|
1880
|
+
ht as useSwiper,
|
|
1881
|
+
St as useTab,
|
|
1882
|
+
Pt as useToast
|
|
972
1883
|
};
|