@itcase/ui 1.1.14 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-vh2p5Mzs.js → Accordion-DF2lqrVA.js} +16 -10
- package/dist/{Avatar-DhZxzLEY.js → Avatar-DLNS2LBo.js} +1 -1
- package/dist/{Badge-D-4zpdfU.js → Badge-BBbMdbjo.js} +8 -2
- package/dist/{Breadcrumbs-CciIq1Na.js → Breadcrumbs-Dz-WcAoT.js} +2 -2
- package/dist/{Button-BXClqM-t.js → Button-ULZVVxWC.js} +2 -2
- package/dist/{Cell-BfV_aVxs.js → Cell-D9Wa7coO.js} +6 -3
- package/dist/{Checkbox-C-H_Z4S_.js → Checkbox-i0qZk0sb.js} +8 -7
- package/dist/{Chips-BR_EPV82.js → Chips-BdK4kVmq.js} +9 -3
- package/dist/{Choice-BJd9Jx4D.js → Choice-BT6xwc_a.js} +8 -6
- package/dist/{ContextMenuItem-CpZ3pjky.js → ContextMenuItem--304_MdY.js} +1 -1
- package/dist/{CookiesWarning-jN2hWm12.js → CookiesWarning-CDlz4Rfl.js} +4 -4
- package/dist/{DadataHintField-QzDwYdF1.js → DadataHintField-CHJLsVjJ.js} +1 -1
- package/dist/{DatePicker-Nm4Ut2tD.js → DatePicker-CAgJ_CIz.js} +9092 -9081
- package/dist/{DropdownItem-BaQXZu0w.js → DropdownItem-Cf5vBgDu.js} +1 -1
- package/dist/{GridRow-DUnumam2.js → GridRow-CvYQDJ2W.js} +1 -1
- package/dist/{Icon-Duj1nynQ.js → Icon-DWnG-4KG.js} +2 -2
- package/dist/{Input-CYMKQ0qF.js → Input-CYDtAlO-.js} +14 -12
- package/dist/{InputPassword-CTbtTP_o.js → InputPassword-BOdsE_Yd.js} +1 -1
- package/dist/{Label-D9cQMuy3.js → Label-VHbRKztj.js} +1 -1
- package/dist/{LanguageSelector-TZEgbNsG.js → LanguageSelector-CzIV_gnd.js} +1 -1
- package/dist/{Link-CbCqej5B.js → Link-Co6uspFK.js} +9 -1
- package/dist/{ListItem-Dgx1_Igi.js → ListItem-DMS6_Rtr.js} +1 -1
- package/dist/{Logo-DsOEX4uk.js → Logo-D4NFjeqd.js} +3 -3
- package/dist/{Menu-Kpe1GMns.js → Menu-Cd-XlUmJ.js} +1 -1
- package/dist/{MenuItem-C5BPgTO7.js → MenuItem-COZ-C9K2.js} +1 -1
- package/dist/{ModalLoader-8l8YtIvz.js → ModalLoader-D17lZhS7.js} +8 -1
- package/dist/{NotificationList-CJ-hNA9W.js → NotificationList-C2OCJkY5.js} +3 -3
- package/dist/{Pagination-LXBlrbZT.js → Pagination-QfVqvSbE.js} +2 -2
- package/dist/{Response-Nzg8ooT8.js → Response-m-8zeYeD.js} +4 -4
- package/dist/{SearchResult-B6Jd1xZO.js → SearchResult-DbhHiNmy.js} +1 -1
- package/dist/{SiteMenuButton-CcCAsJtr.js → SiteMenuButton-BwyPO-2_.js} +1 -1
- package/dist/{Swiper-JdwU0uca.js → Swiper-CL9zCKXE.js} +4 -4
- package/dist/{SwitchField-B8JbD2Se.js → SwitchField-nmu255b8.js} +1 -1
- package/dist/{TabGroup-DieipbE3.js → TabGroup-CK6ndAuh.js} +2 -2
- package/dist/{Tile-rSmWn8mR.js → Tile-qiXVUf-t.js} +3 -3
- package/dist/{Title-BUN57fWw.js → Title-BhJcCgdK.js} +20 -4
- package/dist/{Tooltip-CcwyN7PD.js → Tooltip-CpEQOh9v.js} +1 -1
- package/dist/cjs/{Accordion-BPSF6By2.js → Accordion-rCFDAon3.js} +16 -10
- package/dist/cjs/{Avatar-qFiPDVgu.js → Avatar-Bj5BiStx.js} +1 -1
- package/dist/cjs/{Badge-zYZKun4n.js → Badge-D7W3B9G5.js} +8 -2
- package/dist/cjs/{Breadcrumbs-BIhuwcTG.js → Breadcrumbs-xj-c6cUH.js} +2 -2
- package/dist/cjs/{Button-C4_FRFZe.js → Button-DfUQ11Hs.js} +2 -2
- package/dist/cjs/{Cell-zxHVzKan.js → Cell-DEBk3Rbp.js} +6 -3
- package/dist/cjs/{Checkbox-B-1dwjii.js → Checkbox-BIvndDsy.js} +8 -7
- package/dist/cjs/{Chips-BcJttN22.js → Chips-i7zrI9aU.js} +9 -3
- package/dist/cjs/{Choice-CPPQ2o2L.js → Choice-Cm_1ke3H.js} +8 -6
- package/dist/cjs/{ContextMenuItem-BME-EZ-y.js → ContextMenuItem-D6dUiYw7.js} +1 -1
- package/dist/cjs/{CookiesWarning-CfEwpkS8.js → CookiesWarning-BfkNifW2.js} +4 -4
- package/dist/cjs/{DadataHintField-DQHPRLs0.js → DadataHintField-z7Mw-xDn.js} +1 -1
- package/dist/cjs/{DatePicker-BiCqQFyi.js → DatePicker-e4-8mC1N.js} +9091 -9080
- package/dist/cjs/{DropdownItem-bjpmcFH1.js → DropdownItem-BhpFr7Z0.js} +1 -1
- package/dist/cjs/{Icon-DzJtiBBk.js → Icon-2rv_L0yY.js} +2 -2
- package/dist/cjs/{Input-BqKlyvEt.js → Input-vwyG3XF0.js} +13 -11
- package/dist/cjs/{InputPassword-DHgR_QTK.js → InputPassword-BXCwerW2.js} +1 -1
- package/dist/cjs/{Label-BcwjtIk7.js → Label-EFoxH21m.js} +1 -1
- package/dist/cjs/{LanguageSelector-C3i2JJCM.js → LanguageSelector-CFKki1Sr.js} +1 -1
- package/dist/cjs/{Link-3qPujNn9.js → Link-B6Xq7PWn.js} +9 -1
- package/dist/cjs/{ListItem-CvMoKXM-.js → ListItem-C3tWa-2I.js} +1 -1
- package/dist/cjs/{Logo-YADZn1N4.js → Logo-CcEF4P2z.js} +3 -3
- package/dist/cjs/{Menu-CDlB7QNf.js → Menu-rXCCn52A.js} +1 -1
- package/dist/cjs/{MenuItem-4uVtNhb4.js → MenuItem-C__OMtEI.js} +1 -1
- package/dist/cjs/{ModalLoader-A2KkSC3x.js → ModalLoader-Cddzca-W.js} +8 -1
- package/dist/cjs/{NotificationList-BTvz_kvZ.js → NotificationList-CKd0PxLU.js} +3 -3
- package/dist/cjs/{Pagination-B0-KGWSv.js → Pagination-D6thfJMP.js} +2 -2
- package/dist/cjs/{Response-XesiDp89.js → Response-CwdUpO-8.js} +4 -4
- package/dist/cjs/{SearchResult-D147g0-n.js → SearchResult-BnIZD8lL.js} +1 -1
- package/dist/cjs/{SiteMenuButton-ChUD4CgP.js → SiteMenuButton-B2wBLVOJ.js} +1 -1
- package/dist/cjs/{Swiper-DHjkfpbP.js → Swiper-DrXdHybn.js} +4 -4
- package/dist/cjs/{SwitchField-CdpEiqFv.js → SwitchField-B0N-28Ne.js} +1 -1
- package/dist/cjs/{TabGroup-Vn5oELiY.js → TabGroup-BCw7IKuz.js} +2 -2
- package/dist/cjs/{Tile-j8EfyWDg.js → Tile-2VY0LzsE.js} +3 -3
- package/dist/cjs/{Title-C3lN-EvU.js → Title-DZn77tSl.js} +20 -4
- package/dist/cjs/{Tooltip-CnnungCh.js → Tooltip-DRsL77n1.js} +1 -1
- package/dist/cjs/components/Accordion/Accordion.d.ts +2 -2
- package/dist/cjs/components/Accordion/Accordion.interface.d.ts +52 -52
- package/dist/cjs/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/cjs/components/Accordion.js +5 -5
- package/dist/cjs/components/Avatar/Avatar.interface.d.ts +12 -12
- package/dist/cjs/components/Avatar.js +5 -5
- package/dist/cjs/components/Badge/Badge.interface.d.ts +13 -12
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
- package/dist/cjs/components/Breadcrumbs.js +5 -5
- package/dist/cjs/components/Button/Button.interface.d.ts +26 -26
- package/dist/cjs/components/Button.js +5 -5
- package/dist/cjs/components/Caption/Caption.interface.d.ts +7 -7
- package/dist/cjs/components/Card/Card.interface.d.ts +13 -13
- package/dist/cjs/components/Cell/Cell.interface.d.ts +29 -28
- package/dist/cjs/components/Cell.js +6 -6
- package/dist/cjs/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/cjs/components/Checkbox/Checkbox.interface.d.ts +43 -44
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips/Chips.interface.d.ts +19 -16
- package/dist/cjs/components/Chips.js +1 -1
- package/dist/cjs/components/Choice/Choice.interface.d.ts +26 -26
- package/dist/cjs/components/Choice.js +5 -5
- package/dist/cjs/components/Code/Code.interface.d.ts +16 -16
- package/dist/cjs/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
- package/dist/cjs/components/ContextMenu.js +5 -5
- package/dist/cjs/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
- package/dist/cjs/components/CookiesWarning.js +6 -6
- package/dist/cjs/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/cjs/components/DadataHintField.js +2 -2
- package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +54 -50
- package/dist/cjs/components/DatePicker.js +10 -10
- package/dist/cjs/components/Divider/Divider.interface.d.ts +23 -23
- package/dist/cjs/components/Dot/Dot.interface.d.ts +16 -16
- package/dist/cjs/components/Drawer/Drawer.interface.d.ts +2 -2
- package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +26 -26
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/Flex/Flex.interface.d.ts +30 -30
- package/dist/cjs/components/FormField/FormFiled.interface.d.ts +45 -45
- package/dist/cjs/components/FormField.js +7 -7
- package/dist/cjs/components/Grid/Grid.interface.d.ts +31 -31
- package/dist/cjs/components/Group/Group.interface.d.ts +14 -14
- package/dist/cjs/components/Icon/Icon.interface.d.ts +29 -29
- package/dist/cjs/components/Icon.js +4 -4
- package/dist/cjs/components/Image/Image.interface.d.ts +8 -8
- package/dist/cjs/components/Input/Input.d.ts +3 -3
- package/dist/cjs/components/Input/Input.interface.d.ts +36 -38
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputMask/Input.d.ts +3 -3
- package/dist/cjs/components/InputMask/Input.interface.d.ts +32 -32
- package/dist/cjs/components/InputPassword/InputPassword.interface.d.ts +30 -30
- package/dist/cjs/components/InputPassword.js +5 -5
- package/dist/cjs/components/Label/Label.interface.d.ts +15 -15
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/LanguageSelector.js +5 -5
- package/dist/cjs/components/Link/Link.interface.d.ts +23 -21
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List/List.interface.d.ts +11 -11
- package/dist/cjs/components/List.js +2 -2
- package/dist/cjs/components/Loader/Loader.interface.d.ts +11 -11
- package/dist/cjs/components/Logo/Logo.interface.d.ts +6 -5
- package/dist/cjs/components/Logo.js +2 -2
- package/dist/cjs/components/Menu/Menu.interface.d.ts +5 -5
- package/dist/cjs/components/Menu.js +3 -3
- package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +21 -21
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal/Modal.interface.d.ts +4 -4
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification/Notification.interface.d.ts +16 -16
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Overlay/Overlay.interface.d.ts +4 -4
- package/dist/cjs/components/Pagination/Pagination.interface.d.ts +20 -20
- package/dist/cjs/components/Pagination.js +6 -6
- package/dist/cjs/components/Panel/Panel.interface.d.ts +19 -19
- package/dist/cjs/components/Radio/Radio.interface.d.ts +25 -25
- package/dist/cjs/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/cjs/components/Response/Response.interface.d.ts +30 -28
- package/dist/cjs/components/Response.js +6 -6
- package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
- package/dist/cjs/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/cjs/components/Search/Search.interface.d.ts +23 -23
- package/dist/cjs/components/Search.js +5 -5
- package/dist/cjs/components/Segmented/Segmented.interface.d.ts +14 -14
- package/dist/cjs/components/Select.js +9 -9
- package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
- package/dist/cjs/components/SiteMenu.js +5 -5
- package/dist/cjs/components/Swiper/Swiper.interface.d.ts +7 -7
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch/Switch.interface.d.ts +2 -2
- package/dist/cjs/components/Tab/Tab.interface.d.ts +29 -29
- package/dist/cjs/components/Tab.js +3 -3
- package/dist/cjs/components/Text/Text.interface.d.ts +20 -20
- package/dist/cjs/components/Textarea/Textarea.interface.d.ts +17 -17
- package/dist/cjs/components/Tile/Tile.interface.d.ts +15 -15
- package/dist/cjs/components/Tile.js +3 -3
- package/dist/cjs/components/Title/Title.interface.d.ts +17 -9
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.interface.d.ts +13 -13
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Video/Video.interface.d.ts +2 -2
- package/dist/cjs/components/Wrapper/Wrapper.interface.d.ts +4 -4
- package/dist/cjs/components.js +37 -37
- package/dist/cjs/constants/componentProps/textColor.js +1 -1
- package/dist/cjs/constants/componentProps/textColorActive.js +1 -1
- package/dist/cjs/constants/componentProps/textColorHover.js +1 -1
- package/dist/cjs/context/Notifications.js +3 -3
- package/dist/cjs/{floating-ui.dom-CW7i9VDu.js → floating-ui.dom-D1St6qnn.js} +29 -17
- package/dist/cjs/hooks/styleAttributes.interface.d.ts +4 -4
- package/dist/cjs/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/cjs/types/componentProps/direction.d.ts +1 -1
- package/dist/cjs/types/componentProps/fill.d.ts +1 -1
- package/dist/cjs/types/componentProps/fillHover.d.ts +1 -1
- package/dist/cjs/types/componentProps/height.d.ts +1 -1
- package/dist/cjs/types/componentProps/itemColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/shape.d.ts +1 -1
- package/dist/cjs/types/componentProps/size.d.ts +1 -1
- package/dist/cjs/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/svgFill.d.ts +1 -0
- package/dist/cjs/types/componentProps/textColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/textColorActive.d.ts +1 -1
- package/dist/cjs/types/componentProps/textColorHover.d.ts +1 -1
- package/dist/cjs/types/componentProps/textSize.d.ts +1 -1
- package/dist/cjs/types/componentProps/textWeight.d.ts +1 -1
- package/dist/cjs/types/componentProps/width.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +14 -13
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/Accordion/Accordion.interface.d.ts +52 -52
- package/dist/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/components/Accordion.js +5 -5
- package/dist/components/Avatar/Avatar.interface.d.ts +12 -12
- package/dist/components/Avatar.js +5 -5
- package/dist/components/Badge/Badge.interface.d.ts +13 -12
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
- package/dist/components/Breadcrumbs.js +5 -5
- package/dist/components/Button/Button.interface.d.ts +26 -26
- package/dist/components/Button.js +5 -5
- package/dist/components/Caption/Caption.interface.d.ts +7 -7
- package/dist/components/Card/Card.interface.d.ts +13 -13
- package/dist/components/Cell/Cell.interface.d.ts +29 -28
- package/dist/components/Cell.js +6 -6
- package/dist/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/Checkbox/Checkbox.interface.d.ts +43 -44
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips/Chips.interface.d.ts +19 -16
- package/dist/components/Chips.js +1 -1
- package/dist/components/Choice/Choice.interface.d.ts +26 -26
- package/dist/components/Choice.js +5 -5
- package/dist/components/Code/Code.interface.d.ts +16 -16
- package/dist/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
- package/dist/components/ContextMenu.js +5 -5
- package/dist/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
- package/dist/components/CookiesWarning.js +6 -6
- package/dist/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/components/DadataHintField.js +2 -2
- package/dist/components/DatePicker/DatePicker.interface.d.ts +54 -50
- package/dist/components/DatePicker.js +10 -10
- package/dist/components/Divider/Divider.interface.d.ts +23 -23
- package/dist/components/Dot/Dot.interface.d.ts +16 -16
- package/dist/components/Drawer/Drawer.interface.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.interface.d.ts +26 -26
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Flex/Flex.interface.d.ts +30 -30
- package/dist/components/FormField/FormFiled.interface.d.ts +45 -45
- package/dist/components/FormField.js +7 -7
- package/dist/components/Grid/Grid.interface.d.ts +31 -31
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group/Group.interface.d.ts +14 -14
- package/dist/components/Icon/Icon.interface.d.ts +29 -29
- package/dist/components/Icon.js +4 -4
- package/dist/components/Image/Image.interface.d.ts +8 -8
- package/dist/components/Input/Input.d.ts +3 -3
- package/dist/components/Input/Input.interface.d.ts +36 -38
- package/dist/components/Input.js +1 -1
- package/dist/components/InputMask/Input.d.ts +3 -3
- package/dist/components/InputMask/Input.interface.d.ts +32 -32
- package/dist/components/InputPassword/InputPassword.interface.d.ts +30 -30
- package/dist/components/InputPassword.js +5 -5
- package/dist/components/Label/Label.interface.d.ts +15 -15
- package/dist/components/Label.js +3 -3
- package/dist/components/LanguageSelector.js +5 -5
- package/dist/components/Link/Link.interface.d.ts +23 -21
- package/dist/components/Link.js +1 -1
- package/dist/components/List/List.interface.d.ts +11 -11
- package/dist/components/List.js +2 -2
- package/dist/components/Loader/Loader.interface.d.ts +11 -11
- package/dist/components/Logo/Logo.interface.d.ts +6 -5
- package/dist/components/Logo.js +2 -2
- package/dist/components/Menu/Menu.interface.d.ts +5 -5
- package/dist/components/Menu.js +3 -3
- package/dist/components/MenuItem/MenuItem.interface.d.ts +21 -21
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal/Modal.interface.d.ts +4 -4
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification/Notification.interface.d.ts +16 -16
- package/dist/components/Notification.js +2 -2
- package/dist/components/Overlay/Overlay.interface.d.ts +4 -4
- package/dist/components/Pagination/Pagination.interface.d.ts +20 -20
- package/dist/components/Pagination.js +6 -6
- package/dist/components/Panel/Panel.interface.d.ts +19 -19
- package/dist/components/Radio/Radio.interface.d.ts +25 -25
- package/dist/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/components/Response/Response.interface.d.ts +30 -28
- package/dist/components/Response.js +6 -6
- package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
- package/dist/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/components/Search/Search.interface.d.ts +23 -23
- package/dist/components/Search.js +5 -5
- package/dist/components/Segmented/Segmented.interface.d.ts +14 -14
- package/dist/components/Select.js +9 -9
- package/dist/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
- package/dist/components/SiteMenu.js +5 -5
- package/dist/components/Swiper/Swiper.interface.d.ts +7 -7
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch/Switch.interface.d.ts +2 -2
- package/dist/components/Tab/Tab.interface.d.ts +29 -29
- package/dist/components/Tab.js +3 -3
- package/dist/components/Text/Text.interface.d.ts +20 -20
- package/dist/components/Textarea/Textarea.interface.d.ts +17 -17
- package/dist/components/Tile/Tile.interface.d.ts +15 -15
- package/dist/components/Tile.js +3 -3
- package/dist/components/Title/Title.interface.d.ts +17 -9
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip/Tooltip.interface.d.ts +13 -13
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Video/Video.interface.d.ts +2 -2
- package/dist/components/Wrapper/Wrapper.interface.d.ts +4 -4
- package/dist/components.js +38 -38
- package/dist/constants/componentProps/textColor.js +1 -1
- package/dist/constants/componentProps/textColorActive.js +1 -1
- package/dist/constants/componentProps/textColorHover.js +1 -1
- package/dist/context/Notifications.js +3 -3
- package/dist/css/components/DatePicker/DatePicker.css +4 -0
- package/dist/css/components/Logo/Logo.css +1 -1
- package/dist/css/components/RangeSlider/RangeSlider.css +4 -1
- package/dist/css/components/Swiper/Swiper.css +2 -2
- package/dist/css/components/Title/Title.css +19 -3
- package/dist/css/styles/svg-color/svg_fill.css +24 -0
- package/dist/css/styles/svg-color/svg_fill_hover.css +18 -0
- package/dist/css/styles/text-color/text-color.css +1 -1
- package/dist/css/styles/text-color/text-color_active.css +1 -1
- package/dist/{floating-ui.dom-B080ZrCv.js → floating-ui.dom-_PBQLJcF.js} +29 -17
- package/dist/hooks/styleAttributes.interface.d.ts +4 -4
- package/dist/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/types/componentProps/borderColor.d.ts +1 -1
- package/dist/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/types/componentProps/direction.d.ts +1 -1
- package/dist/types/componentProps/fill.d.ts +1 -1
- package/dist/types/componentProps/fillHover.d.ts +1 -1
- package/dist/types/componentProps/height.d.ts +1 -1
- package/dist/types/componentProps/itemColor.d.ts +1 -1
- package/dist/types/componentProps/shape.d.ts +1 -1
- package/dist/types/componentProps/size.d.ts +1 -1
- package/dist/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/types/componentProps/svgFill.d.ts +1 -0
- package/dist/types/componentProps/textColor.d.ts +1 -1
- package/dist/types/componentProps/textColorActive.d.ts +1 -1
- package/dist/types/componentProps/textColorHover.d.ts +1 -1
- package/dist/types/componentProps/textSize.d.ts +1 -1
- package/dist/types/componentProps/textWeight.d.ts +1 -1
- package/dist/types/componentProps/width.d.ts +1 -1
- package/dist/types/index.d.ts +14 -13
- package/package.json +39 -36
|
@@ -5,7 +5,7 @@ import clsx from 'clsx';
|
|
|
5
5
|
import castArray from 'lodash/castArray';
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
|
-
import { I as Icon } from './Icon-
|
|
8
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
9
9
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
10
10
|
|
|
11
11
|
var ChevronDown16 = function ChevronDown16(props) {
|
|
@@ -38,12 +38,17 @@ const icon16 = {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
function AccordionItem(props) {
|
|
41
|
-
var
|
|
41
|
+
var id = props.id, children = props.children, isExpanded = props.isExpanded, afterContent = props.afterContent, beforeContent = props.beforeContent, className = props.className, content = props.content, contentTextColor = props.contentTextColor, contentTextSize = props.contentTextSize, contentTextWeight = props.contentTextWeight, icon = props.icon, _a = props.iconFill, iconFill = _a === void 0 ? 'surfaceItemAccent' : _a, size = props.size, title = props.title, titleTextColor = props.titleTextColor, titleTextSize = props.titleTextSize, titleTextWeight = props.titleTextWeight, onClick = props.onClick;
|
|
42
42
|
var onClickTitle = useCallback(function () {
|
|
43
|
-
// !isExpanded - is next state of expanded
|
|
44
|
-
var thisItemData = {
|
|
43
|
+
// "!isExpanded" - is next state of expanded
|
|
44
|
+
var thisItemData = {
|
|
45
|
+
id: id,
|
|
46
|
+
isExpanded: !isExpanded,
|
|
47
|
+
content: content,
|
|
48
|
+
title: title,
|
|
49
|
+
};
|
|
45
50
|
onClick && onClick(thisItemData);
|
|
46
|
-
}, [
|
|
51
|
+
}, [id, title, content, isExpanded, onClick]);
|
|
47
52
|
var borderColorClass = useDeviceTargetClass(props, {
|
|
48
53
|
prefix: 'border-color_',
|
|
49
54
|
propsKey: 'borderColor',
|
|
@@ -82,7 +87,7 @@ function AccordionItem(props) {
|
|
|
82
87
|
});
|
|
83
88
|
// @ts-expect-error
|
|
84
89
|
var styles = useStyles(props).styles;
|
|
85
|
-
return (jsxRuntimeExports.jsxs("div", { className: clsx('accordion-item', className, borderColorClass, fillClass, fillHoverClass, shapeClass, size && "accordion-item_size_".concat(size), isExpanded && 'accordion-item_state_open'),
|
|
90
|
+
return (jsxRuntimeExports.jsxs("div", { style: styles, className: clsx('accordion-item', className, borderColorClass, fillClass, fillHoverClass, shapeClass, size && "accordion-item_size_".concat(size), isExpanded && 'accordion-item_state_open'), children: [jsxRuntimeExports.jsx(Text, { size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, className: clsx('accordion-item__title', titleBorderColorClass, titleFillClass, titleFillHoverClass, 'cursor_type_pointer'), onClick: onClickTitle, children: title }), jsxRuntimeExports.jsx("div", { className: clsx('accordion-item__icon', 'cursor_type_pointer'), onClick: onClickTitle, children: icon || jsxRuntimeExports.jsx(Icon, { SvgImage: icon16.ChevronDown, iconFill: iconFill, size: "16" }) }), beforeContent && beforeContent, isExpanded && (jsxRuntimeExports.jsx("div", { className: clsx('accordion-item__content', contentBorderColorClass, contentFillClass, fillHoverClass), children: children ||
|
|
86
91
|
(content && (jsxRuntimeExports.jsx(Text, { size: contentTextSize, textColor: contentTextColor, textWeight: contentTextWeight, children: content }))) })), afterContent && afterContent] }));
|
|
87
92
|
}
|
|
88
93
|
AccordionItem.defaultProps = {
|
|
@@ -90,7 +95,7 @@ AccordionItem.defaultProps = {
|
|
|
90
95
|
};
|
|
91
96
|
|
|
92
97
|
function Accordion(props) {
|
|
93
|
-
var children = props.children,
|
|
98
|
+
var children = props.children, isMultiple = props.isMultiple, className = props.className, _a = props.initial, initial = _a === void 0 ? [] : _a, items = props.items, onClickItem = props.onClickItem;
|
|
94
99
|
var _b = useState(castArray(initial)), expandedItems = _b[0], setExpandedItems = _b[1];
|
|
95
100
|
var onClickAccordionItem = useCallback(function (targetItem) {
|
|
96
101
|
setExpandedItems(function (prevState) {
|
|
@@ -115,12 +120,13 @@ function Accordion(props) {
|
|
|
115
120
|
}
|
|
116
121
|
});
|
|
117
122
|
onClickItem && onClickItem(targetItem);
|
|
118
|
-
}, [onClickItem]);
|
|
123
|
+
}, [isMultiple, onClickItem]);
|
|
119
124
|
var accordionItemsList = useMemo(function () {
|
|
120
125
|
if (items) {
|
|
121
|
-
return items.map(function (item, i) { return (jsxRuntimeExports.jsx(AccordionItem, { content: item.content, id: item.id, isExpanded: expandedItems.includes(item.id),
|
|
126
|
+
return items.map(function (item, i) { return (jsxRuntimeExports.jsx(AccordionItem, { content: item.content, id: item.id, title: item.title, isExpanded: expandedItems.includes(item.id), onClick: onClickAccordionItem }, "accordionItem_".concat(item.id || i + 1))); });
|
|
122
127
|
}
|
|
123
128
|
if (children) {
|
|
129
|
+
// @ts-ignore
|
|
124
130
|
return React__default.Children.toArray(children).map(function (child) {
|
|
125
131
|
if (React__default.isValidElement(child)) {
|
|
126
132
|
var childID = child.props.id || child.key;
|
|
@@ -162,7 +168,7 @@ function Accordion(props) {
|
|
|
162
168
|
*/
|
|
163
169
|
// @ts-expect-error
|
|
164
170
|
var _c = useStyles(props), accordionStyles = _c.styles, accordionWrapperStyles = _c.wrapper;
|
|
165
|
-
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'accordion', borderColorClass, directionClass, fillClass, shapeClass, widthClass),
|
|
171
|
+
return (jsxRuntimeExports.jsx("div", { style: accordionStyles, className: clsx(className, 'accordion', borderColorClass, directionClass, fillClass, shapeClass, widthClass), children: jsxRuntimeExports.jsx("div", { className: "accordion__wrapper", style: accordionWrapperStyles, children: accordionItemsList }) }));
|
|
166
172
|
}
|
|
167
173
|
Accordion.defaultProps = {
|
|
168
174
|
initial: [],
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
5
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
6
6
|
import { I as Image } from './Image-Bz4Fo3eB.js';
|
|
7
7
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ var badgeConfig = {
|
|
|
12
12
|
},
|
|
13
13
|
};
|
|
14
14
|
function Badge(props) {
|
|
15
|
-
var _a;
|
|
15
|
+
var _a, _b;
|
|
16
16
|
var appearance = props.appearance, children = props.children, className = props.className, mode = props.mode; props.shape; props.size; var textColor = props.textColor, textSize = props.textSize, value = props.value;
|
|
17
17
|
var borderColorClass = useDeviceTargetClass(props, {
|
|
18
18
|
prefix: 'border-color_',
|
|
@@ -34,6 +34,10 @@ function Badge(props) {
|
|
|
34
34
|
prefix: 'fill_',
|
|
35
35
|
propsKey: 'fill',
|
|
36
36
|
});
|
|
37
|
+
var fillHoverClass = useDeviceTargetClass(props, {
|
|
38
|
+
prefix: 'fill_hover_',
|
|
39
|
+
propsKey: 'fillHover',
|
|
40
|
+
});
|
|
37
41
|
var positionClass = useDeviceTargetClass(props, {
|
|
38
42
|
prefix: 'position_',
|
|
39
43
|
propsKey: 'position',
|
|
@@ -51,7 +55,9 @@ function Badge(props) {
|
|
|
51
55
|
var appearanceConfig = useMemo(function () { return appearance && badgeConfig.appearance && badgeConfig.appearance[appearance]; }, [appearance, badgeConfig]);
|
|
52
56
|
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'badge', !value && 'badge_type_status', mode && "badge_mode_".concat(mode), borderColorClass, borderColorHoverClass, borderWidthClass, borderTypeClass, fillClass ||
|
|
53
57
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
54
|
-
((_a = "fill_".concat(appearanceConfig.fill)) === null || _a === void 0 ? void 0 : _a.replace(/([A-Z])/g, '-$1').toLowerCase())),
|
|
58
|
+
((_a = "fill_".concat(appearanceConfig.fill)) === null || _a === void 0 ? void 0 : _a.replace(/([A-Z])/g, '-$1').toLowerCase())), fillHoverClass ||
|
|
59
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
60
|
+
((_b = "fill_hover_".concat(appearanceConfig.fillHover)) === null || _b === void 0 ? void 0 : _b.replace(/([A-Z])/g, '-$1').toLowerCase())), positionClass, sizeClass, shapeClass), style: badgeStyles, children: children ||
|
|
55
61
|
(value && (jsxRuntimeExports.jsx(Text, { size: textSize, textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), children: value }))) }));
|
|
56
62
|
}
|
|
57
63
|
Badge.defaultProps = {
|
|
@@ -5,8 +5,8 @@ import clsx from 'clsx';
|
|
|
5
5
|
import camelCase from 'lodash/camelCase';
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
|
-
import { I as Icon } from './Icon-
|
|
9
|
-
import { a as LinkWrapper } from './Link-
|
|
8
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
9
|
+
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
10
10
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
11
11
|
|
|
12
12
|
function BreadcrumbsItem(props) {
|
|
@@ -3,8 +3,8 @@ import React__default, { useMemo } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
|
-
import { I as Icon } from './Icon-
|
|
7
|
-
import { a as LinkWrapper } from './Link-
|
|
6
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
7
|
+
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
8
8
|
import { L as Loader } from './Loader-YZrWGaNy.js';
|
|
9
9
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
10
10
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
4
|
-
import { I as Icon } from './Icon-
|
|
5
|
-
import { L as Label } from './Label-
|
|
4
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
5
|
+
import { L as Label } from './Label-VHbRKztj.js';
|
|
6
6
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
7
|
+
import { useStyles } from './hooks/useStyles.js';
|
|
7
8
|
|
|
8
9
|
function Cell(props) {
|
|
9
10
|
var after = props.after, before = props.before, className = props.className, isActive = props.isActive, isDisabled = props.isDisabled, mode = props.mode, reverse = props.reverse, set = props.set, showTitleLabel = props.showTitleLabel, showValueLabel = props.showValueLabel, size = props.size, title = props.title, titleIcon = props.titleIcon, titleIconFill = props.titleIconFill, titleIconFillHover = props.titleIconFillHover, titleIconFillSize = props.titleIconFillSize, titleIconItemFill = props.titleIconItemFill, titleIconShape = props.titleIconShape, titleIconSrc = props.titleIconSrc, titleLabel = props.titleLabel, titleLabelAppearance = props.titleLabelAppearance, titleLabelShape = props.titleLabelShape, titleLabelSize = props.titleLabelSize, titleLabelTextSize = props.titleLabelTextSize, titleTag = props.titleTag, titleTextColor = props.titleTextColor, titleTextSize = props.titleTextSize, titleTextTruncate = props.titleTextTruncate, titleTextWeight = props.titleTextWeight, titleTextWrap = props.titleTextWrap, value = props.value, valueIcon = props.valueIcon, valueIconFill = props.valueIconFill, valueIconFillHover = props.valueIconFillHover, valueIconFillSize = props.valueIconFillSize, valueIconItemFill = props.valueIconItemFill, valueIconShape = props.valueIconShape, valueIconSrc = props.valueIconSrc, valueLabel = props.valueLabel, valueLabelAppearance = props.valueLabelAppearance, valueLabelShape = props.valueLabelShape, valueLabelSize = props.valueLabelSize, valueLabelTextSize = props.valueLabelTextSize, valueTag = props.valueTag, valueTextAlign = props.valueTextAlign, valueTextColor = props.valueTextColor, valueTextSize = props.valueTextSize, valueTextWeight = props.valueTextWeight, valueTextWrap = props.valueTextWrap, zeroGap = props.zeroGap, zeroPadding = props.zeroPadding, onClick = props.onClick, onMouseEnter = props.onMouseEnter;
|
|
@@ -55,7 +56,9 @@ function Cell(props) {
|
|
|
55
56
|
prefix: 'width_',
|
|
56
57
|
propsKey: 'width',
|
|
57
58
|
});
|
|
58
|
-
|
|
59
|
+
// @ts-expect-error
|
|
60
|
+
var cellStyles = useStyles(props).styles;
|
|
61
|
+
return (jsxRuntimeExports.jsxs("div", { className: clsx(className, 'cell', mode && "cell_mode_".concat(mode), size && "cell_size_".concat(size), set && "cell_set_".concat(set), bgFillClass, bgFillHoverClass, isActive && bgFillActiveClass, isDisabled && bgFillDisabledClass, bgShapeClass, widthClass, zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap', reverse && 'cell_reverse'), onClick: onClick, onMouseEnter: onMouseEnter, style: cellStyles, children: [before && jsxRuntimeExports.jsx("div", { className: "cell__before", children: before }), jsxRuntimeExports.jsxs("div", { className: clsx('cell__wrapper', directionClass, fillClass, fillHoverClass, isActive && fillActiveClass, isDisabled && fillDisabledClass, shapeClass), children: [title && (jsxRuntimeExports.jsxs("div", { className: "cell__data", children: [jsxRuntimeExports.jsx(Text, { className: "cell__title", size: titleTextSize, tag: titleTag, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title }), (titleIcon || titleIconSrc) && (jsxRuntimeExports.jsx(Icon, { className: "cell__icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), showTitleLabel && (jsxRuntimeExports.jsx(Label, { appearance: titleLabelAppearance, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape, size: titleLabelSize }))] })), value && (jsxRuntimeExports.jsxs("div", { className: "cell__data", children: [jsxRuntimeExports.jsx(Text, { className: "cell__value", size: valueTextSize, tag: valueTag, textAlign: valueTextAlign, textColor: valueTextColor, textWeight: valueTextWeight, textWrap: valueTextWrap, children: value }), (valueIcon || valueIconSrc) && (jsxRuntimeExports.jsx(Icon, { className: "cell__icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), showValueLabel && (jsxRuntimeExports.jsx(Label, { appearance: valueLabelAppearance, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape, size: valueLabelSize }))] }))] }), after && jsxRuntimeExports.jsx("div", { className: "cell__after", children: after })] }));
|
|
59
62
|
}
|
|
60
63
|
Cell.defaultProps = {
|
|
61
64
|
isDisabled: false,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
-
import { useMemo } from 'react';
|
|
3
2
|
import clsx from 'clsx';
|
|
4
3
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
4
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
6
5
|
|
|
7
6
|
var checkboxConfig = {
|
|
8
|
-
state: undefined,
|
|
9
|
-
setState: function (newComponent) {
|
|
10
|
-
checkboxConfig.state = newComponent;
|
|
11
|
-
},
|
|
12
7
|
appearance: undefined,
|
|
13
8
|
setAppearance: function (newComponent) {
|
|
14
9
|
checkboxConfig.appearance = newComponent;
|
|
15
10
|
},
|
|
11
|
+
state: undefined,
|
|
12
|
+
// eslint-disable-next-line perfectionist/sort-objects
|
|
13
|
+
setState: function (newComponent) {
|
|
14
|
+
checkboxConfig.state = newComponent;
|
|
15
|
+
},
|
|
16
16
|
};
|
|
17
17
|
function Checkbox(props) {
|
|
18
|
-
var
|
|
18
|
+
var id = props.id, _a = props.Tag, Tag = _a === void 0 ? 'label' : _a, after = props.after, appearance = props.appearance, before = props.before, checked = props.checked, className = props.className, desc = props.desc, descTextColor = props.descTextColor, descTextSize = props.descTextSize, descTextWeight = props.descTextWeight, disabled = props.disabled, label = props.label, labelTextColor = props.labelTextColor, labelTextSize = props.labelTextSize, labelTextWeight = props.labelTextWeight, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus;
|
|
19
19
|
var fillClass = useDeviceTargetClass(props, {
|
|
20
20
|
prefix: 'fill_',
|
|
21
21
|
propsKey: 'fill',
|
|
@@ -56,7 +56,8 @@ function Checkbox(props) {
|
|
|
56
56
|
prefix: 'width_',
|
|
57
57
|
propsKey: 'width',
|
|
58
58
|
});
|
|
59
|
-
|
|
59
|
+
// prettier-ignore
|
|
60
|
+
var appearanceConfig = (appearance && checkboxConfig.appearance && checkboxConfig.appearance[appearance]);
|
|
60
61
|
return (jsxRuntimeExports.jsxs(Tag, { className: clsx(className, 'checkbox', fillClass, shapeClass, widthClass), htmlFor: Tag === 'label' && id, children: [before, jsxRuntimeExports.jsxs("div", { className: clsx('checkbox__item', stateCheckmarkFillClass ||
|
|
61
62
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.stateCheckmarkFill) &&
|
|
62
63
|
"checkbox_checkmark_fill_".concat(appearanceConfig.stateCheckmarkFill)
|
|
@@ -12,7 +12,7 @@ var chipsConfig = {
|
|
|
12
12
|
},
|
|
13
13
|
};
|
|
14
14
|
function Chips(props) {
|
|
15
|
-
var appearance = props.appearance, children = props.children, className = props.className, label = props.label,
|
|
15
|
+
var isActive = props.isActive, labelTextActiveColor = props.labelTextActiveColor, appearance = props.appearance, children = props.children, className = props.className, label = props.label, labelTextSize = props.labelTextSize, labelTextColor = props.labelTextColor, labelTextWeight = props.labelTextWeight, type = props.type, onClick = props.onClick;
|
|
16
16
|
var alignDirectionClass = useDeviceTargetClass(props, {
|
|
17
17
|
prefix: 'align_',
|
|
18
18
|
propsKey: 'alignDirection',
|
|
@@ -29,6 +29,10 @@ function Chips(props) {
|
|
|
29
29
|
prefix: 'fill_hover_',
|
|
30
30
|
propsKey: 'fillHover',
|
|
31
31
|
});
|
|
32
|
+
var fillActiveClass = useDeviceTargetClass(props, {
|
|
33
|
+
prefix: 'fill_active_',
|
|
34
|
+
propsKey: 'fillActive',
|
|
35
|
+
});
|
|
32
36
|
var sizeClass = useDeviceTargetClass(props, {
|
|
33
37
|
prefix: 'chips_size_',
|
|
34
38
|
propsKey: 'size',
|
|
@@ -52,7 +56,9 @@ function Chips(props) {
|
|
|
52
56
|
// @ts-expect-error
|
|
53
57
|
var chipsStyles = useStyles(props).styles;
|
|
54
58
|
var appearanceConfig = useMemo(function () { return appearance && chipsConfig.appearance && chipsConfig.appearance[appearance]; }, [appearance, chipsConfig]);
|
|
55
|
-
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'chips',
|
|
59
|
+
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'chips', isActive && 'chips_state_active', isActive ? fillActiveClass ||
|
|
60
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillActive) &&
|
|
61
|
+
"fill_".concat(appearanceConfig.fillActive).replace(/([A-Z])/g, '-$1').toLowerCase()) : fillClass ||
|
|
56
62
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
57
63
|
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass ||
|
|
58
64
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
@@ -60,7 +66,7 @@ function Chips(props) {
|
|
|
60
66
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderColor) &&
|
|
61
67
|
"border-color_".concat(appearanceConfig.borderColor)
|
|
62
68
|
.replace(/([A-Z])/g, '-$1')
|
|
63
|
-
.toLowerCase()), borderTypeClass, sizeClass, alignDirectionClass, alignClass, type && "chips_type_".concat(type), cursorClass), style: chipsStyles, onClick: onClick, children: jsxRuntimeExports.jsxs("div", { className: "chips__inner", children: [typeof label === 'string' ? (jsxRuntimeExports.jsx(Text, { className: "chips__label", textColor: labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), textWeight: labelTextWeight, size:
|
|
69
|
+
.toLowerCase()), borderTypeClass, sizeClass, alignDirectionClass, alignClass, type && "chips_type_".concat(type), cursorClass, onClick && 'cursor_type_pointer'), style: chipsStyles, onClick: onClick, children: jsxRuntimeExports.jsxs("div", { className: "chips__inner", children: [typeof label === 'string' ? (jsxRuntimeExports.jsx(Text, { className: "chips__label", textColor: isActive ? labelTextActiveColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextActiveColor) : labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), textWeight: labelTextWeight, size: labelTextSize, children: label })) : (jsxRuntimeExports.jsx("div", { className: "chips__label", children: label })), children] }) }));
|
|
64
70
|
}
|
|
65
71
|
Chips.defaultProps = {
|
|
66
72
|
label: 'Chips',
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import React__default, { useRef, useMemo, createRef, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
5
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
6
6
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
7
7
|
|
|
8
8
|
var choiceConfig = {
|
|
@@ -12,13 +12,13 @@ var choiceConfig = {
|
|
|
12
12
|
},
|
|
13
13
|
};
|
|
14
14
|
var Choice = React__default.forwardRef(function Choice(props, ref) {
|
|
15
|
-
var active = props.active, activeIcon = props.activeIcon, activeIconItemFill = props.activeIconItemFill, after = props.after, appearance = props.appearance, before = props.before, className = props.className, icon = props.icon, iconFillDisabled = props.iconFillDisabled, iconItemFill = props.iconItemFill, iconSize = props.iconSize, isDisabled = props.isDisabled,
|
|
15
|
+
var active = props.active, activeIcon = props.activeIcon, activeIconItemFill = props.activeIconItemFill, after = props.after, appearance = props.appearance, before = props.before, className = props.className, icon = props.icon, iconFillDisabled = props.iconFillDisabled, iconItemFill = props.iconItemFill, iconSize = props.iconSize, isDisabled = props.isDisabled, isCheckbox = props.isCheckbox, labelTextActiveColor = props.labelTextActiveColor, labelTextActiveColorDisabled = props.labelTextActiveColorDisabled, labelTextColor = props.labelTextColor, labelTextColorDisabled = props.labelTextColorDisabled, labelTextWeight = props.labelTextWeight, labelTextSize = props.labelTextSize, name = props.name, options = props.options, set = props.set, _a = props.size, size = _a === void 0 ? 'normal' : _a, type = props.type, setActiveSegment = props.setActiveSegment;
|
|
16
16
|
var controlRef = useRef(null);
|
|
17
17
|
var optionsRefs = useMemo(function () { return new Map(options.map(function (item) { return [item.value, createRef()]; })); }, [options]);
|
|
18
18
|
var onChange = useCallback(function (event, item) {
|
|
19
|
-
var isChecked =
|
|
19
|
+
var isChecked = isCheckbox ? event.target.checked : true;
|
|
20
20
|
setActiveSegment && setActiveSegment(item, isChecked);
|
|
21
|
-
}, [
|
|
21
|
+
}, [isCheckbox, setActiveSegment]);
|
|
22
22
|
var borderColorClass = useDeviceTargetClass(props, {
|
|
23
23
|
prefix: 'border-color_',
|
|
24
24
|
propsKey: 'borderColor',
|
|
@@ -81,13 +81,15 @@ var Choice = React__default.forwardRef(function Choice(props, ref) {
|
|
|
81
81
|
: fillActiveDisabledClass
|
|
82
82
|
: !isDisabled
|
|
83
83
|
? fillClass
|
|
84
|
-
: fillDisabledClass, item.value === active.value && isDisabled && 'choice__item_active_state_disabled', item.value === active.value && 'choice__item_active'), ref: optionsRefs.get(item.value), children: [jsxRuntimeExports.jsx("input", { checked: item.value === active.value, className: "choice__item-radio", id: "".concat(name, "-").concat(item.value), name: name, disabled: isDisabled, type:
|
|
84
|
+
: fillDisabledClass, item.value === active.value && isDisabled && 'choice__item_active_state_disabled', item.value === active.value && 'choice__item_active'), ref: optionsRefs.get(item.value), children: [jsxRuntimeExports.jsx("input", { checked: item.value === active.value, className: "choice__item-radio", id: "".concat(name, "-").concat(item.value), name: name, disabled: isDisabled, type: isCheckbox ? 'checkbox' : 'radio', value: item.value, onChange: function (event) { return onChange(event, item); } }), jsxRuntimeExports.jsxs("label", { className: clsx('choice__item-label', isDisabled && 'choice__item-label_state_disabled'), htmlFor: "".concat(name, "-").concat(item.value), children: [before, item.label && (jsxRuntimeExports.jsx(Text, { size: labelTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextSize), textColor: item.value === active.value
|
|
85
85
|
? !isDisabled
|
|
86
86
|
? labelTextActiveColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextActiveColor)
|
|
87
87
|
: labelTextActiveColorDisabled
|
|
88
88
|
: !isDisabled
|
|
89
89
|
? labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor)
|
|
90
|
-
: labelTextColorDisabled, textWeight: labelTextWeight, children: item.label })), (icon || activeIcon) && (jsxRuntimeExports.jsx(Icon, { className: "choice__item-icon", iconFill: item.value === active.value
|
|
90
|
+
: labelTextColorDisabled, textWeight: labelTextWeight, children: item.label })), (icon || activeIcon) && (jsxRuntimeExports.jsx(Icon, { className: "choice__item-icon", iconFill: item.value === active.value
|
|
91
|
+
? activeIconItemFill || item.activeIconItemFill
|
|
92
|
+
: iconItemFill || item.iconItemFill, iconFillDisabled: isDisabled ? iconFillDisabled : undefined, iconSize: iconSize, SvgImage: item.value === active.value ? activeIcon : icon })), after] })] }, item.value)); }) }) }));
|
|
91
93
|
});
|
|
92
94
|
Choice.defaultProps = {
|
|
93
95
|
active: { value: undefined },
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
4
4
|
import { D as Divider } from './Divider-Dhj6sMWd.js';
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
5
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
6
6
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
7
7
|
|
|
8
8
|
function ContextMenu(props) {
|
|
@@ -3,7 +3,7 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { B as Button } from './Button-
|
|
6
|
+
import { B as Button } from './Button-ULZVVxWC.js';
|
|
7
7
|
import { G as Group } from './Group-C2kJKhWJ.js';
|
|
8
8
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
9
9
|
|
|
@@ -23,13 +23,13 @@ function CookiesWarning(props) {
|
|
|
23
23
|
return function () {
|
|
24
24
|
window.removeEventListener('scroll', closeCookiesWarning, true);
|
|
25
25
|
};
|
|
26
|
-
}, []);
|
|
26
|
+
}, []);
|
|
27
27
|
useEffect(function () {
|
|
28
28
|
// isHideOnScroll &&
|
|
29
29
|
if (!isOpen) {
|
|
30
30
|
window.removeEventListener('scroll', closeCookiesWarning, true);
|
|
31
31
|
}
|
|
32
|
-
}, [isOpen]);
|
|
32
|
+
}, [isOpen]);
|
|
33
33
|
var fillClass = useDeviceTargetClass(props, {
|
|
34
34
|
prefix: 'fill_',
|
|
35
35
|
propsKey: 'fill',
|
|
@@ -41,7 +41,7 @@ function CookiesWarning(props) {
|
|
|
41
41
|
var gap = useDeviceTargetClass(props, {
|
|
42
42
|
propsKey: 'gap',
|
|
43
43
|
});
|
|
44
|
-
return isOpen ? (jsxRuntimeExports.jsx("div", {
|
|
44
|
+
return isOpen ? (jsxRuntimeExports.jsx("div", { className: clsx('cookies-warning', className, fillClass, fillGradientClass), ref: cookiesWarningRef, children: jsxRuntimeExports.jsxs(Group, { direction: "vertical", className: "cookies-warning__inner", gap: gap ? gap : undefined, children: [jsxRuntimeExports.jsx(Text, { size: textSize, textColor: textColor, children: message }), jsxRuntimeExports.jsx(Button, { width: buttonWidth, fill: buttonFill, fillHover: buttonFillHover, shape: buttonShape, size: buttonSize, labelTextColor: buttonLabelTextColor, labelTextSize: buttonLabelSize, onClick: closeCookiesWarning, children: buttonLabel })] }) })) : null;
|
|
45
45
|
}
|
|
46
46
|
CookiesWarning.defaultProps = {
|
|
47
47
|
message: 'The site uses cookies to collect technical information, to optimize the design and improvement of the website, and to provide certain functions. By using the website, you agree to the use of «cookies».',
|
|
@@ -3,7 +3,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
3
3
|
import React__default, { PureComponent, useMemo } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import crypto from 'crypto';
|
|
6
|
-
import { I as Input } from './Input-
|
|
6
|
+
import { I as Input } from './Input-CYDtAlO-.js';
|
|
7
7
|
|
|
8
8
|
function getDefaultExportFromCjs (x) {
|
|
9
9
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|