mimir-ui-kit 1.34.4 → 1.34.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Input-DGr0q5AJ.js +210 -0
- package/dist/ProgressBar-C0dC7o7N.js +55 -0
- package/dist/assets/ProgressBar.css +1 -1
- package/dist/assets/Slider.css +1 -1
- package/dist/bugs-diTMAGNw.js +18 -0
- package/dist/components/Accordion/Accordion.js +187 -212
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +8 -14
- package/dist/components/Accordion/AccordionItem/index.js +2 -2
- package/dist/components/Accordion/constants.js +7 -36
- package/dist/components/Accordion/index.js +6 -6
- package/dist/components/AnchorLink/Link.js +39 -50
- package/dist/components/AnchorLink/constants.js +3 -14
- package/dist/components/AnchorLink/index.js +5 -5
- package/dist/components/Avatar/Avatar.js +37 -42
- package/dist/components/Avatar/constants.js +2 -7
- package/dist/components/Avatar/index.js +4 -4
- package/dist/components/Button/Button.js +59 -75
- package/dist/components/Button/constants.js +7 -52
- package/dist/components/Button/index.js +9 -9
- package/dist/components/CheckboxMimir/CheckboxMimir.js +48 -59
- package/dist/components/CheckboxMimir/index.js +2 -2
- package/dist/components/Chip/Chip.js +35 -47
- package/dist/components/Chip/constants.js +3 -17
- package/dist/components/Chip/index.js +5 -5
- package/dist/components/DatePicker/DatePicker.js +106 -162
- package/dist/components/DatePicker/DatePickerModal.js +99 -151
- package/dist/components/DatePicker/MonthPickerModal.js +61 -90
- package/dist/components/DatePicker/YearPickerModal.js +54 -85
- package/dist/components/DatePicker/constants.d.ts +1 -1
- package/dist/components/DatePicker/constants.js +7 -18
- package/dist/components/DatePicker/index.js +2 -2
- package/dist/components/DatePicker/utils.js +5 -13
- package/dist/components/Drawer/Drawer.d.ts +3 -2
- package/dist/components/Drawer/Drawer.js +100 -140
- package/dist/components/Drawer/constants.js +2 -8
- package/dist/components/Drawer/index.js +4 -4
- package/dist/components/GosZnak/GosZnak.js +58 -71
- package/dist/components/GosZnak/constants.js +3 -15
- package/dist/components/GosZnak/index.js +5 -5
- package/dist/components/Image/Image.js +38 -54
- package/dist/components/Image/index.js +2 -2
- package/dist/components/Input/Input.js +3 -3
- package/dist/components/Input/constants.js +4 -20
- package/dist/components/Input/index.js +6 -6
- package/dist/components/InputPassword/InputPassword.js +36 -43
- package/dist/components/InputPassword/index.js +2 -2
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +23 -26
- package/dist/components/InputPhoneNumber/index.js +5 -5
- package/dist/components/InputPhoneNumber/utils.js +7 -24
- package/dist/components/InputRangeSlider/InputRangeSlider.js +110 -158
- package/dist/components/InputRangeSlider/constants.js +6 -16
- package/dist/components/InputRangeSlider/index.js +5 -5
- package/dist/components/ListFiles/ListFiles.js +25 -26
- package/dist/components/ListFiles/constants.js +2 -2
- package/dist/components/ListFiles/index.js +2 -2
- package/dist/components/ListPhotos/ListPhotos.js +21 -22
- package/dist/components/ListPhotos/constants.js +2 -2
- package/dist/components/ListPhotos/index.js +2 -2
- package/dist/components/Loader/Loader.js +10 -16
- package/dist/components/Loader/index.js +2 -2
- package/dist/components/MergedButton/MergedButton.js +41 -49
- package/dist/components/MergedButton/constants.js +2 -7
- package/dist/components/MergedButton/index.js +4 -4
- package/dist/components/NotificationBadge/NotificationBadge.js +22 -25
- package/dist/components/NotificationBadge/constants.js +2 -6
- package/dist/components/NotificationBadge/index.js +4 -4
- package/dist/components/OtpInput/OtpInput.js +45 -51
- package/dist/components/OtpInput/constants.js +4 -6
- package/dist/components/OtpInput/hooks.js +74 -111
- package/dist/components/OtpInput/index.js +2 -2
- package/dist/components/Pagination/Pagination.js +115 -157
- package/dist/components/Pagination/constants.js +3 -4
- package/dist/components/Pagination/index.js +2 -2
- package/dist/components/Portal/Portal.js +6 -8
- package/dist/components/Portal/index.js +2 -2
- package/dist/components/RadioGroup/RadioGroup.js +135 -141
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/SelectSearch/SelectSearch.js +2412 -3345
- package/dist/components/SelectSearch/constants.js +2 -6
- package/dist/components/SelectSearch/index.js +4 -4
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +29 -31
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +24 -27
- package/dist/components/Skeleton/SkeletonText/SkeletonText.js +26 -32
- package/dist/components/Skeleton/constants.js +2 -7
- package/dist/components/Skeleton/index.js +8 -8
- package/dist/components/Slider/Slider.d.ts +1 -4
- package/dist/components/Slider/Slider.js +2938 -343
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.js +3 -2
- package/dist/components/Steps/Steps.js +96 -142
- package/dist/components/Steps/constants.js +18 -54
- package/dist/components/Steps/index.js +5 -5
- package/dist/components/Switcher/Switcher.js +75 -86
- package/dist/components/Switcher/constants.js +2 -6
- package/dist/components/Switcher/index.js +4 -4
- package/dist/components/TabTrail/TabButtons/TabButtons.js +18 -18
- package/dist/components/TabTrail/TabButtons/constants.js +3 -12
- package/dist/components/TabTrail/TabButtons/index.js +2 -2
- package/dist/components/TabTrail/TabTrail.js +227 -245
- package/dist/components/TabTrail/constants.js +2 -6
- package/dist/components/TabTrail/index.js +4 -4
- package/dist/components/Tag/Tag.js +35 -43
- package/dist/components/Tag/constants.js +3 -13
- package/dist/components/Tag/index.js +5 -5
- package/dist/components/TextArea/TextArea.js +148 -175
- package/dist/components/TextArea/hooks.js +12 -14
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/Timer/Timer.js +17 -21
- package/dist/components/Timer/index.js +2 -2
- package/dist/components/Toasts/ProgressBar.js +3 -3
- package/dist/components/Toasts/Toast.js +47 -48
- package/dist/components/Toasts/ToastList.js +28 -38
- package/dist/components/Toasts/ToastsProvider.js +29 -33
- package/dist/components/Toasts/constants.js +13 -47
- package/dist/components/Toasts/hooks.js +5 -6
- package/dist/components/Toasts/index.js +7 -7
- package/dist/components/Toasts/store.js +24 -34
- package/dist/components/TwinSwitcher/TwinSwitcher.js +51 -55
- package/dist/components/TwinSwitcher/index.js +2 -2
- package/dist/components/UniversalUploader/UniversalUploader.js +61 -89
- package/dist/components/UniversalUploader/constants.js +4 -9
- package/dist/components/UniversalUploader/index.js +4 -4
- package/dist/components/Uploader/Uploader.js +52 -74
- package/dist/components/Uploader/constants.js +10 -13
- package/dist/components/Uploader/index.js +4 -4
- package/dist/components/UploaderFiles/UploaderFiles.js +39 -47
- package/dist/components/UploaderFiles/index.js +2 -2
- package/dist/components/UploaderPhotos/UploaderPhotos.js +44 -52
- package/dist/components/UploaderPhotos/index.js +2 -2
- package/dist/components/Vote/Vote.js +76 -100
- package/dist/components/Vote/constants.js +7 -13
- package/dist/components/Vote/index.js +4 -4
- package/dist/components/index.js +135 -135
- package/dist/field-FJ34aSs4.js +12 -0
- package/dist/focus-management-XwV-9qkO.js +77 -0
- package/dist/hidden-DbgtYPOH.js +13 -0
- package/dist/hooks/index.js +17 -17
- package/dist/hooks/useClickOutside/index.js +2 -2
- package/dist/hooks/useClickOutside/useClickOutside.js +11 -20
- package/dist/hooks/useCopyToClipboard/index.js +2 -2
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +10 -17
- package/dist/hooks/useInterval/index.js +2 -2
- package/dist/hooks/useInterval/useInterval.js +11 -13
- package/dist/hooks/useLockBodyScroll/index.js +2 -2
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +10 -14
- package/dist/hooks/useMediaQuery/constants.js +3 -24
- package/dist/hooks/useMediaQuery/index.js +5 -5
- package/dist/hooks/useMediaQuery/useMediaQuery.js +10 -13
- package/dist/hooks/useMergeRefs/index.js +2 -2
- package/dist/hooks/useMergeRefs/useMergeRefs.js +21 -20
- package/dist/hooks/useResizeObserver/getElement.js +2 -16
- package/dist/hooks/useResizeObserver/index.js +2 -2
- package/dist/hooks/useResizeObserver/useResizeObserver.js +27 -40
- package/dist/hooks/useTimer/index.js +44 -77
- package/dist/hooks/useTimer/useTimer.js +45 -74
- package/dist/hooks/useTimer/utils.js +50 -67
- package/dist/hooks/useWindowSize/index.js +13 -19
- package/dist/icons/Icon.js +7 -10
- package/dist/icons/components/12px/Close12px.js +14 -16
- package/dist/icons/components/12px/MessageRead12px.js +33 -35
- package/dist/icons/components/16px/Accept16px.js +23 -25
- package/dist/icons/components/16px/Acts16px.js +36 -38
- package/dist/icons/components/16px/Acts16pxF.js +31 -33
- package/dist/icons/components/16px/AdditionalServicess16px.js +29 -31
- package/dist/icons/components/16px/AdditionalServicess16pxF.js +18 -20
- package/dist/icons/components/16px/Agents16px.js +20 -22
- package/dist/icons/components/16px/Agents16pxF.js +18 -20
- package/dist/icons/components/16px/Alarm16px.js +21 -23
- package/dist/icons/components/16px/ArrowDown16px.js +20 -22
- package/dist/icons/components/16px/ArrowLeft16px.js +20 -22
- package/dist/icons/components/16px/ArrowRight16px.js +20 -22
- package/dist/icons/components/16px/ArrowUp16px.js +20 -22
- package/dist/icons/components/16px/ArrowUpright16px.js +20 -22
- package/dist/icons/components/16px/AttachFile16px.js +20 -22
- package/dist/icons/components/16px/Bell16px.js +40 -42
- package/dist/icons/components/16px/Bell16pxF.js +30 -32
- package/dist/icons/components/16px/Calculator16px.js +20 -22
- package/dist/icons/components/16px/CalculatorLkk16px.js +31 -33
- package/dist/icons/components/16px/CalculatorLkk16pxF.js +20 -22
- package/dist/icons/components/16px/Calendar16px.js +20 -22
- package/dist/icons/components/16px/Camera16px.js +32 -34
- package/dist/icons/components/16px/Car16px.js +31 -33
- package/dist/icons/components/16px/Car16pxF.js +20 -22
- package/dist/icons/components/16px/Catalog16px.js +20 -22
- package/dist/icons/components/16px/Certs16px.js +29 -31
- package/dist/icons/components/16px/Certs16pxF.js +29 -31
- package/dist/icons/components/16px/Change16px.js +18 -20
- package/dist/icons/components/16px/Chat16px.js +29 -31
- package/dist/icons/components/16px/Chat16pxF.js +20 -22
- package/dist/icons/components/16px/Chatbot16px.js +260 -262
- package/dist/icons/components/16px/Close16px.js +20 -22
- package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +18 -20
- package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +18 -20
- package/dist/icons/components/16px/Coin16px.js +31 -33
- package/dist/icons/components/16px/Coin16pxF.js +38 -40
- package/dist/icons/components/16px/Contracts16px.js +31 -33
- package/dist/icons/components/16px/Contracts16pxF.js +29 -31
- package/dist/icons/components/16px/CopyClipboard16px.js +23 -25
- package/dist/icons/components/16px/Done16px.js +20 -22
- package/dist/icons/components/16px/Download16px.js +27 -29
- package/dist/icons/components/16px/DragHandle16px.js +18 -20
- package/dist/icons/components/16px/DragHandleHorizontal16px.js +18 -20
- package/dist/icons/components/16px/DragHandleVertical16px.js +18 -20
- package/dist/icons/components/16px/DropdownArrowBottom16px.js +20 -22
- package/dist/icons/components/16px/DropdownArrowLeft16px.js +20 -22
- package/dist/icons/components/16px/DropdownArrowRight16px.js +20 -22
- package/dist/icons/components/16px/DropdownArrowUp16px.js +20 -22
- package/dist/icons/components/16px/Dzen16px.js +18 -20
- package/dist/icons/components/16px/Euro16px.js +21 -23
- package/dist/icons/components/16px/Eye16px.js +31 -33
- package/dist/icons/components/16px/Failure16px.js +23 -25
- package/dist/icons/components/16px/Favorite16px.js +20 -22
- package/dist/icons/components/16px/Favorite16pxF.js +18 -20
- package/dist/icons/components/16px/Filter16px.js +20 -22
- package/dist/icons/components/16px/Flag16pxF.js +12 -14
- package/dist/icons/components/16px/Folder16px.js +20 -22
- package/dist/icons/components/16px/Fullscreen16px.js +20 -22
- package/dist/icons/components/16px/Galery16px.js +23 -25
- package/dist/icons/components/16px/Gear16px.js +31 -33
- package/dist/icons/components/16px/Gift16px.js +29 -31
- package/dist/icons/components/16px/Hint16px.js +21 -23
- package/dist/icons/components/16px/Home16px.js +29 -31
- package/dist/icons/components/16px/Home16pxF.js +20 -22
- package/dist/icons/components/16px/Hot16pxF.js +18 -20
- package/dist/icons/components/16px/Kebab16px.js +12 -14
- package/dist/icons/components/16px/List16px.js +18 -20
- package/dist/icons/components/16px/Location16px.js +31 -33
- package/dist/icons/components/16px/Map16px.js +20 -22
- package/dist/icons/components/16px/Menu16px.js +18 -20
- package/dist/icons/components/16px/MenuMobile16px.js +20 -22
- package/dist/icons/components/16px/Minus16px.js +12 -14
- package/dist/icons/components/16px/Navigation16px.js +20 -22
- package/dist/icons/components/16px/News16px.js +29 -31
- package/dist/icons/components/16px/News16pxF.js +20 -22
- package/dist/icons/components/16px/Number16px.js +29 -31
- package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +18 -20
- package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +18 -20
- package/dist/icons/components/16px/Orders16px.js +29 -31
- package/dist/icons/components/16px/Orders16pxF.js +23 -25
- package/dist/icons/components/16px/Pause16px.js +12 -14
- package/dist/icons/components/16px/Pen16px.js +31 -33
- package/dist/icons/components/16px/Pen16pxF.js +20 -22
- package/dist/icons/components/16px/Phone16px.js +20 -22
- package/dist/icons/components/16px/Play16pxF.js +18 -20
- package/dist/icons/components/16px/Plus16px.js +20 -22
- package/dist/icons/components/16px/Pound16px.js +21 -23
- package/dist/icons/components/16px/PriceDown16px.js +31 -33
- package/dist/icons/components/16px/PriceUp16px.js +31 -33
- package/dist/icons/components/16px/Question16px.js +20 -22
- package/dist/icons/components/16px/Question16pxF.js +20 -22
- package/dist/icons/components/16px/Rutube16px.js +18 -20
- package/dist/icons/components/16px/Scan16px.js +18 -20
- package/dist/icons/components/16px/Search16px.js +20 -22
- package/dist/icons/components/16px/Share16pxF.js +18 -20
- package/dist/icons/components/16px/ShopingCard16px.js +20 -22
- package/dist/icons/components/16px/Sort16px.js +20 -22
- package/dist/icons/components/16px/Star16px.js +20 -22
- package/dist/icons/components/16px/Star16pxF.js +18 -20
- package/dist/icons/components/16px/StarHalf16pxF.js +20 -22
- package/dist/icons/components/16px/Telegram16pxF.js +18 -20
- package/dist/icons/components/16px/TelegramPlane16pxF.js +18 -20
- package/dist/icons/components/16px/Timer16px.js +36 -38
- package/dist/icons/components/16px/Trash16px.js +20 -22
- package/dist/icons/components/16px/TwinArrowLeft16px.js +18 -20
- package/dist/icons/components/16px/TwinArrowRight16px.js +18 -20
- package/dist/icons/components/16px/USDollar16px.js +21 -23
- package/dist/icons/components/16px/Umbrella16px.js +20 -22
- package/dist/icons/components/16px/Umbrella16pxF.js +18 -20
- package/dist/icons/components/16px/UnionIcon16px.js +20 -22
- package/dist/icons/components/16px/User16px.js +29 -31
- package/dist/icons/components/16px/User16pxF.js +18 -20
- package/dist/icons/components/16px/Users16px.js +29 -31
- package/dist/icons/components/16px/Users16pxF.js +18 -20
- package/dist/icons/components/16px/VK16pxF.js +20 -22
- package/dist/icons/components/16px/Waiting16px.js +20 -22
- package/dist/icons/components/16px/Whatsapp16px.js +29 -31
- package/dist/icons/components/16px/WriteUs16px.js +23 -25
- package/dist/icons/components/16px/Youtube16pxF.js +18 -20
- package/dist/icons/components/16px/Yuan16px.js +21 -23
- package/dist/icons/components/24px/Accept24px.js +25 -27
- package/dist/icons/components/24px/Acts24px.js +37 -39
- package/dist/icons/components/24px/Acts24pxF.js +30 -32
- package/dist/icons/components/24px/AdditionalServicess24px.js +30 -32
- package/dist/icons/components/24px/AdditionalServicess24pxF.js +19 -21
- package/dist/icons/components/24px/Agents24px.js +21 -23
- package/dist/icons/components/24px/Agents24pxF.js +28 -30
- package/dist/icons/components/24px/Alarm24px.js +22 -24
- package/dist/icons/components/24px/ArrowDown24px.js +21 -23
- package/dist/icons/components/24px/ArrowLeft24px.js +21 -23
- package/dist/icons/components/24px/ArrowRight24px.js +21 -23
- package/dist/icons/components/24px/ArrowUp24px.js +21 -23
- package/dist/icons/components/24px/ArrowUpright24px.js +21 -23
- package/dist/icons/components/24px/AttachFile24px.js +21 -23
- package/dist/icons/components/24px/Bell24px.js +41 -43
- package/dist/icons/components/24px/Bell24pxF.js +24 -26
- package/dist/icons/components/24px/Calculator24px.js +21 -23
- package/dist/icons/components/24px/CalculatorLkk24px.js +30 -32
- package/dist/icons/components/24px/CalculatorLkk24pxF.js +21 -23
- package/dist/icons/components/24px/Calendar24px.js +21 -23
- package/dist/icons/components/24px/Camera24px.js +21 -23
- package/dist/icons/components/24px/Car24px.js +32 -34
- package/dist/icons/components/24px/Car24pxF.js +30 -32
- package/dist/icons/components/24px/Catalog24px.js +21 -23
- package/dist/icons/components/24px/Certs24px.js +30 -32
- package/dist/icons/components/24px/Certs24pxF.js +30 -32
- package/dist/icons/components/24px/Change24px.js +21 -23
- package/dist/icons/components/24px/Chat24px.js +26 -28
- package/dist/icons/components/24px/Chat24pxF.js +21 -23
- package/dist/icons/components/24px/Chatbot24px.js +261 -263
- package/dist/icons/components/24px/Close24px.js +21 -23
- package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +21 -23
- package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +19 -21
- package/dist/icons/components/24px/Coin24px.js +22 -24
- package/dist/icons/components/24px/Coin24pxF.js +39 -41
- package/dist/icons/components/24px/Contracts24px.js +32 -34
- package/dist/icons/components/24px/Contracts24pxF.js +30 -32
- package/dist/icons/components/24px/CopyClipboard24px.js +24 -26
- package/dist/icons/components/24px/Done24px.js +21 -23
- package/dist/icons/components/24px/Download24px.js +28 -30
- package/dist/icons/components/24px/DragHandle24px.js +19 -21
- package/dist/icons/components/24px/DragHandleHorizontal24px.js +19 -21
- package/dist/icons/components/24px/DragHandleVertical24px.js +19 -21
- package/dist/icons/components/24px/DropdownArrowDown24px.js +21 -23
- package/dist/icons/components/24px/DropdownArrowLeft24px.js +21 -23
- package/dist/icons/components/24px/DropdownArrowRight24px.js +21 -23
- package/dist/icons/components/24px/DropdownArrowUp24px.js +21 -23
- package/dist/icons/components/24px/Dzen24px.js +19 -21
- package/dist/icons/components/24px/Euro24px.js +22 -24
- package/dist/icons/components/24px/Eye24px.js +32 -34
- package/dist/icons/components/24px/Failure24px.js +24 -26
- package/dist/icons/components/24px/Favorite24px.js +21 -23
- package/dist/icons/components/24px/Favorite24pxF.js +19 -21
- package/dist/icons/components/24px/Filter24px.js +19 -21
- package/dist/icons/components/24px/Flag24pxF.js +13 -15
- package/dist/icons/components/24px/Folder24px.js +21 -23
- package/dist/icons/components/24px/Fullscreen24px.js +21 -23
- package/dist/icons/components/24px/Galery24px.js +24 -26
- package/dist/icons/components/24px/Gear24px.js +32 -34
- package/dist/icons/components/24px/Gift24px.js +21 -23
- package/dist/icons/components/24px/Hint24px.js +24 -26
- package/dist/icons/components/24px/Home24px.js +32 -34
- package/dist/icons/components/24px/Home24pxF.js +21 -23
- package/dist/icons/components/24px/Hot24pxF.js +19 -21
- package/dist/icons/components/24px/Improvements24px.js +39 -41
- package/dist/icons/components/24px/Improvements24pxF.js +33 -35
- package/dist/icons/components/24px/Kebab24px.js +19 -21
- package/dist/icons/components/24px/List24px.js +19 -21
- package/dist/icons/components/24px/Location24px.js +32 -34
- package/dist/icons/components/24px/Map24px.js +21 -23
- package/dist/icons/components/24px/Menu24px.js +19 -21
- package/dist/icons/components/24px/MenuMobile24px.js +21 -23
- package/dist/icons/components/24px/Minus24px.js +21 -23
- package/dist/icons/components/24px/Navigation24px.js +21 -23
- package/dist/icons/components/24px/News24px.js +30 -32
- package/dist/icons/components/24px/News24pxF.js +21 -23
- package/dist/icons/components/24px/Number24px.js +30 -32
- package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +19 -21
- package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +21 -23
- package/dist/icons/components/24px/Orders24px.js +30 -32
- package/dist/icons/components/24px/Orders24pxF.js +24 -26
- package/dist/icons/components/24px/Pause24px.js +13 -15
- package/dist/icons/components/24px/Pen24px.js +32 -34
- package/dist/icons/components/24px/Pen24pxF.js +21 -23
- package/dist/icons/components/24px/Phone24px.js +21 -23
- package/dist/icons/components/24px/Play24px.js +19 -21
- package/dist/icons/components/24px/Plus24px.js +21 -23
- package/dist/icons/components/24px/Pound24px.js +22 -24
- package/dist/icons/components/24px/PriceDown24px.js +30 -32
- package/dist/icons/components/24px/PriceUp24px.js +30 -32
- package/dist/icons/components/24px/Question24px.js +30 -32
- package/dist/icons/components/24px/Question24pxF.js +21 -23
- package/dist/icons/components/24px/Rutube24px.js +19 -21
- package/dist/icons/components/24px/Scan24px.js +19 -21
- package/dist/icons/components/24px/Search24px.js +21 -23
- package/dist/icons/components/24px/Share24pxF.js +19 -21
- package/dist/icons/components/24px/ShopingCard24px.js +21 -23
- package/dist/icons/components/24px/Sort24px.js +19 -21
- package/dist/icons/components/24px/Star24px.js +21 -23
- package/dist/icons/components/24px/Star24pxF.js +19 -21
- package/dist/icons/components/24px/StarHalf24pxF.js +21 -23
- package/dist/icons/components/24px/Telegram24pxF.js +19 -21
- package/dist/icons/components/24px/TelegramPlane24pxF.js +19 -21
- package/dist/icons/components/24px/Timer24px.js +37 -39
- package/dist/icons/components/24px/Trash24px.js +41 -43
- package/dist/icons/components/24px/TwinArrowLeft24px.js +19 -21
- package/dist/icons/components/24px/TwinArrowRight24px.js +21 -23
- package/dist/icons/components/24px/USDollar24px.js +22 -24
- package/dist/icons/components/24px/Umbrella24px.js +21 -23
- package/dist/icons/components/24px/Umbrella24pxF.js +19 -21
- package/dist/icons/components/24px/UnionIcon24px.js +21 -23
- package/dist/icons/components/24px/User24px.js +30 -32
- package/dist/icons/components/24px/User24pxF.js +19 -21
- package/dist/icons/components/24px/Users24px.js +21 -23
- package/dist/icons/components/24px/Users24pxF.js +28 -30
- package/dist/icons/components/24px/VK24pxF.js +21 -23
- package/dist/icons/components/24px/Waiting24px.js +21 -23
- package/dist/icons/components/24px/Whatsapp24px.js +30 -32
- package/dist/icons/components/24px/WriteUs24px.js +24 -26
- package/dist/icons/components/24px/Youtube24pxF.js +19 -21
- package/dist/icons/components/24px/Yuan24px.js +22 -24
- package/dist/icons/components/32px/Accept32px.js +24 -26
- package/dist/icons/components/32px/Acts32px.js +37 -39
- package/dist/icons/components/32px/AdditionalServicess32px.js +21 -23
- package/dist/icons/components/32px/AdditionalServicess32pxF.js +19 -21
- package/dist/icons/components/32px/Agents32px.js +33 -35
- package/dist/icons/components/32px/Alarm32px.js +22 -24
- package/dist/icons/components/32px/ArrowDown32px.js +21 -23
- package/dist/icons/components/32px/ArrowLeft32px.js +21 -23
- package/dist/icons/components/32px/ArrowRight32px.js +21 -23
- package/dist/icons/components/32px/ArrowUp32px.js +21 -23
- package/dist/icons/components/32px/ArrowUpright32px.js +21 -23
- package/dist/icons/components/32px/AttachFile32px.js +21 -23
- package/dist/icons/components/32px/Bell32px.js +41 -43
- package/dist/icons/components/32px/Bell32pxF.js +24 -26
- package/dist/icons/components/32px/Calculator32px.js +21 -23
- package/dist/icons/components/32px/CalculatorLkk32px.js +30 -32
- package/dist/icons/components/32px/CalculatorLkk32pxF.js +21 -23
- package/dist/icons/components/32px/Calendar32px.js +21 -23
- package/dist/icons/components/32px/Camera32px.js +33 -35
- package/dist/icons/components/32px/Car32px.js +32 -34
- package/dist/icons/components/32px/Car32pxF.js +24 -26
- package/dist/icons/components/32px/Catalog32px.js +21 -23
- package/dist/icons/components/32px/Certs32px.js +30 -32
- package/dist/icons/components/32px/Certs32pxF.js +30 -32
- package/dist/icons/components/32px/Change32px.js +21 -23
- package/dist/icons/components/32px/Chat32px.js +30 -32
- package/dist/icons/components/32px/Chat32pxF.js +21 -23
- package/dist/icons/components/32px/Chatbot32px.js +261 -263
- package/dist/icons/components/32px/Close32px.js +21 -23
- package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +19 -21
- package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +19 -21
- package/dist/icons/components/32px/Coin32px.js +32 -34
- package/dist/icons/components/32px/Coin32pxF.js +30 -32
- package/dist/icons/components/32px/Contracts32px.js +32 -34
- package/dist/icons/components/32px/Contracts32pxF.js +30 -32
- package/dist/icons/components/32px/CopyClipboard32px.js +30 -32
- package/dist/icons/components/32px/Done32px.js +21 -23
- package/dist/icons/components/32px/Download32px.js +28 -30
- package/dist/icons/components/32px/DragHandle32px.js +19 -21
- package/dist/icons/components/32px/DragHandleHorizontal32px.js +19 -21
- package/dist/icons/components/32px/DragHandleVertical32px.js +19 -21
- package/dist/icons/components/32px/DropdownArrowDown32px.js +21 -23
- package/dist/icons/components/32px/DropdownArrowLeft32px.js +21 -23
- package/dist/icons/components/32px/DropdownArrowRight32px.js +21 -23
- package/dist/icons/components/32px/DropdownArrowUp32px.js +13 -15
- package/dist/icons/components/32px/Dzen32px.js +19 -21
- package/dist/icons/components/32px/Euro32px.js +22 -24
- package/dist/icons/components/32px/Eye32px.js +32 -34
- package/dist/icons/components/32px/Failure32px.js +24 -26
- package/dist/icons/components/32px/Favorite32px.js +21 -23
- package/dist/icons/components/32px/Favorite32pxF.js +19 -21
- package/dist/icons/components/32px/Filter32px.js +19 -21
- package/dist/icons/components/32px/Flag32pxF.js +13 -15
- package/dist/icons/components/32px/Folder32px.js +21 -23
- package/dist/icons/components/32px/Fullscreen32px.js +21 -23
- package/dist/icons/components/32px/Galery32px.js +24 -26
- package/dist/icons/components/32px/Gear32px.js +32 -34
- package/dist/icons/components/32px/Gift32px.js +21 -23
- package/dist/icons/components/32px/Hint32px.js +24 -26
- package/dist/icons/components/32px/Home32px.js +24 -26
- package/dist/icons/components/32px/Home32pxF.js +21 -23
- package/dist/icons/components/32px/Hot32pxF.js +19 -21
- package/dist/icons/components/32px/Kebab32px.js +13 -15
- package/dist/icons/components/32px/List32px.js +19 -21
- package/dist/icons/components/32px/Location32px.js +32 -34
- package/dist/icons/components/32px/Map32px.js +21 -23
- package/dist/icons/components/32px/Menu32px.js +19 -21
- package/dist/icons/components/32px/MenuMobile32px.js +21 -23
- package/dist/icons/components/32px/Minus32px.js +21 -23
- package/dist/icons/components/32px/Navigation32px.js +21 -23
- package/dist/icons/components/32px/News32px.js +30 -32
- package/dist/icons/components/32px/News32pxF.js +21 -23
- package/dist/icons/components/32px/Number32px.js +30 -32
- package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +19 -21
- package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +21 -23
- package/dist/icons/components/32px/Orders32px.js +39 -41
- package/dist/icons/components/32px/Orders32pxF.js +30 -32
- package/dist/icons/components/32px/Pause32px.js +13 -15
- package/dist/icons/components/32px/Pen32px.js +20 -22
- package/dist/icons/components/32px/Pen32pxF.js +21 -23
- package/dist/icons/components/32px/PersonalManager32px.js +108 -110
- package/dist/icons/components/32px/Phone32px.js +19 -21
- package/dist/icons/components/32px/Play32px.js +19 -21
- package/dist/icons/components/32px/Plus32px.js +21 -23
- package/dist/icons/components/32px/Pound32px.js +22 -24
- package/dist/icons/components/32px/PriceDown32px.js +41 -43
- package/dist/icons/components/32px/PriceUp32px.js +32 -34
- package/dist/icons/components/32px/Question32px.js +30 -32
- package/dist/icons/components/32px/Question32pxF.js +21 -23
- package/dist/icons/components/32px/Rutube32px.js +19 -21
- package/dist/icons/components/32px/Scan32px.js +19 -21
- package/dist/icons/components/32px/Search32px.js +21 -23
- package/dist/icons/components/32px/Share32pxF.js +19 -21
- package/dist/icons/components/32px/ShopimgCard32px.js +21 -23
- package/dist/icons/components/32px/Sort32px.js +19 -21
- package/dist/icons/components/32px/Star32px.js +21 -23
- package/dist/icons/components/32px/Star32pxF.js +19 -21
- package/dist/icons/components/32px/StarHalf32pxF.js +21 -23
- package/dist/icons/components/32px/Telegram32pxF.js +19 -21
- package/dist/icons/components/32px/TelegramPlane32pxF.js +19 -21
- package/dist/icons/components/32px/Timer32px.js +31 -33
- package/dist/icons/components/32px/Trash32px.js +41 -43
- package/dist/icons/components/32px/TwinArrowLeft32px.js +19 -21
- package/dist/icons/components/32px/TwinArrowRight32px.js +19 -21
- package/dist/icons/components/32px/USDollar32px.js +22 -24
- package/dist/icons/components/32px/Umbrella32px.js +21 -23
- package/dist/icons/components/32px/Umbrella32pxF.js +21 -23
- package/dist/icons/components/32px/UnionIcon32px.js +21 -23
- package/dist/icons/components/32px/User32px.js +30 -32
- package/dist/icons/components/32px/User32pxF.js +19 -21
- package/dist/icons/components/32px/Users32px.js +21 -23
- package/dist/icons/components/32px/Users32pxF.js +22 -24
- package/dist/icons/components/32px/VK32pxF.js +21 -23
- package/dist/icons/components/32px/Waiting32px.js +21 -23
- package/dist/icons/components/32px/Whatsapp32px.js +30 -32
- package/dist/icons/components/32px/WriteUs32px.js +24 -26
- package/dist/icons/components/32px/Youtube32pxF.js +19 -21
- package/dist/icons/components/32px/Yuan32px.js +22 -24
- package/dist/icons/components/Mans.js +5 -5
- package/dist/icons/components/Step.js +5 -5
- package/dist/icons/components/StepXL.js +7 -7
- package/dist/icons/components/auto-logo/ACE.js +19 -21
- package/dist/icons/components/auto-logo/Alim.js +21 -23
- package/dist/icons/components/auto-logo/Amur.js +21 -23
- package/dist/icons/components/auto-logo/Ankai.js +21 -23
- package/dist/icons/components/auto-logo/ArrowLength.js +19 -21
- package/dist/icons/components/auto-logo/Audi.js +18 -20
- package/dist/icons/components/auto-logo/BMW.js +39 -41
- package/dist/icons/components/auto-logo/BRP.js +30 -32
- package/dist/icons/components/auto-logo/Bomag.js +30 -32
- package/dist/icons/components/auto-logo/Case.js +21 -23
- package/dist/icons/components/auto-logo/Caterpillar.js +35 -37
- package/dist/icons/components/auto-logo/ChMZAP.js +44 -46
- package/dist/icons/components/auto-logo/ChTZ.js +30 -32
- package/dist/icons/components/auto-logo/Changan.js +19 -21
- package/dist/icons/components/auto-logo/Cherry.js +30 -32
- package/dist/icons/components/auto-logo/Citroen.js +21 -23
- package/dist/icons/components/auto-logo/DaewooFull.js +56 -58
- package/dist/icons/components/auto-logo/DaewooSymbol.js +49 -51
- package/dist/icons/components/auto-logo/Daf.js +21 -23
- package/dist/icons/components/auto-logo/Dayun.js +21 -23
- package/dist/icons/components/auto-logo/DongFeng.js +21 -23
- package/dist/icons/components/auto-logo/Ducati.js +30 -32
- package/dist/icons/components/auto-logo/Exeed.js +30 -32
- package/dist/icons/components/auto-logo/Faw.js +32 -34
- package/dist/icons/components/auto-logo/Fenix.js +112 -114
- package/dist/icons/components/auto-logo/Fiat.js +35 -37
- package/dist/icons/components/auto-logo/Ford.js +39 -41
- package/dist/icons/components/auto-logo/Foton.js +30 -32
- package/dist/icons/components/auto-logo/Gac.js +19 -21
- package/dist/icons/components/auto-logo/Gaz.js +57 -59
- package/dist/icons/components/auto-logo/Geely.js +23 -25
- package/dist/icons/components/auto-logo/Genesis.js +28 -30
- package/dist/icons/components/auto-logo/Gitte.js +21 -23
- package/dist/icons/components/auto-logo/Grunwald.js +21 -23
- package/dist/icons/components/auto-logo/HartungFull.js +30 -32
- package/dist/icons/components/auto-logo/HartungSymbol.js +30 -32
- package/dist/icons/components/auto-logo/Haval.js +21 -23
- package/dist/icons/components/auto-logo/Higer.js +21 -23
- package/dist/icons/components/auto-logo/Hitachi.js +19 -21
- package/dist/icons/components/auto-logo/Honda.js +35 -37
- package/dist/icons/components/auto-logo/Hongqi.js +28 -30
- package/dist/icons/components/auto-logo/Hongyan.js +21 -23
- package/dist/icons/components/auto-logo/Howo.js +44 -46
- package/dist/icons/components/auto-logo/Hyundai.js +21 -23
- package/dist/icons/components/auto-logo/Infiniti.js +19 -21
- package/dist/icons/components/auto-logo/Isuzu.js +21 -23
- package/dist/icons/components/auto-logo/Iveco.js +21 -23
- package/dist/icons/components/auto-logo/JCB.js +30 -32
- package/dist/icons/components/auto-logo/Jac.js +19 -21
- package/dist/icons/components/auto-logo/Juterborg.js +55 -57
- package/dist/icons/components/auto-logo/KIA.js +21 -23
- package/dist/icons/components/auto-logo/Kaiyi.js +21 -23
- package/dist/icons/components/auto-logo/Kamaz.js +33 -35
- package/dist/icons/components/auto-logo/Kassbohrer.js +21 -23
- package/dist/icons/components/auto-logo/Komatsu.js +19 -21
- package/dist/icons/components/auto-logo/Ktm.js +19 -21
- package/dist/icons/components/auto-logo/LCCE.js +35 -37
- package/dist/icons/components/auto-logo/Lada.js +21 -23
- package/dist/icons/components/auto-logo/Lexus.js +21 -23
- package/dist/icons/components/auto-logo/LiuGong.js +28 -30
- package/dist/icons/components/auto-logo/Lonking.js +28 -30
- package/dist/icons/components/auto-logo/Lovol.js +19 -21
- package/dist/icons/components/auto-logo/MTZBelarus.js +32 -34
- package/dist/icons/components/auto-logo/Man.js +19 -21
- package/dist/icons/components/auto-logo/Maz.js +30 -32
- package/dist/icons/components/auto-logo/MercedesBenz.js +21 -23
- package/dist/icons/components/auto-logo/Meusburger.js +21 -23
- package/dist/icons/components/auto-logo/Mitsubishi.js +19 -21
- package/dist/icons/components/auto-logo/NefAZ.js +28 -30
- package/dist/icons/components/auto-logo/NursanTrailer.js +19 -21
- package/dist/icons/components/auto-logo/Omoda.js +35 -37
- package/dist/icons/components/auto-logo/PSATss.js +35 -37
- package/dist/icons/components/auto-logo/Paz.js +21 -23
- package/dist/icons/components/auto-logo/Peugeot.js +19 -21
- package/dist/icons/components/auto-logo/Raskat.js +35 -37
- package/dist/icons/components/auto-logo/Renault.js +28 -30
- package/dist/icons/components/auto-logo/RussianCarsEmblem.js +30 -32
- package/dist/icons/components/auto-logo/RussianCarsKremlin.js +39 -41
- package/dist/icons/components/auto-logo/Sany.js +48 -50
- package/dist/icons/components/auto-logo/Scania.js +55 -57
- package/dist/icons/components/auto-logo/Schmitz.js +21 -23
- package/dist/icons/components/auto-logo/Shacman.js +28 -30
- package/dist/icons/components/auto-logo/Shantui.js +19 -21
- package/dist/icons/components/auto-logo/Sinanli.js +69 -71
- package/dist/icons/components/auto-logo/Sitrak.js +32 -34
- package/dist/icons/components/auto-logo/SobolIztechmash.js +58 -60
- package/dist/icons/components/auto-logo/Sokol.js +19 -21
- package/dist/icons/components/auto-logo/Sollers.js +21 -23
- package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +19 -21
- package/dist/icons/components/auto-logo/Tonar.js +21 -23
- package/dist/icons/components/auto-logo/Toyota.js +19 -21
- package/dist/icons/components/auto-logo/Trekol.js +32 -34
- package/dist/icons/components/auto-logo/UAT.js +19 -21
- package/dist/icons/components/auto-logo/Uaz.js +68 -70
- package/dist/icons/components/auto-logo/Ural.js +19 -21
- package/dist/icons/components/auto-logo/VIS.js +19 -21
- package/dist/icons/components/auto-logo/VKR.js +30 -32
- package/dist/icons/components/auto-logo/Volkswagen.js +21 -23
- package/dist/icons/components/auto-logo/Volvo.js +19 -21
- package/dist/icons/components/auto-logo/Wielton.js +19 -21
- package/dist/icons/components/auto-logo/XCMG.js +35 -37
- package/dist/icons/components/auto-logo/Yutong.js +70 -72
- package/dist/icons/components/auto-logo/Zoomlion.js +19 -21
- package/dist/icons/components/car-icons/AllMetal.js +30 -32
- package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +30 -32
- package/dist/icons/components/car-icons/AsphaltPaver.js +33 -35
- package/dist/icons/components/car-icons/Autotower.js +30 -32
- package/dist/icons/components/car-icons/Awning.js +31 -33
- package/dist/icons/components/car-icons/BackhoeLoader.js +37 -39
- package/dist/icons/components/car-icons/Buggy.js +30 -32
- package/dist/icons/components/car-icons/Bulldozer.js +32 -34
- package/dist/icons/components/car-icons/Bus.js +21 -23
- package/dist/icons/components/car-icons/BusBus.js +30 -32
- package/dist/icons/components/car-icons/BusMinibus.js +30 -32
- package/dist/icons/components/car-icons/BusShiftBuses.js +40 -42
- package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +37 -39
- package/dist/icons/components/car-icons/CargoAutotower.js +30 -32
- package/dist/icons/components/car-icons/CargoAwning.js +37 -39
- package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +37 -39
- package/dist/icons/components/car-icons/CargoDrillingRig.js +30 -32
- package/dist/icons/components/car-icons/CargoDumpTruck.js +37 -39
- package/dist/icons/components/car-icons/CargoGarbageTruck.js +37 -39
- package/dist/icons/components/car-icons/CargoGrainCarrier.js +37 -39
- package/dist/icons/components/car-icons/CargoIsothermal.js +37 -39
- package/dist/icons/components/car-icons/CargoOnBoard.js +37 -39
- package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +37 -39
- package/dist/icons/components/car-icons/CargoPromotionalItem.js +37 -39
- package/dist/icons/components/car-icons/CargoSortingTruck.js +37 -39
- package/dist/icons/components/car-icons/CargoTankerTruck.js +37 -39
- package/dist/icons/components/car-icons/CargoTowTruck.js +30 -32
- package/dist/icons/components/car-icons/CargoTruckCrane.js +39 -41
- package/dist/icons/components/car-icons/CargoVacuumMachine.js +30 -32
- package/dist/icons/components/car-icons/Clearance.js +21 -23
- package/dist/icons/components/car-icons/CombineHarvester.js +37 -39
- package/dist/icons/components/car-icons/Compartment.js +30 -32
- package/dist/icons/components/car-icons/ConcreteMixerTruck.js +37 -39
- package/dist/icons/components/car-icons/ConcretePump.js +38 -40
- package/dist/icons/components/car-icons/Crossover.js +30 -32
- package/dist/icons/components/car-icons/DrillingRigg.js +30 -32
- package/dist/icons/components/car-icons/DumpTruck.js +37 -39
- package/dist/icons/components/car-icons/Excavator.js +21 -23
- package/dist/icons/components/car-icons/ForestPreparationEquipment.js +37 -39
- package/dist/icons/components/car-icons/ForkliftTruck.js +30 -32
- package/dist/icons/components/car-icons/FrontLoader.js +37 -39
- package/dist/icons/components/car-icons/Hatchback.js +30 -32
- package/dist/icons/components/car-icons/IceRink.js +32 -34
- package/dist/icons/components/car-icons/Isothermal.js +37 -39
- package/dist/icons/components/car-icons/Liftback.js +21 -23
- package/dist/icons/components/car-icons/MiniEscalator.js +39 -41
- package/dist/icons/components/car-icons/MiniLoader.js +30 -32
- package/dist/icons/components/car-icons/MiningDumpTruck.js +37 -39
- package/dist/icons/components/car-icons/Minitractor.js +30 -32
- package/dist/icons/components/car-icons/Minivan.js +30 -32
- package/dist/icons/components/car-icons/MotorGrader.js +30 -32
- package/dist/icons/components/car-icons/MotorVehiclesBike.js +22 -24
- package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +28 -30
- package/dist/icons/components/car-icons/OffRoadVehicle.js +30 -32
- package/dist/icons/components/car-icons/OnBoard.js +37 -39
- package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +37 -39
- package/dist/icons/components/car-icons/OnBoardWithCmu.js +37 -39
- package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +46 -48
- package/dist/icons/components/car-icons/OtherCareerTechniques.js +37 -39
- package/dist/icons/components/car-icons/Pickup.js +21 -23
- package/dist/icons/components/car-icons/PickupTruck.js +30 -32
- package/dist/icons/components/car-icons/PilingInstallation.js +32 -34
- package/dist/icons/components/car-icons/PromotionalItem.js +37 -39
- package/dist/icons/components/car-icons/PublicUtilityVehicle.js +44 -46
- package/dist/icons/components/car-icons/QuarryExcavator.js +24 -26
- package/dist/icons/components/car-icons/Scooter.js +28 -30
- package/dist/icons/components/car-icons/Sedan.js +30 -32
- package/dist/icons/components/car-icons/Snowmobile.js +37 -39
- package/dist/icons/components/car-icons/TankerTruck.js +37 -39
- package/dist/icons/components/car-icons/TelescopicLoader.js +30 -32
- package/dist/icons/components/car-icons/TheLift.js +35 -37
- package/dist/icons/components/car-icons/TowTruck.js +30 -32
- package/dist/icons/components/car-icons/Tractor.js +30 -32
- package/dist/icons/components/car-icons/TractorTruck.js +37 -39
- package/dist/icons/components/car-icons/Trailerr.js +21 -23
- package/dist/icons/components/car-icons/TrailersCarCarrier.js +39 -41
- package/dist/icons/components/car-icons/TrailersCattleTruck.js +30 -32
- package/dist/icons/components/car-icons/TrailersContainerShip.js +38 -40
- package/dist/icons/components/car-icons/TrailersCurtainSide.js +37 -39
- package/dist/icons/components/car-icons/TrailersDumpTruck.js +37 -39
- package/dist/icons/components/car-icons/TrailersGrainTruck.js +37 -39
- package/dist/icons/components/car-icons/TrailersHeavyTruck.js +37 -39
- package/dist/icons/components/car-icons/TrailersIsothermal.js +37 -39
- package/dist/icons/components/car-icons/TrailersOther.js +37 -39
- package/dist/icons/components/car-icons/TrailersTankerTruck.js +37 -39
- package/dist/icons/components/car-icons/TruckCrane.js +39 -41
- package/dist/icons/components/car-icons/Universal.js +30 -32
- package/dist/icons/components/car-icons/Van.js +21 -23
- package/dist/icons/components/car-icons/Ycles.js +40 -42
- package/dist/icons/components/car-parameters-icons/Acceleration.js +30 -32
- package/dist/icons/components/car-parameters-icons/Berths.js +35 -37
- package/dist/icons/components/car-parameters-icons/Bucket.js +19 -21
- package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +21 -23
- package/dist/icons/components/car-parameters-icons/BucketVolume.js +28 -30
- package/dist/icons/components/car-parameters-icons/CabinTurn.js +30 -32
- package/dist/icons/components/car-parameters-icons/CarBodySize.js +30 -32
- package/dist/icons/components/car-parameters-icons/CarBodyType.js +21 -23
- package/dist/icons/components/car-parameters-icons/CarColor.js +30 -32
- package/dist/icons/components/car-parameters-icons/Cylinders.js +33 -35
- package/dist/icons/components/car-parameters-icons/Dimensions.js +30 -32
- package/dist/icons/components/car-parameters-icons/EngineType.js +19 -21
- package/dist/icons/components/car-parameters-icons/FuelConsumption.js +19 -21
- package/dist/icons/components/car-parameters-icons/GearType.js +22 -24
- package/dist/icons/components/car-parameters-icons/LiftingHeight.js +19 -21
- package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +21 -23
- package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +21 -23
- package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +19 -21
- package/dist/icons/components/car-parameters-icons/TrailerType.js +28 -30
- package/dist/icons/components/car-parameters-icons/UnloadingType.js +28 -30
- package/dist/icons/components/car-parameters-icons/Weight.js +32 -34
- package/dist/icons/components/car-parameters-icons/WheelDriveType.js +28 -30
- package/dist/icons/components/car-parameters-icons/WheelSheme.js +30 -32
- package/dist/icons/components/cars-stubus/Bike.js +21 -23
- package/dist/icons/components/cars-stubus/Car.js +21 -23
- package/dist/icons/components/cars-stubus/Equipment.js +21 -23
- package/dist/icons/components/cars-stubus/Truck.js +21 -23
- package/dist/icons/components/index.js +579 -579
- package/dist/icons/index.js +2 -2
- package/dist/index-DIxK0V-G.js +44 -0
- package/dist/index-DzVMAmli.js +1431 -0
- package/dist/index.js +158 -158
- package/dist/keyboard-B0lm_zyn.js +573 -0
- package/dist/label-y3ANLTNC.js +171 -0
- package/dist/open-closed-Cy6VDfYc.js +93 -0
- package/dist/styles.module-CaPkyXYQ.js +25 -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-BAxjHhds.js +19 -0
- package/dist/utils/UUID4.js +4 -4
- package/dist/utils/formating/Date.js +19 -27
- package/dist/utils/formating/FileSize.js +9 -12
- package/dist/utils/formating/Month.js +4 -5
- package/dist/utils/formating/Numbers.js +5 -5
- package/dist/utils/index.js +14 -14
- package/dist/variant.module-BXn4N1h0.js +12 -0
- package/package.json +1 -1
- package/dist/Input-DspsU5F4.js +0 -249
- package/dist/NavigationButtons-DuOoqaPo.js +0 -4907
- package/dist/ProgressBar-DWKyrXzd.js +0 -77
- package/dist/assets/ProgressBar2.css +0 -1
- package/dist/bugs-CSBdWk0R.js +0 -18
- package/dist/components/Slider/NavigationButtons/NavigationButtons.d.ts +0 -1
- package/dist/components/Slider/NavigationButtons/NavigationButtons.js +0 -7
- package/dist/components/Slider/NavigationButtons/index.d.ts +0 -1
- package/dist/components/Slider/NavigationButtons/index.js +0 -4
- package/dist/components/Slider/ProgressBar/ProgressBar.d.ts +0 -1
- package/dist/components/Slider/ProgressBar/ProgressBar.js +0 -15
- package/dist/components/Slider/ProgressBar/index.d.ts +0 -1
- package/dist/components/Slider/ProgressBar/index.js +0 -4
- package/dist/field-bS4z9Sdl.js +0 -12
- package/dist/focus-management-1rQPII7Z.js +0 -77
- package/dist/hidden-BuVoeHNy.js +0 -13
- package/dist/index-CweZ_OcN.js +0 -65
- package/dist/index-FDVpKRvA.js +0 -2010
- package/dist/keyboard-B256ZoM-.js +0 -745
- package/dist/label-P7Xsi5N7.js +0 -172
- package/dist/open-closed-CbXq00et.js +0 -93
- package/dist/styles.module-B9L4B63y.js +0 -40
- package/dist/use-active-press-B6yeSopF.js +0 -31
- package/dist/use-by-comparator-BUO78DGe.js +0 -16
- package/dist/use-resolve-button-type-B6LE6gU3.js +0 -19
- package/dist/variant.module-BinTBzAV.js +0 -15
@@ -0,0 +1,77 @@
|
|
1
|
+
import { u as N, a as v } from "./keyboard-B0lm_zyn.js";
|
2
|
+
let m = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), F = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
3
|
+
var h = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(h || {}), x = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(x || {}), A = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(A || {});
|
4
|
+
function y(e = document.body) {
|
5
|
+
return e == null ? [] : Array.from(e.querySelectorAll(m)).sort((t, r) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (r.tabIndex || Number.MAX_SAFE_INTEGER)));
|
6
|
+
}
|
7
|
+
function S(e = document.body) {
|
8
|
+
return e == null ? [] : Array.from(e.querySelectorAll(F)).sort((t, r) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (r.tabIndex || Number.MAX_SAFE_INTEGER)));
|
9
|
+
}
|
10
|
+
var p = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(p || {});
|
11
|
+
function P(e, t = 0) {
|
12
|
+
var r;
|
13
|
+
return e === ((r = N(e)) == null ? void 0 : r.body) ? !1 : v(t, { 0() {
|
14
|
+
return e.matches(m);
|
15
|
+
}, 1() {
|
16
|
+
let n = e;
|
17
|
+
for (; n !== null; ) {
|
18
|
+
if (n.matches(m)) return !0;
|
19
|
+
n = n.parentElement;
|
20
|
+
}
|
21
|
+
return !1;
|
22
|
+
} });
|
23
|
+
}
|
24
|
+
var w = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(w || {});
|
25
|
+
typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (e) => {
|
26
|
+
e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
|
27
|
+
}, !0), document.addEventListener("click", (e) => {
|
28
|
+
e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
|
29
|
+
}, !0));
|
30
|
+
let M = ["textarea", "input"].join(",");
|
31
|
+
function I(e) {
|
32
|
+
var t, r;
|
33
|
+
return (r = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, M)) != null ? r : !1;
|
34
|
+
}
|
35
|
+
function O(e, t = (r) => r) {
|
36
|
+
return e.slice().sort((r, n) => {
|
37
|
+
let i = t(r), s = t(n);
|
38
|
+
if (i === null || s === null) return 0;
|
39
|
+
let o = i.compareDocumentPosition(s);
|
40
|
+
return o & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : o & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
|
41
|
+
});
|
42
|
+
}
|
43
|
+
function L(e, t, { sorted: r = !0, relativeTo: n = null, skipElements: i = [] } = {}) {
|
44
|
+
let s = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, o = Array.isArray(e) ? r ? O(e) : e : t & 64 ? S(e) : y(e);
|
45
|
+
i.length > 0 && o.length > 1 && (o = o.filter((u) => !i.some((d) => d != null && "current" in d ? (d == null ? void 0 : d.current) === u : d === u))), n = n ?? s.activeElement;
|
46
|
+
let f = (() => {
|
47
|
+
if (t & 5) return 1;
|
48
|
+
if (t & 10) return -1;
|
49
|
+
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
50
|
+
})(), E = (() => {
|
51
|
+
if (t & 1) return 0;
|
52
|
+
if (t & 2) return Math.max(0, o.indexOf(n)) - 1;
|
53
|
+
if (t & 4) return Math.max(0, o.indexOf(n)) + 1;
|
54
|
+
if (t & 8) return o.length - 1;
|
55
|
+
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
56
|
+
})(), b = t & 32 ? { preventScroll: !0 } : {}, c = 0, a = o.length, l;
|
57
|
+
do {
|
58
|
+
if (c >= a || c + a <= 0) return 0;
|
59
|
+
let u = E + c;
|
60
|
+
if (t & 16) u = (u + a) % a;
|
61
|
+
else {
|
62
|
+
if (u < 0) return 3;
|
63
|
+
if (u >= a) return 1;
|
64
|
+
}
|
65
|
+
l = o[u], l == null || l.focus(b), c += f;
|
66
|
+
} while (l !== s.activeElement);
|
67
|
+
return t & 6 && I(l) && l.select(), 2;
|
68
|
+
}
|
69
|
+
export {
|
70
|
+
P as A,
|
71
|
+
h as F,
|
72
|
+
L as P,
|
73
|
+
x as T,
|
74
|
+
O as _,
|
75
|
+
m as f,
|
76
|
+
p as h
|
77
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { W as t, H as a } from "./keyboard-B0lm_zyn.js";
|
2
|
+
let l = "span";
|
3
|
+
var p = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(p || {});
|
4
|
+
function s(e, n) {
|
5
|
+
var i;
|
6
|
+
let { features: d = 1, ...o } = e, r = { ref: n, "aria-hidden": (d & 2) === 2 ? !0 : (i = o["aria-hidden"]) != null ? i : void 0, hidden: (d & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(d & 4) === 4 && (d & 2) !== 2 && { display: "none" } } };
|
7
|
+
return a({ ourProps: r, theirProps: o, slot: {}, defaultTag: l, name: "Hidden" });
|
8
|
+
}
|
9
|
+
let f = t(s);
|
10
|
+
export {
|
11
|
+
f as T,
|
12
|
+
p as s
|
13
|
+
};
|
package/dist/hooks/index.js
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
import { useMediaQuery } from "./useMediaQuery/useMediaQuery.js";
|
2
|
-
import { EMediaQuery, EMinMediaQuery } from "./useMediaQuery/constants.js";
|
3
|
-
import { useLockBodyScroll } from "./useLockBodyScroll/useLockBodyScroll.js";
|
4
|
-
import { useInterval } from "./useInterval/useInterval.js";
|
5
|
-
import { useTimer } from "./useTimer/index.js";
|
6
|
-
import { useCopyToClipboard } from "./useCopyToClipboard/useCopyToClipboard.js";
|
7
|
-
import { useMergeRefs } from "./useMergeRefs/useMergeRefs.js";
|
8
|
-
import { useResizeObserver } from "./useResizeObserver/useResizeObserver.js";
|
1
|
+
import { useMediaQuery as o } from "./useMediaQuery/useMediaQuery.js";
|
2
|
+
import { EMediaQuery as s, EMinMediaQuery as u } from "./useMediaQuery/constants.js";
|
3
|
+
import { useLockBodyScroll as m } from "./useLockBodyScroll/useLockBodyScroll.js";
|
4
|
+
import { useInterval as x } from "./useInterval/useInterval.js";
|
5
|
+
import { useTimer as a } from "./useTimer/index.js";
|
6
|
+
import { useCopyToClipboard as y } from "./useCopyToClipboard/useCopyToClipboard.js";
|
7
|
+
import { useMergeRefs as l } from "./useMergeRefs/useMergeRefs.js";
|
8
|
+
import { useResizeObserver as b } from "./useResizeObserver/useResizeObserver.js";
|
9
9
|
export {
|
10
|
-
EMediaQuery,
|
11
|
-
EMinMediaQuery,
|
12
|
-
useCopyToClipboard,
|
13
|
-
useInterval,
|
14
|
-
useLockBodyScroll,
|
15
|
-
useMediaQuery,
|
16
|
-
useMergeRefs,
|
17
|
-
useResizeObserver,
|
18
|
-
useTimer
|
10
|
+
s as EMediaQuery,
|
11
|
+
u as EMinMediaQuery,
|
12
|
+
y as useCopyToClipboard,
|
13
|
+
x as useInterval,
|
14
|
+
m as useLockBodyScroll,
|
15
|
+
o as useMediaQuery,
|
16
|
+
l as useMergeRefs,
|
17
|
+
b as useResizeObserver,
|
18
|
+
a as useTimer
|
19
19
|
};
|
@@ -1,25 +1,16 @@
|
|
1
|
-
import { useEffect } from "react";
|
2
|
-
function
|
3
|
-
isActive,
|
4
|
-
setActive,
|
5
|
-
className
|
1
|
+
import { useEffect as c } from "react";
|
2
|
+
function s({
|
3
|
+
isActive: t,
|
4
|
+
setActive: n,
|
5
|
+
className: r
|
6
6
|
}) {
|
7
|
-
|
8
|
-
const
|
9
|
-
|
10
|
-
if (!e.target.closest("." + className)) {
|
11
|
-
setActive(false);
|
12
|
-
window.removeEventListener("click", handleClickOtside, true);
|
13
|
-
}
|
14
|
-
}
|
7
|
+
c(() => {
|
8
|
+
const e = (i) => {
|
9
|
+
i.target && (i.target.closest("." + r) || (n(!1), window.removeEventListener("click", e, !0)));
|
15
10
|
};
|
16
|
-
|
17
|
-
|
18
|
-
} else {
|
19
|
-
window.removeEventListener("click", handleClickOtside, true);
|
20
|
-
}
|
21
|
-
}, [isActive]);
|
11
|
+
t ? window.addEventListener("click", e, !0) : window.removeEventListener("click", e, !0);
|
12
|
+
}, [t]);
|
22
13
|
}
|
23
14
|
export {
|
24
|
-
useClickOutside
|
15
|
+
s as useClickOutside
|
25
16
|
};
|
@@ -1,23 +1,16 @@
|
|
1
|
-
import { useState, useCallback } from "react";
|
2
|
-
function
|
3
|
-
const [
|
4
|
-
|
5
|
-
|
6
|
-
console.warn("Clipboard not supported");
|
7
|
-
return false;
|
8
|
-
}
|
1
|
+
import { useState as n, useCallback as l } from "react";
|
2
|
+
function c() {
|
3
|
+
const [e, r] = n(null), t = l(async (o) => {
|
4
|
+
if (!(navigator != null && navigator.clipboard))
|
5
|
+
return console.warn("Clipboard not supported"), !1;
|
9
6
|
try {
|
10
|
-
await navigator.clipboard.writeText(
|
11
|
-
|
12
|
-
return
|
13
|
-
} catch (error) {
|
14
|
-
console.warn("Copy failed", error);
|
15
|
-
setCopiedText(null);
|
16
|
-
return false;
|
7
|
+
return await navigator.clipboard.writeText(o), r(o), !0;
|
8
|
+
} catch (a) {
|
9
|
+
return console.warn("Copy failed", a), r(null), !1;
|
17
10
|
}
|
18
11
|
}, []);
|
19
|
-
return [
|
12
|
+
return [e, t];
|
20
13
|
}
|
21
14
|
export {
|
22
|
-
useCopyToClipboard
|
15
|
+
c as useCopyToClipboard
|
23
16
|
};
|
@@ -1,17 +1,15 @@
|
|
1
|
-
import { useRef, useEffect } from "react";
|
2
|
-
function
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
if (!delay) {
|
1
|
+
import { useRef as c, useEffect as u } from "react";
|
2
|
+
function o(t, r) {
|
3
|
+
const e = c();
|
4
|
+
e.current = t, u(() => {
|
5
|
+
if (!r)
|
7
6
|
return;
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}, [delay]);
|
7
|
+
const n = setInterval(() => {
|
8
|
+
e.current && e.current();
|
9
|
+
}, r);
|
10
|
+
return () => clearInterval(n);
|
11
|
+
}, [r]);
|
14
12
|
}
|
15
13
|
export {
|
16
|
-
useInterval
|
14
|
+
o as useInterval
|
17
15
|
};
|
@@ -1,20 +1,16 @@
|
|
1
|
-
import { useLayoutEffect } from "react";
|
2
|
-
function
|
3
|
-
|
4
|
-
const
|
5
|
-
if (!
|
6
|
-
const
|
7
|
-
const originalPaddingStyle = window.getComputedStyle(
|
1
|
+
import { useLayoutEffect as l } from "react";
|
2
|
+
function i({ on: e, paddingRight: o }) {
|
3
|
+
l(() => {
|
4
|
+
const t = document.documentElement.scrollHeight > document.documentElement.clientHeight;
|
5
|
+
if (!e || !t) return;
|
6
|
+
const d = window.getComputedStyle(document.body).overflow, n = window.getComputedStyle(
|
8
7
|
document.body
|
9
8
|
).paddingRight;
|
10
|
-
document.body.style.overflow = "hidden"
|
11
|
-
|
12
|
-
return () => {
|
13
|
-
document.body.style.overflow = originalStyle;
|
14
|
-
document.body.style.paddingRight = originalPaddingStyle;
|
9
|
+
return document.body.style.overflow = "hidden", document.body.style.paddingRight = `${o}px`, () => {
|
10
|
+
document.body.style.overflow = d, document.body.style.paddingRight = n;
|
15
11
|
};
|
16
|
-
}, [
|
12
|
+
}, [e, o]);
|
17
13
|
}
|
18
14
|
export {
|
19
|
-
useLockBodyScroll
|
15
|
+
i as useLockBodyScroll
|
20
16
|
};
|
@@ -1,26 +1,5 @@
|
|
1
|
-
var
|
2
|
-
EMediaQuery2["XSS"] = "(max-width: 375px)";
|
3
|
-
EMediaQuery2["XS"] = "(max-width: 600px)";
|
4
|
-
EMediaQuery2["XS1"] = "(max-width: 767px)";
|
5
|
-
EMediaQuery2["S"] = "(max-width: 768px)";
|
6
|
-
EMediaQuery2["M"] = "(max-width: 960px)";
|
7
|
-
EMediaQuery2["L"] = "(max-width: 1280px)";
|
8
|
-
EMediaQuery2["XL"] = "(max-width: 1440px)";
|
9
|
-
EMediaQuery2["XXL"] = "(max-width: 1920px)";
|
10
|
-
return EMediaQuery2;
|
11
|
-
})(EMediaQuery || {});
|
12
|
-
var EMinMediaQuery = /* @__PURE__ */ ((EMinMediaQuery2) => {
|
13
|
-
EMinMediaQuery2["XSS"] = "(min-width: 375px)";
|
14
|
-
EMinMediaQuery2["XS"] = "(min-width: 600px)";
|
15
|
-
EMinMediaQuery2["XS1"] = "(min-width: 767px)";
|
16
|
-
EMinMediaQuery2["S"] = "(min-width: 768px)";
|
17
|
-
EMinMediaQuery2["M"] = "(min-width: 960px)";
|
18
|
-
EMinMediaQuery2["L"] = "(min-width: 1280px)";
|
19
|
-
EMinMediaQuery2["XL"] = "(min-width: 1440px)";
|
20
|
-
EMinMediaQuery2["XXL"] = "(min-width: 1920px)";
|
21
|
-
return EMinMediaQuery2;
|
22
|
-
})(EMinMediaQuery || {});
|
1
|
+
var t = /* @__PURE__ */ ((x) => (x.XSS = "(max-width: 375px)", x.XS = "(max-width: 600px)", x.XS1 = "(max-width: 767px)", x.S = "(max-width: 768px)", x.M = "(max-width: 960px)", x.L = "(max-width: 1280px)", x.XL = "(max-width: 1440px)", x.XXL = "(max-width: 1920px)", x))(t || {}), p = /* @__PURE__ */ ((x) => (x.XSS = "(min-width: 375px)", x.XS = "(min-width: 600px)", x.XS1 = "(min-width: 767px)", x.S = "(min-width: 768px)", x.M = "(min-width: 960px)", x.L = "(min-width: 1280px)", x.XL = "(min-width: 1440px)", x.XXL = "(min-width: 1920px)", x))(p || {});
|
23
2
|
export {
|
24
|
-
EMediaQuery,
|
25
|
-
EMinMediaQuery
|
3
|
+
t as EMediaQuery,
|
4
|
+
p as EMinMediaQuery
|
26
5
|
};
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { useMediaQuery } from "./useMediaQuery.js";
|
2
|
-
import { EMediaQuery, EMinMediaQuery } from "./constants.js";
|
1
|
+
import { useMediaQuery as i } from "./useMediaQuery.js";
|
2
|
+
import { EMediaQuery as u, EMinMediaQuery as M } from "./constants.js";
|
3
3
|
export {
|
4
|
-
EMediaQuery,
|
5
|
-
EMinMediaQuery,
|
6
|
-
useMediaQuery
|
4
|
+
u as EMediaQuery,
|
5
|
+
M as EMinMediaQuery,
|
6
|
+
i as useMediaQuery
|
7
7
|
};
|
@@ -1,19 +1,16 @@
|
|
1
|
-
import { useCallback, useSyncExternalStore } from "react";
|
2
|
-
const
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
return () => {
|
9
|
-
matchMedia.removeEventListener("change", callback);
|
1
|
+
import { useCallback as a, useSyncExternalStore as o } from "react";
|
2
|
+
const r = () => !1, h = (e) => {
|
3
|
+
const s = a(
|
4
|
+
(t) => {
|
5
|
+
const n = window.matchMedia(e);
|
6
|
+
return n.addEventListener("change", t), () => {
|
7
|
+
n.removeEventListener("change", t);
|
10
8
|
};
|
11
9
|
},
|
12
|
-
[
|
10
|
+
[e]
|
13
11
|
);
|
14
|
-
|
15
|
-
return useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
12
|
+
return o(s, () => window.matchMedia(e).matches, r);
|
16
13
|
};
|
17
14
|
export {
|
18
|
-
useMediaQuery
|
15
|
+
h as useMediaQuery
|
19
16
|
};
|
@@ -1,28 +1,29 @@
|
|
1
|
-
import { useMemo } from "react";
|
2
|
-
function
|
3
|
-
if (
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
import { useMemo as o } from "react";
|
2
|
+
function e(r, n) {
|
3
|
+
if (r != null) {
|
4
|
+
if (typeof r == "function") {
|
5
|
+
r(n);
|
6
|
+
return;
|
7
|
+
}
|
8
|
+
try {
|
9
|
+
r.current = n;
|
10
|
+
} catch {
|
11
|
+
throw new Error(`Cannot assign value '${n}' to ref '${r}'`);
|
12
|
+
}
|
12
13
|
}
|
13
14
|
}
|
14
|
-
function
|
15
|
-
return (
|
16
|
-
|
17
|
-
|
15
|
+
function u(...r) {
|
16
|
+
return (n) => {
|
17
|
+
r.forEach((t) => {
|
18
|
+
e(t, n);
|
18
19
|
});
|
19
20
|
};
|
20
21
|
}
|
21
|
-
function
|
22
|
-
return
|
22
|
+
function c(...r) {
|
23
|
+
return o(() => u(...r), r);
|
23
24
|
}
|
24
25
|
export {
|
25
|
-
assignRef,
|
26
|
-
mergeRefs,
|
27
|
-
useMergeRefs
|
26
|
+
e as assignRef,
|
27
|
+
u as mergeRefs,
|
28
|
+
c as useMergeRefs
|
28
29
|
};
|
@@ -1,18 +1,4 @@
|
|
1
|
-
const
|
2
|
-
if (typeof target === "function") {
|
3
|
-
return target();
|
4
|
-
}
|
5
|
-
if (target instanceof Document) {
|
6
|
-
return target;
|
7
|
-
}
|
8
|
-
if (target instanceof Window) {
|
9
|
-
return target;
|
10
|
-
}
|
11
|
-
if (target instanceof Element) {
|
12
|
-
return target;
|
13
|
-
}
|
14
|
-
return target.current;
|
15
|
-
};
|
1
|
+
const e = (n) => typeof n == "function" ? n() : n instanceof Document || n instanceof Window || n instanceof Element ? n : n.current;
|
16
2
|
export {
|
17
|
-
getElement
|
3
|
+
e as getElement
|
18
4
|
};
|
@@ -1,49 +1,36 @@
|
|
1
|
-
import { useState, useRef, useEffect } from "react";
|
2
|
-
import { getElement } from "./getElement.js";
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
if (!enabled && !target && !internalRef) return;
|
13
|
-
if (Array.isArray(target)) {
|
14
|
-
if (!target.length) return;
|
15
|
-
const observer2 = new ResizeObserver((entries2) => {
|
16
|
-
var _a;
|
17
|
-
setEntries(entries2);
|
18
|
-
(_a = internalOnChangeRef.current) == null ? void 0 : _a.call(internalOnChangeRef, entries2, observer2);
|
1
|
+
import { useState as l, useRef as y, useEffect as z } from "react";
|
2
|
+
import { getElement as E } from "./getElement.js";
|
3
|
+
const x = (...s) => {
|
4
|
+
const r = typeof s[0] == "object" && !("current" in s[0]) ? void 0 : s[0], e = r ? s[1] : s[0], b = (e == null ? void 0 : e.enabled) ?? !0, [i, v] = l([]), [u, m] = l(), t = y();
|
5
|
+
return t.current = e == null ? void 0 : e.onChange, z(() => {
|
6
|
+
if (!b && !r && !u) return;
|
7
|
+
if (Array.isArray(r)) {
|
8
|
+
if (!r.length) return;
|
9
|
+
const c = new ResizeObserver((n) => {
|
10
|
+
var o;
|
11
|
+
v(n), (o = t.current) == null || o.call(t, n, c);
|
19
12
|
});
|
20
|
-
|
21
|
-
const
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
return () => {
|
26
|
-
observer2.disconnect();
|
13
|
+
return r.forEach((n) => {
|
14
|
+
const o = E(n);
|
15
|
+
o && c.observe(o, e);
|
16
|
+
}), () => {
|
17
|
+
c.disconnect();
|
27
18
|
};
|
28
19
|
}
|
29
|
-
const
|
30
|
-
if (!
|
31
|
-
const
|
32
|
-
var
|
33
|
-
|
34
|
-
(_a = internalOnChangeRef.current) == null ? void 0 : _a.call(internalOnChangeRef, entries2, observer);
|
20
|
+
const d = r ? E(r) : u;
|
21
|
+
if (!d) return;
|
22
|
+
const f = new ResizeObserver((c) => {
|
23
|
+
var n;
|
24
|
+
v(c), (n = t.current) == null || n.call(t, c, f);
|
35
25
|
});
|
36
|
-
|
37
|
-
|
38
|
-
observer.disconnect();
|
26
|
+
return f.observe(d, e), () => {
|
27
|
+
f.disconnect();
|
39
28
|
};
|
40
|
-
}, [
|
41
|
-
|
42
|
-
|
43
|
-
ref: setInternalRef,
|
44
|
-
entries
|
29
|
+
}, [u, r, e == null ? void 0 : e.box, b]), r ? { entries: i } : {
|
30
|
+
ref: m,
|
31
|
+
entries: i
|
45
32
|
};
|
46
33
|
};
|
47
34
|
export {
|
48
|
-
useResizeObserver
|
35
|
+
x as useResizeObserver
|
49
36
|
};
|