@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
|
@@ -5,8 +5,8 @@ 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-
|
|
9
|
-
import { T as Text } from './Text-
|
|
8
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
9
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
10
10
|
|
|
11
11
|
var ChevronDown16 = function ChevronDown16(props) {
|
|
12
12
|
return /*#__PURE__*/React__default.createElement("svg", props, /*#__PURE__*/React__default.createElement("path", {
|
|
@@ -2,9 +2,9 @@ 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-C0gtkmdU.js';
|
|
6
6
|
import { I as Image } from './Image-Bz4Fo3eB.js';
|
|
7
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
8
8
|
|
|
9
9
|
function Avatar(props) {
|
|
10
10
|
var className = props.className, Dot = props.Dot, icon = props.icon, _a = props.size, size = _a === void 0 ? '96' : _a, after = props.after, before = props.before, src = props.src, type = props.type, mode = props.mode, onClick = props.onClick, _b = props.textSize, textSize = _b === void 0 ? 'l' : _b, _c = props.textColor, textColor = _c === void 0 ? 'surfaceTextTertiary' : _c, _d = props.textWeight, textWeight = _d === void 0 ? '600' : _d, iconSrc = props.iconSrc, iconItemFill = props.iconItemFill, iconShape = props.iconShape, iconSize = props.iconSize, iconFill = props.iconFill, iconFillHover = props.iconFillHover, iconFillSize = props.iconFillSize, _e = props.firstName, firstName = _e === void 0 ? '' : _e, _f = props.secondName, secondName = _f === void 0 ? '' : _f;
|
|
@@ -1,9 +1,8 @@
|
|
|
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';
|
|
6
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
6
|
|
|
8
7
|
var badgeConfig = {
|
|
9
8
|
appearance: undefined,
|
|
@@ -52,7 +51,7 @@ function Badge(props) {
|
|
|
52
51
|
});
|
|
53
52
|
// @ts-expect-error
|
|
54
53
|
var badgeStyles = useStyles(props).styles;
|
|
55
|
-
var appearanceConfig =
|
|
54
|
+
var appearanceConfig = appearance && badgeConfig.appearance && badgeConfig.appearance[appearance];
|
|
56
55
|
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'badge', !value && 'badge_type_status', mode && "badge_mode_".concat(mode), borderColorClass, borderColorHoverClass, borderWidthClass, borderTypeClass, fillClass ||
|
|
57
56
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
58
57
|
((_a = "fill_".concat(appearanceConfig.fill)) === null || _a === void 0 ? void 0 : _a.replace(/([A-Z])/g, '-$1').toLowerCase())), fillHoverClass ||
|
|
@@ -5,9 +5,9 @@ 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-
|
|
8
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
9
9
|
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
10
|
-
import { T as Text } from './Text-
|
|
10
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
11
11
|
|
|
12
12
|
function BreadcrumbsItem(props) {
|
|
13
13
|
var children = props.children, className = props.className, cursor = props.cursor, _a = props.set, set = _a === void 0 ? 'default' : _a, text = props.text, textSize = props.textSize, textColor = props.textColor, textColorHover = props.textColorHover, href = props.href, iconAfter = props.iconAfter, iconAfterSize = props.iconAfterSize, iconAfterBgFill = props.iconAfterBgFill, iconAfterFill = props.iconAfterFill, onClick = props.onClick;
|
|
@@ -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 { I as Icon } from './Icon-
|
|
6
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
7
7
|
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
8
|
-
import { L as Loader } from './Loader-
|
|
9
|
-
import { T as Text } from './Text-
|
|
8
|
+
import { L as Loader } from './Loader-DhgIcSY1.js';
|
|
9
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
10
10
|
|
|
11
11
|
var buttonConfig = {
|
|
12
12
|
appearance: undefined,
|
|
@@ -15,7 +15,7 @@ var buttonConfig = {
|
|
|
15
15
|
},
|
|
16
16
|
};
|
|
17
17
|
var Button = React__default.forwardRef(function Button(props, ref) {
|
|
18
|
-
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;
|
|
18
|
+
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;
|
|
19
19
|
var widthClass = useDeviceTargetClass(props, {
|
|
20
20
|
prefix: 'button_width_',
|
|
21
21
|
propsKey: 'width',
|
|
@@ -54,7 +54,7 @@ var Button = React__default.forwardRef(function Button(props, ref) {
|
|
|
54
54
|
});
|
|
55
55
|
// @ts-expect-error
|
|
56
56
|
var _f = useStyles(props), buttonStyles = _f.styles, labelStyles = _f.label;
|
|
57
|
-
var appearanceConfig =
|
|
57
|
+
var appearanceConfig = appearance && buttonConfig.appearance && buttonConfig.appearance[appearance];
|
|
58
58
|
return (jsxRuntimeExports.jsx(LinkWrapper, { className: clsx(className, 'button', label && 'button_type_label', borderColorClass ? 'button_set_outlined' : set ? "button_set_".concat(set) : 'button_set_filled', borderWidthClass ||
|
|
59
59
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderWidth) &&
|
|
60
60
|
"border-width_".concat(appearanceConfig.borderWidth)
|
|
@@ -80,7 +80,7 @@ var Button = React__default.forwardRef(function Button(props, ref) {
|
|
|
80
80
|
iconBefore ||
|
|
81
81
|
iconBeforeSrc ||
|
|
82
82
|
iconSrc) &&
|
|
83
|
-
'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: jsxRuntimeExports.jsxs("div", { className: "button__wrapper", ref: ref, children: [loading && (jsxRuntimeExports.jsx(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) && (jsxRuntimeExports.jsx(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) && (jsxRuntimeExports.jsx(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)) && (jsxRuntimeExports.jsx(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) && (jsxRuntimeExports.jsx(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] }) }));
|
|
83
|
+
'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: jsxRuntimeExports.jsxs("div", { className: "button__wrapper", ref: ref, children: [loading && (jsxRuntimeExports.jsx(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) && (jsxRuntimeExports.jsx(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) && (jsxRuntimeExports.jsx(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)) && (jsxRuntimeExports.jsx(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) && (jsxRuntimeExports.jsx(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] }) }));
|
|
84
84
|
});
|
|
85
85
|
Button.defaultProps = {
|
|
86
86
|
// Button with a `type="submit"` attribute is a form control by default.
|
|
@@ -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 { I as Image } from './Image-Bz4Fo3eB.js';
|
|
5
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
6
6
|
|
|
7
7
|
function Card(props) {
|
|
8
8
|
var children = props.children, className = props.className, size = props.size, src = props.src, text = props.text, textSize = props.textSize, textColor = props.textColor, textTag = props.textTag, title = props.title, titleSize = props.titleSize, titleTag = props.titleTag, titleColor = props.titleColor, image = props.image, imageShape = props.imageShape, type = props.type, onClick = props.onClick;
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
-
import { T as Text } from './Text-
|
|
4
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
5
|
+
import { L as Label } from './Label-0lMH0-AK.js';
|
|
6
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
8
|
|
|
9
9
|
function Cell(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { T as Text } from './Text-
|
|
4
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
5
5
|
|
|
6
6
|
var checkboxConfig = {
|
|
7
7
|
appearance: undefined,
|
|
@@ -1,9 +1,8 @@
|
|
|
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';
|
|
6
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
6
|
|
|
8
7
|
var chipsConfig = {
|
|
9
8
|
appearance: undefined,
|
|
@@ -12,7 +11,8 @@ var chipsConfig = {
|
|
|
12
11
|
},
|
|
13
12
|
};
|
|
14
13
|
function Chips(props) {
|
|
15
|
-
var
|
|
14
|
+
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,
|
|
15
|
+
labelTextActiveColor = props.labelTextActiveColor, 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',
|
|
@@ -55,21 +55,23 @@ function Chips(props) {
|
|
|
55
55
|
});
|
|
56
56
|
// @ts-expect-error
|
|
57
57
|
var chipsStyles = useStyles(props).styles;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
// prettier-ignore
|
|
59
|
+
var appearanceConfig = (appearance && chipsConfig.appearance && chipsConfig.appearance[appearance]);
|
|
60
|
+
return (jsxRuntimeExports.jsx("div", { style: chipsStyles, className: clsx(className, 'chips', isActive && 'chips_state_active', isActive
|
|
61
|
+
? fillActiveClass ||
|
|
62
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillActive) &&
|
|
63
|
+
"fill_".concat(appearanceConfig.fillActive).replace(/([A-Z])/g, '-$1').toLowerCase())
|
|
64
|
+
: fillClass ||
|
|
65
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
66
|
+
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass ||
|
|
64
67
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
65
68
|
"fill_hover_".concat(appearanceConfig.fillHover).replace(/([A-Z])/g, '-$1').toLowerCase()), shapeClass, borderColorClass ||
|
|
66
69
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderColor) &&
|
|
67
70
|
"border-color_".concat(appearanceConfig.borderColor)
|
|
68
71
|
.replace(/([A-Z])/g, '-$1')
|
|
69
|
-
.toLowerCase()), borderTypeClass, sizeClass, alignDirectionClass, alignClass, type && "chips_type_".concat(type), cursorClass, onClick && 'cursor_type_pointer'),
|
|
72
|
+
.toLowerCase()), borderTypeClass, sizeClass, alignDirectionClass, alignClass, type && "chips_type_".concat(type), cursorClass, onClick && 'cursor_type_pointer'), onClick: onClick, children: jsxRuntimeExports.jsxs("div", { className: "chips__inner", children: [typeof label === 'string' ? (jsxRuntimeExports.jsx(Text, { className: "chips__label", size: labelSize, textWeight: labelTextWeight, textColor: isActive
|
|
73
|
+
? labelTextActiveColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextActiveColor)
|
|
74
|
+
: labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), children: label })) : (jsxRuntimeExports.jsx("div", { className: "chips__label", children: label })), children] }) }));
|
|
70
75
|
}
|
|
71
|
-
Chips.defaultProps = {
|
|
72
|
-
label: 'Chips',
|
|
73
|
-
};
|
|
74
76
|
|
|
75
77
|
export { Chips as C, chipsConfig as c };
|
|
@@ -2,8 +2,9 @@ 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-
|
|
6
|
-
import {
|
|
5
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
6
|
+
import { L as Loader } from './Loader-DhgIcSY1.js';
|
|
7
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
8
|
|
|
8
9
|
var choiceConfig = {
|
|
9
10
|
appearance: {},
|
|
@@ -12,7 +13,7 @@ var choiceConfig = {
|
|
|
12
13
|
},
|
|
13
14
|
};
|
|
14
15
|
var Choice = React__default.forwardRef(function Choice(props, ref) {
|
|
15
|
-
var
|
|
16
|
+
var _a = props.isCheckbox, isCheckbox = _a === void 0 ? false : _a, _b = props.isDisabled, isDisabled = _b === void 0 ? false : _b, _c = props.isLoading, isLoading = _c === void 0 ? false : _c, _d = props.active, active = _d === void 0 ? { value: undefined } : _d, 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, labelTextActiveColor = props.labelTextActiveColor, labelTextActiveColorDisabled = props.labelTextActiveColorDisabled, labelTextColor = props.labelTextColor, labelTextColorDisabled = props.labelTextColorDisabled, labelTextSize = props.labelTextSize, labelTextWeight = props.labelTextWeight, name = props.name, _e = props.options, options = _e === void 0 ? [] : _e, set = props.set, setActiveSegment = props.setActiveSegment, _f = props.size, size = _f === void 0 ? 'normal' : _f, type = props.type;
|
|
16
17
|
var controlRef = useRef(null);
|
|
17
18
|
var optionsRefs = useMemo(function () { return new Map(options.map(function (item) { return [item.value, createRef()]; })); }, [options]);
|
|
18
19
|
var onChange = useCallback(function (event, item) {
|
|
@@ -55,8 +56,9 @@ var Choice = React__default.forwardRef(function Choice(props, ref) {
|
|
|
55
56
|
prefix: 'fill_active_disabled_',
|
|
56
57
|
propsKey: 'fillActiveDisabled',
|
|
57
58
|
});
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
// prettier-ignore
|
|
60
|
+
var appearanceConfig = (appearance && choiceConfig.appearance && choiceConfig.appearance[appearance]);
|
|
61
|
+
return (jsxRuntimeExports.jsx("div", { ref: controlRef, className: clsx(className, 'choice', shapeClass ||
|
|
60
62
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
|
|
61
63
|
"choice_shape_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), !isDisabled
|
|
62
64
|
? fillClass ||
|
|
@@ -66,7 +68,7 @@ var Choice = React__default.forwardRef(function Choice(props, ref) {
|
|
|
66
68
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderColor) &&
|
|
67
69
|
"border-color_".concat(appearanceConfig.borderColor)
|
|
68
70
|
.replace(/([A-Z])/g, '-$1')
|
|
69
|
-
.toLowerCase()), borderWidthClass, borderTypeClass, set && "choice_set_".concat(set), size && "choice_size_".concat(size), type && "choice_type_".concat(type)),
|
|
71
|
+
.toLowerCase()), borderWidthClass, borderTypeClass, set && "choice_set_".concat(set), size && "choice_size_".concat(size), type && "choice_type_".concat(type)), children: isLoading ? (jsxRuntimeExports.jsx(Loader, { width: "fill", height: "fill", fill: "surfacePrimary", itemFill: "surfaceItemAccent", set: "simple" })) : (jsxRuntimeExports.jsx("div", { className: "choice__wrapper", children: options.map(function (item) { return (jsxRuntimeExports.jsxs("div", { ref: optionsRefs.get(item.value), className: clsx('choice__item', !isDisabled &&
|
|
70
72
|
(fillHoverClass ||
|
|
71
73
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
72
74
|
"fill_active_".concat(appearanceConfig.fillHover)
|
|
@@ -81,20 +83,15 @@ var Choice = React__default.forwardRef(function Choice(props, ref) {
|
|
|
81
83
|
: fillActiveDisabledClass
|
|
82
84
|
: !isDisabled
|
|
83
85
|
? fillClass
|
|
84
|
-
: fillDisabledClass, item.value === active.value && isDisabled && 'choice__item_active_state_disabled', item.value === active.value && 'choice__item_active'),
|
|
86
|
+
: fillDisabledClass, item.value === active.value && isDisabled && 'choice__item_active_state_disabled', item.value === active.value && 'choice__item_active'), children: [jsxRuntimeExports.jsx("input", { checked: item.value === active.value, className: "choice__item-radio", disabled: isDisabled, id: "".concat(name, "-").concat(item.value), name: name, type: isCheckbox ? 'checkbox' : 'radio', value: item.value, onChange: function (event) { return onChange(event, item); } }), jsxRuntimeExports.jsxs("label", { htmlFor: "".concat(name, "-").concat(item.value), className: clsx('choice__item-label', isDisabled && 'choice__item-label_state_disabled'), children: [before, item.label && (jsxRuntimeExports.jsx(Text, { size: labelTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextSize), textWeight: labelTextWeight, textColor: item.value === active.value
|
|
85
87
|
? !isDisabled
|
|
86
88
|
? labelTextActiveColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextActiveColor)
|
|
87
89
|
: labelTextActiveColorDisabled
|
|
88
90
|
: !isDisabled
|
|
89
91
|
? labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor)
|
|
90
|
-
: labelTextColorDisabled,
|
|
92
|
+
: labelTextColorDisabled, children: item.label })), (icon || activeIcon) && (jsxRuntimeExports.jsx(Icon, { SvgImage: item.value === active.value ? activeIcon : icon, className: "choice__item-icon", iconFillDisabled: isDisabled ? iconFillDisabled : undefined, iconSize: iconSize, iconFill: item.value === active.value
|
|
91
93
|
? activeIconItemFill || item.activeIconItemFill
|
|
92
|
-
: iconItemFill || item.iconItemFill
|
|
94
|
+
: iconItemFill || item.iconItemFill })), after] })] }, item.value)); }) })) }));
|
|
93
95
|
});
|
|
94
|
-
Choice.defaultProps = {
|
|
95
|
-
active: { value: undefined },
|
|
96
|
-
options: [],
|
|
97
|
-
size: 'normal',
|
|
98
|
-
};
|
|
99
96
|
|
|
100
97
|
export { Choice as C, choiceConfig as c };
|
|
@@ -2,8 +2,8 @@ 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-
|
|
6
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
6
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
7
|
|
|
8
8
|
function ContextMenu(props) {
|
|
9
9
|
var id = props.id, children = props.children, className = props.className, set = props.set, onClick = props.onClick;
|
|
@@ -3,9 +3,9 @@ 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-
|
|
7
|
-
import { G as Group } from './Group-
|
|
8
|
-
import { T as Text } from './Text-
|
|
6
|
+
import { B as Button } from './Button-DxZUKQ8I.js';
|
|
7
|
+
import { G as Group } from './Group-DuHn_z2p.js';
|
|
8
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
9
9
|
|
|
10
10
|
function CookiesWarning(props) {
|
|
11
11
|
var _a = props.message, message = _a === void 0 ? '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».' : _a, className = props.className, buttonFill = props.buttonFill, buttonFillHover = props.buttonFillHover, _b = props.buttonLabel, buttonLabel = _b === void 0 ? 'I agree' : _b, buttonLabelSize = props.buttonLabelSize, buttonLabelTextColor = props.buttonLabelTextColor, buttonShape = props.buttonShape, buttonSize = props.buttonSize, textSize = props.textSize, textColor = props.textColor, buttonWidth = props.buttonWidth, _c = props.isHideOnScroll, isHideOnScroll = _c === void 0 ? false : _c;
|
|
@@ -5,13 +5,13 @@ import React__default, { createElement, Component, useLayoutEffect, useEffect, c
|
|
|
5
5
|
import clsx$1, { clsx } from 'clsx';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
7
|
import ReactDOM__default, { findDOMNode } from 'react-dom';
|
|
8
|
-
import { o as offset$1, f as flip$1, c as computePosition, b as arrow$2, g as getComputedStyle, i as isElement, a as autoUpdate } from './floating-ui.dom-
|
|
8
|
+
import { o as offset$1, f as flip$1, c as computePosition, b as arrow$2, g as getComputedStyle, i as isElement, a as autoUpdate } from './floating-ui.dom-BV5qw-HP.js';
|
|
9
9
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
10
|
-
import { B as Button } from './Button-
|
|
11
|
-
import { I as Icon } from './Icon-
|
|
10
|
+
import { B as Button } from './Button-DxZUKQ8I.js';
|
|
11
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
12
12
|
import { I as Input } from './Input-CYDtAlO-.js';
|
|
13
|
-
import { L as Label } from './Label-
|
|
14
|
-
import { T as Text } from './Text-
|
|
13
|
+
import { L as Label } from './Label-0lMH0-AK.js';
|
|
14
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
15
15
|
|
|
16
16
|
function buildFormatLongFn(args) {
|
|
17
17
|
return (options = {}) => {
|
|
@@ -130,10 +130,10 @@ var EZDrawer = function EZDrawer(props) {
|
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
function Drawer(props) {
|
|
133
|
-
var after = props.after, before = props.before,
|
|
134
|
-
return (jsxRuntimeExports.jsxs(EZDrawer, {
|
|
133
|
+
var children = props.children, isOpenModal = props.isOpenModal, after = props.after, before = props.before, className = props.className, closeModal = props.closeModal, dataTour = props.dataTour, direction = props.direction, enableOverlay = props.enableOverlay, size = props.size, type = props.type;
|
|
134
|
+
return (jsxRuntimeExports.jsxs(EZDrawer, { direction: direction || 'right', enableOverlay: enableOverlay, lockBackgroundScroll: false,
|
|
135
135
|
// @ts-expect-error
|
|
136
|
-
open: isOpenModal, overlayClassName: "drawer__overlay", size: size || 600,
|
|
136
|
+
open: isOpenModal, overlayClassName: "drawer__overlay", size: size || 600, className: clsx('drawer', type && "drawer_type_".concat(type), className, dataTour && "data-tour-".concat(dataTour)), onClose: closeModal, children: [before && jsxRuntimeExports.jsx("div", { className: "drawer__before", children: before }), children && jsxRuntimeExports.jsx("div", { className: "drawer__wrapper", children: children }), after && jsxRuntimeExports.jsx("div", { className: "drawer__after", children: after })] }));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
export { Drawer as D };
|
|
@@ -5,7 +5,7 @@ import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
6
|
import { D as Divider } from './Divider-Dhj6sMWd.js';
|
|
7
7
|
import { L as Link } from './Link-Co6uspFK.js';
|
|
8
|
-
import { T as Text } from './Text-
|
|
8
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
9
9
|
|
|
10
10
|
function Dropdown(props) {
|
|
11
11
|
var after = props.after, before = props.before, animationClose = props.animationClose, animationOpen = props.animationOpen, children = props.children, className = props.className, set = props.set, isOpen = props.isOpen, setIsOpen = props.setIsOpen;
|
|
@@ -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';
|
|
@@ -86,7 +85,7 @@ function Group(props) {
|
|
|
86
85
|
});
|
|
87
86
|
// @ts-expect-error
|
|
88
87
|
var _b = useStyles(props), groupStyles = _b.styles, groupWrapperStyles = _b.wrapper;
|
|
89
|
-
var appearanceConfig =
|
|
88
|
+
var appearanceConfig = appearance && groupConfig.appearance && groupConfig.appearance[appearance];
|
|
90
89
|
return (jsxRuntimeExports.jsx(Tag, { className: clsx(className, 'group', widthClass, heightClass, columnsClass, contentAlignClass, alignDirectionClass, directionClass ||
|
|
91
90
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.direction) &&
|
|
92
91
|
"group_direction_".concat(appearanceConfig.direction)
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
4
|
+
import { useStyles } from './hooks/useStyles.js';
|
|
5
|
+
|
|
6
|
+
function HTMLContent(props) {
|
|
7
|
+
var children = props.children, className = props.className, content = props.content, dataTour = props.dataTour, style = props.style, onClick = props.onClick;
|
|
8
|
+
var alignDirectionClass = useDeviceTargetClass(props, {
|
|
9
|
+
prefix: 'align_',
|
|
10
|
+
propsKey: 'alignDirection',
|
|
11
|
+
});
|
|
12
|
+
var alignClass = useDeviceTargetClass(props, {
|
|
13
|
+
prefix: 'align_',
|
|
14
|
+
propsKey: 'align',
|
|
15
|
+
});
|
|
16
|
+
var justifyContentClass = useDeviceTargetClass(props, {
|
|
17
|
+
prefix: 'justify-content_',
|
|
18
|
+
propsKey: 'justifyContent',
|
|
19
|
+
});
|
|
20
|
+
var directionClass = useDeviceTargetClass(props, {
|
|
21
|
+
prefix: 'html-content_direction_',
|
|
22
|
+
propsKey: 'direction',
|
|
23
|
+
});
|
|
24
|
+
var wrapClass = useDeviceTargetClass(props, {
|
|
25
|
+
prefix: 'html-content_wrap_',
|
|
26
|
+
propsKey: 'wrap',
|
|
27
|
+
});
|
|
28
|
+
var fillClass = useDeviceTargetClass(props, {
|
|
29
|
+
prefix: 'fill_',
|
|
30
|
+
propsKey: 'fill',
|
|
31
|
+
});
|
|
32
|
+
var fillHoverClass = useDeviceTargetClass(props, {
|
|
33
|
+
prefix: 'fill_hover_',
|
|
34
|
+
propsKey: 'fillHover',
|
|
35
|
+
});
|
|
36
|
+
var shapeClass = useDeviceTargetClass(props, {
|
|
37
|
+
prefix: 'html-content_shape_',
|
|
38
|
+
propsKey: 'shape',
|
|
39
|
+
});
|
|
40
|
+
var columnsClass = useDeviceTargetClass(props, {
|
|
41
|
+
prefix: 'html-content_columns_',
|
|
42
|
+
propsKey: 'columns',
|
|
43
|
+
});
|
|
44
|
+
var widthClass = useDeviceTargetClass(props, {
|
|
45
|
+
prefix: 'width_',
|
|
46
|
+
propsKey: 'width',
|
|
47
|
+
});
|
|
48
|
+
var heightClass = useDeviceTargetClass(props, {
|
|
49
|
+
prefix: 'height_',
|
|
50
|
+
propsKey: 'height',
|
|
51
|
+
});
|
|
52
|
+
var borderColorClass = useDeviceTargetClass(props, {
|
|
53
|
+
prefix: 'border-color_',
|
|
54
|
+
propsKey: 'borderColor',
|
|
55
|
+
});
|
|
56
|
+
var borderWidthClass = useDeviceTargetClass(props, {
|
|
57
|
+
prefix: 'border-width_',
|
|
58
|
+
propsKey: 'borderWidth',
|
|
59
|
+
});
|
|
60
|
+
var borderTypeClass = useDeviceTargetClass(props, {
|
|
61
|
+
prefix: 'border_type_',
|
|
62
|
+
propsKey: 'borderType',
|
|
63
|
+
});
|
|
64
|
+
var flexGrowClass = useDeviceTargetClass(props, {
|
|
65
|
+
prefix: 'flex-grow_',
|
|
66
|
+
propsKey: 'flexGrow',
|
|
67
|
+
});
|
|
68
|
+
var elevationClass = useDeviceTargetClass(props, {
|
|
69
|
+
prefix: 'elevation_',
|
|
70
|
+
propsKey: 'elevation',
|
|
71
|
+
});
|
|
72
|
+
var textColorClass = useDeviceTargetClass(props, {
|
|
73
|
+
prefix: 'text-color_',
|
|
74
|
+
propsKey: 'textColor',
|
|
75
|
+
});
|
|
76
|
+
var weightClass = useDeviceTargetClass(props, {
|
|
77
|
+
prefix: 'text-weight_',
|
|
78
|
+
propsKey: 'textWeight',
|
|
79
|
+
});
|
|
80
|
+
// @ts-expect-error
|
|
81
|
+
var htmlContentStyles = useStyles(props).styles;
|
|
82
|
+
return (jsxRuntimeExports.jsx("div", { dangerouslySetInnerHTML: { __html: content }, "data-tour": dataTour, style: Object.assign({}, htmlContentStyles, style), className: clsx(className, 'html-content', alignClass, alignDirectionClass, borderColorClass, borderTypeClass, borderWidthClass, columnsClass, directionClass, elevationClass, fillClass, fillHoverClass, flexGrowClass, heightClass, justifyContentClass, shapeClass, textColorClass, weightClass, wrapClass, widthClass), onClick: onClick, children: children }));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { HTMLContent as H };
|
|
@@ -6,7 +6,7 @@ import SVG from 'react-inlinesvg';
|
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
8
|
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
9
|
-
import { T as Tooltip } from './Tooltip-
|
|
9
|
+
import { T as Tooltip } from './Tooltip-D46EmkZq.js';
|
|
10
10
|
|
|
11
11
|
var iconConfig = {
|
|
12
12
|
appearance: {},
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import { useState, useMemo, 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-C0gtkmdU.js';
|
|
6
6
|
|
|
7
7
|
var inputPasswordConfig = {
|
|
8
8
|
state: undefined,
|
|
@@ -68,9 +68,7 @@ function InputPassword(props) {
|
|
|
68
68
|
e.preventDefault();
|
|
69
69
|
setIsRevealed(function (prev) { return !prev; });
|
|
70
70
|
}, [setIsRevealed]);
|
|
71
|
-
var appearanceConfig =
|
|
72
|
-
return appearance && inputPasswordConfig.appearance && inputPasswordConfig.appearance[appearance];
|
|
73
|
-
}, [appearance, inputPasswordConfig]);
|
|
71
|
+
var appearanceConfig = appearance && inputPasswordConfig.appearance && inputPasswordConfig.appearance[appearance];
|
|
74
72
|
var stateConfig = useMemo(function () { return state && inputPasswordConfig.state && inputPasswordConfig.state[state]; }, [state, inputPasswordConfig]);
|
|
75
73
|
return (jsxRuntimeExports.jsxs("div", { className: "input-password", children: [jsxRuntimeExports.jsx("input", { className: clsx(className, 'input-password__input', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, fillClass, placeholderTextColorClass, shapeClass ||
|
|
76
74
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
-
import { useRef, useCallback
|
|
2
|
+
import { useRef, 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 { T as Text } from './Text-
|
|
7
|
-
import { T as Tooltip } from './Tooltip-
|
|
6
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
|
+
import { T as Tooltip } from './Tooltip-D46EmkZq.js';
|
|
8
8
|
|
|
9
9
|
var labelConfig = {
|
|
10
10
|
appearance: undefined,
|
|
@@ -65,7 +65,7 @@ function Label(props) {
|
|
|
65
65
|
});
|
|
66
66
|
// @ts-expect-error
|
|
67
67
|
var labelStyles = useStyles(props).styles;
|
|
68
|
-
var appearanceConfig =
|
|
68
|
+
var appearanceConfig = appearance && labelConfig.appearance && labelConfig.appearance[appearance];
|
|
69
69
|
return (jsxRuntimeExports.jsxs("div", { className: clsx(className, 'label', fillClass ||
|
|
70
70
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
71
71
|
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass ||
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import { I as Icon } from './Icon-
|
|
3
|
+
import { I as Icon } from './Icon-C0gtkmdU.js';
|
|
4
4
|
|
|
5
5
|
function LanguageSelectorItem(props) {
|
|
6
6
|
var label = props.label, iconSize = props.iconSize, SvgImage = props.SvgImage, isActive = props.isActive, onClick = props.onClick;
|
|
@@ -1,9 +1,8 @@
|
|
|
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';
|
|
6
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
6
|
|
|
8
7
|
// TODO: is better to use context?
|
|
9
8
|
var loaderConfig = {
|
|
@@ -37,7 +36,7 @@ function Loader(props) {
|
|
|
37
36
|
});
|
|
38
37
|
// @ts-expect-error
|
|
39
38
|
var loader = useStyles(props).styles;
|
|
40
|
-
var appearanceConfig =
|
|
39
|
+
var appearanceConfig = appearance && loaderConfig.appearance && loaderConfig.appearance[appearance];
|
|
41
40
|
/*
|
|
42
41
|
* TODO: set temporary variables by other way
|
|
43
42
|
*/
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
4
|
+
import { useStyles } from './hooks/useStyles.js';
|
|
5
|
+
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
6
|
+
|
|
7
|
+
var logoConfig = {
|
|
8
|
+
appearance: undefined,
|
|
9
|
+
setAppearance: function (newComponent) {
|
|
10
|
+
logoConfig.appearance = newComponent;
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
function Logo(props) {
|
|
14
|
+
var alt = props.alt, appearance = props.appearance, className = props.className, href = props.href, link = props.link, mode = props.mode, size = props.size, source = props.source, src = props.src, srcSize = props.srcSize;
|
|
15
|
+
var alignItemsClass = useDeviceTargetClass(props, {
|
|
16
|
+
prefix: 'logo_align-items_',
|
|
17
|
+
propsKey: 'alignItems',
|
|
18
|
+
});
|
|
19
|
+
var widthClass = useDeviceTargetClass(props, {
|
|
20
|
+
prefix: 'width_',
|
|
21
|
+
propsKey: 'width',
|
|
22
|
+
});
|
|
23
|
+
var alignDirectionClass = useDeviceTargetClass(props, {
|
|
24
|
+
prefix: 'align_',
|
|
25
|
+
propsKey: 'alignDirection',
|
|
26
|
+
});
|
|
27
|
+
var alignClass = useDeviceTargetClass(props, {
|
|
28
|
+
prefix: 'align_',
|
|
29
|
+
propsKey: 'align',
|
|
30
|
+
});
|
|
31
|
+
// @ts-expect-error
|
|
32
|
+
var logo = useStyles(props).styles;
|
|
33
|
+
var appearanceConfig = appearance && logoConfig.appearance && logoConfig.appearance[appearance];
|
|
34
|
+
return (jsxRuntimeExports.jsx("div", { style: logo, className: clsx(className, 'logo', alignClass, alignDirectionClass, alignItemsClass, alt, mode && "logo_mode_".concat(mode), size && "logo_size_".concat(size), widthClass), children: link || href ? (jsxRuntimeExports.jsx(LinkWrapper, { href: link || href, children: jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source || srcSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.srcSize) }) })) : (jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source || srcSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.srcSize) })) }));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { Logo as L, logoConfig as l };
|
|
@@ -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 { useStyles } from './hooks/useStyles.js';
|
|
5
|
-
import { M as MenuItem } from './MenuItem-
|
|
5
|
+
import { M as MenuItem } from './MenuItem-CXxL099U.js';
|
|
6
6
|
|
|
7
7
|
function Menu(props) {
|
|
8
8
|
var after = props.after, before = props.before, children = props.children, className = props.className, items = props.items, type = props.type, onClickItem = props.onClickItem;
|