@itcase/ui 1.1.14 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-vh2p5Mzs.js → Accordion-DF2lqrVA.js} +16 -10
- package/dist/{Avatar-DhZxzLEY.js → Avatar-DLNS2LBo.js} +1 -1
- package/dist/{Badge-D-4zpdfU.js → Badge-BBbMdbjo.js} +8 -2
- package/dist/{Breadcrumbs-CciIq1Na.js → Breadcrumbs-Dz-WcAoT.js} +2 -2
- package/dist/{Button-BXClqM-t.js → Button-ULZVVxWC.js} +2 -2
- package/dist/{Cell-BfV_aVxs.js → Cell-D9Wa7coO.js} +6 -3
- package/dist/{Checkbox-C-H_Z4S_.js → Checkbox-i0qZk0sb.js} +8 -7
- package/dist/{Chips-BR_EPV82.js → Chips-BdK4kVmq.js} +9 -3
- package/dist/{Choice-BJd9Jx4D.js → Choice-BT6xwc_a.js} +8 -6
- package/dist/{ContextMenuItem-CpZ3pjky.js → ContextMenuItem--304_MdY.js} +1 -1
- package/dist/{CookiesWarning-jN2hWm12.js → CookiesWarning-CDlz4Rfl.js} +4 -4
- package/dist/{DadataHintField-QzDwYdF1.js → DadataHintField-CHJLsVjJ.js} +1 -1
- package/dist/{DatePicker-Nm4Ut2tD.js → DatePicker-CAgJ_CIz.js} +9092 -9081
- package/dist/{DropdownItem-BaQXZu0w.js → DropdownItem-Cf5vBgDu.js} +1 -1
- package/dist/{GridRow-DUnumam2.js → GridRow-CvYQDJ2W.js} +1 -1
- package/dist/{Icon-Duj1nynQ.js → Icon-DWnG-4KG.js} +2 -2
- package/dist/{Input-CYMKQ0qF.js → Input-CYDtAlO-.js} +14 -12
- package/dist/{InputPassword-CTbtTP_o.js → InputPassword-BOdsE_Yd.js} +1 -1
- package/dist/{Label-D9cQMuy3.js → Label-VHbRKztj.js} +1 -1
- package/dist/{LanguageSelector-TZEgbNsG.js → LanguageSelector-CzIV_gnd.js} +1 -1
- package/dist/{Link-CbCqej5B.js → Link-Co6uspFK.js} +9 -1
- package/dist/{ListItem-Dgx1_Igi.js → ListItem-DMS6_Rtr.js} +1 -1
- package/dist/{Logo-DsOEX4uk.js → Logo-D4NFjeqd.js} +3 -3
- package/dist/{Menu-Kpe1GMns.js → Menu-Cd-XlUmJ.js} +1 -1
- package/dist/{MenuItem-C5BPgTO7.js → MenuItem-COZ-C9K2.js} +1 -1
- package/dist/{ModalLoader-8l8YtIvz.js → ModalLoader-D17lZhS7.js} +8 -1
- package/dist/{NotificationList-CJ-hNA9W.js → NotificationList-C2OCJkY5.js} +3 -3
- package/dist/{Pagination-LXBlrbZT.js → Pagination-QfVqvSbE.js} +2 -2
- package/dist/{Response-Nzg8ooT8.js → Response-m-8zeYeD.js} +4 -4
- package/dist/{SearchResult-B6Jd1xZO.js → SearchResult-DbhHiNmy.js} +1 -1
- package/dist/{SiteMenuButton-CcCAsJtr.js → SiteMenuButton-BwyPO-2_.js} +1 -1
- package/dist/{Swiper-JdwU0uca.js → Swiper-CL9zCKXE.js} +4 -4
- package/dist/{SwitchField-B8JbD2Se.js → SwitchField-nmu255b8.js} +1 -1
- package/dist/{TabGroup-DieipbE3.js → TabGroup-CK6ndAuh.js} +2 -2
- package/dist/{Tile-rSmWn8mR.js → Tile-qiXVUf-t.js} +3 -3
- package/dist/{Title-BUN57fWw.js → Title-BhJcCgdK.js} +20 -4
- package/dist/{Tooltip-CcwyN7PD.js → Tooltip-CpEQOh9v.js} +1 -1
- package/dist/cjs/{Accordion-BPSF6By2.js → Accordion-rCFDAon3.js} +16 -10
- package/dist/cjs/{Avatar-qFiPDVgu.js → Avatar-Bj5BiStx.js} +1 -1
- package/dist/cjs/{Badge-zYZKun4n.js → Badge-D7W3B9G5.js} +8 -2
- package/dist/cjs/{Breadcrumbs-BIhuwcTG.js → Breadcrumbs-xj-c6cUH.js} +2 -2
- package/dist/cjs/{Button-C4_FRFZe.js → Button-DfUQ11Hs.js} +2 -2
- package/dist/cjs/{Cell-zxHVzKan.js → Cell-DEBk3Rbp.js} +6 -3
- package/dist/cjs/{Checkbox-B-1dwjii.js → Checkbox-BIvndDsy.js} +8 -7
- package/dist/cjs/{Chips-BcJttN22.js → Chips-i7zrI9aU.js} +9 -3
- package/dist/cjs/{Choice-CPPQ2o2L.js → Choice-Cm_1ke3H.js} +8 -6
- package/dist/cjs/{ContextMenuItem-BME-EZ-y.js → ContextMenuItem-D6dUiYw7.js} +1 -1
- package/dist/cjs/{CookiesWarning-CfEwpkS8.js → CookiesWarning-BfkNifW2.js} +4 -4
- package/dist/cjs/{DadataHintField-DQHPRLs0.js → DadataHintField-z7Mw-xDn.js} +1 -1
- package/dist/cjs/{DatePicker-BiCqQFyi.js → DatePicker-e4-8mC1N.js} +9091 -9080
- package/dist/cjs/{DropdownItem-bjpmcFH1.js → DropdownItem-BhpFr7Z0.js} +1 -1
- package/dist/cjs/{Icon-DzJtiBBk.js → Icon-2rv_L0yY.js} +2 -2
- package/dist/cjs/{Input-BqKlyvEt.js → Input-vwyG3XF0.js} +13 -11
- package/dist/cjs/{InputPassword-DHgR_QTK.js → InputPassword-BXCwerW2.js} +1 -1
- package/dist/cjs/{Label-BcwjtIk7.js → Label-EFoxH21m.js} +1 -1
- package/dist/cjs/{LanguageSelector-C3i2JJCM.js → LanguageSelector-CFKki1Sr.js} +1 -1
- package/dist/cjs/{Link-3qPujNn9.js → Link-B6Xq7PWn.js} +9 -1
- package/dist/cjs/{ListItem-CvMoKXM-.js → ListItem-C3tWa-2I.js} +1 -1
- package/dist/cjs/{Logo-YADZn1N4.js → Logo-CcEF4P2z.js} +3 -3
- package/dist/cjs/{Menu-CDlB7QNf.js → Menu-rXCCn52A.js} +1 -1
- package/dist/cjs/{MenuItem-4uVtNhb4.js → MenuItem-C__OMtEI.js} +1 -1
- package/dist/cjs/{ModalLoader-A2KkSC3x.js → ModalLoader-Cddzca-W.js} +8 -1
- package/dist/cjs/{NotificationList-BTvz_kvZ.js → NotificationList-CKd0PxLU.js} +3 -3
- package/dist/cjs/{Pagination-B0-KGWSv.js → Pagination-D6thfJMP.js} +2 -2
- package/dist/cjs/{Response-XesiDp89.js → Response-CwdUpO-8.js} +4 -4
- package/dist/cjs/{SearchResult-D147g0-n.js → SearchResult-BnIZD8lL.js} +1 -1
- package/dist/cjs/{SiteMenuButton-ChUD4CgP.js → SiteMenuButton-B2wBLVOJ.js} +1 -1
- package/dist/cjs/{Swiper-DHjkfpbP.js → Swiper-DrXdHybn.js} +4 -4
- package/dist/cjs/{SwitchField-CdpEiqFv.js → SwitchField-B0N-28Ne.js} +1 -1
- package/dist/cjs/{TabGroup-Vn5oELiY.js → TabGroup-BCw7IKuz.js} +2 -2
- package/dist/cjs/{Tile-j8EfyWDg.js → Tile-2VY0LzsE.js} +3 -3
- package/dist/cjs/{Title-C3lN-EvU.js → Title-DZn77tSl.js} +20 -4
- package/dist/cjs/{Tooltip-CnnungCh.js → Tooltip-DRsL77n1.js} +1 -1
- package/dist/cjs/components/Accordion/Accordion.d.ts +2 -2
- package/dist/cjs/components/Accordion/Accordion.interface.d.ts +52 -52
- package/dist/cjs/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/cjs/components/Accordion.js +5 -5
- package/dist/cjs/components/Avatar/Avatar.interface.d.ts +12 -12
- package/dist/cjs/components/Avatar.js +5 -5
- package/dist/cjs/components/Badge/Badge.interface.d.ts +13 -12
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
- package/dist/cjs/components/Breadcrumbs.js +5 -5
- package/dist/cjs/components/Button/Button.interface.d.ts +26 -26
- package/dist/cjs/components/Button.js +5 -5
- package/dist/cjs/components/Caption/Caption.interface.d.ts +7 -7
- package/dist/cjs/components/Card/Card.interface.d.ts +13 -13
- package/dist/cjs/components/Cell/Cell.interface.d.ts +29 -28
- package/dist/cjs/components/Cell.js +6 -6
- package/dist/cjs/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/cjs/components/Checkbox/Checkbox.interface.d.ts +43 -44
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips/Chips.interface.d.ts +19 -16
- package/dist/cjs/components/Chips.js +1 -1
- package/dist/cjs/components/Choice/Choice.interface.d.ts +26 -26
- package/dist/cjs/components/Choice.js +5 -5
- package/dist/cjs/components/Code/Code.interface.d.ts +16 -16
- package/dist/cjs/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
- package/dist/cjs/components/ContextMenu.js +5 -5
- package/dist/cjs/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
- package/dist/cjs/components/CookiesWarning.js +6 -6
- package/dist/cjs/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/cjs/components/DadataHintField.js +2 -2
- package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +54 -50
- package/dist/cjs/components/DatePicker.js +10 -10
- package/dist/cjs/components/Divider/Divider.interface.d.ts +23 -23
- package/dist/cjs/components/Dot/Dot.interface.d.ts +16 -16
- package/dist/cjs/components/Drawer/Drawer.interface.d.ts +2 -2
- package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +26 -26
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/Flex/Flex.interface.d.ts +30 -30
- package/dist/cjs/components/FormField/FormFiled.interface.d.ts +45 -45
- package/dist/cjs/components/FormField.js +7 -7
- package/dist/cjs/components/Grid/Grid.interface.d.ts +31 -31
- package/dist/cjs/components/Group/Group.interface.d.ts +14 -14
- package/dist/cjs/components/Icon/Icon.interface.d.ts +29 -29
- package/dist/cjs/components/Icon.js +4 -4
- package/dist/cjs/components/Image/Image.interface.d.ts +8 -8
- package/dist/cjs/components/Input/Input.d.ts +3 -3
- package/dist/cjs/components/Input/Input.interface.d.ts +36 -38
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputMask/Input.d.ts +3 -3
- package/dist/cjs/components/InputMask/Input.interface.d.ts +32 -32
- package/dist/cjs/components/InputPassword/InputPassword.interface.d.ts +30 -30
- package/dist/cjs/components/InputPassword.js +5 -5
- package/dist/cjs/components/Label/Label.interface.d.ts +15 -15
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/LanguageSelector.js +5 -5
- package/dist/cjs/components/Link/Link.interface.d.ts +23 -21
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List/List.interface.d.ts +11 -11
- package/dist/cjs/components/List.js +2 -2
- package/dist/cjs/components/Loader/Loader.interface.d.ts +11 -11
- package/dist/cjs/components/Logo/Logo.interface.d.ts +6 -5
- package/dist/cjs/components/Logo.js +2 -2
- package/dist/cjs/components/Menu/Menu.interface.d.ts +5 -5
- package/dist/cjs/components/Menu.js +3 -3
- package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +21 -21
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal/Modal.interface.d.ts +4 -4
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification/Notification.interface.d.ts +16 -16
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Overlay/Overlay.interface.d.ts +4 -4
- package/dist/cjs/components/Pagination/Pagination.interface.d.ts +20 -20
- package/dist/cjs/components/Pagination.js +6 -6
- package/dist/cjs/components/Panel/Panel.interface.d.ts +19 -19
- package/dist/cjs/components/Radio/Radio.interface.d.ts +25 -25
- package/dist/cjs/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/cjs/components/Response/Response.interface.d.ts +30 -28
- package/dist/cjs/components/Response.js +6 -6
- package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
- package/dist/cjs/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/cjs/components/Search/Search.interface.d.ts +23 -23
- package/dist/cjs/components/Search.js +5 -5
- package/dist/cjs/components/Segmented/Segmented.interface.d.ts +14 -14
- package/dist/cjs/components/Select.js +9 -9
- package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
- package/dist/cjs/components/SiteMenu.js +5 -5
- package/dist/cjs/components/Swiper/Swiper.interface.d.ts +7 -7
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch/Switch.interface.d.ts +2 -2
- package/dist/cjs/components/Tab/Tab.interface.d.ts +29 -29
- package/dist/cjs/components/Tab.js +3 -3
- package/dist/cjs/components/Text/Text.interface.d.ts +20 -20
- package/dist/cjs/components/Textarea/Textarea.interface.d.ts +17 -17
- package/dist/cjs/components/Tile/Tile.interface.d.ts +15 -15
- package/dist/cjs/components/Tile.js +3 -3
- package/dist/cjs/components/Title/Title.interface.d.ts +17 -9
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.interface.d.ts +13 -13
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Video/Video.interface.d.ts +2 -2
- package/dist/cjs/components/Wrapper/Wrapper.interface.d.ts +4 -4
- package/dist/cjs/components.js +37 -37
- package/dist/cjs/constants/componentProps/textColor.js +1 -1
- package/dist/cjs/constants/componentProps/textColorActive.js +1 -1
- package/dist/cjs/constants/componentProps/textColorHover.js +1 -1
- package/dist/cjs/context/Notifications.js +3 -3
- package/dist/cjs/{floating-ui.dom-CW7i9VDu.js → floating-ui.dom-D1St6qnn.js} +29 -17
- package/dist/cjs/hooks/styleAttributes.interface.d.ts +4 -4
- package/dist/cjs/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/cjs/types/componentProps/direction.d.ts +1 -1
- package/dist/cjs/types/componentProps/fill.d.ts +1 -1
- package/dist/cjs/types/componentProps/fillHover.d.ts +1 -1
- package/dist/cjs/types/componentProps/height.d.ts +1 -1
- package/dist/cjs/types/componentProps/itemColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/shape.d.ts +1 -1
- package/dist/cjs/types/componentProps/size.d.ts +1 -1
- package/dist/cjs/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/svgFill.d.ts +1 -0
- package/dist/cjs/types/componentProps/textColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/textColorActive.d.ts +1 -1
- package/dist/cjs/types/componentProps/textColorHover.d.ts +1 -1
- package/dist/cjs/types/componentProps/textSize.d.ts +1 -1
- package/dist/cjs/types/componentProps/textWeight.d.ts +1 -1
- package/dist/cjs/types/componentProps/width.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +14 -13
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/Accordion/Accordion.interface.d.ts +52 -52
- package/dist/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/components/Accordion.js +5 -5
- package/dist/components/Avatar/Avatar.interface.d.ts +12 -12
- package/dist/components/Avatar.js +5 -5
- package/dist/components/Badge/Badge.interface.d.ts +13 -12
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
- package/dist/components/Breadcrumbs.js +5 -5
- package/dist/components/Button/Button.interface.d.ts +26 -26
- package/dist/components/Button.js +5 -5
- package/dist/components/Caption/Caption.interface.d.ts +7 -7
- package/dist/components/Card/Card.interface.d.ts +13 -13
- package/dist/components/Cell/Cell.interface.d.ts +29 -28
- package/dist/components/Cell.js +6 -6
- package/dist/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/Checkbox/Checkbox.interface.d.ts +43 -44
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips/Chips.interface.d.ts +19 -16
- package/dist/components/Chips.js +1 -1
- package/dist/components/Choice/Choice.interface.d.ts +26 -26
- package/dist/components/Choice.js +5 -5
- package/dist/components/Code/Code.interface.d.ts +16 -16
- package/dist/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
- package/dist/components/ContextMenu.js +5 -5
- package/dist/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
- package/dist/components/CookiesWarning.js +6 -6
- package/dist/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/components/DadataHintField.js +2 -2
- package/dist/components/DatePicker/DatePicker.interface.d.ts +54 -50
- package/dist/components/DatePicker.js +10 -10
- package/dist/components/Divider/Divider.interface.d.ts +23 -23
- package/dist/components/Dot/Dot.interface.d.ts +16 -16
- package/dist/components/Drawer/Drawer.interface.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.interface.d.ts +26 -26
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Flex/Flex.interface.d.ts +30 -30
- package/dist/components/FormField/FormFiled.interface.d.ts +45 -45
- package/dist/components/FormField.js +7 -7
- package/dist/components/Grid/Grid.interface.d.ts +31 -31
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group/Group.interface.d.ts +14 -14
- package/dist/components/Icon/Icon.interface.d.ts +29 -29
- package/dist/components/Icon.js +4 -4
- package/dist/components/Image/Image.interface.d.ts +8 -8
- package/dist/components/Input/Input.d.ts +3 -3
- package/dist/components/Input/Input.interface.d.ts +36 -38
- package/dist/components/Input.js +1 -1
- package/dist/components/InputMask/Input.d.ts +3 -3
- package/dist/components/InputMask/Input.interface.d.ts +32 -32
- package/dist/components/InputPassword/InputPassword.interface.d.ts +30 -30
- package/dist/components/InputPassword.js +5 -5
- package/dist/components/Label/Label.interface.d.ts +15 -15
- package/dist/components/Label.js +3 -3
- package/dist/components/LanguageSelector.js +5 -5
- package/dist/components/Link/Link.interface.d.ts +23 -21
- package/dist/components/Link.js +1 -1
- package/dist/components/List/List.interface.d.ts +11 -11
- package/dist/components/List.js +2 -2
- package/dist/components/Loader/Loader.interface.d.ts +11 -11
- package/dist/components/Logo/Logo.interface.d.ts +6 -5
- package/dist/components/Logo.js +2 -2
- package/dist/components/Menu/Menu.interface.d.ts +5 -5
- package/dist/components/Menu.js +3 -3
- package/dist/components/MenuItem/MenuItem.interface.d.ts +21 -21
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal/Modal.interface.d.ts +4 -4
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification/Notification.interface.d.ts +16 -16
- package/dist/components/Notification.js +2 -2
- package/dist/components/Overlay/Overlay.interface.d.ts +4 -4
- package/dist/components/Pagination/Pagination.interface.d.ts +20 -20
- package/dist/components/Pagination.js +6 -6
- package/dist/components/Panel/Panel.interface.d.ts +19 -19
- package/dist/components/Radio/Radio.interface.d.ts +25 -25
- package/dist/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/components/Response/Response.interface.d.ts +30 -28
- package/dist/components/Response.js +6 -6
- package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
- package/dist/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/components/Search/Search.interface.d.ts +23 -23
- package/dist/components/Search.js +5 -5
- package/dist/components/Segmented/Segmented.interface.d.ts +14 -14
- package/dist/components/Select.js +9 -9
- package/dist/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
- package/dist/components/SiteMenu.js +5 -5
- package/dist/components/Swiper/Swiper.interface.d.ts +7 -7
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch/Switch.interface.d.ts +2 -2
- package/dist/components/Tab/Tab.interface.d.ts +29 -29
- package/dist/components/Tab.js +3 -3
- package/dist/components/Text/Text.interface.d.ts +20 -20
- package/dist/components/Textarea/Textarea.interface.d.ts +17 -17
- package/dist/components/Tile/Tile.interface.d.ts +15 -15
- package/dist/components/Tile.js +3 -3
- package/dist/components/Title/Title.interface.d.ts +17 -9
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip/Tooltip.interface.d.ts +13 -13
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Video/Video.interface.d.ts +2 -2
- package/dist/components/Wrapper/Wrapper.interface.d.ts +4 -4
- package/dist/components.js +38 -38
- package/dist/constants/componentProps/textColor.js +1 -1
- package/dist/constants/componentProps/textColorActive.js +1 -1
- package/dist/constants/componentProps/textColorHover.js +1 -1
- package/dist/context/Notifications.js +3 -3
- package/dist/css/components/DatePicker/DatePicker.css +4 -0
- package/dist/css/components/Logo/Logo.css +1 -1
- package/dist/css/components/RangeSlider/RangeSlider.css +4 -1
- package/dist/css/components/Swiper/Swiper.css +2 -2
- package/dist/css/components/Title/Title.css +19 -3
- package/dist/css/styles/svg-color/svg_fill.css +24 -0
- package/dist/css/styles/svg-color/svg_fill_hover.css +18 -0
- package/dist/css/styles/text-color/text-color.css +1 -1
- package/dist/css/styles/text-color/text-color_active.css +1 -1
- package/dist/{floating-ui.dom-B080ZrCv.js → floating-ui.dom-_PBQLJcF.js} +29 -17
- package/dist/hooks/styleAttributes.interface.d.ts +4 -4
- package/dist/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/types/componentProps/borderColor.d.ts +1 -1
- package/dist/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/types/componentProps/direction.d.ts +1 -1
- package/dist/types/componentProps/fill.d.ts +1 -1
- package/dist/types/componentProps/fillHover.d.ts +1 -1
- package/dist/types/componentProps/height.d.ts +1 -1
- package/dist/types/componentProps/itemColor.d.ts +1 -1
- package/dist/types/componentProps/shape.d.ts +1 -1
- package/dist/types/componentProps/size.d.ts +1 -1
- package/dist/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/types/componentProps/svgFill.d.ts +1 -0
- package/dist/types/componentProps/textColor.d.ts +1 -1
- package/dist/types/componentProps/textColorActive.d.ts +1 -1
- package/dist/types/componentProps/textColorHover.d.ts +1 -1
- package/dist/types/componentProps/textSize.d.ts +1 -1
- package/dist/types/componentProps/textWeight.d.ts +1 -1
- package/dist/types/componentProps/width.d.ts +1 -1
- package/dist/types/index.d.ts +14 -13
- package/package.json +39 -36
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
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
|
-
import { L as Link } from './Link-
|
|
7
|
+
import { L as Link } from './Link-Co6uspFK.js';
|
|
8
8
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
9
9
|
|
|
10
10
|
function Dropdown(props) {
|
|
@@ -5,8 +5,8 @@ import clsx from 'clsx';
|
|
|
5
5
|
import SVG from 'react-inlinesvg';
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
|
-
import { a as LinkWrapper } from './Link-
|
|
9
|
-
import { T as Tooltip } from './Tooltip-
|
|
8
|
+
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
9
|
+
import { T as Tooltip } from './Tooltip-CpEQOh9v.js';
|
|
10
10
|
|
|
11
11
|
var iconConfig = {
|
|
12
12
|
appearance: {},
|
|
@@ -1,20 +1,21 @@
|
|
|
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
|
|
|
6
6
|
var inputConfig = {
|
|
7
|
-
state: undefined,
|
|
8
|
-
setState: function (newComponent) {
|
|
9
|
-
inputConfig.state = newComponent;
|
|
10
|
-
},
|
|
11
7
|
appearance: undefined,
|
|
12
8
|
setAppearance: function (newComponent) {
|
|
13
9
|
inputConfig.appearance = newComponent;
|
|
14
10
|
},
|
|
11
|
+
state: undefined,
|
|
12
|
+
// eslint-disable-next-line perfectionist/sort-objects
|
|
13
|
+
setState: function (newComponent) {
|
|
14
|
+
inputConfig.state = newComponent;
|
|
15
|
+
},
|
|
15
16
|
};
|
|
16
17
|
var Input = React__default.forwardRef(function Input(props, ref) {
|
|
17
|
-
var
|
|
18
|
+
var id = props.id, isDisabled = props.isDisabled, appearance = props.appearance, className = props.className, dataTestId = props.dataTestId, index = props.index, name = props.name, placeholder = props.placeholder, state = props.state, type = props.type, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
|
|
18
19
|
var fillClass = useDeviceTargetClass(props, {
|
|
19
20
|
prefix: 'fill_',
|
|
20
21
|
propsKey: 'fill',
|
|
@@ -79,9 +80,12 @@ var Input = React__default.forwardRef(function Input(props, ref) {
|
|
|
79
80
|
prefix: 'width_',
|
|
80
81
|
propsKey: 'width',
|
|
81
82
|
});
|
|
82
|
-
|
|
83
|
-
var
|
|
84
|
-
|
|
83
|
+
// prettier-ignore
|
|
84
|
+
var appearanceConfig = (appearance && inputConfig.appearance && inputConfig.appearance[appearance]);
|
|
85
|
+
var stateConfig = state && inputConfig.state && inputConfig.state[state];
|
|
86
|
+
return (jsxRuntimeExports.jsx("input", { "data-test-id": dataTestId || (name ? "".concat(name, "Input") : 'input'), disabled: isDisabled, id: String(id),
|
|
87
|
+
// @ts-ignore
|
|
88
|
+
index: index, placeholder: placeholder, ref: ref, type: type, value: value, className: clsx(className, 'input', type === 'number' && 'input_type_number', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, !isDisabled ? fillClass : fillDisabledClass, shapeClass ||
|
|
85
89
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
|
|
86
90
|
"input_shape_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), textSizeClass ||
|
|
87
91
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textSize) &&
|
|
@@ -121,9 +125,7 @@ var Input = React__default.forwardRef(function Input(props, ref) {
|
|
|
121
125
|
"text-color_".concat(stateConfig.textColor).replace(/([A-Z])/g, '-$1').toLowerCase())
|
|
122
126
|
: textColorDisabledClass ||
|
|
123
127
|
((stateConfig === null || stateConfig === void 0 ? void 0 : stateConfig.textColor) &&
|
|
124
|
-
"text-color_".concat(stateConfig.textColor).replace(/([A-Z])/g, '-$1').toLowerCase())),
|
|
125
|
-
// @ts-ignore
|
|
126
|
-
index: index, placeholder: placeholder, ref: ref, type: type, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
|
|
128
|
+
"text-color_".concat(stateConfig.textColor).replace(/([A-Z])/g, '-$1').toLowerCase())), onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
|
|
127
129
|
});
|
|
128
130
|
Input.defaultProps = {
|
|
129
131
|
size: 'm',
|
|
@@ -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-DWnG-4KG.js';
|
|
6
6
|
|
|
7
7
|
var inputPasswordConfig = {
|
|
8
8
|
state: undefined,
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
6
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
7
|
-
import { T as Tooltip } from './Tooltip-
|
|
7
|
+
import { T as Tooltip } from './Tooltip-CpEQOh9v.js';
|
|
8
8
|
|
|
9
9
|
var labelConfig = {
|
|
10
10
|
appearance: undefined,
|
|
@@ -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-DWnG-4KG.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;
|
|
@@ -29,6 +29,14 @@ function Link(props) {
|
|
|
29
29
|
prefix: 'fill_',
|
|
30
30
|
propsKey: 'fill',
|
|
31
31
|
});
|
|
32
|
+
var svgFillClass = useDeviceTargetClass(props, {
|
|
33
|
+
prefix: 'svg_fill_',
|
|
34
|
+
propsKey: 'svgFill',
|
|
35
|
+
});
|
|
36
|
+
var svgFillHoverClass = useDeviceTargetClass(props, {
|
|
37
|
+
prefix: 'svg_fill_hover_',
|
|
38
|
+
propsKey: 'svgFillHover',
|
|
39
|
+
});
|
|
32
40
|
var weightClass = useDeviceTargetClass(props, {
|
|
33
41
|
prefix: 'text-weight_',
|
|
34
42
|
propsKey: 'textWeight',
|
|
@@ -47,7 +55,7 @@ function Link(props) {
|
|
|
47
55
|
});
|
|
48
56
|
// @ts-expect-error
|
|
49
57
|
var styles = useStyles(props).styles;
|
|
50
|
-
return (jsxRuntimeExports.jsxs(LinkWrapper, { className: clsx(className, 'link', directionClass, sizeClass, underline && "link_underline_".concat(underline), (textColorClass ||
|
|
58
|
+
return (jsxRuntimeExports.jsxs(LinkWrapper, { className: clsx(className, 'link', directionClass, sizeClass, svgFillClass, svgFillHoverClass, underline && "link_underline_".concat(underline), (textColorClass ||
|
|
51
59
|
textColorHoverClass ||
|
|
52
60
|
textGradientClass ||
|
|
53
61
|
textStyleClass ||
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useStyles } from './hooks/useStyles.js';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { L as Link } from './Link-
|
|
5
|
+
import { L as Link } from './Link-Co6uspFK.js';
|
|
6
6
|
|
|
7
7
|
function List(props) {
|
|
8
8
|
var children = props.children, className = props.className, style = props.style, type = props.type;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import { a as LinkWrapper } from './Link-
|
|
3
|
+
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
6
|
|
|
7
7
|
function Logo(props) {
|
|
8
|
-
var className = props.className, href = props.href, link = props.link, mode = props.mode, size = props.size, source = props.source, src = props.src;
|
|
8
|
+
var alt = props.alt, className = props.className, href = props.href, link = props.link, mode = props.mode, size = props.size, source = props.source, src = props.src;
|
|
9
9
|
var alignItemsClass = useDeviceTargetClass(props, {
|
|
10
10
|
prefix: 'logo_align-items_',
|
|
11
11
|
propsKey: 'alignItems',
|
|
@@ -24,7 +24,7 @@ function Logo(props) {
|
|
|
24
24
|
});
|
|
25
25
|
// @ts-expect-error
|
|
26
26
|
var logo = useStyles(props).styles;
|
|
27
|
-
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'logo',
|
|
27
|
+
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'logo', alignClass, alignDirectionClass, alignItemsClass, alt, mode && "logo_mode_".concat(mode), size && "logo_size_".concat(size), widthClass), style: logo, children: link || href ? (jsxRuntimeExports.jsxs(LinkWrapper, { href: link || href, children: [' ', jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source })] })) : (jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source })) }));
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export { Logo 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-COZ-C9K2.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;
|
|
@@ -3,7 +3,7 @@ import React__default, { useMemo } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
|
-
import { L as Link } from './Link-
|
|
6
|
+
import { L as Link } from './Link-Co6uspFK.js';
|
|
7
7
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
8
8
|
|
|
9
9
|
var menuItemConfig = {
|
|
@@ -63,6 +63,8 @@ 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);
|
|
66
68
|
// Callback
|
|
67
69
|
if (typeof onOpenModal === 'function') {
|
|
68
70
|
onOpenModal();
|
|
@@ -110,7 +112,12 @@ var Modal = React__default.forwardRef(function Modal(props, ref) {
|
|
|
110
112
|
}
|
|
111
113
|
}, []);
|
|
112
114
|
// Save ref things
|
|
113
|
-
useImperativeHandle(ref, function () { return ({ isOpen: isOpen,
|
|
115
|
+
useImperativeHandle(ref, function () { return ({ isOpen: isOpen, closeModal: closeModal, modalElement: modalElement, openModal: openModal }); }, [
|
|
116
|
+
isOpen,
|
|
117
|
+
openModal,
|
|
118
|
+
closeModal,
|
|
119
|
+
modalElement,
|
|
120
|
+
]);
|
|
114
121
|
var fillClass = useDeviceTargetClass(props, {
|
|
115
122
|
prefix: 'fill_',
|
|
116
123
|
propsKey: 'fill',
|
|
@@ -4,7 +4,7 @@ import { useNotifications, useNotificationsAPI } from './context/Notifications.j
|
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
7
|
-
import { T as Title } from './Title-
|
|
7
|
+
import { T as Title } from './Title-BhJcCgdK.js';
|
|
8
8
|
|
|
9
9
|
var notificationItemConfig = {
|
|
10
10
|
appearance: {},
|
|
@@ -36,8 +36,8 @@ NotificationItem.defaultProps = {
|
|
|
36
36
|
function NotificationList(props) {
|
|
37
37
|
var notifications = useNotifications();
|
|
38
38
|
var hideNotifications = useNotificationsAPI().hideNotifications;
|
|
39
|
-
var className = props.className,
|
|
40
|
-
return (jsxRuntimeExports.jsx("div", { className: clsx('notification', className), children: jsxRuntimeExports.jsx("div", { className: "notification__wrapper", children: notifications.map(function (notification, i) { return (jsxRuntimeExports.jsx(NotificationItem, { id: notification.id,
|
|
39
|
+
var className = props.className, closeButton = props.closeButton, set = props.set, size = props.size, type = props.type;
|
|
40
|
+
return (jsxRuntimeExports.jsx("div", { className: clsx('notification', className), children: jsxRuntimeExports.jsx("div", { className: "notification__wrapper", children: notifications.map(function (notification, i) { return (jsxRuntimeExports.jsx(NotificationItem, { closeButton: closeButton, id: notification.id, size: notification.size || size, status: notification.status, text: notification.text, title: notification.title, type: notification.type || type, set: notification.set || set, onClickClose: hideNotifications }, i)); }) }) }));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export { NotificationItem as N, NotificationList as a, notificationItemConfig as n };
|
|
@@ -4,8 +4,8 @@ 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-
|
|
7
|
+
import { D as Dropdown, a as DropdownItem } from './DropdownItem-Cf5vBgDu.js';
|
|
8
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
9
9
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
10
10
|
|
|
11
11
|
function Pagination(props) {
|
|
@@ -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-
|
|
7
|
+
import { B as Button } from './Button-ULZVVxWC.js';
|
|
8
8
|
import { G as Group } from './Group-C2kJKhWJ.js';
|
|
9
9
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
10
|
-
import { T as Title } from './Title-
|
|
10
|
+
import { T as Title } from './Title-BhJcCgdK.js';
|
|
11
11
|
|
|
12
12
|
var responseConfig = {
|
|
13
13
|
appearance: undefined,
|
|
@@ -16,7 +16,7 @@ var responseConfig = {
|
|
|
16
16
|
},
|
|
17
17
|
};
|
|
18
18
|
function Response(props) {
|
|
19
|
-
var after = props.after, before = props.before, appearance = props.appearance, imageSrc = props.imageSrc, className = props.className, title = props.title,
|
|
19
|
+
var after = props.after, before = props.before, appearance = props.appearance, imageSrc = props.imageSrc, className = props.className, title = props.title, titleTextColor = props.titleTextColor, titleTextSize = props.titleTextSize, titleTextWeight = props.titleTextWeight, message = props.message, messageTextColor = props.messageTextColor, messageTextSize = props.messageTextSize, messageTextWeight = props.messageTextWeight, primaryButton = props.primaryButton, primaryButtonAfter = props.primaryButtonAfter, primaryButtonAppearance = props.primaryButtonAppearance, primaryButtonBefore = props.primaryButtonBefore, primaryButtonFill = props.primaryButtonFill, primaryButtonFillHover = props.primaryButtonFillHover, primaryButtonLabel = props.primaryButtonLabel, primaryButtonLabelTextColor = props.primaryButtonLabelTextColor, primaryButtonLabelTextSize = props.primaryButtonLabelTextSize, primaryButtonShape = props.primaryButtonShape, primaryButtonSize = props.primaryButtonSize, primaryButtonWidth = props.primaryButtonWidth, secondaryButton = props.secondaryButton, secondaryButtonAfter = props.secondaryButtonAfter, secondaryButtonAppearance = props.secondaryButtonAppearance, secondaryButtonBefore = props.secondaryButtonBefore, secondaryButtonFill = props.secondaryButtonFill, secondaryButtonFillHover = props.secondaryButtonFillHover, secondaryButtonLabel = props.secondaryButtonLabel, secondaryButtonLabelTextColor = props.secondaryButtonLabelTextColor, secondaryButtonLabelTextSize = props.secondaryButtonLabelTextSize, secondaryButtonShape = props.secondaryButtonShape, secondaryButtonSize = props.secondaryButtonSize, secondaryButtonWidth = props.secondaryButtonWidth, set = props.set, onClickPrimaryButton = props.onClickPrimaryButton, onClickSecondaryButton = props.onClickSecondaryButton;
|
|
20
20
|
var ImageComponent = useMemo(function () {
|
|
21
21
|
if (imageSrc) {
|
|
22
22
|
// eslint-disable-next-line react/prop-types
|
|
@@ -64,7 +64,7 @@ function Response(props) {
|
|
|
64
64
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
65
65
|
"fill_hover_".concat(appearanceConfig.fillHover).replace(/([A-Z])/g, '-$1').toLowerCase()), shapeClass ||
|
|
66
66
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
|
|
67
|
-
"fill_hover_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), borderColorClass, borderColorHoverClass, borderWidthClass, borderTypeClass, set && "response_set_".concat(set)), style: responseStyles, children: [before, ImageComponent || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.imageSrc), jsxRuntimeExports.jsxs(Group, { className: "response__desc", width: "fill", children: [title && (jsxRuntimeExports.jsx(Title, { className: "response__title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize) || 'h2', textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), textWeight: titleTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextWeight) || '600', children: title })), message && (jsxRuntimeExports.jsx(Text, { className: "response__message", size: messageTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextSize) || 'xxl', textColor: messageTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextColor), children: message }))] }), (primaryButtonLabel ||
|
|
67
|
+
"fill_hover_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), borderColorClass, borderColorHoverClass, borderWidthClass, borderTypeClass, set && "response_set_".concat(set)), style: responseStyles, children: [before, ImageComponent || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.imageSrc), jsxRuntimeExports.jsxs(Group, { className: "response__desc", width: "fill", children: [title && (jsxRuntimeExports.jsx(Title, { className: "response__title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize) || 'h2', textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), textWeight: titleTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextWeight) || '600', children: title })), message && (jsxRuntimeExports.jsx(Text, { className: "response__message", size: messageTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextSize) || 'xxl', textColor: messageTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextColor), textWeight: messageTextWeight, children: message }))] }), (primaryButtonLabel ||
|
|
68
68
|
primaryButton ||
|
|
69
69
|
secondaryButtonLabel ||
|
|
70
70
|
secondaryButton ||
|
|
@@ -3,7 +3,7 @@ import React__default, { useCallback, useMemo } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
|
-
import { I as Icon } from './Icon-
|
|
6
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
7
7
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
8
8
|
import { S as Scrollbar } from './Scrollbar-DrRNpn12.js';
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
7
7
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
8
8
|
|
|
9
9
|
function SiteMenu(props) {
|
|
@@ -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-BhJcCgdK.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* SSR Window 4.0.2
|
|
@@ -610,7 +610,7 @@ function Observer(_ref) {
|
|
|
610
610
|
});
|
|
611
611
|
observer.observe(target, {
|
|
612
612
|
attributes: typeof options.attributes === 'undefined' ? true : options.attributes,
|
|
613
|
-
childList: typeof options.childList === 'undefined' ? true : options.childList,
|
|
613
|
+
childList: swiper.isElement || (typeof options.childList === 'undefined' ? true : options).childList,
|
|
614
614
|
characterData: typeof options.characterData === 'undefined' ? true : options.characterData
|
|
615
615
|
});
|
|
616
616
|
observers.push(observer);
|
|
@@ -4664,7 +4664,7 @@ const updateOnVirtualData = swiper => {
|
|
|
4664
4664
|
};
|
|
4665
4665
|
|
|
4666
4666
|
/**
|
|
4667
|
-
* Swiper React 11.1.
|
|
4667
|
+
* Swiper React 11.1.5
|
|
4668
4668
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4669
4669
|
* https://swiperjs.com
|
|
4670
4670
|
*
|
|
@@ -4672,7 +4672,7 @@ const updateOnVirtualData = swiper => {
|
|
|
4672
4672
|
*
|
|
4673
4673
|
* Released under the MIT License
|
|
4674
4674
|
*
|
|
4675
|
-
* Released on:
|
|
4675
|
+
* Released on: July 15, 2024
|
|
4676
4676
|
*/
|
|
4677
4677
|
|
|
4678
4678
|
|
|
@@ -6,7 +6,7 @@ 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
8
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
9
|
-
import { I as Icon } from './Icon-
|
|
9
|
+
import { I as Icon } from './Icon-DWnG-4KG.js';
|
|
10
10
|
import { useStyles } from './hooks/useStyles.js';
|
|
11
11
|
import { S as Switch } from './Switch-0BHqovLA.js';
|
|
12
12
|
|
|
@@ -3,9 +3,9 @@ import React__default, { useMemo } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
|
-
import { B as Badge } from './Badge-
|
|
6
|
+
import { B as Badge } from './Badge-BBbMdbjo.js';
|
|
7
7
|
import { D as Divider } from './Divider-Dhj6sMWd.js';
|
|
8
|
-
import { L as Link } from './Link-
|
|
8
|
+
import { L as Link } from './Link-Co6uspFK.js';
|
|
9
9
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
10
10
|
|
|
11
11
|
var tabConfig = {
|
|
@@ -2,12 +2,12 @@ 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-
|
|
5
|
+
import { B as Badge } from './Badge-BBbMdbjo.js';
|
|
6
6
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
7
|
-
import { T as Title } from './Title-
|
|
7
|
+
import { T as Title } from './Title-BhJcCgdK.js';
|
|
8
8
|
|
|
9
9
|
function Tile(props) {
|
|
10
|
-
var after = props.after, badge = props.badge, badgeSize = props.badgeSize, badgeTextColor = props.badgeTextColor, badgeTextSize = props.badgeTextSize, before = props.before,
|
|
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;
|
|
11
11
|
var fillClass = useDeviceTargetClass(props, {
|
|
12
12
|
prefix: 'fill_',
|
|
13
13
|
propsKey: 'fill',
|
|
@@ -12,8 +12,16 @@ var titleConfig = {
|
|
|
12
12
|
},
|
|
13
13
|
};
|
|
14
14
|
function Title(props) {
|
|
15
|
-
var appearance = props.appearance, children = props.children, className = props.className, dataTour = props.dataTour, mode = props.mode, size = props.size, sizeDesktop = props.sizeDesktop, sizeMobile = props.sizeMobile, sizeTablet = props.sizeTablet, _a = props.tag, tag = _a === void 0 ? 'span' : _a, text = props.text, textWrap = props.textWrap, onClick = props.onClick;
|
|
15
|
+
var appearance = props.appearance, children = props.children, className = props.className, dataTour = props.dataTour, before = props.before, beforeWrapper = props.beforeWrapper, afterWrapper = props.afterWrapper, after = props.after, mode = props.mode, size = props.size, sizeDesktop = props.sizeDesktop, sizeMobile = props.sizeMobile, sizeTablet = props.sizeTablet, _a = props.tag, tag = _a === void 0 ? 'span' : _a, text = props.text, textWrap = props.textWrap, onClick = props.onClick;
|
|
16
16
|
var _b = useUserDeviceContext(), isMobile = _b.isMobile, isTablet = _b.isTablet, isDesktop = _b.isDesktop;
|
|
17
|
+
var directionClass = useDeviceTargetClass(props, {
|
|
18
|
+
prefix: 'title_direction_',
|
|
19
|
+
propsKey: 'direction',
|
|
20
|
+
});
|
|
21
|
+
var directionWrapperClass = useDeviceTargetClass(props, {
|
|
22
|
+
prefix: 'title-direction_',
|
|
23
|
+
propsKey: 'wrapperDirection',
|
|
24
|
+
});
|
|
17
25
|
var textColorClass = useDeviceTargetClass(props, {
|
|
18
26
|
prefix: 'text-color_',
|
|
19
27
|
propsKey: 'textColor',
|
|
@@ -26,6 +34,14 @@ function Title(props) {
|
|
|
26
34
|
prefix: 'text-color_hover_',
|
|
27
35
|
propsKey: 'textColorHover',
|
|
28
36
|
});
|
|
37
|
+
var svgFillClass = useDeviceTargetClass(props, {
|
|
38
|
+
prefix: 'svg_fill_',
|
|
39
|
+
propsKey: 'svgFill',
|
|
40
|
+
});
|
|
41
|
+
var svgFillHoverClass = useDeviceTargetClass(props, {
|
|
42
|
+
prefix: 'svg_fill_hover_',
|
|
43
|
+
propsKey: 'svgFillHover',
|
|
44
|
+
});
|
|
29
45
|
var textAlignClass = useDeviceTargetClass(props, {
|
|
30
46
|
prefix: 'text-align_',
|
|
31
47
|
propsKey: 'textAlign',
|
|
@@ -55,7 +71,7 @@ function Title(props) {
|
|
|
55
71
|
propsKey: 'textTruncate',
|
|
56
72
|
});
|
|
57
73
|
// @ts-expect-error
|
|
58
|
-
var
|
|
74
|
+
var _c = useStyles(props), titleStyles = _c.styles, titleWrapperStyles = _c.wrapper;
|
|
59
75
|
var appearanceConfig = useMemo(function () { return appearance && titleConfig.appearance && titleConfig.appearance[appearance]; }, [appearance, titleConfig]);
|
|
60
76
|
// Element type (h1, h2, ..., h6)
|
|
61
77
|
var Tag = useMemo(function () {
|
|
@@ -73,9 +89,9 @@ function Title(props) {
|
|
|
73
89
|
}
|
|
74
90
|
return size ? size : 'span';
|
|
75
91
|
}, [isMobile, isTablet, isDesktop]);
|
|
76
|
-
return (jsxRuntimeExports.
|
|
92
|
+
return (jsxRuntimeExports.jsxs(Tag, { className: clsx(className, 'title', fillColorClass, svgFillClass, svgFillHoverClass, size && "title_size_".concat(size), mode && "title_mode_".concat(mode), directionClass, textColorClass ||
|
|
77
93
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor) &&
|
|
78
|
-
"text-color_".concat(appearanceConfig.textColor).replace(/([A-Z])/g, '-$1').toLowerCase()), textColorActiveClass, textColorHoverClass, typeClass, textGradientClass, textStyleClass, weightClass, textWrap && "word-wrap_".concat(textWrap)), "data-tour": dataTour, onClick: onClick, style: titleStyles, children: jsxRuntimeExports.
|
|
94
|
+
"text-color_".concat(appearanceConfig.textColor).replace(/([A-Z])/g, '-$1').toLowerCase()), textColorActiveClass, textColorHoverClass, typeClass, textGradientClass, textStyleClass, weightClass, textWrap && "word-wrap_".concat(textWrap)), "data-tour": dataTour, onClick: onClick, style: titleStyles, children: [before, jsxRuntimeExports.jsxs("span", { className: clsx(textAlignClass, directionWrapperClass, 'title__wrapper', textTruncateClass), style: titleWrapperStyles, children: [beforeWrapper, children || text, afterWrapper] }), after] }));
|
|
79
95
|
}
|
|
80
96
|
Title.defaultProps = {
|
|
81
97
|
size: 'h3',
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
6
|
import { T as Text } from './Text-CxrzHFN1.js';
|
|
7
|
-
import { T as Title } from './Title-
|
|
7
|
+
import { T as Title } from './Title-BhJcCgdK.js';
|
|
8
8
|
|
|
9
9
|
var tooltipConfig = {
|
|
10
10
|
appearance: undefined,
|
|
@@ -7,7 +7,7 @@ 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-
|
|
10
|
+
var Icon = require('./Icon-2rv_L0yY.js');
|
|
11
11
|
var Text = require('./Text-C8vlKWNN.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -46,12 +46,17 @@ const icon16 = {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
function AccordionItem(props) {
|
|
49
|
-
var
|
|
49
|
+
var id = props.id, children = props.children, isExpanded = props.isExpanded, afterContent = props.afterContent, beforeContent = props.beforeContent, className = props.className, content = props.content, contentTextColor = props.contentTextColor, contentTextSize = props.contentTextSize, contentTextWeight = props.contentTextWeight, icon = props.icon, _a = props.iconFill, iconFill = _a === void 0 ? 'surfaceItemAccent' : _a, size = props.size, title = props.title, titleTextColor = props.titleTextColor, titleTextSize = props.titleTextSize, titleTextWeight = props.titleTextWeight, onClick = props.onClick;
|
|
50
50
|
var onClickTitle = React.useCallback(function () {
|
|
51
|
-
// !isExpanded - is next state of expanded
|
|
52
|
-
var thisItemData = {
|
|
51
|
+
// "!isExpanded" - is next state of expanded
|
|
52
|
+
var thisItemData = {
|
|
53
|
+
id: id,
|
|
54
|
+
isExpanded: !isExpanded,
|
|
55
|
+
content: content,
|
|
56
|
+
title: title,
|
|
57
|
+
};
|
|
53
58
|
onClick && onClick(thisItemData);
|
|
54
|
-
}, [
|
|
59
|
+
}, [id, title, content, isExpanded, onClick]);
|
|
55
60
|
var borderColorClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
56
61
|
prefix: 'border-color_',
|
|
57
62
|
propsKey: 'borderColor',
|
|
@@ -90,7 +95,7 @@ function AccordionItem(props) {
|
|
|
90
95
|
});
|
|
91
96
|
// @ts-expect-error
|
|
92
97
|
var styles = useStyles.useStyles(props).styles;
|
|
93
|
-
return (jsxRuntime.jsxRuntimeExports.jsxs("div", { className: clsx__default.default('accordion-item', className, borderColorClass, fillClass, fillHoverClass, shapeClass, size && "accordion-item_size_".concat(size), isExpanded && 'accordion-item_state_open'),
|
|
98
|
+
return (jsxRuntime.jsxRuntimeExports.jsxs("div", { style: styles, className: clsx__default.default('accordion-item', className, borderColorClass, fillClass, fillHoverClass, shapeClass, size && "accordion-item_size_".concat(size), isExpanded && 'accordion-item_state_open'), children: [jsxRuntime.jsxRuntimeExports.jsx(Text.Text, { size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, className: clsx__default.default('accordion-item__title', titleBorderColorClass, titleFillClass, titleFillHoverClass, 'cursor_type_pointer'), onClick: onClickTitle, children: title }), jsxRuntime.jsxRuntimeExports.jsx("div", { className: clsx__default.default('accordion-item__icon', 'cursor_type_pointer'), onClick: onClickTitle, children: icon || jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, { SvgImage: icon16.ChevronDown, iconFill: iconFill, size: "16" }) }), beforeContent && beforeContent, isExpanded && (jsxRuntime.jsxRuntimeExports.jsx("div", { className: clsx__default.default('accordion-item__content', contentBorderColorClass, contentFillClass, fillHoverClass), children: children ||
|
|
94
99
|
(content && (jsxRuntime.jsxRuntimeExports.jsx(Text.Text, { size: contentTextSize, textColor: contentTextColor, textWeight: contentTextWeight, children: content }))) })), afterContent && afterContent] }));
|
|
95
100
|
}
|
|
96
101
|
AccordionItem.defaultProps = {
|
|
@@ -98,7 +103,7 @@ AccordionItem.defaultProps = {
|
|
|
98
103
|
};
|
|
99
104
|
|
|
100
105
|
function Accordion(props) {
|
|
101
|
-
var children = props.children,
|
|
106
|
+
var children = props.children, isMultiple = props.isMultiple, className = props.className, _a = props.initial, initial = _a === void 0 ? [] : _a, items = props.items, onClickItem = props.onClickItem;
|
|
102
107
|
var _b = React.useState(castArray__default.default(initial)), expandedItems = _b[0], setExpandedItems = _b[1];
|
|
103
108
|
var onClickAccordionItem = React.useCallback(function (targetItem) {
|
|
104
109
|
setExpandedItems(function (prevState) {
|
|
@@ -123,12 +128,13 @@ function Accordion(props) {
|
|
|
123
128
|
}
|
|
124
129
|
});
|
|
125
130
|
onClickItem && onClickItem(targetItem);
|
|
126
|
-
}, [onClickItem]);
|
|
131
|
+
}, [isMultiple, onClickItem]);
|
|
127
132
|
var accordionItemsList = React.useMemo(function () {
|
|
128
133
|
if (items) {
|
|
129
|
-
return items.map(function (item, i) { return (jsxRuntime.jsxRuntimeExports.jsx(AccordionItem, { content: item.content, id: item.id, isExpanded: expandedItems.includes(item.id),
|
|
134
|
+
return items.map(function (item, i) { return (jsxRuntime.jsxRuntimeExports.jsx(AccordionItem, { content: item.content, id: item.id, title: item.title, isExpanded: expandedItems.includes(item.id), onClick: onClickAccordionItem }, "accordionItem_".concat(item.id || i + 1))); });
|
|
130
135
|
}
|
|
131
136
|
if (children) {
|
|
137
|
+
// @ts-ignore
|
|
132
138
|
return React__default.default.Children.toArray(children).map(function (child) {
|
|
133
139
|
if (React__default.default.isValidElement(child)) {
|
|
134
140
|
var childID = child.props.id || child.key;
|
|
@@ -170,7 +176,7 @@ function Accordion(props) {
|
|
|
170
176
|
*/
|
|
171
177
|
// @ts-expect-error
|
|
172
178
|
var _c = useStyles.useStyles(props), accordionStyles = _c.styles, accordionWrapperStyles = _c.wrapper;
|
|
173
|
-
return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: clsx__default.default(className, 'accordion', borderColorClass, directionClass, fillClass, shapeClass, widthClass),
|
|
179
|
+
return (jsxRuntime.jsxRuntimeExports.jsx("div", { style: accordionStyles, className: clsx__default.default(className, 'accordion', borderColorClass, directionClass, fillClass, shapeClass, widthClass), children: jsxRuntime.jsxRuntimeExports.jsx("div", { className: "accordion__wrapper", style: accordionWrapperStyles, children: accordionItemsList }) }));
|
|
174
180
|
}
|
|
175
181
|
Accordion.defaultProps = {
|
|
176
182
|
initial: [],
|
|
@@ -4,7 +4,7 @@ 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-2rv_L0yY.js');
|
|
8
8
|
var Image = require('./Image-CCx6QWZj.js');
|
|
9
9
|
var Text = require('./Text-C8vlKWNN.js');
|
|
10
10
|
|
|
@@ -18,7 +18,7 @@ var badgeConfig = {
|
|
|
18
18
|
},
|
|
19
19
|
};
|
|
20
20
|
function Badge(props) {
|
|
21
|
-
var _a;
|
|
21
|
+
var _a, _b;
|
|
22
22
|
var appearance = props.appearance, children = props.children, className = props.className, mode = props.mode; props.shape; props.size; var textColor = props.textColor, textSize = props.textSize, value = props.value;
|
|
23
23
|
var borderColorClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
24
24
|
prefix: 'border-color_',
|
|
@@ -40,6 +40,10 @@ function Badge(props) {
|
|
|
40
40
|
prefix: 'fill_',
|
|
41
41
|
propsKey: 'fill',
|
|
42
42
|
});
|
|
43
|
+
var fillHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
44
|
+
prefix: 'fill_hover_',
|
|
45
|
+
propsKey: 'fillHover',
|
|
46
|
+
});
|
|
43
47
|
var positionClass = useDeviceTargetClass.useDeviceTargetClass(props, {
|
|
44
48
|
prefix: 'position_',
|
|
45
49
|
propsKey: 'position',
|
|
@@ -57,7 +61,9 @@ function Badge(props) {
|
|
|
57
61
|
var appearanceConfig = React.useMemo(function () { return appearance && badgeConfig.appearance && badgeConfig.appearance[appearance]; }, [appearance, badgeConfig]);
|
|
58
62
|
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 ||
|
|
59
63
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
60
|
-
((_a = "fill_".concat(appearanceConfig.fill)) === null || _a === void 0 ? void 0 : _a.replace(/([A-Z])/g, '-$1').toLowerCase())),
|
|
64
|
+
((_a = "fill_".concat(appearanceConfig.fill)) === null || _a === void 0 ? void 0 : _a.replace(/([A-Z])/g, '-$1').toLowerCase())), fillHoverClass ||
|
|
65
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
66
|
+
((_b = "fill_hover_".concat(appearanceConfig.fillHover)) === null || _b === void 0 ? void 0 : _b.replace(/([A-Z])/g, '-$1').toLowerCase())), positionClass, sizeClass, shapeClass), style: badgeStyles, children: children ||
|
|
61
67
|
(value && (jsxRuntime.jsxRuntimeExports.jsx(Text.Text, { size: textSize, textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), children: value }))) }));
|
|
62
68
|
}
|
|
63
69
|
Badge.defaultProps = {
|
|
@@ -7,8 +7,8 @@ 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-
|
|
11
|
-
var Link = require('./Link-
|
|
10
|
+
var Icon = require('./Icon-2rv_L0yY.js');
|
|
11
|
+
var Link = require('./Link-B6Xq7PWn.js');
|
|
12
12
|
var Text = require('./Text-C8vlKWNN.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -5,8 +5,8 @@ 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-
|
|
9
|
-
var Link = require('./Link-
|
|
8
|
+
var Icon = require('./Icon-2rv_L0yY.js');
|
|
9
|
+
var Link = require('./Link-B6Xq7PWn.js');
|
|
10
10
|
var Loader = require('./Loader-2vQxF_aO.js');
|
|
11
11
|
var Text = require('./Text-C8vlKWNN.js');
|
|
12
12
|
|