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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SearchOptions } from './index';
|
|
2
|
+
export declare const Wrapper: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, import('@xstyled/util').Props<import('@xstyled/system').Theme> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
3
|
+
export declare const InputWrapper: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {}, never>;
|
|
4
|
+
export declare const Input: import('styled-components').StyledComponent<"input", import('@xstyled/system').Theme, SearchOptions, never>;
|
|
5
|
+
export declare const Menu: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {}, never>;
|
|
6
|
+
export declare const Item: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {
|
|
7
|
+
isExisting?: boolean;
|
|
8
|
+
isHighlighted?: boolean;
|
|
9
|
+
isSelected?: boolean;
|
|
10
|
+
}, never>;
|
|
11
|
+
export declare const Indicators: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {}, never>;
|
|
12
|
+
export declare const DropDownIndicator: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {
|
|
13
|
+
isOpen?: boolean;
|
|
14
|
+
size: SearchOptions["size"];
|
|
15
|
+
}, never>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DownshiftProps } from 'downshift';
|
|
3
|
+
import { CreateWuiProps } from '../System';
|
|
4
|
+
import { CreateEvent } from '../../utils/create-event';
|
|
5
|
+
import { DefaultFieldStylesProps } from '../../utils/field-styles';
|
|
6
|
+
export type SelectOptionValue = string | number;
|
|
7
|
+
export type SelectOption = {
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
icon?: React.ReactElement;
|
|
10
|
+
label: string;
|
|
11
|
+
value: SelectOptionValue;
|
|
12
|
+
};
|
|
13
|
+
export type SelectOptionGroup = {
|
|
14
|
+
label: string;
|
|
15
|
+
options: SelectOption[];
|
|
16
|
+
};
|
|
17
|
+
export type SelectOptionItem = SelectOption | SelectOptionGroup;
|
|
18
|
+
export type SelectOptionsType = Array<SelectOption | SelectOptionGroup>;
|
|
19
|
+
export type SelectValue = string | number | string[] | SelectOption | (string | number | SelectOption)[];
|
|
20
|
+
export interface SelectOptions extends DefaultFieldStylesProps {
|
|
21
|
+
allowUnselectFromList?: boolean;
|
|
22
|
+
/** We need to add `autoComplete` off to avoid select UI issues when is an input */
|
|
23
|
+
autoComplete?: string;
|
|
24
|
+
autoFocus?: boolean;
|
|
25
|
+
disableCloseOnSelect?: boolean;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
groupsEnabled?: boolean;
|
|
28
|
+
icon?: React.ReactElement;
|
|
29
|
+
id?: string;
|
|
30
|
+
isClearable?: boolean;
|
|
31
|
+
isCreatable?: boolean;
|
|
32
|
+
isMultiple?: boolean;
|
|
33
|
+
isSearchable?: boolean;
|
|
34
|
+
name?: string;
|
|
35
|
+
onBlur?: () => void;
|
|
36
|
+
onChange?: (value: SelectOptionValue | SelectOptionValue[], event?: CreateEvent) => void;
|
|
37
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
38
|
+
onCreate?: (option: string, event: CreateEvent) => void;
|
|
39
|
+
onFocus?: () => void;
|
|
40
|
+
options: SelectOptionsType;
|
|
41
|
+
placeholder?: string;
|
|
42
|
+
renderCreateItem?: (inputValue: SelectValue) => void;
|
|
43
|
+
renderGroupHeader?: (option: SelectOptionGroup) => React.ReactNode;
|
|
44
|
+
renderItem?: (item: SelectOption | unknown, isItemSelected?: boolean) => string | React.ReactElement;
|
|
45
|
+
renderMultiple?: (values: SelectOption[], handleRemove: (value: string) => void) => React.ReactElement;
|
|
46
|
+
transparent?: boolean;
|
|
47
|
+
value?: SelectValue;
|
|
48
|
+
}
|
|
49
|
+
export type SelectProps = CreateWuiProps<'input', SelectOptions & Omit<DownshiftProps<SelectOption>, keyof SelectOptions | 'children'>>;
|
|
50
|
+
/** We need to add autoComplete off to avoid select UI issues when is an input */
|
|
51
|
+
export declare const Select: import('../System').CreateWuiComponent<"input", SelectProps>;
|
|
52
|
+
export declare const StyledSelect: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & {
|
|
53
|
+
disabled: boolean;
|
|
54
|
+
}, never>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Size } from '../../utils/field-styles';
|
|
2
|
+
import { SelectOptions } from './index';
|
|
3
|
+
export declare const Wrapper: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
}, never>;
|
|
6
|
+
export declare const IconWrapper: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & {
|
|
7
|
+
iconPlacement: "left" | "right";
|
|
8
|
+
size?: import('../../utils/field-styles').FieldIconSize;
|
|
9
|
+
}, never>;
|
|
10
|
+
export declare const InputWrapper: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {}, never>;
|
|
11
|
+
export declare const Input: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {
|
|
12
|
+
iconPlacement?: "both" | "right";
|
|
13
|
+
isClearable?: boolean;
|
|
14
|
+
size: SelectOptions["size"];
|
|
15
|
+
transparent?: boolean;
|
|
16
|
+
variant: SelectOptions["variant"];
|
|
17
|
+
}, never>;
|
|
18
|
+
export declare const Menu: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {}, never>;
|
|
19
|
+
export declare const Item: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {
|
|
20
|
+
allowUnselectFromList: boolean;
|
|
21
|
+
isDisabled?: boolean;
|
|
22
|
+
isHighlighted: boolean;
|
|
23
|
+
isMultiple: boolean;
|
|
24
|
+
isSelected: boolean;
|
|
25
|
+
}, never>;
|
|
26
|
+
export declare const Indicators: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & {
|
|
27
|
+
size: Size;
|
|
28
|
+
}, never>;
|
|
29
|
+
export declare const DropDownIndicator: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {
|
|
30
|
+
isOpen?: boolean;
|
|
31
|
+
}, never>;
|
|
32
|
+
export declare const Tags: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SelectOption, SelectOptionsType, SelectOptionValue, SelectValue } from './index';
|
|
3
|
+
export declare const kebabCase: (str: string | number | SelectOption) => string;
|
|
4
|
+
export declare const itemToString: (item: SelectOption) => string;
|
|
5
|
+
export declare const getSpacer: (options: SelectOptionsType) => string;
|
|
6
|
+
export declare const getUniqueValue: (item: SelectOption, values: SelectOption[], allowUnselectFromList?: boolean) => SelectOption[];
|
|
7
|
+
export declare const isValueSelected: (value: SelectOptionValue, options: SelectOption[]) => boolean;
|
|
8
|
+
export declare const getOption: (value: string | number | SelectOption, options?: SelectOptionsType) => SelectOption;
|
|
9
|
+
export declare const getOptionsFromSelected: (selected: SelectValue, options: SelectOptionsType, groupsEnabled?: boolean) => SelectOption[];
|
|
10
|
+
export declare const getValuesFromOptions: (selected: SelectOption[], options: SelectOptionsType) => SelectOptionValue[];
|
|
11
|
+
export declare const getNewOptions: (selected: SelectOption[], options: SelectOptionsType) => SelectOption[];
|
|
12
|
+
export declare const getInputValue: ({ inputValue, isMultiple, isSearchable, options, renderItem, }: {
|
|
13
|
+
inputValue: string;
|
|
14
|
+
isMultiple: boolean;
|
|
15
|
+
isSearchable: boolean;
|
|
16
|
+
options: SelectOption[];
|
|
17
|
+
renderItem: (option: SelectOption) => string | React.ReactElement;
|
|
18
|
+
}) => string | React.ReactElement;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreateWuiProps } from '../System';
|
|
2
|
+
import { SliderOptions } from './index';
|
|
3
|
+
export declare const thumbWidth = 20;
|
|
4
|
+
export type Range = {
|
|
5
|
+
max: number;
|
|
6
|
+
min: number;
|
|
7
|
+
};
|
|
8
|
+
export interface RangeOptions extends Omit<SliderOptions, 'type' | 'value' | 'onChange'> {
|
|
9
|
+
onChange: (value: Range) => void;
|
|
10
|
+
type?: 'inline' | 'fields';
|
|
11
|
+
value: Range;
|
|
12
|
+
}
|
|
13
|
+
export type RangeProps = CreateWuiProps<'div', RangeOptions>;
|
|
14
|
+
/**
|
|
15
|
+
* @name Slider.Range
|
|
16
|
+
*/
|
|
17
|
+
export declare const Range: import('../System').CreateWuiComponent<"div", RangeProps>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CreateWuiProps } from '../System';
|
|
3
|
+
import { Range as RangeType } from './Range';
|
|
4
|
+
export type Type = 'left-field' | 'right-field' | 'inline';
|
|
5
|
+
export type { RangeType };
|
|
6
|
+
export declare const thumbWidth = 20;
|
|
7
|
+
export interface SliderOptions extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
|
|
8
|
+
borderSelectorColor?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
hint?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
max: number;
|
|
13
|
+
min: number;
|
|
14
|
+
onChange: (value: number) => void;
|
|
15
|
+
step?: number;
|
|
16
|
+
tooltip?: boolean;
|
|
17
|
+
type?: Type;
|
|
18
|
+
value: number;
|
|
19
|
+
values?: number[];
|
|
20
|
+
}
|
|
21
|
+
export type SliderProps = CreateWuiProps<'div', SliderOptions>;
|
|
22
|
+
export declare const round: (value: number, step: number) => number;
|
|
23
|
+
export declare const ensureMinMax: (value: number, min: number, max: number, step: number) => number;
|
|
24
|
+
export declare const SliderComponent: import('../System').CreateWuiComponent<"div", SliderProps>;
|
|
25
|
+
export declare const Slider: import('../System').CreateWuiComponent<"div", SliderProps> & {
|
|
26
|
+
Range: import('../System').CreateWuiComponent<"div", import('./Range').RangeProps>;
|
|
27
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type BorderProps = {
|
|
2
|
+
borderSelectorColor?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const Slider: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, BorderProps, never>;
|
|
6
|
+
export declare const RangeInput: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, BorderProps, never>;
|
|
7
|
+
export declare const Track: import('styled-components').StyledComponent<import('../System').CreateWuiComponent<"div", import('../Box').BoxProps>, import('@xstyled/system').Theme, {}, never>;
|
|
8
|
+
type RangeProps = {
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const Range: import('styled-components').StyledComponent<import('../System').CreateWuiComponent<"div", import('../Box').BoxProps>, import('@xstyled/system').Theme, RangeProps, never>;
|
|
12
|
+
export declare const Thick: import('styled-components').StyledComponent<import('../System').CreateWuiComponent<"div", import('../Box').BoxProps>, import('@xstyled/system').Theme, {}, never>;
|
|
13
|
+
export declare const ThickLabel: import('styled-components').StyledComponent<import('../System').CreateWuiComponent<"div", import('../Hint').HintProps>, import('@xstyled/system').Theme, {}, never>;
|
|
14
|
+
type OutputProps = {
|
|
15
|
+
isVisible?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export declare const Output: import('styled-components').StyledComponent<"output", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & OutputProps, never>;
|
|
18
|
+
export declare const Tooltip: import('styled-components').StyledComponent<import('../System').CreateWuiComponent<"div", import('../Box').BoxProps>, import('@xstyled/system').Theme, {}, never>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSObject } from '@xstyled/styled-components';
|
|
2
|
+
import { ThemeValues } from '../../theme';
|
|
3
|
+
export type ThemeSliders = {
|
|
4
|
+
default: CSSObject;
|
|
5
|
+
disabled: CSSObject;
|
|
6
|
+
focused: CSSObject;
|
|
7
|
+
output: CSSObject;
|
|
8
|
+
rangeInput: CSSObject;
|
|
9
|
+
selector: CSSObject;
|
|
10
|
+
};
|
|
11
|
+
export declare const getSliders: (theme: ThemeValues) => ThemeSliders;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CreateWuiProps } from '../System';
|
|
2
|
+
export interface StackOptions {
|
|
3
|
+
direction?: 'column' | 'row';
|
|
4
|
+
spacing?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
5
|
+
}
|
|
6
|
+
export type StackProps = CreateWuiProps<'div', StackOptions>;
|
|
7
|
+
export declare const Stack: import('../System').CreateWuiComponent<"div", StackProps>;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CreateWuiProps } from '../System';
|
|
3
|
+
export interface UseSwiperProps {
|
|
4
|
+
autoplay?: boolean;
|
|
5
|
+
/** If true the swiper will begin at the middle */
|
|
6
|
+
centeredSlides?: boolean;
|
|
7
|
+
duration?: number;
|
|
8
|
+
/** Won't be used if centeredSlides is true */
|
|
9
|
+
firstSlideToShow?: number;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
id?: string;
|
|
12
|
+
loop?: boolean;
|
|
13
|
+
/** Size of left and right navigation arrows */
|
|
14
|
+
navigationSize?: 'xs' | 'sm' | 'md' | 'lg';
|
|
15
|
+
/** Number of slides to show per view */
|
|
16
|
+
slidesPerView?: {
|
|
17
|
+
desktop: number;
|
|
18
|
+
mobile: number;
|
|
19
|
+
tablet: number;
|
|
20
|
+
};
|
|
21
|
+
/** Space between each slides */
|
|
22
|
+
spaceBetween?: number;
|
|
23
|
+
/** Use black colors for the pagination and arrows in case of slides too bright */
|
|
24
|
+
withDarkUI?: boolean;
|
|
25
|
+
/** Show left and rigth navigation arrows on mobile/tablet or/and desktop */
|
|
26
|
+
withNavigation?: {
|
|
27
|
+
desktop: boolean;
|
|
28
|
+
mobile: boolean;
|
|
29
|
+
};
|
|
30
|
+
/** Show bottom pagination on mobile/tablet or/and desktop */
|
|
31
|
+
withPagination?: {
|
|
32
|
+
desktop: boolean;
|
|
33
|
+
mobile: boolean;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export declare const useSwiper: (options?: UseSwiperProps) => {
|
|
37
|
+
centeredSlides: boolean;
|
|
38
|
+
firstSlideToShow: number;
|
|
39
|
+
currentSlidesPerView: number;
|
|
40
|
+
currentPage: number;
|
|
41
|
+
setCurrentPage: React.Dispatch<React.SetStateAction<number>>;
|
|
42
|
+
fullWidth: boolean;
|
|
43
|
+
id: string;
|
|
44
|
+
navigationSize: "sm" | "xs" | "md" | "lg";
|
|
45
|
+
slidesPerView: {
|
|
46
|
+
desktop: number;
|
|
47
|
+
mobile: number;
|
|
48
|
+
tablet: number;
|
|
49
|
+
};
|
|
50
|
+
spaceBetween: number;
|
|
51
|
+
withNavigation: {
|
|
52
|
+
desktop: boolean;
|
|
53
|
+
mobile: boolean;
|
|
54
|
+
};
|
|
55
|
+
withPagination: {
|
|
56
|
+
desktop: boolean;
|
|
57
|
+
mobile: boolean;
|
|
58
|
+
};
|
|
59
|
+
autoplay: boolean;
|
|
60
|
+
shouldLoop: boolean;
|
|
61
|
+
duration: number;
|
|
62
|
+
withDarkUI: boolean;
|
|
63
|
+
ref: React.MutableRefObject<HTMLUListElement>;
|
|
64
|
+
setShowLeftArrow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
65
|
+
setShowRightArrow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
66
|
+
showLeftArrow: boolean;
|
|
67
|
+
showRightArrow: boolean;
|
|
68
|
+
};
|
|
69
|
+
export type UseSwiper = ReturnType<typeof useSwiper>;
|
|
70
|
+
export type SwiperInitialProps = {
|
|
71
|
+
children: JSX.Element | JSX.Element[];
|
|
72
|
+
dataTestId?: string;
|
|
73
|
+
store: UseSwiper;
|
|
74
|
+
};
|
|
75
|
+
export type SwiperProps = CreateWuiProps<'div', SwiperInitialProps>;
|
|
76
|
+
export declare const Swiper: {
|
|
77
|
+
({ children, dataTestId, store, ...rest }: SwiperProps): JSX.Element;
|
|
78
|
+
displayName: string;
|
|
79
|
+
};
|
|
80
|
+
export declare const StyledSwiper: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, CreateWuiProps<"div">, never>;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { CreateWuiProps } from '../System';
|
|
2
|
+
export declare const Swiper: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, CreateWuiProps<"div">, never>;
|
|
3
|
+
export declare const Arrow: import('styled-components').StyledComponent<import('../System').CreateWuiComponent<"button", import('../Button').ButtonProps>, import('@xstyled/system').Theme, {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
} & Pick<{
|
|
6
|
+
centeredSlides: boolean;
|
|
7
|
+
firstSlideToShow: number;
|
|
8
|
+
currentSlidesPerView: number;
|
|
9
|
+
currentPage: number;
|
|
10
|
+
setCurrentPage: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
11
|
+
fullWidth: boolean;
|
|
12
|
+
id: string;
|
|
13
|
+
navigationSize: "sm" | "xs" | "md" | "lg";
|
|
14
|
+
slidesPerView: {
|
|
15
|
+
desktop: number;
|
|
16
|
+
mobile: number;
|
|
17
|
+
tablet: number;
|
|
18
|
+
};
|
|
19
|
+
spaceBetween: number;
|
|
20
|
+
withNavigation: {
|
|
21
|
+
desktop: boolean;
|
|
22
|
+
mobile: boolean;
|
|
23
|
+
};
|
|
24
|
+
withPagination: {
|
|
25
|
+
desktop: boolean;
|
|
26
|
+
mobile: boolean;
|
|
27
|
+
};
|
|
28
|
+
autoplay: boolean;
|
|
29
|
+
shouldLoop: boolean;
|
|
30
|
+
duration: number;
|
|
31
|
+
withDarkUI: boolean;
|
|
32
|
+
ref: import('react').MutableRefObject<HTMLUListElement>;
|
|
33
|
+
setShowLeftArrow: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
34
|
+
setShowRightArrow: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
35
|
+
showLeftArrow: boolean;
|
|
36
|
+
showRightArrow: boolean;
|
|
37
|
+
}, "withNavigation" | "withDarkUI">, never>;
|
|
38
|
+
export declare const Pagination: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & Pick<{
|
|
39
|
+
centeredSlides: boolean;
|
|
40
|
+
firstSlideToShow: number;
|
|
41
|
+
currentSlidesPerView: number;
|
|
42
|
+
currentPage: number;
|
|
43
|
+
setCurrentPage: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
44
|
+
fullWidth: boolean;
|
|
45
|
+
id: string;
|
|
46
|
+
navigationSize: "sm" | "xs" | "md" | "lg";
|
|
47
|
+
slidesPerView: {
|
|
48
|
+
desktop: number;
|
|
49
|
+
mobile: number;
|
|
50
|
+
tablet: number;
|
|
51
|
+
};
|
|
52
|
+
spaceBetween: number;
|
|
53
|
+
withNavigation: {
|
|
54
|
+
desktop: boolean;
|
|
55
|
+
mobile: boolean;
|
|
56
|
+
};
|
|
57
|
+
withPagination: {
|
|
58
|
+
desktop: boolean;
|
|
59
|
+
mobile: boolean;
|
|
60
|
+
};
|
|
61
|
+
autoplay: boolean;
|
|
62
|
+
shouldLoop: boolean;
|
|
63
|
+
duration: number;
|
|
64
|
+
withDarkUI: boolean;
|
|
65
|
+
ref: import('react').MutableRefObject<HTMLUListElement>;
|
|
66
|
+
setShowLeftArrow: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
67
|
+
setShowRightArrow: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
68
|
+
showLeftArrow: boolean;
|
|
69
|
+
showRightArrow: boolean;
|
|
70
|
+
}, "withPagination">, never>;
|
|
71
|
+
export declare const Bullet: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {
|
|
72
|
+
active: boolean;
|
|
73
|
+
} & Pick<{
|
|
74
|
+
centeredSlides: boolean;
|
|
75
|
+
firstSlideToShow: number;
|
|
76
|
+
currentSlidesPerView: number;
|
|
77
|
+
currentPage: number;
|
|
78
|
+
setCurrentPage: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
79
|
+
fullWidth: boolean;
|
|
80
|
+
id: string;
|
|
81
|
+
navigationSize: "sm" | "xs" | "md" | "lg";
|
|
82
|
+
slidesPerView: {
|
|
83
|
+
desktop: number;
|
|
84
|
+
mobile: number;
|
|
85
|
+
tablet: number;
|
|
86
|
+
};
|
|
87
|
+
spaceBetween: number;
|
|
88
|
+
withNavigation: {
|
|
89
|
+
desktop: boolean;
|
|
90
|
+
mobile: boolean;
|
|
91
|
+
};
|
|
92
|
+
withPagination: {
|
|
93
|
+
desktop: boolean;
|
|
94
|
+
mobile: boolean;
|
|
95
|
+
};
|
|
96
|
+
autoplay: boolean;
|
|
97
|
+
shouldLoop: boolean;
|
|
98
|
+
duration: number;
|
|
99
|
+
withDarkUI: boolean;
|
|
100
|
+
ref: import('react').MutableRefObject<HTMLUListElement>;
|
|
101
|
+
setShowLeftArrow: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
102
|
+
setShowRightArrow: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
103
|
+
showLeftArrow: boolean;
|
|
104
|
+
showRightArrow: boolean;
|
|
105
|
+
}, "withDarkUI">, never>;
|
|
106
|
+
export declare const Container: import('styled-components').StyledComponent<"ul", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & Pick<{
|
|
107
|
+
centeredSlides: boolean;
|
|
108
|
+
firstSlideToShow: number;
|
|
109
|
+
currentSlidesPerView: number;
|
|
110
|
+
currentPage: number;
|
|
111
|
+
setCurrentPage: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
112
|
+
fullWidth: boolean;
|
|
113
|
+
id: string;
|
|
114
|
+
navigationSize: "sm" | "xs" | "md" | "lg";
|
|
115
|
+
slidesPerView: {
|
|
116
|
+
desktop: number;
|
|
117
|
+
mobile: number;
|
|
118
|
+
tablet: number;
|
|
119
|
+
};
|
|
120
|
+
spaceBetween: number;
|
|
121
|
+
withNavigation: {
|
|
122
|
+
desktop: boolean;
|
|
123
|
+
mobile: boolean;
|
|
124
|
+
};
|
|
125
|
+
withPagination: {
|
|
126
|
+
desktop: boolean;
|
|
127
|
+
mobile: boolean;
|
|
128
|
+
};
|
|
129
|
+
autoplay: boolean;
|
|
130
|
+
shouldLoop: boolean;
|
|
131
|
+
duration: number;
|
|
132
|
+
withDarkUI: boolean;
|
|
133
|
+
ref: import('react').MutableRefObject<HTMLUListElement>;
|
|
134
|
+
setShowLeftArrow: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
135
|
+
setShowRightArrow: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
136
|
+
showLeftArrow: boolean;
|
|
137
|
+
showRightArrow: boolean;
|
|
138
|
+
}, "slidesPerView" | "fullWidth" | "spaceBetween">, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSObject } from '@xstyled/styled-components';
|
|
2
|
+
import { ThemeValues } from '../../theme';
|
|
3
|
+
export type ThemeSwipers = {
|
|
4
|
+
navigation: {
|
|
5
|
+
bullet: {
|
|
6
|
+
active: CSSObject;
|
|
7
|
+
default: CSSObject;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const getSwipers: (theme: ThemeValues) => ThemeSwipers;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useInterval: (callback: () => void, delay: number) => void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CreateWuiProps } from '../System';
|
|
2
|
+
export interface TableOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Add space on first and last child on the Td and Th component
|
|
5
|
+
*/
|
|
6
|
+
indent?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type TableProps = CreateWuiProps<'div', TableOptions>;
|
|
9
|
+
export declare const TableComponent: import('../System').CreateWuiComponent<"div", TableProps>;
|
|
10
|
+
export declare const Table: import('../System').CreateWuiComponent<"div", TableProps> & {
|
|
11
|
+
Thead: import('styled-components').StyledComponent<"thead", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
12
|
+
Tbody: import('styled-components').StyledComponent<"tbody", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
13
|
+
Th: import('styled-components').StyledComponent<"th", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
14
|
+
Tr: import('styled-components').StyledComponent<"tr", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & {
|
|
15
|
+
variant?: "default" | "danger" | "warning" | "success" | "info";
|
|
16
|
+
}, never>;
|
|
17
|
+
Td: import('styled-components').StyledComponent<"td", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TableOptions } from './index';
|
|
2
|
+
export declare const Wrapper: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & TableOptions, never>;
|
|
3
|
+
export declare const Content: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {}, never>;
|
|
4
|
+
export declare const Table: import('styled-components').StyledComponent<"table", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
5
|
+
export declare const Thead: import('styled-components').StyledComponent<"thead", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
6
|
+
export declare const Tbody: import('styled-components').StyledComponent<"tbody", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
7
|
+
type TrVariant = 'default' | 'info' | 'danger' | 'warning' | 'success';
|
|
8
|
+
export declare const Tr: import('styled-components').StyledComponent<"tr", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme> & {
|
|
9
|
+
variant?: TrVariant;
|
|
10
|
+
}, never>;
|
|
11
|
+
export declare const Th: import('styled-components').StyledComponent<"th", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
12
|
+
export declare const Td: import('styled-components').StyledComponent<"td", import('@xstyled/system').Theme, import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSObject } from '@xstyled/styled-components';
|
|
2
|
+
import { ThemeValues } from '../../theme';
|
|
3
|
+
export type ThemeTables = {
|
|
4
|
+
td: CSSObject;
|
|
5
|
+
th: CSSObject;
|
|
6
|
+
tr: {
|
|
7
|
+
clickable: CSSObject;
|
|
8
|
+
danger: CSSObject;
|
|
9
|
+
default: CSSObject;
|
|
10
|
+
info: CSSObject;
|
|
11
|
+
success: CSSObject;
|
|
12
|
+
warning: CSSObject;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const getTables: (theme: ThemeValues) => ThemeTables;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { UseTabState } from '.';
|
|
3
|
+
export interface ActiveBarReturn {
|
|
4
|
+
offset?: number;
|
|
5
|
+
orientation?: UseTabState['orientation'];
|
|
6
|
+
size?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ActiveBarOptions {
|
|
9
|
+
activeTab: HTMLElement;
|
|
10
|
+
listRef: React.MutableRefObject<undefined>;
|
|
11
|
+
}
|
|
12
|
+
export type ActiveBarProps = Pick<UseTabState, 'orientation'> & ActiveBarOptions;
|
|
13
|
+
export declare const ActiveBar: React.FC<ActiveBarProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreateWuiProps } from '../System';
|
|
2
|
+
import { UseTab } from '.';
|
|
3
|
+
export interface SizeOptions {
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
}
|
|
6
|
+
export type TabListOptions = SizeOptions & {
|
|
7
|
+
store: UseTab;
|
|
8
|
+
};
|
|
9
|
+
export type TabListProps = CreateWuiProps<'div', TabListOptions>;
|
|
10
|
+
/**
|
|
11
|
+
* @name Tabs.TabList
|
|
12
|
+
*/
|
|
13
|
+
export declare const TabList: import('../System').CreateWuiComponent<"div", TabListProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CreateWuiProps } from '../System';
|
|
2
|
+
import { UseTab } from '.';
|
|
3
|
+
import * as Ariakit from '@ariakit/react';
|
|
4
|
+
export type TabPanelOptions = {
|
|
5
|
+
store: UseTab;
|
|
6
|
+
};
|
|
7
|
+
export type TabPanelProps = CreateWuiProps<typeof Ariakit.TabPanel, TabPanelOptions>;
|
|
8
|
+
/**
|
|
9
|
+
* @name Tabs.TabPanel
|
|
10
|
+
*/
|
|
11
|
+
export declare const TabPanel: import('../System').CreateWuiComponent<"div", TabPanelProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CreateWuiProps } from '../System';
|
|
2
|
+
import * as Ariakit from '@ariakit/react';
|
|
3
|
+
export type TabOptions = {
|
|
4
|
+
store: UseTab;
|
|
5
|
+
};
|
|
6
|
+
export type TabProps = CreateWuiProps<'button', TabOptions>;
|
|
7
|
+
/**
|
|
8
|
+
* @name Tabs
|
|
9
|
+
*/
|
|
10
|
+
export declare const TabComponent: import('../System').CreateWuiComponent<"button", TabProps>;
|
|
11
|
+
export declare const Tab: import('../System').CreateWuiComponent<"button", TabProps> & {
|
|
12
|
+
List: import('../System').CreateWuiComponent<"div", import('./TabList').TabListProps>;
|
|
13
|
+
Panel: import('../System').CreateWuiComponent<"div", import('./TabPanel').TabPanelProps>;
|
|
14
|
+
};
|
|
15
|
+
export type UseTab = Ariakit.TabStore;
|
|
16
|
+
export type UseTabProps = Ariakit.TabStoreProps;
|
|
17
|
+
export type UseTabState = Ariakit.TabStoreState;
|
|
18
|
+
export declare function useTab(options?: UseTabProps): UseTab;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActiveBarReturn } from './ActiveBar';
|
|
2
|
+
import { SizeOptions } from './TabList';
|
|
3
|
+
import * as Ariakit from '@ariakit/react';
|
|
4
|
+
export declare const TabList: import('styled-components').StyledComponent<(props: Ariakit.TabListProps) => import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>, import('@xstyled/system').Theme, {
|
|
5
|
+
size: SizeOptions;
|
|
6
|
+
}, never>;
|
|
7
|
+
export declare const Tab: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, {}, never>;
|
|
8
|
+
export declare const TabPanel: import('styled-components').StyledComponent<(props: Ariakit.TabPanelProps) => import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>, import('@xstyled/system').Theme, Pick<Ariakit.TabStoreState, "orientation">, never>;
|
|
9
|
+
export declare const ActiveBar: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, ActiveBarReturn, never>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CSSObject } from '@xstyled/styled-components';
|
|
2
|
+
import { ThemeValues } from '../../theme';
|
|
3
|
+
type Size = 'sm' | 'md';
|
|
4
|
+
export type ThemeTabs = {
|
|
5
|
+
activeBar: {
|
|
6
|
+
horizontal: CSSObject;
|
|
7
|
+
vertical: CSSObject;
|
|
8
|
+
};
|
|
9
|
+
badge: CSSObject;
|
|
10
|
+
icon: CSSObject;
|
|
11
|
+
item: {
|
|
12
|
+
active: CSSObject;
|
|
13
|
+
default: CSSObject;
|
|
14
|
+
disabled: CSSObject;
|
|
15
|
+
focus: CSSObject;
|
|
16
|
+
size: Record<Size, CSSObject>;
|
|
17
|
+
};
|
|
18
|
+
panel: {
|
|
19
|
+
horizontal: CSSObject;
|
|
20
|
+
vertical: CSSObject;
|
|
21
|
+
};
|
|
22
|
+
tabsBorder: {
|
|
23
|
+
horizontal: CSSObject;
|
|
24
|
+
vertical: CSSObject;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const getTabs: (theme: ThemeValues) => ThemeTabs;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getParentScale: (element: HTMLElement | null) => number;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreateWuiProps } from '../System';
|
|
2
|
+
import { ThemeSecondaryColors } from '../../theme/colors';
|
|
3
|
+
import * as S from './styles';
|
|
4
|
+
type Size = 'xs' | 'sm' | 'md';
|
|
5
|
+
type Variant = ThemeSecondaryColors | 'default' | 'info' | 'success' | 'danger' | 'warning' | 'primary';
|
|
6
|
+
export interface TagOptions {
|
|
7
|
+
href?: string;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
onRemove?: () => void;
|
|
10
|
+
size?: Size;
|
|
11
|
+
to?: string;
|
|
12
|
+
variant?: Variant;
|
|
13
|
+
}
|
|
14
|
+
export type TagProps = CreateWuiProps<'div', TagOptions>;
|
|
15
|
+
export declare const Tag: import('../System').CreateWuiComponent<"div", TagProps>;
|
|
16
|
+
export declare const StyledTag: import('styled-components').StyledComponent<string, import('@xstyled/system').Theme, S.StyledTagProps & import('../System').WuiProps, never>;
|
|
17
|
+
export {};
|