@itcase/ui 1.2.34 → 1.3.0
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/Badge-B9tt2YPa.js +76 -0
- package/dist/{Badge-DBjlLLfX.js → Badge-DMRagi5O.js} +7 -45
- package/dist/Button-CX3x7Z6Q.js +99 -0
- package/dist/Button-P0c3lMg1.js +103 -0
- package/dist/Divider-DBvDCUqP.js +30 -0
- package/dist/Divider-Goh6mpPK.js +34 -0
- package/dist/DropdownItem-BuMJdUAk.js +92 -0
- package/dist/DropdownItem-DaN20LFe.js +97 -0
- package/dist/Group-B9L2NTgM.js +34 -0
- package/dist/Group-D6CXN4hS.js +38 -0
- package/dist/Icon-CZrDqG76.js +61 -0
- package/dist/Icon-hqYZoh4h.js +65 -0
- package/dist/Image-6dFSePnG.js +17 -0
- package/dist/Image-Dx4AWHLO.js +15 -0
- package/dist/Input-BrV5_NoV.js +95 -0
- package/dist/Input-ffioh1sj.js +100 -0
- package/dist/Label-DQyB2ThM.js +93 -0
- package/dist/Label-HKRKV3mn.js +97 -0
- package/dist/Link-DGj-cNje.js +53 -0
- package/dist/{Link-CeQuavin.js → Link-_A9ZfNln.js} +6 -52
- package/dist/Loader-Dn036JwE.js +56 -0
- package/dist/Loader-K_DJmah6.js +52 -0
- package/dist/MenuItem-Dokk3UXj.js +40 -0
- package/dist/MenuItem-LyqjzhjP.js +44 -0
- package/dist/Overlay-Dy6JQwJn.js +15 -0
- package/dist/Overlay-HlYxCGtp.js +17 -0
- package/dist/Text-Beslj4Ns.js +34 -0
- package/dist/Text-JayJa3hj.js +30 -0
- package/dist/Title-CHgrIarR.js +48 -0
- package/dist/Title-DBaHcpvB.js +52 -0
- package/dist/Tooltip-1Jbub0K6.js +89 -0
- package/dist/Tooltip-CNua1g76.js +93 -0
- package/dist/cjs/components/Accordion.js +14 -65
- package/dist/cjs/components/Avatar.js +14 -28
- package/dist/cjs/components/Badge.js +4 -3
- package/dist/cjs/components/Breadcrumbs.js +16 -48
- package/dist/cjs/components/Button.js +9 -9
- package/dist/cjs/components/Caption.js +5 -14
- package/dist/cjs/components/Card.js +7 -12
- package/dist/cjs/components/Cell.js +11 -61
- package/dist/cjs/components/Checkbox.js +15 -61
- package/dist/cjs/components/Chips.js +9 -55
- package/dist/cjs/components/Choice.js +20 -85
- package/dist/cjs/components/Code.js +9 -80
- package/dist/cjs/components/CookiesWarning.js +13 -22
- package/dist/cjs/components/DadataHintField.js +4 -4
- package/dist/cjs/components/DatePicker.js +20 -23
- package/dist/cjs/components/Divider.js +4 -2
- package/dist/cjs/components/Dot.js +5 -22
- package/dist/cjs/components/Drawer.js +3 -3
- package/dist/cjs/components/Dropdown.js +7 -6
- package/dist/cjs/components/Flex.js +8 -95
- package/dist/cjs/components/Grid.js +12 -125
- package/dist/cjs/components/Group.js +4 -2
- package/dist/cjs/components/HTMLContent.js +5 -74
- package/dist/cjs/components/Icon.js +7 -6
- package/dist/cjs/components/Image.js +3 -2
- package/dist/cjs/components/Input.js +5 -2
- package/dist/cjs/components/InputMask.js +27 -109
- package/dist/cjs/components/InputPassword.js +20 -83
- package/dist/cjs/components/Label.js +6 -5
- package/dist/cjs/components/Link.js +2 -2
- package/dist/cjs/components/List.js +15 -31
- package/dist/cjs/components/Loader.js +5 -3
- package/dist/cjs/components/Logo.js +8 -21
- package/dist/cjs/components/Menu.js +9 -23
- package/dist/cjs/components/MenuItem.js +6 -5
- package/dist/cjs/components/Modal.js +11 -43
- package/dist/cjs/components/ModalSheetBottom.js +4 -15
- package/dist/cjs/components/Notification.js +9 -18
- package/dist/cjs/components/Overlay.js +3 -2
- package/dist/cjs/components/Pagination.js +16 -36
- package/dist/cjs/components/Panel.js +10 -78
- package/dist/cjs/components/Radio.js +17 -61
- package/dist/cjs/components/RangeSlider.js +7 -39
- package/dist/cjs/components/Response.js +20 -65
- package/dist/cjs/components/SVGContent.js +5 -10
- package/dist/cjs/components/ScrollOnDrag.js +5 -35
- package/dist/cjs/components/ScrollToView.js +5 -46
- package/dist/cjs/components/Search.js +19 -81
- package/dist/cjs/components/Segmented.js +11 -53
- package/dist/cjs/components/Select.js +42 -160
- package/dist/cjs/components/SiteMenu.js +13 -15
- package/dist/cjs/components/Swiper.js +9 -22
- package/dist/cjs/components/Switch.js +5 -2
- package/dist/cjs/components/Tab.js +16 -112
- package/dist/cjs/components/Text.js +4 -2
- package/dist/cjs/components/Textarea.js +17 -76
- package/dist/cjs/components/Tile.js +11 -46
- package/dist/cjs/components/Title.js +4 -2
- package/dist/cjs/components/Tooltip.js +6 -4
- package/dist/cjs/components/Video.js +5 -5
- package/dist/cjs/components/Wrapper.js +5 -30
- package/dist/cjs/hooks/useDeviceTargetClassGenerator.interface.js +2 -0
- package/dist/cjs/hooks/useDeviceTargetClassGenerator.js +97 -0
- package/dist/components/Accordion.js +14 -65
- package/dist/components/Avatar.js +14 -29
- package/dist/components/Badge.js +4 -3
- package/dist/components/Breadcrumbs.js +16 -48
- package/dist/components/Button.js +9 -9
- package/dist/components/Caption.js +5 -14
- package/dist/components/Card.js +7 -12
- package/dist/components/Cell.js +11 -61
- package/dist/components/Checkbox.js +14 -62
- package/dist/components/Chips.js +9 -55
- package/dist/components/Choice.js +20 -86
- package/dist/components/Code.js +9 -81
- package/dist/components/CookiesWarning.js +13 -22
- package/dist/components/DadataHintField.js +4 -4
- package/dist/components/DatePicker.js +20 -24
- package/dist/components/Divider.js +3 -2
- package/dist/components/Dot.js +5 -22
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Dropdown.js +6 -6
- package/dist/components/Flex.js +8 -95
- package/dist/components/Grid.js +12 -125
- package/dist/components/Group.js +3 -2
- package/dist/components/HTMLContent.js +5 -74
- package/dist/components/Icon.js +6 -6
- package/dist/components/Image.js +3 -2
- package/dist/components/Input.js +3 -2
- package/dist/components/InputMask.js +28 -110
- package/dist/components/InputPassword.js +19 -84
- package/dist/components/Label.js +6 -5
- package/dist/components/Link.js +2 -2
- package/dist/components/List.js +15 -31
- package/dist/components/Loader.js +4 -3
- package/dist/components/Logo.js +8 -21
- package/dist/components/Menu.js +9 -23
- package/dist/components/MenuItem.js +5 -5
- package/dist/components/Modal.js +11 -44
- package/dist/components/ModalSheetBottom.js +4 -15
- package/dist/components/Notification.js +9 -18
- package/dist/components/Overlay.js +3 -2
- package/dist/components/Pagination.js +16 -37
- package/dist/components/Panel.js +10 -78
- package/dist/components/Radio.js +16 -62
- package/dist/components/RangeSlider.js +7 -39
- package/dist/components/Response.js +20 -65
- package/dist/components/SVGContent.js +5 -10
- package/dist/components/ScrollOnDrag.js +5 -35
- package/dist/components/ScrollToView.js +5 -46
- package/dist/components/Search.js +19 -82
- package/dist/components/Segmented.js +11 -54
- package/dist/components/Select.js +43 -161
- package/dist/components/SiteMenu.js +13 -16
- package/dist/components/Swiper.js +10 -23
- package/dist/components/Switch.js +5 -3
- package/dist/components/Tab.js +16 -112
- package/dist/components/Text.js +3 -2
- package/dist/components/Textarea.js +16 -77
- package/dist/components/Tile.js +11 -47
- package/dist/components/Title.js +3 -2
- package/dist/components/Tooltip.js +5 -4
- package/dist/components/Video.js +5 -5
- package/dist/components/Wrapper.js +5 -30
- package/dist/css/components/Avatar/Avatar.css +7 -6
- package/dist/css/components/Code/Code.css +0 -8
- package/dist/css/components/Code/Code.tokens.css +3 -0
- package/dist/hooks/useDeviceTargetClassGenerator.interface.js +1 -0
- package/dist/hooks/useDeviceTargetClassGenerator.js +95 -0
- package/dist/stories/Appearance.stories.js +2 -3
- package/dist/stories/Badge.stories.js +1 -1
- package/dist/stories/Button.stories.js +1 -2
- package/dist/stories/Group.stories.js +2 -3
- package/dist/stories/Icon.stories.js +2 -4
- package/dist/stories/Select.stories.js +69 -6
- package/dist/stories/Size.stories.js +1 -2
- package/dist/stories/State.stories.js +1 -2
- package/dist/stories/Tile.stories.js +1 -2
- package/dist/stories/appearance.mdx +6 -11
- package/dist/types/components/Accordion/Accordion.interface.d.ts +2 -0
- package/dist/types/components/Avatar/Avatar.d.ts +2 -2
- package/dist/types/components/Avatar/Avatar.interface.d.ts +8 -5
- package/dist/types/components/Avatar/index.d.ts +1 -0
- package/dist/types/components/Badge/Badge.d.ts +3 -3
- package/dist/types/components/Badge/Badge.interface.d.ts +10 -7
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +11 -9
- package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts +2 -2
- package/dist/types/components/Button/Button.appearance.d.ts +2 -2
- package/dist/types/components/Button/Button.d.ts +3 -3
- package/dist/types/components/Button/Button.interface.d.ts +18 -15
- package/dist/types/components/Caption/Caption.d.ts +2 -2
- package/dist/types/components/Caption/Caption.interface.d.ts +7 -6
- package/dist/types/components/Card/Card.d.ts +2 -2
- package/dist/types/components/Card/Card.interface.d.ts +11 -10
- package/dist/types/components/Cell/Cell.d.ts +2 -2
- package/dist/types/components/Cell/Cell.interface.d.ts +5 -4
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +4 -1
- package/dist/types/components/Checkbox/index.d.ts +1 -0
- package/dist/types/components/Chips/Chips.interface.d.ts +4 -1
- package/dist/types/components/Choice/Choice.d.ts +2 -2
- package/dist/types/components/Choice/Choice.interface.d.ts +3 -0
- package/dist/types/components/Choice/index.d.ts +1 -0
- package/dist/types/components/Code/Code.d.ts +2 -2
- package/dist/types/components/Code/Code.interface.d.ts +8 -5
- package/dist/types/components/Code/index.d.ts +1 -0
- package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +2 -2
- package/dist/types/components/CookiesWarning/CookiesWarning.interface.d.ts +6 -5
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +2 -2
- package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +4 -4
- package/dist/types/components/DatePicker/DatePicker.d.ts +3 -3
- package/dist/types/components/DatePicker/DatePicker.interface.d.ts +11 -8
- package/dist/types/components/DatePicker/index.d.ts +1 -0
- package/dist/types/components/Divider/Divider.d.ts +2 -2
- package/dist/types/components/Divider/Divider.interface.d.ts +8 -5
- package/dist/types/components/Divider/index.d.ts +1 -0
- package/dist/types/components/Dot/Dot.d.ts +2 -2
- package/dist/types/components/Dot/Dot.interface.d.ts +4 -3
- package/dist/types/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +9 -5
- package/dist/types/components/Dropdown/DropdownItem.d.ts +2 -2
- package/dist/types/components/Dropdown/index.d.ts +2 -1
- package/dist/types/components/Flex/Flex.d.ts +2 -2
- package/dist/types/components/Flex/Flex.interface.d.ts +5 -3
- package/dist/types/components/Flex/FlexItem.d.ts +2 -2
- package/dist/types/components/Grid/Grid.d.ts +2 -2
- package/dist/types/components/Grid/Grid.interface.d.ts +7 -4
- package/dist/types/components/Grid/GridItem.d.ts +2 -2
- package/dist/types/components/Grid/GridRow.d.ts +2 -2
- package/dist/types/components/Group/Group.d.ts +3 -3
- package/dist/types/components/Group/Group.interface.d.ts +8 -5
- package/dist/types/components/Group/index.d.ts +1 -0
- package/dist/types/components/HTMLContent/HTMLContent.d.ts +2 -2
- package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +3 -2
- package/dist/types/components/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Icon/Icon.interface.d.ts +1 -0
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Image/Image.d.ts +2 -2
- package/dist/types/components/Image/Image.interface.d.ts +3 -2
- package/dist/types/components/Input/Input.d.ts +1 -1
- package/dist/types/components/Input/Input.interface.d.ts +4 -1
- package/dist/types/components/Input/index.d.ts +1 -0
- package/dist/types/components/InputMask/Input.d.ts +2 -2
- package/dist/types/components/InputMask/Input.interface.d.ts +10 -7
- package/dist/types/components/InputPassword/InputPassword.d.ts +3 -3
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +9 -6
- package/dist/types/components/InputPassword/index.d.ts +1 -0
- package/dist/types/components/Label/Label.d.ts +3 -3
- package/dist/types/components/Label/Label.interface.d.ts +10 -7
- package/dist/types/components/Link/Link.d.ts +4 -4
- package/dist/types/components/Link/Link.interface.d.ts +7 -6
- package/dist/types/components/List/List.d.ts +2 -2
- package/dist/types/components/List/List.interface.d.ts +5 -3
- package/dist/types/components/List/ListItem.d.ts +2 -2
- package/dist/types/components/Loader/Loader.d.ts +3 -3
- package/dist/types/components/Loader/Loader.interface.d.ts +9 -6
- package/dist/types/components/Loader/index.d.ts +1 -0
- package/dist/types/components/Logo/Logo.d.ts +3 -3
- package/dist/types/components/Logo/Logo.interface.d.ts +10 -7
- package/dist/types/components/Menu/Menu.d.ts +2 -2
- package/dist/types/components/Menu/Menu.interface.d.ts +3 -2
- package/dist/types/components/MenuItem/MenuItem.d.ts +3 -3
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +9 -6
- package/dist/types/components/MenuItem/index.d.ts +1 -0
- package/dist/types/components/Modal/Modal.d.ts +2 -2
- package/dist/types/components/Modal/Modal.interface.d.ts +8 -5
- package/dist/types/components/Modal/ModalLoader.d.ts +1 -1
- package/dist/types/components/Modal/index.d.ts +2 -1
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +1 -1
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +3 -0
- package/dist/types/components/Notification/Notification.interface.d.ts +10 -7
- package/dist/types/components/Notification/NotificationItem.d.ts +3 -3
- package/dist/types/components/Notification/NotificationList.d.ts +2 -2
- package/dist/types/components/Overlay/Overlay.d.ts +1 -1
- package/dist/types/components/Overlay/Overlay.interface.d.ts +1 -0
- package/dist/types/components/Pagination/Pagination.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.interface.d.ts +9 -6
- package/dist/types/components/Pagination/index.d.ts +1 -0
- package/dist/types/components/Panel/Panel.d.ts +3 -3
- package/dist/types/components/Panel/Panel.interface.d.ts +9 -6
- package/dist/types/components/Radio/Radio.d.ts +3 -3
- package/dist/types/components/Radio/Radio.interface.d.ts +13 -10
- package/dist/types/components/Radio/index.d.ts +1 -0
- package/dist/types/components/RangeSlider/RangeSlider.d.ts +2 -2
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +3 -2
- package/dist/types/components/Response/Response.d.ts +3 -3
- package/dist/types/components/Response/Response.interface.d.ts +11 -8
- package/dist/types/components/SVGContent/SVGContent.d.ts +2 -2
- package/dist/types/components/SVGContent/SVGContent.interface.d.ts +2 -1
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.d.ts +2 -2
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +3 -2
- package/dist/types/components/Scrollbar/Scrollbar.d.ts +2 -2
- package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/types/components/Search/Search.interface.d.ts +11 -7
- package/dist/types/components/Search/SearchInput.d.ts +3 -3
- package/dist/types/components/Search/SearchResult.d.ts +1 -2
- package/dist/types/components/Search/index.d.ts +2 -1
- package/dist/types/components/Segmented/Segmented.d.ts +3 -3
- package/dist/types/components/Segmented/Segmented.interface.d.ts +15 -9
- package/dist/types/components/Segmented/index.d.ts +1 -0
- package/dist/types/components/Select/Select.interface.d.ts +2 -0
- package/dist/types/components/Select/SelectContainer.d.ts +4 -3
- package/dist/types/components/Select/index.d.ts +1 -3
- package/dist/types/components/SiteMenu/SiteMenu.d.ts +2 -2
- package/dist/types/components/SiteMenu/SiteMenu.interface.d.ts +9 -6
- package/dist/types/components/SiteMenu/SiteMenuButton.d.ts +2 -2
- package/dist/types/components/SiteMenu/index.d.ts +2 -1
- package/dist/types/components/Swiper/Swiper.d.ts +2 -2
- package/dist/types/components/Swiper/Swiper.interface.d.ts +9 -8
- package/dist/types/components/Switch/Switch.d.ts +2 -2
- package/dist/types/components/Switch/Switch.interface.d.ts +4 -4
- package/dist/types/components/Switch/index.d.ts +1 -0
- package/dist/types/components/Tab/Tab.d.ts +1 -1
- package/dist/types/components/Tab/Tab.interface.d.ts +4 -0
- package/dist/types/components/Tab/TabGroup.d.ts +1 -1
- package/dist/types/components/Text/Text.interface.d.ts +4 -1
- package/dist/types/components/Text/index.d.ts +1 -0
- package/dist/types/components/Textarea/Textarea.d.ts +3 -3
- package/dist/types/components/Textarea/Textarea.interface.d.ts +13 -10
- package/dist/types/components/Textarea/index.d.ts +1 -0
- package/dist/types/components/Tile/Tile.d.ts +2 -2
- package/dist/types/components/Tile/Tile.interface.d.ts +8 -5
- package/dist/types/components/Tile/index.d.ts +1 -0
- package/dist/types/components/Title/Title.d.ts +3 -3
- package/dist/types/components/Title/Title.interface.d.ts +17 -14
- package/dist/types/components/Title/index.d.ts +1 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +9 -6
- package/dist/types/components/Tooltip/index.d.ts +1 -0
- package/dist/types/components/Video/Video.d.ts +2 -2
- package/dist/types/components/Video/Video.interface.d.ts +1 -1
- package/dist/types/components/Wrapper/Wrapper.d.ts +2 -2
- package/dist/types/components/Wrapper/Wrapper.interface.d.ts +4 -3
- package/dist/types/config/forms/index.d.ts +1 -2
- package/dist/types/hooks/useDeviceTargetClassGenerator.d.ts +3 -0
- package/dist/types/hooks/useDeviceTargetClassGenerator.interface.d.ts +20 -0
- package/dist/types/types/componentProps/appearanceKeys.d.ts +1 -1
- package/package.json +8 -7
- package/dist/Badge-_xQzAcyN.js +0 -114
- package/dist/Button-C8MATksY.js +0 -150
- package/dist/Button-ChSAts3j.js +0 -154
- package/dist/Divider-BoB-f9Gr.js +0 -74
- package/dist/Divider-DHIuQUsH.js +0 -71
- package/dist/DropdownItem-B8IMNQww.js +0 -182
- package/dist/DropdownItem-E9HkOU63.js +0 -186
- package/dist/Group-BCvs5UxK.js +0 -136
- package/dist/Group-u6YDbMxn.js +0 -139
- package/dist/Icon-C8ACV9r7.js +0 -122
- package/dist/Icon-DptCmI_y.js +0 -119
- package/dist/Image-8t6PvsaZ.js +0 -65
- package/dist/Image-DrUlRMHa.js +0 -67
- package/dist/Input-CgjHxZmK.js +0 -188
- package/dist/Input-KgHOW5DR.js +0 -191
- package/dist/Label-B06hLCqo.js +0 -139
- package/dist/Label-zOLL6ePu.js +0 -135
- package/dist/Link-CqWzwh8V.js +0 -99
- package/dist/Loader-DHNcD09o.js +0 -82
- package/dist/Loader-DReoCdZ2.js +0 -85
- package/dist/MenuItem-BXogEsbS.js +0 -104
- package/dist/MenuItem-C7frDyBO.js +0 -101
- package/dist/Overlay-CFXouKnl.js +0 -27
- package/dist/Overlay-DO5dnSRE.js +0 -25
- package/dist/Text-C4Bg2Mv6.js +0 -81
- package/dist/Text-R6XNq6Ca.js +0 -84
- package/dist/Title-DWIc05TX.js +0 -114
- package/dist/Title-YVzIwk68.js +0 -111
- package/dist/Tooltip--c-4Qp04.js +0 -150
- package/dist/Tooltip-BswHy19O.js +0 -153
- package/dist/cjs/components/ContextMenu.js +0 -52
- package/dist/cjs/components/LanguageSelector.js +0 -33
- package/dist/cjs/components/Page.js +0 -48
- package/dist/components/ContextMenu.js +0 -49
- package/dist/components/LanguageSelector.js +0 -31
- package/dist/components/Page.js +0 -46
- package/dist/css/components/ContextMenu/ContextMenu.css +0 -38
- package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +0 -9
- package/dist/css/components/Page/Page.css +0 -8
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +0 -3
- package/dist/types/components/ContextMenu/ContextMenu.interface.d.ts +0 -36
- package/dist/types/components/ContextMenu/ContextMenuItem.d.ts +0 -3
- package/dist/types/components/ContextMenu/index.d.ts +0 -3
- package/dist/types/components/LanguageSelector/Label.interface.d.ts +0 -20
- package/dist/types/components/LanguageSelector/LanguageSelector.d.ts +0 -3
- package/dist/types/components/LanguageSelector/index.d.ts +0 -1
- package/dist/types/components/Page/Page.d.ts +0 -3
- package/dist/types/components/Page/Page.interface.d.ts +0 -18
- package/dist/types/components/Page/index.d.ts +0 -1
- package/dist/types/config/forms/select.d.ts +0 -50
- package/dist/types/hooks/useDeviceTargetClass.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const buttonConfig:
|
|
4
|
-
declare const Button: React.ForwardRefExoticComponent<
|
|
2
|
+
import type { iButtonConfig, iButtonProps } from './Button.interface';
|
|
3
|
+
declare const buttonConfig: iButtonConfig;
|
|
4
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<iButtonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Button, buttonConfig };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderTypePropsType, elevationPropsType, iconFillSizePropsType, iconSizePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps, tWidthProps } from '../../types';
|
|
4
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
|
|
1
|
+
import type { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
+
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import type { borderTypePropsType, elevationPropsType, iconFillSizePropsType, iconSizePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps, tWidthProps } from '../../types';
|
|
4
|
+
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
+
interface iButtonThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderType?: borderTypePropsType;
|
|
8
9
|
borderWidth?: tBorderWidthProps;
|
|
@@ -40,22 +41,24 @@ export interface IButtonThemeColor {
|
|
|
40
41
|
size?: tSizeProps;
|
|
41
42
|
width?: tWidthProps;
|
|
42
43
|
}
|
|
43
|
-
type
|
|
44
|
-
|
|
45
|
-
[key in
|
|
44
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
45
|
+
type tButtonAppearance = {
|
|
46
|
+
[key in tAppearanceKeys]?: iButtonThemeColor;
|
|
46
47
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
interface iButtonConfig {
|
|
49
|
+
[key: number | string | symbol]: any;
|
|
50
|
+
appearance: tButtonAppearance | undefined;
|
|
51
|
+
setAppearance: (newComponent: tButtonAppearance) => void;
|
|
50
52
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
interface iButtonProps extends iButtonThemeColor, iStyleAttributes {
|
|
54
|
+
[key: number | string | symbol]: any;
|
|
53
55
|
after?: ReactNode;
|
|
54
|
-
appearance?:
|
|
56
|
+
appearance?: tAppearanceKeys;
|
|
55
57
|
Badge?: ReactNode;
|
|
56
58
|
before?: ReactNode;
|
|
57
59
|
children?: ReactNode;
|
|
58
60
|
className?: string;
|
|
61
|
+
dataTestId?: string;
|
|
59
62
|
dataTour?: string;
|
|
60
63
|
href?: string;
|
|
61
64
|
htmlType?: ElementType;
|
|
@@ -74,4 +77,4 @@ export interface IButtonProps extends IButtonThemeColor, iStyleAttributes {
|
|
|
74
77
|
onMouseDown?: () => void;
|
|
75
78
|
set?: string;
|
|
76
79
|
}
|
|
77
|
-
export {};
|
|
80
|
+
export type { iButtonThemeColor, tButtonAppearance, iButtonConfig, iButtonProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Caption(props:
|
|
1
|
+
import type { iCaptionProps } from './Caption.interface';
|
|
2
|
+
declare function Caption(props: iCaptionProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Caption };
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { captionPositionPropsType, tFillGradientProps, tFillProps } from '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iCaptionThemeColor {
|
|
5
5
|
fill: tFillProps;
|
|
6
|
-
fillMobile: tFillProps;
|
|
7
|
-
fillTablet: tFillProps;
|
|
8
6
|
fillDesktop: tFillProps;
|
|
9
7
|
fillGradient: tFillGradientProps;
|
|
8
|
+
fillGradientDesktop: tFillGradientProps;
|
|
10
9
|
fillGradientMobile: tFillGradientProps;
|
|
11
10
|
fillGradientTablet: tFillGradientProps;
|
|
12
|
-
|
|
11
|
+
fillMobile: tFillProps;
|
|
12
|
+
fillTablet: tFillProps;
|
|
13
13
|
position: captionPositionPropsType;
|
|
14
|
+
positionDesktop: captionPositionPropsType;
|
|
14
15
|
positionMobile: captionPositionPropsType;
|
|
15
16
|
positionTablet: captionPositionPropsType;
|
|
16
|
-
positionDesktop: captionPositionPropsType;
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
18
|
+
export interface iCaptionProps extends iCaptionThemeColor, Omit<iStyleAttributes, 'position'> {
|
|
19
|
+
[key: number | string | symbol]: any;
|
|
19
20
|
children?: ReactNode;
|
|
20
21
|
className?: string;
|
|
21
22
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Card(props:
|
|
1
|
+
import type { iCardProps } from './Card.interface';
|
|
2
|
+
declare function Card(props: iCardProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Card };
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iCardProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
children?: ReactNode;
|
|
6
7
|
className?: string;
|
|
8
|
+
image?: ReactNode;
|
|
9
|
+
imageShape?: tShapeProps;
|
|
10
|
+
shape?: tShapeProps;
|
|
11
|
+
shapeDesktop?: tShapeProps;
|
|
12
|
+
shapeMobile?: tShapeProps;
|
|
13
|
+
shapeTablet?: tShapeProps;
|
|
7
14
|
size?: tSizeProps;
|
|
8
15
|
src?: string;
|
|
9
16
|
text?: string;
|
|
10
|
-
textSize?: tTextSizeProps;
|
|
11
17
|
textColor?: tTextColorProps;
|
|
18
|
+
textSize?: tTextSizeProps;
|
|
12
19
|
textTag?: ElementType;
|
|
13
20
|
title?: string;
|
|
21
|
+
titleColor?: tTextColorProps;
|
|
14
22
|
titleSize?: tTextSizeProps;
|
|
15
23
|
titleTag?: ElementType;
|
|
16
|
-
titleColor?: tTextColorProps;
|
|
17
|
-
image?: ReactNode;
|
|
18
|
-
imageShape?: tShapeProps;
|
|
19
24
|
type?: string;
|
|
20
|
-
shape?: tShapeProps;
|
|
21
|
-
shapeMobile?: tShapeProps;
|
|
22
|
-
shapeTablet?: tShapeProps;
|
|
23
|
-
shapeDesktop?: tShapeProps;
|
|
24
25
|
width?: string;
|
|
26
|
+
widthDesktop?: string;
|
|
25
27
|
widthMobile?: string;
|
|
26
28
|
widthTablet?: string;
|
|
27
|
-
widthDesktop?: string;
|
|
28
29
|
onClick?: () => void;
|
|
29
30
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Cell(props:
|
|
1
|
+
import type { iCellProps } from './Cell.interface';
|
|
2
|
+
declare function Cell(props: iCellProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Cell };
|
|
@@ -2,8 +2,9 @@ import { ElementType, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { iconFillSizePropsType, tDirectionProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
type
|
|
6
|
-
export interface
|
|
5
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
6
|
+
export interface iCellProps extends iStyleAttributes {
|
|
7
|
+
[key: number | string | symbol]: any;
|
|
7
8
|
after?: ReactNode;
|
|
8
9
|
before?: ReactNode;
|
|
9
10
|
className?: string;
|
|
@@ -22,7 +23,7 @@ export interface ICellProps extends iStyleAttributes {
|
|
|
22
23
|
titleIconShape?: tShapeProps;
|
|
23
24
|
titleIconSrc?: string;
|
|
24
25
|
titleLabel?: string;
|
|
25
|
-
titleLabelAppearance?:
|
|
26
|
+
titleLabelAppearance?: tAppearanceKeys;
|
|
26
27
|
titleLabelShape?: tShapeProps;
|
|
27
28
|
titleLabelSize?: tSizeProps;
|
|
28
29
|
titleLabelTextSize?: tTextSizeProps;
|
|
@@ -41,7 +42,7 @@ export interface ICellProps extends iStyleAttributes {
|
|
|
41
42
|
valueIconShape?: tShapeProps;
|
|
42
43
|
valueIconSrc?: string;
|
|
43
44
|
valueLabel?: string;
|
|
44
|
-
valueLabelAppearance?:
|
|
45
|
+
valueLabelAppearance?: tAppearanceKeys;
|
|
45
46
|
valueLabelShape?: tShapeProps;
|
|
46
47
|
valueLabelSize?: tSizeProps;
|
|
47
48
|
valueLabelTextSize?: tTextSizeProps;
|
|
@@ -9,6 +9,7 @@ type tCheckboxAppearance = {
|
|
|
9
9
|
[key in tAppearanceKeysDefault]?: iCheckboxThemeColor;
|
|
10
10
|
};
|
|
11
11
|
interface iCheckboxThemeColor {
|
|
12
|
+
[key: number | string | symbol]: any;
|
|
12
13
|
descTextColor?: tTextColorProps;
|
|
13
14
|
descTextSize?: tTextSizeProps;
|
|
14
15
|
descTextWeight?: tTextWeightProps;
|
|
@@ -32,6 +33,7 @@ interface iCheckboxThemeColor {
|
|
|
32
33
|
width?: tWidthProps;
|
|
33
34
|
}
|
|
34
35
|
interface iCheckboxConfig {
|
|
36
|
+
[key: number | string | symbol]: any;
|
|
35
37
|
appearance: tCheckboxAppearance | undefined;
|
|
36
38
|
state: tCheckboxState | undefined;
|
|
37
39
|
setAppearance: (newComponent: tCheckboxAppearance) => void;
|
|
@@ -39,7 +41,7 @@ interface iCheckboxConfig {
|
|
|
39
41
|
}
|
|
40
42
|
interface iCheckboxProps extends iCheckboxThemeColor, iStyleAttributes {
|
|
41
43
|
id?: number | string;
|
|
42
|
-
|
|
44
|
+
[key: number | string | symbol]: any;
|
|
43
45
|
after?: ReactNode;
|
|
44
46
|
appearance?: tAppearanceKeysDefault;
|
|
45
47
|
before?: ReactNode;
|
|
@@ -48,6 +50,7 @@ interface iCheckboxProps extends iCheckboxThemeColor, iStyleAttributes {
|
|
|
48
50
|
desc?: string;
|
|
49
51
|
disabled?: boolean;
|
|
50
52
|
label?: string;
|
|
53
|
+
Tag?: ElementType;
|
|
51
54
|
value?: string;
|
|
52
55
|
onBlur?: (event?: React.FocusEvent<HTMLInputElement>) => void;
|
|
53
56
|
onChange?: (event?: React.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { tAlignDirectionProps, tAlignProps,
|
|
3
|
+
import { borderTypePropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iChipsThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
align?: tAlignProps;
|
|
7
8
|
alignDirection?: tAlignDirectionProps;
|
|
8
9
|
borderColor?: tBorderColorProps;
|
|
@@ -27,10 +28,12 @@ type tChipsAppearance = {
|
|
|
27
28
|
[key in tAppearanceKeysDefault]?: iChipsThemeColor;
|
|
28
29
|
};
|
|
29
30
|
interface iChipsConfig {
|
|
31
|
+
[key: number | string | symbol]: any;
|
|
30
32
|
appearance: tChipsAppearance | undefined;
|
|
31
33
|
setAppearance: (newComponent: tChipsAppearance) => void;
|
|
32
34
|
}
|
|
33
35
|
interface iChipsProps extends iChipsThemeColor, iStyleAttributes {
|
|
36
|
+
[key: number | string | symbol]: any;
|
|
34
37
|
appearance?: tAppearanceKeysDefault;
|
|
35
38
|
children?: ReactNode;
|
|
36
39
|
className?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { iChoiceConfig
|
|
2
|
+
import type { iChoiceConfig } from './Choice.interface';
|
|
3
3
|
declare const choiceConfig: iChoiceConfig;
|
|
4
|
-
declare const Choice: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const Choice: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
|
5
5
|
export { Choice, choiceConfig };
|
|
@@ -3,6 +3,7 @@ import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
|
3
3
|
import type { borderTypePropsType, iconSizePropsType, sizeOptionPropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, wrapPropsType } from '../../types';
|
|
4
4
|
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iChoiceThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
activeIconItemFill?: tItemColorProps;
|
|
7
8
|
borderColor?: tBorderColorProps;
|
|
8
9
|
borderType?: borderTypePropsType;
|
|
@@ -28,10 +29,12 @@ type tChoiceAppearance = {
|
|
|
28
29
|
[key in tAppearanceKeysDefault]?: iChoiceThemeColor;
|
|
29
30
|
};
|
|
30
31
|
interface iChoiceConfig {
|
|
32
|
+
[key: number | string | symbol]: any;
|
|
31
33
|
appearance: tChoiceAppearance | undefined;
|
|
32
34
|
setAppearance: (newComponent: tChoiceAppearance) => void;
|
|
33
35
|
}
|
|
34
36
|
interface iChoiceProps extends iChoiceThemeColor, iStyleAttributes {
|
|
37
|
+
[key: number | string | symbol]: any;
|
|
35
38
|
active: {
|
|
36
39
|
value: ReactNode;
|
|
37
40
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iCodeConfig,
|
|
1
|
+
import type { iCodeConfig, iCodeProps } from './Code.interface';
|
|
2
2
|
declare const codeConfig: iCodeConfig;
|
|
3
|
-
declare function Code(props:
|
|
3
|
+
declare function Code(props: iCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Code {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
inputBorderColor: string;
|
|
@@ -3,7 +3,8 @@ import { AllowedInputTypes } from 'react-otp-input';
|
|
|
3
3
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
4
4
|
import { borderColorHoverPropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
5
5
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
6
|
-
export interface
|
|
6
|
+
export interface iCodeThemeColor {
|
|
7
|
+
[key: number | string | symbol]: any;
|
|
7
8
|
borderColor?: tBorderColorProps;
|
|
8
9
|
fill?: tFillProps;
|
|
9
10
|
fillHover?: tFillHoverProps;
|
|
@@ -11,17 +12,19 @@ export interface ICodeThemeColor {
|
|
|
11
12
|
labelTextSize?: tTextSizeProps;
|
|
12
13
|
shape?: tShapeProps;
|
|
13
14
|
}
|
|
14
|
-
type
|
|
15
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
15
16
|
export type codeAppearanceType = {
|
|
16
|
-
[key in
|
|
17
|
+
[key in tAppearanceKeys]?: iCodeThemeColor;
|
|
17
18
|
};
|
|
18
19
|
export interface iCodeConfig {
|
|
20
|
+
[key: number | string | symbol]: any;
|
|
19
21
|
appearance: codeAppearanceType | undefined;
|
|
20
22
|
setAppearance: (newComponent: codeAppearanceType) => void;
|
|
21
23
|
}
|
|
22
|
-
export interface
|
|
24
|
+
export interface iCodeProps extends iCodeThemeColor, iStyleAttributes {
|
|
25
|
+
[key: number | string | symbol]: any;
|
|
23
26
|
after?: ReactNode;
|
|
24
|
-
appearance?:
|
|
27
|
+
appearance?: tAppearanceKeys;
|
|
25
28
|
before?: ReactNode;
|
|
26
29
|
className?: string;
|
|
27
30
|
gap?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function CookiesWarning(props:
|
|
1
|
+
import type { iCookiesWarningProps } from './CookiesWarning.interface';
|
|
2
|
+
declare function CookiesWarning(props: iCookiesWarningProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export { CookiesWarning };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
className?: string;
|
|
2
|
+
export interface iCookiesWarningProps {
|
|
3
|
+
[key: number | string | symbol]: any;
|
|
5
4
|
buttonFill?: tFillProps;
|
|
6
5
|
buttonFillHover?: tFillHoverProps;
|
|
7
6
|
buttonLabel?: string;
|
|
@@ -9,8 +8,10 @@ export interface ICookiesWarningProps {
|
|
|
9
8
|
buttonLabelTextColor?: tTextColorProps;
|
|
10
9
|
buttonShape?: tShapeProps;
|
|
11
10
|
buttonSize?: tSizeProps;
|
|
12
|
-
textSize?: tTextSizeProps;
|
|
13
|
-
textColor?: tTextColorProps;
|
|
14
11
|
buttonWidth?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
textColor?: tTextColorProps;
|
|
15
|
+
textSize?: tTextSizeProps;
|
|
15
16
|
isHideOnScroll?: boolean;
|
|
16
17
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function DadataHintField(props:
|
|
1
|
+
import type { iDadataHintFieldProps } from './DadataHintField.interface';
|
|
2
|
+
declare function DadataHintField(props: iDadataHintFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { DadataHintField };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { HTMLProps } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iDadataHintFieldProps extends iStyleAttributes {
|
|
5
5
|
delay?: number;
|
|
6
|
-
inputProps?: HTMLProps<HTMLInputElement>;
|
|
7
|
-
setValue?: () => void;
|
|
8
6
|
input?: any;
|
|
7
|
+
inputProps?: HTMLProps<HTMLInputElement>;
|
|
9
8
|
meta?: any;
|
|
10
9
|
token: string;
|
|
10
|
+
setValue?: () => void;
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface iDadataСustomInputProps extends iStyleAttributes {
|
|
13
13
|
inputValue?: string;
|
|
14
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const datePickerConfig:
|
|
3
|
-
declare function DatePickerInput(props:
|
|
1
|
+
import type { iDatePickerConfig, iDatePickerInputProps } from './DatePicker.interface';
|
|
2
|
+
declare const datePickerConfig: iDatePickerConfig;
|
|
3
|
+
declare function DatePickerInput(props: iDatePickerInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { DatePickerInput, datePickerConfig };
|
|
@@ -3,7 +3,7 @@ import { DatePickerProps } from 'react-datepicker';
|
|
|
3
3
|
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
4
4
|
import { iconFillSizePropsType, iconSizePropsType, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
5
5
|
import { iInputProps } from '../Input/Input.interface';
|
|
6
|
-
interface
|
|
6
|
+
interface iDatePickerProps extends DatePickerProps {
|
|
7
7
|
customTimeInput?: ReactNode;
|
|
8
8
|
daySize?: tSizeProps;
|
|
9
9
|
dayTextColor?: tTextColorProps;
|
|
@@ -38,15 +38,18 @@ interface IDatePickerProps extends DatePickerProps {
|
|
|
38
38
|
isClearable?: boolean;
|
|
39
39
|
isStartDefaultNull?: boolean;
|
|
40
40
|
}
|
|
41
|
-
type
|
|
41
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
42
42
|
export type datePickerAppearanceType = {
|
|
43
|
-
[key in
|
|
43
|
+
[key in tAppearanceKeys]?: iDatePickerInputProps;
|
|
44
44
|
};
|
|
45
|
-
export interface
|
|
45
|
+
export interface iDatePickerConfig {
|
|
46
|
+
[key: number | string | symbol]: any;
|
|
46
47
|
appearance: datePickerAppearanceType | undefined;
|
|
47
48
|
setAppearance: (newComponent: datePickerAppearanceType) => void;
|
|
48
49
|
}
|
|
49
|
-
export interface
|
|
50
|
+
export interface iDatePickerInputProps extends iDatePickerProps {
|
|
51
|
+
[key: number | string | symbol]: any;
|
|
52
|
+
appearance?: tAppearanceKeys;
|
|
50
53
|
className?: string;
|
|
51
54
|
clearIcon?: any;
|
|
52
55
|
clearIconFill?: tFillProps;
|
|
@@ -61,14 +64,14 @@ export interface IDatePickerInputProps extends IDatePickerProps {
|
|
|
61
64
|
clearLabelTextColor?: tTextColorProps;
|
|
62
65
|
clearLabelTextColorHover?: tTextColorHoverProps;
|
|
63
66
|
clearLabelTextSize?: tTextSizeProps;
|
|
64
|
-
datePickerProps:
|
|
67
|
+
datePickerProps: iDatePickerProps;
|
|
65
68
|
endValue?: string;
|
|
66
69
|
inputProps?: iInputProps;
|
|
67
70
|
labelTextSize?: tTextSizeProps;
|
|
68
71
|
value?: string;
|
|
69
72
|
onChange?: any;
|
|
70
73
|
}
|
|
71
|
-
export interface
|
|
74
|
+
export interface iDatePickerCustomInput {
|
|
72
75
|
clearIcon?: any;
|
|
73
76
|
clearIconFill?: tFillProps;
|
|
74
77
|
clearIconFillHover?: tFillHoverProps;
|
|
@@ -96,7 +99,7 @@ export interface IDatePickerCustomInput {
|
|
|
96
99
|
value?: string;
|
|
97
100
|
isClearable?: boolean;
|
|
98
101
|
}
|
|
99
|
-
export interface
|
|
102
|
+
export interface iDatePickerInputIcon {
|
|
100
103
|
inputIcon?: any;
|
|
101
104
|
inputIconFill?: tFillProps;
|
|
102
105
|
inputIconFillHover?: tFillHoverProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iDividerConfig,
|
|
1
|
+
import type { iDividerConfig, iDividerProps } from './Divider.interface';
|
|
2
2
|
declare const dividerConfig: iDividerConfig;
|
|
3
|
-
declare function Divider(props:
|
|
3
|
+
declare function Divider(props: iDividerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Divider {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
size: string;
|
|
@@ -2,7 +2,8 @@ import { CSSProperties } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { tDirectionProps, tFillHoverProps, tFillProps, tSizeProps, tWidthProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iDividerThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
className?: string;
|
|
7
8
|
direction?: tDirectionProps;
|
|
8
9
|
directionDesktop?: tDirectionProps;
|
|
@@ -26,16 +27,18 @@ export interface IDividerThemeColor {
|
|
|
26
27
|
widthMobile?: tWidthProps;
|
|
27
28
|
widthTablet?: tWidthProps;
|
|
28
29
|
}
|
|
29
|
-
type
|
|
30
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
30
31
|
export type dividerAppearanceType = {
|
|
31
|
-
[key in
|
|
32
|
+
[key in tAppearanceKeys]?: iDividerThemeColor;
|
|
32
33
|
};
|
|
33
34
|
export interface iDividerConfig {
|
|
35
|
+
[key: number | string | symbol]: any;
|
|
34
36
|
appearance: dividerAppearanceType | undefined;
|
|
35
37
|
setAppearance: (newComponent: dividerAppearanceType) => void;
|
|
36
38
|
}
|
|
37
|
-
export interface
|
|
38
|
-
|
|
39
|
+
export interface iDividerProps extends iDividerThemeColor, iStyleAttributes {
|
|
40
|
+
[key: number | string | symbol]: any;
|
|
41
|
+
appearance?: tAppearanceKeys;
|
|
39
42
|
className?: string;
|
|
40
43
|
style?: CSSProperties;
|
|
41
44
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Dot(props:
|
|
1
|
+
import type { iDotProps } from './Dot.interface';
|
|
2
|
+
declare function Dot(props: iDotProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Dot };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
3
|
+
import { borderTypePropsType, tBorderColorProps, tFillProps, tShapeProps, tSizeProps } from '../../types';
|
|
4
|
+
export interface iDotThemeColor {
|
|
5
5
|
borderColor?: tBorderColorProps;
|
|
6
6
|
borderColorDesktop?: tBorderColorProps;
|
|
7
7
|
borderColorMobile?: tBorderColorProps;
|
|
@@ -20,7 +20,8 @@ export interface IDotThemeColor {
|
|
|
20
20
|
shapeTablet?: tShapeProps;
|
|
21
21
|
size?: tSizeProps;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface iDotProps extends iDotThemeColor, iStyleAttributes {
|
|
24
|
+
[key: number | string | symbol]: any;
|
|
24
25
|
children?: ReactNode;
|
|
25
26
|
className?: string;
|
|
26
27
|
style?: CSSProperties;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Dropdown(props:
|
|
1
|
+
import type { iDropdownProps } from './Dropdown.interface';
|
|
2
|
+
declare function Dropdown(props: iDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Dropdown };
|
|
@@ -2,7 +2,8 @@ import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { alignmentPropsType, elevationPropsType, tAlignDirectionProps, tAlignProps, tDirectionProps, tFillHoverProps, tFillProps, tJustifyContentProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tUnderlineProps, tWidthProps, typePropsType } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iDropdownProps extends iStyleAttributes {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
after?: ReactNode;
|
|
7
8
|
alignment?: alignmentPropsType;
|
|
8
9
|
animationClose?: string;
|
|
@@ -20,6 +21,7 @@ export interface IDropdownProps extends iStyleAttributes {
|
|
|
20
21
|
setIsOpen: (newState: boolean) => void;
|
|
21
22
|
}
|
|
22
23
|
export interface iDropdownItemThemeColor {
|
|
24
|
+
[key: number | string | symbol]: any;
|
|
23
25
|
descTextColor?: tTextColorProps;
|
|
24
26
|
descTextSize?: tTextSizeProps;
|
|
25
27
|
direction?: tDirectionProps;
|
|
@@ -31,19 +33,21 @@ export interface iDropdownItemThemeColor {
|
|
|
31
33
|
size?: tSizeProps;
|
|
32
34
|
width?: tWidthProps;
|
|
33
35
|
}
|
|
34
|
-
type
|
|
36
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
35
37
|
export type dropdownItemAppearanceType = {
|
|
36
|
-
[key in
|
|
38
|
+
[key in tAppearanceKeys]?: iDropdownItemThemeColor;
|
|
37
39
|
};
|
|
38
40
|
export interface iDropdownItemConfig {
|
|
41
|
+
[key: number | string | symbol]: any;
|
|
39
42
|
appearance: dropdownItemAppearanceType | undefined;
|
|
40
43
|
setAppearance: (newComponent: dropdownItemAppearanceType) => void;
|
|
41
44
|
}
|
|
42
|
-
export interface
|
|
45
|
+
export interface iDropdownItemProps extends iDropdownItemThemeColor, iStyleAttributes {
|
|
46
|
+
[key: number | string | symbol]: any;
|
|
43
47
|
after?: ReactNode;
|
|
44
48
|
align?: tAlignProps;
|
|
45
49
|
alignDirection?: tAlignDirectionProps;
|
|
46
|
-
appearance?:
|
|
50
|
+
appearance?: tAppearanceKeys;
|
|
47
51
|
before?: ReactNode;
|
|
48
52
|
children?: ReactNode;
|
|
49
53
|
className?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iDropdownItemConfig,
|
|
1
|
+
import type { iDropdownItemConfig, iDropdownItemProps } from './Dropdown.interface';
|
|
2
2
|
declare const dropdownItemConfig: iDropdownItemConfig;
|
|
3
|
-
declare function DropdownItem(props:
|
|
3
|
+
declare function DropdownItem(props: iDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace DropdownItem {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
width: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Dropdown } from './Dropdown';
|
|
2
2
|
import { DropdownItem, dropdownItemConfig } from './DropdownItem';
|
|
3
|
-
|
|
3
|
+
import { dropdownItemAppearance } from './DropdownItem.appearance';
|
|
4
|
+
export { Dropdown, DropdownItem, dropdownItemAppearance, dropdownItemConfig };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Flex(props:
|
|
1
|
+
import type { iFlexProps } from './Flex.interface';
|
|
2
|
+
declare function Flex(props: iFlexProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Flex };
|