@itcase/ui 1.1.9 → 1.1.11
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-CqPVnTKh.js → Accordion-vh2p5Mzs.js} +5 -7
- package/dist/{Avatar-DB6Si0s1.js → Avatar-DhZxzLEY.js} +6 -6
- package/dist/Badge-D-4zpdfU.js +62 -0
- package/dist/Breadcrumbs-CciIq1Na.js +88 -0
- package/dist/Button-BXClqM-t.js +96 -0
- package/dist/Caption-DDh0VFPJ.js +25 -0
- package/dist/Card-DPGgzPuD.js +28 -0
- package/dist/Cell-BfV_aVxs.js +65 -0
- package/dist/Checkbox-C-H_Z4S_.js +86 -0
- package/dist/Chips-BR_EPV82.js +69 -0
- package/dist/Choice-BJd9Jx4D.js +98 -0
- package/dist/Code-DkWVSDOy.js +273 -0
- package/dist/ContextMenuItem-CpZ3pjky.js +46 -0
- package/dist/CookiesWarning-jN2hWm12.js +52 -0
- package/dist/DadataHintField-QzDwYdF1.js +1103 -0
- package/dist/DatePicker-Nm4Ut2tD.js +14109 -0
- package/dist/{Divider-BlBwMHgl.js → Divider-Dhj6sMWd.js} +4 -1
- package/dist/{Dot-C3R1y59u.js → Dot-Bc0Ly45H.js} +1 -1
- package/dist/Drawer-CgJX3Utw.js +139 -0
- package/dist/DropdownItem-BaQXZu0w.js +155 -0
- package/dist/{FlexItem-DzNgFIa0.js → FlexItem-DHmKl6e7.js} +3 -3
- package/dist/{GridRow-Cc-rz56R.js → GridRow-DUnumam2.js} +1 -1
- package/dist/{Group-fbVPmr8W.js → Group-C2kJKhWJ.js} +3 -2
- package/dist/{Icon-Dn2eEZvb.js → Icon-Duj1nynQ.js} +5 -20
- package/dist/Image-Bz4Fo3eB.js +65 -0
- package/dist/Input-CYMKQ0qF.js +133 -0
- package/dist/InputPassword-CTbtTP_o.js +110 -0
- package/dist/Label-D9cQMuy3.js +85 -0
- package/dist/LanguageSelector-TZEgbNsG.js +14 -0
- package/dist/{Link-ByBzBRDH.js → Link-CbCqej5B.js} +8 -58
- package/dist/ListItem-Dgx1_Igi.js +46 -0
- package/dist/Loader-YZrWGaNy.js +53 -0
- package/dist/Logo-DsOEX4uk.js +30 -0
- package/dist/Menu-Kpe1GMns.js +34 -0
- package/dist/MenuItem-C5BPgTO7.js +81 -0
- package/dist/ModalLoader-8l8YtIvz.js +163 -0
- package/dist/{NotificationList-CJyEnxWw.js → NotificationList-CJ-hNA9W.js} +9 -4
- package/dist/Overlay-C4gCb0sL.js +25 -0
- package/dist/Pagination-LXBlrbZT.js +86 -0
- package/dist/Radio-Ca2-2PPF.js +87 -0
- package/dist/RangeSlider-BPFVikab.js +50 -0
- package/dist/Response-Nzg8ooT8.js +74 -0
- package/dist/Scrollbar-DrRNpn12.js +27 -0
- package/dist/SearchResult-B6Jd1xZO.js +120 -0
- package/dist/Segmented-pa7MGnor.js +91 -0
- package/dist/SiteMenuButton-CcCAsJtr.js +58 -0
- package/dist/Swiper-JdwU0uca.js +5123 -0
- package/dist/Switch-0BHqovLA.js +12 -0
- package/dist/SwitchField-B8JbD2Se.js +98 -0
- package/dist/TabGroup-DieipbE3.js +144 -0
- package/dist/{Text-BcGbRc14.js → Text-CxrzHFN1.js} +5 -4
- package/dist/Textarea-Cie6SPyp.js +96 -0
- package/dist/Tile-rSmWn8mR.js +52 -0
- package/dist/Title-BUN57fWw.js +84 -0
- package/dist/Tooltip-CcwyN7PD.js +108 -0
- package/dist/Video-0z4mNz4P.js +18 -0
- package/dist/Wrapper-CJTkVfsd.js +45 -0
- package/dist/_tslib-S-VPg1Cw.js +56 -0
- package/dist/cjs/{Accordion-DcZ9P5kP.js → Accordion-BPSF6By2.js} +6 -8
- package/dist/cjs/{Avatar-C8tufLEH.js → Avatar-qFiPDVgu.js} +6 -6
- package/dist/cjs/Badge-zYZKun4n.js +69 -0
- package/dist/cjs/Breadcrumbs-BIhuwcTG.js +96 -0
- package/dist/cjs/{Button-3GkRq8Pv.js → Button-C4_FRFZe.js} +10 -14
- package/dist/cjs/Caption-f-OM1D-G.js +31 -0
- package/dist/cjs/Card--te6xVsm.js +34 -0
- package/dist/cjs/Cell-zxHVzKan.js +71 -0
- package/dist/cjs/Checkbox-B-1dwjii.js +93 -0
- package/dist/cjs/Chips-BcJttN22.js +76 -0
- package/dist/cjs/Choice-CPPQ2o2L.js +106 -0
- package/dist/cjs/Code-ByEr4h2R.js +280 -0
- package/dist/cjs/ContextMenuItem-BME-EZ-y.js +53 -0
- package/dist/cjs/CookiesWarning-CfEwpkS8.js +59 -0
- package/dist/cjs/DadataHintField-DQHPRLs0.js +1111 -0
- package/dist/cjs/DatePicker-BiCqQFyi.js +14133 -0
- package/dist/cjs/{Divider-CIYsHYud.js → Divider-D92wY8Fn.js} +4 -1
- package/dist/cjs/{Dot-vDSigHDs.js → Dot-CKWexdtn.js} +1 -1
- package/dist/cjs/Drawer-BGZBaR2Q.js +146 -0
- package/dist/cjs/DropdownItem-bjpmcFH1.js +163 -0
- package/dist/cjs/{FlexItem-BnORv6q3.js → FlexItem-2KlvlTJY.js} +3 -3
- package/dist/cjs/{GridRow-mzs0CkNG.js → GridRow-OxLsh_2P.js} +1 -1
- package/dist/cjs/{Group-4zWTDvKx.js → Group-C9BxTKs-.js} +3 -2
- package/dist/cjs/{Icon-UBahY607.js → Icon-DzJtiBBk.js} +6 -21
- package/dist/cjs/Image-CCx6QWZj.js +71 -0
- package/dist/cjs/Input-BqKlyvEt.js +141 -0
- package/dist/cjs/InputPassword-DHgR_QTK.js +117 -0
- package/dist/cjs/Label-BcwjtIk7.js +92 -0
- package/dist/cjs/LanguageSelector-C3i2JJCM.js +20 -0
- package/dist/cjs/{Link-BoShjCEw.js → Link-3qPujNn9.js} +10 -61
- package/dist/cjs/ListItem-CvMoKXM-.js +53 -0
- package/dist/cjs/Loader-2vQxF_aO.js +60 -0
- package/dist/cjs/Logo-YADZn1N4.js +36 -0
- package/dist/cjs/Menu-CDlB7QNf.js +40 -0
- package/dist/cjs/MenuItem-4uVtNhb4.js +89 -0
- package/dist/cjs/ModalLoader-A2KkSC3x.js +172 -0
- package/dist/cjs/{NotificationList-DnI8DqyE.js → NotificationList-BTvz_kvZ.js} +10 -5
- package/dist/cjs/Overlay-18bnPZPd.js +31 -0
- package/dist/cjs/Pagination-B0-KGWSv.js +94 -0
- package/dist/cjs/Radio-Cvbuwkx3.js +94 -0
- package/dist/cjs/RangeSlider-Dy53bTyY.js +57 -0
- package/dist/cjs/Response-XesiDp89.js +82 -0
- package/dist/cjs/Scrollbar-DOujlQOb.js +33 -0
- package/dist/cjs/SearchResult-D147g0-n.js +129 -0
- package/dist/cjs/Segmented-BHblcvck.js +99 -0
- package/dist/cjs/SiteMenuButton-ChUD4CgP.js +65 -0
- package/dist/cjs/Swiper-DHjkfpbP.js +5130 -0
- package/dist/cjs/Switch-K1p9h3aF.js +19 -0
- package/dist/cjs/SwitchField-CdpEiqFv.js +108 -0
- package/dist/cjs/TabGroup-Vn5oELiY.js +153 -0
- package/dist/cjs/{Text-D7Aq1i5R.js → Text-C8vlKWNN.js} +5 -4
- package/dist/cjs/Textarea-WIGhhrgu.js +103 -0
- package/dist/cjs/Tile-j8EfyWDg.js +58 -0
- package/dist/cjs/Title-C3lN-EvU.js +91 -0
- package/dist/cjs/Tooltip-CnnungCh.js +116 -0
- package/dist/cjs/Video-B_xqvgag.js +24 -0
- package/dist/cjs/Wrapper-DravIzND.js +51 -0
- package/dist/cjs/_tslib-CKiUdo7p.js +59 -0
- package/dist/cjs/components/Accordion/Accordion.interface.d.ts +26 -24
- package/dist/cjs/components/Accordion.js +9 -20
- package/dist/cjs/components/Avatar/Avatar.interface.d.ts +14 -29
- package/dist/cjs/components/Avatar.js +10 -24
- package/dist/cjs/components/Badge/Badge.d.ts +10 -0
- package/dist/cjs/components/Badge/Badge.interface.d.ts +32 -0
- package/dist/cjs/components/Badge/index.d.ts +1 -0
- package/dist/cjs/components/Badge.js +10 -193
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +71 -0
- package/dist/cjs/components/Breadcrumbs/BreadcrumbsItem.d.ts +8 -0
- package/dist/cjs/components/Breadcrumbs/index.d.ts +3 -0
- package/dist/cjs/components/Breadcrumbs.js +9 -23
- package/dist/cjs/components/Button/Button.interface.d.ts +15 -17
- package/dist/cjs/components/Button.js +9 -20
- package/dist/cjs/components/Caption/Caption.d.ts +3 -0
- package/dist/cjs/components/Caption/Caption.interface.d.ts +21 -0
- package/dist/cjs/components/Caption/index.d.ts +1 -0
- package/dist/cjs/components/Caption.js +8 -184
- package/dist/cjs/components/Card/Card.d.ts +13 -0
- package/dist/cjs/components/Card/Card.interface.d.ts +29 -0
- package/dist/cjs/components/Card/index.d.ts +1 -0
- package/dist/cjs/components/Card.js +14 -270
- package/dist/cjs/components/Cell/Cell.d.ts +9 -0
- package/dist/cjs/components/Cell/Cell.interface.d.ts +61 -0
- package/dist/cjs/components/Cell/index.d.ts +1 -0
- package/dist/cjs/components/Cell.js +19 -412
- package/dist/cjs/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/cjs/components/Checkbox/Checkbox.interface.d.ts +57 -0
- package/dist/cjs/components/Checkbox/index.d.ts +1 -0
- package/dist/cjs/components/Checkbox.js +14 -157
- package/dist/cjs/components/Chips/Chips.d.ts +9 -0
- package/dist/cjs/components/Chips/Chips.interface.d.ts +42 -0
- package/dist/cjs/components/Chips/index.d.ts +1 -0
- package/dist/cjs/components/Chips.js +10 -380
- package/dist/cjs/components/Choice/Choice.d.ts +5 -0
- package/dist/cjs/components/Choice/Choice.interface.d.ts +59 -0
- package/dist/cjs/components/Choice/index.d.ts +1 -0
- package/dist/cjs/components/Choice.js +19 -336
- package/dist/cjs/components/Code/Code.d.ts +22 -0
- package/dist/cjs/components/Code/Code.interface.d.ts +33 -0
- package/dist/cjs/components/Code/index.d.ts +1 -0
- package/dist/cjs/components/Code.js +8 -427
- package/dist/cjs/components/ContextMenu/ContextMenu.d.ts +8 -0
- package/dist/cjs/components/ContextMenu/ContextMenu.interface.d.ts +36 -0
- package/dist/cjs/components/ContextMenu/ContextMenuItem.d.ts +3 -0
- package/dist/cjs/components/ContextMenu/index.d.ts +3 -0
- package/dist/cjs/components/ContextMenu.js +10 -21
- package/dist/cjs/components/CookiesWarning/CookiesWarning.d.ts +10 -0
- package/dist/cjs/components/CookiesWarning/CookiesWarning.interface.d.ts +16 -0
- package/dist/cjs/components/CookiesWarning/index.d.ts +2 -0
- package/dist/cjs/components/CookiesWarning.js +22 -170
- package/dist/cjs/components/DadataHintField/DadataHintField.d.ts +3 -0
- package/dist/cjs/components/DadataHintField/DadataHintField.interface.d.ts +14 -0
- package/dist/cjs/components/DadataHintField/index.d.ts +1 -0
- package/dist/cjs/components/DadataHintField.js +9 -1182
- package/dist/cjs/components/DatePicker/DatePicker.d.ts +3 -0
- package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +96 -0
- package/dist/cjs/components/DatePicker/index.d.ts +1 -0
- package/dist/cjs/components/DatePicker.js +19 -14082
- package/dist/cjs/components/Divider/Divider.d.ts +5 -0
- package/dist/cjs/components/Divider/Divider.interface.d.ts +2 -0
- package/dist/cjs/components/Divider.js +2 -2
- package/dist/cjs/components/Dot/Dot.interface.d.ts +4 -3
- package/dist/cjs/components/Dot.js +2 -2
- package/dist/cjs/components/Drawer/Drawer.d.ts +3 -0
- package/dist/cjs/components/Drawer/Drawer.interface.d.ts +16 -0
- package/dist/cjs/components/Drawer/index.d.ts +1 -0
- package/dist/cjs/components/Drawer.js +5 -279
- package/dist/cjs/components/Dropdown/Dropdown.d.ts +10 -0
- package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +73 -0
- package/dist/cjs/components/Dropdown/DropdownItem.d.ts +10 -0
- package/dist/cjs/components/Dropdown/index.d.ts +3 -0
- package/dist/cjs/components/Dropdown.js +7 -11
- package/dist/cjs/components/Flex/Flex.interface.d.ts +28 -26
- package/dist/cjs/components/Flex.js +2 -2
- package/dist/cjs/components/FormField/ChoiceField.d.ts +8 -0
- package/dist/cjs/components/FormField/FormField.d.ts +9 -0
- package/dist/cjs/components/FormField/FormFiled.interface.d.ts +77 -0
- package/dist/cjs/components/FormField/PasswordField.d.ts +9 -0
- package/dist/cjs/components/FormField/SelectField.d.ts +9 -0
- package/dist/cjs/components/FormField/SwitchField.d.ts +8 -0
- package/dist/cjs/components/FormField/index.d.ts +6 -0
- package/dist/cjs/components/FormField.js +21 -33
- package/dist/cjs/components/Grid/Grid.interface.d.ts +11 -8
- package/dist/cjs/components/Grid.js +2 -2
- package/dist/cjs/components/Group/Group.interface.d.ts +19 -19
- package/dist/cjs/components/Group.js +2 -2
- package/dist/cjs/components/Icon/Icon.interface.d.ts +25 -32
- package/dist/cjs/components/Icon.js +8 -19
- package/dist/cjs/components/Image/Image.d.ts +3 -0
- package/dist/cjs/components/Image/Image.interface.d.ts +34 -0
- package/dist/cjs/components/Image/index.d.ts +1 -0
- package/dist/cjs/components/Image.js +8 -467
- package/dist/cjs/components/Input/Input.d.ts +5 -0
- package/dist/cjs/components/Input/Input.interface.d.ts +53 -0
- package/dist/cjs/components/Input/index.d.ts +1 -0
- package/dist/cjs/components/Input.js +8 -223
- package/dist/cjs/components/InputMask/Input.d.ts +5 -0
- package/dist/cjs/components/InputMask/Input.interface.d.ts +53 -0
- package/dist/cjs/components/InputMask/index.d.ts +1 -0
- package/dist/cjs/components/InputMask.js +124 -210
- package/dist/cjs/components/InputPassword/InputPassword.d.ts +10 -0
- package/dist/cjs/components/InputPassword/InputPassword.interface.d.ts +52 -0
- package/dist/cjs/components/InputPassword/index.d.ts +1 -0
- package/dist/cjs/components/InputPassword.js +19 -245
- package/dist/cjs/components/Label/Label.d.ts +9 -0
- package/dist/cjs/components/Label/Label.interface.d.ts +58 -0
- package/dist/cjs/components/Label/index.d.ts +1 -0
- package/dist/cjs/components/Label.js +12 -630
- package/dist/cjs/components/LanguageSelector/Label.interface.d.ts +20 -0
- package/dist/cjs/components/LanguageSelector/LanguageSelector.d.ts +3 -0
- package/dist/cjs/components/LanguageSelector/index.d.ts +1 -0
- package/dist/cjs/components/LanguageSelector.js +13 -110
- package/dist/cjs/components/Link/Link.interface.d.ts +4 -3
- package/dist/cjs/components/Link.js +3 -2
- package/dist/cjs/components/List/List.d.ts +3 -0
- package/dist/cjs/components/List/List.interface.d.ts +28 -0
- package/dist/cjs/components/List/ListItem.d.ts +3 -0
- package/dist/cjs/components/List/index.d.ts +3 -0
- package/dist/cjs/components/List.js +5 -11
- package/dist/cjs/components/Loader/Loader.d.ts +4 -0
- package/dist/cjs/components/Loader/Loader.interface.d.ts +30 -0
- package/dist/cjs/components/Loader/index.d.ts +1 -0
- package/dist/cjs/components/Loader.js +10 -143
- package/dist/cjs/components/Logo/Logo.d.ts +3 -0
- package/dist/cjs/components/Logo/Logo.interface.d.ts +17 -0
- package/dist/cjs/components/Logo/index.d.ts +1 -0
- package/dist/cjs/components/Logo.js +10 -162
- package/dist/cjs/components/Menu/Menu.d.ts +8 -0
- package/dist/cjs/components/Menu/Menu.interface.d.ts +20 -0
- package/dist/cjs/components/Menu/index.d.ts +1 -0
- package/dist/cjs/components/Menu.js +12 -183
- package/dist/cjs/components/MenuItem/MenuItem.d.ts +11 -0
- package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +65 -0
- package/dist/cjs/components/MenuItem/index.d.ts +1 -0
- package/dist/cjs/components/MenuItem.js +16 -671
- package/dist/cjs/components/Modal/Modal.d.ts +4 -0
- package/dist/cjs/components/Modal/Modal.interface.d.ts +30 -0
- package/dist/cjs/components/Modal/ModalLoader.d.ts +3 -0
- package/dist/cjs/components/Modal/index.d.ts +3 -0
- package/dist/cjs/components/Modal.js +7 -9
- package/dist/cjs/components/Notification/Notification.interface.d.ts +13 -13
- package/dist/cjs/components/Notification.js +4 -13
- package/dist/cjs/components/Overlay/Overlay.d.ts +3 -0
- package/dist/cjs/components/Overlay/Overlay.interface.d.ts +10 -0
- package/dist/cjs/components/Overlay/index.d.ts +1 -0
- package/dist/cjs/components/Overlay.js +8 -184
- package/dist/cjs/components/Pagination/Pagination.d.ts +13 -0
- package/dist/cjs/components/Pagination/Pagination.interface.d.ts +46 -0
- package/dist/cjs/components/Pagination/index.d.ts +1 -0
- package/dist/cjs/components/Pagination.js +17 -356
- package/dist/cjs/components/Panel/Panel.interface.d.ts +20 -20
- package/dist/cjs/components/Panel.js +5 -5
- package/dist/cjs/components/Radio/Radio.d.ts +10 -0
- package/dist/cjs/components/Radio/Radio.interface.d.ts +53 -0
- package/dist/cjs/components/Radio/index.d.ts +1 -0
- package/dist/cjs/components/Radio.js +14 -258
- package/dist/cjs/components/RangeSlider/RangeSlider.d.ts +3 -0
- package/dist/cjs/components/RangeSlider/RangeSlider.interface.d.ts +28 -0
- package/dist/cjs/components/RangeSlider/index.d.ts +1 -0
- package/dist/cjs/components/RangeSlider.js +13 -287
- package/dist/cjs/components/Response/Response.d.ts +4 -0
- package/dist/cjs/components/Response/Response.interface.d.ts +64 -0
- package/dist/cjs/components/Response/index.d.ts +1 -0
- package/dist/cjs/components/Response.js +21 -234
- package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.d.ts +8 -0
- package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +18 -0
- package/dist/cjs/components/ScrollOnDrag/index.d.ts +1 -0
- package/dist/cjs/components/ScrollOnDrag.js +41 -186
- package/dist/cjs/components/Scrollbar/Scrollbar.d.ts +8 -0
- package/dist/cjs/components/Scrollbar/Scrollbar.interface.d.ts +10 -0
- package/dist/cjs/components/Scrollbar/index.d.ts +1 -0
- package/dist/cjs/components/Scrollbar.js +6 -66
- package/dist/cjs/components/Search/Search.interface.d.ts +69 -0
- package/dist/cjs/components/Search/SearchInput.d.ts +5 -0
- package/dist/cjs/components/Search/SearchResult.d.ts +4 -0
- package/dist/cjs/components/Search/index.d.ts +3 -0
- package/dist/cjs/components/Search.js +10 -21
- package/dist/cjs/components/Segmented/Segmented.d.ts +5 -0
- package/dist/cjs/components/Segmented/Segmented.interface.d.ts +42 -0
- package/dist/cjs/components/Segmented/index.d.ts +1 -0
- package/dist/cjs/components/Segmented.js +14 -226
- package/dist/cjs/components/Select.js +117 -202
- package/dist/cjs/components/SiteMenu/SiteMenu.d.ts +3 -0
- package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +23 -0
- package/dist/cjs/components/SiteMenu/SiteMenuButton.d.ts +3 -0
- package/dist/cjs/components/SiteMenu/index.d.ts +3 -0
- package/dist/cjs/components/SiteMenu.js +10 -21
- package/dist/cjs/components/Swiper/Swiper.d.ts +9 -0
- package/dist/cjs/components/Swiper/Swiper.interface.d.ts +58 -0
- package/dist/cjs/components/Swiper/index.d.ts +1 -0
- package/dist/cjs/components/Swiper.js +11 -5644
- package/dist/cjs/components/Switch/Switch.d.ts +4 -0
- package/dist/cjs/components/Switch/Switch.interface.d.ts +10 -0
- package/dist/cjs/components/Switch/index.d.ts +1 -0
- package/dist/cjs/components/Switch.js +5 -100
- package/dist/cjs/components/Tab/Tab.d.ts +11 -0
- package/dist/cjs/components/Tab/Tab.interface.d.ts +79 -0
- package/dist/cjs/components/Tab/TabGroup.d.ts +3 -0
- package/dist/cjs/components/Tab/index.d.ts +3 -0
- package/dist/cjs/components/Tab.js +8 -22
- package/dist/cjs/components/Text/Text.interface.d.ts +6 -4
- package/dist/cjs/components/Text.js +2 -2
- package/dist/cjs/components/Textarea/Textarea.d.ts +9 -0
- package/dist/cjs/components/Textarea/Textarea.interface.d.ts +44 -0
- package/dist/cjs/components/Textarea/index.d.ts +1 -0
- package/dist/cjs/components/Textarea.js +8 -202
- package/dist/cjs/components/Tile/Tile.d.ts +9 -0
- package/dist/cjs/components/Tile/Tile.interface.d.ts +37 -0
- package/dist/cjs/components/Tile/index.d.ts +1 -0
- package/dist/cjs/components/Tile.js +11 -555
- package/dist/cjs/components/Title/Title.d.ts +9 -0
- package/dist/cjs/components/Title/Title.interface.d.ts +42 -0
- package/dist/cjs/components/Title/index.d.ts +1 -0
- package/dist/cjs/components/Title.js +12 -390
- package/dist/cjs/components/Tooltip/Tooltip.d.ts +5 -0
- package/dist/cjs/components/Tooltip/Tooltip.interface.d.ts +44 -0
- package/dist/cjs/components/Tooltip/index.d.ts +1 -0
- package/dist/cjs/components/Tooltip.js +13 -440
- package/dist/cjs/components/Video/Video.d.ts +3 -0
- package/dist/cjs/components/Video/Video.interface.d.ts +15 -0
- package/dist/cjs/components/Video/index.d.ts +1 -0
- package/dist/cjs/components/Video.js +7 -163
- package/dist/cjs/components/Wrapper/Wrapper.d.ts +9 -0
- package/dist/cjs/components/Wrapper/Wrapper.interface.d.ts +20 -0
- package/dist/cjs/components/Wrapper/index.d.ts +1 -0
- package/dist/cjs/components/Wrapper.js +8 -425
- package/dist/cjs/components/index.d.ts +2 -2
- package/dist/cjs/components.js +138 -163
- package/dist/cjs/constants/componentProps/iconSize.js +1 -1
- package/dist/cjs/constants/componentProps/sizePX.js +1 -1
- package/dist/cjs/constants.js +0 -2
- package/dist/cjs/context/Notifications.js +103 -53
- package/dist/cjs/{floating-ui.dom-C34fOuI9.js → floating-ui.dom-CW7i9VDu.js} +60 -22
- package/dist/cjs/hooks/styleAttributes.interface.d.ts +35 -18
- package/dist/cjs/{jsx-runtime-BCmQOGxJ.js → jsx-runtime-BBxmckJR.js} +20 -6
- package/dist/cjs/types/componentProps/alignment.d.ts +1 -1
- package/dist/cjs/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderColorHover.d.ts +1 -1
- package/dist/cjs/types/componentProps/fill.d.ts +1 -1
- package/dist/cjs/types/componentProps/iconFillSize.d.ts +1 -1
- package/dist/cjs/types/componentProps/iconSize.d.ts +1 -1
- package/dist/cjs/types/componentProps/itemColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/sizeInterface.d.ts +1 -1
- package/dist/cjs/types/componentProps/sizePX.d.ts +1 -1
- package/dist/cjs/types/componentProps/stateKeys.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +2 -3
- package/dist/components/Accordion/Accordion.interface.d.ts +26 -24
- package/dist/components/Accordion.js +9 -20
- package/dist/components/Avatar/Avatar.interface.d.ts +14 -29
- package/dist/components/Avatar.js +10 -24
- package/dist/components/Badge/Badge.d.ts +10 -0
- package/dist/components/Badge/Badge.interface.d.ts +32 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Badge.js +8 -189
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +71 -0
- package/dist/components/Breadcrumbs/BreadcrumbsItem.d.ts +8 -0
- package/dist/components/Breadcrumbs/index.d.ts +3 -0
- package/dist/components/Breadcrumbs.js +9 -23
- package/dist/components/Button/Button.interface.d.ts +15 -17
- package/dist/components/Button.js +9 -20
- package/dist/components/Caption/Caption.d.ts +3 -0
- package/dist/components/Caption/Caption.interface.d.ts +21 -0
- package/dist/components/Caption/index.d.ts +1 -0
- package/dist/components/Caption.js +7 -181
- package/dist/components/Card/Card.d.ts +13 -0
- package/dist/components/Card/Card.interface.d.ts +29 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Card.js +13 -267
- package/dist/components/Cell/Cell.d.ts +9 -0
- package/dist/components/Cell/Cell.interface.d.ts +61 -0
- package/dist/components/Cell/index.d.ts +1 -0
- package/dist/components/Cell.js +18 -409
- package/dist/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/components/Checkbox/Checkbox.interface.d.ts +57 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Checkbox.js +12 -153
- package/dist/components/Chips/Chips.d.ts +9 -0
- package/dist/components/Chips/Chips.interface.d.ts +42 -0
- package/dist/components/Chips/index.d.ts +1 -0
- package/dist/components/Chips.js +8 -376
- package/dist/components/Choice/Choice.d.ts +5 -0
- package/dist/components/Choice/Choice.interface.d.ts +59 -0
- package/dist/components/Choice/index.d.ts +1 -0
- package/dist/components/Choice.js +17 -332
- package/dist/components/Code/Code.d.ts +22 -0
- package/dist/components/Code/Code.interface.d.ts +33 -0
- package/dist/components/Code/index.d.ts +1 -0
- package/dist/components/Code.js +7 -424
- package/dist/components/ContextMenu/ContextMenu.d.ts +8 -0
- package/dist/components/ContextMenu/ContextMenu.interface.d.ts +36 -0
- package/dist/components/ContextMenu/ContextMenuItem.d.ts +3 -0
- package/dist/components/ContextMenu/index.d.ts +3 -0
- package/dist/components/ContextMenu.js +10 -21
- package/dist/components/CookiesWarning/CookiesWarning.d.ts +10 -0
- package/dist/components/CookiesWarning/CookiesWarning.interface.d.ts +16 -0
- package/dist/components/CookiesWarning/index.d.ts +2 -0
- package/dist/components/CookiesWarning.js +21 -166
- package/dist/components/DadataHintField/DadataHintField.d.ts +3 -0
- package/dist/components/DadataHintField/DadataHintField.interface.d.ts +14 -0
- package/dist/components/DadataHintField/index.d.ts +1 -0
- package/dist/components/DadataHintField.js +8 -1178
- package/dist/components/DatePicker/DatePicker.d.ts +3 -0
- package/dist/components/DatePicker/DatePicker.interface.d.ts +96 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker.js +18 -14062
- package/dist/components/Divider/Divider.d.ts +5 -0
- package/dist/components/Divider/Divider.interface.d.ts +2 -0
- package/dist/components/Divider.js +2 -2
- package/dist/components/Dot/Dot.interface.d.ts +4 -3
- package/dist/components/Dot.js +2 -2
- package/dist/components/Drawer/Drawer.d.ts +3 -0
- package/dist/components/Drawer/Drawer.interface.d.ts +16 -0
- package/dist/components/Drawer/index.d.ts +1 -0
- package/dist/components/Drawer.js +4 -276
- package/dist/components/Dropdown/Dropdown.d.ts +10 -0
- package/dist/components/Dropdown/Dropdown.interface.d.ts +73 -0
- package/dist/components/Dropdown/DropdownItem.d.ts +10 -0
- package/dist/components/Dropdown/index.d.ts +3 -0
- package/dist/components/Dropdown.js +7 -11
- package/dist/components/Flex/Flex.interface.d.ts +28 -26
- package/dist/components/Flex.js +2 -2
- package/dist/components/FormField/ChoiceField.d.ts +8 -0
- package/dist/components/FormField/FormField.d.ts +9 -0
- package/dist/components/FormField/FormFiled.interface.d.ts +77 -0
- package/dist/components/FormField/PasswordField.d.ts +9 -0
- package/dist/components/FormField/SelectField.d.ts +9 -0
- package/dist/components/FormField/SwitchField.d.ts +8 -0
- package/dist/components/FormField/index.d.ts +6 -0
- package/dist/components/FormField.js +16 -28
- package/dist/components/Grid/Grid.interface.d.ts +11 -8
- package/dist/components/Grid.js +2 -2
- package/dist/components/Group/Group.interface.d.ts +19 -19
- package/dist/components/Group.js +2 -2
- package/dist/components/Icon/Icon.interface.d.ts +25 -32
- package/dist/components/Icon.js +8 -19
- package/dist/components/Image/Image.d.ts +3 -0
- package/dist/components/Image/Image.interface.d.ts +34 -0
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/Image.js +7 -464
- package/dist/components/Input/Input.d.ts +5 -0
- package/dist/components/Input/Input.interface.d.ts +53 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input.js +6 -219
- package/dist/components/InputMask/Input.d.ts +5 -0
- package/dist/components/InputMask/Input.interface.d.ts +53 -0
- package/dist/components/InputMask/index.d.ts +1 -0
- package/dist/components/InputMask.js +125 -210
- package/dist/components/InputPassword/InputPassword.d.ts +10 -0
- package/dist/components/InputPassword/InputPassword.interface.d.ts +52 -0
- package/dist/components/InputPassword/index.d.ts +1 -0
- package/dist/components/InputPassword.js +17 -241
- package/dist/components/Label/Label.d.ts +9 -0
- package/dist/components/Label/Label.interface.d.ts +58 -0
- package/dist/components/Label/index.d.ts +1 -0
- package/dist/components/Label.js +10 -626
- package/dist/components/LanguageSelector/Label.interface.d.ts +20 -0
- package/dist/components/LanguageSelector/LanguageSelector.d.ts +3 -0
- package/dist/components/LanguageSelector/index.d.ts +1 -0
- package/dist/components/LanguageSelector.js +12 -107
- package/dist/components/Link/Link.interface.d.ts +4 -3
- package/dist/components/Link.js +3 -2
- package/dist/components/List/List.d.ts +3 -0
- package/dist/components/List/List.interface.d.ts +28 -0
- package/dist/components/List/ListItem.d.ts +3 -0
- package/dist/components/List/index.d.ts +3 -0
- package/dist/components/List.js +5 -11
- package/dist/components/Loader/Loader.d.ts +4 -0
- package/dist/components/Loader/Loader.interface.d.ts +30 -0
- package/dist/components/Loader/index.d.ts +1 -0
- package/dist/components/Loader.js +8 -139
- package/dist/components/Logo/Logo.d.ts +3 -0
- package/dist/components/Logo/Logo.interface.d.ts +17 -0
- package/dist/components/Logo/index.d.ts +1 -0
- package/dist/components/Logo.js +9 -159
- package/dist/components/Menu/Menu.d.ts +8 -0
- package/dist/components/Menu/Menu.interface.d.ts +20 -0
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Menu.js +11 -180
- package/dist/components/MenuItem/MenuItem.d.ts +11 -0
- package/dist/components/MenuItem/MenuItem.interface.d.ts +65 -0
- package/dist/components/MenuItem/index.d.ts +1 -0
- package/dist/components/MenuItem.js +14 -667
- package/dist/components/Modal/Modal.d.ts +4 -0
- package/dist/components/Modal/Modal.interface.d.ts +30 -0
- package/dist/components/Modal/ModalLoader.d.ts +3 -0
- package/dist/components/Modal/index.d.ts +3 -0
- package/dist/components/Modal.js +7 -9
- package/dist/components/Notification/Notification.interface.d.ts +13 -13
- package/dist/components/Notification.js +4 -13
- package/dist/components/Overlay/Overlay.d.ts +3 -0
- package/dist/components/Overlay/Overlay.interface.d.ts +10 -0
- package/dist/components/Overlay/index.d.ts +1 -0
- package/dist/components/Overlay.js +7 -181
- package/dist/components/Pagination/Pagination.d.ts +13 -0
- package/dist/components/Pagination/Pagination.interface.d.ts +46 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Pagination.js +16 -351
- package/dist/components/Panel/Panel.interface.d.ts +20 -20
- package/dist/components/Panel.js +5 -5
- package/dist/components/Radio/Radio.d.ts +10 -0
- package/dist/components/Radio/Radio.interface.d.ts +53 -0
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Radio.js +12 -254
- package/dist/components/RangeSlider/RangeSlider.d.ts +3 -0
- package/dist/components/RangeSlider/RangeSlider.interface.d.ts +28 -0
- package/dist/components/RangeSlider/index.d.ts +1 -0
- package/dist/components/RangeSlider.js +12 -283
- package/dist/components/Response/Response.d.ts +4 -0
- package/dist/components/Response/Response.interface.d.ts +64 -0
- package/dist/components/Response/index.d.ts +1 -0
- package/dist/components/Response.js +19 -229
- package/dist/components/ScrollOnDrag/ScrollOnDrag.d.ts +8 -0
- package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +18 -0
- package/dist/components/ScrollOnDrag/index.d.ts +1 -0
- package/dist/components/ScrollOnDrag.js +41 -185
- package/dist/components/Scrollbar/Scrollbar.d.ts +8 -0
- package/dist/components/Scrollbar/Scrollbar.interface.d.ts +10 -0
- package/dist/components/Scrollbar/index.d.ts +1 -0
- package/dist/components/Scrollbar.js +5 -64
- package/dist/components/Search/Search.interface.d.ts +69 -0
- package/dist/components/Search/SearchInput.d.ts +5 -0
- package/dist/components/Search/SearchResult.d.ts +4 -0
- package/dist/components/Search/index.d.ts +3 -0
- package/dist/components/Search.js +10 -21
- package/dist/components/Segmented/Segmented.d.ts +5 -0
- package/dist/components/Segmented/Segmented.interface.d.ts +42 -0
- package/dist/components/Segmented/index.d.ts +1 -0
- package/dist/components/Segmented.js +12 -222
- package/dist/components/Select.js +116 -201
- package/dist/components/SiteMenu/SiteMenu.d.ts +3 -0
- package/dist/components/SiteMenu/SiteMenu.interface.d.ts +23 -0
- package/dist/components/SiteMenu/SiteMenuButton.d.ts +3 -0
- package/dist/components/SiteMenu/index.d.ts +3 -0
- package/dist/components/SiteMenu.js +10 -21
- package/dist/components/Swiper/Swiper.d.ts +9 -0
- package/dist/components/Swiper/Swiper.interface.d.ts +58 -0
- package/dist/components/Swiper/index.d.ts +1 -0
- package/dist/components/Swiper.js +10 -5641
- package/dist/components/Switch/Switch.d.ts +4 -0
- package/dist/components/Switch/Switch.interface.d.ts +10 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Switch.js +4 -97
- package/dist/components/Tab/Tab.d.ts +11 -0
- package/dist/components/Tab/Tab.interface.d.ts +79 -0
- package/dist/components/Tab/TabGroup.d.ts +3 -0
- package/dist/components/Tab/index.d.ts +3 -0
- package/dist/components/Tab.js +8 -22
- package/dist/components/Text/Text.interface.d.ts +6 -4
- package/dist/components/Text.js +2 -2
- package/dist/components/Textarea/Textarea.d.ts +9 -0
- package/dist/components/Textarea/Textarea.interface.d.ts +44 -0
- package/dist/components/Textarea/index.d.ts +1 -0
- package/dist/components/Textarea.js +6 -198
- package/dist/components/Tile/Tile.d.ts +9 -0
- package/dist/components/Tile/Tile.interface.d.ts +37 -0
- package/dist/components/Tile/index.d.ts +1 -0
- package/dist/components/Tile.js +10 -552
- package/dist/components/Title/Title.d.ts +9 -0
- package/dist/components/Title/Title.interface.d.ts +42 -0
- package/dist/components/Title/index.d.ts +1 -0
- package/dist/components/Title.js +10 -386
- package/dist/components/Tooltip/Tooltip.d.ts +5 -0
- package/dist/components/Tooltip/Tooltip.interface.d.ts +44 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/Tooltip.js +11 -436
- package/dist/components/Video/Video.d.ts +3 -0
- package/dist/components/Video/Video.interface.d.ts +15 -0
- package/dist/components/Video/index.d.ts +1 -0
- package/dist/components/Video.js +6 -160
- package/dist/components/Wrapper/Wrapper.d.ts +9 -0
- package/dist/components/Wrapper/Wrapper.interface.d.ts +20 -0
- package/dist/components/Wrapper/index.d.ts +1 -0
- package/dist/components/Wrapper.js +7 -422
- package/dist/components/index.d.ts +2 -2
- package/dist/components.js +65 -90
- package/dist/constants/componentProps/iconSize.js +1 -1
- package/dist/constants/componentProps/sizePX.js +1 -1
- package/dist/constants.js +0 -1
- package/dist/context/Notifications.js +104 -54
- package/dist/css/components/Avatar/Avatar.css +3 -3
- package/dist/css/components/Button/Button.css +50 -55
- package/dist/css/components/DatePicker/DatePicker.css +21 -0
- package/dist/css/components/Divider/Divider.css +3 -3
- package/dist/css/components/Drawer/Drawer.css +24 -19
- package/dist/css/components/Dropdown/Dropdown.css +52 -45
- package/dist/css/components/Icon/Icon.css +11 -41
- package/dist/css/components/Link/Link.css +22 -4
- package/dist/css/components/Search/Search.css +1 -1
- package/dist/css/components/Search/css/search-input/search-input_size.css +1 -1
- package/dist/css/components/Select/Select.css +6 -5
- package/dist/css/components/Select/css/__menu/select__menu.css +1 -0
- package/dist/css/components/Swiper/Swiper.css +2 -2
- package/dist/{floating-ui.dom-BQ7wiYTi.js → floating-ui.dom-B080ZrCv.js} +60 -22
- package/dist/hooks/styleAttributes.interface.d.ts +35 -18
- package/dist/{jsx-runtime-ClDdVO4Q.js → jsx-runtime-C2uP7l8s.js} +20 -6
- package/dist/stories/Button.stories.js +0 -16
- package/dist/stories/Cell.stories.js +0 -11
- package/dist/stories/DatePicker.stories.js +0 -6
- package/dist/stories/Icon.stories.js +2 -17
- package/dist/stories/Search-input.stories.js +0 -10
- package/dist/stories/Select.stories.js +0 -10
- package/dist/types/componentProps/alignment.d.ts +1 -1
- package/dist/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/types/componentProps/borderColorHover.d.ts +1 -1
- package/dist/types/componentProps/fill.d.ts +1 -1
- package/dist/types/componentProps/iconFillSize.d.ts +1 -1
- package/dist/types/componentProps/iconSize.d.ts +1 -1
- package/dist/types/componentProps/itemColor.d.ts +1 -1
- package/dist/types/componentProps/sizeInterface.d.ts +1 -1
- package/dist/types/componentProps/sizePX.d.ts +1 -1
- package/dist/types/componentProps/stateKeys.d.ts +1 -0
- package/dist/types/index.d.ts +2 -3
- package/package.json +40 -36
- package/dist/Breadcrumbs-B79kOtMG.js +0 -619
- package/dist/Button-B7vbiqrJ.js +0 -100
- package/dist/ContextMenuItem-BPqsjmSA.js +0 -204
- package/dist/DropdownItem-Dgf0LRhx.js +0 -644
- package/dist/ListItem-Cf8r3w8t.js +0 -479
- package/dist/ModalLoader-DJVKhIZR.js +0 -374
- package/dist/SearchResult-erxB06IL.js +0 -530
- package/dist/SelectField-CpQMWXaC.js +0 -571
- package/dist/SiteMenuButton-BFmti8pF.js +0 -181
- package/dist/TabGroup-CjmtgOMw.js +0 -1071
- package/dist/cjs/Breadcrumbs-HubY1qZQ.js +0 -629
- package/dist/cjs/ContextMenuItem-DmbSoGn1.js +0 -213
- package/dist/cjs/DropdownItem-Bl-Ghc_6.js +0 -653
- package/dist/cjs/ListItem-MrHApmF3.js +0 -488
- package/dist/cjs/ModalLoader-4mmV5G4E.js +0 -384
- package/dist/cjs/SearchResult-bTwR5A-g.js +0 -540
- package/dist/cjs/SelectField-BJTu7BXO.js +0 -583
- package/dist/cjs/SiteMenuButton-BGi0gR1z.js +0 -190
- package/dist/cjs/TabGroup-DIWmGIp2.js +0 -1081
- package/dist/cjs/constants/componentProps/strokeColor.js +0 -7
- package/dist/cjs/types/componentProps/strokeColor.d.ts +0 -1
- package/dist/constants/componentProps/strokeColor.js +0 -3
- package/dist/types/componentProps/strokeColor.d.ts +0 -1
|
@@ -57,9 +57,8 @@ function getContainingBlock(element) {
|
|
|
57
57
|
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
58
58
|
if (isContainingBlock(currentNode)) {
|
|
59
59
|
return currentNode;
|
|
60
|
-
} else {
|
|
61
|
-
currentNode = getParentNode(currentNode);
|
|
62
60
|
}
|
|
61
|
+
currentNode = getParentNode(currentNode);
|
|
63
62
|
}
|
|
64
63
|
return null;
|
|
65
64
|
}
|
|
@@ -243,12 +242,21 @@ function getPaddingObject(padding) {
|
|
|
243
242
|
};
|
|
244
243
|
}
|
|
245
244
|
function rectToClientRect(rect) {
|
|
245
|
+
const {
|
|
246
|
+
x,
|
|
247
|
+
y,
|
|
248
|
+
width,
|
|
249
|
+
height
|
|
250
|
+
} = rect;
|
|
246
251
|
return {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
+
width,
|
|
253
|
+
height,
|
|
254
|
+
top: y,
|
|
255
|
+
left: x,
|
|
256
|
+
right: x + width,
|
|
257
|
+
bottom: y + height,
|
|
258
|
+
x,
|
|
259
|
+
y
|
|
252
260
|
};
|
|
253
261
|
}
|
|
254
262
|
|
|
@@ -437,9 +445,10 @@ async function detectOverflow(state, options) {
|
|
|
437
445
|
strategy
|
|
438
446
|
}));
|
|
439
447
|
const rect = elementContext === 'floating' ? {
|
|
440
|
-
...rects.floating,
|
|
441
448
|
x,
|
|
442
|
-
y
|
|
449
|
+
y,
|
|
450
|
+
width: rects.floating.width,
|
|
451
|
+
height: rects.floating.height
|
|
443
452
|
} : rects.reference;
|
|
444
453
|
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
445
454
|
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
@@ -676,6 +685,8 @@ async function convertValueToCoords(state, options) {
|
|
|
676
685
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
677
686
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
678
687
|
const rawValue = evaluate(options, state);
|
|
688
|
+
|
|
689
|
+
// eslint-disable-next-line prefer-const
|
|
679
690
|
let {
|
|
680
691
|
mainAxis,
|
|
681
692
|
crossAxis,
|
|
@@ -709,7 +720,7 @@ async function convertValueToCoords(state, options) {
|
|
|
709
720
|
* object may be passed.
|
|
710
721
|
* @see https://floating-ui.com/docs/offset
|
|
711
722
|
*/
|
|
712
|
-
const offset = function (options) {
|
|
723
|
+
const offset$1 = function (options) {
|
|
713
724
|
if (options === void 0) {
|
|
714
725
|
options = 0;
|
|
715
726
|
}
|
|
@@ -871,10 +882,10 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
871
882
|
}
|
|
872
883
|
|
|
873
884
|
const topLayerSelectors = [':popover-open', ':modal'];
|
|
874
|
-
function isTopLayer(
|
|
885
|
+
function isTopLayer(element) {
|
|
875
886
|
return topLayerSelectors.some(selector => {
|
|
876
887
|
try {
|
|
877
|
-
return
|
|
888
|
+
return element.matches(selector);
|
|
878
889
|
} catch (e) {
|
|
879
890
|
return false;
|
|
880
891
|
}
|
|
@@ -1062,7 +1073,7 @@ function getClippingRect(_ref) {
|
|
|
1062
1073
|
rootBoundary,
|
|
1063
1074
|
strategy
|
|
1064
1075
|
} = _ref;
|
|
1065
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1076
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1066
1077
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1067
1078
|
const firstClippingAncestor = clippingAncestors[0];
|
|
1068
1079
|
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
@@ -1124,6 +1135,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1124
1135
|
};
|
|
1125
1136
|
}
|
|
1126
1137
|
|
|
1138
|
+
function isStaticPositioned(element) {
|
|
1139
|
+
return getComputedStyle(element).position === 'static';
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1127
1142
|
function getTrueOffsetParent(element, polyfill) {
|
|
1128
1143
|
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1129
1144
|
return null;
|
|
@@ -1137,29 +1152,41 @@ function getTrueOffsetParent(element, polyfill) {
|
|
|
1137
1152
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1138
1153
|
// such as table ancestors and cross browser bugs.
|
|
1139
1154
|
function getOffsetParent(element, polyfill) {
|
|
1140
|
-
const
|
|
1141
|
-
if (
|
|
1142
|
-
return
|
|
1155
|
+
const win = getWindow(element);
|
|
1156
|
+
if (isTopLayer(element)) {
|
|
1157
|
+
return win;
|
|
1158
|
+
}
|
|
1159
|
+
if (!isHTMLElement(element)) {
|
|
1160
|
+
let svgOffsetParent = getParentNode(element);
|
|
1161
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1162
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1163
|
+
return svgOffsetParent;
|
|
1164
|
+
}
|
|
1165
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1166
|
+
}
|
|
1167
|
+
return win;
|
|
1143
1168
|
}
|
|
1144
1169
|
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1145
|
-
while (offsetParent && isTableElement(offsetParent) &&
|
|
1170
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1146
1171
|
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1147
1172
|
}
|
|
1148
|
-
if (offsetParent && (
|
|
1149
|
-
return
|
|
1173
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1174
|
+
return win;
|
|
1150
1175
|
}
|
|
1151
|
-
return offsetParent || getContainingBlock(element) ||
|
|
1176
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1152
1177
|
}
|
|
1153
1178
|
|
|
1154
1179
|
const getElementRects = async function (data) {
|
|
1155
1180
|
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1156
1181
|
const getDimensionsFn = this.getDimensions;
|
|
1182
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1157
1183
|
return {
|
|
1158
1184
|
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1159
1185
|
floating: {
|
|
1160
1186
|
x: 0,
|
|
1161
1187
|
y: 0,
|
|
1162
|
-
|
|
1188
|
+
width: floatingDimensions.width,
|
|
1189
|
+
height: floatingDimensions.height
|
|
1163
1190
|
}
|
|
1164
1191
|
};
|
|
1165
1192
|
};
|
|
@@ -1229,9 +1256,11 @@ function observeMove(element, onMove) {
|
|
|
1229
1256
|
return refresh();
|
|
1230
1257
|
}
|
|
1231
1258
|
if (!ratio) {
|
|
1259
|
+
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
1260
|
+
// to prevent an infinite loop of updates.
|
|
1232
1261
|
timeoutId = setTimeout(() => {
|
|
1233
1262
|
refresh(false, 1e-7);
|
|
1234
|
-
},
|
|
1263
|
+
}, 1000);
|
|
1235
1264
|
} else {
|
|
1236
1265
|
refresh(false, ratio);
|
|
1237
1266
|
}
|
|
@@ -1335,6 +1364,15 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1335
1364
|
};
|
|
1336
1365
|
}
|
|
1337
1366
|
|
|
1367
|
+
/**
|
|
1368
|
+
* Modifies the placement by translating the floating element along the
|
|
1369
|
+
* specified axes.
|
|
1370
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
1371
|
+
* object may be passed.
|
|
1372
|
+
* @see https://floating-ui.com/docs/offset
|
|
1373
|
+
*/
|
|
1374
|
+
const offset = offset$1;
|
|
1375
|
+
|
|
1338
1376
|
/**
|
|
1339
1377
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1340
1378
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type * as CSS from 'csstype';
|
|
2
|
+
import { overflowPropsType, textAlignPropsType } from '../types';
|
|
2
3
|
export interface TypeStyleAttributes {
|
|
3
4
|
/**
|
|
4
5
|
* Layout
|
|
@@ -6,7 +7,7 @@ export interface TypeStyleAttributes {
|
|
|
6
7
|
alignContent?: string;
|
|
7
8
|
alignItems?: string;
|
|
8
9
|
alignSelf?: string;
|
|
9
|
-
aspectRatio?:
|
|
10
|
+
aspectRatio?: CSS.Property.AspectRatio;
|
|
10
11
|
border?: string;
|
|
11
12
|
borderBottomWidth?: string;
|
|
12
13
|
borderEndWidth?: string;
|
|
@@ -17,13 +18,13 @@ export interface TypeStyleAttributes {
|
|
|
17
18
|
bottom?: string;
|
|
18
19
|
columnGap?: string;
|
|
19
20
|
columnWidth?: string;
|
|
20
|
-
display?:
|
|
21
|
+
display?: CSS.Property.Display;
|
|
21
22
|
end?: string;
|
|
22
|
-
flex?:
|
|
23
|
-
flexBasis?:
|
|
24
|
-
flexDirection?:
|
|
25
|
-
flexShrink?:
|
|
26
|
-
flexWrap?:
|
|
23
|
+
flex?: CSS.Property.Flex;
|
|
24
|
+
flexBasis?: CSS.Property.FlexBasis;
|
|
25
|
+
flexDirection?: CSS.Property.FlexDirection;
|
|
26
|
+
flexShrink?: CSS.Property.FlexShrink;
|
|
27
|
+
flexWrap?: CSS.Property.FlexWrap;
|
|
27
28
|
gap?: string;
|
|
28
29
|
height?: string;
|
|
29
30
|
left?: string;
|
|
@@ -40,7 +41,7 @@ export interface TypeStyleAttributes {
|
|
|
40
41
|
maxWidth?: string;
|
|
41
42
|
minHeight?: string;
|
|
42
43
|
minWidth?: string;
|
|
43
|
-
order?:
|
|
44
|
+
order?: CSS.Property.Order;
|
|
44
45
|
overflow?: overflowPropsType;
|
|
45
46
|
padding?: string;
|
|
46
47
|
paddingBottom?: string;
|
|
@@ -68,7 +69,7 @@ export interface TypeStyleAttributes {
|
|
|
68
69
|
/**
|
|
69
70
|
* Transform
|
|
70
71
|
*/
|
|
71
|
-
transform?:
|
|
72
|
+
transform?: CSS.Property.Transform;
|
|
72
73
|
/**
|
|
73
74
|
* View
|
|
74
75
|
*/
|
|
@@ -99,26 +100,26 @@ export interface TypeStyleAttributes {
|
|
|
99
100
|
color?: string;
|
|
100
101
|
fontFamily?: string;
|
|
101
102
|
fontSize?: string;
|
|
102
|
-
fontStyle?:
|
|
103
|
+
fontStyle?: CSS.Property.FontStyle;
|
|
103
104
|
fontVariant?: string;
|
|
104
|
-
fontWeight?:
|
|
105
|
+
fontWeight?: CSS.Property.FontWeight;
|
|
105
106
|
letterSpacing?: string;
|
|
106
107
|
lineHeight?: string;
|
|
107
|
-
textAlign?:
|
|
108
|
+
textAlign?: textAlignPropsType;
|
|
108
109
|
textDecorationColor?: string;
|
|
109
110
|
textDecorationLine?: string;
|
|
110
111
|
textDecorationStyle?: string;
|
|
111
112
|
textShadowColor?: string;
|
|
112
113
|
textShadowOffset?: string;
|
|
113
114
|
textShadowRadius?: string;
|
|
114
|
-
textTransform?:
|
|
115
|
-
verticalAlign?:
|
|
116
|
-
writingMode?:
|
|
117
|
-
whiteSpace?:
|
|
115
|
+
textTransform?: CSS.Property.TextTransform;
|
|
116
|
+
verticalAlign?: CSS.Property.VerticalAlign;
|
|
117
|
+
writingMode?: CSS.Property.WritingMode;
|
|
118
|
+
whiteSpace?: CSS.Property.WhiteSpace;
|
|
118
119
|
/**
|
|
119
120
|
* Image
|
|
120
121
|
*/
|
|
121
|
-
objectFit?:
|
|
122
|
+
objectFit?: CSS.Property.ObjectFit;
|
|
122
123
|
overlayColor?: string;
|
|
123
124
|
resizeMode?: string;
|
|
124
125
|
tintColor?: string;
|
|
@@ -142,3 +143,19 @@ export interface TypeStyleAttributes {
|
|
|
142
143
|
*/
|
|
143
144
|
backdropFilter?: string;
|
|
144
145
|
}
|
|
146
|
+
type WrappedInterface<T> = {
|
|
147
|
+
[P in keyof T as `${string & P}Wrapper`]: T[P];
|
|
148
|
+
};
|
|
149
|
+
type LabelInterface<T> = {
|
|
150
|
+
[P in keyof T as `${string & P}Label`]: T[P];
|
|
151
|
+
};
|
|
152
|
+
type ImageInterface<T> = {
|
|
153
|
+
[P in keyof T as `${string & P}Image`]: T[P];
|
|
154
|
+
};
|
|
155
|
+
export interface TypeStyleWrapperAttributes extends WrappedInterface<TypeStyleAttributes> {
|
|
156
|
+
}
|
|
157
|
+
export interface TypeStyleLabelAttributes extends LabelInterface<TypeStyleAttributes> {
|
|
158
|
+
}
|
|
159
|
+
export interface TypeStyleImageAttributes extends ImageInterface<TypeStyleAttributes> {
|
|
160
|
+
}
|
|
161
|
+
export {};
|
|
@@ -1040,11 +1040,6 @@ function requireReactJsxRuntime_development () {
|
|
|
1040
1040
|
|
|
1041
1041
|
function getSourceInfoErrorAddendum(source) {
|
|
1042
1042
|
{
|
|
1043
|
-
if (source !== undefined) {
|
|
1044
|
-
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
|
|
1045
|
-
var lineNumber = source.lineNumber;
|
|
1046
|
-
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
|
1047
|
-
}
|
|
1048
1043
|
|
|
1049
1044
|
return '';
|
|
1050
1045
|
}
|
|
@@ -1245,6 +1240,7 @@ function requireReactJsxRuntime_development () {
|
|
|
1245
1240
|
}
|
|
1246
1241
|
}
|
|
1247
1242
|
|
|
1243
|
+
var didWarnAboutKeySpread = {};
|
|
1248
1244
|
function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
|
|
1249
1245
|
{
|
|
1250
1246
|
var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
|
|
@@ -1257,7 +1253,7 @@ function requireReactJsxRuntime_development () {
|
|
|
1257
1253
|
info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
|
|
1258
1254
|
}
|
|
1259
1255
|
|
|
1260
|
-
var sourceInfo = getSourceInfoErrorAddendum(
|
|
1256
|
+
var sourceInfo = getSourceInfoErrorAddendum();
|
|
1261
1257
|
|
|
1262
1258
|
if (sourceInfo) {
|
|
1263
1259
|
info += sourceInfo;
|
|
@@ -1315,6 +1311,24 @@ function requireReactJsxRuntime_development () {
|
|
|
1315
1311
|
}
|
|
1316
1312
|
}
|
|
1317
1313
|
|
|
1314
|
+
{
|
|
1315
|
+
if (hasOwnProperty.call(props, 'key')) {
|
|
1316
|
+
var componentName = getComponentNameFromType(type);
|
|
1317
|
+
var keys = Object.keys(props).filter(function (k) {
|
|
1318
|
+
return k !== 'key';
|
|
1319
|
+
});
|
|
1320
|
+
var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';
|
|
1321
|
+
|
|
1322
|
+
if (!didWarnAboutKeySpread[componentName + beforeExample]) {
|
|
1323
|
+
var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';
|
|
1324
|
+
|
|
1325
|
+
error('A props object containing a "key" prop is being spread into JSX:\n' + ' let props = %s;\n' + ' <%s {...props} />\n' + 'React keys must be passed directly to JSX without using spread:\n' + ' let props = %s;\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
|
|
1326
|
+
|
|
1327
|
+
didWarnAboutKeySpread[componentName + beforeExample] = true;
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1318
1332
|
if (type === REACT_FRAGMENT_TYPE) {
|
|
1319
1333
|
validateFragmentProps(element);
|
|
1320
1334
|
} else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type alignmentPropsType = 'topLeft' | 'topCenter' | 'topRight' | 'leftCenter' | 'rightCenter' | 'bottomRight' | 'bottomCenter' | 'bottomLeft';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type appearanceKeysDefaultType = 'dev' | 'accent' | 'primary' | 'secondary' | '
|
|
1
|
+
export type appearanceKeysDefaultType = 'any' | 'dev' | 'surfacePrimary' | 'surfaceSecondary' | 'surfaceTertiary' | 'surfaceQuaternary' | 'surfaceDisabled' | 'gradientPrimary' | 'accent' | 'primary' | 'secondary' | 'disabled' | 'success' | 'warning' | 'error' | 'fail';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type borderColorHoverPropsType = 'accentBorderPrimary' | 'accentBorderPrimaryHover' | 'primaryBorderPrimary' | 'secondaryBorderPrimary' | 'tertiaryBorderPrimary' | 'surfaceBorderPrimary' | 'surfaceBorderSecondary' | 'surfaceBorderTertiary' | 'errorBorderPrimary' | 'errorBorderPrimaryHover' | 'successBorderPrimary';
|
|
1
|
+
export type borderColorHoverPropsType = 'accentBorderPrimary' | 'accentBorderPrimaryHover' | 'primaryBorderPrimary' | 'secondaryBorderPrimary' | 'tertiaryBorderPrimary' | 'surfaceBorderPrimary' | 'surfaceBorderSecondary' | 'surfaceBorderTertiary' | 'errorBorderPrimary' | 'errorBorderPrimaryHover' | 'successBorderPrimary' | 'surfaceBorderQuaternary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type fillPropsType = 'accentPrimary' | 'accentSecondary' | 'accentTertiary' | 'errorPrimary' | 'errorSecondary' | 'gradientPrimary' | 'primaryPrimary' | 'primarySecondary' | 'primaryTertiary' | 'secondaryPrimary' | 'secondarySecondary' | 'secondaryTertiary' | 'successPrimary' | 'successSecondary' | 'surfaceItemPrimary' | '
|
|
1
|
+
export type fillPropsType = 'accentPrimary' | 'accentSecondary' | 'accentTertiary' | 'errorPrimary' | 'errorSecondary' | 'gradientPrimary' | 'primaryPrimary' | 'primarySecondary' | 'primaryTertiary' | 'secondaryPrimary' | 'secondarySecondary' | 'secondaryTertiary' | 'successPrimary' | 'successSecondary' | 'surfaceItemPrimary' | 'surfacePrimary' | 'surfaceQuaternary' | 'surfaceQuinary' | 'surfaceSecondary' | 'surfaceTertiary' | 'tertiaryPrimary' | 'tertiarySecondary' | 'tertiaryTertiary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type iconFillSizePropsType = '14' | '16' | '24' | '32' | '36' | '40' | '60' | '64' | '144';
|
|
1
|
+
export type iconFillSizePropsType = '10' | '14' | '16' | '24' | '32' | '36' | '40' | '60' | '64' | '144';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type iconSizePropsType = '14' | '16' | '20' | '24' | '32' | '40' | '60' | '64' | '144';
|
|
1
|
+
export type iconSizePropsType = '10' | '12' | '14' | '16' | '20' | '24' | '32' | '40' | '60' | '64' | '144';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type itemColorPropsType = '
|
|
1
|
+
export type itemColorPropsType = 'accentItemPrimary' | 'accentItemSecondary' | 'accentItemTertiary' | 'accentItemDisabled' | 'primaryItemPrimary' | 'primaryItemSecondary' | 'primaryItemTertiary' | 'primaryItemDisabled' | 'secondaryItemPrimary' | 'secondaryItemSecondary' | 'secondaryItemTertiary' | 'secondaryItemDisabled' | 'tertiaryItemPrimary' | 'tertiaryItemSecondary' | 'tertiaryItemTertiary' | 'surfaceItemPrimary' | 'surfaceItemSecondary' | 'surfaceItemTertiary' | 'surfaceItemQuaternary' | 'surfaceItemQuinary' | 'surfaceItemDisabled' | 'surfaceItemInvert' | 'surfaceItemAccent' | 'errorItemPrimary' | 'errorItemSecondary' | 'successItemPrimary' | 'successItemSecondary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type sizeOptionPropsType = 'compact' | 'normal' | 'regular' | 'any';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type sizePXPropsType = '14' | '16' | '24' | '32' | '40' | '48' | '56' | '60' | '64' | '72' | '80' | '96' | '112' | '144' | '240';
|
|
1
|
+
export type sizePXPropsType = '14' | '16' | '20' | '24' | '32' | '40' | '48' | '56' | '60' | '64' | '72' | '80' | '96' | '112' | '144' | '240';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type stateKeysDefaultType = 'normal' | 'filled' | 'active' | 'activeFilled' | 'error' | 'errorFilled' | 'readonly' | 'disabled' | 'success' | 'require';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type { alignDirectionPropsType } from './componentProps/alignDirection';
|
|
2
2
|
export type { alignPropsType } from './componentProps/align';
|
|
3
|
-
export type {
|
|
3
|
+
export type { alignmentPropsType } from './componentProps/alignment';
|
|
4
4
|
export type { borderColorHoverPropsType } from './componentProps/borderColorHover';
|
|
5
5
|
export type { borderColorPropsType } from './componentProps/borderColor';
|
|
6
6
|
export type { borderTypePropsType } from './componentProps/borderType';
|
|
@@ -32,12 +32,11 @@ export type { overflowPropsType } from './componentProps/overflow.ts';
|
|
|
32
32
|
export type { positionPropsType } from './componentProps/position';
|
|
33
33
|
export type { resizeModePropsType } from './componentProps/resizeMode';
|
|
34
34
|
export type { shapePropsType } from './componentProps/shape';
|
|
35
|
-
export type {
|
|
35
|
+
export type { sizeOptionPropsType } from './componentProps/sizeInterface';
|
|
36
36
|
export type { sizePXPropsType } from './componentProps/sizePX';
|
|
37
37
|
export type { sizePropsType } from './componentProps/size';
|
|
38
38
|
export type { stackingPropsType } from './componentProps/stacking';
|
|
39
39
|
export type { statePropsType } from './componentProps/state';
|
|
40
|
-
export type { strokeColorPropsType } from './componentProps/strokeColor';
|
|
41
40
|
export type { textAlignPropsType } from './componentProps/textAlign';
|
|
42
41
|
export type { textColorActivePropsType } from './componentProps/textColorActive';
|
|
43
42
|
export type { textColorHoverPropsType } from './componentProps/textColorHover';
|
|
@@ -1,56 +1,58 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderColorPropsType, directionPropsType, fillHoverPropsType, fillPropsType, heightPropsType, shapePropsType, sizePropsType, textColorPropsType, textWeightPropsType, widthPropsType } from '../../types';
|
|
3
|
+
import { borderColorPropsType, directionPropsType, fillHoverPropsType, fillPropsType, heightPropsType, itemColorPropsType, shapePropsType, sizePropsType, textColorPropsType, textWeightPropsType, widthPropsType } from '../../types';
|
|
4
4
|
export interface IAccordionProps extends TypeStyleAttributes {
|
|
5
|
-
children?:
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className: string;
|
|
7
|
+
initial: any;
|
|
8
|
+
isMultiple: boolean;
|
|
6
9
|
items?: {
|
|
7
|
-
content:
|
|
10
|
+
content: ReactNode;
|
|
8
11
|
id: number | string;
|
|
9
12
|
title: string;
|
|
10
13
|
}[];
|
|
11
|
-
|
|
12
|
-
initial: any;
|
|
13
|
-
isMultiple: boolean;
|
|
14
|
+
style?: CSSProperties;
|
|
14
15
|
onClickItem?: ({}: {
|
|
15
16
|
id: number | string;
|
|
16
17
|
}) => void;
|
|
17
18
|
borderColor?: borderColorPropsType;
|
|
18
19
|
direction?: directionPropsType;
|
|
19
20
|
fill?: fillPropsType;
|
|
20
|
-
shape?: shapePropsType;
|
|
21
21
|
height?: heightPropsType;
|
|
22
|
+
shape?: shapePropsType;
|
|
22
23
|
width?: widthPropsType;
|
|
23
24
|
}
|
|
24
25
|
export interface IAccordionItemProps extends TypeStyleAttributes {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
icon?: React.ReactNode;
|
|
29
|
-
content?: React.ReactNode;
|
|
30
|
-
afterContent?: React.ReactNode;
|
|
31
|
-
beforeContent?: React.ReactNode;
|
|
26
|
+
afterContent?: ReactNode;
|
|
27
|
+
beforeContent?: ReactNode;
|
|
28
|
+
children?: ReactNode;
|
|
32
29
|
className?: string;
|
|
33
|
-
|
|
34
|
-
titleTextColor?: textColorPropsType;
|
|
35
|
-
titleTextWeight?: textWeightPropsType;
|
|
36
|
-
contentTextSize?: sizePropsType;
|
|
30
|
+
content?: ReactNode;
|
|
37
31
|
contentTextColor?: textColorPropsType;
|
|
32
|
+
contentTextSize?: sizePropsType;
|
|
38
33
|
contentTextWeight?: textWeightPropsType;
|
|
34
|
+
icon?: ReactNode;
|
|
35
|
+
id: number | string;
|
|
39
36
|
size?: sizePropsType;
|
|
37
|
+
style?: CSSProperties;
|
|
38
|
+
title?: string;
|
|
39
|
+
titleTextColor?: textColorPropsType;
|
|
40
|
+
titleTextSize?: sizePropsType;
|
|
41
|
+
titleTextWeight?: textWeightPropsType;
|
|
40
42
|
isExpanded?: boolean;
|
|
41
43
|
onClick?: ({}: {
|
|
42
44
|
id: number | string;
|
|
43
45
|
title?: string;
|
|
44
|
-
content?:
|
|
46
|
+
content?: ReactNode;
|
|
45
47
|
isExpanded?: boolean;
|
|
46
48
|
}) => void;
|
|
47
49
|
fillDesktop?: fillPropsType;
|
|
48
50
|
fillMobile?: fillPropsType;
|
|
49
51
|
fillTablet?: fillPropsType;
|
|
50
|
-
iconFill?:
|
|
51
|
-
iconFillDesktop?:
|
|
52
|
-
iconFillMobile?:
|
|
53
|
-
iconFillTablet?:
|
|
52
|
+
iconFill?: itemColorPropsType;
|
|
53
|
+
iconFillDesktop?: itemColorPropsType;
|
|
54
|
+
iconFillMobile?: itemColorPropsType;
|
|
55
|
+
iconFillTablet?: itemColorPropsType;
|
|
54
56
|
shapeDesktop?: shapePropsType;
|
|
55
57
|
shapeMobile?: shapePropsType;
|
|
56
58
|
shapeTablet?: shapePropsType;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A as Accordion, a as AccordionItem } from '../Accordion-
|
|
2
|
-
import '../
|
|
3
|
-
import '../jsx-runtime-
|
|
1
|
+
export { A as Accordion, a as AccordionItem } from '../Accordion-vh2p5Mzs.js';
|
|
2
|
+
import '../_tslib-S-VPg1Cw.js';
|
|
3
|
+
import '../jsx-runtime-C2uP7l8s.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'clsx';
|
|
6
|
-
import '../hooks/useDeviceTargetClass.js';
|
|
7
6
|
import 'lodash/castArray';
|
|
7
|
+
import '../hooks/useDeviceTargetClass.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import '../context/UIContext.js';
|
|
10
10
|
import 'prop-types';
|
|
@@ -14,20 +14,9 @@ import '../hooks/useStyles.js';
|
|
|
14
14
|
import 'lodash/maxBy';
|
|
15
15
|
import 'lodash/upperFirst';
|
|
16
16
|
import '../hooks/styleAttributes.js';
|
|
17
|
-
import '../Icon-
|
|
17
|
+
import '../Icon-Duj1nynQ.js';
|
|
18
18
|
import 'react-inlinesvg';
|
|
19
|
-
import '
|
|
20
|
-
import '../
|
|
21
|
-
import '
|
|
22
|
-
import '../
|
|
23
|
-
import '../constants/componentProps/textAlign.js';
|
|
24
|
-
import '../constants/componentProps/textColor.js';
|
|
25
|
-
import '../constants/componentProps/textGradient.js';
|
|
26
|
-
import '../constants/componentProps/textStyle.js';
|
|
27
|
-
import '../constants/componentProps/textWeight.js';
|
|
28
|
-
import '../constants/componentProps/titleSize.js';
|
|
29
|
-
import '../constants/componentProps/type.js';
|
|
30
|
-
import '../constants/componentProps/wrap.js';
|
|
31
|
-
import '../constants/componentProps/size.js';
|
|
32
|
-
import '../constants/componentProps/textSize.js';
|
|
33
|
-
import '../constants/componentProps/shape.js';
|
|
19
|
+
import '../Link-CbCqej5B.js';
|
|
20
|
+
import '../Tooltip-CcwyN7PD.js';
|
|
21
|
+
import '../Text-CxrzHFN1.js';
|
|
22
|
+
import '../Title-BUN57fWw.js';
|
|
@@ -1,44 +1,29 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { fillHoverPropsType, fillPropsType, iconFillSizePropsType, iconSizePropsType, shapePropsType, sizePXPropsType, textColorPropsType, textSizePropsType, textWeightPropsType } from '../../types';
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { fillHoverPropsType, fillPropsType, iconFillSizePropsType, iconSizePropsType, itemColorPropsType, shapePropsType, sizePXPropsType, textColorPropsType, textSizePropsType, textWeightPropsType } from '../../types';
|
|
4
|
+
export interface IAvatarProps extends TypeStyleAttributes {
|
|
5
|
+
Dot?: ReactNode;
|
|
6
|
+
after?: ReactNode;
|
|
7
|
+
before?: ReactNode;
|
|
8
|
+
className?: string;
|
|
6
9
|
fill?: fillPropsType;
|
|
10
|
+
firstName?: string;
|
|
11
|
+
icon?: ElementType;
|
|
7
12
|
iconFill?: fillPropsType;
|
|
8
13
|
iconFillHover?: fillHoverPropsType;
|
|
9
14
|
iconFillSize?: iconFillSizePropsType;
|
|
10
|
-
iconItemFill?:
|
|
15
|
+
iconItemFill?: itemColorPropsType;
|
|
11
16
|
iconShape?: shapePropsType;
|
|
12
17
|
iconSize?: iconSizePropsType;
|
|
13
|
-
|
|
18
|
+
iconSrc?: string;
|
|
14
19
|
mode?: string;
|
|
20
|
+
secondName?: string;
|
|
15
21
|
shape?: shapePropsType;
|
|
16
22
|
size?: sizePXPropsType;
|
|
23
|
+
src?: string;
|
|
17
24
|
textColor?: textColorPropsType;
|
|
18
25
|
textSize?: textSizePropsType;
|
|
19
26
|
textWeight?: textWeightPropsType;
|
|
20
|
-
type?: string;
|
|
21
|
-
}
|
|
22
|
-
type appearanceKeysType = appearanceKeysDefaultType & {};
|
|
23
|
-
export type avatarAppearanceType = {
|
|
24
|
-
[key in appearanceKeysType]?: IAvatarThemeColor;
|
|
25
|
-
};
|
|
26
|
-
export interface IAvatarConfig {
|
|
27
|
-
appearance: avatarAppearanceType | undefined;
|
|
28
|
-
setAppearance: (newComponent: avatarAppearanceType) => void;
|
|
29
|
-
}
|
|
30
|
-
export interface IAvatarProps extends IAvatarThemeColor, TypeStyleAttributes {
|
|
31
|
-
after?: React.ReactNode;
|
|
32
|
-
before?: React.ReactNode;
|
|
33
|
-
className?: string;
|
|
34
|
-
Dot?: React.ReactNode;
|
|
35
|
-
firstName?: string;
|
|
36
|
-
icon?: React.ElementType;
|
|
37
|
-
iconSrc?: string;
|
|
38
|
-
mode?: string;
|
|
39
|
-
onClick?: () => void;
|
|
40
|
-
secondName?: string;
|
|
41
|
-
src?: string;
|
|
42
27
|
type?: 'image' | 'text';
|
|
28
|
+
onClick?: () => void;
|
|
43
29
|
}
|
|
44
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as Avatar } from '../Avatar-
|
|
2
|
-
import '../jsx-runtime-
|
|
1
|
+
export { A as Avatar } from '../Avatar-DhZxzLEY.js';
|
|
2
|
+
import '../jsx-runtime-C2uP7l8s.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../hooks/useDeviceTargetClass.js';
|
|
@@ -9,29 +9,15 @@ import '../context/UIContext.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import '../hooks/useMediaQueries.js';
|
|
11
11
|
import 'react-responsive';
|
|
12
|
-
import '../Icon-
|
|
13
|
-
import '../
|
|
12
|
+
import '../Icon-Duj1nynQ.js';
|
|
13
|
+
import '../_tslib-S-VPg1Cw.js';
|
|
14
|
+
import 'react-inlinesvg';
|
|
14
15
|
import '../hooks/useStyles.js';
|
|
15
16
|
import 'lodash/maxBy';
|
|
16
17
|
import 'lodash/upperFirst';
|
|
17
18
|
import '../hooks/styleAttributes.js';
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import '../Text-
|
|
21
|
-
import '
|
|
22
|
-
import '../
|
|
23
|
-
import '../constants/componentProps/textAlign.js';
|
|
24
|
-
import '../constants/componentProps/textColor.js';
|
|
25
|
-
import '../constants/componentProps/textGradient.js';
|
|
26
|
-
import '../constants/componentProps/textStyle.js';
|
|
27
|
-
import '../constants/componentProps/textWeight.js';
|
|
28
|
-
import '../constants/componentProps/titleSize.js';
|
|
29
|
-
import '../constants/componentProps/type.js';
|
|
30
|
-
import '../constants/componentProps/wrap.js';
|
|
31
|
-
import '../constants/componentProps/size.js';
|
|
32
|
-
import '../constants/componentProps/textSize.js';
|
|
33
|
-
import '../constants/componentProps/shape.js';
|
|
34
|
-
import './Image.js';
|
|
35
|
-
import '../constants/componentProps/borderColor.js';
|
|
36
|
-
import '../constants/componentProps/resizeMode.js';
|
|
37
|
-
import '../constants/componentProps/width.js';
|
|
19
|
+
import '../Link-CbCqej5B.js';
|
|
20
|
+
import '../Tooltip-CcwyN7PD.js';
|
|
21
|
+
import '../Text-CxrzHFN1.js';
|
|
22
|
+
import '../Title-BUN57fWw.js';
|
|
23
|
+
import '../Image-Bz4Fo3eB.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IBadgeConfig, IBadgeProps } from './Badge.interface';
|
|
2
|
+
declare const badgeConfig: IBadgeConfig;
|
|
3
|
+
declare function Badge(props: IBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare namespace Badge {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
size: string;
|
|
7
|
+
shape: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export { Badge, badgeConfig };
|