@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,7 +1,8 @@
|
|
|
1
1
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
2
|
-
import {
|
|
2
|
+
import { borderTypePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tTextColorActiveProps, tTextColorProps, tTextSizeProps, tTextWrapProps, tWidthProps } from '../../types';
|
|
3
3
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iSegmentedThemeColor {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
borderType?: borderTypePropsType;
|
|
6
7
|
borderWidth?: tBorderWidthProps;
|
|
7
8
|
fill?: tFillProps;
|
|
@@ -9,34 +10,39 @@ export interface ISegmentedThemeColor {
|
|
|
9
10
|
indicatorFill?: tItemColorProps;
|
|
10
11
|
inputBorderColor?: tBorderColorProps;
|
|
11
12
|
labelTextActiveColor?: tTextColorActiveProps;
|
|
13
|
+
labelTextActiveHoverColor?: tTextColorActiveProps;
|
|
12
14
|
labelTextColor?: tTextColorProps;
|
|
15
|
+
labelTextHoverColor?: tTextColorProps;
|
|
13
16
|
labelTextSize?: tTextSizeProps;
|
|
14
17
|
labelTextWrap?: tTextWrapProps;
|
|
15
18
|
shape?: tShapeProps;
|
|
16
19
|
width?: tWidthProps;
|
|
17
20
|
}
|
|
18
|
-
type
|
|
21
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
19
22
|
export type segmentedAppearanceType = {
|
|
20
|
-
[key in
|
|
23
|
+
[key in tAppearanceKeys]?: iSegmentedThemeColor;
|
|
21
24
|
};
|
|
22
|
-
export interface
|
|
25
|
+
export interface iSegmentedConfig {
|
|
26
|
+
[key: number | string | symbol]: any;
|
|
23
27
|
appearance: segmentedAppearanceType | undefined;
|
|
24
28
|
setAppearance: (newComponent: segmentedAppearanceType) => void;
|
|
25
29
|
}
|
|
26
30
|
interface ISegment {
|
|
27
|
-
value: string;
|
|
28
31
|
label: string;
|
|
32
|
+
value: string;
|
|
29
33
|
}
|
|
30
|
-
export interface
|
|
34
|
+
export interface iSegmentedProps extends iSegmentedThemeColor, iStyleAttributes {
|
|
35
|
+
[key: number | string | symbol]: any;
|
|
31
36
|
activeSegment?: any;
|
|
32
|
-
appearance?:
|
|
37
|
+
appearance?: tAppearanceKeys;
|
|
33
38
|
className?: string;
|
|
34
39
|
name?: string;
|
|
35
40
|
segments: ISegment[];
|
|
36
41
|
size?: string;
|
|
37
42
|
type?: string;
|
|
38
43
|
value?: string;
|
|
39
|
-
|
|
44
|
+
isDisabled?: boolean;
|
|
40
45
|
onChange?: (value: string, name?: string) => void;
|
|
46
|
+
setActiveSegment?: (item: ISegment) => void;
|
|
41
47
|
}
|
|
42
48
|
export {};
|
|
@@ -4,6 +4,7 @@ import { Props } from 'react-select/base';
|
|
|
4
4
|
import { borderColorHoverPropsType, borderTypePropsType, sizeOptionPropsType, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
5
5
|
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
6
6
|
interface iSelectThemeColor {
|
|
7
|
+
[key: number | string | symbol]: any;
|
|
7
8
|
elevation?: number;
|
|
8
9
|
inputBorderColor?: tBorderColorProps;
|
|
9
10
|
inputBorderColorHover?: borderColorHoverPropsType;
|
|
@@ -33,6 +34,7 @@ interface iSelectConfig {
|
|
|
33
34
|
interface iSelectProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> extends Partial<Pick<Props<Option, IsMulti, Group>, 'className' | 'closeMenuOnSelect' | 'filterOption' | 'hideSelectedOptions' | 'hideValueContainer' | 'instanceId' | 'isClearable' | 'isDisabled' | 'isLoading' | 'isMulti' | 'isSearchable' | 'loadingMessage' | 'onChange' | 'onInputChange' | 'openMenuOnClick' | 'options' | 'value'>>, iSelectThemeColor, iSelectPropsCustom<Option> {
|
|
34
35
|
}
|
|
35
36
|
interface iSelectPropsCustom<Option> {
|
|
37
|
+
[key: number | string | symbol]: any;
|
|
36
38
|
after?: React.ReactNode;
|
|
37
39
|
appearance?: tAppearanceKeysDefault;
|
|
38
40
|
badgeAppearance?: tAppearanceKeysDefault;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GroupBase, SelectInstance } from 'react-select';
|
|
3
|
-
import { iSelectProps } from './Select.interface';
|
|
4
|
-
declare const
|
|
5
|
-
|
|
3
|
+
import type { iSelectConfig, iSelectProps } from './Select.interface';
|
|
4
|
+
declare const selectConfig: iSelectConfig;
|
|
5
|
+
declare const SelectContainer: React.ForwardRefExoticComponent<Omit<iSelectProps<unknown, boolean, GroupBase<unknown>>, "ref"> & React.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
|
|
6
|
+
export { SelectContainer, selectConfig };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { iSelectConfig } from './Select.interface.js';
|
|
2
1
|
import { SelectClearIndicator } from './SelectClearIndicator.js';
|
|
3
|
-
import { SelectContainer } from './SelectContainer.js';
|
|
2
|
+
import { selectConfig, SelectContainer } from './SelectContainer.js';
|
|
4
3
|
import { SelectControl } from './SelectControl.js';
|
|
5
4
|
import { SelectDropdownIndicator } from './SelectDropdownIndicator.js';
|
|
6
5
|
import { SelectGroupHeading } from './SelectGroupHeading.js';
|
|
@@ -14,5 +13,4 @@ import { SelectOption } from './SelectOption.js';
|
|
|
14
13
|
import { SelectPlaceholder } from './SelectPlaceholder.js';
|
|
15
14
|
import { SelectSingleValue } from './SelectSingleValue.js';
|
|
16
15
|
import { SelectValueContainer } from './SelectValueContainer.js';
|
|
17
|
-
declare const selectConfig: iSelectConfig;
|
|
18
16
|
export { SelectClearIndicator, SelectContainer as Select, SelectControl, SelectDropdownIndicator, SelectGroupHeading, SelectIndicatorsContainer, SelectInput, SelectMenu, SelectMultiValueContainer, SelectMultiValueLabel, SelectMultiValueRemove, SelectOption, SelectPlaceholder, SelectSingleValue, SelectValueContainer, selectConfig, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { iSiteMenuConfig,
|
|
1
|
+
import type { iSiteMenuConfig, iSiteMenuProps } from './SiteMenu.interface';
|
|
2
2
|
declare const siteMenuConfig: iSiteMenuConfig;
|
|
3
|
-
declare function SiteMenu(props:
|
|
3
|
+
declare function SiteMenu(props: iSiteMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { SiteMenu, siteMenuConfig };
|
|
@@ -2,7 +2,8 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { iconSizePropsType, tFillProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iSiteMenuThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
closeTextColor?: tTextColorProps;
|
|
7
8
|
closeTextColorHover?: tTextColorHoverProps;
|
|
8
9
|
closeTextSize?: tTextSizeProps;
|
|
@@ -12,22 +13,24 @@ export interface ISiteMenuThemeColor {
|
|
|
12
13
|
iconCloseFill?: tFillProps;
|
|
13
14
|
iconCloseSize?: iconSizePropsType;
|
|
14
15
|
}
|
|
15
|
-
type
|
|
16
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
16
17
|
export type siteMenuAppearanceType = {
|
|
17
|
-
[key in
|
|
18
|
+
[key in tAppearanceKeys]?: iSiteMenuThemeColor;
|
|
18
19
|
};
|
|
19
20
|
export interface iSiteMenuConfig {
|
|
21
|
+
[key: number | string | symbol]: any;
|
|
20
22
|
appearance: siteMenuAppearanceType | undefined;
|
|
21
23
|
setAppearance: (newComponent: siteMenuAppearanceType) => void;
|
|
22
24
|
}
|
|
23
|
-
export interface
|
|
24
|
-
|
|
25
|
+
export interface iSiteMenuProps extends iSiteMenuThemeColor, iStyleAttributes {
|
|
26
|
+
[key: number | string | symbol]: any;
|
|
27
|
+
appearance?: tAppearanceKeys;
|
|
25
28
|
children?: ReactNode;
|
|
26
29
|
className?: string;
|
|
27
30
|
closeText?: string;
|
|
28
31
|
onClose?: () => void;
|
|
29
32
|
}
|
|
30
|
-
export interface
|
|
33
|
+
export interface iSiteMenuButtonProps extends iStyleAttributes {
|
|
31
34
|
children?: ReactNode;
|
|
32
35
|
className?: string;
|
|
33
36
|
text?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function SiteMenuButton(props:
|
|
1
|
+
import type { iSiteMenuButtonProps } from './SiteMenu.interface';
|
|
2
|
+
declare function SiteMenuButton(props: iSiteMenuButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { SiteMenuButton };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { siteMenuAppearance } from './SiteMenu.appearance';
|
|
1
2
|
import { SiteMenu, siteMenuConfig } from './SiteMenu.js';
|
|
2
3
|
import { SiteMenuButton } from './SiteMenuButton.js';
|
|
3
|
-
export { SiteMenu, siteMenuConfig, SiteMenuButton };
|
|
4
|
+
export { SiteMenu, siteMenuConfig, siteMenuAppearance, SiteMenuButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Swiper(props:
|
|
1
|
+
import type { iSwiperProps } from './Swiper.interface';
|
|
2
|
+
declare function Swiper(props: iSwiperProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace Swiper {
|
|
4
4
|
var defaultProps: {
|
|
5
5
|
disabledButtonClass: string;
|
|
@@ -2,16 +2,18 @@ import { CSSProperties, ReactNode, type Ref } from 'react';
|
|
|
2
2
|
import { SwiperClass, type SwiperRef } from 'swiper/react';
|
|
3
3
|
import { SwiperModule, SwiperOptions } from 'swiper/types';
|
|
4
4
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
5
|
-
import { tAlignDirectionProps, tAlignProps, tFillProps, tShapeProps, tTextColorProps, tTextWeightProps
|
|
6
|
-
export interface
|
|
5
|
+
import { tAlignDirectionProps, tAlignProps, tFillProps, titleSizePropsType, tShapeProps, tTextColorProps, tTextWeightProps } from '../../types';
|
|
6
|
+
export interface iSwiperProps extends iStyleAttributes {
|
|
7
|
+
id?: string;
|
|
8
|
+
[key: number | string | symbol]: any;
|
|
7
9
|
activeSlideIndex?: number;
|
|
8
10
|
align?: tAlignProps;
|
|
9
11
|
alignDirection?: tAlignDirectionProps;
|
|
10
12
|
allowTouchMove?: boolean;
|
|
11
13
|
autoHeight?: boolean;
|
|
12
14
|
breakpoints?: {
|
|
13
|
-
[width: number]: SwiperOptions;
|
|
14
15
|
[ratio: string]: SwiperOptions;
|
|
16
|
+
[width: number]: SwiperOptions;
|
|
15
17
|
};
|
|
16
18
|
children?: ReactNode;
|
|
17
19
|
className?: string;
|
|
@@ -19,7 +21,6 @@ export interface ISwiperProps extends iStyleAttributes {
|
|
|
19
21
|
fill?: tFillProps;
|
|
20
22
|
forwardedRef: Ref<SwiperRef>;
|
|
21
23
|
freeMode?: boolean;
|
|
22
|
-
id?: string;
|
|
23
24
|
items?: ReactNode[];
|
|
24
25
|
keyboard?: boolean;
|
|
25
26
|
loop?: boolean;
|
|
@@ -31,13 +32,10 @@ export interface ISwiperProps extends iStyleAttributes {
|
|
|
31
32
|
prevButton?: ReactNode;
|
|
32
33
|
preventClicks?: boolean;
|
|
33
34
|
preventClicksPropagation?: boolean;
|
|
34
|
-
set?: string;
|
|
35
|
-
setNextBtnDisabled?: (isDisabled: boolean) => void;
|
|
36
|
-
setPrevBtnDisabled?: (isDisabled: boolean) => void;
|
|
37
35
|
shape?: tShapeProps;
|
|
38
36
|
simulateTouch?: boolean;
|
|
39
37
|
slidesPerView?: number | 'auto';
|
|
40
|
-
spaceBetween?:
|
|
38
|
+
spaceBetween?: number | string;
|
|
41
39
|
speed?: number;
|
|
42
40
|
style?: CSSProperties;
|
|
43
41
|
swiperClass?: string;
|
|
@@ -55,4 +53,7 @@ export interface ISwiperProps extends iStyleAttributes {
|
|
|
55
53
|
onSlidePrevTransitionEnd?: (swiper: SwiperClass) => void;
|
|
56
54
|
onSwiper?: (swiper: SwiperClass) => void;
|
|
57
55
|
onUpdate?: (swiper: SwiperClass) => void;
|
|
56
|
+
set?: string;
|
|
57
|
+
setNextBtnDisabled?: (isDisabled: boolean) => void;
|
|
58
|
+
setPrevBtnDisabled?: (isDisabled: boolean) => void;
|
|
58
59
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { iSwitchConfig,
|
|
2
|
+
import type { iSwitchConfig, iSwitchProps } from './Switch.interface';
|
|
3
3
|
declare const switchConfig: iSwitchConfig;
|
|
4
|
-
declare const Switch: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const Switch: React.ForwardRefExoticComponent<iSwitchProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Switch, switchConfig };
|
|
@@ -4,17 +4,17 @@ export interface iSwitchThemeColor {
|
|
|
4
4
|
size?: string;
|
|
5
5
|
set?: string;
|
|
6
6
|
}
|
|
7
|
-
type
|
|
7
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
8
8
|
export type switchAppearanceType = {
|
|
9
|
-
[key in
|
|
9
|
+
[key in tAppearanceKeys]?: iSwitchThemeColor;
|
|
10
10
|
};
|
|
11
11
|
export interface iSwitchConfig {
|
|
12
12
|
appearance: switchAppearanceType | undefined;
|
|
13
13
|
setAppearance: (newComponent: switchAppearanceType) => void;
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface iSwitchProps extends iSwitchThemeColor, iStyleAttributes {
|
|
16
16
|
id?: string;
|
|
17
|
-
appearance?:
|
|
17
|
+
appearance?: tAppearanceKeys;
|
|
18
18
|
checked?: boolean;
|
|
19
19
|
className?: string;
|
|
20
20
|
disabled?: boolean;
|
|
@@ -3,6 +3,7 @@ import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
|
3
3
|
import type { borderTypePropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tBorderWidthProps, tDirectionProps, tFillHoverProps, tFillProps, tJustifyContentProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tWidthProps, wrapPropsType } from '../../types';
|
|
4
4
|
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iTabThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
align?: tAlignProps;
|
|
7
8
|
alignDirection?: tAlignDirectionProps;
|
|
8
9
|
badgeAppearance?: tAppearanceKeysDefault;
|
|
@@ -44,10 +45,12 @@ type tTabAppearance = {
|
|
|
44
45
|
[key in tAppearanceKeysDefault]?: iTabThemeColor;
|
|
45
46
|
};
|
|
46
47
|
interface iTabConfig {
|
|
48
|
+
[key: number | string | symbol]: any;
|
|
47
49
|
appearance: tTabAppearance | undefined;
|
|
48
50
|
setAppearance: (newComponent: tTabAppearance) => void;
|
|
49
51
|
}
|
|
50
52
|
interface iTabProps extends iTabThemeColor, iStyleAttributes {
|
|
53
|
+
[key: number | string | symbol]: any;
|
|
51
54
|
after?: ReactNode;
|
|
52
55
|
appearance?: tAppearanceKeysDefault;
|
|
53
56
|
before?: ReactNode;
|
|
@@ -69,6 +72,7 @@ interface iTabProps extends iTabThemeColor, iStyleAttributes {
|
|
|
69
72
|
}
|
|
70
73
|
interface iTabGroupProps extends iStyleAttributes {
|
|
71
74
|
id?: string;
|
|
75
|
+
[key: number | string | symbol]: any;
|
|
72
76
|
align?: tAlignProps;
|
|
73
77
|
alignDirection?: tAlignDirectionProps;
|
|
74
78
|
borderColor?: tBorderColorProps;
|
|
@@ -3,6 +3,7 @@ import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
|
3
3
|
import type { tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tWidthProps, typePropsType } from '../../types';
|
|
4
4
|
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iTextThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
size?: tSizeProps;
|
|
7
8
|
textColor?: tTextColorProps;
|
|
8
9
|
textColorActive?: tTextColorActiveProps;
|
|
@@ -14,18 +15,20 @@ export type tAppearance = {
|
|
|
14
15
|
[key in tAppearanceKeysDefault]: iTextThemeColor;
|
|
15
16
|
};
|
|
16
17
|
interface iTextConfig {
|
|
18
|
+
[key: number | string | symbol]: any;
|
|
17
19
|
appearance: tAppearance | undefined;
|
|
18
20
|
setAppearance: (newComponent: tAppearance) => void;
|
|
19
21
|
}
|
|
20
22
|
interface iTextProps extends iTextThemeColor, iStyleAttributes {
|
|
21
|
-
dataTestId?: number | string;
|
|
22
23
|
id?: number | string;
|
|
24
|
+
[key: number | string | symbol]: any;
|
|
23
25
|
after?: ReactNode;
|
|
24
26
|
appearance?: tAppearanceKeysDefault;
|
|
25
27
|
before?: ReactNode;
|
|
26
28
|
children: ReactNode;
|
|
27
29
|
className?: string;
|
|
28
30
|
cursor?: string;
|
|
31
|
+
dataTestId?: number | string;
|
|
29
32
|
dataTour?: string;
|
|
30
33
|
htmlFor?: string;
|
|
31
34
|
mode?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const textareaConfig:
|
|
3
|
-
declare function Textarea(props:
|
|
1
|
+
import type { iTextareaConfig, iTextareaProps } from './Textarea.interface';
|
|
2
|
+
declare const textareaConfig: iTextareaConfig;
|
|
3
|
+
declare function Textarea(props: iTextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Textarea {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
size: string;
|
|
@@ -2,7 +2,8 @@ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
|
2
2
|
import { borderColorHoverPropsType, tBorderColorProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
3
3
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
4
4
|
import { tStateKeysDefault } from '../../types/componentProps/stateKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iTextareaThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderHover?: borderColorHoverPropsType;
|
|
8
9
|
caret?: tItemColorProps;
|
|
@@ -15,25 +16,27 @@ export interface ITextareaThemeColor {
|
|
|
15
16
|
textWeight?: tTextWeightProps;
|
|
16
17
|
width?: tWidthProps;
|
|
17
18
|
}
|
|
18
|
-
type
|
|
19
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
19
20
|
type stateKeysType = tStateKeysDefault & {};
|
|
20
21
|
export type textareaAppearanceType = {
|
|
21
|
-
[key in
|
|
22
|
+
[key in tAppearanceKeys]?: iTextareaThemeColor;
|
|
22
23
|
};
|
|
23
24
|
export type textareaStateType = {
|
|
24
|
-
[key in stateKeysType]?:
|
|
25
|
+
[key in stateKeysType]?: iTextareaThemeColor;
|
|
25
26
|
};
|
|
26
|
-
export interface
|
|
27
|
-
|
|
28
|
-
setState: (newComponent: textareaStateType) => void;
|
|
27
|
+
export interface iTextareaConfig {
|
|
28
|
+
[key: number | string | symbol]: any;
|
|
29
29
|
appearance: textareaAppearanceType | undefined;
|
|
30
|
+
state: textareaStateType | undefined;
|
|
30
31
|
setAppearance: (newComponent: textareaAppearanceType) => void;
|
|
32
|
+
setState: (newComponent: textareaStateType) => void;
|
|
31
33
|
}
|
|
32
|
-
export interface
|
|
33
|
-
|
|
34
|
+
export interface iTextareaProps extends iTextareaThemeColor, iStyleAttributes {
|
|
35
|
+
id?: string;
|
|
36
|
+
[key: number | string | symbol]: any;
|
|
37
|
+
appearance?: tAppearanceKeys;
|
|
34
38
|
className?: string;
|
|
35
39
|
disabled?: boolean;
|
|
36
|
-
id?: string;
|
|
37
40
|
placeholder?: string;
|
|
38
41
|
state?: stateKeysType;
|
|
39
42
|
value?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iTileConfig,
|
|
1
|
+
import type { iTileConfig, iTileProps } from './Tile.interface';
|
|
2
2
|
declare const tileConfig: iTileConfig;
|
|
3
|
-
declare function Tile(props:
|
|
3
|
+
declare function Tile(props: iTileProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Tile {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
alignDirection: string;
|
|
@@ -2,7 +2,8 @@ import { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { borderColorHoverPropsType, borderTypePropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tBorderWidthProps, tDirectionProps, tFillProps, titleSizePropsType, tShapeProps, tSizeProps, tTextAlignProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iTileThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
fill?: tFillProps;
|
|
8
9
|
shape?: tShapeProps;
|
|
@@ -11,19 +12,21 @@ export interface ITileThemeColor {
|
|
|
11
12
|
titleTextColor?: tTextColorProps;
|
|
12
13
|
titleTextSize?: titleSizePropsType;
|
|
13
14
|
}
|
|
14
|
-
type
|
|
15
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
15
16
|
export type tileAppearanceType = {
|
|
16
|
-
[key in
|
|
17
|
+
[key in tAppearanceKeys]?: iTileThemeColor;
|
|
17
18
|
};
|
|
18
19
|
export interface iTileConfig {
|
|
20
|
+
[key: number | string | symbol]: any;
|
|
19
21
|
appearance: tileAppearanceType | undefined;
|
|
20
22
|
setAppearance: (newComponent: tileAppearanceType) => void;
|
|
21
23
|
}
|
|
22
|
-
export interface
|
|
24
|
+
export interface iTileProps extends iTileThemeColor, iStyleAttributes {
|
|
25
|
+
[key: number | string | symbol]: any;
|
|
23
26
|
after?: ReactNode;
|
|
24
27
|
align?: tAlignProps;
|
|
25
28
|
alignDirection?: tAlignDirectionProps;
|
|
26
|
-
appearance?:
|
|
29
|
+
appearance?: tAppearanceKeys;
|
|
27
30
|
badge?: string;
|
|
28
31
|
badgeAppearance?: tAppearanceKeysDefault;
|
|
29
32
|
badgeSize?: tSizeProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const titleConfig:
|
|
3
|
-
declare function Title(props:
|
|
1
|
+
import type { iTitleConfig, iTitleProps } from './Title.interface';
|
|
2
|
+
declare const titleConfig: iTitleConfig;
|
|
3
|
+
declare function Title(props: iTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Title, titleConfig };
|
|
@@ -2,12 +2,15 @@ import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { svgFillPropsType, tFillProps, titleSizePropsType, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextStyleProps, tTextWeightProps, tTextWrapProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
interface
|
|
5
|
+
interface iTitleThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
fill?: tFillProps;
|
|
7
8
|
size?: titleSizePropsType;
|
|
8
9
|
sizeDesktop?: titleSizePropsType;
|
|
9
10
|
sizeMobile?: titleSizePropsType;
|
|
10
11
|
sizeTablet?: titleSizePropsType;
|
|
12
|
+
svgFill?: svgFillPropsType;
|
|
13
|
+
svgFillHover?: svgFillPropsType;
|
|
11
14
|
textColor?: tTextColorProps;
|
|
12
15
|
textColorActive?: tTextColorActiveProps;
|
|
13
16
|
textColorHover?: tTextColorHoverProps;
|
|
@@ -16,33 +19,33 @@ interface ITitleThemeColor {
|
|
|
16
19
|
textWeight?: tTextWeightProps;
|
|
17
20
|
textWrap?: tTextWrapProps;
|
|
18
21
|
weight?: tTextWeightProps;
|
|
19
|
-
svgFill?: svgFillPropsType;
|
|
20
|
-
svgFillHover?: svgFillPropsType;
|
|
21
22
|
}
|
|
22
|
-
type
|
|
23
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
23
24
|
export type tAppearance = {
|
|
24
|
-
[key in
|
|
25
|
+
[key in tAppearanceKeys]: iTitleThemeColor;
|
|
25
26
|
};
|
|
26
|
-
export interface
|
|
27
|
+
export interface iTitleConfig {
|
|
28
|
+
[key: number | string | symbol]: any;
|
|
27
29
|
appearance: tAppearance | undefined;
|
|
28
30
|
setAppearance: (newComponent: tAppearance) => void;
|
|
29
31
|
}
|
|
30
|
-
export interface
|
|
31
|
-
|
|
32
|
-
children: ReactNode;
|
|
33
|
-
className?: string;
|
|
34
|
-
dataTour?: string;
|
|
35
|
-
mode?: string;
|
|
32
|
+
export interface iTitleProps extends iTitleThemeColor, iStyleAttributes {
|
|
33
|
+
[key: number | string | symbol]: any;
|
|
36
34
|
after?: any;
|
|
37
35
|
afterWrapper?: any;
|
|
36
|
+
appearance?: tAppearanceKeys;
|
|
38
37
|
before?: any;
|
|
39
38
|
beforeWrapper?: any;
|
|
39
|
+
children: ReactNode;
|
|
40
|
+
className?: string;
|
|
41
|
+
dataTour?: string;
|
|
42
|
+
direction?: string;
|
|
43
|
+
directionWrapper?: string;
|
|
44
|
+
mode?: string;
|
|
40
45
|
style?: CSSProperties;
|
|
41
46
|
tag?: ElementType;
|
|
42
47
|
text?: string;
|
|
43
48
|
textAlign?: tTextAlignProps;
|
|
44
|
-
direction?: string;
|
|
45
|
-
directionWrapper?: string;
|
|
46
49
|
textTruncate?: string;
|
|
47
50
|
type?: string;
|
|
48
51
|
onClick?: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const tooltipConfig:
|
|
4
|
-
declare const Tooltip: React.ForwardRefExoticComponent<
|
|
2
|
+
import type { iTooltipConfig, iTooltipProps } from './Tooltip.interface';
|
|
3
|
+
declare const tooltipConfig: iTooltipConfig;
|
|
4
|
+
declare const Tooltip: React.ForwardRefExoticComponent<Omit<iTooltipProps, "ref"> & React.RefAttributes<any>>;
|
|
5
5
|
export { Tooltip, tooltipConfig };
|
|
@@ -2,7 +2,8 @@ import { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { alignmentPropsType, borderTypePropsType, elevationPropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tBorderWidthProps, tFillProps, titleSizePropsType, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iTooltipThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
align?: tAlignProps;
|
|
7
8
|
alignDirection?: tAlignDirectionProps;
|
|
8
9
|
alignment?: alignmentPropsType;
|
|
@@ -19,17 +20,19 @@ export interface ITooltipThemeColor {
|
|
|
19
20
|
titleTextColor?: tTextColorProps;
|
|
20
21
|
titleTextWeight?: tTextWeightProps;
|
|
21
22
|
}
|
|
22
|
-
type
|
|
23
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
23
24
|
export type tooltipAppearanceType = {
|
|
24
|
-
[key in
|
|
25
|
+
[key in tAppearanceKeys]?: iTooltipThemeColor;
|
|
25
26
|
};
|
|
26
|
-
export interface
|
|
27
|
+
export interface iTooltipConfig {
|
|
28
|
+
[key: number | string | symbol]: any;
|
|
27
29
|
appearance: tooltipAppearanceType | undefined;
|
|
28
30
|
setAppearance: (newComponent: tooltipAppearanceType) => void;
|
|
29
31
|
}
|
|
30
|
-
export interface
|
|
32
|
+
export interface iTooltipProps extends iTooltipThemeColor, iStyleAttributes {
|
|
33
|
+
[key: number | string | symbol]: any;
|
|
31
34
|
after?: ReactNode;
|
|
32
|
-
appearance?:
|
|
35
|
+
appearance?: tAppearanceKeys;
|
|
33
36
|
arrowPosition?: string;
|
|
34
37
|
before?: ReactNode;
|
|
35
38
|
children?: ReactNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Video(props:
|
|
1
|
+
import type { iVideoProps } from './Video.interface';
|
|
2
|
+
declare function Video(props: iVideoProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Video };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
export interface
|
|
3
|
+
export interface iVideoProps extends iStyleAttributes {
|
|
4
4
|
id?: string;
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
className?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Wrapper(props:
|
|
1
|
+
import type { iWrapperProps } from './Wrapper.interface';
|
|
2
|
+
declare function Wrapper(props: iWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Wrapper };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
3
|
+
import { horizontalResizeModePropsType, positionPropsType, tAlignDirectionProps, tAlignProps, tFillProps, verticalResizeModePropsType } from '../../types';
|
|
4
|
+
export interface iWrapperProps extends iStyleAttributes {
|
|
5
|
+
id?: string;
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
5
7
|
after?: ReactNode;
|
|
6
8
|
align?: tAlignProps;
|
|
7
9
|
alignDirection?: tAlignDirectionProps;
|
|
@@ -10,7 +12,6 @@ export interface IWrapperProps extends iStyleAttributes {
|
|
|
10
12
|
className?: string;
|
|
11
13
|
fill?: tFillProps;
|
|
12
14
|
horizontalResizing?: horizontalResizeModePropsType;
|
|
13
|
-
id?: string;
|
|
14
15
|
position?: positionPropsType;
|
|
15
16
|
style?: CSSProperties;
|
|
16
17
|
tag?: ElementType;
|