@itcase/ui 1.1.16 → 1.1.17
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-DF2lqrVA.js → Accordion-uWRXripc.js} +2 -2
- package/dist/{Avatar-DLNS2LBo.js → Avatar-APOOlMd3.js} +2 -2
- package/dist/{Badge-BBbMdbjo.js → Badge-DtYgQu3L.js} +2 -3
- package/dist/{Breadcrumbs-Dz-WcAoT.js → Breadcrumbs-rRMuYnWJ.js} +2 -2
- package/dist/{Button-ULZVVxWC.js → Button-DxZUKQ8I.js} +7 -7
- package/dist/{Card-DPGgzPuD.js → Card-DEs1Rr88.js} +1 -1
- package/dist/{Cell-D9Wa7coO.js → Cell-BJThS4YS.js} +3 -3
- package/dist/{Checkbox-i0qZk0sb.js → Checkbox-BmQo6ByV.js} +1 -1
- package/dist/{Chips-BdK4kVmq.js → Chips-CBPMHkdw.js} +15 -13
- package/dist/{Choice-BT6xwc_a.js → Choice-DVU4k0tu.js} +11 -14
- package/dist/{Code-DkWVSDOy.js → Code-1WUXVzfb.js} +0 -1
- package/dist/{ContextMenuItem--304_MdY.js → ContextMenuItem-xssbnviQ.js} +2 -2
- package/dist/{CookiesWarning-CDlz4Rfl.js → CookiesWarning-Dcon4SS4.js} +3 -3
- package/dist/{DatePicker-CAgJ_CIz.js → DatePicker-D9UgOcue.js} +5 -5
- package/dist/{Drawer-CgJX3Utw.js → Drawer-DkLkFSmD.js} +3 -3
- package/dist/{DropdownItem-Cf5vBgDu.js → DropdownItem-DB5nPIdl.js} +1 -1
- package/dist/{Group-C2kJKhWJ.js → Group-DuHn_z2p.js} +1 -2
- package/dist/HTMLContent-CgbJTAy4.js +85 -0
- package/dist/{Icon-DWnG-4KG.js → Icon-C0gtkmdU.js} +1 -1
- package/dist/{InputPassword-BOdsE_Yd.js → InputPassword-D6OLQrVC.js} +2 -4
- package/dist/{Label-VHbRKztj.js → Label-0lMH0-AK.js} +4 -4
- package/dist/{LanguageSelector-CzIV_gnd.js → LanguageSelector-uOmIj9mJ.js} +1 -1
- package/dist/{Loader-YZrWGaNy.js → Loader-DhgIcSY1.js} +2 -3
- package/dist/Logo-dRWwDqj-.js +37 -0
- package/dist/{Menu-Cd-XlUmJ.js → Menu-9u6BoWRL.js} +1 -1
- package/dist/{MenuItem-COZ-C9K2.js → MenuItem-CXxL099U.js} +3 -3
- package/dist/{ModalLoader-D17lZhS7.js → ModalLoader-DHOpJqE3.js} +1 -3
- package/dist/{NotificationList-C2OCJkY5.js → NotificationList-B48jz206.js} +5 -8
- package/dist/{Pagination-QfVqvSbE.js → Pagination-Ch75clod.js} +3 -3
- package/dist/{Radio-Ca2-2PPF.js → Radio-CmejVeSJ.js} +2 -3
- package/dist/{Response-m-8zeYeD.js → Response-CgE3B1JS.js} +5 -5
- package/dist/{SearchResult-DbhHiNmy.js → SearchResult-vA2t-ZGx.js} +4 -4
- package/dist/{Segmented-pa7MGnor.js → Segmented-BoROz9LW.js} +3 -2
- package/dist/{SiteMenuButton-BwyPO-2_.js → SiteMenuButton-CFPtqh_i.js} +2 -2
- package/dist/{Swiper-CL9zCKXE.js → Swiper-CP2ph4S3.js} +20 -5
- package/dist/{SwitchField-nmu255b8.js → SwitchField-Cj0B7JdE.js} +3 -3
- package/dist/{TabGroup-CK6ndAuh.js → TabGroup-C4CbZgr7.js} +5 -5
- package/dist/{Text-CxrzHFN1.js → Text-Dn0X1zxN.js} +1 -2
- package/dist/{Textarea-Cie6SPyp.js → Textarea-D3XSuMEm.js} +1 -1
- package/dist/{Tile-qiXVUf-t.js → Tile-B2HwgBDH.js} +3 -3
- package/dist/{Title-BhJcCgdK.js → Title-BAdU2oW_.js} +1 -1
- package/dist/{Tooltip-CpEQOh9v.js → Tooltip-D46EmkZq.js} +4 -4
- package/dist/cjs/{Accordion-rCFDAon3.js → Accordion-OI5oLjJY.js} +2 -2
- package/dist/cjs/{Avatar-Bj5BiStx.js → Avatar-BBAt1cKM.js} +2 -2
- package/dist/cjs/{Badge-D7W3B9G5.js → Badge-Cn73E3GI.js} +2 -3
- package/dist/cjs/{Breadcrumbs-xj-c6cUH.js → Breadcrumbs-DLTpOh1T.js} +2 -2
- package/dist/cjs/{Button-DfUQ11Hs.js → Button-C-K_KVjd.js} +6 -6
- package/dist/cjs/{Card--te6xVsm.js → Card-D9Eh3qLN.js} +1 -1
- package/dist/cjs/{Cell-DEBk3Rbp.js → Cell-DpzvSs16.js} +3 -3
- package/dist/cjs/{Checkbox-BIvndDsy.js → Checkbox-BE9LWRTC.js} +1 -1
- package/dist/cjs/{Chips-i7zrI9aU.js → Chips-cdORW7eM.js} +15 -13
- package/dist/cjs/{Choice-Cm_1ke3H.js → Choice-nMRlWkpF.js} +11 -14
- package/dist/cjs/{Code-ByEr4h2R.js → Code-BJFoJBYh.js} +0 -1
- package/dist/cjs/{ContextMenuItem-D6dUiYw7.js → ContextMenuItem-D2wjhhzg.js} +2 -2
- package/dist/cjs/{CookiesWarning-BfkNifW2.js → CookiesWarning--Edz7Gcv.js} +3 -3
- package/dist/cjs/{DatePicker-e4-8mC1N.js → DatePicker-vgeb1SWe.js} +5 -5
- package/dist/cjs/{Drawer-BGZBaR2Q.js → Drawer-AQqI18ra.js} +3 -3
- package/dist/cjs/{DropdownItem-BhpFr7Z0.js → DropdownItem-CCuDjUjH.js} +1 -1
- package/dist/cjs/{Group-C9BxTKs-.js → Group-CtseVj34.js} +1 -2
- package/dist/cjs/HTMLContent-4vI2pdQC.js +91 -0
- package/dist/cjs/{Icon-2rv_L0yY.js → Icon-BUwWk_dS.js} +1 -1
- package/dist/cjs/{InputPassword-BXCwerW2.js → InputPassword-BqbSnWDE.js} +2 -4
- package/dist/cjs/{Label-EFoxH21m.js → Label-Bc4u2NRI.js} +3 -3
- package/dist/cjs/{LanguageSelector-CFKki1Sr.js → LanguageSelector-BswZL8dZ.js} +1 -1
- package/dist/cjs/{Loader-2vQxF_aO.js → Loader-2CPNhu-4.js} +2 -3
- package/dist/cjs/Logo-BjDQjs3w.js +44 -0
- package/dist/cjs/{Menu-rXCCn52A.js → Menu-Bn0hqLr-.js} +1 -1
- package/dist/cjs/{MenuItem-C__OMtEI.js → MenuItem-C-0vQBaj.js} +2 -2
- package/dist/cjs/{ModalLoader-Cddzca-W.js → ModalLoader-DJWtjEvf.js} +1 -3
- package/dist/cjs/{NotificationList-CKd0PxLU.js → NotificationList-D7rD4PAW.js} +5 -8
- package/dist/cjs/{Pagination-D6thfJMP.js → Pagination-XAVYtca1.js} +3 -3
- package/dist/cjs/{Radio-Cvbuwkx3.js → Radio-BH3uHZDb.js} +2 -3
- package/dist/cjs/{Response-CwdUpO-8.js → Response-BmR09awR.js} +5 -5
- package/dist/cjs/{SearchResult-BnIZD8lL.js → SearchResult-gHEwq0ay.js} +3 -3
- package/dist/cjs/{Segmented-BHblcvck.js → Segmented-BtzSR0xB.js} +3 -2
- package/dist/cjs/{SiteMenuButton-B2wBLVOJ.js → SiteMenuButton-B6QISdea.js} +2 -2
- package/dist/cjs/{Swiper-DrXdHybn.js → Swiper--idB5Ci6.js} +20 -5
- package/dist/cjs/{SwitchField-B0N-28Ne.js → SwitchField-CCHC2ZHS.js} +3 -3
- package/dist/cjs/{TabGroup-BCw7IKuz.js → TabGroup-CYaefMap.js} +4 -4
- package/dist/cjs/{Text-C8vlKWNN.js → Text-D2YDVhGJ.js} +1 -2
- package/dist/cjs/{Textarea-WIGhhrgu.js → Textarea-tng0D_n7.js} +1 -1
- package/dist/cjs/{Tile-2VY0LzsE.js → Tile-By9iqne7.js} +3 -3
- package/dist/cjs/{Title-DZn77tSl.js → Title-BzopkHQY.js} +1 -1
- package/dist/cjs/{Tooltip-DRsL77n1.js → Tooltip-VrKQ8W1G.js} +3 -3
- package/dist/cjs/components/Accordion.js +5 -5
- package/dist/cjs/components/Avatar.js +5 -5
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +5 -5
- package/dist/cjs/components/Button/Button.interface.d.ts +1 -0
- package/dist/cjs/components/Button.js +6 -6
- package/dist/cjs/components/Card.js +2 -2
- package/dist/cjs/components/Cell.js +6 -6
- package/dist/cjs/components/Checkbox/Checkbox.interface.d.ts +3 -3
- package/dist/cjs/components/Checkbox.js +2 -2
- package/dist/cjs/components/Chips/Chips.d.ts +3 -8
- package/dist/cjs/components/Chips/Chips.interface.d.ts +12 -13
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice/Choice.d.ts +3 -3
- package/dist/cjs/components/Choice/Choice.interface.d.ts +14 -14
- package/dist/cjs/components/Choice.js +6 -5
- package/dist/cjs/components/Code/Code.d.ts +0 -1
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/ContextMenu.js +5 -5
- package/dist/cjs/components/CookiesWarning.js +8 -8
- package/dist/cjs/components/DatePicker.js +9 -9
- package/dist/cjs/components/Drawer/Drawer.d.ts +2 -2
- package/dist/cjs/components/Drawer/Drawer.interface.d.ts +6 -6
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/FormField.js +9 -9
- package/dist/cjs/components/Group/Group.interface.d.ts +3 -3
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/HTMLContent/HTMLContent.d.ts +3 -0
- package/dist/cjs/components/HTMLContent/HTMLContent.interface.d.ts +30 -0
- package/dist/cjs/components/HTMLContent/index.d.ts +1 -0
- package/dist/cjs/components/HTMLContent.js +21 -0
- package/dist/cjs/components/Icon.js +4 -4
- package/dist/cjs/components/Input/Input.interface.d.ts +4 -4
- package/dist/cjs/components/InputMask.js +1 -1
- package/dist/cjs/components/InputPassword.js +5 -5
- package/dist/cjs/components/Label.js +4 -4
- package/dist/cjs/components/LanguageSelector.js +5 -5
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/Logo/Logo.d.ts +3 -2
- package/dist/cjs/components/Logo/Logo.interface.d.ts +16 -2
- package/dist/cjs/components/Logo/index.d.ts +1 -1
- package/dist/cjs/components/Logo.js +4 -3
- package/dist/cjs/components/Menu.js +3 -3
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/Notification.js +3 -3
- package/dist/cjs/components/Pagination.js +6 -6
- package/dist/cjs/components/Panel/Panel.interface.d.ts +3 -3
- package/dist/cjs/components/Panel.js +4 -4
- package/dist/cjs/components/Radio.js +2 -2
- package/dist/cjs/components/Response.js +8 -8
- package/dist/cjs/components/SVGContent/SVGContent.d.ts +3 -0
- package/dist/cjs/components/SVGContent/SVGContent.interface.d.ts +11 -0
- package/dist/cjs/components/SVGContent/index.d.ts +1 -0
- package/dist/cjs/components/SVGContent.js +37 -0
- package/dist/cjs/components/Search.js +5 -5
- package/dist/cjs/components/Segmented.js +2 -2
- package/dist/cjs/components/Select.js +223 -836
- package/dist/cjs/components/SiteMenu.js +5 -5
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Tab/Tab.d.ts +3 -3
- package/dist/cjs/components/Tab/Tab.interface.d.ts +20 -21
- package/dist/cjs/components/Tab/TabGroup.d.ts +2 -2
- package/dist/cjs/components/Tab.js +3 -3
- package/dist/cjs/components/Text/Text.d.ts +3 -3
- package/dist/cjs/components/Text/Text.interface.d.ts +27 -28
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Textarea.js +1 -1
- package/dist/cjs/components/Tile.js +4 -4
- package/dist/cjs/components/Title/Title.interface.d.ts +3 -3
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +3 -3
- package/dist/cjs/components/index.d.ts +2 -1
- package/dist/cjs/components.js +45 -42
- package/dist/cjs/{floating-ui.dom-D1St6qnn.js → floating-ui.dom-ma2MDAMT.js} +4 -5
- package/dist/cjs/types/componentProps/appearanceKeys.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/textColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/textColorActive.d.ts +2 -1
- package/dist/components/Accordion.js +5 -5
- package/dist/components/Avatar.js +5 -5
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +5 -5
- package/dist/components/Button/Button.interface.d.ts +1 -0
- package/dist/components/Button.js +6 -6
- package/dist/components/Card.js +2 -2
- package/dist/components/Cell.js +6 -6
- package/dist/components/Checkbox/Checkbox.interface.d.ts +3 -3
- package/dist/components/Checkbox.js +2 -2
- package/dist/components/Chips/Chips.d.ts +3 -8
- package/dist/components/Chips/Chips.interface.d.ts +12 -13
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice/Choice.d.ts +3 -3
- package/dist/components/Choice/Choice.interface.d.ts +14 -14
- package/dist/components/Choice.js +6 -5
- package/dist/components/Code/Code.d.ts +0 -1
- package/dist/components/Code.js +1 -1
- package/dist/components/ContextMenu.js +5 -5
- package/dist/components/CookiesWarning.js +8 -8
- package/dist/components/DatePicker.js +9 -9
- package/dist/components/Drawer/Drawer.d.ts +2 -2
- package/dist/components/Drawer/Drawer.interface.d.ts +6 -6
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/FormField.js +9 -9
- package/dist/components/Group/Group.interface.d.ts +3 -3
- package/dist/components/Group.js +1 -1
- package/dist/components/HTMLContent/HTMLContent.d.ts +3 -0
- package/dist/components/HTMLContent/HTMLContent.interface.d.ts +30 -0
- package/dist/components/HTMLContent/index.d.ts +1 -0
- package/dist/components/HTMLContent.js +15 -0
- package/dist/components/Icon.js +4 -4
- package/dist/components/Input/Input.interface.d.ts +4 -4
- package/dist/components/InputMask.js +1 -1
- package/dist/components/InputPassword.js +5 -5
- package/dist/components/Label.js +4 -4
- package/dist/components/LanguageSelector.js +5 -5
- package/dist/components/Loader.js +2 -2
- package/dist/components/Logo/Logo.d.ts +3 -2
- package/dist/components/Logo/Logo.interface.d.ts +16 -2
- package/dist/components/Logo/index.d.ts +1 -1
- package/dist/components/Logo.js +3 -3
- package/dist/components/Menu.js +3 -3
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal.js +3 -3
- package/dist/components/Notification.js +3 -3
- package/dist/components/Pagination.js +6 -6
- package/dist/components/Panel/Panel.interface.d.ts +3 -3
- package/dist/components/Panel.js +4 -4
- package/dist/components/Radio.js +2 -2
- package/dist/components/Response.js +8 -8
- package/dist/components/SVGContent/SVGContent.d.ts +3 -0
- package/dist/components/SVGContent/SVGContent.interface.d.ts +11 -0
- package/dist/components/SVGContent/index.d.ts +1 -0
- package/dist/components/SVGContent.js +31 -0
- package/dist/components/Search.js +5 -5
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Select.js +223 -836
- package/dist/components/SiteMenu.js +5 -5
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Tab/Tab.d.ts +3 -3
- package/dist/components/Tab/Tab.interface.d.ts +20 -21
- package/dist/components/Tab/TabGroup.d.ts +2 -2
- package/dist/components/Tab.js +3 -3
- package/dist/components/Text/Text.d.ts +3 -3
- package/dist/components/Text/Text.interface.d.ts +27 -28
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.js +1 -1
- package/dist/components/Tile.js +4 -4
- package/dist/components/Title/Title.interface.d.ts +3 -3
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/index.d.ts +2 -1
- package/dist/components.js +43 -42
- package/dist/css/components/Accordion/Accordion.css +11 -87
- package/dist/css/components/Avatar/Avatar.css +7 -102
- package/dist/css/components/Badge/Badge.css +8 -66
- package/dist/css/components/Button/Button.css +16 -335
- package/dist/css/components/Caption/Caption.css +4 -22
- package/dist/css/components/Card/Card.css +3 -18
- package/dist/css/components/Cell/Cell.css +13 -119
- package/dist/css/components/Checkbox/Checkbox.css +5 -95
- package/dist/css/components/Chips/Chips.css +5 -59
- package/dist/css/components/Choice/Choice.css +6 -84
- package/dist/css/components/Choice/css/__item/choice__item.css +2 -0
- package/dist/css/components/Code/Code.css +6 -34
- package/dist/css/components/ContextMenu/ContextMenu.css +5 -36
- package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +2 -0
- package/dist/css/components/CookiesWarning/CookiesWarning.css +2 -36
- package/dist/css/components/DadataHintField/DadataHintField.css +6 -36
- package/dist/css/components/DatePicker/DatePicker.css +8 -1175
- package/dist/css/components/Divider/Divider.css +6 -48
- package/dist/css/components/Dot/Dot.css +5 -25
- package/dist/css/components/Drawer/Drawer.css +4 -52
- package/dist/css/components/Dropdown/Dropdown.css +13 -129
- package/dist/css/components/Flex/Flex.css +17 -178
- package/dist/css/components/Flex/css/__item/flex__item.css +2 -0
- package/dist/css/components/Flex/css/__item/flex__item_align.css +2 -0
- package/dist/css/components/Flex/css/__item/flex__item_direction.css +2 -0
- package/dist/css/components/Flex/css/__item/flex__item_grow.css +2 -0
- package/dist/css/components/Flex/css/__item/flex__item_justify-content.css +2 -0
- package/dist/css/components/Flex/css/__item/flex__item_shape.css +2 -0
- package/dist/css/components/Flex/css/__item/flex__item_wrap.css +2 -0
- package/dist/css/components/Grid/Grid.css +22 -218
- package/dist/css/components/Grid/css/__item/grid__item.css +2 -0
- package/dist/css/components/Grid/css/__item/grid__item_align-self.css +2 -0
- package/dist/css/components/Grid/css/__item/grid__item_column.css +2 -0
- package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +2 -0
- package/dist/css/components/Grid/css/__item/grid__item_row.css +2 -0
- package/dist/css/components/Grid/css/__row/grid__row.css +2 -0
- package/dist/css/components/Group/Group.css +9 -94
- package/dist/css/components/HTMLContent/HTMLContent.css +7 -0
- package/dist/css/components/Icon/Icon.css +12 -123
- package/dist/css/components/Image/Image.css +9 -132
- package/dist/css/components/Input/Input.css +6 -85
- package/dist/css/components/InputMask/Input.css +6 -77
- package/dist/css/components/InputPassword/InputPassword.css +5 -68
- package/dist/css/components/Label/Label.css +8 -83
- package/dist/css/components/Link/Link.css +5 -32
- package/dist/css/components/List/List.css +9 -112
- package/dist/css/components/Loader/Loader.css +4 -44
- package/dist/css/components/Logo/Logo.css +7 -55
- package/dist/css/components/Menu/Menu.css +6 -56
- package/dist/css/components/MenuItem/MenuItem.css +9 -81
- package/dist/css/components/Modal/Modal.css +5 -39
- package/dist/css/components/Notification/Notification.css +11 -143
- package/dist/css/components/Notification/css/__item/notification__item_set_float.css +2 -0
- package/dist/css/components/Notification/css/__item/notification__item_set_form.css +2 -0
- package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +2 -0
- package/dist/css/components/Notification/css/__item/notification__item_set_top.css +2 -0
- package/dist/css/components/Notification/css/__item/notification__item_status.css +2 -0
- package/dist/css/components/Notification/css/__item/notification__item_type_close-button.css +2 -0
- package/dist/css/components/Overlay/Overlay.css +5 -43
- package/dist/css/components/Page/Page.css +3 -8
- package/dist/css/components/Pagination/Pagination.css +8 -107
- package/dist/css/components/Pagination/css/__item/pagination__item.css +2 -0
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +2 -0
- package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +2 -0
- package/dist/css/components/Panel/Panel.css +10 -107
- package/dist/css/components/Radio/Radio.css +6 -113
- package/dist/css/components/RangeSlider/RangeSlider.css +15 -417
- package/dist/css/components/Response/Response.css +4 -29
- package/dist/css/components/SVGContent/SVGContent.css +3 -0
- package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +2 -30
- package/dist/css/components/Scrollbar/Scrollbar.css +3 -58
- package/dist/css/components/Search/Search.css +10 -114
- package/dist/css/components/Search/css/search-input/search-input.css +2 -0
- package/dist/css/components/Search/css/search-input/search-input_shape.css +2 -0
- package/dist/css/components/Search/css/search-input/search-input_size.css +2 -0
- package/dist/css/components/Search/css/search-result/search-result.css +2 -0
- package/dist/css/components/Search/css/search-result/search-result_shape.css +2 -0
- package/dist/css/components/Segmented/Segmented.css +6 -117
- package/dist/css/components/Select/Select.css +22 -373
- package/dist/css/components/Select/css/__control/select__control.css +2 -0
- package/dist/css/components/Select/css/__control/select__control_fill.css +2 -0
- package/dist/css/components/Select/css/__control/select__control_shape.css +2 -0
- package/dist/css/components/Select/css/__indicators/select__indicators.css +2 -0
- package/dist/css/components/Select/css/__input-container/select__input-container.css +2 -0
- package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +2 -0
- package/dist/css/components/Select/css/__menu/select__menu-notice.css +2 -0
- package/dist/css/components/Select/css/__menu/select__menu.css +2 -0
- package/dist/css/components/Select/css/__multi-value/select__multi-value.css +2 -0
- package/dist/css/components/Select/css/__option/select__option.css +2 -0
- package/dist/css/components/Select/css/__placeholder/select__placeholder.css +2 -0
- package/dist/css/components/Select/css/__single-value/select__single-value.css +2 -0
- package/dist/css/components/Select/css/__value-container/select__value-container.css +2 -0
- package/dist/css/components/SiteMenu/SiteMenu.css +3 -37
- package/dist/css/components/Swiper/Swiper.css +7 -973
- package/dist/css/components/Swiper/css/__item/swiper-block__item.css +2 -0
- package/dist/css/components/Switch/Switch.css +5 -68
- package/dist/css/components/Tab/Tab.css +9 -69
- package/dist/css/components/Text/Text.css +6 -57
- package/dist/css/components/Textarea/Textarea.css +5 -40
- package/dist/css/components/Tile/Tile.css +6 -47
- package/dist/css/components/Title/Title.css +7 -59
- package/dist/css/components/Tooltip/Tooltip.css +9 -121
- package/dist/css/components/Video/Video.css +7 -37
- package/dist/css/components/Wrapper/Wrapper.css +4 -35
- package/dist/css/styles/align/align.css +2 -0
- package/dist/css/styles/align/align_horizontal-reverse.css +2 -0
- package/dist/css/styles/align/align_horizontal.css +2 -0
- package/dist/css/styles/align/align_vertical-reverse.css +2 -0
- package/dist/css/styles/align/align_vertical.css +2 -0
- package/dist/css/styles/alignment/alignment.css +2 -0
- package/dist/css/styles/border-color/border-color.css +2 -0
- package/dist/css/styles/border-color/border-color_focus.css +2 -0
- package/dist/css/styles/border-color/border-color_hover.css +2 -0
- package/dist/css/styles/border-type/border-type.css +2 -0
- package/dist/css/styles/border-width/border-width.css +2 -0
- package/dist/css/styles/caret-color/caret-color.css +2 -0
- package/dist/css/styles/column-gap/column-gap.css +2 -0
- package/dist/css/styles/constraints/constraints.css +2 -0
- package/dist/css/styles/cursor/cursor.css +2 -0
- package/dist/css/styles/direction/direction.css +2 -0
- package/dist/css/styles/elevation/elevation.css +2 -0
- package/dist/css/styles/elevation/elevation_hover.css +2 -0
- package/dist/css/styles/fill/fill.css +2 -0
- package/dist/css/styles/fill/fill_active.css +2 -0
- package/dist/css/styles/fill/fill_active_hover.css +2 -0
- package/dist/css/styles/fill/fill_disabled.css +2 -0
- package/dist/css/styles/fill/fill_hover.css +2 -0
- package/dist/css/styles/fill-gradient/fill-gradient.css +2 -0
- package/dist/css/styles/flex/flex-grow.css +2 -0
- package/dist/css/styles/gap/gap.css +2 -0
- package/dist/css/styles/height/height.css +2 -0
- package/dist/css/styles/hover/hover-fill-color.css +2 -0
- package/dist/css/styles/hover/hover-item-color.css +2 -0
- package/dist/css/styles/hover/hover-text-color.css +2 -0
- package/dist/css/styles/justify-content/justify-content.css +2 -0
- package/dist/css/styles/mediaqueries.css +2 -24
- package/dist/css/styles/mixin_elevation.css +2 -0
- package/dist/css/styles/mixin_fill-gradient.css +2 -0
- package/dist/css/styles/mixin_global.css +2 -0
- package/dist/css/styles/opacity/opacity.css +2 -0
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +2 -0
- package/dist/css/styles/position/position.css +2 -0
- package/dist/css/styles/resize-horizontal/resize-horizontal.css +2 -0
- package/dist/css/styles/resize-vertical/resize-vertical.css +2 -0
- package/dist/css/styles/row-gap/row-gap.css +2 -0
- package/dist/css/styles/shape/shape.css +2 -0
- package/dist/css/styles/svg-color/svg_fill.css +2 -1
- package/dist/css/styles/svg-color/svg_fill_hover.css +2 -0
- package/dist/css/styles/text-align/text-align.css +2 -0
- package/dist/css/styles/text-color/text-color.css +2 -0
- package/dist/css/styles/text-color/text-color_active.css +2 -0
- package/dist/css/styles/text-color/text-color_hover.css +2 -0
- package/dist/css/styles/text-decoration/text-decoration.css +2 -0
- package/dist/css/styles/text-gradient/text-gradient.css +2 -0
- package/dist/css/styles/text-style/text-style.css +2 -0
- package/dist/css/styles/text-truncate/text-truncate.css +2 -0
- package/dist/css/styles/text-weight/text-weight.css +2 -0
- package/dist/css/styles/width/width.css +2 -0
- package/dist/css/styles/word-wrap/word-wrap.css +2 -0
- package/dist/{floating-ui.dom-_PBQLJcF.js → floating-ui.dom-BV5qw-HP.js} +4 -5
- package/dist/types/componentProps/appearanceKeys.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/textColor.d.ts +1 -1
- package/dist/types/componentProps/textColorActive.d.ts +2 -1
- package/package.json +14 -29
- package/dist/Logo-D4NFjeqd.js +0 -30
- package/dist/cjs/Logo-CcEF4P2z.js +0 -36
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
-
import React__default
|
|
2
|
+
import React__default 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
6
|
import { L as Link } from './Link-Co6uspFK.js';
|
|
7
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
8
8
|
|
|
9
9
|
var menuItemConfig = {
|
|
10
10
|
appearance: undefined,
|
|
@@ -68,7 +68,7 @@ function MenuItem(props) {
|
|
|
68
68
|
});
|
|
69
69
|
// @ts-expect-error
|
|
70
70
|
var menuItem = useStyles(props).styles;
|
|
71
|
-
var appearanceConfig =
|
|
71
|
+
var appearanceConfig = appearance && menuItemConfig.appearance && menuItemConfig.appearance[appearance];
|
|
72
72
|
return (jsxRuntimeExports.jsx("div", { className: clsx('menu-item', isActive && 'menu-item_state_active', isHover && 'menu-item_state_hover', directionClass, className, sizeClass, fillClass ||
|
|
73
73
|
(appearance && "fill_".concat(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass, fillActiveClass, fillActiveHoverClass, fillDisabledClass, shapeClass, typeClass, widthClass, set && "menu-item_set_".concat(set), justifyContentClass), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxRuntimeExports.jsx(Link, { className: clsx('menu-item__label', alignDirectionClass, alignClass), fill: linkFill, href: link || href, rel: rel, target: target, underline: underline, children: jsxRuntimeExports.jsxs(React__default.Fragment, { children: [before, children || (jsxRuntimeExports.jsxs(React__default.Fragment, { children: [label && (jsxRuntimeExports.jsx(Text, { className: "menu-item__label", size: textSize, textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), textColorActive: isActive && (textColorActive || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColorActive)), textColorHover: textColorHover || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColorHover), textColorGradient: textGradient, textStyle: textStyle, textWeight: textWeight, textWrap: textWrap, children: label })), desc && (jsxRuntimeExports.jsx(Text, { className: "menu-item__desc", size: descTextSize, textColor: descTextColor, textColorHover: descTextColorHover, textColorGradient: descTextGradient, textStyle: descTextStyle, textWeight: descTextWeight, textWrap: descTextWrap, children: desc }))] })), after] }) }) }));
|
|
74
74
|
}
|
|
@@ -5,7 +5,7 @@ import ReactDOM__default from 'react-dom';
|
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from './hooks/useStyles.js';
|
|
7
7
|
import { O as Overlay } from './Overlay-C4gCb0sL.js';
|
|
8
|
-
import { L as Loader } from './Loader-
|
|
8
|
+
import { L as Loader } from './Loader-DhgIcSY1.js';
|
|
9
9
|
|
|
10
10
|
var getOrCreateModalElement = function (modalQuerySelector, className) {
|
|
11
11
|
var _a;
|
|
@@ -63,8 +63,6 @@ var Modal = React__default.forwardRef(function Modal(props, ref) {
|
|
|
63
63
|
// Show modal with children content
|
|
64
64
|
var openModal = useCallback(function () {
|
|
65
65
|
setIsOpen(true);
|
|
66
|
-
console.warn('======== openModal ========');
|
|
67
|
-
console.log('onOpenModal ', onOpenModal);
|
|
68
66
|
// Callback
|
|
69
67
|
if (typeof onOpenModal === 'function') {
|
|
70
68
|
onOpenModal();
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useNotifications, useNotificationsAPI } from './context/Notifications.js';
|
|
4
|
-
import { useMemo } from 'react';
|
|
5
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { T as Text } from './Text-
|
|
7
|
-
import { T as Title } from './Title-
|
|
5
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
6
|
+
import { T as Title } from './Title-BAdU2oW_.js';
|
|
8
7
|
|
|
9
8
|
var notificationItemConfig = {
|
|
10
9
|
appearance: {},
|
|
@@ -18,11 +17,9 @@ function NotificationItem(props) {
|
|
|
18
17
|
prefix: 'fill_',
|
|
19
18
|
propsKey: 'fill',
|
|
20
19
|
});
|
|
21
|
-
var appearanceConfig =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
notificationItemConfig.appearance[appearance];
|
|
25
|
-
}, [appearance, notificationItemConfig]);
|
|
20
|
+
var appearanceConfig = appearance &&
|
|
21
|
+
notificationItemConfig.appearance &&
|
|
22
|
+
notificationItemConfig.appearance[appearance];
|
|
26
23
|
return (jsxRuntimeExports.jsxs("div", { className: clsx('notification__item', status && "notification__item_status_".concat(status), set && "notification__item_set_".concat(set), size && "notification__item_set_".concat(size), closeButton && 'notification__item_type_close-button', fillClass ||
|
|
27
24
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
28
25
|
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase())), "data-tour": dataTour, children: [before, jsxRuntimeExports.jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsxRuntimeExports.jsx(Title, { className: "notification__item-title", size: titleTextSize, textColor: titleTextColor ||
|
|
@@ -4,9 +4,9 @@ import clsx from 'clsx';
|
|
|
4
4
|
import ceil from 'lodash/ceil';
|
|
5
5
|
import ReactPaginate from 'react-paginate';
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
|
-
import { D as Dropdown, a as DropdownItem } from './DropdownItem-
|
|
8
|
-
import { I as Icon } from './Icon-
|
|
9
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { D as Dropdown, a as DropdownItem } from './DropdownItem-DB5nPIdl.js';
|
|
8
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
9
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
10
10
|
|
|
11
11
|
function Pagination(props) {
|
|
12
12
|
var allItemsCount = props.allItemsCount, className = props.className, marginPagesDisplayed = props.marginPagesDisplayed, nextLabel = props.nextLabel, _a = props.pageCountArray, pageCountArray = _a === void 0 ? [10, 20, 50, 100] : _a, pageCountDesc = props.pageCountDesc, pageCountDescTextColor = props.pageCountDescTextColor, pageCountDescTextSize = props.pageCountDescTextSize, pageCountDropdownAlignment = props.pageCountDropdownAlignment, pageCountDropdownElevation = props.pageCountDropdownElevation, pageCountDropdownFill = props.pageCountDropdownFill, pageCountDropdownItemDividerDirection = props.pageCountDropdownItemDividerDirection, pageCountDropdownItemDividerFill = props.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = props.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = props.pageCountDropdownItemFill, pageCountDropdownItemFillActive = props.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = props.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = props.pageCountDropdownItemFillHover, pageCountDropdownItemLabelColor = props.pageCountDropdownItemLabelColor, pageCountDropdownItemLabelColorActive = props.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelSize = props.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = props.pageCountDropdownItemLabelWrap, pageCountDropdownItemSize = props.pageCountDropdownItemSize, pageCountDropdownItemLabelAlign = props.pageCountDropdownItemLabelAlign, pageCountDropdownItemWidth = props.pageCountDropdownItemWidth, pageCountDropdownItemShowDivider = props.pageCountDropdownItemShowDivider, pageCountDropdownSet = props.pageCountDropdownSet, pageCountDropdownShape = props.pageCountDropdownShape, pageCountInputIcon = props.pageCountInputIcon, pageCountInputIconColor = props.pageCountInputIconColor, pageCountInputIconFillSize = props.pageCountInputIconFillSize, pageCountInputTextColor = props.pageCountInputTextColor, pageCountInputTextSize = props.pageCountInputTextSize, pageNumber = props.pageNumber, pageRangeDisplayed = props.pageRangeDisplayed, _b = props.perPageCount, perPageCount = _b === void 0 ? 0 : _b, previousLabel = props.previousLabel, isPageCount = props.isPageCount, isPageCountDropdownReversed = props.isPageCountDropdownReversed, onPageChange = props.onPageChange, onPerPageCountChange = props.onPerPageCountChange;
|
|
@@ -1,8 +1,7 @@
|
|
|
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
|
-
import { T as Text } from './Text-
|
|
4
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
6
5
|
|
|
7
6
|
var radioConfig = {
|
|
8
7
|
state: undefined,
|
|
@@ -56,7 +55,7 @@ function Radio(props) {
|
|
|
56
55
|
prefix: 'border-color_',
|
|
57
56
|
propsKey: checked ? 'stateBorderColorDisabledChecked' : 'stateBorderColorDisabled',
|
|
58
57
|
});
|
|
59
|
-
var appearanceConfig =
|
|
58
|
+
var appearanceConfig = appearance && radioConfig.appearance && radioConfig.appearance[appearance];
|
|
60
59
|
return (jsxRuntimeExports.jsxs(Tag, { className: clsx(className, 'radio', fillClass, shapeClass), htmlFor: id, children: [jsxRuntimeExports.jsxs("div", { className: clsx('radio__item', stateCheckmarkFillClass ||
|
|
61
60
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.stateCheckmarkFill) &&
|
|
62
61
|
"radio_checkmark_fill_".concat(appearanceConfig.stateCheckmarkFill)
|
|
@@ -4,10 +4,10 @@ import clsx from 'clsx';
|
|
|
4
4
|
import SVG from 'react-inlinesvg';
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from './hooks/useStyles.js';
|
|
7
|
-
import { B as Button } from './Button-
|
|
8
|
-
import { G as Group } from './Group-
|
|
9
|
-
import { T as Text } from './Text-
|
|
10
|
-
import { T as Title } from './Title-
|
|
7
|
+
import { B as Button } from './Button-DxZUKQ8I.js';
|
|
8
|
+
import { G as Group } from './Group-DuHn_z2p.js';
|
|
9
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
10
|
+
import { T as Title } from './Title-BAdU2oW_.js';
|
|
11
11
|
|
|
12
12
|
var responseConfig = {
|
|
13
13
|
appearance: undefined,
|
|
@@ -57,7 +57,7 @@ function Response(props) {
|
|
|
57
57
|
});
|
|
58
58
|
// @ts-expect-error
|
|
59
59
|
var responseStyles = useStyles(props).styles;
|
|
60
|
-
var appearanceConfig =
|
|
60
|
+
var appearanceConfig = appearance && responseConfig.appearance && responseConfig.appearance[appearance];
|
|
61
61
|
return (jsxRuntimeExports.jsxs("div", { className: clsx(className, 'response', fillClass ||
|
|
62
62
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
63
63
|
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass ||
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
-
import React__default, { useCallback
|
|
2
|
+
import React__default, { useCallback } 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 { T as Text } from './Text-
|
|
6
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
7
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
8
8
|
import { S as Scrollbar } from './Scrollbar-DrRNpn12.js';
|
|
9
9
|
|
|
10
10
|
var searchInputConfig = {
|
|
@@ -79,7 +79,7 @@ var SearchInput = React__default.forwardRef(function SearchInput(props, ref) {
|
|
|
79
79
|
});
|
|
80
80
|
// @ts-expect-error
|
|
81
81
|
var searchInputStyles = useStyles(props).styles;
|
|
82
|
-
var appearanceConfig =
|
|
82
|
+
var appearanceConfig = appearance && searchInputConfig.appearance && searchInputConfig.appearance[appearance];
|
|
83
83
|
return (jsxRuntimeExports.jsxs("label", { className: clsx(className, 'search-input', shapeClass ||
|
|
84
84
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
|
|
85
85
|
"search_shape_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), fillClass ||
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import React__default, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
6
6
|
|
|
7
7
|
var segmentedConfig = {
|
|
8
8
|
appearance: undefined,
|
|
@@ -63,7 +63,8 @@ var Segmented = React__default.forwardRef(function (props, ref) {
|
|
|
63
63
|
prefix: 'fill_hover_',
|
|
64
64
|
propsKey: 'fillHover',
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
// prettier-ignore
|
|
67
|
+
var appearanceConfig = (appearance && segmentedConfig.appearance && segmentedConfig.appearance[appearance]);
|
|
67
68
|
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'segmented', shapeClass ||
|
|
68
69
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
|
|
69
70
|
"segmented_shape_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), fillClass ||
|
|
@@ -3,8 +3,8 @@ import { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useSiteMenuContext } from './context/UIContext.js';
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { I as Icon } from './Icon-
|
|
7
|
-
import { T as Text } from './Text-
|
|
6
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
7
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
8
8
|
|
|
9
9
|
function SiteMenu(props) {
|
|
10
10
|
var children = props.children, className = props.className, closeText = props.closeText, closeTextSize = props.closeTextSize, closeTextColor = props.closeTextColor, closeTextColorHover = props.closeTextColorHover, iconCloseBgFill = props.iconCloseBgFill, iconCloseFill = props.iconCloseFill, iconCloseSize = props.iconCloseSize, iconClose = props.iconClose, onClose = props.onClose;
|
|
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useState, useRef, useEffect, useLayoutEffec
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
|
-
import { T as Title } from './Title-
|
|
6
|
+
import { T as Title } from './Title-BAdU2oW_.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* SSR Window 4.0.2
|
|
@@ -330,7 +330,22 @@ function elementChildren(element, selector) {
|
|
|
330
330
|
if (selector === void 0) {
|
|
331
331
|
selector = '';
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
const children = [...element.children];
|
|
334
|
+
if (element instanceof HTMLSlotElement) {
|
|
335
|
+
children.push(...element.assignedElements());
|
|
336
|
+
}
|
|
337
|
+
if (!selector) {
|
|
338
|
+
return children;
|
|
339
|
+
}
|
|
340
|
+
return children.filter(el => el.matches(selector));
|
|
341
|
+
}
|
|
342
|
+
function elementIsChildOf(el, parent) {
|
|
343
|
+
const isChild = parent.contains(el);
|
|
344
|
+
if (!isChild && parent instanceof HTMLSlotElement) {
|
|
345
|
+
const children = [...parent.assignedElements()];
|
|
346
|
+
return children.includes(el);
|
|
347
|
+
}
|
|
348
|
+
return isChild;
|
|
334
349
|
}
|
|
335
350
|
function showWarning(text) {
|
|
336
351
|
try {
|
|
@@ -2595,7 +2610,7 @@ function onTouchStart(event) {
|
|
|
2595
2610
|
}
|
|
2596
2611
|
let targetEl = e.target;
|
|
2597
2612
|
if (params.touchEventsTarget === 'wrapper') {
|
|
2598
|
-
if (!swiper.wrapperEl
|
|
2613
|
+
if (!elementIsChildOf(targetEl, swiper.wrapperEl)) return;
|
|
2599
2614
|
}
|
|
2600
2615
|
if ('which' in e && e.which === 3) return;
|
|
2601
2616
|
if ('button' in e && e.button > 0) return;
|
|
@@ -4664,7 +4679,7 @@ const updateOnVirtualData = swiper => {
|
|
|
4664
4679
|
};
|
|
4665
4680
|
|
|
4666
4681
|
/**
|
|
4667
|
-
* Swiper React 11.1.
|
|
4682
|
+
* Swiper React 11.1.8
|
|
4668
4683
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4669
4684
|
* https://swiperjs.com
|
|
4670
4685
|
*
|
|
@@ -4672,7 +4687,7 @@ const updateOnVirtualData = swiper => {
|
|
|
4672
4687
|
*
|
|
4673
4688
|
* Released under the MIT License
|
|
4674
4689
|
*
|
|
4675
|
-
* Released on: July
|
|
4690
|
+
* Released on: July 26, 2024
|
|
4676
4691
|
*/
|
|
4677
4692
|
|
|
4678
4693
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { _ as __assign } from './_tslib-S-VPg1Cw.js';
|
|
2
2
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
3
|
-
import { R as Radio } from './Radio-
|
|
3
|
+
import { R as Radio } from './Radio-CmejVeSJ.js';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { SelectInput } from './components/Select.js';
|
|
7
7
|
import { D as Divider } from './Divider-Dhj6sMWd.js';
|
|
8
|
-
import { T as Text } from './Text-
|
|
9
|
-
import { I as Icon } from './Icon-
|
|
8
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
9
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
10
10
|
import { useStyles } from './hooks/useStyles.js';
|
|
11
11
|
import { S as Switch } from './Switch-0BHqovLA.js';
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
-
import React__default
|
|
2
|
+
import React__default 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 { B as Badge } from './Badge-
|
|
6
|
+
import { B as Badge } from './Badge-DtYgQu3L.js';
|
|
7
7
|
import { D as Divider } from './Divider-Dhj6sMWd.js';
|
|
8
8
|
import { L as Link } from './Link-Co6uspFK.js';
|
|
9
|
-
import { T as Text } from './Text-
|
|
9
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
10
10
|
|
|
11
11
|
var tabConfig = {
|
|
12
12
|
appearance: undefined,
|
|
@@ -15,7 +15,7 @@ var tabConfig = {
|
|
|
15
15
|
},
|
|
16
16
|
};
|
|
17
17
|
function Tab(props) {
|
|
18
|
-
var
|
|
18
|
+
var _a = props.isActive, isActive = _a === void 0 ? false : _a, _b = props.isDisabled, isDisabled = _b === void 0 ? false : _b, _c = props.isHover, isHover = _c === void 0 ? false : _c, after = props.after, appearance = props.appearance, badgeAppearance = props.badgeAppearance, badgeSize = props.badgeSize, badgeTextColor = props.badgeTextColor, badgeTextSize = props.badgeTextSize, badgeValue = props.badgeValue, before = props.before, children = props.children, className = props.className, dataTour = props.dataTour, dividerDirection = props.dividerDirection, dividerFill = props.dividerFill, dividerFillActive = props.dividerFillActive, dividerFillActiveHover = props.dividerFillActiveHover, dividerFillDisabled = props.dividerFillDisabled, dividerFillHover = props.dividerFillHover, dividerSize = props.dividerSize, href = props.href, label = props.label, labelColor = props.labelColor, labelColorActive = props.labelColorActive, labelColorDisabled = props.labelColorDisabled, labelTextColorHover = props.labelTextColorHover, labelTextGradient = props.labelTextGradient, labelTextSize = props.labelTextSize, labelTextStyle = props.labelTextStyle, labelTextWeight = props.labelTextWeight, labelTextWrap = props.labelTextWrap, link = props.link, linkFill = props.linkFill, onClick = props.onClick, onMouseEnter = props.onMouseEnter, rel = props.rel, reset = props.reset, set = props.set, target = props.target;
|
|
19
19
|
var alignDirectionClass = useDeviceTargetClass(props, {
|
|
20
20
|
prefix: 'align_',
|
|
21
21
|
propsKey: 'alignDirection',
|
|
@@ -66,7 +66,7 @@ function Tab(props) {
|
|
|
66
66
|
});
|
|
67
67
|
// @ts-expect-error
|
|
68
68
|
var tab = useStyles(props).styles;
|
|
69
|
-
var appearanceConfig =
|
|
69
|
+
var appearanceConfig = appearance && tabConfig.appearance && tabConfig.appearance[appearance];
|
|
70
70
|
return (jsxRuntimeExports.jsx("div", { className: clsx('tab', isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', isHover && 'tab_state_hover', fillClass ||
|
|
71
71
|
(isDisabled
|
|
72
72
|
? fillDisabledClass ||
|
|
@@ -1,5 +1,4 @@
|
|
|
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 { useStyles } from './hooks/useStyles.js';
|
|
@@ -62,7 +61,7 @@ function Text(props) {
|
|
|
62
61
|
});
|
|
63
62
|
// @ts-expect-error
|
|
64
63
|
var textStyles = useStyles(props).styles;
|
|
65
|
-
var appearanceConfig =
|
|
64
|
+
var appearanceConfig = appearance && textConfig.appearance && textConfig.appearance[appearance];
|
|
66
65
|
return (jsxRuntimeExports.jsxs(Tag, { className: clsx(className, 'text', sizeClass ||
|
|
67
66
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.size) &&
|
|
68
67
|
"text_size_".concat(appearanceConfig.size).replace(/([A-Z])/g, '-$1').toLowerCase()), weightClass, textAlignClass, textColorClass ||
|
|
@@ -59,7 +59,7 @@ function Textarea(props) {
|
|
|
59
59
|
prefix: 'width_',
|
|
60
60
|
propsKey: 'width',
|
|
61
61
|
});
|
|
62
|
-
var appearanceConfig =
|
|
62
|
+
var appearanceConfig = appearance && textareaConfig.appearance && textareaConfig.appearance[appearance];
|
|
63
63
|
var stateConfig = useMemo(function () { return state && textareaConfig.state && textareaConfig.state[state]; }, [state, textareaConfig]);
|
|
64
64
|
return (jsxRuntimeExports.jsx("textarea", { className: clsx(className, 'textarea', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, fillClass, borderColorClass ||
|
|
65
65
|
((stateConfig === null || stateConfig === void 0 ? void 0 : stateConfig.borderColor) &&
|
|
@@ -2,9 +2,9 @@ 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 { useStyles } from './hooks/useStyles.js';
|
|
5
|
-
import { B as Badge } from './Badge-
|
|
6
|
-
import { T as Text } from './Text-
|
|
7
|
-
import { T as Title } from './Title-
|
|
5
|
+
import { B as Badge } from './Badge-DtYgQu3L.js';
|
|
6
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
|
+
import { T as Title } from './Title-BAdU2oW_.js';
|
|
8
8
|
|
|
9
9
|
function Tile(props) {
|
|
10
10
|
var children = props.children, after = props.after, badge = props.badge, badgeSize = props.badgeSize, badgeTextColor = props.badgeTextColor, badgeTextSize = props.badgeTextSize, before = props.before, className = props.className, direction = props.direction, reverse = props.reverse, size = props.size, text = props.text, textColor = props.textColor, textSize = props.textSize, textWrap = props.textWrap, title = props.title, titleTextAlign = props.titleTextAlign, titleTextColor = props.titleTextColor, titleTextSize = props.titleTextSize, titleTextWeight = props.titleTextWeight, titleTextWrap = props.titleTextWrap, type = props.type, onClick = props.onClick;
|
|
@@ -72,7 +72,7 @@ function Title(props) {
|
|
|
72
72
|
});
|
|
73
73
|
// @ts-expect-error
|
|
74
74
|
var _c = useStyles(props), titleStyles = _c.styles, titleWrapperStyles = _c.wrapper;
|
|
75
|
-
var appearanceConfig =
|
|
75
|
+
var appearanceConfig = appearance && titleConfig.appearance && titleConfig.appearance[appearance];
|
|
76
76
|
// Element type (h1, h2, ..., h6)
|
|
77
77
|
var Tag = useMemo(function () {
|
|
78
78
|
if (tag) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
-
import React__default, { useRef, useState, useCallback, useImperativeHandle
|
|
2
|
+
import React__default, { useRef, useState, useCallback, useImperativeHandle } 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 { T as Text } from './Text-
|
|
7
|
-
import { T as Title } from './Title-
|
|
6
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
|
+
import { T as Title } from './Title-BAdU2oW_.js';
|
|
8
8
|
|
|
9
9
|
var tooltipConfig = {
|
|
10
10
|
appearance: undefined,
|
|
@@ -96,7 +96,7 @@ var Tooltip = React__default.forwardRef(function Tooltip(props, ref) {
|
|
|
96
96
|
});
|
|
97
97
|
// @ts-expect-error
|
|
98
98
|
var tooltipStyles = useStyles(props).styles;
|
|
99
|
-
var appearanceConfig =
|
|
99
|
+
var appearanceConfig = appearance && tooltipConfig.appearance && tooltipConfig.appearance[appearance];
|
|
100
100
|
return (jsxRuntimeExports.jsxs("div", { className: clsx(className, 'tooltip', isTooltipVisible === true && 'tooltip_state_open', isTooltipVisible === false && 'tooltip_state_close', fillClass ||
|
|
101
101
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
102
102
|
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), shapeClass, alignDirectionClass, alignClass, alignmentClass, borderWidthClass, borderColorClass, borderTypeClass, elevationClass, sizeClass, arrowPosition && "tooltip_type_arrow tooltip_arrow_position_".concat(arrowPosition), type && "tooltip_type_".concat(type), set && "tooltip_set_".concat(set), widthClass), style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [before, jsxRuntimeExports.jsxs("div", { className: "tooltip__inner", children: [title && (jsxRuntimeExports.jsx(Title, { className: "tooltip__title", size: titleSize, textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), children: title })), text && (jsxRuntimeExports.jsx(Text, { className: "tooltip__text", size: textSize, textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), children: text })), children] }), after] }));
|
|
@@ -7,8 +7,8 @@ var clsx = require('clsx');
|
|
|
7
7
|
var castArray = require('lodash/castArray');
|
|
8
8
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
9
9
|
var useStyles = require('./hooks/useStyles.js');
|
|
10
|
-
var Icon = require('./Icon-
|
|
11
|
-
var Text = require('./Text-
|
|
10
|
+
var Icon = require('./Icon-BUwWk_dS.js');
|
|
11
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
|
|
@@ -4,9 +4,9 @@ var jsxRuntime = require('./jsx-runtime-BBxmckJR.js');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
7
|
-
var Icon = require('./Icon-
|
|
7
|
+
var Icon = require('./Icon-BUwWk_dS.js');
|
|
8
8
|
var Image = require('./Image-CCx6QWZj.js');
|
|
9
|
-
var Text = require('./Text-
|
|
9
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
12
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('./jsx-runtime-BBxmckJR.js');
|
|
4
|
-
var React = require('react');
|
|
5
4
|
var clsx = require('clsx');
|
|
6
5
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
7
6
|
var useStyles = require('./hooks/useStyles.js');
|
|
8
|
-
var Text = require('./Text-
|
|
7
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
9
8
|
|
|
10
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
10
|
|
|
@@ -58,7 +57,7 @@ function Badge(props) {
|
|
|
58
57
|
});
|
|
59
58
|
// @ts-expect-error
|
|
60
59
|
var badgeStyles = useStyles.useStyles(props).styles;
|
|
61
|
-
var appearanceConfig =
|
|
60
|
+
var appearanceConfig = appearance && badgeConfig.appearance && badgeConfig.appearance[appearance];
|
|
62
61
|
return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: clsx__default.default(className, 'badge', !value && 'badge_type_status', mode && "badge_mode_".concat(mode), borderColorClass, borderColorHoverClass, borderWidthClass, borderTypeClass, fillClass ||
|
|
63
62
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
64
63
|
((_a = "fill_".concat(appearanceConfig.fill)) === null || _a === void 0 ? void 0 : _a.replace(/([A-Z])/g, '-$1').toLowerCase())), fillHoverClass ||
|
|
@@ -7,9 +7,9 @@ var clsx = require('clsx');
|
|
|
7
7
|
var camelCase = require('lodash/camelCase');
|
|
8
8
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
9
9
|
var useStyles = require('./hooks/useStyles.js');
|
|
10
|
-
var Icon = require('./Icon-
|
|
10
|
+
var Icon = require('./Icon-BUwWk_dS.js');
|
|
11
11
|
var Link = require('./Link-B6Xq7PWn.js');
|
|
12
|
-
var Text = require('./Text-
|
|
12
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
15
|
|
|
@@ -5,10 +5,10 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
7
7
|
var useStyles = require('./hooks/useStyles.js');
|
|
8
|
-
var Icon = require('./Icon-
|
|
8
|
+
var Icon = require('./Icon-BUwWk_dS.js');
|
|
9
9
|
var Link = require('./Link-B6Xq7PWn.js');
|
|
10
|
-
var Loader = require('./Loader-
|
|
11
|
-
var Text = require('./Text-
|
|
10
|
+
var Loader = require('./Loader-2CPNhu-4.js');
|
|
11
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
|
|
@@ -22,7 +22,7 @@ var buttonConfig = {
|
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
var Button = React__default.default.forwardRef(function Button(props, ref) {
|
|
25
|
-
var before = props.before, appearance = props.appearance, after = props.after, className = props.className, dataTour = props.dataTour, dataTestId = props.dataTestId, Badge = props.Badge, children = props.children, fillIcon = props.fillIcon, fillIconAfter = props.fillIconAfter, fillIconBefore = props.fillIconBefore, iconAfter = props.iconAfter, iconAfterSize = props.iconAfterSize, iconBefore = props.iconBefore, iconBeforeSize = props.iconBeforeSize, label = props.label, labelTextColor = props.labelTextColor, labelTextColorHover = props.labelTextColorHover, labelTextSize = props.labelTextSize, labelTextWeight = props.labelTextWeight, labelTextWrap = props.labelTextWrap, _a = props.loaderSet, loaderSet = _a === void 0 ? 'simple' : _a, loaderFill = props.loaderFill, loaderItemFill = props.loaderItemFill, link = props.link, href = props.href, target = props.target, rel = props.rel; props.size; var icon = props.icon, iconShape = props.iconShape, iconAfterShape = props.iconAfterShape, iconBeforeShape = props.iconBeforeShape, iconSize = props.iconSize, iconFill = props.iconFill, iconFillSize = props.iconFillSize, iconBeforeFill = props.iconBeforeFill, iconBeforeFillSize = props.iconBeforeFillSize, iconAfterFill = props.iconAfterFill, iconAfterFillSize = props.iconAfterFillSize, iconAfterSrc = props.iconAfterSrc, iconBeforeSrc = props.iconBeforeSrc, iconSrc = props.iconSrc, set = props.set, _c = props.loading, loading = _c === void 0 ? false : _c, _d = props.htmlType, htmlType = _d === void 0 ? 'button' : _d; props.width; var isDisabled = props.isDisabled, onClick = props.onClick, onMouseDown = props.onMouseDown;
|
|
25
|
+
var before = props.before, appearance = props.appearance, after = props.after, className = props.className, dataTour = props.dataTour, dataTestId = props.dataTestId, Badge = props.Badge, children = props.children, fillIcon = props.fillIcon, fillIconAfter = props.fillIconAfter, fillIconBefore = props.fillIconBefore, iconAfter = props.iconAfter, iconAfterSize = props.iconAfterSize, iconBefore = props.iconBefore, iconBeforeSize = props.iconBeforeSize, label = props.label, labelTextColor = props.labelTextColor, labelTextColorHover = props.labelTextColorHover, labelTextSize = props.labelTextSize, labelTextSizeMobile = props.labelTextSizeMobile, labelTextWeight = props.labelTextWeight, labelTextWrap = props.labelTextWrap, _a = props.loaderSet, loaderSet = _a === void 0 ? 'simple' : _a, loaderFill = props.loaderFill, loaderItemFill = props.loaderItemFill, link = props.link, href = props.href, target = props.target, rel = props.rel; props.size; var icon = props.icon, iconShape = props.iconShape, iconAfterShape = props.iconAfterShape, iconBeforeShape = props.iconBeforeShape, iconSize = props.iconSize, iconFill = props.iconFill, iconFillSize = props.iconFillSize, iconBeforeFill = props.iconBeforeFill, iconBeforeFillSize = props.iconBeforeFillSize, iconAfterFill = props.iconAfterFill, iconAfterFillSize = props.iconAfterFillSize, iconAfterSrc = props.iconAfterSrc, iconBeforeSrc = props.iconBeforeSrc, iconSrc = props.iconSrc, set = props.set, _c = props.loading, loading = _c === void 0 ? false : _c, _d = props.htmlType, htmlType = _d === void 0 ? 'button' : _d; props.width; var isDisabled = props.isDisabled, onClick = props.onClick, onMouseDown = props.onMouseDown;
|
|
26
26
|
var widthClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
27
27
|
prefix: 'button_width_',
|
|
28
28
|
propsKey: 'width',
|
|
@@ -61,7 +61,7 @@ var Button = React__default.default.forwardRef(function Button(props, ref) {
|
|
|
61
61
|
});
|
|
62
62
|
// @ts-expect-error
|
|
63
63
|
var _f = useStyles.useStyles(props), buttonStyles = _f.styles, labelStyles = _f.label;
|
|
64
|
-
var appearanceConfig =
|
|
64
|
+
var appearanceConfig = appearance && buttonConfig.appearance && buttonConfig.appearance[appearance];
|
|
65
65
|
return (jsxRuntime.jsxRuntimeExports.jsx(Link.LinkWrapper, { className: clsx__default.default(className, 'button', label && 'button_type_label', borderColorClass ? 'button_set_outlined' : set ? "button_set_".concat(set) : 'button_set_filled', borderWidthClass ||
|
|
66
66
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderWidth) &&
|
|
67
67
|
"border-width_".concat(appearanceConfig.borderWidth)
|
|
@@ -87,7 +87,7 @@ var Button = React__default.default.forwardRef(function Button(props, ref) {
|
|
|
87
87
|
iconBefore ||
|
|
88
88
|
iconBeforeSrc ||
|
|
89
89
|
iconSrc) &&
|
|
90
|
-
'button_type_with-icon', loading && 'button_state_loading button_type_loader'), "data-test-id": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, DefaultComponent: "button", disabled: isDisabled, href: link || href, rel: rel, style: buttonStyles, target: target, type: htmlType, onClick: onClick, onMouseDown: onMouseDown, children: jsxRuntime.jsxRuntimeExports.jsxs("div", { className: "button__wrapper", ref: ref, children: [loading && (jsxRuntime.jsxRuntimeExports.jsx(Loader.Loader, { className: "button__loader", fill: loaderFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.loaderFill), itemFill: loaderItemFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.loaderItemFill), set: loaderSet })), before, (iconBefore || iconBeforeSrc) && (jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, { className: "button__icon_before", fill: fillIconBefore, fillSize: iconBeforeFillSize, iconFill: iconBeforeFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconBeforeFill), imageSrc: iconBeforeSrc, shape: iconBeforeShape, size: iconBeforeSize, SvgImage: iconBefore })), (icon || iconSrc) && (jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, { className: "button__icon", fill: fillIcon, fillSize: iconFillSize, iconFill: iconFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconFill), imageSrc: iconSrc, shape: iconShape, size: iconSize, SvgImage: icon })), (children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label)) && (jsxRuntime.jsxRuntimeExports.jsx(Text.Text, { className: "button__label", size: labelTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextSize) || undefined, style: labelStyles, textColor: labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), textColorHover: labelTextColorHover || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColorHover), textWrap: labelTextWrap, textWeight: labelTextWeight, children: children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label) })), (iconAfter || iconAfterSrc) && (jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, { className: "button__icon_after", fill: fillIconAfter, fillSize: iconAfterFillSize, iconFill: iconAfterFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconAfterFill), imageSrc: iconAfterSrc, shape: iconAfterShape, size: iconAfterSize, SvgImage: iconAfter })), Badge, after] }) }));
|
|
90
|
+
'button_type_with-icon', loading && 'button_state_loading button_type_loader'), "data-test-id": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, DefaultComponent: "button", disabled: isDisabled, href: link || href, rel: rel, style: buttonStyles, target: target, type: htmlType, onClick: onClick, onMouseDown: onMouseDown, children: jsxRuntime.jsxRuntimeExports.jsxs("div", { className: "button__wrapper", ref: ref, children: [loading && (jsxRuntime.jsxRuntimeExports.jsx(Loader.Loader, { className: "button__loader", fill: loaderFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.loaderFill), itemFill: loaderItemFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.loaderItemFill), set: loaderSet })), before, (iconBefore || iconBeforeSrc) && (jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, { className: "button__icon_before", fill: fillIconBefore, fillSize: iconBeforeFillSize, iconFill: iconBeforeFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconBeforeFill), imageSrc: iconBeforeSrc, shape: iconBeforeShape, size: iconBeforeSize, SvgImage: iconBefore })), (icon || iconSrc) && (jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, { className: "button__icon", fill: fillIcon, fillSize: iconFillSize, iconFill: iconFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconFill), imageSrc: iconSrc, shape: iconShape, size: iconSize, SvgImage: icon })), (children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label)) && (jsxRuntime.jsxRuntimeExports.jsx(Text.Text, { className: "button__label", size: labelTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextSize) || undefined, sizeMobile: labelTextSizeMobile, style: labelStyles, textColor: labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), textColorHover: labelTextColorHover || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColorHover), textWrap: labelTextWrap, textWeight: labelTextWeight, children: children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label) })), (iconAfter || iconAfterSrc) && (jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, { className: "button__icon_after", fill: fillIconAfter, fillSize: iconAfterFillSize, iconFill: iconAfterFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconAfterFill), imageSrc: iconAfterSrc, shape: iconAfterShape, size: iconAfterSize, SvgImage: iconAfter })), Badge, after] }) }));
|
|
91
91
|
});
|
|
92
92
|
Button.defaultProps = {
|
|
93
93
|
// Button with a `type="submit"` attribute is a form control by default.
|
|
@@ -4,7 +4,7 @@ var jsxRuntime = require('./jsx-runtime-BBxmckJR.js');
|
|
|
4
4
|
var clsx = require('clsx');
|
|
5
5
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
6
6
|
var Image = require('./Image-CCx6QWZj.js');
|
|
7
|
-
var Text = require('./Text-
|
|
7
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var jsxRuntime = require('./jsx-runtime-BBxmckJR.js');
|
|
4
4
|
var clsx = require('clsx');
|
|
5
5
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
6
|
-
var Icon = require('./Icon-
|
|
7
|
-
var Label = require('./Label-
|
|
8
|
-
var Text = require('./Text-
|
|
6
|
+
var Icon = require('./Icon-BUwWk_dS.js');
|
|
7
|
+
var Label = require('./Label-Bc4u2NRI.js');
|
|
8
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
9
9
|
var useStyles = require('./hooks/useStyles.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var jsxRuntime = require('./jsx-runtime-BBxmckJR.js');
|
|
4
4
|
var clsx = require('clsx');
|
|
5
5
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
6
|
-
var Text = require('./Text-
|
|
6
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
7
7
|
|
|
8
8
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('./jsx-runtime-BBxmckJR.js');
|
|
4
|
-
var React = require('react');
|
|
5
4
|
var clsx = require('clsx');
|
|
6
5
|
var useDeviceTargetClass = require('./hooks/useDeviceTargetClass.js');
|
|
7
6
|
var useStyles = require('./hooks/useStyles.js');
|
|
8
|
-
var Text = require('./Text-
|
|
7
|
+
var Text = require('./Text-D2YDVhGJ.js');
|
|
9
8
|
|
|
10
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
10
|
|
|
@@ -18,7 +17,8 @@ var chipsConfig = {
|
|
|
18
17
|
},
|
|
19
18
|
};
|
|
20
19
|
function Chips(props) {
|
|
21
|
-
var
|
|
20
|
+
var children = props.children, isActive = props.isActive, appearance = props.appearance, className = props.className, _a = props.label, label = _a === void 0 ? '' : _a, labelSize = props.labelSize, // labelTextSize,
|
|
21
|
+
labelTextActiveColor = props.labelTextActiveColor, labelTextColor = props.labelTextColor, labelTextWeight = props.labelTextWeight, type = props.type, onClick = props.onClick;
|
|
22
22
|
var alignDirectionClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
23
23
|
prefix: 'align_',
|
|
24
24
|
propsKey: 'alignDirection',
|
|
@@ -61,22 +61,24 @@ function Chips(props) {
|
|
|
61
61
|
});
|
|
62
62
|
// @ts-expect-error
|
|
63
63
|
var chipsStyles = useStyles.useStyles(props).styles;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
// prettier-ignore
|
|
65
|
+
var appearanceConfig = (appearance && chipsConfig.appearance && chipsConfig.appearance[appearance]);
|
|
66
|
+
return (jsxRuntime.jsxRuntimeExports.jsx("div", { style: chipsStyles, className: clsx__default.default(className, 'chips', isActive && 'chips_state_active', isActive
|
|
67
|
+
? fillActiveClass ||
|
|
68
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillActive) &&
|
|
69
|
+
"fill_".concat(appearanceConfig.fillActive).replace(/([A-Z])/g, '-$1').toLowerCase())
|
|
70
|
+
: fillClass ||
|
|
71
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
72
|
+
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass ||
|
|
70
73
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
71
74
|
"fill_hover_".concat(appearanceConfig.fillHover).replace(/([A-Z])/g, '-$1').toLowerCase()), shapeClass, borderColorClass ||
|
|
72
75
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderColor) &&
|
|
73
76
|
"border-color_".concat(appearanceConfig.borderColor)
|
|
74
77
|
.replace(/([A-Z])/g, '-$1')
|
|
75
|
-
.toLowerCase()), borderTypeClass, sizeClass, alignDirectionClass, alignClass, type && "chips_type_".concat(type), cursorClass, onClick && 'cursor_type_pointer'),
|
|
78
|
+
.toLowerCase()), borderTypeClass, sizeClass, alignDirectionClass, alignClass, type && "chips_type_".concat(type), cursorClass, onClick && 'cursor_type_pointer'), onClick: onClick, children: jsxRuntime.jsxRuntimeExports.jsxs("div", { className: "chips__inner", children: [typeof label === 'string' ? (jsxRuntime.jsxRuntimeExports.jsx(Text.Text, { className: "chips__label", size: labelSize, textWeight: labelTextWeight, textColor: isActive
|
|
79
|
+
? labelTextActiveColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextActiveColor)
|
|
80
|
+
: labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), children: label })) : (jsxRuntime.jsxRuntimeExports.jsx("div", { className: "chips__label", children: label })), children] }) }));
|
|
76
81
|
}
|
|
77
|
-
Chips.defaultProps = {
|
|
78
|
-
label: 'Chips',
|
|
79
|
-
};
|
|
80
82
|
|
|
81
83
|
exports.Chips = Chips;
|
|
82
84
|
exports.chipsConfig = chipsConfig;
|