@itcase/ui 1.1.8 → 1.1.10
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-CXvqu97t.js} +5 -7
- package/dist/{Avatar-diLCwtnd.js → Avatar-JAaLGdYj.js} +6 -24
- package/dist/Badge-DPM6qrjA.js +62 -0
- package/dist/Breadcrumbs-BZpYBM5A.js +88 -0
- package/dist/Button-CyO_Wl49.js +96 -0
- package/dist/Caption-DDh0VFPJ.js +25 -0
- package/dist/Card-DKmhFMCS.js +28 -0
- package/dist/Cell-D3aJx_C0.js +65 -0
- package/dist/Checkbox-BqTMHeES.js +86 -0
- package/dist/Chips-DhyDHpu7.js +69 -0
- package/dist/Choice-cgCRlPk0.js +98 -0
- package/dist/Code-DkWVSDOy.js +273 -0
- package/dist/ContextMenuItem-DjDhhmjF.js +46 -0
- package/dist/DadataHintField-QzDwYdF1.js +1103 -0
- package/dist/DatePicker-BFLpftbJ.js +14104 -0
- package/dist/{Divider-BlBwMHgl.js → Divider-D0TEKxHr.js} +1 -1
- package/dist/{Dot-C3R1y59u.js → Dot-Bc0Ly45H.js} +1 -1
- package/dist/Drawer-CgJX3Utw.js +139 -0
- package/dist/DropdownItem-DOBsvnrL.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-C1j6rkeI.js} +5 -20
- package/dist/Image-Bz4Fo3eB.js +65 -0
- package/dist/Input-CYMKQ0qF.js +133 -0
- package/dist/InputPassword-Aff74Atr.js +110 -0
- package/dist/Label-CD6o__-D.js +85 -0
- package/dist/{Link-ByBzBRDH.js → Link-CbCqej5B.js} +8 -58
- package/dist/ListItem-Dgx1_Igi.js +46 -0
- package/dist/Loader-BUgSIcId.js +53 -0
- package/dist/Logo-DsOEX4uk.js +30 -0
- package/dist/Menu-89epjC8r.js +34 -0
- package/dist/MenuItem-DvpftOnP.js +81 -0
- package/dist/{ModalLoader-DJVKhIZR.js → ModalLoader-CushfGnC.js} +2 -2
- package/dist/{NotificationList-CJyEnxWw.js → NotificationList-D_NNtwS1.js} +9 -4
- package/dist/Overlay-C4gCb0sL.js +25 -0
- package/dist/Pagination-0sADvbwj.js +86 -0
- package/dist/Radio-DFeWsO4E.js +87 -0
- package/dist/RangeSlider-BPFVikab.js +50 -0
- package/dist/Response-C5_yetym.js +74 -0
- package/dist/Scrollbar-DrRNpn12.js +27 -0
- package/dist/SearchResult-C0kjGm-o.js +120 -0
- package/dist/Segmented-C56XBzTH.js +91 -0
- package/dist/SiteMenuButton-Do8ZNCkl.js +58 -0
- package/dist/Swiper-BYPes9JY.js +5115 -0
- package/dist/Switch-0BHqovLA.js +12 -0
- package/dist/SwitchField-W4_o97BR.js +98 -0
- package/dist/TabGroup-DRiFyK3Z.js +144 -0
- package/dist/{Text-BcGbRc14.js → Text-edtauAM6.js} +3 -2
- package/dist/Textarea-Cie6SPyp.js +96 -0
- package/dist/Tile-CQ5L7pja.js +52 -0
- package/dist/Title-BUN57fWw.js +84 -0
- package/dist/Tooltip-jT5A43he.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-Dx0BRqhi.js} +6 -8
- package/dist/cjs/{Avatar-DQ5fNpnO.js → Avatar-C2xK87qB.js} +6 -24
- package/dist/cjs/Badge-BvJTwXqB.js +69 -0
- package/dist/cjs/Breadcrumbs-PHMiEJZH.js +96 -0
- package/dist/cjs/{Button-3GkRq8Pv.js → Button-D7ctQMni.js} +10 -14
- package/dist/cjs/Caption-f-OM1D-G.js +31 -0
- package/dist/cjs/Card-C5uctOQL.js +34 -0
- package/dist/cjs/Cell-B2BMVPlV.js +71 -0
- package/dist/cjs/Checkbox-C1HH9ut8.js +93 -0
- package/dist/cjs/Chips-DkUdk6Zs.js +76 -0
- package/dist/cjs/Choice-CJqMvK5I.js +106 -0
- package/dist/cjs/Code-ByEr4h2R.js +280 -0
- package/dist/cjs/ContextMenuItem-DocbJZKp.js +53 -0
- package/dist/cjs/DadataHintField-DQHPRLs0.js +1111 -0
- package/dist/cjs/DatePicker-7Ugf6hQ1.js +14128 -0
- package/dist/cjs/{Divider-CIYsHYud.js → Divider-doetVRw0.js} +1 -1
- package/dist/cjs/{Dot-vDSigHDs.js → Dot-CKWexdtn.js} +1 -1
- package/dist/cjs/Drawer-BGZBaR2Q.js +146 -0
- package/dist/cjs/DropdownItem-BVxf7bPs.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-D1v73UhR.js} +6 -21
- package/dist/cjs/Image-CCx6QWZj.js +71 -0
- package/dist/cjs/Input-BqKlyvEt.js +141 -0
- package/dist/cjs/InputPassword-saMz6m0X.js +117 -0
- package/dist/cjs/Label-C2Whza8M.js +92 -0
- package/dist/cjs/{Link-BoShjCEw.js → Link-3qPujNn9.js} +10 -61
- package/dist/cjs/ListItem-CvMoKXM-.js +53 -0
- package/dist/cjs/Loader-CK9zQAPl.js +60 -0
- package/dist/cjs/Logo-YADZn1N4.js +36 -0
- package/dist/cjs/Menu-BNe1i3Z7.js +40 -0
- package/dist/cjs/MenuItem-BRQoOa-K.js +89 -0
- package/dist/cjs/{ModalLoader-4mmV5G4E.js → ModalLoader-1f8MYsLV.js} +4 -4
- package/dist/cjs/{NotificationList-DnI8DqyE.js → NotificationList-ydXfdUwy.js} +10 -5
- package/dist/cjs/Overlay-18bnPZPd.js +31 -0
- package/dist/cjs/Pagination-D8EHefOz.js +94 -0
- package/dist/cjs/Radio-DRXdBBWU.js +94 -0
- package/dist/cjs/RangeSlider-Dy53bTyY.js +57 -0
- package/dist/cjs/Response-De79pGs5.js +82 -0
- package/dist/cjs/Scrollbar-DOujlQOb.js +33 -0
- package/dist/cjs/SearchResult-DFG3pyeM.js +129 -0
- package/dist/cjs/Segmented-D0ISlz9H.js +99 -0
- package/dist/cjs/SiteMenuButton-Ca46xAzk.js +65 -0
- package/dist/cjs/Swiper-oPcqfskQ.js +5122 -0
- package/dist/cjs/Switch-K1p9h3aF.js +19 -0
- package/dist/cjs/SwitchField-xk1JORBl.js +108 -0
- package/dist/cjs/TabGroup-DEEcVLO0.js +153 -0
- package/dist/cjs/{Text-D7Aq1i5R.js → Text-CgYNdSwY.js} +3 -2
- package/dist/cjs/Textarea-WIGhhrgu.js +103 -0
- package/dist/cjs/Tile-gAqZGMv7.js +58 -0
- package/dist/cjs/Title-C3lN-EvU.js +91 -0
- package/dist/cjs/Tooltip-DasmzIDY.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.d.ts +0 -10
- 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 +55 -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.js +10 -21
- 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 +48 -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.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.js +8 -19
- 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.js +5 -7
- 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.d.ts +7 -0
- package/dist/cjs/components/Panel/Panel.interface.d.ts +56 -0
- package/dist/cjs/components/Panel/index.d.ts +1 -0
- package/dist/cjs/components/Panel.js +112 -0
- 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 +156 -209
- 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 +5 -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.js +0 -2
- package/dist/cjs/{floating-ui.dom-C34fOuI9.js → floating-ui.dom-CW7i9VDu.js} +60 -22
- package/dist/cjs/hooks/styleAttributes.interface.d.ts +36 -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/fill.d.ts +1 -1
- package/dist/cjs/types/componentProps/itemColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/overflow.d.ts +1 -0
- package/dist/cjs/types/componentProps/sizeInterface.d.ts +1 -1
- package/dist/cjs/types/componentProps/stateKeys.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +3 -3
- package/dist/components/Accordion/Accordion.interface.d.ts +26 -24
- package/dist/components/Accordion.js +9 -20
- package/dist/components/Avatar/Avatar.d.ts +0 -10
- 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 +55 -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.js +10 -21
- 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 +48 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker.js +18 -14062
- 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.js +8 -19
- 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.js +5 -7
- 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.d.ts +7 -0
- package/dist/components/Panel/Panel.interface.d.ts +56 -0
- package/dist/components/Panel/index.d.ts +1 -0
- package/dist/components/Panel.js +105 -0
- 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 +156 -209
- 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 +5 -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 +63 -88
- package/dist/constants.js +0 -1
- package/dist/css/components/Button/Button.css +50 -55
- 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 +9 -39
- package/dist/css/components/Link/Link.css +22 -0
- package/dist/css/components/Pagination/Pagination.css +2 -0
- package/dist/css/components/Panel/Panel.css +107 -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 +36 -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/fill.d.ts +1 -1
- package/dist/types/componentProps/itemColor.d.ts +1 -1
- package/dist/types/componentProps/overflow.d.ts +1 -0
- package/dist/types/componentProps/sizeInterface.d.ts +1 -1
- package/dist/types/componentProps/stateKeys.d.ts +1 -0
- package/dist/types/index.d.ts +3 -3
- package/package.json +39 -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/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/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
|
@@ -55,9 +55,8 @@ function getContainingBlock(element) {
|
|
|
55
55
|
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
56
56
|
if (isContainingBlock(currentNode)) {
|
|
57
57
|
return currentNode;
|
|
58
|
-
} else {
|
|
59
|
-
currentNode = getParentNode(currentNode);
|
|
60
58
|
}
|
|
59
|
+
currentNode = getParentNode(currentNode);
|
|
61
60
|
}
|
|
62
61
|
return null;
|
|
63
62
|
}
|
|
@@ -241,12 +240,21 @@ function getPaddingObject(padding) {
|
|
|
241
240
|
};
|
|
242
241
|
}
|
|
243
242
|
function rectToClientRect(rect) {
|
|
243
|
+
const {
|
|
244
|
+
x,
|
|
245
|
+
y,
|
|
246
|
+
width,
|
|
247
|
+
height
|
|
248
|
+
} = rect;
|
|
244
249
|
return {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
+
width,
|
|
251
|
+
height,
|
|
252
|
+
top: y,
|
|
253
|
+
left: x,
|
|
254
|
+
right: x + width,
|
|
255
|
+
bottom: y + height,
|
|
256
|
+
x,
|
|
257
|
+
y
|
|
250
258
|
};
|
|
251
259
|
}
|
|
252
260
|
|
|
@@ -435,9 +443,10 @@ async function detectOverflow(state, options) {
|
|
|
435
443
|
strategy
|
|
436
444
|
}));
|
|
437
445
|
const rect = elementContext === 'floating' ? {
|
|
438
|
-
...rects.floating,
|
|
439
446
|
x,
|
|
440
|
-
y
|
|
447
|
+
y,
|
|
448
|
+
width: rects.floating.width,
|
|
449
|
+
height: rects.floating.height
|
|
441
450
|
} : rects.reference;
|
|
442
451
|
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
443
452
|
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
@@ -674,6 +683,8 @@ async function convertValueToCoords(state, options) {
|
|
|
674
683
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
675
684
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
676
685
|
const rawValue = evaluate(options, state);
|
|
686
|
+
|
|
687
|
+
// eslint-disable-next-line prefer-const
|
|
677
688
|
let {
|
|
678
689
|
mainAxis,
|
|
679
690
|
crossAxis,
|
|
@@ -707,7 +718,7 @@ async function convertValueToCoords(state, options) {
|
|
|
707
718
|
* object may be passed.
|
|
708
719
|
* @see https://floating-ui.com/docs/offset
|
|
709
720
|
*/
|
|
710
|
-
const offset = function (options) {
|
|
721
|
+
const offset$1 = function (options) {
|
|
711
722
|
if (options === void 0) {
|
|
712
723
|
options = 0;
|
|
713
724
|
}
|
|
@@ -869,10 +880,10 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
869
880
|
}
|
|
870
881
|
|
|
871
882
|
const topLayerSelectors = [':popover-open', ':modal'];
|
|
872
|
-
function isTopLayer(
|
|
883
|
+
function isTopLayer(element) {
|
|
873
884
|
return topLayerSelectors.some(selector => {
|
|
874
885
|
try {
|
|
875
|
-
return
|
|
886
|
+
return element.matches(selector);
|
|
876
887
|
} catch (e) {
|
|
877
888
|
return false;
|
|
878
889
|
}
|
|
@@ -1060,7 +1071,7 @@ function getClippingRect(_ref) {
|
|
|
1060
1071
|
rootBoundary,
|
|
1061
1072
|
strategy
|
|
1062
1073
|
} = _ref;
|
|
1063
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1074
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1064
1075
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1065
1076
|
const firstClippingAncestor = clippingAncestors[0];
|
|
1066
1077
|
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
@@ -1122,6 +1133,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1122
1133
|
};
|
|
1123
1134
|
}
|
|
1124
1135
|
|
|
1136
|
+
function isStaticPositioned(element) {
|
|
1137
|
+
return getComputedStyle(element).position === 'static';
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1125
1140
|
function getTrueOffsetParent(element, polyfill) {
|
|
1126
1141
|
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1127
1142
|
return null;
|
|
@@ -1135,29 +1150,41 @@ function getTrueOffsetParent(element, polyfill) {
|
|
|
1135
1150
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1136
1151
|
// such as table ancestors and cross browser bugs.
|
|
1137
1152
|
function getOffsetParent(element, polyfill) {
|
|
1138
|
-
const
|
|
1139
|
-
if (
|
|
1140
|
-
return
|
|
1153
|
+
const win = getWindow(element);
|
|
1154
|
+
if (isTopLayer(element)) {
|
|
1155
|
+
return win;
|
|
1156
|
+
}
|
|
1157
|
+
if (!isHTMLElement(element)) {
|
|
1158
|
+
let svgOffsetParent = getParentNode(element);
|
|
1159
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1160
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1161
|
+
return svgOffsetParent;
|
|
1162
|
+
}
|
|
1163
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1164
|
+
}
|
|
1165
|
+
return win;
|
|
1141
1166
|
}
|
|
1142
1167
|
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1143
|
-
while (offsetParent && isTableElement(offsetParent) &&
|
|
1168
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1144
1169
|
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1145
1170
|
}
|
|
1146
|
-
if (offsetParent && (
|
|
1147
|
-
return
|
|
1171
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1172
|
+
return win;
|
|
1148
1173
|
}
|
|
1149
|
-
return offsetParent || getContainingBlock(element) ||
|
|
1174
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1150
1175
|
}
|
|
1151
1176
|
|
|
1152
1177
|
const getElementRects = async function (data) {
|
|
1153
1178
|
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1154
1179
|
const getDimensionsFn = this.getDimensions;
|
|
1180
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1155
1181
|
return {
|
|
1156
1182
|
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1157
1183
|
floating: {
|
|
1158
1184
|
x: 0,
|
|
1159
1185
|
y: 0,
|
|
1160
|
-
|
|
1186
|
+
width: floatingDimensions.width,
|
|
1187
|
+
height: floatingDimensions.height
|
|
1161
1188
|
}
|
|
1162
1189
|
};
|
|
1163
1190
|
};
|
|
@@ -1227,9 +1254,11 @@ function observeMove(element, onMove) {
|
|
|
1227
1254
|
return refresh();
|
|
1228
1255
|
}
|
|
1229
1256
|
if (!ratio) {
|
|
1257
|
+
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
1258
|
+
// to prevent an infinite loop of updates.
|
|
1230
1259
|
timeoutId = setTimeout(() => {
|
|
1231
1260
|
refresh(false, 1e-7);
|
|
1232
|
-
},
|
|
1261
|
+
}, 1000);
|
|
1233
1262
|
} else {
|
|
1234
1263
|
refresh(false, ratio);
|
|
1235
1264
|
}
|
|
@@ -1333,6 +1362,15 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1333
1362
|
};
|
|
1334
1363
|
}
|
|
1335
1364
|
|
|
1365
|
+
/**
|
|
1366
|
+
* Modifies the placement by translating the floating element along the
|
|
1367
|
+
* specified axes.
|
|
1368
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
1369
|
+
* object may be passed.
|
|
1370
|
+
* @see https://floating-ui.com/docs/offset
|
|
1371
|
+
*/
|
|
1372
|
+
const offset = offset$1;
|
|
1373
|
+
|
|
1336
1374
|
/**
|
|
1337
1375
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1338
1376
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type * as CSS from 'csstype';
|
|
2
|
+
import { overflowPropsType, textAlignPropsType } from '../types';
|
|
1
3
|
export interface TypeStyleAttributes {
|
|
2
4
|
/**
|
|
3
5
|
* Layout
|
|
@@ -5,7 +7,7 @@ export interface TypeStyleAttributes {
|
|
|
5
7
|
alignContent?: string;
|
|
6
8
|
alignItems?: string;
|
|
7
9
|
alignSelf?: string;
|
|
8
|
-
aspectRatio?:
|
|
10
|
+
aspectRatio?: CSS.Property.AspectRatio;
|
|
9
11
|
border?: string;
|
|
10
12
|
borderBottomWidth?: string;
|
|
11
13
|
borderEndWidth?: string;
|
|
@@ -16,13 +18,13 @@ export interface TypeStyleAttributes {
|
|
|
16
18
|
bottom?: string;
|
|
17
19
|
columnGap?: string;
|
|
18
20
|
columnWidth?: string;
|
|
19
|
-
display?:
|
|
21
|
+
display?: CSS.Property.Display;
|
|
20
22
|
end?: string;
|
|
21
|
-
flex?:
|
|
22
|
-
flexBasis?:
|
|
23
|
-
flexDirection?:
|
|
24
|
-
flexShrink?:
|
|
25
|
-
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;
|
|
26
28
|
gap?: string;
|
|
27
29
|
height?: string;
|
|
28
30
|
left?: string;
|
|
@@ -39,8 +41,8 @@ export interface TypeStyleAttributes {
|
|
|
39
41
|
maxWidth?: string;
|
|
40
42
|
minHeight?: string;
|
|
41
43
|
minWidth?: string;
|
|
42
|
-
order?:
|
|
43
|
-
overflow?:
|
|
44
|
+
order?: CSS.Property.Order;
|
|
45
|
+
overflow?: overflowPropsType;
|
|
44
46
|
padding?: string;
|
|
45
47
|
paddingBottom?: string;
|
|
46
48
|
paddingEnd?: string;
|
|
@@ -67,7 +69,7 @@ export interface TypeStyleAttributes {
|
|
|
67
69
|
/**
|
|
68
70
|
* Transform
|
|
69
71
|
*/
|
|
70
|
-
transform?:
|
|
72
|
+
transform?: CSS.Property.Transform;
|
|
71
73
|
/**
|
|
72
74
|
* View
|
|
73
75
|
*/
|
|
@@ -98,26 +100,26 @@ export interface TypeStyleAttributes {
|
|
|
98
100
|
color?: string;
|
|
99
101
|
fontFamily?: string;
|
|
100
102
|
fontSize?: string;
|
|
101
|
-
fontStyle?:
|
|
103
|
+
fontStyle?: CSS.Property.FontStyle;
|
|
102
104
|
fontVariant?: string;
|
|
103
|
-
fontWeight?:
|
|
105
|
+
fontWeight?: CSS.Property.FontWeight;
|
|
104
106
|
letterSpacing?: string;
|
|
105
107
|
lineHeight?: string;
|
|
106
|
-
textAlign?:
|
|
108
|
+
textAlign?: textAlignPropsType;
|
|
107
109
|
textDecorationColor?: string;
|
|
108
110
|
textDecorationLine?: string;
|
|
109
111
|
textDecorationStyle?: string;
|
|
110
112
|
textShadowColor?: string;
|
|
111
113
|
textShadowOffset?: string;
|
|
112
114
|
textShadowRadius?: string;
|
|
113
|
-
textTransform?:
|
|
114
|
-
verticalAlign?:
|
|
115
|
-
writingMode?:
|
|
116
|
-
whiteSpace?:
|
|
115
|
+
textTransform?: CSS.Property.TextTransform;
|
|
116
|
+
verticalAlign?: CSS.Property.VerticalAlign;
|
|
117
|
+
writingMode?: CSS.Property.WritingMode;
|
|
118
|
+
whiteSpace?: CSS.Property.WhiteSpace;
|
|
117
119
|
/**
|
|
118
120
|
* Image
|
|
119
121
|
*/
|
|
120
|
-
objectFit?:
|
|
122
|
+
objectFit?: CSS.Property.ObjectFit;
|
|
121
123
|
overlayColor?: string;
|
|
122
124
|
resizeMode?: string;
|
|
123
125
|
tintColor?: string;
|
|
@@ -141,3 +143,19 @@ export interface TypeStyleAttributes {
|
|
|
141
143
|
*/
|
|
142
144
|
backdropFilter?: string;
|
|
143
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 {};
|
|
@@ -1034,11 +1034,6 @@ function requireReactJsxRuntime_development () {
|
|
|
1034
1034
|
|
|
1035
1035
|
function getSourceInfoErrorAddendum(source) {
|
|
1036
1036
|
{
|
|
1037
|
-
if (source !== undefined) {
|
|
1038
|
-
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
|
|
1039
|
-
var lineNumber = source.lineNumber;
|
|
1040
|
-
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
|
1041
|
-
}
|
|
1042
1037
|
|
|
1043
1038
|
return '';
|
|
1044
1039
|
}
|
|
@@ -1239,6 +1234,7 @@ function requireReactJsxRuntime_development () {
|
|
|
1239
1234
|
}
|
|
1240
1235
|
}
|
|
1241
1236
|
|
|
1237
|
+
var didWarnAboutKeySpread = {};
|
|
1242
1238
|
function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
|
|
1243
1239
|
{
|
|
1244
1240
|
var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
|
|
@@ -1251,7 +1247,7 @@ function requireReactJsxRuntime_development () {
|
|
|
1251
1247
|
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.";
|
|
1252
1248
|
}
|
|
1253
1249
|
|
|
1254
|
-
var sourceInfo = getSourceInfoErrorAddendum(
|
|
1250
|
+
var sourceInfo = getSourceInfoErrorAddendum();
|
|
1255
1251
|
|
|
1256
1252
|
if (sourceInfo) {
|
|
1257
1253
|
info += sourceInfo;
|
|
@@ -1309,6 +1305,24 @@ function requireReactJsxRuntime_development () {
|
|
|
1309
1305
|
}
|
|
1310
1306
|
}
|
|
1311
1307
|
|
|
1308
|
+
{
|
|
1309
|
+
if (hasOwnProperty.call(props, 'key')) {
|
|
1310
|
+
var componentName = getComponentNameFromType(type);
|
|
1311
|
+
var keys = Object.keys(props).filter(function (k) {
|
|
1312
|
+
return k !== 'key';
|
|
1313
|
+
});
|
|
1314
|
+
var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';
|
|
1315
|
+
|
|
1316
|
+
if (!didWarnAboutKeySpread[componentName + beforeExample]) {
|
|
1317
|
+
var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';
|
|
1318
|
+
|
|
1319
|
+
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);
|
|
1320
|
+
|
|
1321
|
+
didWarnAboutKeySpread[componentName + beforeExample] = true;
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1312
1326
|
if (type === REACT_FRAGMENT_TYPE) {
|
|
1313
1327
|
validateFragmentProps(element);
|
|
1314
1328
|
} else {
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
shapeProps,
|
|
9
9
|
sizeProps,
|
|
10
10
|
sizePXProps,
|
|
11
|
-
strokeColorProps,
|
|
12
11
|
textColorHoverProps,
|
|
13
12
|
textColorProps,
|
|
14
13
|
textSizeProps,
|
|
@@ -160,11 +159,6 @@ export default {
|
|
|
160
159
|
control: 'select',
|
|
161
160
|
if: { arg: 'iconSrc', neq: null },
|
|
162
161
|
},
|
|
163
|
-
iconStroke: {
|
|
164
|
-
options: strokeColorProps,
|
|
165
|
-
control: 'select',
|
|
166
|
-
if: { arg: 'iconSrc', neq: null },
|
|
167
|
-
},
|
|
168
162
|
|
|
169
163
|
iconAfterSrc: {
|
|
170
164
|
control: 'radio',
|
|
@@ -175,11 +169,6 @@ export default {
|
|
|
175
169
|
control: 'select',
|
|
176
170
|
if: { arg: 'iconAfterSrc', neq: null },
|
|
177
171
|
},
|
|
178
|
-
iconAfterStroke: {
|
|
179
|
-
options: strokeColorProps,
|
|
180
|
-
control: 'select',
|
|
181
|
-
if: { arg: 'iconAfterSrc', neq: null },
|
|
182
|
-
},
|
|
183
172
|
|
|
184
173
|
iconBeforeSrc: {
|
|
185
174
|
control: 'radio',
|
|
@@ -190,11 +179,6 @@ export default {
|
|
|
190
179
|
control: 'select',
|
|
191
180
|
if: { arg: 'iconBeforeSrc', neq: null },
|
|
192
181
|
},
|
|
193
|
-
iconBeforeStroke: {
|
|
194
|
-
options: strokeColorProps,
|
|
195
|
-
control: 'select',
|
|
196
|
-
if: { arg: 'iconBeforeSrc', neq: null },
|
|
197
|
-
},
|
|
198
182
|
Badge: {
|
|
199
183
|
control: 'select',
|
|
200
184
|
options: [null, <Badge appearance="secondary" size="xs" textSize="xxs" value={3} />],
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
iconFillSizeProps,
|
|
6
6
|
shapeProps,
|
|
7
7
|
sizeProps,
|
|
8
|
-
strokeColorProps,
|
|
9
8
|
textColorProps,
|
|
10
9
|
textSizeProps,
|
|
11
10
|
textWeightProps,
|
|
@@ -141,11 +140,6 @@ export default {
|
|
|
141
140
|
control: 'select',
|
|
142
141
|
if: { arg: 'titleIconSrc' },
|
|
143
142
|
},
|
|
144
|
-
titleIconStroke: {
|
|
145
|
-
options: strokeColorProps,
|
|
146
|
-
control: 'select',
|
|
147
|
-
if: { arg: 'titleIconSrc' },
|
|
148
|
-
},
|
|
149
143
|
titleIconShape: {
|
|
150
144
|
options: shapeProps,
|
|
151
145
|
control: 'inline-radio',
|
|
@@ -226,11 +220,6 @@ export default {
|
|
|
226
220
|
control: 'select',
|
|
227
221
|
if: { arg: 'valueIconSrc' },
|
|
228
222
|
},
|
|
229
|
-
valueIconStroke: {
|
|
230
|
-
options: strokeColorProps,
|
|
231
|
-
control: 'select',
|
|
232
|
-
if: { arg: 'valueIconSrc' },
|
|
233
|
-
},
|
|
234
223
|
valueIconShape: {
|
|
235
224
|
options: shapeProps,
|
|
236
225
|
control: 'inline-radio',
|
|
@@ -5,7 +5,6 @@ import { DatePickerInput } from '@itcase/ui/components/DatePicker'
|
|
|
5
5
|
import {
|
|
6
6
|
fillProps,
|
|
7
7
|
iconSizeProps,
|
|
8
|
-
strokeColorProps,
|
|
9
8
|
textColorHoverProps,
|
|
10
9
|
textColorProps,
|
|
11
10
|
textSizeProps,
|
|
@@ -43,11 +42,6 @@ export default {
|
|
|
43
42
|
control: 'select',
|
|
44
43
|
if: { arg: 'clearIconSrc', neq: null },
|
|
45
44
|
},
|
|
46
|
-
clearIconItemFillHover: {
|
|
47
|
-
options: strokeColorProps,
|
|
48
|
-
control: 'select',
|
|
49
|
-
if: { arg: 'clearIconSrc', neq: null },
|
|
50
|
-
},
|
|
51
45
|
clearLabelTextSize: {
|
|
52
46
|
options: textSizeProps,
|
|
53
47
|
control: 'select',
|
|
@@ -9,7 +9,6 @@ import {
|
|
|
9
9
|
fillProps,
|
|
10
10
|
shapeProps,
|
|
11
11
|
sizePXProps,
|
|
12
|
-
strokeColorProps,
|
|
13
12
|
} from '@itcase/ui/constants'
|
|
14
13
|
|
|
15
14
|
import iconAppearance from 'src/components/Icon/appearance.json'
|
|
@@ -37,17 +36,11 @@ export default {
|
|
|
37
36
|
'sizeDesktop',
|
|
38
37
|
'sizeMobile',
|
|
39
38
|
'sizeTablet',
|
|
40
|
-
'iconStrokeDesktop',
|
|
41
|
-
'iconStrokeMobile',
|
|
42
|
-
'iconStrokeTablet',
|
|
43
39
|
'height',
|
|
44
40
|
'href',
|
|
45
41
|
'link',
|
|
46
42
|
'linkRel',
|
|
47
43
|
'linkTarget',
|
|
48
|
-
'strokeDesktop',
|
|
49
|
-
'strokeMobile',
|
|
50
|
-
'strokeTablet',
|
|
51
44
|
'width',
|
|
52
45
|
],
|
|
53
46
|
},
|
|
@@ -78,14 +71,6 @@ export default {
|
|
|
78
71
|
options: sizePXProps,
|
|
79
72
|
control: 'select',
|
|
80
73
|
},
|
|
81
|
-
iconStroke: {
|
|
82
|
-
options: strokeColorProps,
|
|
83
|
-
control: 'select',
|
|
84
|
-
},
|
|
85
|
-
iconStrokeHover: {
|
|
86
|
-
options: strokeColorProps,
|
|
87
|
-
control: 'select',
|
|
88
|
-
},
|
|
89
74
|
borderType: {
|
|
90
75
|
options: borderTypeProps,
|
|
91
76
|
control: 'inline-radio',
|
|
@@ -126,7 +111,7 @@ export default {
|
|
|
126
111
|
|
|
127
112
|
export const Default = {
|
|
128
113
|
args: {
|
|
129
|
-
|
|
114
|
+
iconFill: 'surfaceItemPrimary',
|
|
130
115
|
imageSrc: 'assets/24/Bell.svg',
|
|
131
116
|
fill: 'surfaceSecondary',
|
|
132
117
|
fillHover: 'surfaceSecondaryHover',
|
|
@@ -143,7 +128,7 @@ export const WithBadge = {
|
|
|
143
128
|
fillHover: 'surfaceSecondaryHover',
|
|
144
129
|
fillSize: '40',
|
|
145
130
|
iconSize: '24',
|
|
146
|
-
|
|
131
|
+
iconFill: 'surfaceItemPrimary',
|
|
147
132
|
shape: 'circular',
|
|
148
133
|
Badge: <Badge appearance="accent" position="absolute" size="xs" textSize="xxs" value={3} />,
|
|
149
134
|
},
|
|
@@ -70,11 +70,6 @@ export default {
|
|
|
70
70
|
control: 'select',
|
|
71
71
|
if: { arg: 'iconAfterSrc', neq: null },
|
|
72
72
|
},
|
|
73
|
-
iconAfterStroke: {
|
|
74
|
-
options: fillProps,
|
|
75
|
-
control: 'select',
|
|
76
|
-
if: { arg: 'iconAfterSrc', neq: null },
|
|
77
|
-
},
|
|
78
73
|
iconBefore: {
|
|
79
74
|
if: { arg: 'advancedProps' },
|
|
80
75
|
},
|
|
@@ -92,11 +87,6 @@ export default {
|
|
|
92
87
|
control: 'select',
|
|
93
88
|
if: { arg: 'iconBeforeSrc', neq: null },
|
|
94
89
|
},
|
|
95
|
-
iconBeforeStroke: {
|
|
96
|
-
options: fillProps,
|
|
97
|
-
control: 'select',
|
|
98
|
-
if: { arg: 'iconBeforeSrc', neq: null },
|
|
99
|
-
},
|
|
100
90
|
iconClear: {
|
|
101
91
|
if: { arg: 'advancedProps' },
|
|
102
92
|
},
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
textColorProps,
|
|
11
11
|
textSizeProps,
|
|
12
12
|
sizeProps,
|
|
13
|
-
strokeColorProps,
|
|
14
13
|
} from '@itcase/ui/constants'
|
|
15
14
|
|
|
16
15
|
import { defaultSelectProps } from 'src/config/forms'
|
|
@@ -85,11 +84,6 @@ export default {
|
|
|
85
84
|
options: fillProps,
|
|
86
85
|
control: 'select',
|
|
87
86
|
},
|
|
88
|
-
clearIconStroke: {
|
|
89
|
-
if: { arg: 'isClearable', eq: true },
|
|
90
|
-
options: strokeColorProps,
|
|
91
|
-
control: 'select',
|
|
92
|
-
},
|
|
93
87
|
isClearable: {
|
|
94
88
|
control: 'boolean',
|
|
95
89
|
},
|
|
@@ -122,10 +116,6 @@ export default {
|
|
|
122
116
|
options: fillProps,
|
|
123
117
|
control: 'select',
|
|
124
118
|
},
|
|
125
|
-
dropdownIconStroke: {
|
|
126
|
-
options: strokeColorProps,
|
|
127
|
-
control: 'select',
|
|
128
|
-
},
|
|
129
119
|
placeholder: {
|
|
130
120
|
if: { arg: 'hideValueContainer', neq: true },
|
|
131
121
|
},
|
|
@@ -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 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 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';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type overflowPropsType = null | 'visible' | 'hidden' | 'scroll';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type sizeOptionPropsType = 'compact' | 'normal' | 'regular' | 'any';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type stateKeysDefaultType = 'normal' | 'filled' | 'active' | 'activeFilled' | 'error' | 'errorFilled' | 'readonly' | 'disabled' | 'success' | 'require';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -28,15 +28,15 @@ export type { iconFillSizePropsType } from './componentProps/iconFillSize';
|
|
|
28
28
|
export type { iconSizePropsType } from './componentProps/iconSize';
|
|
29
29
|
export type { itemColorPropsType } from './componentProps/itemColor';
|
|
30
30
|
export type { justifyContentPropsType } from './componentProps/justifyContent';
|
|
31
|
+
export type { overflowPropsType } from './componentProps/overflow.ts';
|
|
31
32
|
export type { positionPropsType } from './componentProps/position';
|
|
32
33
|
export type { resizeModePropsType } from './componentProps/resizeMode';
|
|
33
34
|
export type { shapePropsType } from './componentProps/shape';
|
|
34
|
-
export type {
|
|
35
|
+
export type { sizeOptionPropsType } from './componentProps/sizeInterface';
|
|
35
36
|
export type { sizePXPropsType } from './componentProps/sizePX';
|
|
36
37
|
export type { sizePropsType } from './componentProps/size';
|
|
37
38
|
export type { stackingPropsType } from './componentProps/stacking';
|
|
38
39
|
export type { statePropsType } from './componentProps/state';
|
|
39
|
-
export type { strokeColorPropsType } from './componentProps/strokeColor';
|
|
40
40
|
export type { textAlignPropsType } from './componentProps/textAlign';
|
|
41
41
|
export type { textColorActivePropsType } from './componentProps/textColorActive';
|
|
42
42
|
export type { textColorHoverPropsType } from './componentProps/textColorHover';
|