mimir-ui-kit 1.38.36 → 1.38.39
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/Input-DAmc_HxO.js +227 -0
- package/dist/ProgressBar-DEFs1tWq.js +55 -0
- package/dist/assets/Accordion.css +1 -0
- package/dist/assets/AccordionItem.css +1 -0
- package/dist/assets/Avatar.css +1 -0
- package/dist/assets/Button.css +1 -0
- package/dist/assets/CheckboxMimir.css +1 -0
- package/dist/assets/Chip.css +1 -0
- package/dist/assets/Drawer.css +1 -0
- package/dist/assets/Dropdown.css +1 -0
- package/dist/assets/GosZnak.css +1 -0
- package/dist/assets/Image.css +1 -0
- package/dist/assets/Input.css +1 -0
- package/dist/assets/InputPassword.css +1 -0
- package/dist/assets/InputRangeSlider.css +1 -0
- package/dist/assets/Link.css +1 -0
- package/dist/assets/ListFiles.css +1 -0
- package/dist/assets/ListPhotos.css +1 -0
- package/dist/assets/Loader.css +1 -0
- package/dist/assets/MergedButton.css +1 -0
- package/dist/assets/MessageShortReply.css +1 -0
- package/dist/assets/MultiSelectSearch.css +1 -0
- package/dist/assets/NotificationBadge.css +1 -0
- package/dist/assets/OtpInput.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/ProgressBar.css +1 -0
- package/dist/assets/RadioGroup.css +1 -0
- package/dist/assets/SelectSearch.css +1 -0
- package/dist/assets/SkeletonCircle.css +1 -0
- package/dist/assets/SkeletonText.css +1 -0
- package/dist/assets/Slider.css +1 -0
- package/dist/assets/Steps.css +1 -0
- package/dist/assets/Switcher.css +1 -0
- package/dist/assets/TabTrail.css +1 -0
- package/dist/assets/Tag.css +1 -0
- package/dist/assets/TextArea.css +1 -0
- package/dist/assets/Timer.css +1 -0
- package/dist/assets/TwinSwitcher.css +1 -0
- package/dist/assets/Uploader.css +1 -0
- package/dist/assets/UploaderFiles.css +1 -0
- package/dist/assets/UploaderPhotos.css +1 -0
- package/dist/assets/Vote.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/styles.css +1 -0
- package/dist/assets/variant.css +1 -0
- package/dist/bugs-diTMAGNw.js +18 -0
- package/dist/close-provider-CEutdhG8.js +9 -0
- package/dist/combobox-CVtJDVoZ.js +980 -0
- package/dist/components/Accordion/Accordion.d.ts +45 -0
- package/dist/components/Accordion/Accordion.js +267 -0
- package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +8 -0
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +10 -0
- package/dist/components/Accordion/AccordionItem/index.d.ts +1 -0
- package/dist/components/Accordion/AccordionItem/index.js +4 -0
- package/dist/components/Accordion/constants.d.ts +24 -0
- package/dist/components/Accordion/constants.js +9 -0
- package/dist/components/Accordion/index.d.ts +3 -0
- package/dist/components/Accordion/index.js +8 -0
- package/dist/components/AnchorLink/Link.d.ts +17 -0
- package/dist/components/AnchorLink/Link.js +52 -0
- package/dist/components/AnchorLink/constants.d.ts +10 -0
- package/dist/components/AnchorLink/constants.js +5 -0
- package/dist/components/AnchorLink/index.d.ts +2 -0
- package/dist/components/AnchorLink/index.js +7 -0
- package/dist/components/Avatar/Avatar.d.ts +3 -0
- package/dist/components/Avatar/Avatar.js +58 -0
- package/dist/components/Avatar/constants.d.ts +5 -0
- package/dist/components/Avatar/constants.js +4 -0
- package/dist/components/Avatar/index.d.ts +3 -0
- package/dist/components/Avatar/index.js +6 -0
- package/dist/components/Avatar/types.d.ts +10 -0
- package/dist/components/Button/Button.d.ts +310 -0
- package/dist/components/Button/Button.js +100 -0
- package/dist/components/Button/constants.d.ts +40 -0
- package/dist/components/Button/constants.js +9 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.js +11 -0
- package/dist/components/Button/types.d.ts +38 -0
- package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +301 -0
- package/dist/components/CheckboxMimir/CheckboxMimir.js +63 -0
- package/dist/components/CheckboxMimir/index.d.ts +2 -0
- package/dist/components/CheckboxMimir/index.js +4 -0
- package/dist/components/Chip/Chip.d.ts +30 -0
- package/dist/components/Chip/Chip.js +44 -0
- package/dist/components/Chip/constants.d.ts +13 -0
- package/dist/components/Chip/constants.js +5 -0
- package/dist/components/Chip/index.d.ts +2 -0
- package/dist/components/Chip/index.js +7 -0
- package/dist/components/DatePicker/DatePicker.d.ts +110 -0
- package/dist/components/DatePicker/DatePicker.js +166 -0
- package/dist/components/DatePicker/DatePickerModal.d.ts +9 -0
- package/dist/components/DatePicker/DatePickerModal.js +147 -0
- package/dist/components/DatePicker/MonthPickerModal.d.ts +8 -0
- package/dist/components/DatePicker/MonthPickerModal.js +94 -0
- package/dist/components/DatePicker/YearPickerModal.d.ts +8 -0
- package/dist/components/DatePicker/YearPickerModal.js +89 -0
- package/dist/components/DatePicker/constants.d.ts +17 -0
- package/dist/components/DatePicker/constants.js +28 -0
- package/dist/components/DatePicker/hooks.d.ts +3 -0
- package/dist/components/DatePicker/hooks.js +20 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.js +4 -0
- package/dist/components/DatePicker/utils.d.ts +6 -0
- package/dist/components/DatePicker/utils.js +9 -0
- package/dist/components/Drawer/Drawer.d.ts +87 -0
- package/dist/components/Drawer/Drawer.js +166 -0
- package/dist/components/Drawer/constants.d.ts +6 -0
- package/dist/components/Drawer/constants.js +4 -0
- package/dist/components/Drawer/index.d.ts +2 -0
- package/dist/components/Drawer/index.js +6 -0
- package/dist/components/Dropdown/Dropdown.d.ts +45 -0
- package/dist/components/Dropdown/Dropdown.js +333 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/Dropdown/index.js +4 -0
- package/dist/components/GosZnak/GosZnak.d.ts +4 -0
- package/dist/components/GosZnak/GosZnak.js +63 -0
- package/dist/components/GosZnak/constants.d.ts +11 -0
- package/dist/components/GosZnak/constants.js +5 -0
- package/dist/components/GosZnak/index.d.ts +3 -0
- package/dist/components/GosZnak/index.js +7 -0
- package/dist/components/GosZnak/types.d.ts +26 -0
- package/dist/components/Image/Image.d.ts +33 -0
- package/dist/components/Image/Image.js +60 -0
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/Image/index.js +4 -0
- package/dist/components/Input/Input.d.ts +71 -0
- package/dist/components/Input/Input.js +11 -0
- package/dist/components/Input/constants.d.ts +14 -0
- package/dist/components/Input/constants.js +6 -0
- package/dist/components/Input/index.d.ts +3 -0
- package/dist/components/Input/index.js +8 -0
- package/dist/components/Input/types.d.ts +22 -0
- package/dist/components/InputPassword/InputPassword.d.ts +4 -0
- package/dist/components/InputPassword/InputPassword.js +58 -0
- package/dist/components/InputPassword/index.d.ts +2 -0
- package/dist/components/InputPassword/index.js +4 -0
- package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +4 -0
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +35 -0
- package/dist/components/InputPhoneNumber/index.d.ts +2 -0
- package/dist/components/InputPhoneNumber/index.js +7 -0
- package/dist/components/InputPhoneNumber/utils.d.ts +2 -0
- package/dist/components/InputPhoneNumber/utils.js +9 -0
- package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +3 -0
- package/dist/components/InputRangeSlider/InputRangeSlider.js +171 -0
- package/dist/components/InputRangeSlider/constants.d.ts +10 -0
- package/dist/components/InputRangeSlider/constants.js +8 -0
- package/dist/components/InputRangeSlider/index.d.ts +3 -0
- package/dist/components/InputRangeSlider/index.js +7 -0
- package/dist/components/InputRangeSlider/types.d.ts +33 -0
- package/dist/components/ListFiles/ListFiles.d.ts +40 -0
- package/dist/components/ListFiles/ListFiles.js +66 -0
- package/dist/components/ListFiles/constants.d.ts +7 -0
- package/dist/components/ListFiles/constants.js +35 -0
- package/dist/components/ListFiles/index.d.ts +3 -0
- package/dist/components/ListFiles/index.js +6 -0
- package/dist/components/ListPhotos/ListPhotos.d.ts +28 -0
- package/dist/components/ListPhotos/ListPhotos.js +44 -0
- package/dist/components/ListPhotos/constants.d.ts +3 -0
- package/dist/components/ListPhotos/constants.js +21 -0
- package/dist/components/ListPhotos/index.d.ts +2 -0
- package/dist/components/ListPhotos/index.js +4 -0
- package/dist/components/Loader/Loader.d.ts +7 -0
- package/dist/components/Loader/Loader.js +16 -0
- package/dist/components/Loader/constants.d.ts +4 -0
- package/dist/components/Loader/constants.js +4 -0
- package/dist/components/Loader/index.d.ts +2 -0
- package/dist/components/Loader/index.js +6 -0
- package/dist/components/MergedButton/MergedButton.d.ts +18 -0
- package/dist/components/MergedButton/MergedButton.js +48 -0
- package/dist/components/MergedButton/constants.d.ts +5 -0
- package/dist/components/MergedButton/constants.js +4 -0
- package/dist/components/MergedButton/index.d.ts +2 -0
- package/dist/components/MergedButton/index.js +6 -0
- package/dist/components/MessageShortReply/MessageShortReply.d.ts +30 -0
- package/dist/components/MessageShortReply/MessageShortReply.js +51 -0
- package/dist/components/MessageShortReply/constants.d.ts +9 -0
- package/dist/components/MessageShortReply/constants.js +4 -0
- package/dist/components/MessageShortReply/index.d.ts +2 -0
- package/dist/components/MessageShortReply/index.js +6 -0
- package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +26 -0
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +375 -0
- package/dist/components/MultiSelectSearch/constants.d.ts +7 -0
- package/dist/components/MultiSelectSearch/constants.js +8 -0
- package/dist/components/MultiSelectSearch/index.d.ts +3 -0
- package/dist/components/MultiSelectSearch/index.js +6 -0
- package/dist/components/MultiSelectSearch/types.d.ts +72 -0
- package/dist/components/MultiSelectSearch/utils.d.ts +11 -0
- package/dist/components/MultiSelectSearch/utils.js +28 -0
- package/dist/components/NotificationBadge/NotificationBadge.d.ts +3 -0
- package/dist/components/NotificationBadge/NotificationBadge.js +36 -0
- package/dist/components/NotificationBadge/constants.d.ts +5 -0
- package/dist/components/NotificationBadge/constants.js +4 -0
- package/dist/components/NotificationBadge/index.d.ts +3 -0
- package/dist/components/NotificationBadge/index.js +6 -0
- package/dist/components/NotificationBadge/types.d.ts +25 -0
- package/dist/components/OtpInput/OtpInput.d.ts +23 -0
- package/dist/components/OtpInput/OtpInput.js +70 -0
- package/dist/components/OtpInput/constants.d.ts +3 -0
- package/dist/components/OtpInput/constants.js +6 -0
- package/dist/components/OtpInput/hooks.d.ts +20 -0
- package/dist/components/OtpInput/hooks.js +102 -0
- package/dist/components/OtpInput/index.d.ts +1 -0
- package/dist/components/OtpInput/index.js +4 -0
- package/dist/components/Pagination/Pagination.d.ts +40 -0
- package/dist/components/Pagination/Pagination.js +179 -0
- package/dist/components/Pagination/constants.d.ts +2 -0
- package/dist/components/Pagination/constants.js +5 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Pagination/index.js +4 -0
- package/dist/components/Pagination/types.d.ts +0 -0
- package/dist/components/Portal/Portal.d.ts +7 -0
- package/dist/components/Portal/Portal.js +8 -0
- package/dist/components/Portal/index.d.ts +1 -0
- package/dist/components/Portal/index.js +4 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +71 -0
- package/dist/components/RadioGroup/RadioGroup.js +195 -0
- package/dist/components/RadioGroup/index.d.ts +2 -0
- package/dist/components/RadioGroup/index.js +4 -0
- package/dist/components/SelectSearch/SelectSearch.d.ts +22 -0
- package/dist/components/SelectSearch/SelectSearch.js +263 -0
- package/dist/components/SelectSearch/constants.d.ts +4 -0
- package/dist/components/SelectSearch/constants.js +4 -0
- package/dist/components/SelectSearch/index.d.ts +3 -0
- package/dist/components/SelectSearch/index.js +6 -0
- package/dist/components/SelectSearch/types.d.ts +59 -0
- package/dist/components/SelectSearch/utils.d.ts +5 -0
- package/dist/components/SelectSearch/utils.js +17 -0
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +12 -0
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +33 -0
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +9 -0
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +29 -0
- package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +10 -0
- package/dist/components/Skeleton/SkeletonText/SkeletonText.js +52 -0
- package/dist/components/Skeleton/constants.d.ts +5 -0
- package/dist/components/Skeleton/constants.js +4 -0
- package/dist/components/Skeleton/index.d.ts +4 -0
- package/dist/components/Skeleton/index.js +10 -0
- package/dist/components/Slider/Slider.d.ts +75 -0
- package/dist/components/Slider/Slider.js +3075 -0
- package/dist/components/Slider/constants.d.ts +4 -0
- package/dist/components/Slider/constants.js +4 -0
- package/dist/components/Slider/index.d.ts +3 -0
- package/dist/components/Slider/index.js +9 -0
- package/dist/components/Steps/Steps.d.ts +78 -0
- package/dist/components/Steps/Steps.js +123 -0
- package/dist/components/Steps/constants.d.ts +49 -0
- package/dist/components/Steps/constants.js +57 -0
- package/dist/components/Steps/index.d.ts +3 -0
- package/dist/components/Steps/index.js +7 -0
- package/dist/components/Steps/types.d.ts +10 -0
- package/dist/components/Switcher/Switcher.d.ts +3 -0
- package/dist/components/Switcher/Switcher.js +107 -0
- package/dist/components/Switcher/constants.d.ts +4 -0
- package/dist/components/Switcher/constants.js +4 -0
- package/dist/components/Switcher/index.d.ts +3 -0
- package/dist/components/Switcher/index.js +6 -0
- package/dist/components/Switcher/types.d.ts +30 -0
- package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +10 -0
- package/dist/components/TabTrail/TabButtons/TabButtons.js +33 -0
- package/dist/components/TabTrail/TabButtons/constants.d.ts +8 -0
- package/dist/components/TabTrail/TabButtons/constants.js +5 -0
- package/dist/components/TabTrail/TabButtons/index.d.ts +1 -0
- package/dist/components/TabTrail/TabButtons/index.js +4 -0
- package/dist/components/TabTrail/TabTrail.d.ts +68 -0
- package/dist/components/TabTrail/TabTrail.js +313 -0
- package/dist/components/TabTrail/constants.d.ts +4 -0
- package/dist/components/TabTrail/constants.js +4 -0
- package/dist/components/TabTrail/index.d.ts +2 -0
- package/dist/components/TabTrail/index.js +6 -0
- package/dist/components/Tag/Tag.d.ts +42 -0
- package/dist/components/Tag/Tag.js +46 -0
- package/dist/components/Tag/constants.d.ts +9 -0
- package/dist/components/Tag/constants.js +5 -0
- package/dist/components/Tag/index.d.ts +2 -0
- package/dist/components/Tag/index.js +7 -0
- package/dist/components/Tag/types.d.ts +0 -0
- package/dist/components/TextArea/TextArea.d.ts +7 -0
- package/dist/components/TextArea/TextArea.js +224 -0
- package/dist/components/TextArea/constants.d.ts +5 -0
- package/dist/components/TextArea/constants.js +4 -0
- package/dist/components/TextArea/hooks.d.ts +3 -0
- package/dist/components/TextArea/hooks.js +15 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/TextArea/index.js +6 -0
- package/dist/components/TextArea/types.d.ts +6 -0
- package/dist/components/Timer/Timer.d.ts +24 -0
- package/dist/components/Timer/Timer.js +23 -0
- package/dist/components/Timer/index.d.ts +1 -0
- package/dist/components/Timer/index.js +4 -0
- package/dist/components/Toasts/ProgressBar.d.ts +5 -0
- package/dist/components/Toasts/ProgressBar.js +8 -0
- package/dist/components/Toasts/Toast.d.ts +54 -0
- package/dist/components/Toasts/Toast.js +72 -0
- package/dist/components/Toasts/ToastList.d.ts +10 -0
- package/dist/components/Toasts/ToastList.js +41 -0
- package/dist/components/Toasts/ToastsProvider.d.ts +3 -0
- package/dist/components/Toasts/ToastsProvider.js +42 -0
- package/dist/components/Toasts/constants.d.ts +23 -0
- package/dist/components/Toasts/constants.js +15 -0
- package/dist/components/Toasts/hooks.d.ts +2 -0
- package/dist/components/Toasts/hooks.js +15 -0
- package/dist/components/Toasts/index.d.ts +3 -0
- package/dist/components/Toasts/index.js +9 -0
- package/dist/components/Toasts/store.d.ts +29 -0
- package/dist/components/Toasts/store.js +40 -0
- package/dist/components/Toasts/types.d.ts +5 -0
- package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +10 -0
- package/dist/components/TwinSwitcher/TwinSwitcher.js +61 -0
- package/dist/components/TwinSwitcher/index.d.ts +1 -0
- package/dist/components/TwinSwitcher/index.js +4 -0
- package/dist/components/UniversalUploader/UniversalUploader.d.ts +10 -0
- package/dist/components/UniversalUploader/UniversalUploader.js +121 -0
- package/dist/components/UniversalUploader/constants.d.ts +6 -0
- package/dist/components/UniversalUploader/constants.js +13 -0
- package/dist/components/UniversalUploader/index.d.ts +3 -0
- package/dist/components/UniversalUploader/index.js +6 -0
- package/dist/components/UniversalUploader/types.d.ts +21 -0
- package/dist/components/Uploader/Uploader.d.ts +77 -0
- package/dist/components/Uploader/Uploader.js +116 -0
- package/dist/components/Uploader/constants.d.ts +8 -0
- package/dist/components/Uploader/constants.js +37 -0
- package/dist/components/Uploader/index.d.ts +4 -0
- package/dist/components/Uploader/index.js +6 -0
- package/dist/components/UploaderFiles/UploaderFiles.d.ts +3 -0
- package/dist/components/UploaderFiles/UploaderFiles.js +92 -0
- package/dist/components/UploaderFiles/constants.d.ts +4 -0
- package/dist/components/UploaderFiles/constants.js +4 -0
- package/dist/components/UploaderFiles/index.d.ts +3 -0
- package/dist/components/UploaderFiles/index.js +6 -0
- package/dist/components/UploaderFiles/types.d.ts +75 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +60 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.js +72 -0
- package/dist/components/UploaderPhotos/index.d.ts +2 -0
- package/dist/components/UploaderPhotos/index.js +4 -0
- package/dist/components/Vote/Vote.d.ts +171 -0
- package/dist/components/Vote/Vote.js +95 -0
- package/dist/components/Vote/constants.d.ts +7 -0
- package/dist/components/Vote/constants.js +9 -0
- package/dist/components/Vote/index.d.ts +3 -0
- package/dist/components/Vote/index.js +6 -0
- package/dist/components/Vote/types.d.ts +6 -0
- package/dist/components/index.d.ts +70 -0
- package/dist/components/index.js +165 -0
- package/dist/field-FJ34aSs4.js +12 -0
- package/dist/focus-management-DE4t_lW3.js +78 -0
- package/dist/hidden-DbgtYPOH.js +13 -0
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/index.js +19 -0
- package/dist/hooks/useClickOutside/index.d.ts +1 -0
- package/dist/hooks/useClickOutside/index.js +4 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +7 -0
- package/dist/hooks/useClickOutside/useClickOutside.js +16 -0
- package/dist/hooks/useCopyToClipboard/index.d.ts +1 -0
- package/dist/hooks/useCopyToClipboard/index.js +4 -0
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +4 -0
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +16 -0
- package/dist/hooks/useInterval/index.d.ts +1 -0
- package/dist/hooks/useInterval/index.js +4 -0
- package/dist/hooks/useInterval/useInterval.d.ts +1 -0
- package/dist/hooks/useInterval/useInterval.js +15 -0
- package/dist/hooks/useLockBodyScroll/index.d.ts +1 -0
- package/dist/hooks/useLockBodyScroll/index.js +4 -0
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +6 -0
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +16 -0
- package/dist/hooks/useMediaQuery/constants.d.ts +20 -0
- package/dist/hooks/useMediaQuery/constants.js +5 -0
- package/dist/hooks/useMediaQuery/index.d.ts +2 -0
- package/dist/hooks/useMediaQuery/index.js +7 -0
- package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +14 -0
- package/dist/hooks/useMediaQuery/useMediaQuery.js +16 -0
- package/dist/hooks/useMergeRefs/index.d.ts +1 -0
- package/dist/hooks/useMergeRefs/index.js +4 -0
- package/dist/hooks/useMergeRefs/useMergeRefs.d.ts +4 -0
- package/dist/hooks/useMergeRefs/useMergeRefs.js +29 -0
- package/dist/hooks/useResizeObserver/getElement.d.ts +4 -0
- package/dist/hooks/useResizeObserver/getElement.js +4 -0
- package/dist/hooks/useResizeObserver/index.d.ts +1 -0
- package/dist/hooks/useResizeObserver/index.js +4 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +17 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.js +36 -0
- package/dist/hooks/useTimer/index.d.ts +18 -0
- package/dist/hooks/useTimer/index.js +57 -0
- package/dist/hooks/useTimer/useTimer.d.ts +18 -0
- package/dist/hooks/useTimer/useTimer.js +58 -0
- package/dist/hooks/useTimer/utils.d.ts +24 -0
- package/dist/hooks/useTimer/utils.js +71 -0
- package/dist/hooks/useWindowSize/index.d.ts +4 -0
- package/dist/hooks/useWindowSize/index.js +20 -0
- package/dist/icons/Icon.d.ts +7 -0
- package/dist/icons/Icon.js +10 -0
- package/dist/icons/components/12px/Close12px.js +16 -0
- package/dist/icons/components/12px/MessageRead12px.js +35 -0
- package/dist/icons/components/16px/Accept16px.js +25 -0
- package/dist/icons/components/16px/Acts16px.js +38 -0
- package/dist/icons/components/16px/Acts16pxF.js +33 -0
- package/dist/icons/components/16px/AdditionalServicess16px.js +31 -0
- package/dist/icons/components/16px/AdditionalServicess16pxF.js +20 -0
- package/dist/icons/components/16px/Agents16px.js +22 -0
- package/dist/icons/components/16px/Agents16pxF.js +20 -0
- package/dist/icons/components/16px/Alarm16px.js +23 -0
- package/dist/icons/components/16px/ArrowDown16px.js +22 -0
- package/dist/icons/components/16px/ArrowLeft16px.js +22 -0
- package/dist/icons/components/16px/ArrowRight16px.js +22 -0
- package/dist/icons/components/16px/ArrowUp16px.js +22 -0
- package/dist/icons/components/16px/ArrowUpright16px.js +22 -0
- package/dist/icons/components/16px/AttachFile16px.js +22 -0
- package/dist/icons/components/16px/Bell16px.js +42 -0
- package/dist/icons/components/16px/Bell16pxF.js +32 -0
- package/dist/icons/components/16px/Calculator16px.js +22 -0
- package/dist/icons/components/16px/CalculatorLkk16px.js +33 -0
- package/dist/icons/components/16px/CalculatorLkk16pxF.js +22 -0
- package/dist/icons/components/16px/Calendar16px.js +22 -0
- package/dist/icons/components/16px/Camera16px.js +34 -0
- package/dist/icons/components/16px/Car16px.js +33 -0
- package/dist/icons/components/16px/Car16pxF.js +22 -0
- package/dist/icons/components/16px/Catalog16px.js +22 -0
- package/dist/icons/components/16px/Certs16px.js +31 -0
- package/dist/icons/components/16px/Certs16pxF.js +31 -0
- package/dist/icons/components/16px/Change16px.js +20 -0
- package/dist/icons/components/16px/Chat16px.js +31 -0
- package/dist/icons/components/16px/Chat16pxF.js +22 -0
- package/dist/icons/components/16px/Chatbot16px.js +262 -0
- package/dist/icons/components/16px/Close16px.js +22 -0
- package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +20 -0
- package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +20 -0
- package/dist/icons/components/16px/Coin16px.js +33 -0
- package/dist/icons/components/16px/Coin16pxF.js +40 -0
- package/dist/icons/components/16px/Contracts16px.js +33 -0
- package/dist/icons/components/16px/Contracts16pxF.js +31 -0
- package/dist/icons/components/16px/CopyClipboard16px.js +25 -0
- package/dist/icons/components/16px/Done16px.js +22 -0
- package/dist/icons/components/16px/Download16px.js +29 -0
- package/dist/icons/components/16px/DragHandle16px.js +20 -0
- package/dist/icons/components/16px/DragHandleHorizontal16px.js +20 -0
- package/dist/icons/components/16px/DragHandleVertical16px.js +20 -0
- package/dist/icons/components/16px/DropdownArrowBottom16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowLeft16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowRight16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowUp16px.js +22 -0
- package/dist/icons/components/16px/Dzen16px.js +20 -0
- package/dist/icons/components/16px/Euro16px.js +23 -0
- package/dist/icons/components/16px/Eye16px.js +33 -0
- package/dist/icons/components/16px/Failure16px.js +25 -0
- package/dist/icons/components/16px/Favorite16px.js +22 -0
- package/dist/icons/components/16px/Favorite16pxF.js +20 -0
- package/dist/icons/components/16px/Filter16px.js +22 -0
- package/dist/icons/components/16px/Flag16pxF.js +14 -0
- package/dist/icons/components/16px/Folder16px.js +22 -0
- package/dist/icons/components/16px/Fullscreen16px.js +22 -0
- package/dist/icons/components/16px/Galery16px.js +25 -0
- package/dist/icons/components/16px/Gear16px.js +33 -0
- package/dist/icons/components/16px/Gift16px.js +31 -0
- package/dist/icons/components/16px/Hint16px.js +23 -0
- package/dist/icons/components/16px/Home16px.js +31 -0
- package/dist/icons/components/16px/Home16pxF.js +22 -0
- package/dist/icons/components/16px/Hot16pxF.js +20 -0
- package/dist/icons/components/16px/Kebab16px.js +14 -0
- package/dist/icons/components/16px/List16px.js +20 -0
- package/dist/icons/components/16px/Location16px.js +33 -0
- package/dist/icons/components/16px/Map16px.js +22 -0
- package/dist/icons/components/16px/Menu16px.js +20 -0
- package/dist/icons/components/16px/MenuMobile16px.js +22 -0
- package/dist/icons/components/16px/Minus16px.js +14 -0
- package/dist/icons/components/16px/Navigation16px.js +22 -0
- package/dist/icons/components/16px/News16px.js +31 -0
- package/dist/icons/components/16px/News16pxF.js +22 -0
- package/dist/icons/components/16px/Number16px.js +31 -0
- package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +20 -0
- package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +20 -0
- package/dist/icons/components/16px/Orders16px.js +31 -0
- package/dist/icons/components/16px/Orders16pxF.js +25 -0
- package/dist/icons/components/16px/Pause16px.js +14 -0
- package/dist/icons/components/16px/Pen16px.js +33 -0
- package/dist/icons/components/16px/Pen16pxF.js +22 -0
- package/dist/icons/components/16px/Phone16px.js +22 -0
- package/dist/icons/components/16px/Play16pxF.js +20 -0
- package/dist/icons/components/16px/Plus16px.js +22 -0
- package/dist/icons/components/16px/Pound16px.js +23 -0
- package/dist/icons/components/16px/PriceDown16px.js +33 -0
- package/dist/icons/components/16px/PriceUp16px.js +33 -0
- package/dist/icons/components/16px/Question16px.js +22 -0
- package/dist/icons/components/16px/Question16pxF.js +22 -0
- package/dist/icons/components/16px/Rutube16px.js +20 -0
- package/dist/icons/components/16px/Scan16px.js +20 -0
- package/dist/icons/components/16px/Search16px.js +22 -0
- package/dist/icons/components/16px/Share16pxF.js +20 -0
- package/dist/icons/components/16px/ShopingCard16px.js +22 -0
- package/dist/icons/components/16px/Sort16px.js +22 -0
- package/dist/icons/components/16px/Star16px.js +22 -0
- package/dist/icons/components/16px/Star16pxF.js +20 -0
- package/dist/icons/components/16px/StarHalf16pxF.js +22 -0
- package/dist/icons/components/16px/Telegram16pxF.js +20 -0
- package/dist/icons/components/16px/TelegramPlane16pxF.js +20 -0
- package/dist/icons/components/16px/Timer16px.js +38 -0
- package/dist/icons/components/16px/Trash16px.js +22 -0
- package/dist/icons/components/16px/TwinArrowLeft16px.js +20 -0
- package/dist/icons/components/16px/TwinArrowRight16px.js +20 -0
- package/dist/icons/components/16px/USDollar16px.js +23 -0
- package/dist/icons/components/16px/Umbrella16px.js +22 -0
- package/dist/icons/components/16px/Umbrella16pxF.js +20 -0
- package/dist/icons/components/16px/UnionIcon16px.js +22 -0
- package/dist/icons/components/16px/User16px.js +31 -0
- package/dist/icons/components/16px/User16pxF.js +20 -0
- package/dist/icons/components/16px/Users16px.js +31 -0
- package/dist/icons/components/16px/Users16pxF.js +20 -0
- package/dist/icons/components/16px/VK16pxF.js +22 -0
- package/dist/icons/components/16px/Waiting16px.js +22 -0
- package/dist/icons/components/16px/Whatsapp16px.js +31 -0
- package/dist/icons/components/16px/WriteUs16px.js +25 -0
- package/dist/icons/components/16px/Youtube16pxF.js +20 -0
- package/dist/icons/components/16px/Yuan16px.js +23 -0
- package/dist/icons/components/24px/Accept24px.js +27 -0
- package/dist/icons/components/24px/Acts24px.js +39 -0
- package/dist/icons/components/24px/Acts24pxF.js +32 -0
- package/dist/icons/components/24px/AdditionalServicess24px.js +32 -0
- package/dist/icons/components/24px/AdditionalServicess24pxF.js +21 -0
- package/dist/icons/components/24px/Agents24px.js +23 -0
- package/dist/icons/components/24px/Agents24pxF.js +30 -0
- package/dist/icons/components/24px/Alarm24px.js +24 -0
- package/dist/icons/components/24px/ArrowDown24px.js +23 -0
- package/dist/icons/components/24px/ArrowLeft24px.js +23 -0
- package/dist/icons/components/24px/ArrowRight24px.js +23 -0
- package/dist/icons/components/24px/ArrowUp24px.js +23 -0
- package/dist/icons/components/24px/ArrowUpright24px.js +23 -0
- package/dist/icons/components/24px/AttachFile24px.js +23 -0
- package/dist/icons/components/24px/Bell24px.js +43 -0
- package/dist/icons/components/24px/Bell24pxF.js +26 -0
- package/dist/icons/components/24px/Calculator24px.js +23 -0
- package/dist/icons/components/24px/CalculatorLkk24px.js +32 -0
- package/dist/icons/components/24px/CalculatorLkk24pxF.js +23 -0
- package/dist/icons/components/24px/Calendar24px.js +23 -0
- package/dist/icons/components/24px/Camera24px.js +23 -0
- package/dist/icons/components/24px/Car24px.js +34 -0
- package/dist/icons/components/24px/Car24pxF.js +32 -0
- package/dist/icons/components/24px/Catalog24px.js +23 -0
- package/dist/icons/components/24px/Certs24px.js +32 -0
- package/dist/icons/components/24px/Certs24pxF.js +32 -0
- package/dist/icons/components/24px/Change24px.js +23 -0
- package/dist/icons/components/24px/Chat24px.js +28 -0
- package/dist/icons/components/24px/Chat24pxF.js +23 -0
- package/dist/icons/components/24px/Chatbot24px.js +263 -0
- package/dist/icons/components/24px/Close24px.js +23 -0
- package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +23 -0
- package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +21 -0
- package/dist/icons/components/24px/Coin24px.js +24 -0
- package/dist/icons/components/24px/Coin24pxF.js +41 -0
- package/dist/icons/components/24px/Contracts24px.js +34 -0
- package/dist/icons/components/24px/Contracts24pxF.js +32 -0
- package/dist/icons/components/24px/CopyClipboard24px.js +26 -0
- package/dist/icons/components/24px/Done24px.js +23 -0
- package/dist/icons/components/24px/Download24px.js +30 -0
- package/dist/icons/components/24px/DragHandle24px.js +21 -0
- package/dist/icons/components/24px/DragHandleHorizontal24px.js +21 -0
- package/dist/icons/components/24px/DragHandleVertical24px.js +21 -0
- package/dist/icons/components/24px/DropdownArrowDown24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowLeft24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowRight24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowUp24px.js +23 -0
- package/dist/icons/components/24px/Dzen24px.js +21 -0
- package/dist/icons/components/24px/Euro24px.js +24 -0
- package/dist/icons/components/24px/Eye24px.js +34 -0
- package/dist/icons/components/24px/Failure24px.js +26 -0
- package/dist/icons/components/24px/Favorite24px.js +23 -0
- package/dist/icons/components/24px/Favorite24pxF.js +21 -0
- package/dist/icons/components/24px/Filter24px.js +21 -0
- package/dist/icons/components/24px/Flag24pxF.js +15 -0
- package/dist/icons/components/24px/Folder24px.js +23 -0
- package/dist/icons/components/24px/Fullscreen24px.js +23 -0
- package/dist/icons/components/24px/Galery24px.js +26 -0
- package/dist/icons/components/24px/Gear24px.js +34 -0
- package/dist/icons/components/24px/Gift24px.js +23 -0
- package/dist/icons/components/24px/Hint24px.js +26 -0
- package/dist/icons/components/24px/Home24px.js +34 -0
- package/dist/icons/components/24px/Home24pxF.js +23 -0
- package/dist/icons/components/24px/Hot24pxF.js +21 -0
- package/dist/icons/components/24px/Improvements24px.js +41 -0
- package/dist/icons/components/24px/Improvements24pxF.js +35 -0
- package/dist/icons/components/24px/Kebab24px.js +21 -0
- package/dist/icons/components/24px/List24px.js +21 -0
- package/dist/icons/components/24px/Location24px.js +34 -0
- package/dist/icons/components/24px/Map24px.js +23 -0
- package/dist/icons/components/24px/Menu24px.js +21 -0
- package/dist/icons/components/24px/MenuMobile24px.js +23 -0
- package/dist/icons/components/24px/Minus24px.js +23 -0
- package/dist/icons/components/24px/Navigation24px.js +23 -0
- package/dist/icons/components/24px/News24px.js +32 -0
- package/dist/icons/components/24px/News24pxF.js +23 -0
- package/dist/icons/components/24px/Number24px.js +32 -0
- package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +21 -0
- package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +23 -0
- package/dist/icons/components/24px/Orders24px.js +32 -0
- package/dist/icons/components/24px/Orders24pxF.js +26 -0
- package/dist/icons/components/24px/Pause24px.js +15 -0
- package/dist/icons/components/24px/Pen24px.js +34 -0
- package/dist/icons/components/24px/Pen24pxF.js +23 -0
- package/dist/icons/components/24px/Phone24px.js +23 -0
- package/dist/icons/components/24px/Play24px.js +21 -0
- package/dist/icons/components/24px/Plus24px.js +23 -0
- package/dist/icons/components/24px/Pound24px.js +24 -0
- package/dist/icons/components/24px/PriceDown24px.js +32 -0
- package/dist/icons/components/24px/PriceUp24px.js +32 -0
- package/dist/icons/components/24px/Question24px.js +32 -0
- package/dist/icons/components/24px/Question24pxF.js +23 -0
- package/dist/icons/components/24px/Rutube24px.js +21 -0
- package/dist/icons/components/24px/Scan24px.js +21 -0
- package/dist/icons/components/24px/Search24px.js +23 -0
- package/dist/icons/components/24px/Share24pxF.js +21 -0
- package/dist/icons/components/24px/ShopingCard24px.js +23 -0
- package/dist/icons/components/24px/Sort24px.js +21 -0
- package/dist/icons/components/24px/Star24px.js +23 -0
- package/dist/icons/components/24px/Star24pxF.js +21 -0
- package/dist/icons/components/24px/StarHalf24pxF.js +23 -0
- package/dist/icons/components/24px/Telegram24pxF.js +21 -0
- package/dist/icons/components/24px/TelegramPlane24pxF.js +21 -0
- package/dist/icons/components/24px/Timer24px.js +39 -0
- package/dist/icons/components/24px/Trash24px.js +43 -0
- package/dist/icons/components/24px/TwinArrowLeft24px.js +21 -0
- package/dist/icons/components/24px/TwinArrowRight24px.js +23 -0
- package/dist/icons/components/24px/USDollar24px.js +24 -0
- package/dist/icons/components/24px/Umbrella24px.js +23 -0
- package/dist/icons/components/24px/Umbrella24pxF.js +21 -0
- package/dist/icons/components/24px/UnionIcon24px.js +23 -0
- package/dist/icons/components/24px/User24px.js +32 -0
- package/dist/icons/components/24px/User24pxF.js +21 -0
- package/dist/icons/components/24px/Users24px.js +23 -0
- package/dist/icons/components/24px/Users24pxF.js +30 -0
- package/dist/icons/components/24px/VK24pxF.js +23 -0
- package/dist/icons/components/24px/Waiting24px.js +23 -0
- package/dist/icons/components/24px/Whatsapp24px.js +32 -0
- package/dist/icons/components/24px/WriteUs24px.js +26 -0
- package/dist/icons/components/24px/Youtube24pxF.js +21 -0
- package/dist/icons/components/24px/Yuan24px.js +24 -0
- package/dist/icons/components/32px/Accept32px.js +26 -0
- package/dist/icons/components/32px/Acts32px.js +39 -0
- package/dist/icons/components/32px/AdditionalServicess32px.js +23 -0
- package/dist/icons/components/32px/AdditionalServicess32pxF.js +21 -0
- package/dist/icons/components/32px/Agents32px.js +35 -0
- package/dist/icons/components/32px/Alarm32px.js +24 -0
- package/dist/icons/components/32px/ArrowDown32px.js +23 -0
- package/dist/icons/components/32px/ArrowLeft32px.js +23 -0
- package/dist/icons/components/32px/ArrowRight32px.js +23 -0
- package/dist/icons/components/32px/ArrowUp32px.js +23 -0
- package/dist/icons/components/32px/ArrowUpright32px.js +23 -0
- package/dist/icons/components/32px/AttachFile32px.js +23 -0
- package/dist/icons/components/32px/Bell32px.js +43 -0
- package/dist/icons/components/32px/Bell32pxF.js +26 -0
- package/dist/icons/components/32px/Calculator32px.js +23 -0
- package/dist/icons/components/32px/CalculatorLkk32px.js +32 -0
- package/dist/icons/components/32px/CalculatorLkk32pxF.js +23 -0
- package/dist/icons/components/32px/Calendar32px.js +23 -0
- package/dist/icons/components/32px/Camera32px.js +35 -0
- package/dist/icons/components/32px/Car32px.js +34 -0
- package/dist/icons/components/32px/Car32pxF.js +26 -0
- package/dist/icons/components/32px/Catalog32px.js +23 -0
- package/dist/icons/components/32px/Certs32px.js +32 -0
- package/dist/icons/components/32px/Certs32pxF.js +32 -0
- package/dist/icons/components/32px/Change32px.js +23 -0
- package/dist/icons/components/32px/Chat32px.js +32 -0
- package/dist/icons/components/32px/Chat32pxF.js +23 -0
- package/dist/icons/components/32px/Chatbot32px.js +263 -0
- package/dist/icons/components/32px/Close32px.js +23 -0
- package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +21 -0
- package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +21 -0
- package/dist/icons/components/32px/Coin32px.js +34 -0
- package/dist/icons/components/32px/Coin32pxF.js +32 -0
- package/dist/icons/components/32px/Contracts32px.js +34 -0
- package/dist/icons/components/32px/Contracts32pxF.js +32 -0
- package/dist/icons/components/32px/CopyClipboard32px.js +32 -0
- package/dist/icons/components/32px/Done32px.js +23 -0
- package/dist/icons/components/32px/Download32px.js +30 -0
- package/dist/icons/components/32px/DragHandle32px.js +21 -0
- package/dist/icons/components/32px/DragHandleHorizontal32px.js +21 -0
- package/dist/icons/components/32px/DragHandleVertical32px.js +21 -0
- package/dist/icons/components/32px/DropdownArrowDown32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowLeft32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowRight32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowUp32px.js +15 -0
- package/dist/icons/components/32px/Dzen32px.js +21 -0
- package/dist/icons/components/32px/Euro32px.js +24 -0
- package/dist/icons/components/32px/Eye32px.js +34 -0
- package/dist/icons/components/32px/Failure32px.js +26 -0
- package/dist/icons/components/32px/Favorite32px.js +23 -0
- package/dist/icons/components/32px/Favorite32pxF.js +21 -0
- package/dist/icons/components/32px/Filter32px.js +21 -0
- package/dist/icons/components/32px/Flag32pxF.js +15 -0
- package/dist/icons/components/32px/Folder32px.js +23 -0
- package/dist/icons/components/32px/Fullscreen32px.js +23 -0
- package/dist/icons/components/32px/Galery32px.js +26 -0
- package/dist/icons/components/32px/Gear32px.js +34 -0
- package/dist/icons/components/32px/Gift32px.js +23 -0
- package/dist/icons/components/32px/Hint32px.js +26 -0
- package/dist/icons/components/32px/Home32px.js +26 -0
- package/dist/icons/components/32px/Home32pxF.js +23 -0
- package/dist/icons/components/32px/Hot32pxF.js +21 -0
- package/dist/icons/components/32px/Kebab32px.js +15 -0
- package/dist/icons/components/32px/List32px.js +21 -0
- package/dist/icons/components/32px/Location32px.js +34 -0
- package/dist/icons/components/32px/Map32px.js +23 -0
- package/dist/icons/components/32px/Menu32px.js +21 -0
- package/dist/icons/components/32px/MenuMobile32px.js +23 -0
- package/dist/icons/components/32px/Minus32px.js +23 -0
- package/dist/icons/components/32px/Navigation32px.js +23 -0
- package/dist/icons/components/32px/News32px.js +32 -0
- package/dist/icons/components/32px/News32pxF.js +23 -0
- package/dist/icons/components/32px/Number32px.js +32 -0
- package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +21 -0
- package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +23 -0
- package/dist/icons/components/32px/Orders32px.js +41 -0
- package/dist/icons/components/32px/Orders32pxF.js +32 -0
- package/dist/icons/components/32px/Pause32px.js +15 -0
- package/dist/icons/components/32px/Pen32px.js +22 -0
- package/dist/icons/components/32px/Pen32pxF.js +23 -0
- package/dist/icons/components/32px/PersonalManager32px.js +110 -0
- package/dist/icons/components/32px/Phone32px.js +21 -0
- package/dist/icons/components/32px/Play32px.js +21 -0
- package/dist/icons/components/32px/Plus32px.js +23 -0
- package/dist/icons/components/32px/Pound32px.js +24 -0
- package/dist/icons/components/32px/PriceDown32px.js +43 -0
- package/dist/icons/components/32px/PriceUp32px.js +34 -0
- package/dist/icons/components/32px/Question32px.js +32 -0
- package/dist/icons/components/32px/Question32pxF.js +23 -0
- package/dist/icons/components/32px/Rutube32px.js +21 -0
- package/dist/icons/components/32px/Scan32px.js +21 -0
- package/dist/icons/components/32px/Search32px.js +23 -0
- package/dist/icons/components/32px/Share32pxF.js +21 -0
- package/dist/icons/components/32px/ShopimgCard32px.js +23 -0
- package/dist/icons/components/32px/Sort32px.js +21 -0
- package/dist/icons/components/32px/Star32px.js +23 -0
- package/dist/icons/components/32px/Star32pxF.js +21 -0
- package/dist/icons/components/32px/StarHalf32pxF.js +23 -0
- package/dist/icons/components/32px/Telegram32pxF.js +21 -0
- package/dist/icons/components/32px/TelegramPlane32pxF.js +21 -0
- package/dist/icons/components/32px/Timer32px.js +33 -0
- package/dist/icons/components/32px/Trash32px.js +43 -0
- package/dist/icons/components/32px/TwinArrowLeft32px.js +21 -0
- package/dist/icons/components/32px/TwinArrowRight32px.js +21 -0
- package/dist/icons/components/32px/USDollar32px.js +24 -0
- package/dist/icons/components/32px/Umbrella32px.js +23 -0
- package/dist/icons/components/32px/Umbrella32pxF.js +23 -0
- package/dist/icons/components/32px/UnionIcon32px.js +23 -0
- package/dist/icons/components/32px/User32px.js +32 -0
- package/dist/icons/components/32px/User32pxF.js +21 -0
- package/dist/icons/components/32px/Users32px.js +23 -0
- package/dist/icons/components/32px/Users32pxF.js +24 -0
- package/dist/icons/components/32px/VK32pxF.js +23 -0
- package/dist/icons/components/32px/Waiting32px.js +23 -0
- package/dist/icons/components/32px/Whatsapp32px.js +32 -0
- package/dist/icons/components/32px/WriteUs32px.js +26 -0
- package/dist/icons/components/32px/Youtube32pxF.js +21 -0
- package/dist/icons/components/32px/Yuan32px.js +24 -0
- package/dist/icons/components/Mans.js +21 -0
- package/dist/icons/components/Step.js +22 -0
- package/dist/icons/components/StepXL.js +32 -0
- package/dist/icons/components/auto-logo/ACE.js +21 -0
- package/dist/icons/components/auto-logo/Alim.js +23 -0
- package/dist/icons/components/auto-logo/Amur.js +23 -0
- package/dist/icons/components/auto-logo/Ankai.js +23 -0
- package/dist/icons/components/auto-logo/ArrowLength.js +21 -0
- package/dist/icons/components/auto-logo/Audi.js +20 -0
- package/dist/icons/components/auto-logo/BMW.js +41 -0
- package/dist/icons/components/auto-logo/BRP.js +32 -0
- package/dist/icons/components/auto-logo/Bomag.js +32 -0
- package/dist/icons/components/auto-logo/Case.js +23 -0
- package/dist/icons/components/auto-logo/Caterpillar.js +37 -0
- package/dist/icons/components/auto-logo/ChMZAP.js +46 -0
- package/dist/icons/components/auto-logo/ChTZ.js +32 -0
- package/dist/icons/components/auto-logo/Changan.js +21 -0
- package/dist/icons/components/auto-logo/Cherry.js +32 -0
- package/dist/icons/components/auto-logo/Citroen.js +23 -0
- package/dist/icons/components/auto-logo/DaewooFull.js +58 -0
- package/dist/icons/components/auto-logo/DaewooSymbol.js +51 -0
- package/dist/icons/components/auto-logo/Daf.js +23 -0
- package/dist/icons/components/auto-logo/Dayun.js +23 -0
- package/dist/icons/components/auto-logo/DongFeng.js +23 -0
- package/dist/icons/components/auto-logo/Ducati.js +32 -0
- package/dist/icons/components/auto-logo/Exeed.js +32 -0
- package/dist/icons/components/auto-logo/Faw.js +34 -0
- package/dist/icons/components/auto-logo/Fenix.js +114 -0
- package/dist/icons/components/auto-logo/Fiat.js +37 -0
- package/dist/icons/components/auto-logo/Ford.js +41 -0
- package/dist/icons/components/auto-logo/Foton.js +32 -0
- package/dist/icons/components/auto-logo/Gac.js +21 -0
- package/dist/icons/components/auto-logo/Gaz.js +59 -0
- package/dist/icons/components/auto-logo/Geely.js +25 -0
- package/dist/icons/components/auto-logo/Genesis.js +30 -0
- package/dist/icons/components/auto-logo/Gitte.js +23 -0
- package/dist/icons/components/auto-logo/Grunwald.js +23 -0
- package/dist/icons/components/auto-logo/HartungFull.js +32 -0
- package/dist/icons/components/auto-logo/HartungSymbol.js +32 -0
- package/dist/icons/components/auto-logo/Haval.js +23 -0
- package/dist/icons/components/auto-logo/Higer.js +23 -0
- package/dist/icons/components/auto-logo/Hitachi.js +21 -0
- package/dist/icons/components/auto-logo/Honda.js +37 -0
- package/dist/icons/components/auto-logo/Hongqi.js +30 -0
- package/dist/icons/components/auto-logo/Hongyan.js +23 -0
- package/dist/icons/components/auto-logo/Howo.js +46 -0
- package/dist/icons/components/auto-logo/Hyundai.js +23 -0
- package/dist/icons/components/auto-logo/Infiniti.js +21 -0
- package/dist/icons/components/auto-logo/Isuzu.js +23 -0
- package/dist/icons/components/auto-logo/Iveco.js +23 -0
- package/dist/icons/components/auto-logo/JCB.js +32 -0
- package/dist/icons/components/auto-logo/Jac.js +21 -0
- package/dist/icons/components/auto-logo/Juterborg.js +57 -0
- package/dist/icons/components/auto-logo/KIA.js +23 -0
- package/dist/icons/components/auto-logo/Kaiyi.js +23 -0
- package/dist/icons/components/auto-logo/Kamaz.js +35 -0
- package/dist/icons/components/auto-logo/Kassbohrer.js +23 -0
- package/dist/icons/components/auto-logo/Komatsu.js +21 -0
- package/dist/icons/components/auto-logo/Ktm.js +21 -0
- package/dist/icons/components/auto-logo/LCCE.js +37 -0
- package/dist/icons/components/auto-logo/Lada.js +23 -0
- package/dist/icons/components/auto-logo/Lexus.js +23 -0
- package/dist/icons/components/auto-logo/LiuGong.js +30 -0
- package/dist/icons/components/auto-logo/Lonking.js +30 -0
- package/dist/icons/components/auto-logo/Lovol.js +21 -0
- package/dist/icons/components/auto-logo/MTZBelarus.js +34 -0
- package/dist/icons/components/auto-logo/Man.js +21 -0
- package/dist/icons/components/auto-logo/Maz.js +32 -0
- package/dist/icons/components/auto-logo/MercedesBenz.js +23 -0
- package/dist/icons/components/auto-logo/Meusburger.js +23 -0
- package/dist/icons/components/auto-logo/Mitsubishi.js +21 -0
- package/dist/icons/components/auto-logo/NefAZ.js +30 -0
- package/dist/icons/components/auto-logo/NursanTrailer.js +21 -0
- package/dist/icons/components/auto-logo/Omoda.js +37 -0
- package/dist/icons/components/auto-logo/PSATss.js +37 -0
- package/dist/icons/components/auto-logo/Paz.js +23 -0
- package/dist/icons/components/auto-logo/Peugeot.js +21 -0
- package/dist/icons/components/auto-logo/Raskat.js +37 -0
- package/dist/icons/components/auto-logo/Renault.js +30 -0
- package/dist/icons/components/auto-logo/RussianCarsEmblem.js +32 -0
- package/dist/icons/components/auto-logo/RussianCarsKremlin.js +41 -0
- package/dist/icons/components/auto-logo/Sany.js +50 -0
- package/dist/icons/components/auto-logo/Scania.js +57 -0
- package/dist/icons/components/auto-logo/Schmitz.js +23 -0
- package/dist/icons/components/auto-logo/Shacman.js +30 -0
- package/dist/icons/components/auto-logo/Shantui.js +21 -0
- package/dist/icons/components/auto-logo/Sinanli.js +71 -0
- package/dist/icons/components/auto-logo/Sitrak.js +34 -0
- package/dist/icons/components/auto-logo/SobolIztechmash.js +60 -0
- package/dist/icons/components/auto-logo/Sokol.js +21 -0
- package/dist/icons/components/auto-logo/Sollers.js +23 -0
- package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +21 -0
- package/dist/icons/components/auto-logo/Tonar.js +23 -0
- package/dist/icons/components/auto-logo/Toyota.js +21 -0
- package/dist/icons/components/auto-logo/Trekol.js +34 -0
- package/dist/icons/components/auto-logo/UAT.js +21 -0
- package/dist/icons/components/auto-logo/Uaz.js +70 -0
- package/dist/icons/components/auto-logo/Ural.js +21 -0
- package/dist/icons/components/auto-logo/VIS.js +21 -0
- package/dist/icons/components/auto-logo/VKR.js +32 -0
- package/dist/icons/components/auto-logo/Volkswagen.js +23 -0
- package/dist/icons/components/auto-logo/Volvo.js +21 -0
- package/dist/icons/components/auto-logo/Wielton.js +21 -0
- package/dist/icons/components/auto-logo/XCMG.js +37 -0
- package/dist/icons/components/auto-logo/Yutong.js +72 -0
- package/dist/icons/components/auto-logo/Zoomlion.js +21 -0
- package/dist/icons/components/car-icons/AllMetal.js +32 -0
- package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +32 -0
- package/dist/icons/components/car-icons/AsphaltPaver.js +35 -0
- package/dist/icons/components/car-icons/Autotower.js +32 -0
- package/dist/icons/components/car-icons/Awning.js +33 -0
- package/dist/icons/components/car-icons/BackhoeLoader.js +39 -0
- package/dist/icons/components/car-icons/Buggy.js +32 -0
- package/dist/icons/components/car-icons/Bulldozer.js +34 -0
- package/dist/icons/components/car-icons/Bus.js +23 -0
- package/dist/icons/components/car-icons/BusBus.js +32 -0
- package/dist/icons/components/car-icons/BusMinibus.js +32 -0
- package/dist/icons/components/car-icons/BusShiftBuses.js +42 -0
- package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +39 -0
- package/dist/icons/components/car-icons/CargoAutotower.js +32 -0
- package/dist/icons/components/car-icons/CargoAwning.js +39 -0
- package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoDrillingRig.js +32 -0
- package/dist/icons/components/car-icons/CargoDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoGarbageTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoGrainCarrier.js +39 -0
- package/dist/icons/components/car-icons/CargoIsothermal.js +39 -0
- package/dist/icons/components/car-icons/CargoOnBoard.js +39 -0
- package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +39 -0
- package/dist/icons/components/car-icons/CargoPromotionalItem.js +39 -0
- package/dist/icons/components/car-icons/CargoSortingTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoTankerTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoTowTruck.js +32 -0
- package/dist/icons/components/car-icons/CargoTruckCrane.js +41 -0
- package/dist/icons/components/car-icons/CargoVacuumMachine.js +32 -0
- package/dist/icons/components/car-icons/Clearance.js +23 -0
- package/dist/icons/components/car-icons/CombineHarvester.js +39 -0
- package/dist/icons/components/car-icons/Compartment.js +32 -0
- package/dist/icons/components/car-icons/ConcreteMixerTruck.js +39 -0
- package/dist/icons/components/car-icons/ConcretePump.js +40 -0
- package/dist/icons/components/car-icons/Crossover.js +32 -0
- package/dist/icons/components/car-icons/DrillingRigg.js +32 -0
- package/dist/icons/components/car-icons/DumpTruck.js +39 -0
- package/dist/icons/components/car-icons/Excavator.js +23 -0
- package/dist/icons/components/car-icons/ForestPreparationEquipment.js +39 -0
- package/dist/icons/components/car-icons/ForkliftTruck.js +32 -0
- package/dist/icons/components/car-icons/FrontLoader.js +39 -0
- package/dist/icons/components/car-icons/Hatchback.js +32 -0
- package/dist/icons/components/car-icons/IceRink.js +34 -0
- package/dist/icons/components/car-icons/Isothermal.js +39 -0
- package/dist/icons/components/car-icons/Liftback.js +23 -0
- package/dist/icons/components/car-icons/MiniEscalator.js +41 -0
- package/dist/icons/components/car-icons/MiniLoader.js +32 -0
- package/dist/icons/components/car-icons/MiningDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/Minitractor.js +32 -0
- package/dist/icons/components/car-icons/Minivan.js +32 -0
- package/dist/icons/components/car-icons/MotorGrader.js +32 -0
- package/dist/icons/components/car-icons/MotorVehiclesBike.js +24 -0
- package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +30 -0
- package/dist/icons/components/car-icons/OffRoadVehicle.js +32 -0
- package/dist/icons/components/car-icons/OnBoard.js +39 -0
- package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +39 -0
- package/dist/icons/components/car-icons/OnBoardWithCmu.js +39 -0
- package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +48 -0
- package/dist/icons/components/car-icons/OtherCareerTechniques.js +39 -0
- package/dist/icons/components/car-icons/Pickup.js +23 -0
- package/dist/icons/components/car-icons/PickupTruck.js +32 -0
- package/dist/icons/components/car-icons/PilingInstallation.js +34 -0
- package/dist/icons/components/car-icons/PromotionalItem.js +39 -0
- package/dist/icons/components/car-icons/PublicUtilityVehicle.js +46 -0
- package/dist/icons/components/car-icons/QuarryExcavator.js +26 -0
- package/dist/icons/components/car-icons/Scooter.js +30 -0
- package/dist/icons/components/car-icons/Sedan.js +32 -0
- package/dist/icons/components/car-icons/Snowmobile.js +39 -0
- package/dist/icons/components/car-icons/TankerTruck.js +39 -0
- package/dist/icons/components/car-icons/TelescopicLoader.js +32 -0
- package/dist/icons/components/car-icons/TheLift.js +37 -0
- package/dist/icons/components/car-icons/TowTruck.js +32 -0
- package/dist/icons/components/car-icons/Tractor.js +32 -0
- package/dist/icons/components/car-icons/TractorTruck.js +39 -0
- package/dist/icons/components/car-icons/Trailerr.js +23 -0
- package/dist/icons/components/car-icons/TrailersCarCarrier.js +41 -0
- package/dist/icons/components/car-icons/TrailersCattleTruck.js +32 -0
- package/dist/icons/components/car-icons/TrailersContainerShip.js +40 -0
- package/dist/icons/components/car-icons/TrailersCurtainSide.js +39 -0
- package/dist/icons/components/car-icons/TrailersDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersGrainTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersHeavyTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersIsothermal.js +39 -0
- package/dist/icons/components/car-icons/TrailersOther.js +39 -0
- package/dist/icons/components/car-icons/TrailersTankerTruck.js +39 -0
- package/dist/icons/components/car-icons/TruckCrane.js +41 -0
- package/dist/icons/components/car-icons/Universal.js +32 -0
- package/dist/icons/components/car-icons/Van.js +23 -0
- package/dist/icons/components/car-icons/Ycles.js +42 -0
- package/dist/icons/components/car-parameters-icons/Acceleration.js +32 -0
- package/dist/icons/components/car-parameters-icons/Berths.js +37 -0
- package/dist/icons/components/car-parameters-icons/Bucket.js +21 -0
- package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +23 -0
- package/dist/icons/components/car-parameters-icons/BucketVolume.js +30 -0
- package/dist/icons/components/car-parameters-icons/CabinTurn.js +32 -0
- package/dist/icons/components/car-parameters-icons/CarBodySize.js +32 -0
- package/dist/icons/components/car-parameters-icons/CarBodyType.js +23 -0
- package/dist/icons/components/car-parameters-icons/CarColor.js +32 -0
- package/dist/icons/components/car-parameters-icons/Cylinders.js +35 -0
- package/dist/icons/components/car-parameters-icons/Dimensions.js +32 -0
- package/dist/icons/components/car-parameters-icons/EngineType.js +21 -0
- package/dist/icons/components/car-parameters-icons/FuelConsumption.js +21 -0
- package/dist/icons/components/car-parameters-icons/GearType.js +24 -0
- package/dist/icons/components/car-parameters-icons/LiftingHeight.js +21 -0
- package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +23 -0
- package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +23 -0
- package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +21 -0
- package/dist/icons/components/car-parameters-icons/TrailerType.js +30 -0
- package/dist/icons/components/car-parameters-icons/UnloadingType.js +30 -0
- package/dist/icons/components/car-parameters-icons/Weight.js +34 -0
- package/dist/icons/components/car-parameters-icons/WheelDriveType.js +30 -0
- package/dist/icons/components/car-parameters-icons/WheelSheme.js +32 -0
- package/dist/icons/components/cars-stubus/Bike.js +23 -0
- package/dist/icons/components/cars-stubus/Car.js +23 -0
- package/dist/icons/components/cars-stubus/Equipment.js +23 -0
- package/dist/icons/components/cars-stubus/Truck.js +23 -0
- package/dist/icons/components/index.js +584 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +4 -0
- package/dist/index-BuVUKy18.js +2658 -0
- package/dist/index-DIxK0V-G.js +44 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +188 -0
- package/dist/keyboard-B0lm_zyn.js +573 -0
- package/dist/label-y3ANLTNC.js +171 -0
- package/dist/open-closed-CdldUPoq.js +86 -0
- package/dist/portal-WDFNoIMz.js +1908 -0
- package/dist/styles.module-BlOA4RBL.js +28 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/propsWithAs.d.ts +15 -0
- package/dist/types/propsWithAs.js +1 -0
- package/dist/use-active-press-86hajhdd.js +31 -0
- package/dist/use-by-comparator-CVuf9KBq.js +16 -0
- package/dist/use-resolve-button-type-DhFdPxnv.js +12 -0
- package/dist/utils/UUID4.d.ts +1 -0
- package/dist/utils/UUID4.js +9 -0
- package/dist/utils/formating/Date.d.ts +2 -0
- package/dist/utils/formating/Date.js +24 -0
- package/dist/utils/formating/FileSize.d.ts +1 -0
- package/dist/utils/formating/FileSize.js +12 -0
- package/dist/utils/formating/Month.d.ts +8 -0
- package/dist/utils/formating/Month.js +79 -0
- package/dist/utils/formating/Numbers.d.ts +6 -0
- package/dist/utils/formating/Numbers.js +8 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/utils/index.js +17 -0
- package/dist/variant.module-BXn4N1h0.js +12 -0
- package/package.json +1 -1
@@ -0,0 +1,45 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { EAccordionButtonStyle, EAccordionButtonType, EAccordionIconType, EAccordionSize } from './constants';
|
3
|
+
|
4
|
+
type TChildrenProps = {
|
5
|
+
open?: boolean;
|
6
|
+
close?: () => void;
|
7
|
+
};
|
8
|
+
export type TProps = {
|
9
|
+
/** Заголовок аккордеона */
|
10
|
+
title: string | ReactNode;
|
11
|
+
/** Размер аккордеона */
|
12
|
+
size?: EAccordionSize | `${EAccordionSize}`;
|
13
|
+
/** Преобразование заголовка в верхний регистр */
|
14
|
+
titleUppercase?: boolean;
|
15
|
+
/** Тип кнопки аккордеона */
|
16
|
+
buttonType?: EAccordionButtonType | `${EAccordionButtonType}`;
|
17
|
+
/** Стиль кнопки аккордеона */
|
18
|
+
buttonStyle?: EAccordionButtonStyle | `${EAccordionButtonStyle}`;
|
19
|
+
/** Тип иконки аккордеона */
|
20
|
+
iconType?: EAccordionIconType | `${EAccordionIconType}`;
|
21
|
+
/** Дополнительный класс для заголовка */
|
22
|
+
classNameTitle?: string;
|
23
|
+
/** Дополнительный класс для содержимого */
|
24
|
+
classNameContent?: string;
|
25
|
+
/** Дополнительный класс для всего аккордеона */
|
26
|
+
classNameAccordion?: string;
|
27
|
+
/** Дополнительный класс для кнопки с иконкой */
|
28
|
+
classNameIconButton?: string;
|
29
|
+
/** React-нода для отображения под заголовком */
|
30
|
+
subtitleNode?: ReactNode;
|
31
|
+
/** React-нода для отображения под заголовком когда аккордеон открыт */
|
32
|
+
onlyOpenSubtitleNode?: ReactNode;
|
33
|
+
/** Дополнительный класс для контейнера subtitle */
|
34
|
+
classNameSubtitleContainer?: string;
|
35
|
+
/** Дополнительный класс для аккордиона с типом link */
|
36
|
+
linkClassName?: string;
|
37
|
+
/** Флаг, указывающий, отключен ли аккордеон. */
|
38
|
+
disabled?: boolean;
|
39
|
+
/** Флаг, указывающий, отображать ли заголовок по умолчанию */
|
40
|
+
showTitleByDefault?: boolean;
|
41
|
+
/** Контент аккордеона. */
|
42
|
+
children?: ReactNode | ((props: TChildrenProps) => ReactNode);
|
43
|
+
};
|
44
|
+
export declare const Accordion: import('react').ForwardRefExoticComponent<TProps & import('react').RefAttributes<HTMLElement>>;
|
45
|
+
export {};
|
@@ -0,0 +1,267 @@
|
|
1
|
+
import { jsxs as A, Fragment as H, jsx as I } from "react/jsx-runtime";
|
2
|
+
import { c as v } from "../../index-DIxK0V-G.js";
|
3
|
+
import x, { createContext as K, useRef as oe, Fragment as re, useReducer as pe, useMemo as O, useId as se, useEffect as le, useState as ae, useContext as U, forwardRef as me } from "react";
|
4
|
+
import { AccordionItem as fe } from "./AccordionItem/AccordionItem.js";
|
5
|
+
import { EAccordionButtonType as P, EAccordionSize as B, EAccordionLinkIconSize as J, EAccordionButtonStyle as _e, EAccordionIconType as Y, EAccordionButtonIconSize as Z } from "./constants.js";
|
6
|
+
import { useMediaQuery as ye } from "../../hooks/useMediaQuery/useMediaQuery.js";
|
7
|
+
import { EMediaQuery as Ee } from "../../hooks/useMediaQuery/constants.js";
|
8
|
+
import { Icon as Se } from "../../icons/Icon.js";
|
9
|
+
import { Link as ke } from "../AnchorLink/Link.js";
|
10
|
+
import { M as ee, W as q, y as j, T as Ie, o as $, a as W, H as Q, I as ce, $ as be, b as xe, D as te, u as De, c as T } from "../../keyboard-B0lm_zyn.js";
|
11
|
+
import { w as he } from "../../use-active-press-86hajhdd.js";
|
12
|
+
import { e as ve } from "../../use-resolve-button-type-DhFdPxnv.js";
|
13
|
+
import { c as $e, i as R, u as ge, R as Pe, H as Te, s as we } from "../../open-closed-CdldUPoq.js";
|
14
|
+
import { C as Ne } from "../../close-provider-CEutdhG8.js";
|
15
|
+
import { r as Ce } from "../../bugs-diTMAGNw.js";
|
16
|
+
import '../../assets/Accordion.css';var ne;
|
17
|
+
let Ae = (ne = x.startTransition) != null ? ne : function(e) {
|
18
|
+
e();
|
19
|
+
};
|
20
|
+
var Be = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Be || {}), Oe = ((e) => (e[e.ToggleDisclosure = 0] = "ToggleDisclosure", e[e.CloseDisclosure = 1] = "CloseDisclosure", e[e.SetButtonId = 2] = "SetButtonId", e[e.SetPanelId = 3] = "SetPanelId", e[e.SetButtonElement = 4] = "SetButtonElement", e[e.SetPanelElement = 5] = "SetPanelElement", e))(Oe || {});
|
21
|
+
let Re = { 0: (e) => ({ ...e, disclosureState: W(e.disclosureState, { 0: 1, 1: 0 }) }), 1: (e) => e.disclosureState === 1 ? e : { ...e, disclosureState: 1 }, 2(e, t) {
|
22
|
+
return e.buttonId === t.buttonId ? e : { ...e, buttonId: t.buttonId };
|
23
|
+
}, 3(e, t) {
|
24
|
+
return e.panelId === t.panelId ? e : { ...e, panelId: t.panelId };
|
25
|
+
}, 4(e, t) {
|
26
|
+
return e.buttonElement === t.element ? e : { ...e, buttonElement: t.element };
|
27
|
+
}, 5(e, t) {
|
28
|
+
return e.panelElement === t.element ? e : { ...e, panelElement: t.element };
|
29
|
+
} }, V = K(null);
|
30
|
+
V.displayName = "DisclosureContext";
|
31
|
+
function z(e) {
|
32
|
+
let t = U(V);
|
33
|
+
if (t === null) {
|
34
|
+
let u = new Error(`<${e} /> is missing a parent <Disclosure /> component.`);
|
35
|
+
throw Error.captureStackTrace && Error.captureStackTrace(u, z), u;
|
36
|
+
}
|
37
|
+
return t;
|
38
|
+
}
|
39
|
+
let X = K(null);
|
40
|
+
X.displayName = "DisclosureAPIContext";
|
41
|
+
function ie(e) {
|
42
|
+
let t = U(X);
|
43
|
+
if (t === null) {
|
44
|
+
let u = new Error(`<${e} /> is missing a parent <Disclosure /> component.`);
|
45
|
+
throw Error.captureStackTrace && Error.captureStackTrace(u, ie), u;
|
46
|
+
}
|
47
|
+
return t;
|
48
|
+
}
|
49
|
+
let G = K(null);
|
50
|
+
G.displayName = "DisclosurePanelContext";
|
51
|
+
function Me() {
|
52
|
+
return U(G);
|
53
|
+
}
|
54
|
+
function Fe(e, t) {
|
55
|
+
return W(t.type, Re, e, t);
|
56
|
+
}
|
57
|
+
let Le = re;
|
58
|
+
function He(e, t) {
|
59
|
+
let { defaultOpen: u = !1, ...p } = e, l = oe(null), m = j(t, Ie((c) => {
|
60
|
+
l.current = c;
|
61
|
+
}, e.as === void 0 || e.as === re)), a = pe(Fe, { disclosureState: u ? 0 : 1, buttonElement: null, panelElement: null, buttonId: null, panelId: null }), [{ disclosureState: n, buttonId: r }, y] = a, s = $((c) => {
|
62
|
+
y({ type: 1 });
|
63
|
+
let f = De(l);
|
64
|
+
if (!f || !r) return;
|
65
|
+
let _ = c ? c instanceof HTMLElement ? c : c.current instanceof HTMLElement ? c.current : f.getElementById(r) : f.getElementById(r);
|
66
|
+
_ == null || _.focus();
|
67
|
+
}), b = O(() => ({ close: s }), [s]), E = O(() => ({ open: n === 0, close: s }), [n, s]), S = { ref: m };
|
68
|
+
return x.createElement(V.Provider, { value: a }, x.createElement(X.Provider, { value: b }, x.createElement(Ne, { value: s }, x.createElement($e, { value: W(n, { 0: R.Open, 1: R.Closed }) }, Q({ ourProps: S, theirProps: p, slot: E, defaultTag: Le, name: "Disclosure" })))));
|
69
|
+
}
|
70
|
+
let Ke = "button";
|
71
|
+
function Ue(e, t) {
|
72
|
+
let u = se(), { id: p = `headlessui-disclosure-button-${u}`, disabled: l = !1, autoFocus: m = !1, ...a } = e, [n, r] = z("Disclosure.Button"), y = Me(), s = y === null ? !1 : y === n.panelId, b = oe(null), E = j(b, t, $((i) => {
|
73
|
+
if (!s) return r({ type: 4, element: i });
|
74
|
+
})), S = ce();
|
75
|
+
le(() => {
|
76
|
+
if (!s) return r({ type: 2, buttonId: p }), () => {
|
77
|
+
r({ type: 2, buttonId: null });
|
78
|
+
};
|
79
|
+
}, [p, r, s]);
|
80
|
+
let c = $((i) => {
|
81
|
+
var o;
|
82
|
+
if (s) {
|
83
|
+
if (n.disclosureState === 1) return;
|
84
|
+
switch (i.key) {
|
85
|
+
case T.Space:
|
86
|
+
case T.Enter:
|
87
|
+
i.preventDefault(), i.stopPropagation(), r({ type: 0 }), (o = n.buttonElement) == null || o.focus();
|
88
|
+
break;
|
89
|
+
}
|
90
|
+
} else switch (i.key) {
|
91
|
+
case T.Space:
|
92
|
+
case T.Enter:
|
93
|
+
i.preventDefault(), i.stopPropagation(), r({ type: 0 });
|
94
|
+
break;
|
95
|
+
}
|
96
|
+
}), f = $((i) => {
|
97
|
+
switch (i.key) {
|
98
|
+
case T.Space:
|
99
|
+
i.preventDefault();
|
100
|
+
break;
|
101
|
+
}
|
102
|
+
}), _ = $((i) => {
|
103
|
+
var o;
|
104
|
+
Ce(i.currentTarget) || l || (s ? (r({ type: 0 }), (o = n.buttonElement) == null || o.focus()) : r({ type: 0 }));
|
105
|
+
}), { isFocusVisible: D, focusProps: h } = be({ autoFocus: m }), { isHovered: w, hoverProps: N } = xe({ isDisabled: l }), { pressed: k, pressProps: g } = he({ disabled: l }), M = O(() => ({ open: n.disclosureState === 0, hover: w, active: k, disabled: l, focus: D, autofocus: m }), [n, w, k, D, l, m]), C = ve(e, n.buttonElement), F = s ? te({ ref: E, type: C, disabled: l || void 0, autoFocus: m, onKeyDown: c, onClick: _ }, h, N, g) : te({ ref: E, id: p, type: C, "aria-expanded": n.disclosureState === 0, "aria-controls": n.panelElement ? n.panelId : void 0, disabled: l || void 0, autoFocus: m, onKeyDown: c, onKeyUp: f, onClick: _ }, h, N, g);
|
106
|
+
return Q({ mergeRefs: S, ourProps: F, theirProps: a, slot: M, defaultTag: Ke, name: "Disclosure.Button" });
|
107
|
+
}
|
108
|
+
let qe = "div", je = ee.RenderStrategy | ee.Static;
|
109
|
+
function We(e, t) {
|
110
|
+
let u = se(), { id: p = `headlessui-disclosure-panel-${u}`, transition: l = !1, ...m } = e, [a, n] = z("Disclosure.Panel"), { close: r } = ie("Disclosure.Panel"), y = ce(), [s, b] = ae(null), E = j(t, $((h) => {
|
111
|
+
Ae(() => n({ type: 5, element: h }));
|
112
|
+
}), b);
|
113
|
+
le(() => (n({ type: 3, panelId: p }), () => {
|
114
|
+
n({ type: 3, panelId: null });
|
115
|
+
}), [p, n]);
|
116
|
+
let S = ge(), [c, f] = Pe(l, s, S !== null ? (S & R.Open) === R.Open : a.disclosureState === 0), _ = O(() => ({ open: a.disclosureState === 0, close: r }), [a.disclosureState, r]), D = { ref: E, id: p, ...Te(f) };
|
117
|
+
return x.createElement(we, null, x.createElement(G.Provider, { value: a.panelId }, Q({ mergeRefs: y, ourProps: D, theirProps: m, slot: _, defaultTag: qe, features: je, visible: c, name: "Disclosure.Panel" })));
|
118
|
+
}
|
119
|
+
let Qe = q(He), ue = q(Ue), de = q(We), Ve = Object.assign(Qe, { Button: ue, Panel: de });
|
120
|
+
const ze = "_icon_1yk0x_2", Xe = "_open_1yk0x_15", Ge = "_square_1yk0x_19", Je = "_circle_1yk0x_23", Ye = "_disabled_1yk0x_23", Ze = "_accordion_1yk0x_37", et = "_header_1yk0x_45", tt = "_title_1yk0x_61", nt = "_panel_1yk0x_88", ot = "_m_1yk0x_112", rt = "_s_1yk0x_19", d = {
|
121
|
+
icon: ze,
|
122
|
+
"icon-container": "_icon-container_1yk0x_8",
|
123
|
+
open: Xe,
|
124
|
+
square: Ge,
|
125
|
+
circle: Je,
|
126
|
+
disabled: Ye,
|
127
|
+
accordion: Ze,
|
128
|
+
"is-link": "_is-link_1yk0x_41",
|
129
|
+
header: et,
|
130
|
+
title: tt,
|
131
|
+
"title-uppercase": "_title-uppercase_1yk0x_64",
|
132
|
+
panel: nt,
|
133
|
+
"link-open": "_link-open_1yk0x_108",
|
134
|
+
m: ot,
|
135
|
+
s: rt,
|
136
|
+
"wrapper-button": "_wrapper-button_1yk0x_140"
|
137
|
+
}, It = me(
|
138
|
+
({
|
139
|
+
title: e,
|
140
|
+
disabled: t,
|
141
|
+
buttonType: u = P.BUTTON,
|
142
|
+
children: p,
|
143
|
+
showTitleByDefault: l = !0,
|
144
|
+
linkClassName: m,
|
145
|
+
size: a = B.M,
|
146
|
+
titleUppercase: n,
|
147
|
+
buttonStyle: r = _e.CIRCLE,
|
148
|
+
iconType: y = Y.ARROW,
|
149
|
+
classNameTitle: s,
|
150
|
+
classNameContent: b,
|
151
|
+
classNameAccordion: E,
|
152
|
+
classNameIconButton: S,
|
153
|
+
subtitleNode: c,
|
154
|
+
onlyOpenSubtitleNode: f,
|
155
|
+
classNameSubtitleContainer: _
|
156
|
+
}, D) => {
|
157
|
+
const [h, w] = ae(!1), N = ye(Ee.XS1), k = u === P.LINK, g = {
|
158
|
+
[d["is-link"]]: k
|
159
|
+
}, M = () => {
|
160
|
+
t || w((o) => !o);
|
161
|
+
}, C = a === B.S ? J.S : J.M, F = (o) => ({
|
162
|
+
variant: "anchor",
|
163
|
+
size: N ? "s" : "l",
|
164
|
+
rightIcon: {
|
165
|
+
iconName: C,
|
166
|
+
className: v({
|
167
|
+
[d["link-open"]]: o
|
168
|
+
})
|
169
|
+
}
|
170
|
+
}), i = (o) => {
|
171
|
+
const L = () => y === Y.DROPDOWN ? a === B.S ? "DropdownArrowBottom16px" : "DropdownArrowDown24px" : a === B.S ? Z.S : Z.M;
|
172
|
+
switch (u) {
|
173
|
+
case P.LINK:
|
174
|
+
return e;
|
175
|
+
case P.BUTTON:
|
176
|
+
return /* @__PURE__ */ A(H, { children: [
|
177
|
+
/* @__PURE__ */ I(
|
178
|
+
"span",
|
179
|
+
{
|
180
|
+
className: v(
|
181
|
+
d.title,
|
182
|
+
s,
|
183
|
+
n && d["title-uppercase"]
|
184
|
+
),
|
185
|
+
children: e
|
186
|
+
}
|
187
|
+
),
|
188
|
+
/* @__PURE__ */ I(
|
189
|
+
"div",
|
190
|
+
{
|
191
|
+
className: v(
|
192
|
+
d["icon-container"],
|
193
|
+
o && d.open,
|
194
|
+
t && d.disabled,
|
195
|
+
d[r],
|
196
|
+
S
|
197
|
+
),
|
198
|
+
"data-testid": "accordion-icon-container",
|
199
|
+
children: /* @__PURE__ */ I(
|
200
|
+
Se,
|
201
|
+
{
|
202
|
+
iconName: L(),
|
203
|
+
className: d.icon,
|
204
|
+
"data-testid": "accordion-icon"
|
205
|
+
}
|
206
|
+
)
|
207
|
+
}
|
208
|
+
)
|
209
|
+
] });
|
210
|
+
default:
|
211
|
+
return null;
|
212
|
+
}
|
213
|
+
};
|
214
|
+
return /* @__PURE__ */ A(H, { children: [
|
215
|
+
/* @__PURE__ */ I(
|
216
|
+
"div",
|
217
|
+
{
|
218
|
+
className: v(
|
219
|
+
d.accordion,
|
220
|
+
d[a],
|
221
|
+
g,
|
222
|
+
E
|
223
|
+
),
|
224
|
+
children: /* @__PURE__ */ I(Ve, { ref: D, children: ({ open: o, close: L }) => /* @__PURE__ */ A(H, { children: [
|
225
|
+
(!o || l) && /* @__PURE__ */ I(
|
226
|
+
ue,
|
227
|
+
{
|
228
|
+
disabled: t,
|
229
|
+
as: k ? ke : P.BUTTON,
|
230
|
+
onClick: M,
|
231
|
+
className: v({
|
232
|
+
[d.header]: !k,
|
233
|
+
[d.disabled]: t,
|
234
|
+
[m ?? ""]: k && m
|
235
|
+
}),
|
236
|
+
...k ? F(o) : {},
|
237
|
+
children: (!o || l) && i(o)
|
238
|
+
}
|
239
|
+
),
|
240
|
+
o && /* @__PURE__ */ I(
|
241
|
+
de,
|
242
|
+
{
|
243
|
+
"data-testid": "accordion-panel",
|
244
|
+
className: v(
|
245
|
+
d.panel,
|
246
|
+
b,
|
247
|
+
g
|
248
|
+
),
|
249
|
+
children: /* @__PURE__ */ I(fe, { size: a, children: typeof p == "function" ? p({
|
250
|
+
open: o,
|
251
|
+
close: L
|
252
|
+
}) : p })
|
253
|
+
}
|
254
|
+
)
|
255
|
+
] }) })
|
256
|
+
}
|
257
|
+
),
|
258
|
+
(c || f) && /* @__PURE__ */ A("div", { className: _, children: [
|
259
|
+
c,
|
260
|
+
h && f
|
261
|
+
] })
|
262
|
+
] });
|
263
|
+
}
|
264
|
+
);
|
265
|
+
export {
|
266
|
+
It as Accordion
|
267
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { EAccordionSize } from '../constants';
|
3
|
+
|
4
|
+
export type TProps = {
|
5
|
+
children: ReactNode;
|
6
|
+
size: EAccordionSize | `${EAccordionSize}`;
|
7
|
+
};
|
8
|
+
export declare const AccordionItem: ({ children, size }: TProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
2
|
+
import { c } from "../../../index-DIxK0V-G.js";
|
3
|
+
import '../../../assets/AccordionItem.css';const e = "_item_1k7g5_2", _ = "_m_1k7g5_10", i = "_s_1k7g5_15", s = {
|
4
|
+
item: e,
|
5
|
+
m: _,
|
6
|
+
s: i
|
7
|
+
}, a = ({ children: m, size: t }) => /* @__PURE__ */ o("div", { className: c(s.item, s[t]), children: m });
|
8
|
+
export {
|
9
|
+
a as AccordionItem
|
10
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { AccordionItem, type TProps as TAccordionItemProps } from './AccordionItem';
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare enum EAccordionSize {
|
2
|
+
M = "m",
|
3
|
+
S = "s"
|
4
|
+
}
|
5
|
+
export declare enum EAccordionButtonType {
|
6
|
+
BUTTON = "button",
|
7
|
+
LINK = "link"
|
8
|
+
}
|
9
|
+
export declare enum EAccordionButtonIconSize {
|
10
|
+
M = "ArrowDown24px",
|
11
|
+
S = "ArrowDown16px"
|
12
|
+
}
|
13
|
+
export declare enum EAccordionLinkIconSize {
|
14
|
+
M = "DropdownArrowDown24px",
|
15
|
+
S = "DropdownArrowBottom16px"
|
16
|
+
}
|
17
|
+
export declare enum EAccordionButtonStyle {
|
18
|
+
CIRCLE = "circle",
|
19
|
+
SQUARE = "square"
|
20
|
+
}
|
21
|
+
export declare enum EAccordionIconType {
|
22
|
+
ARROW = "arrow",
|
23
|
+
DROPDOWN = "dropdown"
|
24
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
var w = /* @__PURE__ */ ((r) => (r.M = "m", r.S = "s", r))(w || {}), a = /* @__PURE__ */ ((r) => (r.BUTTON = "button", r.LINK = "link", r))(a || {}), D = /* @__PURE__ */ ((r) => (r.M = "ArrowDown24px", r.S = "ArrowDown16px", r))(D || {}), p = /* @__PURE__ */ ((r) => (r.M = "DropdownArrowDown24px", r.S = "DropdownArrowBottom16px", r))(p || {}), v = /* @__PURE__ */ ((r) => (r.CIRCLE = "circle", r.SQUARE = "square", r))(v || {}), u = /* @__PURE__ */ ((r) => (r.ARROW = "arrow", r.DROPDOWN = "dropdown", r))(u || {});
|
2
|
+
export {
|
3
|
+
D as EAccordionButtonIconSize,
|
4
|
+
v as EAccordionButtonStyle,
|
5
|
+
a as EAccordionButtonType,
|
6
|
+
u as EAccordionIconType,
|
7
|
+
p as EAccordionLinkIconSize,
|
8
|
+
w as EAccordionSize
|
9
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { ElementType, ReactElement, ReactNode } from 'react';
|
2
|
+
import { ELinkSize, ELinkVariant } from './constants';
|
3
|
+
import { TIconProps } from '../../icons';
|
4
|
+
import { Props } from '../../types/propsWithAs';
|
5
|
+
|
6
|
+
type TProps = {
|
7
|
+
variant?: ELinkVariant | `${ELinkVariant}`;
|
8
|
+
size?: ELinkSize | `${ELinkSize}`;
|
9
|
+
leftIcon?: TIconProps;
|
10
|
+
rightIcon?: TIconProps;
|
11
|
+
disabled?: boolean;
|
12
|
+
className?: string;
|
13
|
+
children?: ReactNode;
|
14
|
+
};
|
15
|
+
type TLinkComponent = <C extends ElementType = 'span'>(props: Props<C, TProps>) => ReactElement | ReactNode;
|
16
|
+
export declare const Link: TLinkComponent;
|
17
|
+
export {};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { jsxs as N, jsx as n } from "react/jsx-runtime";
|
2
|
+
import { c as o } from "../../index-DIxK0V-G.js";
|
3
|
+
import { forwardRef as h } from "react";
|
4
|
+
import { ELinkSize as k, ELinkVariant as x } from "./constants.js";
|
5
|
+
import { Icon as i } from "../../icons/Icon.js";
|
6
|
+
import '../../assets/Link.css';const L = "_link_1bc9a_2", I = "_sample_1bc9a_20", j = "_anchor_1bc9a_24", u = "_disabled_1bc9a_28", z = "_icon_1bc9a_38", C = "_xs_1bc9a_47", E = "_s_1bc9a_20", R = "_m_1bc9a_59", g = "_l_1bc9a_2", s = {
|
7
|
+
link: L,
|
8
|
+
sample: I,
|
9
|
+
anchor: j,
|
10
|
+
disabled: u,
|
11
|
+
icon: z,
|
12
|
+
xs: C,
|
13
|
+
s: E,
|
14
|
+
m: R,
|
15
|
+
l: g
|
16
|
+
}, P = h(
|
17
|
+
(t, l) => {
|
18
|
+
const {
|
19
|
+
as: _ = "button",
|
20
|
+
disabled: e,
|
21
|
+
leftIcon: c,
|
22
|
+
children: r,
|
23
|
+
rightIcon: a,
|
24
|
+
className: m,
|
25
|
+
size: b = k.L,
|
26
|
+
variant: d = x.ANCHOR,
|
27
|
+
...p
|
28
|
+
} = t, f = o(s.link, m, s[d], s[b], {
|
29
|
+
[s.disabled]: e
|
30
|
+
});
|
31
|
+
return /* @__PURE__ */ N(_, { ref: l, className: f, ...p, children: [
|
32
|
+
c && /* @__PURE__ */ n(
|
33
|
+
i,
|
34
|
+
{
|
35
|
+
...c,
|
36
|
+
className: o(s.icon, c.className)
|
37
|
+
}
|
38
|
+
),
|
39
|
+
r,
|
40
|
+
a && /* @__PURE__ */ n(
|
41
|
+
i,
|
42
|
+
{
|
43
|
+
...a,
|
44
|
+
className: o(s.icon, a.className)
|
45
|
+
}
|
46
|
+
)
|
47
|
+
] });
|
48
|
+
}
|
49
|
+
);
|
50
|
+
export {
|
51
|
+
P as Link
|
52
|
+
};
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { jsxs as _, jsx as r } from "react/jsx-runtime";
|
2
|
+
import { c } from "../../index-DIxK0V-G.js";
|
3
|
+
import { memo as n } from "react";
|
4
|
+
import { EAvatarSize as t } from "./constants.js";
|
5
|
+
import { Icon as l } from "../../icons/Icon.js";
|
6
|
+
import { AppImage as b } from "../Image/Image.js";
|
7
|
+
import { NotificationBadge as f } from "../NotificationBadge/NotificationBadge.js";
|
8
|
+
import '../../assets/Avatar.css';const u = "_avatar_bbuza_2", d = "_image_bbuza_11", v = "_s_bbuza_17", x = "_m_bbuza_22", g = "_l_bbuza_27", o = {
|
9
|
+
avatar: u,
|
10
|
+
image: d,
|
11
|
+
s: v,
|
12
|
+
m: x,
|
13
|
+
l: g,
|
14
|
+
default: "_default_bbuza_32"
|
15
|
+
}, N = n(
|
16
|
+
({
|
17
|
+
size: a = t.M,
|
18
|
+
className: s,
|
19
|
+
notificationsCount: e = 0,
|
20
|
+
src: m,
|
21
|
+
alt: i = "User avatar"
|
22
|
+
}) => {
|
23
|
+
const p = a === t.S || a === t.M ? { top: "8px", left: "-8px" } : { top: "12px", left: "-12px" };
|
24
|
+
return /* @__PURE__ */ _(
|
25
|
+
"div",
|
26
|
+
{
|
27
|
+
className: c(o.avatar, o[a], s, {
|
28
|
+
[o.default]: !m
|
29
|
+
}),
|
30
|
+
"data-testid": "avatar-container",
|
31
|
+
children: [
|
32
|
+
m ? /* @__PURE__ */ r(
|
33
|
+
b,
|
34
|
+
{
|
35
|
+
src: m,
|
36
|
+
alt: i,
|
37
|
+
className: o.image,
|
38
|
+
"data-testid": "avatar-image"
|
39
|
+
}
|
40
|
+
) : /* @__PURE__ */ r(l, { iconName: "User16px" }),
|
41
|
+
!!e && /* @__PURE__ */ r(
|
42
|
+
f,
|
43
|
+
{
|
44
|
+
count: e,
|
45
|
+
position: p,
|
46
|
+
size: a === t.S ? "s" : "m",
|
47
|
+
absolute: !0
|
48
|
+
}
|
49
|
+
)
|
50
|
+
]
|
51
|
+
}
|
52
|
+
);
|
53
|
+
}
|
54
|
+
);
|
55
|
+
N.displayName = "Avatar";
|
56
|
+
export {
|
57
|
+
N as Avatar
|
58
|
+
};
|