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
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";const v=require("react");function nt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const U=nt(v);var ot=Object.defineProperty,ut=Object.defineProperties,at=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,or=(e,t,n)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O=(e,t)=>{for(var n in t||(t={}))Er.call(t,n)&&or(e,n,t[n]);if(me)for(var n of me(t))gr.call(t,n)&&or(e,n,t[n]);return e},M=(e,t)=>ut(e,at(t)),te=(e,t)=>{var n={};for(var o in e)Er.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&me)for(var o of me(e))t.indexOf(o)<0&&gr.call(e,o)&&(n[o]=e[o]);return n},it=Object.defineProperty,st=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,ur=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ar=(e,t,n)=>t in e?it(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_r=(e,t)=>{for(var n in t||(t={}))ct.call(t,n)&&ar(e,n,t[n]);if(ur)for(var n of ur(t))lt.call(t,n)&&ar(e,n,t[n]);return e},dt=(e,t)=>st(e,ft(t));function pt(...e){}function vt(e,t){if(yt(e)){const n=bt(t)?t():t;return e(n)}return e}function yt(e){return typeof e=="function"}function bt(e){return typeof e=="function"}function ge(e,t){return typeof Object.hasOwn=="function"?Object.hasOwn(e,t):Object.prototype.hasOwnProperty.call(e,t)}function mt(...e){return(...t)=>{for(const n of e)typeof n=="function"&&n(...t)}}function Et(e,t){const n=_r({},e);for(const o of t)ge(n,o)&&delete n[o];return n}function gt(e,t){const n={};for(const o of t)ge(e,o)&&(n[o]=e[o]);return n}function _t(e){return e}function ht(e,t){if(!e)throw typeof t!="string"?new Error("Invariant failed"):new Error(t)}function Rt(e){return Object.keys(e)}function hr(e){return e.disabled||e["aria-disabled"]===!0||e["aria-disabled"]==="true"}function Rr(e){const t={};for(const n in e)e[n]!==void 0&&(t[n]=e[n]);return t}function wt(...e){for(const t of e)if(t!==void 0)return t}function Pt(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ot(e){return!e||!v.isValidElement(e)?!1:"ref"in e.props||"ref"in e}function Ct(e){return Ot(e)?O({},e.props).ref||e.ref:null}function Tt(e,t){const n=O({},e);for(const o in t){if(!ge(t,o))continue;if(o==="className"){const i="className";n[i]=e[i]?`${e[i]} ${t[i]}`:t[i];continue}if(o==="style"){const i="style";n[i]=e[i]?O(O({},e[i]),t[i]):t[i];continue}const s=t[o];if(typeof s=="function"&&o.startsWith("on")){const i=e[o];if(typeof i=="function"){n[o]=(...m)=>{s(...m),i(...m)};continue}}n[o]=s}return n}var _e=St();function St(){var e;return typeof window<"u"&&!!((e=window.document)!=null&&e.createElement)}function ir(e){return e?"self"in e?e.document:e.ownerDocument||document:document}function Ne(e,t=!1){const{activeElement:n}=ir(e);if(!(n!=null&&n.nodeName))return null;if(xt(n)&&n.contentDocument)return Ne(n.contentDocument.body,t);if(t){const o=n.getAttribute("aria-activedescendant");if(o){const s=ir(n).getElementById(o);if(s)return s}}return n}function Ve(e,t){return e===t||e.contains(t)}function xt(e){return e.tagName==="IFRAME"}function ne(e){const t=e.tagName.toLowerCase();return t==="button"?!0:t==="input"&&e.type?kt.indexOf(e.type)!==-1:!1}var kt=["button","color","file","image","reset","submit"];function jt(e){if(typeof e.checkVisibility=="function")return e.checkVisibility();const t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}function Dt(e){try{const t=e instanceof HTMLInputElement&&e.selectionStart!==null,n=e.tagName==="TEXTAREA";return t||n||!1}catch{return!1}}function Ft(){return _e?/mac|iphone|ipad|ipod/i.test(navigator.platform):!1}function At(){return _e&&Ft()&&/apple/i.test(navigator.vendor)}function It(){return _e&&/firefox\//i.test(navigator.userAgent)}function Mt(e){return!!(e.currentTarget&&!Ve(e.currentTarget,e.target))}function Ae(e){return e.target===e.currentTarget}function sr(e,t){const n=new MouseEvent("click",t);return e.dispatchEvent(n)}function Nt(e,t){const n=e.currentTarget,o=e.relatedTarget;return!o||!Ve(n,o)}function be(e,t,n,o){const i=(l=>{const E=requestAnimationFrame(l);return()=>cancelAnimationFrame(E)})(()=>{e.removeEventListener(t,m,!0),n()}),m=()=>{i(),n()};return e.addEventListener(t,m,{once:!0,capture:!0}),i}function Ie(e,t,n,o=window){const s=[];try{o.document.addEventListener(e,t,n);for(const m of Array.from(o.frames))s.push(Ie(e,t,n,m))}catch{}return()=>{try{o.document.removeEventListener(e,t,n)}catch{}for(const m of s)m()}}var Le=O({},U),fr=Le.useId;Le.useDeferredValue;var cr=Le.useInsertionEffect,he=_e?v.useLayoutEffect:v.useEffect;function Vt(e){const t=v.useRef(e);return he(()=>{t.current=e}),t}function V(e){const t=v.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return cr?cr(()=>{t.current=e}):t.current=e,v.useCallback((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}function ce(...e){return v.useMemo(()=>{if(e.some(Boolean))return t=>{for(const n of e)Pt(n,t)}},e)}function Lt(e){if(fr){const o=fr();return e||o}const[t,n]=v.useState(e);return he(()=>{if(e||t)return;const o=Math.random().toString(36).slice(2,8);n(`id-${o}`)},[e,t]),e||t}function wr(e,t){const n=i=>{if(typeof i=="string")return i},[o,s]=v.useState(()=>n(t));return he(()=>{const i=e&&"current"in e?e.current:e;s((i==null?void 0:i.tagName.toLowerCase())||n(t))},[e,t]),o}function $t(e,t){const n=v.useRef(!1);v.useEffect(()=>{if(n.current)return e();n.current=!0},t),v.useEffect(()=>()=>{n.current=!1},[])}function Bt(e){return V(typeof e=="function"?e:()=>e)}function Ut(e,t,n=[]){const o=v.useCallback(s=>(e.wrapElement&&(s=e.wrapElement(s)),t(s)),[...n,e.wrapElement]);return M(O({},e),{wrapElement:o})}function Pr(e,t,n){const o=e.onLoadedMetadataCapture,s=v.useMemo(()=>Object.assign(()=>{},M(O({},o),{[t]:n})),[o,t,n]);return[o==null?void 0:o[t],{onLoadedMetadataCapture:s}]}var Me={exports:{}},se={},lr;function Wt(){if(lr)return se;lr=1;var e=v,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function m(l,E,g){var y,R={},S=null,L=null;g!==void 0&&(S=""+g),E.key!==void 0&&(S=""+E.key),E.ref!==void 0&&(L=E.ref);for(y in E)o.call(E,y)&&!i.hasOwnProperty(y)&&(R[y]=E[y]);if(l&&l.defaultProps)for(y in E=l.defaultProps,E)R[y]===void 0&&(R[y]=E[y]);return{$$typeof:t,type:l,key:S,ref:L,props:R,_owner:s.current}}return se.Fragment=n,se.jsx=m,se.jsxs=m,se}var fe={},dr;function Kt(){return dr||(dr=1,process.env.NODE_ENV!=="production"&&function(){var e=v,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),l=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),H=Symbol.iterator,X="@@iterator";function Z(r){if(r===null||typeof r!="object")return null;var u=H&&r[H]||r[X];return typeof u=="function"?u:null}var F=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(r){{for(var u=arguments.length,a=new Array(u>1?u-1:0),c=1;c<u;c++)a[c-1]=arguments[c];_("error",r,a)}}function _(r,u,a){{var c=F.ReactDebugCurrentFrame,b=c.getStackAddendum();b!==""&&(u+="%s",a=a.concat([b]));var h=a.map(function(p){return String(p)});h.unshift("Warning: "+u),Function.prototype.apply.call(console[r],console,h)}}var N=!1,$=!1,W=!1,K=!1,oe=!1,Y;Y=Symbol.for("react.module.reference");function ue(r){return!!(typeof r=="string"||typeof r=="function"||r===o||r===i||oe||r===s||r===g||r===y||K||r===L||N||$||W||typeof r=="object"&&r!==null&&(r.$$typeof===S||r.$$typeof===R||r.$$typeof===m||r.$$typeof===l||r.$$typeof===E||r.$$typeof===Y||r.getModuleId!==void 0))}function Q(r,u,a){var c=r.displayName;if(c)return c;var b=u.displayName||u.name||"";return b!==""?a+"("+b+")":a}function q(r){return r.displayName||"Context"}function A(r){if(r==null)return null;if(typeof r.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case o:return"Fragment";case n:return"Portal";case i:return"Profiler";case s:return"StrictMode";case g:return"Suspense";case y:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case l:var u=r;return q(u)+".Consumer";case m:var a=r;return q(a._context)+".Provider";case E:return Q(r,r.render,"ForwardRef");case R:var c=r.displayName||null;return c!==null?c:A(r.type)||"Memo";case S:{var b=r,h=b._payload,p=b._init;try{return A(p(h))}catch{return null}}}return null}var I=Object.assign,G=0,f,w,x,B,le,ae,Be;function Ue(){}Ue.__reactDisabledLog=!0;function kr(){{if(G===0){f=console.log,w=console.info,x=console.warn,B=console.error,le=console.group,ae=console.groupCollapsed,Be=console.groupEnd;var r={configurable:!0,enumerable:!0,value:Ue,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}G++}}function jr(){{if(G--,G===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},r,{value:f}),info:I({},r,{value:w}),warn:I({},r,{value:x}),error:I({},r,{value:B}),group:I({},r,{value:le}),groupCollapsed:I({},r,{value:ae}),groupEnd:I({},r,{value:Be})})}G<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oe=F.ReactCurrentDispatcher,Ce;function de(r,u,a){{if(Ce===void 0)try{throw Error()}catch(b){var c=b.stack.trim().match(/\n( *(at )?)/);Ce=c&&c[1]||""}return`
|
|
2
|
-
`+Ce+r}}var Te=!1,pe;{var Dr=typeof WeakMap=="function"?WeakMap:Map;pe=new Dr}function We(r,u){if(!r||Te)return"";{var a=pe.get(r);if(a!==void 0)return a}var c;Te=!0;var b=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var h;h=Oe.current,Oe.current=null,kr();try{if(u){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(j){c=j}Reflect.construct(r,[],p)}else{try{p.call()}catch(j){c=j}r.call(p.prototype)}}else{try{throw Error()}catch(j){c=j}r()}}catch(j){if(j&&c&&typeof j.stack=="string"){for(var d=j.stack.split(`
|
|
3
|
-
`),k=c.stack.split(`
|
|
4
|
-
`),P=d.length-1,T=k.length-1;P>=1&&T>=0&&d[P]!==k[T];)T--;for(;P>=1&&T>=0;P--,T--)if(d[P]!==k[T]){if(P!==1||T!==1)do if(P--,T--,T<0||d[P]!==k[T]){var D=`
|
|
5
|
-
`+d[P].replace(" at new "," at ");return r.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",r.displayName)),typeof r=="function"&&pe.set(r,D),D}while(P>=1&&T>=0);break}}}finally{Te=!1,Oe.current=h,jr(),Error.prepareStackTrace=b}var re=r?r.displayName||r.name:"",J=re?de(re):"";return typeof r=="function"&&pe.set(r,J),J}function Fr(r,u,a){return We(r,!1)}function Ar(r){var u=r.prototype;return!!(u&&u.isReactComponent)}function ve(r,u,a){if(r==null)return"";if(typeof r=="function")return We(r,Ar(r));if(typeof r=="string")return de(r);switch(r){case g:return de("Suspense");case y:return de("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case E:return Fr(r.render);case R:return ve(r.type,u,a);case S:{var c=r,b=c._payload,h=c._init;try{return ve(h(b),u,a)}catch{}}}return""}var ie=Object.prototype.hasOwnProperty,Ke={},Ye=F.ReactDebugCurrentFrame;function ye(r){if(r){var u=r._owner,a=ve(r.type,r._source,u?u.type:null);Ye.setExtraStackFrame(a)}else Ye.setExtraStackFrame(null)}function Ir(r,u,a,c,b){{var h=Function.call.bind(ie);for(var p in r)if(h(r,p)){var d=void 0;try{if(typeof r[p]!="function"){var k=Error((c||"React class")+": "+a+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw k.name="Invariant Violation",k}d=r[p](u,p,c,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(P){d=P}d&&!(d instanceof Error)&&(ye(b),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",a,p,typeof d),ye(null)),d instanceof Error&&!(d.message in Ke)&&(Ke[d.message]=!0,ye(b),C("Failed %s type: %s",a,d.message),ye(null))}}}var Mr=Array.isArray;function Se(r){return Mr(r)}function Nr(r){{var u=typeof Symbol=="function"&&Symbol.toStringTag,a=u&&r[Symbol.toStringTag]||r.constructor.name||"Object";return a}}function Vr(r){try{return qe(r),!1}catch{return!0}}function qe(r){return""+r}function Ge(r){if(Vr(r))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Nr(r)),qe(r)}var Je=F.ReactCurrentOwner,Lr={key:!0,ref:!0,__self:!0,__source:!0},ze,He;function $r(r){if(ie.call(r,"ref")){var u=Object.getOwnPropertyDescriptor(r,"ref").get;if(u&&u.isReactWarning)return!1}return r.ref!==void 0}function Br(r){if(ie.call(r,"key")){var u=Object.getOwnPropertyDescriptor(r,"key").get;if(u&&u.isReactWarning)return!1}return r.key!==void 0}function Ur(r,u){typeof r.ref=="string"&&Je.current}function Wr(r,u){{var a=function(){ze||(ze=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};a.isReactWarning=!0,Object.defineProperty(r,"key",{get:a,configurable:!0})}}function Kr(r,u){{var a=function(){He||(He=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};a.isReactWarning=!0,Object.defineProperty(r,"ref",{get:a,configurable:!0})}}var Yr=function(r,u,a,c,b,h,p){var d={$$typeof:t,type:r,key:u,ref:a,props:p,_owner:h};return d._store={},Object.defineProperty(d._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(d,"_self",{configurable:!1,enumerable:!1,writable:!1,value:c}),Object.defineProperty(d,"_source",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.freeze&&(Object.freeze(d.props),Object.freeze(d)),d};function qr(r,u,a,c,b){{var h,p={},d=null,k=null;a!==void 0&&(Ge(a),d=""+a),Br(u)&&(Ge(u.key),d=""+u.key),$r(u)&&(k=u.ref,Ur(u,b));for(h in u)ie.call(u,h)&&!Lr.hasOwnProperty(h)&&(p[h]=u[h]);if(r&&r.defaultProps){var P=r.defaultProps;for(h in P)p[h]===void 0&&(p[h]=P[h])}if(d||k){var T=typeof r=="function"?r.displayName||r.name||"Unknown":r;d&&Wr(p,T),k&&Kr(p,T)}return Yr(r,d,k,b,c,Je.current,p)}}var xe=F.ReactCurrentOwner,Xe=F.ReactDebugCurrentFrame;function ee(r){if(r){var u=r._owner,a=ve(r.type,r._source,u?u.type:null);Xe.setExtraStackFrame(a)}else Xe.setExtraStackFrame(null)}var ke;ke=!1;function je(r){return typeof r=="object"&&r!==null&&r.$$typeof===t}function Ze(){{if(xe.current){var r=A(xe.current.type);if(r)return`
|
|
6
|
-
|
|
7
|
-
Check the render method of \``+r+"`."}return""}}function Gr(r){return""}var Qe={};function Jr(r){{var u=Ze();if(!u){var a=typeof r=="string"?r:r.displayName||r.name;a&&(u=`
|
|
8
|
-
|
|
9
|
-
Check the top-level render call using <`+a+">.")}return u}}function er(r,u){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var a=Jr(u);if(Qe[a])return;Qe[a]=!0;var c="";r&&r._owner&&r._owner!==xe.current&&(c=" It was passed a child from "+A(r._owner.type)+"."),ee(r),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,c),ee(null)}}function rr(r,u){{if(typeof r!="object")return;if(Se(r))for(var a=0;a<r.length;a++){var c=r[a];je(c)&&er(c,u)}else if(je(r))r._store&&(r._store.validated=!0);else if(r){var b=Z(r);if(typeof b=="function"&&b!==r.entries)for(var h=b.call(r),p;!(p=h.next()).done;)je(p.value)&&er(p.value,u)}}}function zr(r){{var u=r.type;if(u==null||typeof u=="string")return;var a;if(typeof u=="function")a=u.propTypes;else if(typeof u=="object"&&(u.$$typeof===E||u.$$typeof===R))a=u.propTypes;else return;if(a){var c=A(u);Ir(a,r.props,"prop",c,r)}else if(u.PropTypes!==void 0&&!ke){ke=!0;var b=A(u);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b||"Unknown")}typeof u.getDefaultProps=="function"&&!u.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hr(r){{for(var u=Object.keys(r.props),a=0;a<u.length;a++){var c=u[a];if(c!=="children"&&c!=="key"){ee(r),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",c),ee(null);break}}r.ref!==null&&(ee(r),C("Invalid attribute `ref` supplied to `React.Fragment`."),ee(null))}}var tr={};function nr(r,u,a,c,b,h){{var p=ue(r);if(!p){var d="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var k=Gr();k?d+=k:d+=Ze();var P;r===null?P="null":Se(r)?P="array":r!==void 0&&r.$$typeof===t?(P="<"+(A(r.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):P=typeof r,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",P,d)}var T=qr(r,u,a,b,h);if(T==null)return T;if(p){var D=u.children;if(D!==void 0)if(c)if(Se(D)){for(var re=0;re<D.length;re++)rr(D[re],r);Object.freeze&&Object.freeze(D)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else rr(D,r)}if(ie.call(u,"key")){var J=A(r),j=Object.keys(u).filter(function(tt){return tt!=="key"}),De=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!tr[J+De]){var rt=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
|
|
10
|
-
let props = %s;
|
|
11
|
-
<%s {...props} />
|
|
12
|
-
React keys must be passed directly to JSX without using spread:
|
|
13
|
-
let props = %s;
|
|
14
|
-
<%s key={someKey} {...props} />`,De,J,rt,J),tr[J+De]=!0}}return r===o?Hr(T):zr(T),T}}function Xr(r,u,a){return nr(r,u,a,!0)}function Zr(r,u,a){return nr(r,u,a,!1)}var Qr=Zr,et=Xr;fe.Fragment=o,fe.jsx=Qr,fe.jsxs=et}()),fe}process.env.NODE_ENV==="production"?Me.exports=Wt():Me.exports=Kt();var z=Me.exports;function Re(e){const t=U.forwardRef((n,o)=>e(M(O({},n),{ref:o})));return t.displayName=e.displayName||e.name,t}function we(e,t){const n=t,{wrapElement:o,render:s}=n,i=te(n,["wrapElement","render"]),m=ce(t.ref,Ct(s));let l;if(U.isValidElement(s)){const E=M(O({},s.props),{ref:m});l=U.cloneElement(s,Tt(i,E))}else s?l=s(i):l=z.jsx(e,O({},i));return o?o(l):l}function Pe(e){const t=(n={})=>e(n);return t.displayName=e.name,t}function Yt(e=[],t=[]){const n=U.createContext(void 0),o=U.createContext(void 0),s=()=>U.useContext(n),i=(g=!1)=>{const y=U.useContext(o),R=s();return g?y:y||R},m=()=>{const g=U.useContext(o),y=s();if(!(g&&g===y))return y},l=g=>e.reduceRight((y,R)=>z.jsx(R,M(O({},g),{children:y})),z.jsx(n.Provider,O({},g)));return{context:n,scopedContext:o,useContext:s,useScopedContext:i,useProviderContext:m,ContextProvider:l,ScopedContextProvider:g=>z.jsx(l,M(O({},g),{children:t.reduceRight((y,R)=>z.jsx(R,M(O({},g),{children:y})),z.jsx(o.Provider,O({},g)))}))}}var qt=v.createContext(!0),Or="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function Ee(e){return!(!e.matches(Or)||!jt(e)||e.closest("[inert]"))}function Gt(e){for(;e&&!Ee(e);)e=e.closest(Or);return e||null}function pr(e){const t=Ne(e);if(!t)return!1;if(t===e)return!0;const n=t.getAttribute("aria-activedescendant");return n?n===e.id:!1}function Jt(e){const t=Ne(e);if(!t)return!1;if(Ve(e,t))return!0;const n=t.getAttribute("aria-activedescendant");return!n||!("id"in e)?!1:n===e.id?!0:!!e.querySelector(`#${CSS.escape(n)}`)}function zt(e){!Jt(e)&&Ee(e)&&e.focus()}var Ht="div",vr=At(),Xt=["text","search","url","tel","email","password","number","date","month","week","time","datetime","datetime-local"],Zt=Symbol("safariFocusAncestor");function yr(e,t){e&&(e[Zt]=t)}function Qt(e){const{tagName:t,readOnly:n,type:o}=e;return t==="TEXTAREA"&&!n||t==="SELECT"&&!n?!0:t==="INPUT"&&!n?Xt.includes(o):!!(e.isContentEditable||e.getAttribute("role")==="combobox"&&e.dataset.name)}function en(e){return"labels"in e?e.labels:null}function br(e){return e.tagName.toLowerCase()==="input"&&e.type?e.type==="radio"||e.type==="checkbox":!1}function rn(e){return e?e==="button"||e==="summary"||e==="input"||e==="select"||e==="textarea"||e==="a":!0}function tn(e){return e?e==="button"||e==="input"||e==="select"||e==="textarea":!0}function nn(e,t,n,o,s){return e?t?n&&!o?-1:void 0:n?s:s||0:s}function Fe(e,t){return V(n=>{e==null||e(n),!n.defaultPrevented&&t&&(n.stopPropagation(),n.preventDefault())})}var $e=!0;function on(e){const t=e.target;t&&"hasAttribute"in t&&(t.hasAttribute("data-focus-visible")||($e=!1))}function un(e){e.metaKey||e.ctrlKey||e.altKey||($e=!0)}var Cr=Pe(function(t){var n=t,{focusable:o=!0,accessibleWhenDisabled:s,autoFocus:i,onFocusVisible:m}=n,l=te(n,["focusable","accessibleWhenDisabled","autoFocus","onFocusVisible"]);const E=v.useRef(null);v.useEffect(()=>{o&&(Ie("mousedown",on,!0),Ie("keydown",un,!0))},[o]),vr&&v.useEffect(()=>{if(!o)return;const f=E.current;if(!f||!br(f))return;const w=en(f);if(!w)return;const x=()=>queueMicrotask(()=>f.focus());for(const B of w)B.addEventListener("mouseup",x);return()=>{for(const B of w)B.removeEventListener("mouseup",x)}},[o]);const g=o&&hr(l),y=!!g&&!s,[R,S]=v.useState(!1);v.useEffect(()=>{o&&y&&R&&S(!1)},[o,y,R]),v.useEffect(()=>{if(!o||!R)return;const f=E.current;if(!f||typeof IntersectionObserver>"u")return;const w=new IntersectionObserver(()=>{Ee(f)||S(!1)});return w.observe(f),()=>w.disconnect()},[o,R]);const L=Fe(l.onKeyPressCapture,g),H=Fe(l.onMouseDownCapture,g),X=Fe(l.onClickCapture,g),Z=l.onMouseDown,F=V(f=>{if(Z==null||Z(f),f.defaultPrevented||!o)return;const w=f.currentTarget;if(!vr||Mt(f)||!ne(w)&&!br(w))return;let x=!1;const B=()=>{x=!0},le={capture:!0,once:!0};w.addEventListener("focusin",B,le);const ae=Gt(w.parentElement);yr(ae,!0),be(w,"mouseup",()=>{w.removeEventListener("focusin",B,!0),yr(ae,!1),!x&&zt(w)})}),C=(f,w)=>{if(w&&(f.currentTarget=w),!o)return;const x=f.currentTarget;x&&pr(x)&&(m==null||m(f),!f.defaultPrevented&&(x.dataset.focusVisible="true",S(!0)))},_=l.onKeyDownCapture,N=V(f=>{if(_==null||_(f),f.defaultPrevented||!o||R||f.metaKey||f.altKey||f.ctrlKey||!Ae(f))return;const w=f.currentTarget;be(w,"focusout",()=>C(f,w))}),$=l.onFocusCapture,W=V(f=>{if($==null||$(f),f.defaultPrevented||!o)return;if(!Ae(f)){S(!1);return}const w=f.currentTarget,x=()=>C(f,w);$e||Qt(f.target)?be(f.target,"focusout",x):S(!1)}),K=l.onBlur,oe=V(f=>{K==null||K(f),o&&Nt(f)&&S(!1)}),Y=v.useContext(qt),ue=V(f=>{o&&i&&f&&Y&&queueMicrotask(()=>{pr(f)||Ee(f)&&f.focus()})}),Q=wr(E),q=o&&rn(Q),A=o&&tn(Q),I=l.style,G=v.useMemo(()=>y?O({pointerEvents:"none"},I):I,[y,I]);return l=M(O({"data-focus-visible":o&&R||void 0,"data-autofocus":i||void 0,"aria-disabled":g||void 0},l),{ref:ce(E,ue,l.ref),style:G,tabIndex:nn(o,y,q,A,l.tabIndex),disabled:A&&y?!0:void 0,contentEditable:g?void 0:l.contentEditable,onKeyPressCapture:L,onClickCapture:X,onMouseDownCapture:H,onMouseDown:F,onKeyDownCapture:N,onFocusCapture:W,onBlur:oe}),Rr(l)});Re(function(t){const n=Cr(t);return we(Ht,n)});var an="button";function mr(e){if(!e.isTrusted)return!1;const t=e.currentTarget;return e.key==="Enter"?ne(t)||t.tagName==="SUMMARY"||t.tagName==="A":e.key===" "?ne(t)||t.tagName==="SUMMARY"||t.tagName==="INPUT"||t.tagName==="SELECT":!1}var sn=Symbol("command"),Tr=Pe(function(t){var n=t,{clickOnEnter:o=!0,clickOnSpace:s=!0}=n,i=te(n,["clickOnEnter","clickOnSpace"]);const m=v.useRef(null),[l,E]=v.useState(!1);v.useEffect(()=>{m.current&&E(ne(m.current))},[]);const[g,y]=v.useState(!1),R=v.useRef(!1),S=hr(i),[L,H]=Pr(i,sn,!0),X=i.onKeyDown,Z=V(_=>{X==null||X(_);const N=_.currentTarget;if(_.defaultPrevented||L||S||!Ae(_)||Dt(N)||N.isContentEditable)return;const $=o&&_.key==="Enter",W=s&&_.key===" ",K=_.key==="Enter"&&!o,oe=_.key===" "&&!s;if(K||oe){_.preventDefault();return}if($||W){const Y=mr(_);if($){if(!Y){_.preventDefault();const ue=_,Q=te(ue,["view"]),q=()=>sr(N,Q);It()?be(N,"keyup",q):queueMicrotask(q)}}else W&&(R.current=!0,Y||(_.preventDefault(),y(!0)))}}),F=i.onKeyUp,C=V(_=>{if(F==null||F(_),_.defaultPrevented||L||S||_.metaKey)return;const N=s&&_.key===" ";if(R.current&&N&&(R.current=!1,!mr(_))){_.preventDefault(),y(!1);const $=_.currentTarget,W=_,K=te(W,["view"]);queueMicrotask(()=>sr($,K))}});return i=M(O(O({"data-active":g||void 0,type:l?"button":void 0},H),i),{ref:ce(m,i.ref),onKeyDown:Z,onKeyUp:C}),i=Cr(i),i});Re(function(t){const n=Tr(t);return we(an,n)});var Sr="button",xr=Pe(function(t){const n=v.useRef(null),o=wr(n,Sr),[s,i]=v.useState(()=>!!o&&ne({tagName:o,type:t.type}));return v.useEffect(()=>{n.current&&i(ne(n.current))},[]),t=M(O({role:!s&&o!=="a"?"button":void 0},t),{ref:ce(n,t.ref)}),t=Tr(t),t}),fn=Re(function(t){const n=xr(t);return we(Sr,n)});exports.Button=fn;exports.__objRest=te;exports.__spreadProps=dt;exports.__spreadProps$1=M;exports.__spreadValues=_r;exports.__spreadValues$1=O;exports.applyState=vt;exports.chain=mt;exports.createElement=we;exports.createHook=Pe;exports.createStoreContext=Yt;exports.defaultValue=wt;exports.forwardRef2=Re;exports.getKeys=Rt;exports.hasOwnProperty=ge;exports.identity=_t;exports.invariant=ht;exports.jsxRuntimeExports=z;exports.noop=pt;exports.omit=Et;exports.pick=gt;exports.removeUndefinedValues=Rr;exports.useBooleanEvent=Bt;exports.useButton=xr;exports.useEvent=V;exports.useId=Lt;exports.useLiveRef=Vt;exports.useMergeRefs=ce;exports.useMetadataProps=Pr;exports.useSafeLayoutEffect=he;exports.useUpdateEffect=$t;exports.useWrapElement=Ut;
|
package/dist/index-0MPAX4B5.mjs
DELETED
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import r, { useMemo as F, Children as A, cloneElement as p } from "react";
|
|
3
|
-
import { C as L, P as M, a as O, I as G, A as H, S as J } from "./index-Bwrtxit1.mjs";
|
|
4
|
-
import { s as S, f as h } from "./index-WmqrMIzg.mjs";
|
|
5
|
-
import c, { keyframes as K, css as i, system as f, th as o } from "@xstyled/styled-components";
|
|
6
|
-
import { S as Q, B as E, T as U } from "./index-Du8Nrf16.mjs";
|
|
7
|
-
import { B as W } from "./X5NMLKT6-BC1Q56kB.mjs";
|
|
8
|
-
import { a as X } from "./index-MifIgNHW.mjs";
|
|
9
|
-
import { forwardRef as B } from "./System.mjs";
|
|
10
|
-
import { Box as b } from "./Box.mjs";
|
|
11
|
-
var Y = K`
|
|
12
|
-
0%, 100% {
|
|
13
|
-
opacity: .5;
|
|
14
|
-
transform: scale3d(.8, .8, 1);
|
|
15
|
-
}
|
|
16
|
-
30%, 60% {
|
|
17
|
-
opacity: 1;
|
|
18
|
-
transform: scale3d(1, 1, 1);
|
|
19
|
-
}
|
|
20
|
-
`, Z = i`
|
|
21
|
-
animation: ${Y} 1.5s cubic-bezier(0.86, 0, 0.07, 1) infinite;
|
|
22
|
-
`, x = c(Q).withConfig({ shouldForwardProp: S })(
|
|
23
|
-
({ size: t, theme: e }) => {
|
|
24
|
-
var a;
|
|
25
|
-
const n = ((a = e.loaders) == null ? void 0 : a[t]) || t, l = typeof n == "number" ? e.toRem(n) : n;
|
|
26
|
-
return i`
|
|
27
|
-
width: ${l};
|
|
28
|
-
height: ${l};
|
|
29
|
-
background-color: currentColor;
|
|
30
|
-
${f}
|
|
31
|
-
${Z};
|
|
32
|
-
&:not(:first-child) {
|
|
33
|
-
margin-left: calc(${l} / 2);
|
|
34
|
-
}
|
|
35
|
-
&:nth-child(1) {
|
|
36
|
-
animation-delay: 0s;
|
|
37
|
-
}
|
|
38
|
-
&:nth-child(2) {
|
|
39
|
-
animation-delay: 0.125s;
|
|
40
|
-
}
|
|
41
|
-
&:nth-child(3) {
|
|
42
|
-
animation-delay: 0.25s;
|
|
43
|
-
}
|
|
44
|
-
`;
|
|
45
|
-
}
|
|
46
|
-
), k = h(
|
|
47
|
-
({ color: t, dataTestId: e, size: n = "sm", ...l }, a) => /* @__PURE__ */ r.createElement(E, { color: t, "data-testid": e, display: "flex", ref: a, ...l }, /* @__PURE__ */ r.createElement(x, { shape: "circle", size: n }), /* @__PURE__ */ r.createElement(x, { shape: "circle", size: n }), /* @__PURE__ */ r.createElement(x, { shape: "circle", size: n }))
|
|
48
|
-
);
|
|
49
|
-
k.displayName = "Loader";
|
|
50
|
-
var z = (t, e = "square") => i`
|
|
51
|
-
width: ${o(`buttons.sizes.${t}.height`)};
|
|
52
|
-
padding: 0;
|
|
53
|
-
${e === "circle" && i`
|
|
54
|
-
border-radius: ${o(`buttons.sizes.${t}.height`)};
|
|
55
|
-
`};
|
|
56
|
-
`, tt = c(W).withConfig({ shouldForwardProp: S })(
|
|
57
|
-
({ danger: t, disabled: e, shape: n, size: l = "md", variant: a = "primary" }) => i`
|
|
58
|
-
${o(`buttons.${a}`)};
|
|
59
|
-
${t && i`
|
|
60
|
-
${o(`buttons.danger.${a}`)};
|
|
61
|
-
`}
|
|
62
|
-
position: relative;
|
|
63
|
-
display: inline-flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
justify-content: center;
|
|
66
|
-
width: auto;
|
|
67
|
-
${o(`buttons.sizes.${l}`)};
|
|
68
|
-
text-decoration: none;
|
|
69
|
-
text-align: center;
|
|
70
|
-
white-space: nowrap;
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
outline: none !important; /* important for firefox */
|
|
73
|
-
border-width: sm;
|
|
74
|
-
border-style: solid;
|
|
75
|
-
appearance: none;
|
|
76
|
-
overflow: hidden;
|
|
77
|
-
transition: medium;
|
|
78
|
-
${n && z(l, n)};
|
|
79
|
-
${f};
|
|
80
|
-
|
|
81
|
-
& > svg.wui-icon,
|
|
82
|
-
& > i.wui-icon-font {
|
|
83
|
-
font-weight: initial;
|
|
84
|
-
|
|
85
|
-
&:only-child {
|
|
86
|
-
width: ${o(`buttons.icon.only.${l}`)};
|
|
87
|
-
height: ${o(`buttons.icon.only.${l}`)};
|
|
88
|
-
font-size: ${o(`buttons.icon.only.${l}`)};
|
|
89
|
-
}
|
|
90
|
-
&:not(:only-child) {
|
|
91
|
-
width: ${o(`buttons.icon.default.${l}`)};
|
|
92
|
-
height: ${o(`buttons.icon.default.${l}`)};
|
|
93
|
-
font-size: ${o(`buttons.icon.default.${l}`)};
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
& > *:not(:only-child):not(:last-child) {
|
|
98
|
-
margin-right: sm;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
${!e && i`
|
|
102
|
-
[${X}] &:focus {
|
|
103
|
-
box-shadow: none;
|
|
104
|
-
}
|
|
105
|
-
&:focus {
|
|
106
|
-
${o(`buttons.focus.${a}`)};
|
|
107
|
-
${t && i`
|
|
108
|
-
${o(`buttons.focus.danger.${a}`)};
|
|
109
|
-
`}
|
|
110
|
-
}
|
|
111
|
-
&:hover {
|
|
112
|
-
${o(`buttons.hover.${a}`)};
|
|
113
|
-
${t && i`
|
|
114
|
-
${o(`buttons.hover.danger.${a}`)};
|
|
115
|
-
`}
|
|
116
|
-
}
|
|
117
|
-
&:active {
|
|
118
|
-
${o(`buttons.active.${a}`)};
|
|
119
|
-
${t && i`
|
|
120
|
-
${o(`buttons.active.danger.${a}`)};
|
|
121
|
-
`}
|
|
122
|
-
}
|
|
123
|
-
`};
|
|
124
|
-
|
|
125
|
-
&[disabled] {
|
|
126
|
-
cursor: not-allowed;
|
|
127
|
-
}
|
|
128
|
-
`
|
|
129
|
-
), y = h(
|
|
130
|
-
({
|
|
131
|
-
children: t,
|
|
132
|
-
danger: e,
|
|
133
|
-
dataTestId: n,
|
|
134
|
-
disabled: l,
|
|
135
|
-
isLoading: a,
|
|
136
|
-
size: u = "md",
|
|
137
|
-
variant: m = "primary",
|
|
138
|
-
...d
|
|
139
|
-
}, g) => {
|
|
140
|
-
const $ = l || a;
|
|
141
|
-
return /* @__PURE__ */ r.createElement(
|
|
142
|
-
tt,
|
|
143
|
-
{
|
|
144
|
-
danger: e,
|
|
145
|
-
"data-loading": a,
|
|
146
|
-
"data-testid": n,
|
|
147
|
-
disabled: $,
|
|
148
|
-
ref: g,
|
|
149
|
-
size: u,
|
|
150
|
-
variant: $ ? "disabled" : m,
|
|
151
|
-
...d
|
|
152
|
-
},
|
|
153
|
-
a && /* @__PURE__ */ r.createElement("div", null, /* @__PURE__ */ r.createElement(
|
|
154
|
-
E,
|
|
155
|
-
{
|
|
156
|
-
alignItems: "center",
|
|
157
|
-
bottom: 0,
|
|
158
|
-
display: "flex",
|
|
159
|
-
justifyContent: "center",
|
|
160
|
-
left: 0,
|
|
161
|
-
m: 0,
|
|
162
|
-
position: "absolute",
|
|
163
|
-
right: 0,
|
|
164
|
-
top: 0
|
|
165
|
-
},
|
|
166
|
-
/* @__PURE__ */ r.createElement(k, { size: "xs" })
|
|
167
|
-
), /* @__PURE__ */ r.createElement(E, { opacity: "0" }, t)),
|
|
168
|
-
!a && t
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
);
|
|
172
|
-
y.displayName = "Button";
|
|
173
|
-
var et = c(y)`
|
|
174
|
-
& > svg:only-child {
|
|
175
|
-
width: ${o("space.md")};
|
|
176
|
-
height: ${o("space.md")};
|
|
177
|
-
}
|
|
178
|
-
`, nt = h((t, e) => /* @__PURE__ */ r.createElement(et, { ref: e, shape: "circle", size: "sm", title: "Close", variant: "ghost", ...t }, /* @__PURE__ */ r.createElement(L, { size: "lg" }))), ot = c.divBox(
|
|
179
|
-
({ variant: t }) => i`
|
|
180
|
-
display: inline-flex;
|
|
181
|
-
${o(`variantIcon.${t}`)}
|
|
182
|
-
flex-shrink: 0;
|
|
183
|
-
align-self: center;
|
|
184
|
-
|
|
185
|
-
${f};
|
|
186
|
-
`
|
|
187
|
-
), R = h(
|
|
188
|
-
({ icon: t, size: e = "md", variant: n, ...l }, a) => {
|
|
189
|
-
const u = F(() => {
|
|
190
|
-
if (t === null)
|
|
191
|
-
return null;
|
|
192
|
-
if (t)
|
|
193
|
-
return t;
|
|
194
|
-
if (n === "default")
|
|
195
|
-
return /* @__PURE__ */ r.createElement(M, { size: e });
|
|
196
|
-
if (n === "success")
|
|
197
|
-
return /* @__PURE__ */ r.createElement(O, { size: e });
|
|
198
|
-
if (n === "info")
|
|
199
|
-
return /* @__PURE__ */ r.createElement(G, { size: e });
|
|
200
|
-
if (n === "warning")
|
|
201
|
-
return /* @__PURE__ */ r.createElement(H, { size: e });
|
|
202
|
-
if (n === "danger")
|
|
203
|
-
return /* @__PURE__ */ r.createElement(J, { size: e });
|
|
204
|
-
}, [e, t, n]);
|
|
205
|
-
return u ? /* @__PURE__ */ r.createElement(ot, { ref: a, variant: n, ...l }, u) : null;
|
|
206
|
-
}
|
|
207
|
-
);
|
|
208
|
-
R.displayName = "VariantIcon";
|
|
209
|
-
const w = c.divBox`
|
|
210
|
-
flex: 1;
|
|
211
|
-
`, V = c(R)`
|
|
212
|
-
position: absolute;
|
|
213
|
-
align-self: flex-start;
|
|
214
|
-
`, rt = c.divBox(({ icon: t, isFullWidth: e, size: n, variant: l }) => i`
|
|
215
|
-
position: relative;
|
|
216
|
-
display: flex;
|
|
217
|
-
align-items: flex-start;
|
|
218
|
-
width: 100%;
|
|
219
|
-
max-width: ${e ? "100%" : "max-content"};
|
|
220
|
-
${o("alerts.default")};
|
|
221
|
-
${o(`alerts.${l}`)};
|
|
222
|
-
${o(`alerts.sizes.${n}`)};
|
|
223
|
-
${f};
|
|
224
|
-
|
|
225
|
-
${t !== null && n === "sm" && i`
|
|
226
|
-
${w} {
|
|
227
|
-
margin-left: calc(${o("icons.sm")} + ${o("space.md")});
|
|
228
|
-
}
|
|
229
|
-
`}
|
|
230
|
-
|
|
231
|
-
${t !== null && n === "md" && i`
|
|
232
|
-
${w} {
|
|
233
|
-
margin-left: calc(${o("icons.md")} + ${o("space.lg")});
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
${V} {
|
|
237
|
-
margin-top: -3;
|
|
238
|
-
}
|
|
239
|
-
`}
|
|
240
|
-
`), at = c(U)(({ variant: t }) => i`
|
|
241
|
-
font-weight: medium;
|
|
242
|
-
${o("alerts.title.default")};
|
|
243
|
-
${o(`alerts.title.sizes.${t}`)};
|
|
244
|
-
${f};
|
|
245
|
-
`), D = ({ children: t, dataTestId: e, variant: n }) => /* @__PURE__ */ r.createElement(at, { "data-testid": e, variant: n }, t), lt = B(
|
|
246
|
-
({
|
|
247
|
-
children: t,
|
|
248
|
-
cta: e,
|
|
249
|
-
dataTestId: n,
|
|
250
|
-
handleClose: l,
|
|
251
|
-
icon: a,
|
|
252
|
-
isFullWidth: u,
|
|
253
|
-
size: m = "sm",
|
|
254
|
-
variant: d = "default",
|
|
255
|
-
...g
|
|
256
|
-
}, $) => {
|
|
257
|
-
const _ = n ? `${n}-close-button` : void 0, N = d === "beige" ? "default" : d, P = A.toArray(t).map((s) => s.type === D ? p(s, { variant: m }) : s), v = (s) => {
|
|
258
|
-
var C;
|
|
259
|
-
if (s) {
|
|
260
|
-
if (s.type === j) return p(s, { size: m });
|
|
261
|
-
if (s.type === T) return p(s, { size: m });
|
|
262
|
-
if ((C = s.props) != null && C.children)
|
|
263
|
-
return p(s, {
|
|
264
|
-
...s.props,
|
|
265
|
-
children: A.map(
|
|
266
|
-
s.props.children,
|
|
267
|
-
(q) => v(q)
|
|
268
|
-
)
|
|
269
|
-
});
|
|
270
|
-
}
|
|
271
|
-
return s;
|
|
272
|
-
}, I = r.isValidElement(e) ? v(e) : e;
|
|
273
|
-
return /* @__PURE__ */ r.createElement(
|
|
274
|
-
rt,
|
|
275
|
-
{
|
|
276
|
-
"data-testid": n,
|
|
277
|
-
icon: a,
|
|
278
|
-
isFullWidth: u,
|
|
279
|
-
ref: $,
|
|
280
|
-
size: m,
|
|
281
|
-
variant: d,
|
|
282
|
-
...g
|
|
283
|
-
},
|
|
284
|
-
!!l && /* @__PURE__ */ r.createElement(
|
|
285
|
-
nt,
|
|
286
|
-
{
|
|
287
|
-
dataTestId: _,
|
|
288
|
-
onClick: l,
|
|
289
|
-
position: "absolute",
|
|
290
|
-
right: "sm",
|
|
291
|
-
size: "xs",
|
|
292
|
-
top: "sm"
|
|
293
|
-
}
|
|
294
|
-
),
|
|
295
|
-
a !== null && /* @__PURE__ */ r.createElement(V, { icon: a, size: m, variant: N }),
|
|
296
|
-
/* @__PURE__ */ r.createElement(w, null, /* @__PURE__ */ r.createElement(
|
|
297
|
-
b,
|
|
298
|
-
{
|
|
299
|
-
alignItems: "flex-start",
|
|
300
|
-
display: "flex",
|
|
301
|
-
flexDirection: "column",
|
|
302
|
-
gap: "md",
|
|
303
|
-
justifyContent: "space-between"
|
|
304
|
-
},
|
|
305
|
-
/* @__PURE__ */ r.createElement(b, { flex: 1 }, P),
|
|
306
|
-
!!I && /* @__PURE__ */ r.createElement(b, { alignItems: "center", display: "flex", gap: "sm" }, I)
|
|
307
|
-
))
|
|
308
|
-
);
|
|
309
|
-
}
|
|
310
|
-
), j = B((t, e) => /* @__PURE__ */ r.createElement(y, { flexShrink: 0, ref: e, w: "fit-content", ...t, variant: "secondary" })), T = B(
|
|
311
|
-
(t, e) => /* @__PURE__ */ r.createElement(y, { flexShrink: 0, ref: e, w: "fit-content", ...t, variant: "tertiary" })
|
|
312
|
-
), ht = Object.assign(lt, {
|
|
313
|
-
Title: D,
|
|
314
|
-
Button: j,
|
|
315
|
-
SecondaryButton: T
|
|
316
|
-
});
|
|
317
|
-
export {
|
|
318
|
-
ht as A,
|
|
319
|
-
k as L
|
|
320
|
-
};
|
package/dist/index-BNA_A0oa.js
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";const n=require("react"),u=require("./index-Ct2FOeyM.js"),d=require("./index-DRNn5iIc.js"),t=require("@xstyled/styled-components"),f=require("./index-V28zHt_Z.js"),F=require("./X5NMLKT6-vrNG8i_R.js"),P=require("./index-BXJQXgy9.js"),b=require("./System.js"),y=require("./Box.js");var j=t.keyframes`
|
|
2
|
-
0%, 100% {
|
|
3
|
-
opacity: .5;
|
|
4
|
-
transform: scale3d(.8, .8, 1);
|
|
5
|
-
}
|
|
6
|
-
30%, 60% {
|
|
7
|
-
opacity: 1;
|
|
8
|
-
transform: scale3d(1, 1, 1);
|
|
9
|
-
}
|
|
10
|
-
`,N=t.css`
|
|
11
|
-
animation: ${j} 1.5s cubic-bezier(0.86, 0, 0.07, 1) infinite;
|
|
12
|
-
`,g=t(f.Shape2).withConfig({shouldForwardProp:d.shouldForwardProp})(({size:e,theme:o})=>{var s;const r=((s=o.loaders)==null?void 0:s[e])||e,a=typeof r=="number"?o.toRem(r):r;return t.css`
|
|
13
|
-
width: ${a};
|
|
14
|
-
height: ${a};
|
|
15
|
-
background-color: currentColor;
|
|
16
|
-
${t.system}
|
|
17
|
-
${N};
|
|
18
|
-
&:not(:first-child) {
|
|
19
|
-
margin-left: calc(${a} / 2);
|
|
20
|
-
}
|
|
21
|
-
&:nth-child(1) {
|
|
22
|
-
animation-delay: 0s;
|
|
23
|
-
}
|
|
24
|
-
&:nth-child(2) {
|
|
25
|
-
animation-delay: 0.125s;
|
|
26
|
-
}
|
|
27
|
-
&:nth-child(3) {
|
|
28
|
-
animation-delay: 0.25s;
|
|
29
|
-
}
|
|
30
|
-
`}),w=d.forwardRef(({color:e,dataTestId:o,size:r="sm",...a},s)=>n.createElement(f.Box,{color:e,"data-testid":o,display:"flex",ref:s,...a},n.createElement(g,{shape:"circle",size:r}),n.createElement(g,{shape:"circle",size:r}),n.createElement(g,{shape:"circle",size:r})));w.displayName="Loader";var T=(e,o="square")=>t.css`
|
|
31
|
-
width: ${t.th(`buttons.sizes.${e}.height`)};
|
|
32
|
-
padding: 0;
|
|
33
|
-
${o==="circle"&&t.css`
|
|
34
|
-
border-radius: ${t.th(`buttons.sizes.${e}.height`)};
|
|
35
|
-
`};
|
|
36
|
-
`,L=t(F.Button).withConfig({shouldForwardProp:d.shouldForwardProp})(({danger:e,disabled:o,shape:r,size:a="md",variant:s="primary"})=>t.css`
|
|
37
|
-
${t.th(`buttons.${s}`)};
|
|
38
|
-
${e&&t.css`
|
|
39
|
-
${t.th(`buttons.danger.${s}`)};
|
|
40
|
-
`}
|
|
41
|
-
position: relative;
|
|
42
|
-
display: inline-flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
justify-content: center;
|
|
45
|
-
width: auto;
|
|
46
|
-
${t.th(`buttons.sizes.${a}`)};
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
text-align: center;
|
|
49
|
-
white-space: nowrap;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
outline: none !important; /* important for firefox */
|
|
52
|
-
border-width: sm;
|
|
53
|
-
border-style: solid;
|
|
54
|
-
appearance: none;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
transition: medium;
|
|
57
|
-
${r&&T(a,r)};
|
|
58
|
-
${t.system};
|
|
59
|
-
|
|
60
|
-
& > svg.wui-icon,
|
|
61
|
-
& > i.wui-icon-font {
|
|
62
|
-
font-weight: initial;
|
|
63
|
-
|
|
64
|
-
&:only-child {
|
|
65
|
-
width: ${t.th(`buttons.icon.only.${a}`)};
|
|
66
|
-
height: ${t.th(`buttons.icon.only.${a}`)};
|
|
67
|
-
font-size: ${t.th(`buttons.icon.only.${a}`)};
|
|
68
|
-
}
|
|
69
|
-
&:not(:only-child) {
|
|
70
|
-
width: ${t.th(`buttons.icon.default.${a}`)};
|
|
71
|
-
height: ${t.th(`buttons.icon.default.${a}`)};
|
|
72
|
-
font-size: ${t.th(`buttons.icon.default.${a}`)};
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
& > *:not(:only-child):not(:last-child) {
|
|
77
|
-
margin-right: sm;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
${!o&&t.css`
|
|
81
|
-
[${P.hideFocusRingsDataAttribute}] &:focus {
|
|
82
|
-
box-shadow: none;
|
|
83
|
-
}
|
|
84
|
-
&:focus {
|
|
85
|
-
${t.th(`buttons.focus.${s}`)};
|
|
86
|
-
${e&&t.css`
|
|
87
|
-
${t.th(`buttons.focus.danger.${s}`)};
|
|
88
|
-
`}
|
|
89
|
-
}
|
|
90
|
-
&:hover {
|
|
91
|
-
${t.th(`buttons.hover.${s}`)};
|
|
92
|
-
${e&&t.css`
|
|
93
|
-
${t.th(`buttons.hover.danger.${s}`)};
|
|
94
|
-
`}
|
|
95
|
-
}
|
|
96
|
-
&:active {
|
|
97
|
-
${t.th(`buttons.active.${s}`)};
|
|
98
|
-
${e&&t.css`
|
|
99
|
-
${t.th(`buttons.active.danger.${s}`)};
|
|
100
|
-
`}
|
|
101
|
-
}
|
|
102
|
-
`};
|
|
103
|
-
|
|
104
|
-
&[disabled] {
|
|
105
|
-
cursor: not-allowed;
|
|
106
|
-
}
|
|
107
|
-
`),$=d.forwardRef(({children:e,danger:o,dataTestId:r,disabled:a,isLoading:s,size:c="md",variant:i="primary",...m},p)=>{const h=a||s;return n.createElement(L,{danger:o,"data-loading":s,"data-testid":r,disabled:h,ref:p,size:c,variant:h?"disabled":i,...m},s&&n.createElement("div",null,n.createElement(f.Box,{alignItems:"center",bottom:0,display:"flex",justifyContent:"center",left:0,m:0,position:"absolute",right:0,top:0},n.createElement(w,{size:"xs"})),n.createElement(f.Box,{opacity:"0"},e)),!s&&e)});$.displayName="Button";var M=t($)`
|
|
108
|
-
& > svg:only-child {
|
|
109
|
-
width: ${t.th("space.md")};
|
|
110
|
-
height: ${t.th("space.md")};
|
|
111
|
-
}
|
|
112
|
-
`,K=d.forwardRef((e,o)=>n.createElement(M,{ref:o,shape:"circle",size:"sm",title:"Close",variant:"ghost",...e},n.createElement(u.CrossIcon,{size:"lg"}))),O=t.divBox(({variant:e})=>t.css`
|
|
113
|
-
display: inline-flex;
|
|
114
|
-
${t.th(`variantIcon.${e}`)}
|
|
115
|
-
flex-shrink: 0;
|
|
116
|
-
align-self: center;
|
|
117
|
-
|
|
118
|
-
${t.system};
|
|
119
|
-
`),I=d.forwardRef(({icon:e,size:o="md",variant:r,...a},s)=>{const c=n.useMemo(()=>{if(e===null)return null;if(e)return e;if(r==="default")return n.createElement(u.PromoteIcon,{size:o});if(r==="success")return n.createElement(u.CheckIcon,{size:o});if(r==="info")return n.createElement(u.InformationIcon,{size:o});if(r==="warning")return n.createElement(u.AlertIcon,{size:o});if(r==="danger")return n.createElement(u.SquareAlertIcon,{size:o})},[o,e,r]);return c?n.createElement(O,{ref:s,variant:r,...a},c):null});I.displayName="VariantIcon";const x=t.divBox`
|
|
120
|
-
flex: 1;
|
|
121
|
-
`,C=t(I)`
|
|
122
|
-
position: absolute;
|
|
123
|
-
align-self: flex-start;
|
|
124
|
-
`,X=t.divBox(({icon:e,isFullWidth:o,size:r,variant:a})=>t.css`
|
|
125
|
-
position: relative;
|
|
126
|
-
display: flex;
|
|
127
|
-
align-items: flex-start;
|
|
128
|
-
width: 100%;
|
|
129
|
-
max-width: ${o?"100%":"max-content"};
|
|
130
|
-
${t.th("alerts.default")};
|
|
131
|
-
${t.th(`alerts.${a}`)};
|
|
132
|
-
${t.th(`alerts.sizes.${r}`)};
|
|
133
|
-
${t.system};
|
|
134
|
-
|
|
135
|
-
${e!==null&&r==="sm"&&t.css`
|
|
136
|
-
${x} {
|
|
137
|
-
margin-left: calc(${t.th("icons.sm")} + ${t.th("space.md")});
|
|
138
|
-
}
|
|
139
|
-
`}
|
|
140
|
-
|
|
141
|
-
${e!==null&&r==="md"&&t.css`
|
|
142
|
-
${x} {
|
|
143
|
-
margin-left: calc(${t.th("icons.md")} + ${t.th("space.lg")});
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
${C} {
|
|
147
|
-
margin-top: -3;
|
|
148
|
-
}
|
|
149
|
-
`}
|
|
150
|
-
`),G=t(f.Text2)(({variant:e})=>t.css`
|
|
151
|
-
font-weight: medium;
|
|
152
|
-
${t.th("alerts.title.default")};
|
|
153
|
-
${t.th(`alerts.title.sizes.${e}`)};
|
|
154
|
-
${t.system};
|
|
155
|
-
`),q=({children:e,dataTestId:o,variant:r})=>n.createElement(G,{"data-testid":o,variant:r},e),H=b.forwardRef(({children:e,cta:o,dataTestId:r,handleClose:a,icon:s,isFullWidth:c,size:i="sm",variant:m="default",...p},h)=>{const S=r?`${r}-close-button`:void 0,k=m==="beige"?"default":m,V=n.Children.toArray(e).map(l=>l.type===q?n.cloneElement(l,{variant:i}):l),E=l=>{var v;if(l){if(l.type===A)return n.cloneElement(l,{size:i});if(l.type===R)return n.cloneElement(l,{size:i});if((v=l.props)!=null&&v.children)return n.cloneElement(l,{...l.props,children:n.Children.map(l.props.children,D=>E(D))})}return l},B=n.isValidElement(o)?E(o):o;return n.createElement(X,{"data-testid":r,icon:s,isFullWidth:c,ref:h,size:i,variant:m,...p},!!a&&n.createElement(K,{dataTestId:S,onClick:a,position:"absolute",right:"sm",size:"xs",top:"sm"}),s!==null&&n.createElement(C,{icon:s,size:i,variant:k}),n.createElement(x,null,n.createElement(y.Box,{alignItems:"flex-start",display:"flex",flexDirection:"column",gap:"md",justifyContent:"space-between"},n.createElement(y.Box,{flex:1},V),!!B&&n.createElement(y.Box,{alignItems:"center",display:"flex",gap:"sm"},B))))}),A=b.forwardRef((e,o)=>n.createElement($,{flexShrink:0,ref:o,w:"fit-content",...e,variant:"secondary"})),R=b.forwardRef((e,o)=>n.createElement($,{flexShrink:0,ref:o,w:"fit-content",...e,variant:"tertiary"})),J=Object.assign(H,{Title:q,Button:A,SecondaryButton:R});exports.Alert=J;exports.Loader=w;
|
package/dist/index-BXJQXgy9.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";const a=require("@xstyled/styled-components");require("react");require("./index-DRNn5iIc.js");a.css`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
`;var c=(t,e,r)=>Math.min(Math.max(t,e),r),f=(t,e=t)=>{const r=parseInt(t,10),s=parseInt(e,10);return r-s>=0?t:e},i=(t,e,r)=>parseInt(t.substring(e,r),16),$=t=>/(^[0-9a-fA-F]{6}$)|(^[0-9a-fA-F]{3}$)/.test(t),g=t=>{if(!t||(t=t.replace("#",""),!$(t)))return;t.length===3&&(t=`${t[0]}${t[0]}${t[1]}${t[1]}${t[2]}${t[2]}`);const e=n=>i(n,0,2),r=n=>i(n,2,4),s=n=>i(n,4,6);return`${e(t)}, ${r(t)}, ${s(t)}`},p=(t,e=1)=>t?t.startsWith("#")?`rgba(${g(t)}, ${e})`:t:void 0,u="data-wui-hidefocusrings";a.createGlobalStyle(()=>a.css`
|
|
6
|
-
[${u}] *:focus {
|
|
7
|
-
outline: none;
|
|
8
|
-
}
|
|
9
|
-
`);a.css`
|
|
10
|
-
white-space: nowrap;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
text-overflow: ellipsis;
|
|
13
|
-
`;var v=(t,e,r=!0)=>{let s=null,n=null;return(...l)=>{const o=()=>{t(...n),s=null};n=l,s||(r&&o(),s=setTimeout(o,e))}};exports.clamp=c;exports.getMax=f;exports.hexToRGBA=p;exports.hideFocusRingsDataAttribute=u;exports.throttle=v;
|
package/dist/index-Bwrtxit1.mjs
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import t from "react";
|
|
3
|
-
import { f as u } from "./index-WmqrMIzg.mjs";
|
|
4
|
-
import h, { css as n, system as v } from "@xstyled/styled-components";
|
|
5
|
-
var s = n`
|
|
6
|
-
g,
|
|
7
|
-
path {
|
|
8
|
-
stroke: inherit;
|
|
9
|
-
fill: none;
|
|
10
|
-
}
|
|
11
|
-
`, f = n`
|
|
12
|
-
g,
|
|
13
|
-
path {
|
|
14
|
-
stroke: none;
|
|
15
|
-
}
|
|
16
|
-
`, m = h("svg")(({ isFlag: e, size: l = "md", stroked: o, theme: c }) => {
|
|
17
|
-
const r = c.icons[l] || l;
|
|
18
|
-
return n`
|
|
19
|
-
${!e && (o ? s : f)};
|
|
20
|
-
width: ${r};
|
|
21
|
-
height: ${r};
|
|
22
|
-
${v};
|
|
23
|
-
`;
|
|
24
|
-
}), a = u(
|
|
25
|
-
({ content: e, dataTestId: l, size: o = "md", title: c, ...r }, i) => {
|
|
26
|
-
const d = r.className || "";
|
|
27
|
-
return e ? /* @__PURE__ */ t.createElement(
|
|
28
|
-
m,
|
|
29
|
-
{
|
|
30
|
-
alt: c,
|
|
31
|
-
dangerouslySetInnerHTML: { __html: e.block },
|
|
32
|
-
"data-testid": l && `icon-${l}`,
|
|
33
|
-
isFlag: e.isFlag,
|
|
34
|
-
ref: i,
|
|
35
|
-
role: "img",
|
|
36
|
-
size: o,
|
|
37
|
-
stroked: e.stroked,
|
|
38
|
-
title: c,
|
|
39
|
-
viewBox: e.viewBox || "0 0 100 100",
|
|
40
|
-
...r,
|
|
41
|
-
className: `${d} wui-icon`
|
|
42
|
-
}
|
|
43
|
-
) : null;
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
a.displayName = "Icon";
|
|
47
|
-
var g = {
|
|
48
|
-
width: 15,
|
|
49
|
-
height: 15,
|
|
50
|
-
block: '<path fill="currentColor" d="m55.542 9.07 41.48 66.67a6.395 6.395 0 0 1 .32 6.225 6.482 6.482 0 0 1-5.123 3.604L9.256 94.957A6.502 6.502 0 0 1 3.12 92.15a6.41 6.41 0 0 1-.33-6.703L44.27 9.39v-.001c1.12-2.053 3.193-3.318 5.544-3.385a6.475 6.475 0 0 1 5.728 3.067Zm-3.217 61.689a3.726 3.726 0 0 0-.493-.601c-1.495-1.497-4.173-1.497-5.655 0a4.016 4.016 0 0 0-1.173 2.833c0 1.042.428 2.085 1.173 2.833A3.992 3.992 0 0 0 49.004 77a4.015 4.015 0 0 0 2.828-1.176 4.414 4.414 0 0 0 .867-1.31c.092-.24.173-.494.226-.748a5.24 5.24 0 0 0 .067-.775c0-.268-.028-.535-.067-.789a4.985 4.985 0 0 0-.226-.748 4.443 4.443 0 0 0-.374-.695ZM45 37.009v20.257a4.005 4.005 0 0 0 4 4.009c2.21 0 4-1.796 4-4.01V37.01c0-2.215-1.79-4.01-4-4.01-2.209 0-4 1.795-4 4.01Z"/>'
|
|
51
|
-
}, S = (e) => /* @__PURE__ */ t.createElement(a, { alt: "Alert", content: g, ...e }), p = {
|
|
52
|
-
width: 15,
|
|
53
|
-
height: 15,
|
|
54
|
-
block: '<path fill="currentColor" fill-rule="evenodd" d="M74.68 21.64a6.51 6.51 0 0 1 9.155-.492 6.453 6.453 0 0 1 .707 8.907l-.211.246-43.47 48.058a6.495 6.495 0 0 1-4.828 2.141c-1.449 0-2.86-.48-4.013-1.385l-.283-.235-15.54-13.665a6.455 6.455 0 0 1-.555-9.153 6.512 6.512 0 0 1 8.902-.756l.248.208 10.72 9.425L74.68 21.641Z" clip-rule="evenodd"/>'
|
|
55
|
-
}, A = (e) => /* @__PURE__ */ t.createElement(a, { alt: "Check", content: p, ...e }), k = {
|
|
56
|
-
width: 15,
|
|
57
|
-
height: 15,
|
|
58
|
-
block: '<path fill="currentColor" fill-rule="evenodd" d="M73.528 77.997a5.039 5.039 0 0 0 3.376 1.296 5.067 5.067 0 0 0 3.817-1.735c1.863-2.134 1.668-5.393-.437-7.283l-23.067-20.69 23.48-26.48c1.878-2.122 1.706-5.381-.39-7.285a5.047 5.047 0 0 0-7.193.395l-23.523 26.53-23.119-20.736a5.052 5.052 0 0 0-7.193.436c-1.863 2.133-1.668 5.393.437 7.282l23.067 20.691-23.48 26.48c-1.878 2.118-1.706 5.38.39 7.282a5.02 5.02 0 0 0 3.4 1.32 5.06 5.06 0 0 0 3.793-1.712L50.409 57.26l23.119 20.736Z" clip-rule="evenodd"/>'
|
|
59
|
-
}, b = (e) => /* @__PURE__ */ t.createElement(a, { alt: "Cross", content: k, ...e }), C = {
|
|
60
|
-
width: 15,
|
|
61
|
-
height: 15,
|
|
62
|
-
block: '<path fill="currentColor" d="M83.95 12.62C74.807 4.513 62.657.85 49.731 2.317 23.412 5.297 2 29.005 2 55.167c0 12.738 4.992 24.178 14.054 32.214C23.876 94.32 33.9 98 44.73 98c1.824 0 3.674-.105 5.536-.315C76.587 94.703 98 70.995 98 44.833c0-12.737-4.99-24.177-14.05-32.213ZM56.492 66.181c2.219-.25 4.228 1.293 4.48 3.432.254 2.139-1.341 4.07-3.562 4.314-.439.048-.878.073-1.314.073-2.838 0-5.599-1.003-7.737-2.84-2.467-2.121-3.882-5.163-3.882-8.347V49.825l-3.97.436c-2.224.244-4.23-1.293-4.482-3.432-.253-2.139 1.342-4.07 3.565-4.314l8.477-.93a4.142 4.142 0 0 1 3.155.963 3.842 3.842 0 0 1 1.352 2.91v17.355a3.29 3.29 0 0 0 1.177 2.529 3.582 3.582 0 0 0 2.74.84Zm-12.33-35.895a4.548 4.548 0 0 1-.365-1.742 4.52 4.52 0 0 1 1.391-3.222c1.092-1.053 2.725-1.533 4.264-1.235.298.052.593.143.877.26.283.104.567.247.81.416.27.17.514.351.728.559a4.51 4.51 0 0 1 1.377 3.223c0 .298-.027.597-.095.883a3.677 3.677 0 0 1-.27.858 3.699 3.699 0 0 1-.43.78c-.175.246-.366.48-.582.688a4.43 4.43 0 0 1-.729.572 5.21 5.21 0 0 1-.81.416 5.177 5.177 0 0 1-.877.26c-.31.051-.62.09-.93.09a4.846 4.846 0 0 1-3.928-2.027 5.523 5.523 0 0 1-.432-.78Z"/>'
|
|
63
|
-
}, E = (e) => /* @__PURE__ */ t.createElement(a, { alt: "Information", content: C, ...e }), I = {
|
|
64
|
-
width: 15,
|
|
65
|
-
height: 15,
|
|
66
|
-
block: '<path fill="currentColor" fill-rule="evenodd" d="M80.086 40.154a2.402 2.402 0 0 0-2.25-1.02l-24.929 2.81V6.365a2.37 2.37 0 0 0-1.812-2.294 2.4 2.4 0 0 0-2.692 1.183L19.781 58.402a2.345 2.345 0 0 0 .133 2.443 2.4 2.4 0 0 0 2.25 1.021l24.928-2.81v35.578a2.37 2.37 0 0 0 1.813 2.296c.194.047.388.07.58.07.869 0 1.69-.468 2.111-1.253l28.624-53.15a2.348 2.348 0 0 0-.134-2.443Z" clip-rule="evenodd"/>'
|
|
67
|
-
}, $ = (e) => /* @__PURE__ */ t.createElement(a, { alt: "Promote", content: I, ...e }), Z = {
|
|
68
|
-
width: 15,
|
|
69
|
-
height: 15,
|
|
70
|
-
block: '<path fill="currentColor" fill-rule="evenodd" d="M37.492 85a4.464 4.464 0 0 1-3-1.15 4.49 4.49 0 0 1-.34-6.345L61.14 47.446l-26.625-23.59a4.49 4.49 0 0 1-.385-6.343 4.496 4.496 0 0 1 6.343-.385l30.012 26.59a4.494 4.494 0 0 1 1.507 3.107 4.494 4.494 0 0 1-1.145 3.258l-30.01 33.425A4.484 4.484 0 0 1 37.492 85Z" clip-rule="evenodd"/>'
|
|
71
|
-
}, y = (e) => /* @__PURE__ */ t.createElement(a, { alt: "Right", content: Z, ...e }), _ = {
|
|
72
|
-
width: 15,
|
|
73
|
-
height: 15,
|
|
74
|
-
block: '<path fill="currentColor" fill-rule="evenodd" d="M5.863 49.971c-3.518 3.745-3.835 8.974-.723 11.924L41.114 96c3.378 3.203 9.445 2.476 13.264-1.589L95.137 51.03c3.518-3.745 3.835-8.974.723-11.924L59.886 5c-3.378-3.203-9.445-2.476-13.264 1.589L5.862 49.97ZM53.325 64.76c.145.214.267.454.373.695.093.24.174.494.227.748.039.254.067.522.067.789 0 .254-.028.52-.067.775a5 5 0 0 1-.226.748c-.107.24-.228.481-.374.695a3.822 3.822 0 0 1-.493.615A4.015 4.015 0 0 1 50.004 71a3.991 3.991 0 0 1-2.827-1.176 4.062 4.062 0 0 1-1.173-2.833c0-1.056.428-2.098 1.173-2.833 1.481-1.497 4.16-1.497 5.655 0 .185.173.345.387.493.601ZM46 31.009a4.005 4.005 0 0 1 4-4.01c2.21 0 4 1.796 4 4.01v20.257a4.005 4.005 0 0 1-4 4.009c-2.209 0-4-1.796-4-4.01V31.01Z" clip-rule="evenodd"/>'
|
|
75
|
-
}, R = (e) => /* @__PURE__ */ t.createElement(a, { alt: "SquareAlert", content: _, ...e });
|
|
76
|
-
export {
|
|
77
|
-
S as A,
|
|
78
|
-
b as C,
|
|
79
|
-
E as I,
|
|
80
|
-
$ as P,
|
|
81
|
-
y as R,
|
|
82
|
-
R as S,
|
|
83
|
-
A as a
|
|
84
|
-
};
|