mimir-ui-kit 1.38.35 → 1.38.36
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/package.json +1 -1
- package/dist/Input-DAmc_HxO.js +0 -227
- package/dist/ProgressBar-DEFs1tWq.js +0 -55
- package/dist/assets/Accordion.css +0 -1
- package/dist/assets/AccordionItem.css +0 -1
- package/dist/assets/Avatar.css +0 -1
- package/dist/assets/Button.css +0 -1
- package/dist/assets/CheckboxMimir.css +0 -1
- package/dist/assets/Chip.css +0 -1
- package/dist/assets/Drawer.css +0 -1
- package/dist/assets/Dropdown.css +0 -1
- package/dist/assets/GosZnak.css +0 -1
- package/dist/assets/Image.css +0 -1
- package/dist/assets/Input.css +0 -1
- package/dist/assets/InputPassword.css +0 -1
- package/dist/assets/InputRangeSlider.css +0 -1
- package/dist/assets/Link.css +0 -1
- package/dist/assets/ListFiles.css +0 -1
- package/dist/assets/ListPhotos.css +0 -1
- package/dist/assets/Loader.css +0 -1
- package/dist/assets/MergedButton.css +0 -1
- package/dist/assets/MessageShortReply.css +0 -1
- package/dist/assets/MultiSelectSearch.css +0 -1
- package/dist/assets/NotificationBadge.css +0 -1
- package/dist/assets/OtpInput.css +0 -1
- package/dist/assets/Pagination.css +0 -1
- package/dist/assets/ProgressBar.css +0 -1
- package/dist/assets/RadioGroup.css +0 -1
- package/dist/assets/SelectSearch.css +0 -1
- package/dist/assets/SkeletonCircle.css +0 -1
- package/dist/assets/SkeletonText.css +0 -1
- package/dist/assets/Slider.css +0 -1
- package/dist/assets/Steps.css +0 -1
- package/dist/assets/Switcher.css +0 -1
- package/dist/assets/TabTrail.css +0 -1
- package/dist/assets/Tag.css +0 -1
- package/dist/assets/TextArea.css +0 -1
- package/dist/assets/Timer.css +0 -1
- package/dist/assets/TwinSwitcher.css +0 -1
- package/dist/assets/Uploader.css +0 -1
- package/dist/assets/UploaderFiles.css +0 -1
- package/dist/assets/UploaderPhotos.css +0 -1
- package/dist/assets/Vote.css +0 -1
- package/dist/assets/index.css +0 -1
- package/dist/assets/styles.css +0 -1
- package/dist/assets/variant.css +0 -1
- package/dist/bugs-diTMAGNw.js +0 -18
- package/dist/close-provider-CEutdhG8.js +0 -9
- package/dist/combobox-CVtJDVoZ.js +0 -980
- package/dist/components/Accordion/Accordion.d.ts +0 -45
- package/dist/components/Accordion/Accordion.js +0 -267
- package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +0 -8
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +0 -10
- package/dist/components/Accordion/AccordionItem/index.d.ts +0 -1
- package/dist/components/Accordion/AccordionItem/index.js +0 -4
- package/dist/components/Accordion/constants.d.ts +0 -24
- package/dist/components/Accordion/constants.js +0 -9
- package/dist/components/Accordion/index.d.ts +0 -3
- package/dist/components/Accordion/index.js +0 -8
- package/dist/components/AnchorLink/Link.d.ts +0 -17
- package/dist/components/AnchorLink/Link.js +0 -52
- package/dist/components/AnchorLink/constants.d.ts +0 -10
- package/dist/components/AnchorLink/constants.js +0 -5
- package/dist/components/AnchorLink/index.d.ts +0 -2
- package/dist/components/AnchorLink/index.js +0 -7
- package/dist/components/Avatar/Avatar.d.ts +0 -3
- package/dist/components/Avatar/Avatar.js +0 -58
- package/dist/components/Avatar/constants.d.ts +0 -5
- package/dist/components/Avatar/constants.js +0 -4
- package/dist/components/Avatar/index.d.ts +0 -3
- package/dist/components/Avatar/index.js +0 -6
- package/dist/components/Avatar/types.d.ts +0 -10
- package/dist/components/Button/Button.d.ts +0 -310
- package/dist/components/Button/Button.js +0 -100
- package/dist/components/Button/constants.d.ts +0 -40
- package/dist/components/Button/constants.js +0 -9
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/index.js +0 -11
- package/dist/components/Button/types.d.ts +0 -38
- package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +0 -301
- package/dist/components/CheckboxMimir/CheckboxMimir.js +0 -63
- package/dist/components/CheckboxMimir/index.d.ts +0 -2
- package/dist/components/CheckboxMimir/index.js +0 -4
- package/dist/components/Chip/Chip.d.ts +0 -30
- package/dist/components/Chip/Chip.js +0 -44
- package/dist/components/Chip/constants.d.ts +0 -13
- package/dist/components/Chip/constants.js +0 -5
- package/dist/components/Chip/index.d.ts +0 -2
- package/dist/components/Chip/index.js +0 -7
- package/dist/components/DatePicker/DatePicker.d.ts +0 -110
- package/dist/components/DatePicker/DatePicker.js +0 -166
- package/dist/components/DatePicker/DatePickerModal.d.ts +0 -9
- package/dist/components/DatePicker/DatePickerModal.js +0 -147
- package/dist/components/DatePicker/MonthPickerModal.d.ts +0 -8
- package/dist/components/DatePicker/MonthPickerModal.js +0 -94
- package/dist/components/DatePicker/YearPickerModal.d.ts +0 -8
- package/dist/components/DatePicker/YearPickerModal.js +0 -89
- package/dist/components/DatePicker/constants.d.ts +0 -17
- package/dist/components/DatePicker/constants.js +0 -28
- package/dist/components/DatePicker/hooks.d.ts +0 -3
- package/dist/components/DatePicker/hooks.js +0 -20
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/index.js +0 -4
- package/dist/components/DatePicker/utils.d.ts +0 -6
- package/dist/components/DatePicker/utils.js +0 -9
- package/dist/components/Drawer/Drawer.d.ts +0 -87
- package/dist/components/Drawer/Drawer.js +0 -166
- package/dist/components/Drawer/constants.d.ts +0 -6
- package/dist/components/Drawer/constants.js +0 -4
- package/dist/components/Drawer/index.d.ts +0 -2
- package/dist/components/Drawer/index.js +0 -6
- package/dist/components/Dropdown/Dropdown.d.ts +0 -45
- package/dist/components/Dropdown/Dropdown.js +0 -333
- package/dist/components/Dropdown/index.d.ts +0 -1
- package/dist/components/Dropdown/index.js +0 -4
- package/dist/components/GosZnak/GosZnak.d.ts +0 -4
- package/dist/components/GosZnak/GosZnak.js +0 -63
- package/dist/components/GosZnak/constants.d.ts +0 -11
- package/dist/components/GosZnak/constants.js +0 -5
- package/dist/components/GosZnak/index.d.ts +0 -3
- package/dist/components/GosZnak/index.js +0 -7
- package/dist/components/GosZnak/types.d.ts +0 -26
- package/dist/components/Image/Image.d.ts +0 -33
- package/dist/components/Image/Image.js +0 -60
- package/dist/components/Image/index.d.ts +0 -1
- package/dist/components/Image/index.js +0 -4
- package/dist/components/Input/Input.d.ts +0 -71
- package/dist/components/Input/Input.js +0 -11
- package/dist/components/Input/constants.d.ts +0 -14
- package/dist/components/Input/constants.js +0 -6
- package/dist/components/Input/index.d.ts +0 -3
- package/dist/components/Input/index.js +0 -8
- package/dist/components/Input/types.d.ts +0 -22
- package/dist/components/InputPassword/InputPassword.d.ts +0 -4
- package/dist/components/InputPassword/InputPassword.js +0 -58
- package/dist/components/InputPassword/index.d.ts +0 -2
- package/dist/components/InputPassword/index.js +0 -4
- package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +0 -4
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +0 -35
- package/dist/components/InputPhoneNumber/index.d.ts +0 -2
- package/dist/components/InputPhoneNumber/index.js +0 -7
- package/dist/components/InputPhoneNumber/utils.d.ts +0 -2
- package/dist/components/InputPhoneNumber/utils.js +0 -9
- package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +0 -3
- package/dist/components/InputRangeSlider/InputRangeSlider.js +0 -171
- package/dist/components/InputRangeSlider/constants.d.ts +0 -10
- package/dist/components/InputRangeSlider/constants.js +0 -8
- package/dist/components/InputRangeSlider/index.d.ts +0 -3
- package/dist/components/InputRangeSlider/index.js +0 -7
- package/dist/components/InputRangeSlider/types.d.ts +0 -33
- package/dist/components/ListFiles/ListFiles.d.ts +0 -40
- package/dist/components/ListFiles/ListFiles.js +0 -66
- package/dist/components/ListFiles/constants.d.ts +0 -7
- package/dist/components/ListFiles/constants.js +0 -35
- package/dist/components/ListFiles/index.d.ts +0 -3
- package/dist/components/ListFiles/index.js +0 -6
- package/dist/components/ListPhotos/ListPhotos.d.ts +0 -28
- package/dist/components/ListPhotos/ListPhotos.js +0 -44
- package/dist/components/ListPhotos/constants.d.ts +0 -3
- package/dist/components/ListPhotos/constants.js +0 -21
- package/dist/components/ListPhotos/index.d.ts +0 -2
- package/dist/components/ListPhotos/index.js +0 -4
- package/dist/components/Loader/Loader.d.ts +0 -7
- package/dist/components/Loader/Loader.js +0 -16
- package/dist/components/Loader/constants.d.ts +0 -4
- package/dist/components/Loader/constants.js +0 -4
- package/dist/components/Loader/index.d.ts +0 -2
- package/dist/components/Loader/index.js +0 -6
- package/dist/components/MergedButton/MergedButton.d.ts +0 -18
- package/dist/components/MergedButton/MergedButton.js +0 -48
- package/dist/components/MergedButton/constants.d.ts +0 -5
- package/dist/components/MergedButton/constants.js +0 -4
- package/dist/components/MergedButton/index.d.ts +0 -2
- package/dist/components/MergedButton/index.js +0 -6
- package/dist/components/MessageShortReply/MessageShortReply.d.ts +0 -30
- package/dist/components/MessageShortReply/MessageShortReply.js +0 -51
- package/dist/components/MessageShortReply/constants.d.ts +0 -9
- package/dist/components/MessageShortReply/constants.js +0 -4
- package/dist/components/MessageShortReply/index.d.ts +0 -2
- package/dist/components/MessageShortReply/index.js +0 -6
- package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +0 -26
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +0 -375
- package/dist/components/MultiSelectSearch/constants.d.ts +0 -7
- package/dist/components/MultiSelectSearch/constants.js +0 -8
- package/dist/components/MultiSelectSearch/index.d.ts +0 -3
- package/dist/components/MultiSelectSearch/index.js +0 -6
- package/dist/components/MultiSelectSearch/types.d.ts +0 -72
- package/dist/components/MultiSelectSearch/utils.d.ts +0 -11
- package/dist/components/MultiSelectSearch/utils.js +0 -28
- package/dist/components/NotificationBadge/NotificationBadge.d.ts +0 -3
- package/dist/components/NotificationBadge/NotificationBadge.js +0 -36
- package/dist/components/NotificationBadge/constants.d.ts +0 -5
- package/dist/components/NotificationBadge/constants.js +0 -4
- package/dist/components/NotificationBadge/index.d.ts +0 -3
- package/dist/components/NotificationBadge/index.js +0 -6
- package/dist/components/NotificationBadge/types.d.ts +0 -25
- package/dist/components/OtpInput/OtpInput.d.ts +0 -23
- package/dist/components/OtpInput/OtpInput.js +0 -70
- package/dist/components/OtpInput/constants.d.ts +0 -3
- package/dist/components/OtpInput/constants.js +0 -6
- package/dist/components/OtpInput/hooks.d.ts +0 -20
- package/dist/components/OtpInput/hooks.js +0 -102
- package/dist/components/OtpInput/index.d.ts +0 -1
- package/dist/components/OtpInput/index.js +0 -4
- package/dist/components/Pagination/Pagination.d.ts +0 -40
- package/dist/components/Pagination/Pagination.js +0 -179
- package/dist/components/Pagination/constants.d.ts +0 -2
- package/dist/components/Pagination/constants.js +0 -5
- package/dist/components/Pagination/index.d.ts +0 -1
- package/dist/components/Pagination/index.js +0 -4
- package/dist/components/Pagination/types.d.ts +0 -0
- package/dist/components/Portal/Portal.d.ts +0 -7
- package/dist/components/Portal/Portal.js +0 -8
- package/dist/components/Portal/index.d.ts +0 -1
- package/dist/components/Portal/index.js +0 -4
- package/dist/components/RadioGroup/RadioGroup.d.ts +0 -71
- package/dist/components/RadioGroup/RadioGroup.js +0 -195
- package/dist/components/RadioGroup/index.d.ts +0 -2
- package/dist/components/RadioGroup/index.js +0 -4
- package/dist/components/SelectSearch/SelectSearch.d.ts +0 -22
- package/dist/components/SelectSearch/SelectSearch.js +0 -263
- package/dist/components/SelectSearch/constants.d.ts +0 -4
- package/dist/components/SelectSearch/constants.js +0 -4
- package/dist/components/SelectSearch/index.d.ts +0 -3
- package/dist/components/SelectSearch/index.js +0 -6
- package/dist/components/SelectSearch/types.d.ts +0 -59
- package/dist/components/SelectSearch/utils.d.ts +0 -5
- package/dist/components/SelectSearch/utils.js +0 -17
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +0 -12
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +0 -33
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +0 -9
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +0 -29
- package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +0 -10
- package/dist/components/Skeleton/SkeletonText/SkeletonText.js +0 -52
- package/dist/components/Skeleton/constants.d.ts +0 -5
- package/dist/components/Skeleton/constants.js +0 -4
- package/dist/components/Skeleton/index.d.ts +0 -4
- package/dist/components/Skeleton/index.js +0 -10
- package/dist/components/Slider/Slider.d.ts +0 -75
- package/dist/components/Slider/Slider.js +0 -3075
- package/dist/components/Slider/constants.d.ts +0 -4
- package/dist/components/Slider/constants.js +0 -4
- package/dist/components/Slider/index.d.ts +0 -3
- package/dist/components/Slider/index.js +0 -9
- package/dist/components/Steps/Steps.d.ts +0 -78
- package/dist/components/Steps/Steps.js +0 -123
- package/dist/components/Steps/constants.d.ts +0 -49
- package/dist/components/Steps/constants.js +0 -57
- package/dist/components/Steps/index.d.ts +0 -3
- package/dist/components/Steps/index.js +0 -7
- package/dist/components/Steps/types.d.ts +0 -10
- package/dist/components/Switcher/Switcher.d.ts +0 -3
- package/dist/components/Switcher/Switcher.js +0 -107
- package/dist/components/Switcher/constants.d.ts +0 -4
- package/dist/components/Switcher/constants.js +0 -4
- package/dist/components/Switcher/index.d.ts +0 -3
- package/dist/components/Switcher/index.js +0 -6
- package/dist/components/Switcher/types.d.ts +0 -30
- package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +0 -10
- package/dist/components/TabTrail/TabButtons/TabButtons.js +0 -33
- package/dist/components/TabTrail/TabButtons/constants.d.ts +0 -8
- package/dist/components/TabTrail/TabButtons/constants.js +0 -5
- package/dist/components/TabTrail/TabButtons/index.d.ts +0 -1
- package/dist/components/TabTrail/TabButtons/index.js +0 -4
- package/dist/components/TabTrail/TabTrail.d.ts +0 -68
- package/dist/components/TabTrail/TabTrail.js +0 -313
- package/dist/components/TabTrail/constants.d.ts +0 -4
- package/dist/components/TabTrail/constants.js +0 -4
- package/dist/components/TabTrail/index.d.ts +0 -2
- package/dist/components/TabTrail/index.js +0 -6
- package/dist/components/Tag/Tag.d.ts +0 -42
- package/dist/components/Tag/Tag.js +0 -46
- package/dist/components/Tag/constants.d.ts +0 -9
- package/dist/components/Tag/constants.js +0 -5
- package/dist/components/Tag/index.d.ts +0 -2
- package/dist/components/Tag/index.js +0 -7
- package/dist/components/Tag/types.d.ts +0 -0
- package/dist/components/TextArea/TextArea.d.ts +0 -7
- package/dist/components/TextArea/TextArea.js +0 -224
- package/dist/components/TextArea/constants.d.ts +0 -5
- package/dist/components/TextArea/constants.js +0 -4
- package/dist/components/TextArea/hooks.d.ts +0 -3
- package/dist/components/TextArea/hooks.js +0 -15
- package/dist/components/TextArea/index.d.ts +0 -2
- package/dist/components/TextArea/index.js +0 -6
- package/dist/components/TextArea/types.d.ts +0 -6
- package/dist/components/Timer/Timer.d.ts +0 -24
- package/dist/components/Timer/Timer.js +0 -23
- package/dist/components/Timer/index.d.ts +0 -1
- package/dist/components/Timer/index.js +0 -4
- package/dist/components/Toasts/ProgressBar.d.ts +0 -5
- package/dist/components/Toasts/ProgressBar.js +0 -8
- package/dist/components/Toasts/Toast.d.ts +0 -54
- package/dist/components/Toasts/Toast.js +0 -72
- package/dist/components/Toasts/ToastList.d.ts +0 -10
- package/dist/components/Toasts/ToastList.js +0 -41
- package/dist/components/Toasts/ToastsProvider.d.ts +0 -3
- package/dist/components/Toasts/ToastsProvider.js +0 -42
- package/dist/components/Toasts/constants.d.ts +0 -23
- package/dist/components/Toasts/constants.js +0 -15
- package/dist/components/Toasts/hooks.d.ts +0 -2
- package/dist/components/Toasts/hooks.js +0 -15
- package/dist/components/Toasts/index.d.ts +0 -3
- package/dist/components/Toasts/index.js +0 -9
- package/dist/components/Toasts/store.d.ts +0 -29
- package/dist/components/Toasts/store.js +0 -40
- package/dist/components/Toasts/types.d.ts +0 -5
- package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +0 -10
- package/dist/components/TwinSwitcher/TwinSwitcher.js +0 -61
- package/dist/components/TwinSwitcher/index.d.ts +0 -1
- package/dist/components/TwinSwitcher/index.js +0 -4
- package/dist/components/UniversalUploader/UniversalUploader.d.ts +0 -10
- package/dist/components/UniversalUploader/UniversalUploader.js +0 -114
- package/dist/components/UniversalUploader/constants.d.ts +0 -6
- package/dist/components/UniversalUploader/constants.js +0 -13
- package/dist/components/UniversalUploader/index.d.ts +0 -3
- package/dist/components/UniversalUploader/index.js +0 -6
- package/dist/components/UniversalUploader/types.d.ts +0 -21
- package/dist/components/Uploader/Uploader.d.ts +0 -77
- package/dist/components/Uploader/Uploader.js +0 -116
- package/dist/components/Uploader/constants.d.ts +0 -8
- package/dist/components/Uploader/constants.js +0 -37
- package/dist/components/Uploader/index.d.ts +0 -4
- package/dist/components/Uploader/index.js +0 -6
- package/dist/components/UploaderFiles/UploaderFiles.d.ts +0 -3
- package/dist/components/UploaderFiles/UploaderFiles.js +0 -92
- package/dist/components/UploaderFiles/constants.d.ts +0 -4
- package/dist/components/UploaderFiles/constants.js +0 -4
- package/dist/components/UploaderFiles/index.d.ts +0 -3
- package/dist/components/UploaderFiles/index.js +0 -6
- package/dist/components/UploaderFiles/types.d.ts +0 -75
- package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +0 -60
- package/dist/components/UploaderPhotos/UploaderPhotos.js +0 -72
- package/dist/components/UploaderPhotos/index.d.ts +0 -2
- package/dist/components/UploaderPhotos/index.js +0 -4
- package/dist/components/Vote/Vote.d.ts +0 -171
- package/dist/components/Vote/Vote.js +0 -95
- package/dist/components/Vote/constants.d.ts +0 -7
- package/dist/components/Vote/constants.js +0 -9
- package/dist/components/Vote/index.d.ts +0 -3
- package/dist/components/Vote/index.js +0 -6
- package/dist/components/Vote/types.d.ts +0 -6
- package/dist/components/index.d.ts +0 -70
- package/dist/components/index.js +0 -165
- package/dist/field-FJ34aSs4.js +0 -12
- package/dist/focus-management-DE4t_lW3.js +0 -78
- package/dist/hidden-DbgtYPOH.js +0 -13
- package/dist/hooks/index.d.ts +0 -7
- package/dist/hooks/index.js +0 -19
- package/dist/hooks/useClickOutside/index.d.ts +0 -1
- package/dist/hooks/useClickOutside/index.js +0 -4
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +0 -7
- package/dist/hooks/useClickOutside/useClickOutside.js +0 -16
- package/dist/hooks/useCopyToClipboard/index.d.ts +0 -1
- package/dist/hooks/useCopyToClipboard/index.js +0 -4
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +0 -4
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +0 -16
- package/dist/hooks/useInterval/index.d.ts +0 -1
- package/dist/hooks/useInterval/index.js +0 -4
- package/dist/hooks/useInterval/useInterval.d.ts +0 -1
- package/dist/hooks/useInterval/useInterval.js +0 -15
- package/dist/hooks/useLockBodyScroll/index.d.ts +0 -1
- package/dist/hooks/useLockBodyScroll/index.js +0 -4
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +0 -6
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +0 -16
- package/dist/hooks/useMediaQuery/constants.d.ts +0 -20
- package/dist/hooks/useMediaQuery/constants.js +0 -5
- package/dist/hooks/useMediaQuery/index.d.ts +0 -2
- package/dist/hooks/useMediaQuery/index.js +0 -7
- package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +0 -14
- package/dist/hooks/useMediaQuery/useMediaQuery.js +0 -16
- package/dist/hooks/useMergeRefs/index.d.ts +0 -1
- package/dist/hooks/useMergeRefs/index.js +0 -4
- package/dist/hooks/useMergeRefs/useMergeRefs.d.ts +0 -4
- package/dist/hooks/useMergeRefs/useMergeRefs.js +0 -29
- package/dist/hooks/useResizeObserver/getElement.d.ts +0 -4
- package/dist/hooks/useResizeObserver/getElement.js +0 -4
- package/dist/hooks/useResizeObserver/index.d.ts +0 -1
- package/dist/hooks/useResizeObserver/index.js +0 -4
- package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +0 -17
- package/dist/hooks/useResizeObserver/useResizeObserver.js +0 -36
- package/dist/hooks/useTimer/index.d.ts +0 -18
- package/dist/hooks/useTimer/index.js +0 -57
- package/dist/hooks/useTimer/useTimer.d.ts +0 -18
- package/dist/hooks/useTimer/useTimer.js +0 -58
- package/dist/hooks/useTimer/utils.d.ts +0 -24
- package/dist/hooks/useTimer/utils.js +0 -71
- package/dist/hooks/useWindowSize/index.d.ts +0 -4
- package/dist/hooks/useWindowSize/index.js +0 -20
- package/dist/icons/Icon.d.ts +0 -7
- package/dist/icons/Icon.js +0 -10
- package/dist/icons/components/12px/Close12px.js +0 -16
- package/dist/icons/components/12px/MessageRead12px.js +0 -35
- package/dist/icons/components/16px/Accept16px.js +0 -25
- package/dist/icons/components/16px/Acts16px.js +0 -38
- package/dist/icons/components/16px/Acts16pxF.js +0 -33
- package/dist/icons/components/16px/AdditionalServicess16px.js +0 -31
- package/dist/icons/components/16px/AdditionalServicess16pxF.js +0 -20
- package/dist/icons/components/16px/Agents16px.js +0 -22
- package/dist/icons/components/16px/Agents16pxF.js +0 -20
- package/dist/icons/components/16px/Alarm16px.js +0 -23
- package/dist/icons/components/16px/ArrowDown16px.js +0 -22
- package/dist/icons/components/16px/ArrowLeft16px.js +0 -22
- package/dist/icons/components/16px/ArrowRight16px.js +0 -22
- package/dist/icons/components/16px/ArrowUp16px.js +0 -22
- package/dist/icons/components/16px/ArrowUpright16px.js +0 -22
- package/dist/icons/components/16px/AttachFile16px.js +0 -22
- package/dist/icons/components/16px/Bell16px.js +0 -42
- package/dist/icons/components/16px/Bell16pxF.js +0 -32
- package/dist/icons/components/16px/Calculator16px.js +0 -22
- package/dist/icons/components/16px/CalculatorLkk16px.js +0 -33
- package/dist/icons/components/16px/CalculatorLkk16pxF.js +0 -22
- package/dist/icons/components/16px/Calendar16px.js +0 -22
- package/dist/icons/components/16px/Camera16px.js +0 -34
- package/dist/icons/components/16px/Car16px.js +0 -33
- package/dist/icons/components/16px/Car16pxF.js +0 -22
- package/dist/icons/components/16px/Catalog16px.js +0 -22
- package/dist/icons/components/16px/Certs16px.js +0 -31
- package/dist/icons/components/16px/Certs16pxF.js +0 -31
- package/dist/icons/components/16px/Change16px.js +0 -20
- package/dist/icons/components/16px/Chat16px.js +0 -31
- package/dist/icons/components/16px/Chat16pxF.js +0 -22
- package/dist/icons/components/16px/Chatbot16px.js +0 -262
- package/dist/icons/components/16px/Close16px.js +0 -22
- package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +0 -20
- package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +0 -20
- package/dist/icons/components/16px/Coin16px.js +0 -33
- package/dist/icons/components/16px/Coin16pxF.js +0 -40
- package/dist/icons/components/16px/Contracts16px.js +0 -33
- package/dist/icons/components/16px/Contracts16pxF.js +0 -31
- package/dist/icons/components/16px/CopyClipboard16px.js +0 -25
- package/dist/icons/components/16px/Done16px.js +0 -22
- package/dist/icons/components/16px/Download16px.js +0 -29
- package/dist/icons/components/16px/DragHandle16px.js +0 -20
- package/dist/icons/components/16px/DragHandleHorizontal16px.js +0 -20
- package/dist/icons/components/16px/DragHandleVertical16px.js +0 -20
- package/dist/icons/components/16px/DropdownArrowBottom16px.js +0 -22
- package/dist/icons/components/16px/DropdownArrowLeft16px.js +0 -22
- package/dist/icons/components/16px/DropdownArrowRight16px.js +0 -22
- package/dist/icons/components/16px/DropdownArrowUp16px.js +0 -22
- package/dist/icons/components/16px/Dzen16px.js +0 -20
- package/dist/icons/components/16px/Euro16px.js +0 -23
- package/dist/icons/components/16px/Eye16px.js +0 -33
- package/dist/icons/components/16px/Failure16px.js +0 -25
- package/dist/icons/components/16px/Favorite16px.js +0 -22
- package/dist/icons/components/16px/Favorite16pxF.js +0 -20
- package/dist/icons/components/16px/Filter16px.js +0 -22
- package/dist/icons/components/16px/Flag16pxF.js +0 -14
- package/dist/icons/components/16px/Folder16px.js +0 -22
- package/dist/icons/components/16px/Fullscreen16px.js +0 -22
- package/dist/icons/components/16px/Galery16px.js +0 -25
- package/dist/icons/components/16px/Gear16px.js +0 -33
- package/dist/icons/components/16px/Gift16px.js +0 -31
- package/dist/icons/components/16px/Hint16px.js +0 -23
- package/dist/icons/components/16px/Home16px.js +0 -31
- package/dist/icons/components/16px/Home16pxF.js +0 -22
- package/dist/icons/components/16px/Hot16pxF.js +0 -20
- package/dist/icons/components/16px/Kebab16px.js +0 -14
- package/dist/icons/components/16px/List16px.js +0 -20
- package/dist/icons/components/16px/Location16px.js +0 -33
- package/dist/icons/components/16px/Map16px.js +0 -22
- package/dist/icons/components/16px/Menu16px.js +0 -20
- package/dist/icons/components/16px/MenuMobile16px.js +0 -22
- package/dist/icons/components/16px/Minus16px.js +0 -14
- package/dist/icons/components/16px/Navigation16px.js +0 -22
- package/dist/icons/components/16px/News16px.js +0 -31
- package/dist/icons/components/16px/News16pxF.js +0 -22
- package/dist/icons/components/16px/Number16px.js +0 -31
- package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +0 -20
- package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +0 -20
- package/dist/icons/components/16px/Orders16px.js +0 -31
- package/dist/icons/components/16px/Orders16pxF.js +0 -25
- package/dist/icons/components/16px/Pause16px.js +0 -14
- package/dist/icons/components/16px/Pen16px.js +0 -33
- package/dist/icons/components/16px/Pen16pxF.js +0 -22
- package/dist/icons/components/16px/Phone16px.js +0 -22
- package/dist/icons/components/16px/Play16pxF.js +0 -20
- package/dist/icons/components/16px/Plus16px.js +0 -22
- package/dist/icons/components/16px/Pound16px.js +0 -23
- package/dist/icons/components/16px/PriceDown16px.js +0 -33
- package/dist/icons/components/16px/PriceUp16px.js +0 -33
- package/dist/icons/components/16px/Question16px.js +0 -22
- package/dist/icons/components/16px/Question16pxF.js +0 -22
- package/dist/icons/components/16px/Rutube16px.js +0 -20
- package/dist/icons/components/16px/Scan16px.js +0 -20
- package/dist/icons/components/16px/Search16px.js +0 -22
- package/dist/icons/components/16px/Share16pxF.js +0 -20
- package/dist/icons/components/16px/ShopingCard16px.js +0 -22
- package/dist/icons/components/16px/Sort16px.js +0 -22
- package/dist/icons/components/16px/Star16px.js +0 -22
- package/dist/icons/components/16px/Star16pxF.js +0 -20
- package/dist/icons/components/16px/StarHalf16pxF.js +0 -22
- package/dist/icons/components/16px/Telegram16pxF.js +0 -20
- package/dist/icons/components/16px/TelegramPlane16pxF.js +0 -20
- package/dist/icons/components/16px/Timer16px.js +0 -38
- package/dist/icons/components/16px/Trash16px.js +0 -22
- package/dist/icons/components/16px/TwinArrowLeft16px.js +0 -20
- package/dist/icons/components/16px/TwinArrowRight16px.js +0 -20
- package/dist/icons/components/16px/USDollar16px.js +0 -23
- package/dist/icons/components/16px/Umbrella16px.js +0 -22
- package/dist/icons/components/16px/Umbrella16pxF.js +0 -20
- package/dist/icons/components/16px/UnionIcon16px.js +0 -22
- package/dist/icons/components/16px/User16px.js +0 -31
- package/dist/icons/components/16px/User16pxF.js +0 -20
- package/dist/icons/components/16px/Users16px.js +0 -31
- package/dist/icons/components/16px/Users16pxF.js +0 -20
- package/dist/icons/components/16px/VK16pxF.js +0 -22
- package/dist/icons/components/16px/Waiting16px.js +0 -22
- package/dist/icons/components/16px/Whatsapp16px.js +0 -31
- package/dist/icons/components/16px/WriteUs16px.js +0 -25
- package/dist/icons/components/16px/Youtube16pxF.js +0 -20
- package/dist/icons/components/16px/Yuan16px.js +0 -23
- package/dist/icons/components/24px/Accept24px.js +0 -27
- package/dist/icons/components/24px/Acts24px.js +0 -39
- package/dist/icons/components/24px/Acts24pxF.js +0 -32
- package/dist/icons/components/24px/AdditionalServicess24px.js +0 -32
- package/dist/icons/components/24px/AdditionalServicess24pxF.js +0 -21
- package/dist/icons/components/24px/Agents24px.js +0 -23
- package/dist/icons/components/24px/Agents24pxF.js +0 -30
- package/dist/icons/components/24px/Alarm24px.js +0 -24
- package/dist/icons/components/24px/ArrowDown24px.js +0 -23
- package/dist/icons/components/24px/ArrowLeft24px.js +0 -23
- package/dist/icons/components/24px/ArrowRight24px.js +0 -23
- package/dist/icons/components/24px/ArrowUp24px.js +0 -23
- package/dist/icons/components/24px/ArrowUpright24px.js +0 -23
- package/dist/icons/components/24px/AttachFile24px.js +0 -23
- package/dist/icons/components/24px/Bell24px.js +0 -43
- package/dist/icons/components/24px/Bell24pxF.js +0 -26
- package/dist/icons/components/24px/Calculator24px.js +0 -23
- package/dist/icons/components/24px/CalculatorLkk24px.js +0 -32
- package/dist/icons/components/24px/CalculatorLkk24pxF.js +0 -23
- package/dist/icons/components/24px/Calendar24px.js +0 -23
- package/dist/icons/components/24px/Camera24px.js +0 -23
- package/dist/icons/components/24px/Car24px.js +0 -34
- package/dist/icons/components/24px/Car24pxF.js +0 -32
- package/dist/icons/components/24px/Catalog24px.js +0 -23
- package/dist/icons/components/24px/Certs24px.js +0 -32
- package/dist/icons/components/24px/Certs24pxF.js +0 -32
- package/dist/icons/components/24px/Change24px.js +0 -23
- package/dist/icons/components/24px/Chat24px.js +0 -28
- package/dist/icons/components/24px/Chat24pxF.js +0 -23
- package/dist/icons/components/24px/Chatbot24px.js +0 -263
- package/dist/icons/components/24px/Close24px.js +0 -23
- package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +0 -23
- package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +0 -21
- package/dist/icons/components/24px/Coin24px.js +0 -24
- package/dist/icons/components/24px/Coin24pxF.js +0 -41
- package/dist/icons/components/24px/Contracts24px.js +0 -34
- package/dist/icons/components/24px/Contracts24pxF.js +0 -32
- package/dist/icons/components/24px/CopyClipboard24px.js +0 -26
- package/dist/icons/components/24px/Done24px.js +0 -23
- package/dist/icons/components/24px/Download24px.js +0 -30
- package/dist/icons/components/24px/DragHandle24px.js +0 -21
- package/dist/icons/components/24px/DragHandleHorizontal24px.js +0 -21
- package/dist/icons/components/24px/DragHandleVertical24px.js +0 -21
- package/dist/icons/components/24px/DropdownArrowDown24px.js +0 -23
- package/dist/icons/components/24px/DropdownArrowLeft24px.js +0 -23
- package/dist/icons/components/24px/DropdownArrowRight24px.js +0 -23
- package/dist/icons/components/24px/DropdownArrowUp24px.js +0 -23
- package/dist/icons/components/24px/Dzen24px.js +0 -21
- package/dist/icons/components/24px/Euro24px.js +0 -24
- package/dist/icons/components/24px/Eye24px.js +0 -34
- package/dist/icons/components/24px/Failure24px.js +0 -26
- package/dist/icons/components/24px/Favorite24px.js +0 -23
- package/dist/icons/components/24px/Favorite24pxF.js +0 -21
- package/dist/icons/components/24px/Filter24px.js +0 -21
- package/dist/icons/components/24px/Flag24pxF.js +0 -15
- package/dist/icons/components/24px/Folder24px.js +0 -23
- package/dist/icons/components/24px/Fullscreen24px.js +0 -23
- package/dist/icons/components/24px/Galery24px.js +0 -26
- package/dist/icons/components/24px/Gear24px.js +0 -34
- package/dist/icons/components/24px/Gift24px.js +0 -23
- package/dist/icons/components/24px/Hint24px.js +0 -26
- package/dist/icons/components/24px/Home24px.js +0 -34
- package/dist/icons/components/24px/Home24pxF.js +0 -23
- package/dist/icons/components/24px/Hot24pxF.js +0 -21
- package/dist/icons/components/24px/Improvements24px.js +0 -41
- package/dist/icons/components/24px/Improvements24pxF.js +0 -35
- package/dist/icons/components/24px/Kebab24px.js +0 -21
- package/dist/icons/components/24px/List24px.js +0 -21
- package/dist/icons/components/24px/Location24px.js +0 -34
- package/dist/icons/components/24px/Map24px.js +0 -23
- package/dist/icons/components/24px/Menu24px.js +0 -21
- package/dist/icons/components/24px/MenuMobile24px.js +0 -23
- package/dist/icons/components/24px/Minus24px.js +0 -23
- package/dist/icons/components/24px/Navigation24px.js +0 -23
- package/dist/icons/components/24px/News24px.js +0 -32
- package/dist/icons/components/24px/News24pxF.js +0 -23
- package/dist/icons/components/24px/Number24px.js +0 -32
- package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +0 -21
- package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +0 -23
- package/dist/icons/components/24px/Orders24px.js +0 -32
- package/dist/icons/components/24px/Orders24pxF.js +0 -26
- package/dist/icons/components/24px/Pause24px.js +0 -15
- package/dist/icons/components/24px/Pen24px.js +0 -34
- package/dist/icons/components/24px/Pen24pxF.js +0 -23
- package/dist/icons/components/24px/Phone24px.js +0 -23
- package/dist/icons/components/24px/Play24px.js +0 -21
- package/dist/icons/components/24px/Plus24px.js +0 -23
- package/dist/icons/components/24px/Pound24px.js +0 -24
- package/dist/icons/components/24px/PriceDown24px.js +0 -32
- package/dist/icons/components/24px/PriceUp24px.js +0 -32
- package/dist/icons/components/24px/Question24px.js +0 -32
- package/dist/icons/components/24px/Question24pxF.js +0 -23
- package/dist/icons/components/24px/Rutube24px.js +0 -21
- package/dist/icons/components/24px/Scan24px.js +0 -21
- package/dist/icons/components/24px/Search24px.js +0 -23
- package/dist/icons/components/24px/Share24pxF.js +0 -21
- package/dist/icons/components/24px/ShopingCard24px.js +0 -23
- package/dist/icons/components/24px/Sort24px.js +0 -21
- package/dist/icons/components/24px/Star24px.js +0 -23
- package/dist/icons/components/24px/Star24pxF.js +0 -21
- package/dist/icons/components/24px/StarHalf24pxF.js +0 -23
- package/dist/icons/components/24px/Telegram24pxF.js +0 -21
- package/dist/icons/components/24px/TelegramPlane24pxF.js +0 -21
- package/dist/icons/components/24px/Timer24px.js +0 -39
- package/dist/icons/components/24px/Trash24px.js +0 -43
- package/dist/icons/components/24px/TwinArrowLeft24px.js +0 -21
- package/dist/icons/components/24px/TwinArrowRight24px.js +0 -23
- package/dist/icons/components/24px/USDollar24px.js +0 -24
- package/dist/icons/components/24px/Umbrella24px.js +0 -23
- package/dist/icons/components/24px/Umbrella24pxF.js +0 -21
- package/dist/icons/components/24px/UnionIcon24px.js +0 -23
- package/dist/icons/components/24px/User24px.js +0 -32
- package/dist/icons/components/24px/User24pxF.js +0 -21
- package/dist/icons/components/24px/Users24px.js +0 -23
- package/dist/icons/components/24px/Users24pxF.js +0 -30
- package/dist/icons/components/24px/VK24pxF.js +0 -23
- package/dist/icons/components/24px/Waiting24px.js +0 -23
- package/dist/icons/components/24px/Whatsapp24px.js +0 -32
- package/dist/icons/components/24px/WriteUs24px.js +0 -26
- package/dist/icons/components/24px/Youtube24pxF.js +0 -21
- package/dist/icons/components/24px/Yuan24px.js +0 -24
- package/dist/icons/components/32px/Accept32px.js +0 -26
- package/dist/icons/components/32px/Acts32px.js +0 -39
- package/dist/icons/components/32px/AdditionalServicess32px.js +0 -23
- package/dist/icons/components/32px/AdditionalServicess32pxF.js +0 -21
- package/dist/icons/components/32px/Agents32px.js +0 -35
- package/dist/icons/components/32px/Alarm32px.js +0 -24
- package/dist/icons/components/32px/ArrowDown32px.js +0 -23
- package/dist/icons/components/32px/ArrowLeft32px.js +0 -23
- package/dist/icons/components/32px/ArrowRight32px.js +0 -23
- package/dist/icons/components/32px/ArrowUp32px.js +0 -23
- package/dist/icons/components/32px/ArrowUpright32px.js +0 -23
- package/dist/icons/components/32px/AttachFile32px.js +0 -23
- package/dist/icons/components/32px/Bell32px.js +0 -43
- package/dist/icons/components/32px/Bell32pxF.js +0 -26
- package/dist/icons/components/32px/Calculator32px.js +0 -23
- package/dist/icons/components/32px/CalculatorLkk32px.js +0 -32
- package/dist/icons/components/32px/CalculatorLkk32pxF.js +0 -23
- package/dist/icons/components/32px/Calendar32px.js +0 -23
- package/dist/icons/components/32px/Camera32px.js +0 -35
- package/dist/icons/components/32px/Car32px.js +0 -34
- package/dist/icons/components/32px/Car32pxF.js +0 -26
- package/dist/icons/components/32px/Catalog32px.js +0 -23
- package/dist/icons/components/32px/Certs32px.js +0 -32
- package/dist/icons/components/32px/Certs32pxF.js +0 -32
- package/dist/icons/components/32px/Change32px.js +0 -23
- package/dist/icons/components/32px/Chat32px.js +0 -32
- package/dist/icons/components/32px/Chat32pxF.js +0 -23
- package/dist/icons/components/32px/Chatbot32px.js +0 -263
- package/dist/icons/components/32px/Close32px.js +0 -23
- package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +0 -21
- package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +0 -21
- package/dist/icons/components/32px/Coin32px.js +0 -34
- package/dist/icons/components/32px/Coin32pxF.js +0 -32
- package/dist/icons/components/32px/Contracts32px.js +0 -34
- package/dist/icons/components/32px/Contracts32pxF.js +0 -32
- package/dist/icons/components/32px/CopyClipboard32px.js +0 -32
- package/dist/icons/components/32px/Done32px.js +0 -23
- package/dist/icons/components/32px/Download32px.js +0 -30
- package/dist/icons/components/32px/DragHandle32px.js +0 -21
- package/dist/icons/components/32px/DragHandleHorizontal32px.js +0 -21
- package/dist/icons/components/32px/DragHandleVertical32px.js +0 -21
- package/dist/icons/components/32px/DropdownArrowDown32px.js +0 -23
- package/dist/icons/components/32px/DropdownArrowLeft32px.js +0 -23
- package/dist/icons/components/32px/DropdownArrowRight32px.js +0 -23
- package/dist/icons/components/32px/DropdownArrowUp32px.js +0 -15
- package/dist/icons/components/32px/Dzen32px.js +0 -21
- package/dist/icons/components/32px/Euro32px.js +0 -24
- package/dist/icons/components/32px/Eye32px.js +0 -34
- package/dist/icons/components/32px/Failure32px.js +0 -26
- package/dist/icons/components/32px/Favorite32px.js +0 -23
- package/dist/icons/components/32px/Favorite32pxF.js +0 -21
- package/dist/icons/components/32px/Filter32px.js +0 -21
- package/dist/icons/components/32px/Flag32pxF.js +0 -15
- package/dist/icons/components/32px/Folder32px.js +0 -23
- package/dist/icons/components/32px/Fullscreen32px.js +0 -23
- package/dist/icons/components/32px/Galery32px.js +0 -26
- package/dist/icons/components/32px/Gear32px.js +0 -34
- package/dist/icons/components/32px/Gift32px.js +0 -23
- package/dist/icons/components/32px/Hint32px.js +0 -26
- package/dist/icons/components/32px/Home32px.js +0 -26
- package/dist/icons/components/32px/Home32pxF.js +0 -23
- package/dist/icons/components/32px/Hot32pxF.js +0 -21
- package/dist/icons/components/32px/Kebab32px.js +0 -15
- package/dist/icons/components/32px/List32px.js +0 -21
- package/dist/icons/components/32px/Location32px.js +0 -34
- package/dist/icons/components/32px/Map32px.js +0 -23
- package/dist/icons/components/32px/Menu32px.js +0 -21
- package/dist/icons/components/32px/MenuMobile32px.js +0 -23
- package/dist/icons/components/32px/Minus32px.js +0 -23
- package/dist/icons/components/32px/Navigation32px.js +0 -23
- package/dist/icons/components/32px/News32px.js +0 -32
- package/dist/icons/components/32px/News32pxF.js +0 -23
- package/dist/icons/components/32px/Number32px.js +0 -32
- package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +0 -21
- package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +0 -23
- package/dist/icons/components/32px/Orders32px.js +0 -41
- package/dist/icons/components/32px/Orders32pxF.js +0 -32
- package/dist/icons/components/32px/Pause32px.js +0 -15
- package/dist/icons/components/32px/Pen32px.js +0 -22
- package/dist/icons/components/32px/Pen32pxF.js +0 -23
- package/dist/icons/components/32px/PersonalManager32px.js +0 -110
- package/dist/icons/components/32px/Phone32px.js +0 -21
- package/dist/icons/components/32px/Play32px.js +0 -21
- package/dist/icons/components/32px/Plus32px.js +0 -23
- package/dist/icons/components/32px/Pound32px.js +0 -24
- package/dist/icons/components/32px/PriceDown32px.js +0 -43
- package/dist/icons/components/32px/PriceUp32px.js +0 -34
- package/dist/icons/components/32px/Question32px.js +0 -32
- package/dist/icons/components/32px/Question32pxF.js +0 -23
- package/dist/icons/components/32px/Rutube32px.js +0 -21
- package/dist/icons/components/32px/Scan32px.js +0 -21
- package/dist/icons/components/32px/Search32px.js +0 -23
- package/dist/icons/components/32px/Share32pxF.js +0 -21
- package/dist/icons/components/32px/ShopimgCard32px.js +0 -23
- package/dist/icons/components/32px/Sort32px.js +0 -21
- package/dist/icons/components/32px/Star32px.js +0 -23
- package/dist/icons/components/32px/Star32pxF.js +0 -21
- package/dist/icons/components/32px/StarHalf32pxF.js +0 -23
- package/dist/icons/components/32px/Telegram32pxF.js +0 -21
- package/dist/icons/components/32px/TelegramPlane32pxF.js +0 -21
- package/dist/icons/components/32px/Timer32px.js +0 -33
- package/dist/icons/components/32px/Trash32px.js +0 -43
- package/dist/icons/components/32px/TwinArrowLeft32px.js +0 -21
- package/dist/icons/components/32px/TwinArrowRight32px.js +0 -21
- package/dist/icons/components/32px/USDollar32px.js +0 -24
- package/dist/icons/components/32px/Umbrella32px.js +0 -23
- package/dist/icons/components/32px/Umbrella32pxF.js +0 -23
- package/dist/icons/components/32px/UnionIcon32px.js +0 -23
- package/dist/icons/components/32px/User32px.js +0 -32
- package/dist/icons/components/32px/User32pxF.js +0 -21
- package/dist/icons/components/32px/Users32px.js +0 -23
- package/dist/icons/components/32px/Users32pxF.js +0 -24
- package/dist/icons/components/32px/VK32pxF.js +0 -23
- package/dist/icons/components/32px/Waiting32px.js +0 -23
- package/dist/icons/components/32px/Whatsapp32px.js +0 -32
- package/dist/icons/components/32px/WriteUs32px.js +0 -26
- package/dist/icons/components/32px/Youtube32pxF.js +0 -21
- package/dist/icons/components/32px/Yuan32px.js +0 -24
- package/dist/icons/components/Mans.js +0 -21
- package/dist/icons/components/Step.js +0 -22
- package/dist/icons/components/StepXL.js +0 -32
- package/dist/icons/components/auto-logo/ACE.js +0 -21
- package/dist/icons/components/auto-logo/Alim.js +0 -23
- package/dist/icons/components/auto-logo/Amur.js +0 -23
- package/dist/icons/components/auto-logo/Ankai.js +0 -23
- package/dist/icons/components/auto-logo/ArrowLength.js +0 -21
- package/dist/icons/components/auto-logo/Audi.js +0 -20
- package/dist/icons/components/auto-logo/BMW.js +0 -41
- package/dist/icons/components/auto-logo/BRP.js +0 -32
- package/dist/icons/components/auto-logo/Bomag.js +0 -32
- package/dist/icons/components/auto-logo/Case.js +0 -23
- package/dist/icons/components/auto-logo/Caterpillar.js +0 -37
- package/dist/icons/components/auto-logo/ChMZAP.js +0 -46
- package/dist/icons/components/auto-logo/ChTZ.js +0 -32
- package/dist/icons/components/auto-logo/Changan.js +0 -21
- package/dist/icons/components/auto-logo/Cherry.js +0 -32
- package/dist/icons/components/auto-logo/Citroen.js +0 -23
- package/dist/icons/components/auto-logo/DaewooFull.js +0 -58
- package/dist/icons/components/auto-logo/DaewooSymbol.js +0 -51
- package/dist/icons/components/auto-logo/Daf.js +0 -23
- package/dist/icons/components/auto-logo/Dayun.js +0 -23
- package/dist/icons/components/auto-logo/DongFeng.js +0 -23
- package/dist/icons/components/auto-logo/Ducati.js +0 -32
- package/dist/icons/components/auto-logo/Exeed.js +0 -32
- package/dist/icons/components/auto-logo/Faw.js +0 -34
- package/dist/icons/components/auto-logo/Fenix.js +0 -114
- package/dist/icons/components/auto-logo/Fiat.js +0 -37
- package/dist/icons/components/auto-logo/Ford.js +0 -41
- package/dist/icons/components/auto-logo/Foton.js +0 -32
- package/dist/icons/components/auto-logo/Gac.js +0 -21
- package/dist/icons/components/auto-logo/Gaz.js +0 -59
- package/dist/icons/components/auto-logo/Geely.js +0 -25
- package/dist/icons/components/auto-logo/Genesis.js +0 -30
- package/dist/icons/components/auto-logo/Gitte.js +0 -23
- package/dist/icons/components/auto-logo/Grunwald.js +0 -23
- package/dist/icons/components/auto-logo/HartungFull.js +0 -32
- package/dist/icons/components/auto-logo/HartungSymbol.js +0 -32
- package/dist/icons/components/auto-logo/Haval.js +0 -23
- package/dist/icons/components/auto-logo/Higer.js +0 -23
- package/dist/icons/components/auto-logo/Hitachi.js +0 -21
- package/dist/icons/components/auto-logo/Honda.js +0 -37
- package/dist/icons/components/auto-logo/Hongqi.js +0 -30
- package/dist/icons/components/auto-logo/Hongyan.js +0 -23
- package/dist/icons/components/auto-logo/Howo.js +0 -46
- package/dist/icons/components/auto-logo/Hyundai.js +0 -23
- package/dist/icons/components/auto-logo/Infiniti.js +0 -21
- package/dist/icons/components/auto-logo/Isuzu.js +0 -23
- package/dist/icons/components/auto-logo/Iveco.js +0 -23
- package/dist/icons/components/auto-logo/JCB.js +0 -32
- package/dist/icons/components/auto-logo/Jac.js +0 -21
- package/dist/icons/components/auto-logo/Juterborg.js +0 -57
- package/dist/icons/components/auto-logo/KIA.js +0 -23
- package/dist/icons/components/auto-logo/Kaiyi.js +0 -23
- package/dist/icons/components/auto-logo/Kamaz.js +0 -35
- package/dist/icons/components/auto-logo/Kassbohrer.js +0 -23
- package/dist/icons/components/auto-logo/Komatsu.js +0 -21
- package/dist/icons/components/auto-logo/Ktm.js +0 -21
- package/dist/icons/components/auto-logo/LCCE.js +0 -37
- package/dist/icons/components/auto-logo/Lada.js +0 -23
- package/dist/icons/components/auto-logo/Lexus.js +0 -23
- package/dist/icons/components/auto-logo/LiuGong.js +0 -30
- package/dist/icons/components/auto-logo/Lonking.js +0 -30
- package/dist/icons/components/auto-logo/Lovol.js +0 -21
- package/dist/icons/components/auto-logo/MTZBelarus.js +0 -34
- package/dist/icons/components/auto-logo/Man.js +0 -21
- package/dist/icons/components/auto-logo/Maz.js +0 -32
- package/dist/icons/components/auto-logo/MercedesBenz.js +0 -23
- package/dist/icons/components/auto-logo/Meusburger.js +0 -23
- package/dist/icons/components/auto-logo/Mitsubishi.js +0 -21
- package/dist/icons/components/auto-logo/NefAZ.js +0 -30
- package/dist/icons/components/auto-logo/NursanTrailer.js +0 -21
- package/dist/icons/components/auto-logo/Omoda.js +0 -37
- package/dist/icons/components/auto-logo/PSATss.js +0 -37
- package/dist/icons/components/auto-logo/Paz.js +0 -23
- package/dist/icons/components/auto-logo/Peugeot.js +0 -21
- package/dist/icons/components/auto-logo/Raskat.js +0 -37
- package/dist/icons/components/auto-logo/Renault.js +0 -30
- package/dist/icons/components/auto-logo/RussianCarsEmblem.js +0 -32
- package/dist/icons/components/auto-logo/RussianCarsKremlin.js +0 -41
- package/dist/icons/components/auto-logo/Sany.js +0 -50
- package/dist/icons/components/auto-logo/Scania.js +0 -57
- package/dist/icons/components/auto-logo/Schmitz.js +0 -23
- package/dist/icons/components/auto-logo/Shacman.js +0 -30
- package/dist/icons/components/auto-logo/Shantui.js +0 -21
- package/dist/icons/components/auto-logo/Sinanli.js +0 -71
- package/dist/icons/components/auto-logo/Sitrak.js +0 -34
- package/dist/icons/components/auto-logo/SobolIztechmash.js +0 -60
- package/dist/icons/components/auto-logo/Sokol.js +0 -21
- package/dist/icons/components/auto-logo/Sollers.js +0 -23
- package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +0 -21
- package/dist/icons/components/auto-logo/Tonar.js +0 -23
- package/dist/icons/components/auto-logo/Toyota.js +0 -21
- package/dist/icons/components/auto-logo/Trekol.js +0 -34
- package/dist/icons/components/auto-logo/UAT.js +0 -21
- package/dist/icons/components/auto-logo/Uaz.js +0 -70
- package/dist/icons/components/auto-logo/Ural.js +0 -21
- package/dist/icons/components/auto-logo/VIS.js +0 -21
- package/dist/icons/components/auto-logo/VKR.js +0 -32
- package/dist/icons/components/auto-logo/Volkswagen.js +0 -23
- package/dist/icons/components/auto-logo/Volvo.js +0 -21
- package/dist/icons/components/auto-logo/Wielton.js +0 -21
- package/dist/icons/components/auto-logo/XCMG.js +0 -37
- package/dist/icons/components/auto-logo/Yutong.js +0 -72
- package/dist/icons/components/auto-logo/Zoomlion.js +0 -21
- package/dist/icons/components/car-icons/AllMetal.js +0 -32
- package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +0 -32
- package/dist/icons/components/car-icons/AsphaltPaver.js +0 -35
- package/dist/icons/components/car-icons/Autotower.js +0 -32
- package/dist/icons/components/car-icons/Awning.js +0 -33
- package/dist/icons/components/car-icons/BackhoeLoader.js +0 -39
- package/dist/icons/components/car-icons/Buggy.js +0 -32
- package/dist/icons/components/car-icons/Bulldozer.js +0 -34
- package/dist/icons/components/car-icons/Bus.js +0 -23
- package/dist/icons/components/car-icons/BusBus.js +0 -32
- package/dist/icons/components/car-icons/BusMinibus.js +0 -32
- package/dist/icons/components/car-icons/BusShiftBuses.js +0 -42
- package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +0 -39
- package/dist/icons/components/car-icons/CargoAutotower.js +0 -32
- package/dist/icons/components/car-icons/CargoAwning.js +0 -39
- package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +0 -39
- package/dist/icons/components/car-icons/CargoDrillingRig.js +0 -32
- package/dist/icons/components/car-icons/CargoDumpTruck.js +0 -39
- package/dist/icons/components/car-icons/CargoGarbageTruck.js +0 -39
- package/dist/icons/components/car-icons/CargoGrainCarrier.js +0 -39
- package/dist/icons/components/car-icons/CargoIsothermal.js +0 -39
- package/dist/icons/components/car-icons/CargoOnBoard.js +0 -39
- package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +0 -39
- package/dist/icons/components/car-icons/CargoPromotionalItem.js +0 -39
- package/dist/icons/components/car-icons/CargoSortingTruck.js +0 -39
- package/dist/icons/components/car-icons/CargoTankerTruck.js +0 -39
- package/dist/icons/components/car-icons/CargoTowTruck.js +0 -32
- package/dist/icons/components/car-icons/CargoTruckCrane.js +0 -41
- package/dist/icons/components/car-icons/CargoVacuumMachine.js +0 -32
- package/dist/icons/components/car-icons/Clearance.js +0 -23
- package/dist/icons/components/car-icons/CombineHarvester.js +0 -39
- package/dist/icons/components/car-icons/Compartment.js +0 -32
- package/dist/icons/components/car-icons/ConcreteMixerTruck.js +0 -39
- package/dist/icons/components/car-icons/ConcretePump.js +0 -40
- package/dist/icons/components/car-icons/Crossover.js +0 -32
- package/dist/icons/components/car-icons/DrillingRigg.js +0 -32
- package/dist/icons/components/car-icons/DumpTruck.js +0 -39
- package/dist/icons/components/car-icons/Excavator.js +0 -23
- package/dist/icons/components/car-icons/ForestPreparationEquipment.js +0 -39
- package/dist/icons/components/car-icons/ForkliftTruck.js +0 -32
- package/dist/icons/components/car-icons/FrontLoader.js +0 -39
- package/dist/icons/components/car-icons/Hatchback.js +0 -32
- package/dist/icons/components/car-icons/IceRink.js +0 -34
- package/dist/icons/components/car-icons/Isothermal.js +0 -39
- package/dist/icons/components/car-icons/Liftback.js +0 -23
- package/dist/icons/components/car-icons/MiniEscalator.js +0 -41
- package/dist/icons/components/car-icons/MiniLoader.js +0 -32
- package/dist/icons/components/car-icons/MiningDumpTruck.js +0 -39
- package/dist/icons/components/car-icons/Minitractor.js +0 -32
- package/dist/icons/components/car-icons/Minivan.js +0 -32
- package/dist/icons/components/car-icons/MotorGrader.js +0 -32
- package/dist/icons/components/car-icons/MotorVehiclesBike.js +0 -24
- package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +0 -30
- package/dist/icons/components/car-icons/OffRoadVehicle.js +0 -32
- package/dist/icons/components/car-icons/OnBoard.js +0 -39
- package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +0 -39
- package/dist/icons/components/car-icons/OnBoardWithCmu.js +0 -39
- package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +0 -48
- package/dist/icons/components/car-icons/OtherCareerTechniques.js +0 -39
- package/dist/icons/components/car-icons/Pickup.js +0 -23
- package/dist/icons/components/car-icons/PickupTruck.js +0 -32
- package/dist/icons/components/car-icons/PilingInstallation.js +0 -34
- package/dist/icons/components/car-icons/PromotionalItem.js +0 -39
- package/dist/icons/components/car-icons/PublicUtilityVehicle.js +0 -46
- package/dist/icons/components/car-icons/QuarryExcavator.js +0 -26
- package/dist/icons/components/car-icons/Scooter.js +0 -30
- package/dist/icons/components/car-icons/Sedan.js +0 -32
- package/dist/icons/components/car-icons/Snowmobile.js +0 -39
- package/dist/icons/components/car-icons/TankerTruck.js +0 -39
- package/dist/icons/components/car-icons/TelescopicLoader.js +0 -32
- package/dist/icons/components/car-icons/TheLift.js +0 -37
- package/dist/icons/components/car-icons/TowTruck.js +0 -32
- package/dist/icons/components/car-icons/Tractor.js +0 -32
- package/dist/icons/components/car-icons/TractorTruck.js +0 -39
- package/dist/icons/components/car-icons/Trailerr.js +0 -23
- package/dist/icons/components/car-icons/TrailersCarCarrier.js +0 -41
- package/dist/icons/components/car-icons/TrailersCattleTruck.js +0 -32
- package/dist/icons/components/car-icons/TrailersContainerShip.js +0 -40
- package/dist/icons/components/car-icons/TrailersCurtainSide.js +0 -39
- package/dist/icons/components/car-icons/TrailersDumpTruck.js +0 -39
- package/dist/icons/components/car-icons/TrailersGrainTruck.js +0 -39
- package/dist/icons/components/car-icons/TrailersHeavyTruck.js +0 -39
- package/dist/icons/components/car-icons/TrailersIsothermal.js +0 -39
- package/dist/icons/components/car-icons/TrailersOther.js +0 -39
- package/dist/icons/components/car-icons/TrailersTankerTruck.js +0 -39
- package/dist/icons/components/car-icons/TruckCrane.js +0 -41
- package/dist/icons/components/car-icons/Universal.js +0 -32
- package/dist/icons/components/car-icons/Van.js +0 -23
- package/dist/icons/components/car-icons/Ycles.js +0 -42
- package/dist/icons/components/car-parameters-icons/Acceleration.js +0 -32
- package/dist/icons/components/car-parameters-icons/Berths.js +0 -37
- package/dist/icons/components/car-parameters-icons/Bucket.js +0 -21
- package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +0 -23
- package/dist/icons/components/car-parameters-icons/BucketVolume.js +0 -30
- package/dist/icons/components/car-parameters-icons/CabinTurn.js +0 -32
- package/dist/icons/components/car-parameters-icons/CarBodySize.js +0 -32
- package/dist/icons/components/car-parameters-icons/CarBodyType.js +0 -23
- package/dist/icons/components/car-parameters-icons/CarColor.js +0 -32
- package/dist/icons/components/car-parameters-icons/Cylinders.js +0 -35
- package/dist/icons/components/car-parameters-icons/Dimensions.js +0 -32
- package/dist/icons/components/car-parameters-icons/EngineType.js +0 -21
- package/dist/icons/components/car-parameters-icons/FuelConsumption.js +0 -21
- package/dist/icons/components/car-parameters-icons/GearType.js +0 -24
- package/dist/icons/components/car-parameters-icons/LiftingHeight.js +0 -21
- package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +0 -23
- package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +0 -23
- package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +0 -21
- package/dist/icons/components/car-parameters-icons/TrailerType.js +0 -30
- package/dist/icons/components/car-parameters-icons/UnloadingType.js +0 -30
- package/dist/icons/components/car-parameters-icons/Weight.js +0 -34
- package/dist/icons/components/car-parameters-icons/WheelDriveType.js +0 -30
- package/dist/icons/components/car-parameters-icons/WheelSheme.js +0 -32
- package/dist/icons/components/cars-stubus/Bike.js +0 -23
- package/dist/icons/components/cars-stubus/Car.js +0 -23
- package/dist/icons/components/cars-stubus/Equipment.js +0 -23
- package/dist/icons/components/cars-stubus/Truck.js +0 -23
- package/dist/icons/components/index.js +0 -584
- package/dist/icons/index.d.ts +0 -2
- package/dist/icons/index.js +0 -4
- package/dist/index-BuVUKy18.js +0 -2658
- package/dist/index-DIxK0V-G.js +0 -44
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -188
- package/dist/keyboard-B0lm_zyn.js +0 -573
- package/dist/label-y3ANLTNC.js +0 -171
- package/dist/open-closed-CdldUPoq.js +0 -86
- package/dist/portal-WDFNoIMz.js +0 -1908
- package/dist/styles.module-BlOA4RBL.js +0 -28
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/propsWithAs.d.ts +0 -15
- package/dist/types/propsWithAs.js +0 -1
- package/dist/use-active-press-86hajhdd.js +0 -31
- package/dist/use-by-comparator-CVuf9KBq.js +0 -16
- package/dist/use-resolve-button-type-DhFdPxnv.js +0 -12
- package/dist/utils/UUID4.d.ts +0 -1
- package/dist/utils/UUID4.js +0 -9
- package/dist/utils/formating/Date.d.ts +0 -2
- package/dist/utils/formating/Date.js +0 -24
- package/dist/utils/formating/FileSize.d.ts +0 -1
- package/dist/utils/formating/FileSize.js +0 -12
- package/dist/utils/formating/Month.d.ts +0 -8
- package/dist/utils/formating/Month.js +0 -79
- package/dist/utils/formating/Numbers.d.ts +0 -6
- package/dist/utils/formating/Numbers.js +0 -8
- package/dist/utils/index.d.ts +0 -14
- package/dist/utils/index.js +0 -17
- package/dist/variant.module-BXn4N1h0.js +0 -12
@@ -1,87 +0,0 @@
|
|
1
|
-
import { ElementType, ReactElement, ReactNode } from 'react';
|
2
|
-
import { EDrawerPosition } from './constants';
|
3
|
-
import { Props } from '../../types/propsWithAs';
|
4
|
-
|
5
|
-
export declare const ANIMATION_DELAY = 300;
|
6
|
-
type TProps = {
|
7
|
-
/**
|
8
|
-
* Обязательный заголовок.
|
9
|
-
*/
|
10
|
-
title: string | ReactNode;
|
11
|
-
/**
|
12
|
-
* Флаг отвечающий за показ/скрытие.
|
13
|
-
*/
|
14
|
-
isOpen?: boolean;
|
15
|
-
/**
|
16
|
-
* Флаг отвечающий за то, должен ли компонент полностью размонтироваться.
|
17
|
-
*/
|
18
|
-
unmount?: boolean;
|
19
|
-
/**
|
20
|
-
* Настраиваемый паддинг для body, что бы избежать скачка контента при overflow: hidden
|
21
|
-
*/
|
22
|
-
paddingRight?: number;
|
23
|
-
/**
|
24
|
-
* Функция закрытия шторки
|
25
|
-
*/
|
26
|
-
onClose?: VoidFunction;
|
27
|
-
/**
|
28
|
-
* Дополнительный класс для родительской обертки.
|
29
|
-
*/
|
30
|
-
className?: string;
|
31
|
-
/**
|
32
|
-
* Флаг отвечающий за загрузку
|
33
|
-
*/
|
34
|
-
isLoading?: boolean;
|
35
|
-
/**
|
36
|
-
* Флаг делающий шапку sticky
|
37
|
-
*/
|
38
|
-
stickyHeader?: boolean;
|
39
|
-
/**
|
40
|
-
* Флаг отвечающий за высоту шторки в положении `bottom`
|
41
|
-
*/
|
42
|
-
fullBottomHeight?: boolean;
|
43
|
-
/**
|
44
|
-
* Позиция шторки.
|
45
|
-
*/
|
46
|
-
position?: `${EDrawerPosition}` | EDrawerPosition;
|
47
|
-
/**
|
48
|
-
* Кастомный footer. По дефолту в нем расположена кнопка для закрытия.
|
49
|
-
*/
|
50
|
-
footer?: ReactNode | ((props: {
|
51
|
-
handleClose: VoidFunction;
|
52
|
-
}) => JSX.Element);
|
53
|
-
/**
|
54
|
-
* Дополнительный класс для title.
|
55
|
-
*/
|
56
|
-
classNameTitle?: string;
|
57
|
-
/**
|
58
|
-
* Дополнительный класс для header.
|
59
|
-
*/
|
60
|
-
classNameHeader?: string;
|
61
|
-
/**
|
62
|
-
* Дополнительный класс для content.
|
63
|
-
*/
|
64
|
-
classNameContent?: string;
|
65
|
-
/**
|
66
|
-
* Дополнительный класс для inner.
|
67
|
-
*/
|
68
|
-
classNameInner?: string;
|
69
|
-
/**
|
70
|
-
* Дополнительный класс для footer.
|
71
|
-
*/
|
72
|
-
classNameFooter?: string;
|
73
|
-
/**
|
74
|
-
* Флаг, определяющий, закрывать ли Drawer при клике вне его области
|
75
|
-
*/
|
76
|
-
closeOnClickOutside?: boolean;
|
77
|
-
/**
|
78
|
-
* Флаг, определяющий, показывать ли кнопку закрытия в заголовке
|
79
|
-
*/
|
80
|
-
showCloseButton?: boolean;
|
81
|
-
};
|
82
|
-
type TDrawerComponent = <C extends ElementType = 'div'>(props: Props<C, TProps>) => ReactElement | ReactNode;
|
83
|
-
/**
|
84
|
-
* Компонент шторки, который может выезжать слева, справа или внизу.
|
85
|
-
*/
|
86
|
-
export declare const Drawer: TDrawerComponent;
|
87
|
-
export {};
|
@@ -1,166 +0,0 @@
|
|
1
|
-
import { jsxs as _, jsx as o, Fragment as G } from "react/jsx-runtime";
|
2
|
-
import { c as s } from "../../index-DIxK0V-G.js";
|
3
|
-
import { forwardRef as K, useState as w, useRef as V, useCallback as u, useEffect as W } from "react";
|
4
|
-
import { EDrawerPosition as v } from "./constants.js";
|
5
|
-
import { useMediaQuery as Y } from "../../hooks/useMediaQuery/useMediaQuery.js";
|
6
|
-
import { EMediaQuery as q } from "../../hooks/useMediaQuery/constants.js";
|
7
|
-
import { useLockBodyScroll as J } from "../../hooks/useLockBodyScroll/useLockBodyScroll.js";
|
8
|
-
import { useResizeObserver as U } from "../../hooks/useResizeObserver/useResizeObserver.js";
|
9
|
-
import { Button as k } from "../Button/Button.js";
|
10
|
-
import { EButtonVariantDefault as Z, EButtonSize as r } from "../Button/constants.js";
|
11
|
-
import { Loader as $ } from "../Loader/Loader.js";
|
12
|
-
import { Portal as ee } from "../Portal/Portal.js";
|
13
|
-
import '../../assets/Drawer.css';const oe = "_drawer_1xs4d_3", te = "_content_1xs4d_27", se = "_header_1xs4d_45", ne = "_title_1xs4d_59", re = "_space_1xs4d_73", ie = "_inner_1xs4d_84", ae = "_button_1xs4d_87", le = "_footer_1xs4d_92", ce = "_left_1xs4d_105", de = "_right_1xs4d_109", me = "_full_1xs4d_113", _e = "_bottom_1xs4d_123", ue = "_opened_1xs4d_140", fe = "_overlay_1xs4d_196", he = "_unmount_1xs4d_212", e = {
|
14
|
-
drawer: oe,
|
15
|
-
content: te,
|
16
|
-
"is-loading": "_is-loading_1xs4d_41",
|
17
|
-
header: se,
|
18
|
-
"sticky-header": "_sticky-header_1xs4d_53",
|
19
|
-
title: ne,
|
20
|
-
space: re,
|
21
|
-
inner: ie,
|
22
|
-
button: ae,
|
23
|
-
footer: le,
|
24
|
-
"footer-button": "_footer-button_1xs4d_101",
|
25
|
-
left: ce,
|
26
|
-
right: de,
|
27
|
-
full: me,
|
28
|
-
bottom: _e,
|
29
|
-
"full-bottom-height": "_full-bottom-height_1xs4d_134",
|
30
|
-
opened: ue,
|
31
|
-
"is-closing": "_is-closing_1xs4d_159",
|
32
|
-
overlay: fe,
|
33
|
-
unmount: he
|
34
|
-
}, pe = 300, Oe = K(
|
35
|
-
(C, B) => {
|
36
|
-
const {
|
37
|
-
as: E = "div",
|
38
|
-
isOpen: n,
|
39
|
-
onClose: i,
|
40
|
-
title: M,
|
41
|
-
className: O,
|
42
|
-
unmount: f = !0,
|
43
|
-
isLoading: a = !1,
|
44
|
-
stickyHeader: I,
|
45
|
-
fullBottomHeight: L = !1,
|
46
|
-
position: l = v.RIGHT,
|
47
|
-
paddingRight: R = 8,
|
48
|
-
footer: c,
|
49
|
-
children: T,
|
50
|
-
classNameTitle: S,
|
51
|
-
classNameHeader: D,
|
52
|
-
classNameInner: z,
|
53
|
-
classNameContent: H,
|
54
|
-
classNameFooter: A,
|
55
|
-
closeOnClickOutside: h = !0,
|
56
|
-
showCloseButton: p = !0,
|
57
|
-
...P
|
58
|
-
} = C, [x, g] = w(!1), [X, N] = w(!1), y = V(), d = Y(q.XS1), { ref: j } = U({
|
59
|
-
enabled: l === v.BOTTOM
|
60
|
-
});
|
61
|
-
J({
|
62
|
-
on: n && !x,
|
63
|
-
paddingRight: R
|
64
|
-
});
|
65
|
-
const t = u(() => {
|
66
|
-
i && (g(!0), y.current = setTimeout(() => {
|
67
|
-
i(), g(!1);
|
68
|
-
}, pe));
|
69
|
-
}, [i]), F = u(() => {
|
70
|
-
h && t();
|
71
|
-
}, [h, t]), m = u(
|
72
|
-
(Q) => {
|
73
|
-
Q.key === "Escape" && t();
|
74
|
-
},
|
75
|
-
[t]
|
76
|
-
);
|
77
|
-
W(() => (n && (N(!0), window.addEventListener("keydown", m)), () => {
|
78
|
-
N(!1), clearTimeout(y.current), window.removeEventListener("keydown", m);
|
79
|
-
}), [n, m]);
|
80
|
-
const b = {
|
81
|
-
[e.opened]: X,
|
82
|
-
[e["is-closing"]]: x,
|
83
|
-
[e["full-bottom-height"]]: L,
|
84
|
-
[e["is-loading"]]: a
|
85
|
-
};
|
86
|
-
return !n && f ? null : /* @__PURE__ */ _(ee, { children: [
|
87
|
-
/* @__PURE__ */ o(
|
88
|
-
E,
|
89
|
-
{
|
90
|
-
ref: B,
|
91
|
-
"aria-hidden": !n,
|
92
|
-
role: "dialog",
|
93
|
-
className: s(e.drawer, e[l], b, O),
|
94
|
-
...P,
|
95
|
-
children: /* @__PURE__ */ o(
|
96
|
-
"section",
|
97
|
-
{
|
98
|
-
ref: j,
|
99
|
-
className: s(
|
100
|
-
e.content,
|
101
|
-
H,
|
102
|
-
e[l],
|
103
|
-
{
|
104
|
-
[e["is-loading"]]: !!a
|
105
|
-
}
|
106
|
-
),
|
107
|
-
children: a ? /* @__PURE__ */ o($, {}) : /* @__PURE__ */ _(G, { children: [
|
108
|
-
/* @__PURE__ */ _(
|
109
|
-
"header",
|
110
|
-
{
|
111
|
-
className: s(e.header, D, {
|
112
|
-
[e["sticky-header"]]: I
|
113
|
-
}),
|
114
|
-
children: [
|
115
|
-
/* @__PURE__ */ o("h2", { className: s(e.title, S), children: M }),
|
116
|
-
/* @__PURE__ */ o("div", { className: e.space, children: p && /* @__PURE__ */ o(
|
117
|
-
k,
|
118
|
-
{
|
119
|
-
variant: Z.SecondaryWhite,
|
120
|
-
isIconButton: !0,
|
121
|
-
size: d ? r.S : r.M,
|
122
|
-
iconName: "Close16px",
|
123
|
-
onClick: t,
|
124
|
-
className: e.button
|
125
|
-
}
|
126
|
-
) })
|
127
|
-
]
|
128
|
-
}
|
129
|
-
),
|
130
|
-
/* @__PURE__ */ o("div", { className: s(e.inner, z), children: T }),
|
131
|
-
/* @__PURE__ */ o("footer", { className: s(e.footer, A), children: typeof c == "function" ? c({ handleClose: t }) : c || p && /* @__PURE__ */ o(
|
132
|
-
k,
|
133
|
-
{
|
134
|
-
size: d ? r.M : r.XXL,
|
135
|
-
full: d,
|
136
|
-
onClick: t,
|
137
|
-
className: e["footer-button"],
|
138
|
-
children: "Закрыть"
|
139
|
-
}
|
140
|
-
) })
|
141
|
-
] })
|
142
|
-
}
|
143
|
-
)
|
144
|
-
}
|
145
|
-
),
|
146
|
-
/* @__PURE__ */ o(
|
147
|
-
"div",
|
148
|
-
{
|
149
|
-
className: s(
|
150
|
-
e.overlay,
|
151
|
-
{
|
152
|
-
[e.unmount]: !f
|
153
|
-
},
|
154
|
-
b
|
155
|
-
),
|
156
|
-
"data-testid": "drawer-overlay",
|
157
|
-
onClick: F
|
158
|
-
}
|
159
|
-
)
|
160
|
-
] });
|
161
|
-
}
|
162
|
-
);
|
163
|
-
export {
|
164
|
-
pe as ANIMATION_DELAY,
|
165
|
-
Oe as Drawer
|
166
|
-
};
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import { PopoverProps, PopoverPanelProps } from '@headlessui/react';
|
2
|
-
import { ReactNode } from 'react';
|
3
|
-
|
4
|
-
export declare const ANIMATION_DELAY = 300;
|
5
|
-
type TProps = {
|
6
|
-
/**
|
7
|
-
* Пропсы для Popover
|
8
|
-
*/
|
9
|
-
popoverProps?: PopoverProps;
|
10
|
-
/**
|
11
|
-
* Позиция выпадающего меню относительно кнопки.
|
12
|
-
*/
|
13
|
-
position?: PopoverPanelProps['anchor'];
|
14
|
-
/**
|
15
|
-
* Компонент при клике на который выпадающее меню открывается.
|
16
|
-
*/
|
17
|
-
buttonContent?: ReactNode;
|
18
|
-
/**
|
19
|
-
* Компонент выпадающего меню.
|
20
|
-
*/
|
21
|
-
children?: ReactNode | ((props: {
|
22
|
-
close: VoidFunction;
|
23
|
-
}) => JSX.Element);
|
24
|
-
/**
|
25
|
-
* Дополнительный класс для компонента.
|
26
|
-
*/
|
27
|
-
className?: string;
|
28
|
-
/**
|
29
|
-
* Дополнительный класс для кнопки.
|
30
|
-
*/
|
31
|
-
buttonClassName?: string;
|
32
|
-
/**
|
33
|
-
* Дополнительный класс для панели.
|
34
|
-
*/
|
35
|
-
panelClassName?: string;
|
36
|
-
/**
|
37
|
-
* Дополнительный класс для меню.
|
38
|
-
*/
|
39
|
-
menuItemsClassName?: string;
|
40
|
-
};
|
41
|
-
/**
|
42
|
-
* Компонент Dropdown, содержит в себе кнопку и панель выпадающего меню
|
43
|
-
*/
|
44
|
-
export declare const Dropdown: import('react').MemoExoticComponent<({ children, position, popoverProps, className, buttonClassName, panelClassName, menuItemsClassName, buttonContent }: TProps) => import("react/jsx-runtime").JSX.Element>;
|
45
|
-
export {};
|
@@ -1,333 +0,0 @@
|
|
1
|
-
import { jsx as le, jsxs as Ae, Fragment as Le } from "react/jsx-runtime";
|
2
|
-
import { c as ae } from "../../index-DIxK0V-G.js";
|
3
|
-
import S, { createContext as te, useState as ne, useContext as oe, useRef as Q, useReducer as Ge, createRef as Pe, useMemo as R, useEffect as se, useId as ie, memo as Ke } from "react";
|
4
|
-
import { o as E, u as we, M as ce, W as z, y as V, T as Ue, s as Te, a as q, H as re, $ as je, b as qe, D as ye, I as Je, n as We, c as U } from "../../keyboard-B0lm_zyn.js";
|
5
|
-
import { w as Xe } from "../../use-active-press-86hajhdd.js";
|
6
|
-
import { n as fe, s as Ze, e as Qe, E as Ve, R as Ye, v as ze, y as et, x as tt, a as nt, b as ot, m as rt, f as lt, d as at, t as ut } from "../../portal-WDFNoIMz.js";
|
7
|
-
import { e as st } from "../../use-resolve-button-type-DhFdPxnv.js";
|
8
|
-
import { T as pe, s as de } from "../../hidden-DbgtYPOH.js";
|
9
|
-
import { c as it, i as Y, u as _e, R as Be, H as Fe, s as ct } from "../../open-closed-CdldUPoq.js";
|
10
|
-
import { C as pt } from "../../close-provider-CEutdhG8.js";
|
11
|
-
import { r as ke } from "../../bugs-diTMAGNw.js";
|
12
|
-
import { b as Se, P as j, F as H, A as dt, h as ft, T as $e } from "../../focus-management-DE4t_lW3.js";
|
13
|
-
import '../../assets/Dropdown.css';function vt({ defaultContainers: e = [], portals: n, mainTreeNode: s } = {}) {
|
14
|
-
let P = fe(s), i = E(() => {
|
15
|
-
var c, d;
|
16
|
-
let r = [];
|
17
|
-
for (let o of e) o !== null && (o instanceof HTMLElement ? r.push(o) : "current" in o && o.current instanceof HTMLElement && r.push(o.current));
|
18
|
-
if (n != null && n.current) for (let o of n.current) r.push(o);
|
19
|
-
for (let o of (c = P == null ? void 0 : P.querySelectorAll("html > *, body > *")) != null ? c : []) o !== document.body && o !== document.head && o instanceof HTMLElement && o.id !== "headlessui-portal-root" && (s && (o.contains(s) || o.contains((d = s == null ? void 0 : s.getRootNode()) == null ? void 0 : d.host)) || r.some((y) => o.contains(y)) || r.push(o));
|
20
|
-
return r;
|
21
|
-
});
|
22
|
-
return { resolveContainers: i, contains: E((c) => i().some((d) => d.contains(c))) };
|
23
|
-
}
|
24
|
-
let Ce = te(null);
|
25
|
-
function xe({ children: e, node: n }) {
|
26
|
-
let [s, P] = ne(null), i = Oe(n ?? s);
|
27
|
-
return S.createElement(Ce.Provider, { value: i }, e, i === null && S.createElement(pe, { features: de.Hidden, ref: (c) => {
|
28
|
-
var d, r;
|
29
|
-
if (c) {
|
30
|
-
for (let o of (r = (d = we(c)) == null ? void 0 : d.querySelectorAll("html > *, body > *")) != null ? r : []) if (o !== document.body && o !== document.head && o instanceof HTMLElement && o != null && o.contains(c)) {
|
31
|
-
P(o);
|
32
|
-
break;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
} }));
|
36
|
-
}
|
37
|
-
function Oe(e = null) {
|
38
|
-
var n;
|
39
|
-
return (n = oe(Ce)) != null ? n : e;
|
40
|
-
}
|
41
|
-
var D = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(D || {});
|
42
|
-
function Me() {
|
43
|
-
let e = Q(0);
|
44
|
-
return Ze(!0, "keydown", (n) => {
|
45
|
-
n.key === "Tab" && (e.current = n.shiftKey ? 1 : 0);
|
46
|
-
}, !0), e;
|
47
|
-
}
|
48
|
-
var mt = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(mt || {}), bt = ((e) => (e[e.TogglePopover = 0] = "TogglePopover", e[e.ClosePopover = 1] = "ClosePopover", e[e.SetButton = 2] = "SetButton", e[e.SetButtonId = 3] = "SetButtonId", e[e.SetPanel = 4] = "SetPanel", e[e.SetPanelId = 5] = "SetPanelId", e))(bt || {});
|
49
|
-
let Pt = { 0: (e) => ({ ...e, popoverState: q(e.popoverState, { 0: 1, 1: 0 }), __demoMode: !1 }), 1(e) {
|
50
|
-
return e.popoverState === 1 ? e : { ...e, popoverState: 1, __demoMode: !1 };
|
51
|
-
}, 2(e, n) {
|
52
|
-
return e.button === n.button ? e : { ...e, button: n.button };
|
53
|
-
}, 3(e, n) {
|
54
|
-
return e.buttonId === n.buttonId ? e : { ...e, buttonId: n.buttonId };
|
55
|
-
}, 4(e, n) {
|
56
|
-
return e.panel === n.panel ? e : { ...e, panel: n.panel };
|
57
|
-
}, 5(e, n) {
|
58
|
-
return e.panelId === n.panelId ? e : { ...e, panelId: n.panelId };
|
59
|
-
} }, he = te(null);
|
60
|
-
he.displayName = "PopoverContext";
|
61
|
-
function ve(e) {
|
62
|
-
let n = oe(he);
|
63
|
-
if (n === null) {
|
64
|
-
let s = new Error(`<${e} /> is missing a parent <Popover /> component.`);
|
65
|
-
throw Error.captureStackTrace && Error.captureStackTrace(s, ve), s;
|
66
|
-
}
|
67
|
-
return n;
|
68
|
-
}
|
69
|
-
let me = te(null);
|
70
|
-
me.displayName = "PopoverAPIContext";
|
71
|
-
function Ee(e) {
|
72
|
-
let n = oe(me);
|
73
|
-
if (n === null) {
|
74
|
-
let s = new Error(`<${e} /> is missing a parent <Popover /> component.`);
|
75
|
-
throw Error.captureStackTrace && Error.captureStackTrace(s, Ee), s;
|
76
|
-
}
|
77
|
-
return n;
|
78
|
-
}
|
79
|
-
let ge = te(null);
|
80
|
-
ge.displayName = "PopoverGroupContext";
|
81
|
-
function Ne() {
|
82
|
-
return oe(ge);
|
83
|
-
}
|
84
|
-
let be = te(null);
|
85
|
-
be.displayName = "PopoverPanelContext";
|
86
|
-
function yt() {
|
87
|
-
return oe(be);
|
88
|
-
}
|
89
|
-
function $t(e, n) {
|
90
|
-
return q(n.type, Pt, e, n);
|
91
|
-
}
|
92
|
-
let St = "div";
|
93
|
-
function ht(e, n) {
|
94
|
-
var s;
|
95
|
-
let { __demoMode: P = !1, ...i } = e, c = Q(null), d = V(n, Ue((u) => {
|
96
|
-
c.current = u;
|
97
|
-
})), r = Q([]), o = Ge($t, { __demoMode: P, popoverState: P ? 0 : 1, buttons: r, button: null, buttonId: null, panel: null, panelId: null, beforePanelSentinel: Pe(), afterPanelSentinel: Pe(), afterButtonSentinel: Pe() }), [{ popoverState: y, button: t, buttonId: g, panel: h, panelId: I, beforePanelSentinel: f, afterPanelSentinel: b, afterButtonSentinel: p }, $] = o, T = fe((s = c.current) != null ? s : t), k = R(() => {
|
98
|
-
if (!t || !h) return !1;
|
99
|
-
for (let _ of document.querySelectorAll("body > *")) if (Number(_ == null ? void 0 : _.contains(t)) ^ Number(_ == null ? void 0 : _.contains(h))) return !0;
|
100
|
-
let u = Se(), l = u.indexOf(t), a = (l + u.length - 1) % u.length, m = (l + 1) % u.length, v = u[a], F = u[m];
|
101
|
-
return !h.contains(v) && !h.contains(F);
|
102
|
-
}, [t, h]), J = Te(g), C = Te(I), W = R(() => ({ buttonId: J, panelId: C, close: () => $({ type: 1 }) }), [J, C, $]), x = Ne(), w = x == null ? void 0 : x.registerPopover, X = E(() => {
|
103
|
-
var u;
|
104
|
-
return (u = x == null ? void 0 : x.isFocusWithinPopoverGroup()) != null ? u : (T == null ? void 0 : T.activeElement) && ((t == null ? void 0 : t.contains(T.activeElement)) || (h == null ? void 0 : h.contains(T.activeElement)));
|
105
|
-
});
|
106
|
-
se(() => w == null ? void 0 : w(W), [w, W]);
|
107
|
-
let [A, B] = Qe(), L = Oe(t), O = vt({ mainTreeNode: L, portals: A, defaultContainers: [t, h] });
|
108
|
-
Ve(T == null ? void 0 : T.defaultView, "focus", (u) => {
|
109
|
-
var l, a, m, v, F, _;
|
110
|
-
u.target !== window && u.target instanceof HTMLElement && y === 0 && (X() || t && h && (O.contains(u.target) || (a = (l = f.current) == null ? void 0 : l.contains) != null && a.call(l, u.target) || (v = (m = b.current) == null ? void 0 : m.contains) != null && v.call(m, u.target) || (_ = (F = p.current) == null ? void 0 : F.contains) != null && _.call(F, u.target) || $({ type: 1 })));
|
111
|
-
}, !0), Ye(y === 0, O.resolveContainers, (u, l) => {
|
112
|
-
$({ type: 1 }), dt(l, ft.Loose) || (u.preventDefault(), t == null || t.focus());
|
113
|
-
});
|
114
|
-
let M = E((u) => {
|
115
|
-
$({ type: 1 });
|
116
|
-
let l = u ? u instanceof HTMLElement ? u : "current" in u && u.current instanceof HTMLElement ? u.current : t : t;
|
117
|
-
l == null || l.focus();
|
118
|
-
}), Z = R(() => ({ close: M, isPortalled: k }), [M, k]), ee = R(() => ({ open: y === 0, close: M }), [y, M]), G = { ref: d };
|
119
|
-
return S.createElement(xe, { node: L }, S.createElement(ze, null, S.createElement(be.Provider, { value: null }, S.createElement(he.Provider, { value: o }, S.createElement(me.Provider, { value: Z }, S.createElement(pt, { value: M }, S.createElement(it, { value: q(y, { 0: Y.Open, 1: Y.Closed }) }, S.createElement(B, null, re({ ourProps: G, theirProps: i, slot: ee, defaultTag: St, name: "Popover" })))))))));
|
120
|
-
}
|
121
|
-
let Et = "button";
|
122
|
-
function gt(e, n) {
|
123
|
-
let s = ie(), { id: P = `headlessui-popover-button-${s}`, disabled: i = !1, autoFocus: c = !1, ...d } = e, [r, o] = ve("Popover.Button"), { isPortalled: y } = Ee("Popover.Button"), t = Q(null), g = `headlessui-focus-sentinel-${ie()}`, h = Ne(), I = h == null ? void 0 : h.closeOthers, f = yt() !== null;
|
124
|
-
se(() => {
|
125
|
-
if (!f) return o({ type: 3, buttonId: P }), () => {
|
126
|
-
o({ type: 3, buttonId: null });
|
127
|
-
};
|
128
|
-
}, [f, P, o]);
|
129
|
-
let [b] = ne(() => Symbol()), p = V(t, n, et(), E((l) => {
|
130
|
-
if (!f) {
|
131
|
-
if (l) r.buttons.current.push(b);
|
132
|
-
else {
|
133
|
-
let a = r.buttons.current.indexOf(b);
|
134
|
-
a !== -1 && r.buttons.current.splice(a, 1);
|
135
|
-
}
|
136
|
-
r.buttons.current.length > 1 && console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."), l && o({ type: 2, button: l });
|
137
|
-
}
|
138
|
-
})), $ = V(t, n), T = fe(t), k = E((l) => {
|
139
|
-
var a, m, v;
|
140
|
-
if (f) {
|
141
|
-
if (r.popoverState === 1) return;
|
142
|
-
switch (l.key) {
|
143
|
-
case U.Space:
|
144
|
-
case U.Enter:
|
145
|
-
l.preventDefault(), (m = (a = l.target).click) == null || m.call(a), o({ type: 1 }), (v = r.button) == null || v.focus();
|
146
|
-
break;
|
147
|
-
}
|
148
|
-
} else switch (l.key) {
|
149
|
-
case U.Space:
|
150
|
-
case U.Enter:
|
151
|
-
l.preventDefault(), l.stopPropagation(), r.popoverState === 1 && (I == null || I(r.buttonId)), o({ type: 0 });
|
152
|
-
break;
|
153
|
-
case U.Escape:
|
154
|
-
if (r.popoverState !== 0) return I == null ? void 0 : I(r.buttonId);
|
155
|
-
if (!t.current || T != null && T.activeElement && !t.current.contains(T.activeElement)) return;
|
156
|
-
l.preventDefault(), l.stopPropagation(), o({ type: 1 });
|
157
|
-
break;
|
158
|
-
}
|
159
|
-
}), J = E((l) => {
|
160
|
-
f || l.key === U.Space && l.preventDefault();
|
161
|
-
}), C = E((l) => {
|
162
|
-
var a, m;
|
163
|
-
ke(l.currentTarget) || i || (f ? (o({ type: 1 }), (a = r.button) == null || a.focus()) : (l.preventDefault(), l.stopPropagation(), r.popoverState === 1 && (I == null || I(r.buttonId)), o({ type: 0 }), (m = r.button) == null || m.focus()));
|
164
|
-
}), W = E((l) => {
|
165
|
-
l.preventDefault(), l.stopPropagation();
|
166
|
-
}), { isFocusVisible: x, focusProps: w } = je({ autoFocus: c }), { isHovered: X, hoverProps: A } = qe({ isDisabled: i }), { pressed: B, pressProps: L } = Xe({ disabled: i }), O = r.popoverState === 0, M = R(() => ({ open: O, active: B || O, disabled: i, hover: X, focus: x, autofocus: c }), [O, X, x, B, i, c]), Z = st(e, r.button), ee = f ? ye({ ref: $, type: Z, onKeyDown: k, onClick: C, disabled: i || void 0, autoFocus: c }, w, A, L) : ye({ ref: p, id: r.buttonId, type: Z, "aria-expanded": r.popoverState === 0, "aria-controls": r.panel ? r.panelId : void 0, disabled: i || void 0, autoFocus: c, onKeyDown: k, onKeyUp: J, onClick: C, onMouseDown: W }, w, A, L), G = Me(), u = E(() => {
|
167
|
-
let l = r.panel;
|
168
|
-
if (!l) return;
|
169
|
-
function a() {
|
170
|
-
q(G.current, { [D.Forwards]: () => j(l, H.First), [D.Backwards]: () => j(l, H.Last) }) === $e.Error && j(Se().filter((m) => m.dataset.headlessuiFocusGuard !== "true"), q(G.current, { [D.Forwards]: H.Next, [D.Backwards]: H.Previous }), { relativeTo: r.button });
|
171
|
-
}
|
172
|
-
a();
|
173
|
-
});
|
174
|
-
return S.createElement(S.Fragment, null, re({ ourProps: ee, theirProps: d, slot: M, defaultTag: Et, name: "Popover.Button" }), O && !f && y && S.createElement(pe, { id: g, ref: r.afterButtonSentinel, features: de.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: u }));
|
175
|
-
}
|
176
|
-
let It = "div", Tt = ce.RenderStrategy | ce.Static;
|
177
|
-
function Re(e, n) {
|
178
|
-
let s = ie(), { id: P = `headlessui-popover-backdrop-${s}`, transition: i = !1, ...c } = e, [{ popoverState: d }, r] = ve("Popover.Backdrop"), [o, y] = ne(null), t = V(n, y), g = _e(), [h, I] = Be(i, o, g !== null ? (g & Y.Open) === Y.Open : d === 0), f = E(($) => {
|
179
|
-
if (ke($.currentTarget)) return $.preventDefault();
|
180
|
-
r({ type: 1 });
|
181
|
-
}), b = R(() => ({ open: d === 0 }), [d]), p = { ref: t, id: P, "aria-hidden": !0, onClick: f, ...Fe(I) };
|
182
|
-
return re({ ourProps: p, theirProps: c, slot: b, defaultTag: It, features: Tt, visible: h, name: "Popover.Backdrop" });
|
183
|
-
}
|
184
|
-
let wt = "div", _t = ce.RenderStrategy | ce.Static;
|
185
|
-
function Bt(e, n) {
|
186
|
-
let s = ie(), { id: P = `headlessui-popover-panel-${s}`, focus: i = !1, anchor: c, portal: d = !1, modal: r = !1, transition: o = !1, ...y } = e, [t, g] = ve("Popover.Panel"), { close: h, isPortalled: I } = Ee("Popover.Panel"), f = `headlessui-focus-sentinel-before-${s}`, b = `headlessui-focus-sentinel-after-${s}`, p = Q(null), $ = tt(c), [T, k] = nt($), J = ot();
|
187
|
-
$ && (d = !0);
|
188
|
-
let [C, W] = ne(null), x = V(p, n, $ ? T : null, E((a) => g({ type: 4, panel: a })), W), w = fe(p), X = Je();
|
189
|
-
We(() => (g({ type: 5, panelId: P }), () => {
|
190
|
-
g({ type: 5, panelId: null });
|
191
|
-
}), [P, g]);
|
192
|
-
let A = _e(), [B, L] = Be(o, C, A !== null ? (A & Y.Open) === Y.Open : t.popoverState === 0);
|
193
|
-
rt(B, t.button, () => {
|
194
|
-
g({ type: 1 });
|
195
|
-
});
|
196
|
-
let O = t.__demoMode ? !1 : r && B;
|
197
|
-
lt(O, w);
|
198
|
-
let M = E((a) => {
|
199
|
-
var m;
|
200
|
-
switch (a.key) {
|
201
|
-
case U.Escape:
|
202
|
-
if (t.popoverState !== 0 || !p.current || w != null && w.activeElement && !p.current.contains(w.activeElement)) return;
|
203
|
-
a.preventDefault(), a.stopPropagation(), g({ type: 1 }), (m = t.button) == null || m.focus();
|
204
|
-
break;
|
205
|
-
}
|
206
|
-
});
|
207
|
-
se(() => {
|
208
|
-
var a;
|
209
|
-
e.static || t.popoverState === 1 && ((a = e.unmount) == null || a) && g({ type: 4, panel: null });
|
210
|
-
}, [t.popoverState, e.unmount, e.static, g]), se(() => {
|
211
|
-
if (t.__demoMode || !i || t.popoverState !== 0 || !p.current) return;
|
212
|
-
let a = w == null ? void 0 : w.activeElement;
|
213
|
-
p.current.contains(a) || j(p.current, H.First);
|
214
|
-
}, [t.__demoMode, i, p.current, t.popoverState]);
|
215
|
-
let Z = R(() => ({ open: t.popoverState === 0, close: h }), [t.popoverState, h]), ee = ye($ ? J() : {}, { ref: x, id: P, onKeyDown: M, onBlur: i && t.popoverState === 0 ? (a) => {
|
216
|
-
var m, v, F, _, K;
|
217
|
-
let N = a.relatedTarget;
|
218
|
-
N && p.current && ((m = p.current) != null && m.contains(N) || (g({ type: 1 }), ((F = (v = t.beforePanelSentinel.current) == null ? void 0 : v.contains) != null && F.call(v, N) || (K = (_ = t.afterPanelSentinel.current) == null ? void 0 : _.contains) != null && K.call(_, N)) && N.focus({ preventScroll: !0 })));
|
219
|
-
} : void 0, tabIndex: -1, style: { ...y.style, ...k, "--button-width": at(t.button, !0).width }, ...Fe(L) }), G = Me(), u = E(() => {
|
220
|
-
let a = p.current;
|
221
|
-
if (!a) return;
|
222
|
-
function m() {
|
223
|
-
q(G.current, { [D.Forwards]: () => {
|
224
|
-
var v;
|
225
|
-
j(a, H.First) === $e.Error && ((v = t.afterPanelSentinel.current) == null || v.focus());
|
226
|
-
}, [D.Backwards]: () => {
|
227
|
-
var v;
|
228
|
-
(v = t.button) == null || v.focus({ preventScroll: !0 });
|
229
|
-
} });
|
230
|
-
}
|
231
|
-
m();
|
232
|
-
}), l = E(() => {
|
233
|
-
let a = p.current;
|
234
|
-
if (!a) return;
|
235
|
-
function m() {
|
236
|
-
q(G.current, { [D.Forwards]: () => {
|
237
|
-
if (!t.button) return;
|
238
|
-
let v = Se(), F = v.indexOf(t.button), _ = v.slice(0, F + 1), K = [...v.slice(F + 1), ..._];
|
239
|
-
for (let N of K.slice()) if (N.dataset.headlessuiFocusGuard === "true" || C != null && C.contains(N)) {
|
240
|
-
let Ie = K.indexOf(N);
|
241
|
-
Ie !== -1 && K.splice(Ie, 1);
|
242
|
-
}
|
243
|
-
j(K, H.First, { sorted: !1 });
|
244
|
-
}, [D.Backwards]: () => {
|
245
|
-
var v;
|
246
|
-
j(a, H.Previous) === $e.Error && ((v = t.button) == null || v.focus());
|
247
|
-
} });
|
248
|
-
}
|
249
|
-
m();
|
250
|
-
});
|
251
|
-
return S.createElement(ct, null, S.createElement(be.Provider, { value: P }, S.createElement(me.Provider, { value: { close: h, isPortalled: I } }, S.createElement(ut, { enabled: d ? e.static || B : !1 }, B && I && S.createElement(pe, { id: f, ref: t.beforePanelSentinel, features: de.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: u }), re({ mergeRefs: X, ourProps: ee, theirProps: y, slot: Z, defaultTag: wt, features: _t, visible: B, name: "Popover.Panel" }), B && I && S.createElement(pe, { id: b, ref: t.afterPanelSentinel, features: de.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: l })))));
|
252
|
-
}
|
253
|
-
let Ft = "div";
|
254
|
-
function kt(e, n) {
|
255
|
-
let s = Q(null), P = V(s, n), [i, c] = ne([]), d = E((f) => {
|
256
|
-
c((b) => {
|
257
|
-
let p = b.indexOf(f);
|
258
|
-
if (p !== -1) {
|
259
|
-
let $ = b.slice();
|
260
|
-
return $.splice(p, 1), $;
|
261
|
-
}
|
262
|
-
return b;
|
263
|
-
});
|
264
|
-
}), r = E((f) => (c((b) => [...b, f]), () => d(f))), o = E(() => {
|
265
|
-
var f;
|
266
|
-
let b = we(s);
|
267
|
-
if (!b) return !1;
|
268
|
-
let p = b.activeElement;
|
269
|
-
return (f = s.current) != null && f.contains(p) ? !0 : i.some(($) => {
|
270
|
-
var T, k;
|
271
|
-
return ((T = b.getElementById($.buttonId.current)) == null ? void 0 : T.contains(p)) || ((k = b.getElementById($.panelId.current)) == null ? void 0 : k.contains(p));
|
272
|
-
});
|
273
|
-
}), y = E((f) => {
|
274
|
-
for (let b of i) b.buttonId.current !== f && b.close();
|
275
|
-
}), t = R(() => ({ registerPopover: r, unregisterPopover: d, isFocusWithinPopoverGroup: o, closeOthers: y }), [r, d, o, y]), g = R(() => ({}), []), h = e, I = { ref: P };
|
276
|
-
return S.createElement(xe, null, S.createElement(ge.Provider, { value: t }, re({ ourProps: I, theirProps: h, slot: g, defaultTag: Ft, name: "Popover.Group" })));
|
277
|
-
}
|
278
|
-
let Ct = z(ht), De = z(gt), xt = z(Re), Ot = z(Re), He = z(Bt), Mt = z(kt), Nt = Object.assign(Ct, { Button: De, Backdrop: Ot, Overlay: xt, Panel: He, Group: Mt });
|
279
|
-
const Rt = "_menu_1tfih_3", ue = {
|
280
|
-
menu: Rt,
|
281
|
-
"menu-button": "_menu-button_1tfih_6",
|
282
|
-
"menu-items": "_menu-items_1tfih_11",
|
283
|
-
"menu-items-container": "_menu-items-container_1tfih_22"
|
284
|
-
}, Zt = 300, Qt = Ke(
|
285
|
-
({
|
286
|
-
children: e,
|
287
|
-
position: n = "bottom end",
|
288
|
-
popoverProps: s,
|
289
|
-
className: P,
|
290
|
-
buttonClassName: i,
|
291
|
-
panelClassName: c,
|
292
|
-
menuItemsClassName: d,
|
293
|
-
buttonContent: r
|
294
|
-
}) => /* @__PURE__ */ le(
|
295
|
-
Nt,
|
296
|
-
{
|
297
|
-
as: "div",
|
298
|
-
className: ae(ue.menu, P),
|
299
|
-
...s,
|
300
|
-
children: ({ close: o }) => /* @__PURE__ */ Ae(Le, { children: [
|
301
|
-
/* @__PURE__ */ le(
|
302
|
-
De,
|
303
|
-
{
|
304
|
-
onClick: (y) => y == null ? void 0 : y.stopPropagation(),
|
305
|
-
className: ae(ue["menu-button"], i),
|
306
|
-
children: r
|
307
|
-
}
|
308
|
-
),
|
309
|
-
/* @__PURE__ */ le(
|
310
|
-
He,
|
311
|
-
{
|
312
|
-
anchor: n,
|
313
|
-
className: ae(ue["menu-items"], c),
|
314
|
-
children: /* @__PURE__ */ le(
|
315
|
-
"div",
|
316
|
-
{
|
317
|
-
className: ae(
|
318
|
-
ue["menu-items-container"],
|
319
|
-
d
|
320
|
-
),
|
321
|
-
children: typeof e == "function" ? e({ close: o }) : e
|
322
|
-
}
|
323
|
-
)
|
324
|
-
}
|
325
|
-
)
|
326
|
-
] })
|
327
|
-
}
|
328
|
-
)
|
329
|
-
);
|
330
|
-
export {
|
331
|
-
Zt as ANIMATION_DELAY,
|
332
|
-
Qt as Dropdown
|
333
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export { Dropdown } from './Dropdown';
|