@itcase/ui 1.2.35 → 1.3.1
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-MPtjfQS8.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 +13 -65
- package/dist/cjs/components/Avatar.js +13 -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 +13 -61
- package/dist/cjs/components/Chips.js +9 -55
- package/dist/cjs/components/Choice.js +19 -85
- package/dist/cjs/components/Code.js +8 -80
- package/dist/cjs/components/CookiesWarning.js +13 -22
- package/dist/cjs/components/DadataHintField.js +4 -4
- package/dist/cjs/components/DatePicker.js +19 -23
- package/dist/cjs/components/Divider.js +3 -2
- package/dist/cjs/components/Dot.js +5 -22
- package/dist/cjs/components/Drawer.js +3 -3
- package/dist/cjs/components/Dropdown.js +6 -6
- package/dist/cjs/components/Flex.js +8 -95
- package/dist/cjs/components/Grid.js +12 -125
- package/dist/cjs/components/Group.js +3 -2
- package/dist/cjs/components/HTMLContent.js +5 -74
- package/dist/cjs/components/Icon.js +6 -6
- package/dist/cjs/components/Image.js +3 -2
- package/dist/cjs/components/Input.js +3 -2
- package/dist/cjs/components/InputMask.js +27 -109
- package/dist/cjs/components/InputPassword.js +18 -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 +4 -3
- package/dist/cjs/components/Logo.js +8 -21
- package/dist/cjs/components/Menu.js +9 -23
- package/dist/cjs/components/MenuItem.js +5 -5
- package/dist/cjs/components/Modal.js +10 -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 +15 -36
- package/dist/cjs/components/Panel.js +10 -78
- package/dist/cjs/components/Radio.js +15 -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 +18 -81
- package/dist/cjs/components/Segmented.js +10 -53
- package/dist/cjs/components/Select.js +42 -160
- package/dist/cjs/components/SiteMenu.js +12 -15
- package/dist/cjs/components/Swiper.js +9 -22
- package/dist/cjs/components/Switch.js +4 -2
- package/dist/cjs/components/Tab.js +16 -112
- package/dist/cjs/components/Text.js +3 -2
- package/dist/cjs/components/Textarea.js +15 -76
- package/dist/cjs/components/Tile.js +10 -46
- package/dist/cjs/components/Title.js +3 -2
- package/dist/cjs/components/Tooltip.js +5 -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 +13 -65
- package/dist/components/Avatar.js +13 -28
- 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 +13 -61
- package/dist/components/Chips.js +9 -55
- package/dist/components/Choice.js +19 -85
- package/dist/components/Code.js +8 -80
- package/dist/components/CookiesWarning.js +13 -22
- package/dist/components/DadataHintField.js +4 -4
- package/dist/components/DatePicker.js +19 -23
- 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 +18 -83
- 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 +10 -43
- 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 +15 -36
- package/dist/components/Panel.js +10 -78
- package/dist/components/Radio.js +15 -61
- 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 +18 -81
- package/dist/components/Segmented.js +10 -53
- package/dist/components/Select.js +43 -161
- package/dist/components/SiteMenu.js +12 -15
- package/dist/components/Swiper.js +10 -23
- package/dist/components/Switch.js +4 -2
- package/dist/components/Tab.js +16 -112
- package/dist/components/Text.js +3 -2
- package/dist/components/Textarea.js +15 -76
- package/dist/components/Tile.js +10 -46
- 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/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/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/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/Code/Code.d.ts +2 -2
- package/dist/types/components/Code/Code.interface.d.ts +8 -5
- 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/Divider/Divider.d.ts +2 -2
- package/dist/types/components/Divider/Divider.interface.d.ts +8 -5
- 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/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/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/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/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/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/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/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/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/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/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/Segmented/Segmented.d.ts +3 -3
- package/dist/types/components/Segmented/Segmented.interface.d.ts +15 -9
- 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/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/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/Textarea/Textarea.d.ts +3 -3
- package/dist/types/components/Textarea/Textarea.interface.d.ts +13 -10
- 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/Title/Title.d.ts +3 -3
- package/dist/types/components/Title/Title.interface.d.ts +17 -14
- 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/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/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 +20 -19
- package/dist/Badge-BZf2D83-.js +0 -114
- package/dist/Button-BmE4TGuv.js +0 -154
- package/dist/Button-f0zWwezF.js +0 -150
- package/dist/Divider-Bdz66wfW.js +0 -71
- package/dist/Divider-CYvszcff.js +0 -75
- package/dist/DropdownItem-BjtWmVFs.js +0 -182
- package/dist/DropdownItem-DPBYY3cR.js +0 -187
- package/dist/Group-Bf2uSl3S.js +0 -140
- package/dist/Group-D95Sf0X0.js +0 -136
- package/dist/Icon-21rsw8YW.js +0 -119
- package/dist/Icon-gTZ0QO8I.js +0 -123
- package/dist/Image-8t6PvsaZ.js +0 -65
- package/dist/Image-DrUlRMHa.js +0 -67
- package/dist/Input--x3hPBiN.js +0 -188
- package/dist/Input-DG5yWwpp.js +0 -193
- package/dist/Label-Ddjf4F18.js +0 -139
- package/dist/Label-Rq2ptfUd.js +0 -135
- package/dist/Link-CqWzwh8V.js +0 -99
- package/dist/Loader-1ZnukBPK.js +0 -86
- package/dist/Loader-CuxFXcNG.js +0 -82
- package/dist/MenuItem-Buu-c29L.js +0 -101
- package/dist/MenuItem-Cqt0EcgC.js +0 -105
- package/dist/Overlay-CFXouKnl.js +0 -27
- package/dist/Overlay-DO5dnSRE.js +0 -25
- package/dist/Text-C-scXvy7.js +0 -85
- package/dist/Text-DGEJa_FL.js +0 -81
- package/dist/Title-BatSai-G.js +0 -115
- package/dist/Title-Bp-4wxkT.js +0 -111
- package/dist/Tooltip-BsMYxi_I.js +0 -150
- package/dist/Tooltip-CUL79Nsx.js +0 -154
- 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/hooks/useDeviceTargetClass.d.ts +0 -1
|
@@ -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,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 };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
3
|
+
import { borderTypePropsType, flexAlignPropsType, flexJustifyContentPropsType, flexWrapPropsType, horizontalResizeModePropsType, positionPropsType, tAlignDirectionProps, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tShapeProps, tWidthProps } from '../../types';
|
|
4
|
+
export interface iFlexProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
children?: ReactNode;
|
|
6
7
|
className?: string;
|
|
7
8
|
id?: number | string;
|
|
@@ -58,7 +59,8 @@ export interface IFlexProps extends iStyleAttributes {
|
|
|
58
59
|
wrapMobile?: flexWrapPropsType;
|
|
59
60
|
wrapTablet?: flexWrapPropsType;
|
|
60
61
|
}
|
|
61
|
-
export interface
|
|
62
|
+
export interface iFlexItemProps extends iStyleAttributes {
|
|
63
|
+
[key: number | string | symbol]: any;
|
|
62
64
|
children?: ReactNode;
|
|
63
65
|
className?: string;
|
|
64
66
|
htmlFor?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function FlexItem(props:
|
|
1
|
+
import type { iFlexItemProps } from './Flex.interface';
|
|
2
|
+
declare function FlexItem(props: iFlexItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { FlexItem };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Grid(props:
|
|
1
|
+
import type { iGridProps } from './Grid.interface';
|
|
2
|
+
declare function Grid(props: iGridProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Grid };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { gridAlignPropsType, gridAlignSelfPropsType, gridJustifyItemsPropsType, gridJustifySelfPropsType, horizontalResizeModePropsType, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tShapeProps, verticalResizeModePropsType } from '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iGridBaseThemeColor extends iStyleAttributes {
|
|
5
5
|
alignSelf?: gridAlignSelfPropsType;
|
|
6
6
|
alignSelfDesktop?: gridAlignSelfPropsType;
|
|
7
7
|
alignSelfMobile?: gridAlignSelfPropsType;
|
|
@@ -53,7 +53,8 @@ export interface IGridBaseThemeColor extends iStyleAttributes {
|
|
|
53
53
|
zIndexMobile?: string;
|
|
54
54
|
zIndexTablet?: string;
|
|
55
55
|
}
|
|
56
|
-
export interface
|
|
56
|
+
export interface iGridItemProps extends iGridBaseThemeColor {
|
|
57
|
+
[key: number | string | symbol]: any;
|
|
57
58
|
id?: string;
|
|
58
59
|
children?: ReactNode;
|
|
59
60
|
className?: string;
|
|
@@ -61,7 +62,8 @@ export interface IGridItemProps extends IGridBaseThemeColor {
|
|
|
61
62
|
style?: CSSProperties;
|
|
62
63
|
onClick?: () => void;
|
|
63
64
|
}
|
|
64
|
-
export interface
|
|
65
|
+
export interface iGridRowProps extends iGridBaseThemeColor {
|
|
66
|
+
[key: number | string | symbol]: any;
|
|
65
67
|
id?: string;
|
|
66
68
|
children?: ReactNode;
|
|
67
69
|
className?: string;
|
|
@@ -71,7 +73,8 @@ export interface IGridRowProps extends IGridBaseThemeColor {
|
|
|
71
73
|
tag: ElementType;
|
|
72
74
|
onClick?: () => void;
|
|
73
75
|
}
|
|
74
|
-
export interface
|
|
76
|
+
export interface iGridProps extends iStyleAttributes {
|
|
77
|
+
[key: number | string | symbol]: any;
|
|
75
78
|
id?: string;
|
|
76
79
|
after?: ReactNode;
|
|
77
80
|
alignContent?: gridAlignPropsType;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function GridItem(props:
|
|
1
|
+
import type { iGridItemProps } from './Grid.interface';
|
|
2
|
+
declare function GridItem(props: iGridItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { GridItem };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function GridRow(props:
|
|
1
|
+
import type { iGridRowProps } from './Grid.interface';
|
|
2
|
+
declare function GridRow(props: iGridRowProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { GridRow };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const groupConfig:
|
|
4
|
-
declare const Group: React.ForwardRefExoticComponent<
|
|
2
|
+
import type { iGroupConfig, iGroupProps } from './Group.interface';
|
|
3
|
+
declare const groupConfig: iGroupConfig;
|
|
4
|
+
declare const Group: React.ForwardRefExoticComponent<Omit<iGroupProps, "ref"> & React.RefAttributes<unknown>>;
|
|
5
5
|
export { Group, groupConfig };
|
|
@@ -3,6 +3,7 @@ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
|
3
3
|
import { borderTypePropsType, elevationPropsType, flexGrowPropsType, stackingPropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tHeightProps, tItemColorProps, tJustifyContentProps, tShapeProps, tTextColorProps, tWidthProps, wrapPropsType } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface ThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
border?: string;
|
|
7
8
|
borderColor?: string;
|
|
8
9
|
borderWidth?: string;
|
|
@@ -11,19 +12,21 @@ interface ThemeColor {
|
|
|
11
12
|
fillHover?: string;
|
|
12
13
|
labelTextColor?: tTextColorProps;
|
|
13
14
|
}
|
|
14
|
-
type
|
|
15
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
15
16
|
export type tAppearance = {
|
|
16
|
-
[key in
|
|
17
|
+
[key in tAppearanceKeys]: ThemeColor;
|
|
17
18
|
};
|
|
18
|
-
export interface
|
|
19
|
+
export interface iGroupConfig {
|
|
20
|
+
[key: number | string | symbol]: any;
|
|
19
21
|
appearance: tAppearance | undefined;
|
|
20
22
|
setAppearance: (newComponent: tAppearance) => void;
|
|
21
23
|
}
|
|
22
|
-
export interface
|
|
24
|
+
export interface iGroupProps extends iStyleAttributes {
|
|
23
25
|
id?: number | string;
|
|
26
|
+
[key: number | string | symbol]: any;
|
|
24
27
|
align?: tAlignProps;
|
|
25
28
|
alignDirection?: tAlignDirectionProps;
|
|
26
|
-
appearance?:
|
|
29
|
+
appearance?: tAppearanceKeys;
|
|
27
30
|
borderColor?: tBorderColorProps;
|
|
28
31
|
borderType?: borderTypePropsType;
|
|
29
32
|
children?: ReactNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function HTMLContent(props:
|
|
1
|
+
import type { iHTMLContentProps } from './HTMLContent.interface';
|
|
2
|
+
declare function HTMLContent(props: iHTMLContentProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { HTMLContent };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
3
|
+
import { borderTypePropsType, elevationPropsType, flexGrowPropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tHeightProps, tJustifyContentProps, tShapeProps, tTextColorProps, tTextWeightProps, tWidthProps, wrapPropsType } from '../../types';
|
|
4
|
+
export interface iHTMLContentProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
align?: tAlignProps;
|
|
6
7
|
alignDirection?: tAlignDirectionProps;
|
|
7
8
|
border?: tBorderColorProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { iIconConfig, iIconProps } from '../Icon/Icon.interface';
|
|
3
3
|
declare const iconConfig: iIconConfig;
|
|
4
|
-
declare const Icon: React.ForwardRefExoticComponent<iIconProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const Icon: React.ForwardRefExoticComponent<Omit<iIconProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Icon, iconConfig };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Image(props:
|
|
1
|
+
import type { iImageProps } from './Image.interface';
|
|
2
|
+
declare function Image(props: iImageProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Image };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { tBorderColorProps, tFillHoverProps, tFillProps,
|
|
4
|
-
export interface
|
|
3
|
+
import { horizontalContentAlignPropsType, tBorderColorProps, tFillHoverProps, tFillProps, tShapeProps, tWidthProps, verticalContentAlignPropsType } from '../../types';
|
|
4
|
+
export interface iImageProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
after?: ReactNode;
|
|
6
7
|
alt?: string;
|
|
7
8
|
before?: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { iInputConfig, iInputProps } from './Input.interface';
|
|
3
3
|
declare const inputConfig: iInputConfig;
|
|
4
|
-
declare const Input: React.ForwardRefExoticComponent<iInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<iInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
export { Input, inputConfig };
|
|
@@ -3,6 +3,7 @@ import type { tBorderColorProps, tBorderWidthProps, tFillProps, tItemColorProps,
|
|
|
3
3
|
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
4
4
|
import type { tStateKeysDefault } from '../../types/componentProps/stateKeys';
|
|
5
5
|
interface iInputThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderColorDisabled?: tBorderColorProps;
|
|
8
9
|
borderWidth?: tBorderWidthProps;
|
|
@@ -26,17 +27,19 @@ type tInputAppearance = {
|
|
|
26
27
|
[key in tAppearanceKeysDefault]?: iInputThemeColor;
|
|
27
28
|
};
|
|
28
29
|
interface iInputConfig {
|
|
30
|
+
[key: number | string | symbol]: any;
|
|
29
31
|
appearance: tInputAppearance | undefined;
|
|
30
32
|
state: tInputState | undefined;
|
|
31
33
|
setAppearance: (newComponent: tInputAppearance) => void;
|
|
32
34
|
setState: (newComponent: tInputState) => void;
|
|
33
35
|
}
|
|
34
36
|
interface iInputProps extends iInputThemeColor, iStyleAttributes {
|
|
35
|
-
dataTestId?: number | string;
|
|
36
37
|
id?: number | string;
|
|
38
|
+
[key: number | string | symbol]: any;
|
|
37
39
|
appearance?: tAppearanceKeysDefault;
|
|
38
40
|
autocomplete?: string;
|
|
39
41
|
className?: string;
|
|
42
|
+
dataTestId?: number | string;
|
|
40
43
|
index?: number | string;
|
|
41
44
|
name?: string;
|
|
42
45
|
placeholder?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { iInputConfig, iInputProps } from './Input.interface';
|
|
2
|
+
import type { iInputConfig, iInputProps } from './Input.interface';
|
|
3
3
|
declare const inputMaskConfig: iInputConfig;
|
|
4
|
-
declare const Input: React.ForwardRefExoticComponent<iInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<iInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Input, inputMaskConfig };
|
|
@@ -3,6 +3,7 @@ import { tBorderColorProps, tBorderWidthProps, tFillProps, tItemColorProps, tSha
|
|
|
3
3
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
4
4
|
import { tStateKeysDefault } from '../../types/componentProps/stateKeys';
|
|
5
5
|
export interface iInputThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderColorDisabled?: tBorderColorProps;
|
|
8
9
|
borderWidth?: tBorderWidthProps;
|
|
@@ -19,32 +20,34 @@ export interface iInputThemeColor {
|
|
|
19
20
|
textWeight?: tTextWeightProps;
|
|
20
21
|
width?: tWidthProps;
|
|
21
22
|
}
|
|
22
|
-
type
|
|
23
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
23
24
|
type stateKeysType = tStateKeysDefault & {};
|
|
24
25
|
export type tInputState = {
|
|
25
26
|
[key in stateKeysType]?: iInputThemeColor;
|
|
26
27
|
};
|
|
27
28
|
export type tInputAppearance = {
|
|
28
|
-
[key in
|
|
29
|
+
[key in tAppearanceKeys]?: iInputThemeColor;
|
|
29
30
|
};
|
|
30
31
|
export interface iInputConfig {
|
|
31
|
-
|
|
32
|
-
setState: (newComponent: tInputState) => void;
|
|
32
|
+
[key: number | string | symbol]: any;
|
|
33
33
|
appearance: tInputAppearance | undefined;
|
|
34
|
+
state: tInputState | undefined;
|
|
34
35
|
setAppearance: (newComponent: tInputAppearance) => void;
|
|
36
|
+
setState: (newComponent: tInputState) => void;
|
|
35
37
|
}
|
|
36
38
|
export interface iInputProps extends iInputThemeColor, iStyleAttributes {
|
|
37
|
-
|
|
39
|
+
id?: number | string;
|
|
40
|
+
[key: number | string | symbol]: any;
|
|
41
|
+
appearance?: tAppearanceKeys;
|
|
38
42
|
className?: string;
|
|
39
43
|
dataTestId?: number | string;
|
|
40
|
-
id?: number | string;
|
|
41
44
|
index?: number | string;
|
|
42
|
-
isDisabled?: boolean;
|
|
43
45
|
name?: string;
|
|
44
46
|
placeholder?: string;
|
|
45
47
|
state?: stateKeysType;
|
|
46
48
|
type?: string;
|
|
47
49
|
value?: string;
|
|
50
|
+
isDisabled?: boolean;
|
|
48
51
|
onBlur?: () => void;
|
|
49
52
|
onChange?: () => void;
|
|
50
53
|
onFocus?: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const inputPasswordConfig:
|
|
3
|
-
declare function InputPassword(props:
|
|
1
|
+
import type { iInputPasswordConfig, iInputPasswordProps } from './InputPassword.interface';
|
|
2
|
+
declare const inputPasswordConfig: iInputPasswordConfig;
|
|
3
|
+
declare function InputPassword(props: iInputPasswordProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace InputPassword {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
size: string;
|
|
@@ -3,6 +3,7 @@ import { iconSizePropsType, tBorderColorProps, tBorderWidthProps, tFillProps, tI
|
|
|
3
3
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
4
4
|
import { tStateKeysDefault } from '../../types/componentProps/stateKeys';
|
|
5
5
|
export interface iInputThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderWidth?: tBorderWidthProps;
|
|
8
9
|
caret?: tItemColorProps;
|
|
@@ -15,23 +16,25 @@ export interface iInputThemeColor {
|
|
|
15
16
|
textWeight?: tTextWeightProps;
|
|
16
17
|
width?: tWidthProps;
|
|
17
18
|
}
|
|
18
|
-
type
|
|
19
|
-
type stateKeysType =
|
|
19
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
20
|
+
type stateKeysType = tStateKeysDefault & {};
|
|
20
21
|
export type tInputState = {
|
|
21
22
|
[key in stateKeysType]?: iInputThemeColor;
|
|
22
23
|
};
|
|
23
24
|
export type tInputAppearance = {
|
|
24
|
-
[key in
|
|
25
|
+
[key in tAppearanceKeys]?: iInputThemeColor;
|
|
25
26
|
};
|
|
26
|
-
export interface
|
|
27
|
+
export interface iInputPasswordConfig {
|
|
28
|
+
[key: number | string | symbol]: any;
|
|
27
29
|
appearance: tInputAppearance | undefined;
|
|
28
30
|
state: tInputState | undefined;
|
|
29
31
|
setAppearance: (newComponent: tInputAppearance) => void;
|
|
30
32
|
setState: (newComponent: tInputState) => void;
|
|
31
33
|
}
|
|
32
|
-
export interface
|
|
34
|
+
export interface iInputPasswordProps extends iInputThemeColor, iStyleAttributes {
|
|
33
35
|
id?: number | string;
|
|
34
|
-
|
|
36
|
+
[key: number | string | symbol]: any;
|
|
37
|
+
appearance?: tAppearanceKeys;
|
|
35
38
|
className?: string;
|
|
36
39
|
disabled?: boolean;
|
|
37
40
|
iconFill?: tItemColorProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const labelConfig:
|
|
3
|
-
declare function Label(props:
|
|
1
|
+
import type { iLabelConfig, iLabelProps } from './Label.interface';
|
|
2
|
+
declare const labelConfig: iLabelConfig;
|
|
3
|
+
declare function Label(props: iLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Label, labelConfig };
|
|
@@ -2,7 +2,8 @@ import { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { alignmentPropsType, borderTypePropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tFillHoverProps, tFillProps, titleSizePropsType, tShapeProps, tSizeProps, tTextAlignProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps, tWidthProps, wrapPropsType } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iLabelThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
align?: tAlignProps;
|
|
7
8
|
alignDirection?: tAlignDirectionProps;
|
|
8
9
|
borderColor?: tBorderColorProps;
|
|
@@ -22,17 +23,19 @@ export interface ILabelThemeColor {
|
|
|
22
23
|
width?: tWidthProps;
|
|
23
24
|
wrap?: wrapPropsType;
|
|
24
25
|
}
|
|
25
|
-
type
|
|
26
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
26
27
|
export type labelAppearanceType = {
|
|
27
|
-
[key in
|
|
28
|
+
[key in tAppearanceKeys]?: iLabelThemeColor;
|
|
28
29
|
};
|
|
29
|
-
export interface
|
|
30
|
+
export interface iLabelConfig {
|
|
31
|
+
[key: number | string | symbol]: any;
|
|
30
32
|
appearance: string | labelAppearanceType | undefined;
|
|
31
33
|
setAppearance: (newComponent: labelAppearanceType) => void;
|
|
32
34
|
}
|
|
33
|
-
export interface
|
|
35
|
+
export interface iLabelProps extends iLabelThemeColor, iStyleAttributes {
|
|
36
|
+
[key: number | string | symbol]: any;
|
|
34
37
|
after?: ReactNode;
|
|
35
|
-
appearance?:
|
|
38
|
+
appearance?: tAppearanceKeys;
|
|
36
39
|
before?: ReactNode;
|
|
37
40
|
children?: ReactNode;
|
|
38
41
|
className?: string;
|
|
@@ -45,7 +48,7 @@ export interface ILabelProps extends ILabelThemeColor, iStyleAttributes {
|
|
|
45
48
|
style?: CSSProperties;
|
|
46
49
|
textAlign?: tTextAlignProps;
|
|
47
50
|
tooltipAlignment?: alignmentPropsType;
|
|
48
|
-
tooltipAppearance?:
|
|
51
|
+
tooltipAppearance?: tAppearanceKeys;
|
|
49
52
|
tooltipArrowPosition?: string;
|
|
50
53
|
tooltipContent?: ReactNode;
|
|
51
54
|
tooltipRef?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const linkConfig:
|
|
4
|
-
declare function Link(props:
|
|
5
|
-
declare function LinkWrapper(props:
|
|
2
|
+
import type { iLinkConfig, iLinkProps, iLinkWrapperProps } from './Link.interface';
|
|
3
|
+
declare const linkConfig: iLinkConfig;
|
|
4
|
+
declare function Link(props: iLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function LinkWrapper(props: iLinkWrapperProps): import("react/jsx-runtime").JSX.Element | (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>)[];
|
|
6
6
|
export { Link, linkConfig, LinkWrapper };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { tDirectionProps, tFillProps, tSizeProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextStyleProps, tTextWeightProps, tUnderlineProps } from '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iLinkThemeColor {
|
|
5
5
|
direction?: tDirectionProps;
|
|
6
6
|
fill?: tFillProps;
|
|
7
7
|
fillDesktop?: tFillProps;
|
|
@@ -23,11 +23,12 @@ export interface ILinkThemeColor {
|
|
|
23
23
|
textWeightMobile?: tTextWeightProps;
|
|
24
24
|
textWeightTablet?: tTextWeightProps;
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
26
|
+
export interface iLinkConfig {
|
|
27
27
|
LinkComponent: ElementType | undefined;
|
|
28
28
|
setLinkComponent: (LinkComponent: ElementType) => void;
|
|
29
29
|
}
|
|
30
|
-
export interface
|
|
30
|
+
export interface iLinkProps extends iLinkThemeColor, iStyleAttributes {
|
|
31
|
+
[key: number | string | symbol]: any;
|
|
31
32
|
after?: ReactNode;
|
|
32
33
|
before?: ReactNode;
|
|
33
34
|
children?: ReactNode;
|
|
@@ -45,17 +46,17 @@ export interface ILinkProps extends ILinkThemeColor, iStyleAttributes {
|
|
|
45
46
|
onClick?: () => void;
|
|
46
47
|
onMouseDown?: () => void;
|
|
47
48
|
}
|
|
48
|
-
export interface
|
|
49
|
+
export interface iLinkWrapperProps extends iLinkThemeColor, iStyleAttributes {
|
|
49
50
|
children?: ReactNode;
|
|
50
51
|
className?: string;
|
|
51
52
|
Component?: ElementType;
|
|
52
53
|
DefaultComponent?: ElementType;
|
|
53
54
|
disabled?: boolean;
|
|
54
55
|
href?: string;
|
|
55
|
-
onClick?: () => void;
|
|
56
|
-
onMouseDown?: () => void;
|
|
57
56
|
rel?: string;
|
|
58
57
|
style?: CSSProperties;
|
|
59
58
|
target?: string;
|
|
60
59
|
type?: ElementType;
|
|
60
|
+
onClick?: () => void;
|
|
61
|
+
onMouseDown?: () => void;
|
|
61
62
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function List(props:
|
|
1
|
+
import type { iListProps } from './List.interface';
|
|
2
|
+
declare function List(props: iListProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { List };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { tDirectionProps, tFillProps, tSizeProps, tTextColorProps, tTextStyleProps, tTextWeightProps
|
|
4
|
-
export interface
|
|
3
|
+
import { tDirectionProps, tFillProps, titleSizePropsType, tSizeProps, tTextColorProps, tTextStyleProps, tTextWeightProps } from '../../types';
|
|
4
|
+
export interface iListProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
bulletFill?: tFillProps;
|
|
6
7
|
bulletSize?: titleSizePropsType;
|
|
7
8
|
bulletTextColor?: tTextColorProps;
|
|
@@ -12,7 +13,8 @@ export interface IListProps extends iStyleAttributes {
|
|
|
12
13
|
style?: CSSProperties;
|
|
13
14
|
type?: string;
|
|
14
15
|
}
|
|
15
|
-
export interface
|
|
16
|
+
export interface iListItemProps extends iStyleAttributes {
|
|
17
|
+
[key: number | string | symbol]: any;
|
|
16
18
|
after?: ReactNode;
|
|
17
19
|
before?: ReactNode;
|
|
18
20
|
children?: ReactNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function ListItem(props:
|
|
1
|
+
import type { iListItemProps } from './List.interface';
|
|
2
|
+
declare function ListItem(props: iListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { ListItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const loaderConfig:
|
|
3
|
-
declare function Loader(props:
|
|
1
|
+
import type { iLoaderConfig, iLoaderProps } from './Loader.interface';
|
|
2
|
+
declare const loaderConfig: iLoaderConfig;
|
|
3
|
+
declare function Loader(props: iLoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Loader, loaderConfig };
|