mimir-ui-kit 1.34.4-t → 1.34.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Input-DspsU5F4.js +249 -0
- package/dist/NavigationButtons-DuOoqaPo.js +4907 -0
- package/dist/ProgressBar-DWKyrXzd.js +77 -0
- package/dist/assets/ProgressBar.css +1 -1
- package/dist/assets/ProgressBar2.css +1 -0
- package/dist/assets/Slider.css +1 -1
- package/dist/bugs-CSBdWk0R.js +18 -0
- package/dist/components/Accordion/Accordion.js +212 -187
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +14 -8
- package/dist/components/Accordion/AccordionItem/index.js +2 -2
- package/dist/components/Accordion/constants.js +36 -7
- package/dist/components/Accordion/index.js +6 -6
- package/dist/components/AnchorLink/Link.js +50 -39
- package/dist/components/AnchorLink/constants.js +14 -3
- package/dist/components/AnchorLink/index.js +5 -5
- package/dist/components/Avatar/Avatar.js +42 -37
- package/dist/components/Avatar/constants.js +7 -2
- package/dist/components/Avatar/index.js +4 -4
- package/dist/components/Button/Button.js +75 -59
- package/dist/components/Button/constants.js +52 -7
- package/dist/components/Button/index.js +9 -9
- package/dist/components/CheckboxMimir/CheckboxMimir.js +59 -48
- package/dist/components/CheckboxMimir/index.js +2 -2
- package/dist/components/Chip/Chip.js +47 -35
- package/dist/components/Chip/constants.js +17 -3
- package/dist/components/Chip/index.js +5 -5
- package/dist/components/DatePicker/DatePicker.js +162 -106
- package/dist/components/DatePicker/DatePickerModal.js +151 -99
- package/dist/components/DatePicker/MonthPickerModal.js +90 -61
- package/dist/components/DatePicker/YearPickerModal.js +86 -55
- package/dist/components/DatePicker/constants.js +18 -7
- package/dist/components/DatePicker/index.js +2 -2
- package/dist/components/DatePicker/utils.js +13 -5
- package/dist/components/Drawer/Drawer.js +140 -98
- package/dist/components/Drawer/constants.js +8 -2
- package/dist/components/Drawer/index.js +4 -4
- package/dist/components/GosZnak/GosZnak.js +71 -58
- package/dist/components/GosZnak/constants.js +15 -3
- package/dist/components/GosZnak/index.js +5 -5
- package/dist/components/Image/Image.js +54 -38
- package/dist/components/Image/index.js +2 -2
- package/dist/components/Input/Input.js +3 -3
- package/dist/components/Input/constants.js +20 -4
- package/dist/components/Input/index.js +6 -6
- package/dist/components/InputPassword/InputPassword.js +43 -36
- package/dist/components/InputPassword/index.js +2 -2
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +26 -23
- package/dist/components/InputPhoneNumber/index.js +5 -5
- package/dist/components/InputPhoneNumber/utils.js +24 -7
- package/dist/components/InputRangeSlider/InputRangeSlider.js +158 -110
- package/dist/components/InputRangeSlider/constants.js +16 -6
- package/dist/components/InputRangeSlider/index.js +5 -5
- package/dist/components/ListFiles/ListFiles.js +26 -25
- package/dist/components/ListFiles/constants.js +2 -2
- package/dist/components/ListFiles/index.js +2 -2
- package/dist/components/ListPhotos/ListPhotos.js +22 -21
- package/dist/components/ListPhotos/constants.js +2 -2
- package/dist/components/ListPhotos/index.js +2 -2
- package/dist/components/Loader/Loader.js +16 -10
- package/dist/components/Loader/index.js +2 -2
- package/dist/components/MergedButton/MergedButton.js +49 -41
- package/dist/components/MergedButton/constants.js +7 -2
- package/dist/components/MergedButton/index.js +4 -4
- package/dist/components/NotificationBadge/NotificationBadge.js +25 -22
- package/dist/components/NotificationBadge/constants.js +6 -2
- package/dist/components/NotificationBadge/index.js +4 -4
- package/dist/components/OtpInput/OtpInput.js +51 -45
- package/dist/components/OtpInput/constants.js +6 -4
- package/dist/components/OtpInput/hooks.js +111 -74
- package/dist/components/OtpInput/index.js +2 -2
- package/dist/components/Pagination/Pagination.js +157 -115
- package/dist/components/Pagination/constants.js +4 -3
- package/dist/components/Pagination/index.js +2 -2
- package/dist/components/Portal/Portal.js +8 -6
- package/dist/components/Portal/index.js +2 -2
- package/dist/components/RadioGroup/RadioGroup.js +141 -134
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/SelectSearch/SelectSearch.js +3345 -2412
- package/dist/components/SelectSearch/constants.js +6 -2
- package/dist/components/SelectSearch/index.js +4 -4
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +31 -29
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +27 -24
- package/dist/components/Skeleton/SkeletonText/SkeletonText.js +32 -26
- package/dist/components/Skeleton/constants.js +7 -2
- package/dist/components/Skeleton/index.js +8 -8
- package/dist/components/Slider/NavigationButtons/NavigationButtons.d.ts +1 -0
- package/dist/components/Slider/NavigationButtons/NavigationButtons.js +7 -0
- package/dist/components/Slider/NavigationButtons/index.d.ts +1 -0
- package/dist/components/Slider/NavigationButtons/index.js +4 -0
- package/dist/components/Slider/ProgressBar/ProgressBar.d.ts +1 -0
- package/dist/components/Slider/ProgressBar/ProgressBar.js +15 -0
- package/dist/components/Slider/ProgressBar/index.d.ts +1 -0
- package/dist/components/Slider/ProgressBar/index.js +4 -0
- package/dist/components/Slider/Slider.d.ts +4 -1
- package/dist/components/Slider/Slider.js +343 -2938
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.js +2 -3
- package/dist/components/Steps/Steps.js +142 -96
- package/dist/components/Steps/constants.js +54 -18
- package/dist/components/Steps/index.js +5 -5
- package/dist/components/Switcher/Switcher.js +86 -75
- package/dist/components/Switcher/constants.js +6 -2
- package/dist/components/Switcher/index.js +4 -4
- package/dist/components/TabTrail/TabButtons/TabButtons.js +18 -18
- package/dist/components/TabTrail/TabButtons/constants.js +12 -3
- package/dist/components/TabTrail/TabButtons/index.js +2 -2
- package/dist/components/TabTrail/TabTrail.js +245 -227
- package/dist/components/TabTrail/constants.js +6 -2
- package/dist/components/TabTrail/index.js +4 -4
- package/dist/components/Tag/Tag.js +43 -35
- package/dist/components/Tag/constants.js +13 -3
- package/dist/components/Tag/index.js +5 -5
- package/dist/components/TextArea/TextArea.js +175 -134
- package/dist/components/TextArea/hooks.js +14 -12
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/Timer/Timer.js +21 -17
- package/dist/components/Timer/index.js +2 -2
- package/dist/components/Toasts/ProgressBar.js +3 -3
- package/dist/components/Toasts/Toast.js +48 -47
- package/dist/components/Toasts/ToastList.js +38 -28
- package/dist/components/Toasts/ToastsProvider.js +33 -29
- package/dist/components/Toasts/constants.js +47 -13
- package/dist/components/Toasts/hooks.js +6 -5
- package/dist/components/Toasts/index.js +7 -7
- package/dist/components/Toasts/store.js +34 -24
- package/dist/components/TwinSwitcher/TwinSwitcher.js +55 -51
- package/dist/components/TwinSwitcher/index.js +2 -2
- package/dist/components/UniversalUploader/UniversalUploader.js +89 -61
- package/dist/components/UniversalUploader/constants.js +9 -4
- package/dist/components/UniversalUploader/index.js +4 -4
- package/dist/components/Uploader/Uploader.js +74 -52
- package/dist/components/Uploader/constants.js +13 -10
- package/dist/components/Uploader/index.js +4 -4
- package/dist/components/UploaderFiles/UploaderFiles.js +47 -39
- package/dist/components/UploaderFiles/index.js +2 -2
- package/dist/components/UploaderPhotos/UploaderPhotos.js +52 -44
- package/dist/components/UploaderPhotos/index.js +2 -2
- package/dist/components/Vote/Vote.js +100 -76
- package/dist/components/Vote/constants.js +13 -7
- package/dist/components/Vote/index.js +4 -4
- package/dist/components/index.js +135 -135
- package/dist/field-bS4z9Sdl.js +12 -0
- package/dist/focus-management-1rQPII7Z.js +77 -0
- package/dist/hidden-BuVoeHNy.js +13 -0
- package/dist/hooks/index.js +17 -17
- package/dist/hooks/useClickOutside/index.js +2 -2
- package/dist/hooks/useClickOutside/useClickOutside.js +20 -11
- package/dist/hooks/useCopyToClipboard/index.js +2 -2
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +17 -10
- package/dist/hooks/useInterval/index.js +2 -2
- package/dist/hooks/useInterval/useInterval.js +13 -11
- package/dist/hooks/useLockBodyScroll/index.js +2 -2
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +14 -10
- package/dist/hooks/useMediaQuery/constants.js +24 -3
- package/dist/hooks/useMediaQuery/index.js +5 -5
- package/dist/hooks/useMediaQuery/useMediaQuery.js +13 -10
- package/dist/hooks/useMergeRefs/index.js +2 -2
- package/dist/hooks/useMergeRefs/useMergeRefs.js +20 -21
- package/dist/hooks/useResizeObserver/getElement.js +16 -2
- package/dist/hooks/useResizeObserver/index.js +2 -2
- package/dist/hooks/useResizeObserver/useResizeObserver.js +40 -27
- package/dist/hooks/useTimer/index.js +77 -44
- package/dist/hooks/useTimer/useTimer.js +74 -45
- package/dist/hooks/useTimer/utils.js +67 -50
- package/dist/hooks/useWindowSize/index.js +19 -13
- package/dist/icons/Icon.js +10 -7
- package/dist/icons/components/12px/Close12px.js +16 -14
- package/dist/icons/components/12px/MessageRead12px.js +35 -33
- package/dist/icons/components/16px/Accept16px.js +25 -23
- package/dist/icons/components/16px/Acts16px.js +38 -36
- package/dist/icons/components/16px/Acts16pxF.js +33 -31
- package/dist/icons/components/16px/AdditionalServicess16px.js +31 -29
- package/dist/icons/components/16px/AdditionalServicess16pxF.js +20 -18
- package/dist/icons/components/16px/Agents16px.js +22 -20
- package/dist/icons/components/16px/Agents16pxF.js +20 -18
- package/dist/icons/components/16px/Alarm16px.js +23 -21
- package/dist/icons/components/16px/ArrowDown16px.js +22 -20
- package/dist/icons/components/16px/ArrowLeft16px.js +22 -20
- package/dist/icons/components/16px/ArrowRight16px.js +22 -20
- package/dist/icons/components/16px/ArrowUp16px.js +22 -20
- package/dist/icons/components/16px/ArrowUpright16px.js +22 -20
- package/dist/icons/components/16px/AttachFile16px.js +22 -20
- package/dist/icons/components/16px/Bell16px.js +42 -40
- package/dist/icons/components/16px/Bell16pxF.js +32 -30
- package/dist/icons/components/16px/Calculator16px.js +22 -20
- package/dist/icons/components/16px/CalculatorLkk16px.js +33 -31
- package/dist/icons/components/16px/CalculatorLkk16pxF.js +22 -20
- package/dist/icons/components/16px/Calendar16px.js +22 -20
- package/dist/icons/components/16px/Camera16px.js +34 -32
- package/dist/icons/components/16px/Car16px.js +33 -31
- package/dist/icons/components/16px/Car16pxF.js +22 -20
- package/dist/icons/components/16px/Catalog16px.js +22 -20
- package/dist/icons/components/16px/Certs16px.js +31 -29
- package/dist/icons/components/16px/Certs16pxF.js +31 -29
- package/dist/icons/components/16px/Change16px.js +20 -18
- package/dist/icons/components/16px/Chat16px.js +31 -29
- package/dist/icons/components/16px/Chat16pxF.js +22 -20
- package/dist/icons/components/16px/Chatbot16px.js +262 -260
- package/dist/icons/components/16px/Close16px.js +22 -20
- package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +20 -18
- package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +20 -18
- package/dist/icons/components/16px/Coin16px.js +33 -31
- package/dist/icons/components/16px/Coin16pxF.js +40 -38
- package/dist/icons/components/16px/Contracts16px.js +33 -31
- package/dist/icons/components/16px/Contracts16pxF.js +31 -29
- package/dist/icons/components/16px/CopyClipboard16px.js +25 -23
- package/dist/icons/components/16px/Done16px.js +22 -20
- package/dist/icons/components/16px/Download16px.js +29 -27
- package/dist/icons/components/16px/DragHandle16px.js +20 -18
- package/dist/icons/components/16px/DragHandleHorizontal16px.js +20 -18
- package/dist/icons/components/16px/DragHandleVertical16px.js +20 -18
- package/dist/icons/components/16px/DropdownArrowBottom16px.js +22 -20
- package/dist/icons/components/16px/DropdownArrowLeft16px.js +22 -20
- package/dist/icons/components/16px/DropdownArrowRight16px.js +22 -20
- package/dist/icons/components/16px/DropdownArrowUp16px.js +22 -20
- package/dist/icons/components/16px/Dzen16px.js +20 -18
- package/dist/icons/components/16px/Euro16px.js +23 -21
- package/dist/icons/components/16px/Eye16px.js +33 -31
- package/dist/icons/components/16px/Failure16px.js +25 -23
- package/dist/icons/components/16px/Favorite16px.js +22 -20
- package/dist/icons/components/16px/Favorite16pxF.js +20 -18
- package/dist/icons/components/16px/Filter16px.js +22 -20
- package/dist/icons/components/16px/Flag16pxF.js +14 -12
- package/dist/icons/components/16px/Folder16px.js +22 -20
- package/dist/icons/components/16px/Fullscreen16px.js +22 -20
- package/dist/icons/components/16px/Galery16px.js +25 -23
- package/dist/icons/components/16px/Gear16px.js +33 -31
- package/dist/icons/components/16px/Gift16px.js +31 -29
- package/dist/icons/components/16px/Hint16px.js +23 -21
- package/dist/icons/components/16px/Home16px.js +31 -29
- package/dist/icons/components/16px/Home16pxF.js +22 -20
- package/dist/icons/components/16px/Hot16pxF.js +20 -18
- package/dist/icons/components/16px/Kebab16px.js +14 -12
- package/dist/icons/components/16px/List16px.js +20 -18
- package/dist/icons/components/16px/Location16px.js +33 -31
- package/dist/icons/components/16px/Map16px.js +22 -20
- package/dist/icons/components/16px/Menu16px.js +20 -18
- package/dist/icons/components/16px/MenuMobile16px.js +22 -20
- package/dist/icons/components/16px/Minus16px.js +14 -12
- package/dist/icons/components/16px/Navigation16px.js +22 -20
- package/dist/icons/components/16px/News16px.js +31 -29
- package/dist/icons/components/16px/News16pxF.js +22 -20
- package/dist/icons/components/16px/Number16px.js +31 -29
- package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +20 -18
- package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +20 -18
- package/dist/icons/components/16px/Orders16px.js +31 -29
- package/dist/icons/components/16px/Orders16pxF.js +25 -23
- package/dist/icons/components/16px/Pause16px.js +14 -12
- package/dist/icons/components/16px/Pen16px.js +33 -31
- package/dist/icons/components/16px/Pen16pxF.js +22 -20
- package/dist/icons/components/16px/Phone16px.js +22 -20
- package/dist/icons/components/16px/Play16pxF.js +20 -18
- package/dist/icons/components/16px/Plus16px.js +22 -20
- package/dist/icons/components/16px/Pound16px.js +23 -21
- package/dist/icons/components/16px/PriceDown16px.js +33 -31
- package/dist/icons/components/16px/PriceUp16px.js +33 -31
- package/dist/icons/components/16px/Question16px.js +22 -20
- package/dist/icons/components/16px/Question16pxF.js +22 -20
- package/dist/icons/components/16px/Rutube16px.js +20 -18
- package/dist/icons/components/16px/Scan16px.js +20 -18
- package/dist/icons/components/16px/Search16px.js +22 -20
- package/dist/icons/components/16px/Share16pxF.js +20 -18
- package/dist/icons/components/16px/ShopingCard16px.js +22 -20
- package/dist/icons/components/16px/Sort16px.js +22 -20
- package/dist/icons/components/16px/Star16px.js +22 -20
- package/dist/icons/components/16px/Star16pxF.js +20 -18
- package/dist/icons/components/16px/StarHalf16pxF.js +22 -20
- package/dist/icons/components/16px/Telegram16pxF.js +20 -18
- package/dist/icons/components/16px/TelegramPlane16pxF.js +20 -18
- package/dist/icons/components/16px/Timer16px.js +38 -36
- package/dist/icons/components/16px/Trash16px.js +22 -20
- package/dist/icons/components/16px/TwinArrowLeft16px.js +20 -18
- package/dist/icons/components/16px/TwinArrowRight16px.js +20 -18
- package/dist/icons/components/16px/USDollar16px.js +23 -21
- package/dist/icons/components/16px/Umbrella16px.js +22 -20
- package/dist/icons/components/16px/Umbrella16pxF.js +20 -18
- package/dist/icons/components/16px/UnionIcon16px.js +22 -20
- package/dist/icons/components/16px/User16px.js +31 -29
- package/dist/icons/components/16px/User16pxF.js +20 -18
- package/dist/icons/components/16px/Users16px.js +31 -29
- package/dist/icons/components/16px/Users16pxF.js +20 -18
- package/dist/icons/components/16px/VK16pxF.js +22 -20
- package/dist/icons/components/16px/Waiting16px.js +22 -20
- package/dist/icons/components/16px/Whatsapp16px.js +31 -29
- package/dist/icons/components/16px/WriteUs16px.js +25 -23
- package/dist/icons/components/16px/Youtube16pxF.js +20 -18
- package/dist/icons/components/16px/Yuan16px.js +23 -21
- package/dist/icons/components/24px/Accept24px.js +27 -25
- package/dist/icons/components/24px/Acts24px.js +39 -37
- package/dist/icons/components/24px/Acts24pxF.js +32 -30
- package/dist/icons/components/24px/AdditionalServicess24px.js +32 -30
- package/dist/icons/components/24px/AdditionalServicess24pxF.js +21 -19
- package/dist/icons/components/24px/Agents24px.js +23 -21
- package/dist/icons/components/24px/Agents24pxF.js +30 -28
- package/dist/icons/components/24px/Alarm24px.js +24 -22
- package/dist/icons/components/24px/ArrowDown24px.js +23 -21
- package/dist/icons/components/24px/ArrowLeft24px.js +23 -21
- package/dist/icons/components/24px/ArrowRight24px.js +23 -21
- package/dist/icons/components/24px/ArrowUp24px.js +23 -21
- package/dist/icons/components/24px/ArrowUpright24px.js +23 -21
- package/dist/icons/components/24px/AttachFile24px.js +23 -21
- package/dist/icons/components/24px/Bell24px.js +43 -41
- package/dist/icons/components/24px/Bell24pxF.js +26 -24
- package/dist/icons/components/24px/Calculator24px.js +23 -21
- package/dist/icons/components/24px/CalculatorLkk24px.js +32 -30
- package/dist/icons/components/24px/CalculatorLkk24pxF.js +23 -21
- package/dist/icons/components/24px/Calendar24px.js +23 -21
- package/dist/icons/components/24px/Camera24px.js +23 -21
- package/dist/icons/components/24px/Car24px.js +34 -32
- package/dist/icons/components/24px/Car24pxF.js +32 -30
- package/dist/icons/components/24px/Catalog24px.js +23 -21
- package/dist/icons/components/24px/Certs24px.js +32 -30
- package/dist/icons/components/24px/Certs24pxF.js +32 -30
- package/dist/icons/components/24px/Change24px.js +23 -21
- package/dist/icons/components/24px/Chat24px.js +28 -26
- package/dist/icons/components/24px/Chat24pxF.js +23 -21
- package/dist/icons/components/24px/Chatbot24px.js +263 -261
- package/dist/icons/components/24px/Close24px.js +23 -21
- package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +23 -21
- package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +21 -19
- package/dist/icons/components/24px/Coin24px.js +24 -22
- package/dist/icons/components/24px/Coin24pxF.js +41 -39
- package/dist/icons/components/24px/Contracts24px.js +34 -32
- package/dist/icons/components/24px/Contracts24pxF.js +32 -30
- package/dist/icons/components/24px/CopyClipboard24px.js +26 -24
- package/dist/icons/components/24px/Done24px.js +23 -21
- package/dist/icons/components/24px/Download24px.js +30 -28
- package/dist/icons/components/24px/DragHandle24px.js +21 -19
- package/dist/icons/components/24px/DragHandleHorizontal24px.js +21 -19
- package/dist/icons/components/24px/DragHandleVertical24px.js +21 -19
- package/dist/icons/components/24px/DropdownArrowDown24px.js +23 -21
- package/dist/icons/components/24px/DropdownArrowLeft24px.js +23 -21
- package/dist/icons/components/24px/DropdownArrowRight24px.js +23 -21
- package/dist/icons/components/24px/DropdownArrowUp24px.js +23 -21
- package/dist/icons/components/24px/Dzen24px.js +21 -19
- package/dist/icons/components/24px/Euro24px.js +24 -22
- package/dist/icons/components/24px/Eye24px.js +34 -32
- package/dist/icons/components/24px/Failure24px.js +26 -24
- package/dist/icons/components/24px/Favorite24px.js +23 -21
- package/dist/icons/components/24px/Favorite24pxF.js +21 -19
- package/dist/icons/components/24px/Filter24px.js +21 -19
- package/dist/icons/components/24px/Flag24pxF.js +15 -13
- package/dist/icons/components/24px/Folder24px.js +23 -21
- package/dist/icons/components/24px/Fullscreen24px.js +23 -21
- package/dist/icons/components/24px/Galery24px.js +26 -24
- package/dist/icons/components/24px/Gear24px.js +34 -32
- package/dist/icons/components/24px/Gift24px.js +23 -21
- package/dist/icons/components/24px/Hint24px.js +26 -24
- package/dist/icons/components/24px/Home24px.js +34 -32
- package/dist/icons/components/24px/Home24pxF.js +23 -21
- package/dist/icons/components/24px/Hot24pxF.js +21 -19
- package/dist/icons/components/24px/Improvements24px.js +41 -39
- package/dist/icons/components/24px/Improvements24pxF.js +35 -33
- package/dist/icons/components/24px/Kebab24px.js +21 -19
- package/dist/icons/components/24px/List24px.js +21 -19
- package/dist/icons/components/24px/Location24px.js +34 -32
- package/dist/icons/components/24px/Map24px.js +23 -21
- package/dist/icons/components/24px/Menu24px.js +21 -19
- package/dist/icons/components/24px/MenuMobile24px.js +23 -21
- package/dist/icons/components/24px/Minus24px.js +23 -21
- package/dist/icons/components/24px/Navigation24px.js +23 -21
- package/dist/icons/components/24px/News24px.js +32 -30
- package/dist/icons/components/24px/News24pxF.js +23 -21
- package/dist/icons/components/24px/Number24px.js +32 -30
- package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +21 -19
- package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +23 -21
- package/dist/icons/components/24px/Orders24px.js +32 -30
- package/dist/icons/components/24px/Orders24pxF.js +26 -24
- package/dist/icons/components/24px/Pause24px.js +15 -13
- package/dist/icons/components/24px/Pen24px.js +34 -32
- package/dist/icons/components/24px/Pen24pxF.js +23 -21
- package/dist/icons/components/24px/Phone24px.js +23 -21
- package/dist/icons/components/24px/Play24px.js +21 -19
- package/dist/icons/components/24px/Plus24px.js +23 -21
- package/dist/icons/components/24px/Pound24px.js +24 -22
- package/dist/icons/components/24px/PriceDown24px.js +32 -30
- package/dist/icons/components/24px/PriceUp24px.js +32 -30
- package/dist/icons/components/24px/Question24px.js +32 -30
- package/dist/icons/components/24px/Question24pxF.js +23 -21
- package/dist/icons/components/24px/Rutube24px.js +21 -19
- package/dist/icons/components/24px/Scan24px.js +21 -19
- package/dist/icons/components/24px/Search24px.js +23 -21
- package/dist/icons/components/24px/Share24pxF.js +21 -19
- package/dist/icons/components/24px/ShopingCard24px.js +23 -21
- package/dist/icons/components/24px/Sort24px.js +21 -19
- package/dist/icons/components/24px/Star24px.js +23 -21
- package/dist/icons/components/24px/Star24pxF.js +21 -19
- package/dist/icons/components/24px/StarHalf24pxF.js +23 -21
- package/dist/icons/components/24px/Telegram24pxF.js +21 -19
- package/dist/icons/components/24px/TelegramPlane24pxF.js +21 -19
- package/dist/icons/components/24px/Timer24px.js +39 -37
- package/dist/icons/components/24px/Trash24px.js +43 -41
- package/dist/icons/components/24px/TwinArrowLeft24px.js +21 -19
- package/dist/icons/components/24px/TwinArrowRight24px.js +23 -21
- package/dist/icons/components/24px/USDollar24px.js +24 -22
- package/dist/icons/components/24px/Umbrella24px.js +23 -21
- package/dist/icons/components/24px/Umbrella24pxF.js +21 -19
- package/dist/icons/components/24px/UnionIcon24px.js +23 -21
- package/dist/icons/components/24px/User24px.js +32 -30
- package/dist/icons/components/24px/User24pxF.js +21 -19
- package/dist/icons/components/24px/Users24px.js +23 -21
- package/dist/icons/components/24px/Users24pxF.js +30 -28
- package/dist/icons/components/24px/VK24pxF.js +23 -21
- package/dist/icons/components/24px/Waiting24px.js +23 -21
- package/dist/icons/components/24px/Whatsapp24px.js +32 -30
- package/dist/icons/components/24px/WriteUs24px.js +26 -24
- package/dist/icons/components/24px/Youtube24pxF.js +21 -19
- package/dist/icons/components/24px/Yuan24px.js +24 -22
- package/dist/icons/components/32px/Accept32px.js +26 -24
- package/dist/icons/components/32px/Acts32px.js +39 -37
- package/dist/icons/components/32px/AdditionalServicess32px.js +23 -21
- package/dist/icons/components/32px/AdditionalServicess32pxF.js +21 -19
- package/dist/icons/components/32px/Agents32px.js +35 -33
- package/dist/icons/components/32px/Alarm32px.js +24 -22
- package/dist/icons/components/32px/ArrowDown32px.js +23 -21
- package/dist/icons/components/32px/ArrowLeft32px.js +23 -21
- package/dist/icons/components/32px/ArrowRight32px.js +23 -21
- package/dist/icons/components/32px/ArrowUp32px.js +23 -21
- package/dist/icons/components/32px/ArrowUpright32px.js +23 -21
- package/dist/icons/components/32px/AttachFile32px.js +23 -21
- package/dist/icons/components/32px/Bell32px.js +43 -41
- package/dist/icons/components/32px/Bell32pxF.js +26 -24
- package/dist/icons/components/32px/Calculator32px.js +23 -21
- package/dist/icons/components/32px/CalculatorLkk32px.js +32 -30
- package/dist/icons/components/32px/CalculatorLkk32pxF.js +23 -21
- package/dist/icons/components/32px/Calendar32px.js +23 -21
- package/dist/icons/components/32px/Camera32px.js +35 -33
- package/dist/icons/components/32px/Car32px.js +34 -32
- package/dist/icons/components/32px/Car32pxF.js +26 -24
- package/dist/icons/components/32px/Catalog32px.js +23 -21
- package/dist/icons/components/32px/Certs32px.js +32 -30
- package/dist/icons/components/32px/Certs32pxF.js +32 -30
- package/dist/icons/components/32px/Change32px.js +23 -21
- package/dist/icons/components/32px/Chat32px.js +32 -30
- package/dist/icons/components/32px/Chat32pxF.js +23 -21
- package/dist/icons/components/32px/Chatbot32px.js +263 -261
- package/dist/icons/components/32px/Close32px.js +23 -21
- package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +21 -19
- package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +21 -19
- package/dist/icons/components/32px/Coin32px.js +34 -32
- package/dist/icons/components/32px/Coin32pxF.js +32 -30
- package/dist/icons/components/32px/Contracts32px.js +34 -32
- package/dist/icons/components/32px/Contracts32pxF.js +32 -30
- package/dist/icons/components/32px/CopyClipboard32px.js +32 -30
- package/dist/icons/components/32px/Done32px.js +23 -21
- package/dist/icons/components/32px/Download32px.js +30 -28
- package/dist/icons/components/32px/DragHandle32px.js +21 -19
- package/dist/icons/components/32px/DragHandleHorizontal32px.js +21 -19
- package/dist/icons/components/32px/DragHandleVertical32px.js +21 -19
- package/dist/icons/components/32px/DropdownArrowDown32px.js +23 -21
- package/dist/icons/components/32px/DropdownArrowLeft32px.js +23 -21
- package/dist/icons/components/32px/DropdownArrowRight32px.js +23 -21
- package/dist/icons/components/32px/DropdownArrowUp32px.js +15 -13
- package/dist/icons/components/32px/Dzen32px.js +21 -19
- package/dist/icons/components/32px/Euro32px.js +24 -22
- package/dist/icons/components/32px/Eye32px.js +34 -32
- package/dist/icons/components/32px/Failure32px.js +26 -24
- package/dist/icons/components/32px/Favorite32px.js +23 -21
- package/dist/icons/components/32px/Favorite32pxF.js +21 -19
- package/dist/icons/components/32px/Filter32px.js +21 -19
- package/dist/icons/components/32px/Flag32pxF.js +15 -13
- package/dist/icons/components/32px/Folder32px.js +23 -21
- package/dist/icons/components/32px/Fullscreen32px.js +23 -21
- package/dist/icons/components/32px/Galery32px.js +26 -24
- package/dist/icons/components/32px/Gear32px.js +34 -32
- package/dist/icons/components/32px/Gift32px.js +23 -21
- package/dist/icons/components/32px/Hint32px.js +26 -24
- package/dist/icons/components/32px/Home32px.js +26 -24
- package/dist/icons/components/32px/Home32pxF.js +23 -21
- package/dist/icons/components/32px/Hot32pxF.js +21 -19
- package/dist/icons/components/32px/Kebab32px.js +15 -13
- package/dist/icons/components/32px/List32px.js +21 -19
- package/dist/icons/components/32px/Location32px.js +34 -32
- package/dist/icons/components/32px/Map32px.js +23 -21
- package/dist/icons/components/32px/Menu32px.js +21 -19
- package/dist/icons/components/32px/MenuMobile32px.js +23 -21
- package/dist/icons/components/32px/Minus32px.js +23 -21
- package/dist/icons/components/32px/Navigation32px.js +23 -21
- package/dist/icons/components/32px/News32px.js +32 -30
- package/dist/icons/components/32px/News32pxF.js +23 -21
- package/dist/icons/components/32px/Number32px.js +32 -30
- package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +21 -19
- package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +23 -21
- package/dist/icons/components/32px/Orders32px.js +41 -39
- package/dist/icons/components/32px/Orders32pxF.js +32 -30
- package/dist/icons/components/32px/Pause32px.js +15 -13
- package/dist/icons/components/32px/Pen32px.js +22 -20
- package/dist/icons/components/32px/Pen32pxF.js +23 -21
- package/dist/icons/components/32px/PersonalManager32px.js +110 -108
- package/dist/icons/components/32px/Phone32px.js +21 -19
- package/dist/icons/components/32px/Play32px.js +21 -19
- package/dist/icons/components/32px/Plus32px.js +23 -21
- package/dist/icons/components/32px/Pound32px.js +24 -22
- package/dist/icons/components/32px/PriceDown32px.js +43 -41
- package/dist/icons/components/32px/PriceUp32px.js +34 -32
- package/dist/icons/components/32px/Question32px.js +32 -30
- package/dist/icons/components/32px/Question32pxF.js +23 -21
- package/dist/icons/components/32px/Rutube32px.js +21 -19
- package/dist/icons/components/32px/Scan32px.js +21 -19
- package/dist/icons/components/32px/Search32px.js +23 -21
- package/dist/icons/components/32px/Share32pxF.js +21 -19
- package/dist/icons/components/32px/ShopimgCard32px.js +23 -21
- package/dist/icons/components/32px/Sort32px.js +21 -19
- package/dist/icons/components/32px/Star32px.js +23 -21
- package/dist/icons/components/32px/Star32pxF.js +21 -19
- package/dist/icons/components/32px/StarHalf32pxF.js +23 -21
- package/dist/icons/components/32px/Telegram32pxF.js +21 -19
- package/dist/icons/components/32px/TelegramPlane32pxF.js +21 -19
- package/dist/icons/components/32px/Timer32px.js +33 -31
- package/dist/icons/components/32px/Trash32px.js +43 -41
- package/dist/icons/components/32px/TwinArrowLeft32px.js +21 -19
- package/dist/icons/components/32px/TwinArrowRight32px.js +21 -19
- package/dist/icons/components/32px/USDollar32px.js +24 -22
- package/dist/icons/components/32px/Umbrella32px.js +23 -21
- package/dist/icons/components/32px/Umbrella32pxF.js +23 -21
- package/dist/icons/components/32px/UnionIcon32px.js +23 -21
- package/dist/icons/components/32px/User32px.js +32 -30
- package/dist/icons/components/32px/User32pxF.js +21 -19
- package/dist/icons/components/32px/Users32px.js +23 -21
- package/dist/icons/components/32px/Users32pxF.js +24 -22
- package/dist/icons/components/32px/VK32pxF.js +23 -21
- package/dist/icons/components/32px/Waiting32px.js +23 -21
- package/dist/icons/components/32px/Whatsapp32px.js +32 -30
- package/dist/icons/components/32px/WriteUs32px.js +26 -24
- package/dist/icons/components/32px/Youtube32pxF.js +21 -19
- package/dist/icons/components/32px/Yuan32px.js +24 -22
- 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 +21 -19
- package/dist/icons/components/auto-logo/Alim.js +23 -21
- package/dist/icons/components/auto-logo/Amur.js +23 -21
- package/dist/icons/components/auto-logo/Ankai.js +23 -21
- package/dist/icons/components/auto-logo/ArrowLength.js +21 -19
- package/dist/icons/components/auto-logo/Audi.js +20 -18
- package/dist/icons/components/auto-logo/BMW.js +41 -39
- package/dist/icons/components/auto-logo/BRP.js +32 -30
- package/dist/icons/components/auto-logo/Bomag.js +32 -30
- package/dist/icons/components/auto-logo/Case.js +23 -21
- package/dist/icons/components/auto-logo/Caterpillar.js +37 -35
- package/dist/icons/components/auto-logo/ChMZAP.js +46 -44
- package/dist/icons/components/auto-logo/ChTZ.js +32 -30
- package/dist/icons/components/auto-logo/Changan.js +21 -19
- package/dist/icons/components/auto-logo/Cherry.js +32 -30
- package/dist/icons/components/auto-logo/Citroen.js +23 -21
- package/dist/icons/components/auto-logo/DaewooFull.js +58 -56
- package/dist/icons/components/auto-logo/DaewooSymbol.js +51 -49
- package/dist/icons/components/auto-logo/Daf.js +23 -21
- package/dist/icons/components/auto-logo/Dayun.js +23 -21
- package/dist/icons/components/auto-logo/DongFeng.js +23 -21
- package/dist/icons/components/auto-logo/Ducati.js +32 -30
- package/dist/icons/components/auto-logo/Exeed.js +32 -30
- package/dist/icons/components/auto-logo/Faw.js +34 -32
- package/dist/icons/components/auto-logo/Fenix.js +114 -112
- package/dist/icons/components/auto-logo/Fiat.js +37 -35
- package/dist/icons/components/auto-logo/Ford.js +41 -39
- package/dist/icons/components/auto-logo/Foton.js +32 -30
- package/dist/icons/components/auto-logo/Gac.js +21 -19
- package/dist/icons/components/auto-logo/Gaz.js +59 -57
- package/dist/icons/components/auto-logo/Geely.js +25 -23
- package/dist/icons/components/auto-logo/Genesis.js +30 -28
- package/dist/icons/components/auto-logo/Gitte.js +23 -21
- package/dist/icons/components/auto-logo/Grunwald.js +23 -21
- package/dist/icons/components/auto-logo/HartungFull.js +32 -30
- package/dist/icons/components/auto-logo/HartungSymbol.js +32 -30
- package/dist/icons/components/auto-logo/Haval.js +23 -21
- package/dist/icons/components/auto-logo/Higer.js +23 -21
- package/dist/icons/components/auto-logo/Hitachi.js +21 -19
- package/dist/icons/components/auto-logo/Honda.js +37 -35
- package/dist/icons/components/auto-logo/Hongqi.js +30 -28
- package/dist/icons/components/auto-logo/Hongyan.js +23 -21
- package/dist/icons/components/auto-logo/Howo.js +46 -44
- package/dist/icons/components/auto-logo/Hyundai.js +23 -21
- package/dist/icons/components/auto-logo/Infiniti.js +21 -19
- package/dist/icons/components/auto-logo/Isuzu.js +23 -21
- package/dist/icons/components/auto-logo/Iveco.js +23 -21
- package/dist/icons/components/auto-logo/JCB.js +32 -30
- package/dist/icons/components/auto-logo/Jac.js +21 -19
- package/dist/icons/components/auto-logo/Juterborg.js +57 -55
- package/dist/icons/components/auto-logo/KIA.js +23 -21
- package/dist/icons/components/auto-logo/Kaiyi.js +23 -21
- package/dist/icons/components/auto-logo/Kamaz.js +35 -33
- package/dist/icons/components/auto-logo/Kassbohrer.js +23 -21
- package/dist/icons/components/auto-logo/Komatsu.js +21 -19
- package/dist/icons/components/auto-logo/Ktm.js +21 -19
- package/dist/icons/components/auto-logo/LCCE.js +37 -35
- package/dist/icons/components/auto-logo/Lada.js +23 -21
- package/dist/icons/components/auto-logo/Lexus.js +23 -21
- package/dist/icons/components/auto-logo/LiuGong.js +30 -28
- package/dist/icons/components/auto-logo/Lonking.js +30 -28
- package/dist/icons/components/auto-logo/Lovol.js +21 -19
- package/dist/icons/components/auto-logo/MTZBelarus.js +34 -32
- package/dist/icons/components/auto-logo/Man.js +21 -19
- package/dist/icons/components/auto-logo/Maz.js +32 -30
- package/dist/icons/components/auto-logo/MercedesBenz.js +23 -21
- package/dist/icons/components/auto-logo/Meusburger.js +23 -21
- package/dist/icons/components/auto-logo/Mitsubishi.js +21 -19
- package/dist/icons/components/auto-logo/NefAZ.js +30 -28
- package/dist/icons/components/auto-logo/NursanTrailer.js +21 -19
- package/dist/icons/components/auto-logo/Omoda.js +37 -35
- package/dist/icons/components/auto-logo/PSATss.js +37 -35
- package/dist/icons/components/auto-logo/Paz.js +23 -21
- package/dist/icons/components/auto-logo/Peugeot.js +21 -19
- package/dist/icons/components/auto-logo/Raskat.js +37 -35
- package/dist/icons/components/auto-logo/Renault.js +30 -28
- package/dist/icons/components/auto-logo/RussianCarsEmblem.js +32 -30
- package/dist/icons/components/auto-logo/RussianCarsKremlin.js +41 -39
- package/dist/icons/components/auto-logo/Sany.js +50 -48
- package/dist/icons/components/auto-logo/Scania.js +57 -55
- package/dist/icons/components/auto-logo/Schmitz.js +23 -21
- package/dist/icons/components/auto-logo/Shacman.js +30 -28
- package/dist/icons/components/auto-logo/Shantui.js +21 -19
- package/dist/icons/components/auto-logo/Sinanli.js +71 -69
- package/dist/icons/components/auto-logo/Sitrak.js +34 -32
- package/dist/icons/components/auto-logo/SobolIztechmash.js +60 -58
- package/dist/icons/components/auto-logo/Sokol.js +21 -19
- package/dist/icons/components/auto-logo/Sollers.js +23 -21
- package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +21 -19
- package/dist/icons/components/auto-logo/Tonar.js +23 -21
- package/dist/icons/components/auto-logo/Toyota.js +21 -19
- package/dist/icons/components/auto-logo/Trekol.js +34 -32
- package/dist/icons/components/auto-logo/UAT.js +21 -19
- package/dist/icons/components/auto-logo/Uaz.js +70 -68
- package/dist/icons/components/auto-logo/Ural.js +21 -19
- package/dist/icons/components/auto-logo/VIS.js +21 -19
- package/dist/icons/components/auto-logo/VKR.js +32 -30
- package/dist/icons/components/auto-logo/Volkswagen.js +23 -21
- package/dist/icons/components/auto-logo/Volvo.js +21 -19
- package/dist/icons/components/auto-logo/Wielton.js +21 -19
- package/dist/icons/components/auto-logo/XCMG.js +37 -35
- package/dist/icons/components/auto-logo/Yutong.js +72 -70
- package/dist/icons/components/auto-logo/Zoomlion.js +21 -19
- package/dist/icons/components/car-icons/AllMetal.js +32 -30
- package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +32 -30
- package/dist/icons/components/car-icons/AsphaltPaver.js +35 -33
- package/dist/icons/components/car-icons/Autotower.js +32 -30
- package/dist/icons/components/car-icons/Awning.js +33 -31
- package/dist/icons/components/car-icons/BackhoeLoader.js +39 -37
- package/dist/icons/components/car-icons/Buggy.js +32 -30
- package/dist/icons/components/car-icons/Bulldozer.js +34 -32
- package/dist/icons/components/car-icons/Bus.js +23 -21
- package/dist/icons/components/car-icons/BusBus.js +32 -30
- package/dist/icons/components/car-icons/BusMinibus.js +32 -30
- package/dist/icons/components/car-icons/BusShiftBuses.js +42 -40
- package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +39 -37
- package/dist/icons/components/car-icons/CargoAutotower.js +32 -30
- package/dist/icons/components/car-icons/CargoAwning.js +39 -37
- package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +39 -37
- package/dist/icons/components/car-icons/CargoDrillingRig.js +32 -30
- package/dist/icons/components/car-icons/CargoDumpTruck.js +39 -37
- package/dist/icons/components/car-icons/CargoGarbageTruck.js +39 -37
- package/dist/icons/components/car-icons/CargoGrainCarrier.js +39 -37
- package/dist/icons/components/car-icons/CargoIsothermal.js +39 -37
- package/dist/icons/components/car-icons/CargoOnBoard.js +39 -37
- package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +39 -37
- package/dist/icons/components/car-icons/CargoPromotionalItem.js +39 -37
- package/dist/icons/components/car-icons/CargoSortingTruck.js +39 -37
- package/dist/icons/components/car-icons/CargoTankerTruck.js +39 -37
- package/dist/icons/components/car-icons/CargoTowTruck.js +32 -30
- package/dist/icons/components/car-icons/CargoTruckCrane.js +41 -39
- package/dist/icons/components/car-icons/CargoVacuumMachine.js +32 -30
- package/dist/icons/components/car-icons/Clearance.js +23 -21
- package/dist/icons/components/car-icons/CombineHarvester.js +39 -37
- package/dist/icons/components/car-icons/Compartment.js +32 -30
- package/dist/icons/components/car-icons/ConcreteMixerTruck.js +39 -37
- package/dist/icons/components/car-icons/ConcretePump.js +40 -38
- package/dist/icons/components/car-icons/Crossover.js +32 -30
- package/dist/icons/components/car-icons/DrillingRigg.js +32 -30
- package/dist/icons/components/car-icons/DumpTruck.js +39 -37
- package/dist/icons/components/car-icons/Excavator.js +23 -21
- package/dist/icons/components/car-icons/ForestPreparationEquipment.js +39 -37
- package/dist/icons/components/car-icons/ForkliftTruck.js +32 -30
- package/dist/icons/components/car-icons/FrontLoader.js +39 -37
- package/dist/icons/components/car-icons/Hatchback.js +32 -30
- package/dist/icons/components/car-icons/IceRink.js +34 -32
- package/dist/icons/components/car-icons/Isothermal.js +39 -37
- package/dist/icons/components/car-icons/Liftback.js +23 -21
- package/dist/icons/components/car-icons/MiniEscalator.js +41 -39
- package/dist/icons/components/car-icons/MiniLoader.js +32 -30
- package/dist/icons/components/car-icons/MiningDumpTruck.js +39 -37
- package/dist/icons/components/car-icons/Minitractor.js +32 -30
- package/dist/icons/components/car-icons/Minivan.js +32 -30
- package/dist/icons/components/car-icons/MotorGrader.js +32 -30
- package/dist/icons/components/car-icons/MotorVehiclesBike.js +24 -22
- package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +30 -28
- package/dist/icons/components/car-icons/OffRoadVehicle.js +32 -30
- package/dist/icons/components/car-icons/OnBoard.js +39 -37
- package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +39 -37
- package/dist/icons/components/car-icons/OnBoardWithCmu.js +39 -37
- package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +48 -46
- package/dist/icons/components/car-icons/OtherCareerTechniques.js +39 -37
- package/dist/icons/components/car-icons/Pickup.js +23 -21
- package/dist/icons/components/car-icons/PickupTruck.js +32 -30
- package/dist/icons/components/car-icons/PilingInstallation.js +34 -32
- package/dist/icons/components/car-icons/PromotionalItem.js +39 -37
- package/dist/icons/components/car-icons/PublicUtilityVehicle.js +46 -44
- package/dist/icons/components/car-icons/QuarryExcavator.js +26 -24
- package/dist/icons/components/car-icons/Scooter.js +30 -28
- package/dist/icons/components/car-icons/Sedan.js +32 -30
- package/dist/icons/components/car-icons/Snowmobile.js +39 -37
- package/dist/icons/components/car-icons/TankerTruck.js +39 -37
- package/dist/icons/components/car-icons/TelescopicLoader.js +32 -30
- package/dist/icons/components/car-icons/TheLift.js +37 -35
- package/dist/icons/components/car-icons/TowTruck.js +32 -30
- package/dist/icons/components/car-icons/Tractor.js +32 -30
- package/dist/icons/components/car-icons/TractorTruck.js +39 -37
- package/dist/icons/components/car-icons/Trailerr.js +23 -21
- package/dist/icons/components/car-icons/TrailersCarCarrier.js +41 -39
- package/dist/icons/components/car-icons/TrailersCattleTruck.js +32 -30
- package/dist/icons/components/car-icons/TrailersContainerShip.js +40 -38
- package/dist/icons/components/car-icons/TrailersCurtainSide.js +39 -37
- package/dist/icons/components/car-icons/TrailersDumpTruck.js +39 -37
- package/dist/icons/components/car-icons/TrailersGrainTruck.js +39 -37
- package/dist/icons/components/car-icons/TrailersHeavyTruck.js +39 -37
- package/dist/icons/components/car-icons/TrailersIsothermal.js +39 -37
- package/dist/icons/components/car-icons/TrailersOther.js +39 -37
- package/dist/icons/components/car-icons/TrailersTankerTruck.js +39 -37
- package/dist/icons/components/car-icons/TruckCrane.js +41 -39
- package/dist/icons/components/car-icons/Universal.js +32 -30
- package/dist/icons/components/car-icons/Van.js +23 -21
- package/dist/icons/components/car-icons/Ycles.js +42 -40
- package/dist/icons/components/car-parameters-icons/Acceleration.js +32 -30
- package/dist/icons/components/car-parameters-icons/Berths.js +37 -35
- package/dist/icons/components/car-parameters-icons/Bucket.js +21 -19
- package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +23 -21
- package/dist/icons/components/car-parameters-icons/BucketVolume.js +30 -28
- package/dist/icons/components/car-parameters-icons/CabinTurn.js +32 -30
- package/dist/icons/components/car-parameters-icons/CarBodySize.js +32 -30
- package/dist/icons/components/car-parameters-icons/CarBodyType.js +23 -21
- package/dist/icons/components/car-parameters-icons/CarColor.js +32 -30
- package/dist/icons/components/car-parameters-icons/Cylinders.js +35 -33
- package/dist/icons/components/car-parameters-icons/Dimensions.js +32 -30
- package/dist/icons/components/car-parameters-icons/EngineType.js +21 -19
- package/dist/icons/components/car-parameters-icons/FuelConsumption.js +21 -19
- package/dist/icons/components/car-parameters-icons/GearType.js +24 -22
- package/dist/icons/components/car-parameters-icons/LiftingHeight.js +21 -19
- package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +23 -21
- package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +23 -21
- package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +21 -19
- package/dist/icons/components/car-parameters-icons/TrailerType.js +30 -28
- package/dist/icons/components/car-parameters-icons/UnloadingType.js +30 -28
- package/dist/icons/components/car-parameters-icons/Weight.js +34 -32
- package/dist/icons/components/car-parameters-icons/WheelDriveType.js +30 -28
- package/dist/icons/components/car-parameters-icons/WheelSheme.js +32 -30
- package/dist/icons/components/cars-stubus/Bike.js +23 -21
- package/dist/icons/components/cars-stubus/Car.js +23 -21
- package/dist/icons/components/cars-stubus/Equipment.js +23 -21
- package/dist/icons/components/cars-stubus/Truck.js +23 -21
- package/dist/icons/components/index.js +579 -579
- package/dist/icons/index.js +2 -2
- package/dist/index-CweZ_OcN.js +65 -0
- package/dist/index-FDVpKRvA.js +2010 -0
- package/dist/index.js +158 -158
- package/dist/keyboard-B256ZoM-.js +745 -0
- package/dist/label-P7Xsi5N7.js +172 -0
- package/dist/open-closed-CbXq00et.js +93 -0
- package/dist/styles.module-B9L4B63y.js +40 -0
- package/dist/use-active-press-B6yeSopF.js +31 -0
- package/dist/use-by-comparator-BUO78DGe.js +16 -0
- package/dist/use-resolve-button-type-B6LE6gU3.js +19 -0
- package/dist/utils/UUID4.js +4 -4
- package/dist/utils/formating/Date.js +27 -19
- package/dist/utils/formating/FileSize.js +12 -9
- package/dist/utils/formating/Month.js +5 -4
- package/dist/utils/formating/Numbers.js +5 -5
- package/dist/utils/index.js +14 -14
- package/dist/variant.module-BinTBzAV.js +15 -0
- package/package.json +1 -1
- package/dist/Input-BQldEv37.js +0 -198
- package/dist/ProgressBar-C0dC7o7N.js +0 -55
- package/dist/bugs-diTMAGNw.js +0 -18
- package/dist/field-FJ34aSs4.js +0 -12
- package/dist/focus-management-XwV-9qkO.js +0 -77
- package/dist/hidden-DbgtYPOH.js +0 -13
- package/dist/index-DIxK0V-G.js +0 -44
- package/dist/index-DzVMAmli.js +0 -1431
- package/dist/keyboard-B0lm_zyn.js +0 -573
- package/dist/label-y3ANLTNC.js +0 -171
- package/dist/open-closed-Cy6VDfYc.js +0 -93
- package/dist/styles.module-CaPkyXYQ.js +0 -25
- package/dist/use-active-press-86hajhdd.js +0 -31
- package/dist/use-by-comparator-CVuf9KBq.js +0 -16
- package/dist/use-resolve-button-type-BAxjHhds.js +0 -19
- package/dist/variant.module-BXn4N1h0.js +0 -12
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export { Slider } from './Slider';
|
@@ -1,122 +1,168 @@
|
|
1
|
-
import { jsx
|
2
|
-
import { c as
|
3
|
-
import { forwardRef
|
4
|
-
import { ZERO_STEP
|
5
|
-
import { Icon
|
6
|
-
import '../../assets/Steps.css';const
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
2
|
+
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
|
+
import { forwardRef, useId, useState, useRef, useEffect } from "react";
|
4
|
+
import { ZERO_STEP, EStepsSize, ID_SEPARATOR, STEP_ICONS_MAP, StepSize, DIFF_BETWEEN_STEP_AND_INDEX } from "./constants.js";
|
5
|
+
import { Icon } from "../../icons/Icon.js";
|
6
|
+
import '../../assets/Steps.css';const container = "_container_1cq8d_2";
|
7
|
+
const step = "_step_1cq8d_6";
|
8
|
+
const editable = "_editable_1cq8d_9";
|
9
|
+
const resizable = "_resizable_1cq8d_12";
|
10
|
+
const XS = "_XS_1cq8d_17";
|
11
|
+
const XS1 = "_XS1_1cq8d_20";
|
12
|
+
const S = "_S_1cq8d_23";
|
13
|
+
const M = "_M_1cq8d_26";
|
14
|
+
const L = "_L_1cq8d_29";
|
15
|
+
const XL = "_XL_1cq8d_32";
|
16
|
+
const cls = {
|
17
|
+
container,
|
18
|
+
step,
|
19
|
+
editable,
|
20
|
+
resizable,
|
21
|
+
XS,
|
22
|
+
XS1,
|
23
|
+
S,
|
24
|
+
M,
|
25
|
+
L,
|
26
|
+
XL
|
27
|
+
};
|
28
|
+
const Steps = forwardRef(
|
29
|
+
(props, ref) => {
|
19
30
|
const {
|
20
|
-
rootClassName
|
21
|
-
stepClassName
|
22
|
-
quantity
|
23
|
-
needZeroValue
|
24
|
-
current
|
25
|
-
editable:
|
26
|
-
size
|
27
|
-
onClick
|
28
|
-
customSize
|
29
|
-
resizable:
|
30
|
-
disabled
|
31
|
-
zones
|
32
|
-
unselectedColor
|
33
|
-
fillByActualZone
|
34
|
-
onStepMouseEnter
|
35
|
-
onStepMouseLeave
|
36
|
-
setParentColor
|
37
|
-
classNameIconStep
|
38
|
-
...
|
39
|
-
} =
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
31
|
+
rootClassName,
|
32
|
+
stepClassName,
|
33
|
+
quantity,
|
34
|
+
needZeroValue = true,
|
35
|
+
current = ZERO_STEP,
|
36
|
+
editable: editable2 = false,
|
37
|
+
size = EStepsSize.M,
|
38
|
+
onClick,
|
39
|
+
customSize,
|
40
|
+
resizable: resizable2,
|
41
|
+
disabled = false,
|
42
|
+
zones = [{ color: "#ff0000", to: quantity }],
|
43
|
+
unselectedColor = "#ffffff",
|
44
|
+
fillByActualZone,
|
45
|
+
onStepMouseEnter,
|
46
|
+
onStepMouseLeave,
|
47
|
+
setParentColor,
|
48
|
+
classNameIconStep,
|
49
|
+
...otherProps
|
50
|
+
} = props;
|
51
|
+
const idPrefix = useId();
|
52
|
+
const [step2, setStep] = useState(current);
|
53
|
+
const [hoveredStep, setHoveredStep] = useState(null);
|
54
|
+
const stepWasChangedRef = useRef(null);
|
55
|
+
const [currentColor, setCurrentColor] = useState(null);
|
56
|
+
useEffect(() => {
|
57
|
+
setStep(current);
|
58
|
+
}, [current]);
|
59
|
+
useEffect(() => {
|
60
|
+
if (fillByActualZone) {
|
61
|
+
const zone = zones.find((zone2) => zone2.to >= (step2 || 0));
|
62
|
+
zone && setCurrentColor(zone.color);
|
63
|
+
}
|
64
|
+
}, [fillByActualZone, step2, zones]);
|
65
|
+
const handleClick = (idx) => {
|
66
|
+
const clickedStep = idx + DIFF_BETWEEN_STEP_AND_INDEX;
|
67
|
+
stepWasChangedRef.current = true;
|
68
|
+
if (needZeroValue) {
|
69
|
+
return setStep(clickedStep !== step2 ? clickedStep : ZERO_STEP);
|
70
|
+
}
|
71
|
+
setStep(clickedStep);
|
72
|
+
};
|
73
|
+
useEffect(() => {
|
74
|
+
if (stepWasChangedRef.current === true) {
|
75
|
+
onClick && onClick(step2);
|
76
|
+
stepWasChangedRef.current = false;
|
77
|
+
}
|
78
|
+
}, [onClick, step2]);
|
79
|
+
const handleMouseEnter = (evt) => {
|
80
|
+
const hoveredIdx = Number(evt.currentTarget.id.split(ID_SEPARATOR)[1]);
|
81
|
+
setHoveredStep(hoveredIdx);
|
82
|
+
onStepMouseEnter && onStepMouseEnter(hoveredIdx);
|
83
|
+
const zone = zones.find((zone2) => zone2.to >= (hoveredIdx + 1 || 0));
|
84
|
+
if (zone) {
|
85
|
+
setParentColor && setParentColor(zone.color);
|
86
|
+
if (fillByActualZone) {
|
87
|
+
setCurrentColor(zone.color);
|
88
|
+
}
|
46
89
|
}
|
47
|
-
}, [c, t, r]);
|
48
|
-
const F = (o) => {
|
49
|
-
const e = o + Y;
|
50
|
-
if (b.current = !0, O)
|
51
|
-
return m(e !== t ? e : A);
|
52
|
-
m(e);
|
53
90
|
};
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
let
|
72
|
-
|
91
|
+
const handleMouseLeave = () => {
|
92
|
+
setHoveredStep(null);
|
93
|
+
onStepMouseLeave && onStepMouseLeave();
|
94
|
+
const zone = zones.find((zone2) => zone2.to >= (step2 || 0));
|
95
|
+
if (zone) {
|
96
|
+
setParentColor && setParentColor(zone.color);
|
97
|
+
if (fillByActualZone) {
|
98
|
+
setCurrentColor(zone.color);
|
99
|
+
}
|
100
|
+
}
|
101
|
+
};
|
102
|
+
const buttons = Array.from({ length: quantity }, (_, idx) => {
|
103
|
+
var _a, _b;
|
104
|
+
let currentZone = 0;
|
105
|
+
while (currentZone < zones.length && zones[currentZone].to <= idx) {
|
106
|
+
currentZone++;
|
107
|
+
}
|
108
|
+
let color;
|
109
|
+
if (fillByActualZone && hoveredStep !== null) {
|
110
|
+
color = idx <= hoveredStep ? currentColor : unselectedColor;
|
111
|
+
} else {
|
112
|
+
if (fillByActualZone) {
|
113
|
+
color = step2 > idx ? currentColor : unselectedColor;
|
114
|
+
} else {
|
115
|
+
color = hoveredStep !== null && idx <= hoveredStep ? (_a = zones[currentZone]) == null ? void 0 : _a.color : step2 > idx && hoveredStep === null ? (_b = zones[currentZone]) == null ? void 0 : _b.color : unselectedColor;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
return /* @__PURE__ */ jsx(
|
73
119
|
"button",
|
74
120
|
{
|
75
121
|
type: "button",
|
76
122
|
style: {
|
77
|
-
backgroundColor:
|
78
|
-
color:
|
79
|
-
height:
|
123
|
+
backgroundColor: resizable2 ? color !== null ? color : void 0 : void 0,
|
124
|
+
color: color !== null ? color : void 0,
|
125
|
+
height: customSize == null ? void 0 : customSize.height
|
80
126
|
},
|
81
|
-
id: `${
|
82
|
-
className:
|
83
|
-
[
|
84
|
-
[
|
85
|
-
[
|
127
|
+
id: `${idPrefix}${ID_SEPARATOR}${idx}`,
|
128
|
+
className: classNames(cls.step, cls[size], stepClassName, {
|
129
|
+
[cls.editable]: editable2 && !disabled,
|
130
|
+
[cls.resizable]: resizable2,
|
131
|
+
[cls.disabled]: disabled || !editable2 && idx + 1 > step2
|
86
132
|
}),
|
87
|
-
onClick: () =>
|
88
|
-
onMouseEnter:
|
89
|
-
onMouseLeave:
|
90
|
-
children: !
|
91
|
-
|
133
|
+
onClick: () => handleClick(idx),
|
134
|
+
onMouseEnter: handleMouseEnter,
|
135
|
+
onMouseLeave: handleMouseLeave,
|
136
|
+
children: !resizable2 && /* @__PURE__ */ jsx(
|
137
|
+
Icon,
|
92
138
|
{
|
93
|
-
iconName:
|
94
|
-
...
|
95
|
-
className:
|
139
|
+
iconName: STEP_ICONS_MAP[size].icon,
|
140
|
+
...StepSize[size],
|
141
|
+
className: classNameIconStep
|
96
142
|
}
|
97
143
|
)
|
98
144
|
},
|
99
|
-
|
145
|
+
idx
|
100
146
|
);
|
101
147
|
});
|
102
|
-
return /* @__PURE__ */
|
148
|
+
return /* @__PURE__ */ jsx(
|
103
149
|
"div",
|
104
150
|
{
|
105
|
-
...
|
106
|
-
className:
|
107
|
-
|
151
|
+
...otherProps,
|
152
|
+
className: classNames(
|
153
|
+
cls.container,
|
108
154
|
{
|
109
|
-
[
|
155
|
+
[cls.resizable]: resizable2
|
110
156
|
},
|
111
|
-
|
157
|
+
rootClassName
|
112
158
|
),
|
113
|
-
ref
|
114
|
-
children:
|
159
|
+
ref,
|
160
|
+
children: buttons
|
115
161
|
}
|
116
162
|
);
|
117
163
|
}
|
118
164
|
);
|
119
|
-
|
165
|
+
Steps.displayName = "Steps";
|
120
166
|
export {
|
121
|
-
|
167
|
+
Steps
|
122
168
|
};
|
@@ -1,6 +1,16 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
const
|
1
|
+
const ZERO_STEP = 0;
|
2
|
+
const DIFF_BETWEEN_STEP_AND_INDEX = 1;
|
3
|
+
const ID_SEPARATOR = "-//-";
|
4
|
+
var EStepsSize = /* @__PURE__ */ ((EStepsSize2) => {
|
5
|
+
EStepsSize2["XS"] = "XS";
|
6
|
+
EStepsSize2["XS1"] = "XS1";
|
7
|
+
EStepsSize2["S"] = "S";
|
8
|
+
EStepsSize2["M"] = "M";
|
9
|
+
EStepsSize2["L"] = "L";
|
10
|
+
EStepsSize2["XL"] = "XL";
|
11
|
+
return EStepsSize2;
|
12
|
+
})(EStepsSize || {});
|
13
|
+
const StepSize = {
|
4
14
|
XS: {
|
5
15
|
width: 19,
|
6
16
|
height: 8
|
@@ -25,33 +35,59 @@ const c = {
|
|
25
35
|
width: 72,
|
26
36
|
height: 12
|
27
37
|
}
|
28
|
-
}
|
29
|
-
|
38
|
+
};
|
39
|
+
const STEP_ICONS_MAP = {
|
40
|
+
[
|
41
|
+
"XS"
|
42
|
+
/* XS */
|
43
|
+
]: {
|
30
44
|
icon: "Step"
|
31
45
|
},
|
32
|
-
|
46
|
+
[
|
47
|
+
"XS1"
|
48
|
+
/* XS1 */
|
49
|
+
]: {
|
33
50
|
icon: "Step"
|
34
51
|
},
|
35
|
-
|
52
|
+
[
|
53
|
+
"S"
|
54
|
+
/* S */
|
55
|
+
]: {
|
36
56
|
icon: "Step"
|
37
57
|
},
|
38
|
-
|
58
|
+
[
|
59
|
+
"M"
|
60
|
+
/* M */
|
61
|
+
]: {
|
39
62
|
icon: "Step"
|
40
63
|
},
|
41
|
-
|
64
|
+
[
|
65
|
+
"L"
|
66
|
+
/* L */
|
67
|
+
]: {
|
42
68
|
icon: "Step"
|
43
69
|
},
|
44
|
-
|
70
|
+
[
|
71
|
+
"XL"
|
72
|
+
/* XL */
|
73
|
+
]: {
|
45
74
|
icon: "StepXL"
|
46
75
|
}
|
47
76
|
};
|
48
|
-
var
|
77
|
+
var EStepColor = /* @__PURE__ */ ((EStepColor2) => {
|
78
|
+
EStepColor2["ASPHALT"] = "#333333";
|
79
|
+
EStepColor2["CITRINE"] = "#ff7900";
|
80
|
+
EStepColor2["SAPPHIRE"] = "#2355d7";
|
81
|
+
EStepColor2["GREEN"] = "#1b770c";
|
82
|
+
EStepColor2["DISABLED"] = "#b2b2b2";
|
83
|
+
return EStepColor2;
|
84
|
+
})(EStepColor || {});
|
49
85
|
export {
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
86
|
+
DIFF_BETWEEN_STEP_AND_INDEX,
|
87
|
+
EStepColor,
|
88
|
+
EStepsSize,
|
89
|
+
ID_SEPARATOR,
|
90
|
+
STEP_ICONS_MAP,
|
91
|
+
StepSize,
|
92
|
+
ZERO_STEP
|
57
93
|
};
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Steps
|
2
|
-
import { EStepColor
|
1
|
+
import { Steps } from "./Steps.js";
|
2
|
+
import { EStepColor, EStepsSize } from "./constants.js";
|
3
3
|
export {
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
EStepColor,
|
5
|
+
EStepsSize,
|
6
|
+
Steps
|
7
7
|
};
|
@@ -1,95 +1,106 @@
|
|
1
|
-
import { jsxs
|
2
|
-
import { H as
|
3
|
-
import { K
|
4
|
-
import { W
|
5
|
-
import
|
6
|
-
import { w as
|
7
|
-
import { T as
|
8
|
-
import { r
|
9
|
-
import { c as
|
10
|
-
import { ELabelPositions
|
11
|
-
import '../../assets/Switcher.css';let
|
12
|
-
|
13
|
-
let
|
14
|
-
function
|
15
|
-
var
|
16
|
-
let [
|
17
|
-
return
|
18
|
-
|
19
|
-
} } },
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
2
|
+
import { H as H$1 } from "../../field-bS4z9Sdl.js";
|
3
|
+
import { K, w, z, U, u, a, b as l, T, I, G, j, p as p$1 } from "../../label-P7Xsi5N7.js";
|
4
|
+
import { W, H, y, p, o, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, b as $6179b936705e76d3$export$ae780daf29e6d456, D, c as o$1 } from "../../keyboard-B256ZoM-.js";
|
5
|
+
import React__default, { createContext, useState, useMemo, useId, useContext, useRef, useCallback, Fragment, forwardRef } from "react";
|
6
|
+
import { w as w$1 } from "../../use-active-press-B6yeSopF.js";
|
7
|
+
import { T as T$1 } from "../../use-resolve-button-type-B6LE6gU3.js";
|
8
|
+
import { r } from "../../bugs-CSBdWk0R.js";
|
9
|
+
import { c as classNames } from "../../index-CweZ_OcN.js";
|
10
|
+
import { ELabelPositions } from "./constants.js";
|
11
|
+
import '../../assets/Switcher.css';let S = createContext(null);
|
12
|
+
S.displayName = "GroupContext";
|
13
|
+
let _e = Fragment;
|
14
|
+
function Pe(n) {
|
15
|
+
var a2;
|
16
|
+
let [o2, p2] = useState(null), [f, b] = z(), [h, t] = U(), c = useMemo(() => ({ switch: o2, setSwitch: p2 }), [o2, p2]), T2 = {}, y2 = n;
|
17
|
+
return React__default.createElement(t, { name: "Switch.Description", value: h }, React__default.createElement(b, { name: "Switch.Label", value: f, props: { htmlFor: (a2 = c.switch) == null ? void 0 : a2.id, onClick(u2) {
|
18
|
+
o2 && (u2.currentTarget instanceof HTMLLabelElement && u2.preventDefault(), o2.click(), o2.focus({ preventScroll: true }));
|
19
|
+
} } }, React__default.createElement(S.Provider, { value: c }, H({ ourProps: T2, theirProps: y2, slot: {}, defaultTag: _e, name: "Switch.Group" }))));
|
20
20
|
}
|
21
|
-
let
|
22
|
-
function
|
23
|
-
var
|
24
|
-
let
|
25
|
-
|
26
|
-
|
21
|
+
let Ee = "button";
|
22
|
+
function De(n, o$2) {
|
23
|
+
var C;
|
24
|
+
let p$2 = useId(), f = u(), b = a(), { id: h = f || `headlessui-switch-${p$2}`, disabled: t = b || false, checked: c, defaultChecked: T$2, onChange: y$1, name: a$1, value: u$1, form: F, autoFocus: d = false, ...k } = n, w2 = useContext(S), _ = useRef(null), H$12 = y(_, o$2, w2 === null ? null : w2.setSwitch), l$1 = l(T$2), [s, r$1] = T(c, y$1, l$1 != null ? l$1 : false), M = p(), [P, E] = useState(false), D$1 = o(() => {
|
25
|
+
E(true), r$1 == null || r$1(!s), M.nextFrame(() => {
|
26
|
+
E(false);
|
27
27
|
});
|
28
|
-
}),
|
29
|
-
if (
|
30
|
-
|
31
|
-
}),
|
32
|
-
|
33
|
-
}),
|
34
|
-
if (
|
35
|
-
}, [
|
36
|
-
return
|
28
|
+
}), U2 = o((e) => {
|
29
|
+
if (r(e.currentTarget)) return e.preventDefault();
|
30
|
+
e.preventDefault(), D$1();
|
31
|
+
}), I$1 = o((e) => {
|
32
|
+
e.key === o$1.Space ? (e.preventDefault(), D$1()) : e.key === o$1.Enter && p$1(e.currentTarget);
|
33
|
+
}), B = o((e) => e.preventDefault()), K2 = I(), W2 = G(), { isFocusVisible: g, focusProps: O } = $f7dceffc5ad7768b$export$4e328f61c538687f({ autoFocus: d }), { isHovered: v, hoverProps: N } = $6179b936705e76d3$export$ae780daf29e6d456({ isDisabled: t }), { pressed: x, pressProps: J } = w$1({ disabled: t }), V = useMemo(() => ({ checked: s, disabled: t, hover: v, focus: g, active: x, autofocus: d, changing: P }), [s, v, g, x, t, P, d]), X = D({ id: h, ref: H$12, role: "switch", type: T$1(n, _), tabIndex: n.tabIndex === -1 ? 0 : (C = n.tabIndex) != null ? C : 0, "aria-checked": s, "aria-labelledby": K2, "aria-describedby": W2, disabled: t || void 0, autoFocus: d, onClick: U2, onKeyUp: I$1, onKeyPress: B }, O, N, J), j$1 = useCallback(() => {
|
34
|
+
if (l$1 !== void 0) return r$1 == null ? void 0 : r$1(l$1);
|
35
|
+
}, [r$1, l$1]);
|
36
|
+
return React__default.createElement(React__default.Fragment, null, a$1 != null && React__default.createElement(j, { disabled: t, data: { [a$1]: u$1 || "on" }, overrides: { type: "checkbox", checked: s }, form: F, onReset: j$1 }), H({ ourProps: X, theirProps: k, slot: V, defaultTag: Ee, name: "Switch" }));
|
37
37
|
}
|
38
|
-
let
|
39
|
-
const
|
38
|
+
let ge = W(De), ve = Pe, xe = K, Ce = w, qe = Object.assign(ge, { Group: ve, Label: xe, Description: Ce });
|
39
|
+
const left = "_left_gu0m2_14";
|
40
|
+
const right = "_right_gu0m2_17";
|
41
|
+
const label = "_label_gu0m2_21";
|
42
|
+
const switcher = "_switcher_gu0m2_2";
|
43
|
+
const cls = {
|
40
44
|
"switcher-wrapper": "_switcher-wrapper_gu0m2_2",
|
41
|
-
left
|
42
|
-
right
|
43
|
-
label
|
44
|
-
switcher
|
45
|
+
left,
|
46
|
+
right,
|
47
|
+
label,
|
48
|
+
switcher,
|
45
49
|
"switcher-checked": "_switcher-checked_gu0m2_45",
|
46
50
|
"switcher-thumb": "_switcher-thumb_gu0m2_55",
|
47
51
|
"switcher-checked-thumb": "_switcher-checked-thumb_gu0m2_65"
|
48
|
-
}
|
52
|
+
};
|
53
|
+
const Switcher = forwardRef(
|
49
54
|
({
|
50
|
-
id
|
51
|
-
label:
|
52
|
-
hasLabel
|
53
|
-
labelPosition
|
54
|
-
className
|
55
|
-
labelClassName
|
56
|
-
switcherThumbClassName
|
57
|
-
wrapperClassName
|
58
|
-
children
|
59
|
-
checked
|
60
|
-
...
|
61
|
-
},
|
62
|
-
const
|
63
|
-
|
64
|
-
|
55
|
+
id,
|
56
|
+
label: label2,
|
57
|
+
hasLabel = false,
|
58
|
+
labelPosition = ELabelPositions.LEFT,
|
59
|
+
className,
|
60
|
+
labelClassName,
|
61
|
+
switcherThumbClassName,
|
62
|
+
wrapperClassName,
|
63
|
+
children,
|
64
|
+
checked,
|
65
|
+
...props
|
66
|
+
}, ref) => {
|
67
|
+
const renderChildren = (bag) => {
|
68
|
+
if (typeof children === "function") {
|
69
|
+
return children({ ...bag, checked });
|
70
|
+
} else {
|
71
|
+
return children;
|
72
|
+
}
|
73
|
+
};
|
74
|
+
return /* @__PURE__ */ jsxs(
|
75
|
+
H$1,
|
65
76
|
{
|
66
|
-
className:
|
67
|
-
|
68
|
-
|
69
|
-
|
77
|
+
className: classNames(
|
78
|
+
cls["switcher-wrapper"],
|
79
|
+
wrapperClassName,
|
80
|
+
cls[labelPosition]
|
70
81
|
),
|
71
82
|
children: [
|
72
|
-
|
73
|
-
/* @__PURE__ */
|
74
|
-
|
83
|
+
label2 && hasLabel && /* @__PURE__ */ jsx(K, { className: classNames(cls.label, labelClassName), htmlFor: id, children: label2 }),
|
84
|
+
/* @__PURE__ */ jsxs(
|
85
|
+
qe,
|
75
86
|
{
|
76
|
-
...
|
77
|
-
id
|
78
|
-
ref
|
79
|
-
className:
|
80
|
-
[
|
87
|
+
...props,
|
88
|
+
id,
|
89
|
+
ref,
|
90
|
+
className: classNames(cls.switcher, className, {
|
91
|
+
[cls["switcher-checked"]]: checked
|
81
92
|
}),
|
82
93
|
children: [
|
83
|
-
|
84
|
-
/* @__PURE__ */
|
94
|
+
renderChildren({ checked }),
|
95
|
+
/* @__PURE__ */ jsx(
|
85
96
|
"span",
|
86
97
|
{
|
87
98
|
"aria-hidden": "true",
|
88
|
-
className:
|
89
|
-
|
90
|
-
|
99
|
+
className: classNames(
|
100
|
+
cls["switcher-thumb"],
|
101
|
+
switcherThumbClassName,
|
91
102
|
{
|
92
|
-
[
|
103
|
+
[cls["switcher-checked-thumb"]]: checked
|
93
104
|
}
|
94
105
|
)
|
95
106
|
}
|
@@ -103,5 +114,5 @@ const Ge = "_left_gu0m2_14", Ke = "_right_gu0m2_17", Re = "_label_gu0m2_21", Me
|
|
103
114
|
}
|
104
115
|
);
|
105
116
|
export {
|
106
|
-
|
117
|
+
Switcher
|
107
118
|
};
|
@@ -1,4 +1,8 @@
|
|
1
|
-
var
|
1
|
+
var ELabelPositions = /* @__PURE__ */ ((ELabelPositions2) => {
|
2
|
+
ELabelPositions2["LEFT"] = "left";
|
3
|
+
ELabelPositions2["RIGHT"] = "right";
|
4
|
+
return ELabelPositions2;
|
5
|
+
})(ELabelPositions || {});
|
2
6
|
export {
|
3
|
-
|
7
|
+
ELabelPositions
|
4
8
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Switcher
|
2
|
-
import { ELabelPositions
|
1
|
+
import { Switcher } from "./Switcher.js";
|
2
|
+
import { ELabelPositions } from "./constants.js";
|
3
3
|
export {
|
4
|
-
|
5
|
-
|
4
|
+
ELabelPositions,
|
5
|
+
Switcher
|
6
6
|
};
|