@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 { ElementType, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { iconFillSizePropsType, iconSizePropsType, sizePXPropsType, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iAvatarThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
fill?: tFillProps;
|
|
7
8
|
fillHover?: tFillHoverProps;
|
|
8
9
|
icon?: ElementType;
|
|
@@ -18,17 +19,19 @@ export interface IAvatarThemeColor {
|
|
|
18
19
|
textSize?: tTextSizeProps;
|
|
19
20
|
textWeight?: tTextWeightProps;
|
|
20
21
|
}
|
|
21
|
-
type
|
|
22
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
22
23
|
export type avatarAppearanceType = {
|
|
23
|
-
[key in
|
|
24
|
+
[key in tAppearanceKeys]?: iAvatarThemeColor;
|
|
24
25
|
};
|
|
25
26
|
export interface iAvatarConfig {
|
|
27
|
+
[key: number | string | symbol]: any;
|
|
26
28
|
appearance: avatarAppearanceType | undefined;
|
|
27
29
|
setAppearance: (newComponent: avatarAppearanceType) => void;
|
|
28
30
|
}
|
|
29
|
-
export interface
|
|
31
|
+
export interface iAvatarProps extends iAvatarThemeColor, iStyleAttributes {
|
|
32
|
+
[key: number | string | symbol]: any;
|
|
30
33
|
after?: ReactNode;
|
|
31
|
-
appearance?:
|
|
34
|
+
appearance?: tAppearanceKeys;
|
|
32
35
|
before?: ReactNode;
|
|
33
36
|
className?: string;
|
|
34
37
|
Dot?: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const badgeConfig:
|
|
3
|
-
declare function Badge(props:
|
|
1
|
+
import type { iBadgeConfig, iBadgeProps } from './Badge.interface';
|
|
2
|
+
declare const badgeConfig: iBadgeConfig;
|
|
3
|
+
declare function Badge(props: iBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Badge {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
shape: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderColorHoverPropsType,
|
|
3
|
+
import { borderColorHoverPropsType, borderTypePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iBadgeThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderColorHover?: borderColorHoverPropsType;
|
|
8
9
|
borderType?: borderTypePropsType;
|
|
@@ -14,16 +15,18 @@ export interface IBadgeThemeColor {
|
|
|
14
15
|
textColor?: tTextColorProps;
|
|
15
16
|
textSize?: tTextSizeProps;
|
|
16
17
|
}
|
|
17
|
-
type
|
|
18
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
18
19
|
export type badgeAppearanceType = {
|
|
19
|
-
[key in
|
|
20
|
+
[key in tAppearanceKeys]?: iBadgeThemeColor;
|
|
20
21
|
};
|
|
21
|
-
export interface
|
|
22
|
+
export interface iBadgeConfig {
|
|
23
|
+
[key: number | string | symbol]: any;
|
|
22
24
|
appearance: badgeAppearanceType | undefined;
|
|
23
25
|
setAppearance: (newComponent: badgeAppearanceType) => void;
|
|
24
26
|
}
|
|
25
|
-
export interface
|
|
26
|
-
|
|
27
|
+
export interface iBadgeProps extends iBadgeThemeColor, iStyleAttributes {
|
|
28
|
+
[key: number | string | symbol]: any;
|
|
29
|
+
appearance?: tAppearanceKeys;
|
|
27
30
|
children?: ReactNode;
|
|
28
31
|
className?: string;
|
|
29
32
|
mode?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Breadcrumbs(props:
|
|
1
|
+
import type { iBreadcrumbsProps } from './Breadcrumbs.interface';
|
|
2
|
+
declare function Breadcrumbs(props: iBreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace Breadcrumbs {
|
|
4
4
|
var defaultProps: {
|
|
5
5
|
direction: string;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
3
|
+
import { iconSizePropsType, positionPropsType, tDirectionProps, tFillProps, tShapeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, tUnderlineProps, tWidthProps } from '../../types';
|
|
4
|
+
export interface iBreadcrumbsItemProps extends iStyleAttributes {
|
|
5
|
+
id?: string;
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
5
7
|
children?: ReactNode;
|
|
6
8
|
className?: string;
|
|
7
9
|
cursor?: string;
|
|
@@ -11,16 +13,14 @@ export interface IBreadcrumbsItemProps extends iStyleAttributes {
|
|
|
11
13
|
fillTablet?: tFillProps;
|
|
12
14
|
href?: string;
|
|
13
15
|
iconAfter?: ElementType;
|
|
14
|
-
itemIconAfter?: ElementType;
|
|
15
16
|
iconAfterBgFill?: tFillProps;
|
|
16
17
|
iconAfterFill?: tFillProps;
|
|
17
18
|
iconAfterSize?: iconSizePropsType;
|
|
18
|
-
|
|
19
|
+
itemIconAfter?: ElementType;
|
|
19
20
|
position?: positionPropsType;
|
|
20
21
|
positionDesktop?: positionPropsType;
|
|
21
22
|
positionMobile?: positionPropsType;
|
|
22
23
|
positionTablet?: positionPropsType;
|
|
23
|
-
set?: string;
|
|
24
24
|
shape?: tShapeProps;
|
|
25
25
|
shapeDesktop?: tShapeProps;
|
|
26
26
|
shapeMobile?: tShapeProps;
|
|
@@ -30,13 +30,15 @@ export interface IBreadcrumbsItemProps extends iStyleAttributes {
|
|
|
30
30
|
textColor?: tTextColorProps;
|
|
31
31
|
textColorHover?: tTextColorHoverProps;
|
|
32
32
|
textSize?: tTextSizeProps;
|
|
33
|
-
onClick?: () => void;
|
|
34
33
|
underline?: tUnderlineProps;
|
|
34
|
+
onClick?: () => void;
|
|
35
|
+
set?: string;
|
|
35
36
|
}
|
|
36
|
-
export interface
|
|
37
|
+
export interface iBreadcrumbsProps extends iStyleAttributes {
|
|
38
|
+
[key: number | string | symbol]: any;
|
|
37
39
|
breadcrumbsList?: {
|
|
38
|
-
href?: string;
|
|
39
40
|
id?: string;
|
|
41
|
+
href?: string;
|
|
40
42
|
text?: string;
|
|
41
43
|
}[];
|
|
42
44
|
children?: ReactNode;
|
|
@@ -59,7 +61,6 @@ export interface IBreadcrumbsProps extends iStyleAttributes {
|
|
|
59
61
|
positionDesktop?: positionPropsType;
|
|
60
62
|
positionMobile?: positionPropsType;
|
|
61
63
|
positionTablet?: positionPropsType;
|
|
62
|
-
set?: string;
|
|
63
64
|
shape?: tShapeProps;
|
|
64
65
|
shapeDesktop?: tShapeProps;
|
|
65
66
|
shapeMobile?: tShapeProps;
|
|
@@ -68,4 +69,5 @@ export interface IBreadcrumbsProps extends iStyleAttributes {
|
|
|
68
69
|
widthDesktop?: tWidthProps;
|
|
69
70
|
widthMobile?: tWidthProps;
|
|
70
71
|
widthTablet?: tWidthProps;
|
|
72
|
+
set?: string;
|
|
71
73
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function BreadcrumbsItem(props:
|
|
1
|
+
import type { iBreadcrumbsItemProps } from './Breadcrumbs.interface';
|
|
2
|
+
declare function BreadcrumbsItem(props: iBreadcrumbsItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { BreadcrumbsItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const buttonAppearance:
|
|
1
|
+
import { tButtonAppearance } from './Button.interface';
|
|
2
|
+
export declare const buttonAppearance: tButtonAppearance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const buttonConfig:
|
|
4
|
-
declare const Button: React.ForwardRefExoticComponent<
|
|
2
|
+
import type { iButtonConfig, iButtonProps } from './Button.interface';
|
|
3
|
+
declare const buttonConfig: iButtonConfig;
|
|
4
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<iButtonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Button, buttonConfig };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderTypePropsType, elevationPropsType, iconFillSizePropsType, iconSizePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps, tWidthProps } from '../../types';
|
|
4
|
-
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
|
|
1
|
+
import type { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
+
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import type { borderTypePropsType, elevationPropsType, iconFillSizePropsType, iconSizePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps, tWidthProps } from '../../types';
|
|
4
|
+
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
+
interface iButtonThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderType?: borderTypePropsType;
|
|
8
9
|
borderWidth?: tBorderWidthProps;
|
|
@@ -40,22 +41,24 @@ export interface IButtonThemeColor {
|
|
|
40
41
|
size?: tSizeProps;
|
|
41
42
|
width?: tWidthProps;
|
|
42
43
|
}
|
|
43
|
-
type
|
|
44
|
-
|
|
45
|
-
[key in
|
|
44
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
45
|
+
type tButtonAppearance = {
|
|
46
|
+
[key in tAppearanceKeys]?: iButtonThemeColor;
|
|
46
47
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
interface iButtonConfig {
|
|
49
|
+
[key: number | string | symbol]: any;
|
|
50
|
+
appearance: tButtonAppearance | undefined;
|
|
51
|
+
setAppearance: (newComponent: tButtonAppearance) => void;
|
|
50
52
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
interface iButtonProps extends iButtonThemeColor, iStyleAttributes {
|
|
54
|
+
[key: number | string | symbol]: any;
|
|
53
55
|
after?: ReactNode;
|
|
54
|
-
appearance?:
|
|
56
|
+
appearance?: tAppearanceKeys;
|
|
55
57
|
Badge?: ReactNode;
|
|
56
58
|
before?: ReactNode;
|
|
57
59
|
children?: ReactNode;
|
|
58
60
|
className?: string;
|
|
61
|
+
dataTestId?: string;
|
|
59
62
|
dataTour?: string;
|
|
60
63
|
href?: string;
|
|
61
64
|
htmlType?: ElementType;
|
|
@@ -74,4 +77,4 @@ export interface IButtonProps extends IButtonThemeColor, iStyleAttributes {
|
|
|
74
77
|
onMouseDown?: () => void;
|
|
75
78
|
set?: string;
|
|
76
79
|
}
|
|
77
|
-
export {};
|
|
80
|
+
export type { iButtonThemeColor, tButtonAppearance, iButtonConfig, iButtonProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Caption(props:
|
|
1
|
+
import type { iCaptionProps } from './Caption.interface';
|
|
2
|
+
declare function Caption(props: iCaptionProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Caption };
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { captionPositionPropsType, tFillGradientProps, tFillProps } from '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iCaptionThemeColor {
|
|
5
5
|
fill: tFillProps;
|
|
6
|
-
fillMobile: tFillProps;
|
|
7
|
-
fillTablet: tFillProps;
|
|
8
6
|
fillDesktop: tFillProps;
|
|
9
7
|
fillGradient: tFillGradientProps;
|
|
8
|
+
fillGradientDesktop: tFillGradientProps;
|
|
10
9
|
fillGradientMobile: tFillGradientProps;
|
|
11
10
|
fillGradientTablet: tFillGradientProps;
|
|
12
|
-
|
|
11
|
+
fillMobile: tFillProps;
|
|
12
|
+
fillTablet: tFillProps;
|
|
13
13
|
position: captionPositionPropsType;
|
|
14
|
+
positionDesktop: captionPositionPropsType;
|
|
14
15
|
positionMobile: captionPositionPropsType;
|
|
15
16
|
positionTablet: captionPositionPropsType;
|
|
16
|
-
positionDesktop: captionPositionPropsType;
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
18
|
+
export interface iCaptionProps extends iCaptionThemeColor, Omit<iStyleAttributes, 'position'> {
|
|
19
|
+
[key: number | string | symbol]: any;
|
|
19
20
|
children?: ReactNode;
|
|
20
21
|
className?: string;
|
|
21
22
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Card(props:
|
|
1
|
+
import type { iCardProps } from './Card.interface';
|
|
2
|
+
declare function Card(props: iCardProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Card };
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iCardProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
children?: ReactNode;
|
|
6
7
|
className?: string;
|
|
8
|
+
image?: ReactNode;
|
|
9
|
+
imageShape?: tShapeProps;
|
|
10
|
+
shape?: tShapeProps;
|
|
11
|
+
shapeDesktop?: tShapeProps;
|
|
12
|
+
shapeMobile?: tShapeProps;
|
|
13
|
+
shapeTablet?: tShapeProps;
|
|
7
14
|
size?: tSizeProps;
|
|
8
15
|
src?: string;
|
|
9
16
|
text?: string;
|
|
10
|
-
textSize?: tTextSizeProps;
|
|
11
17
|
textColor?: tTextColorProps;
|
|
18
|
+
textSize?: tTextSizeProps;
|
|
12
19
|
textTag?: ElementType;
|
|
13
20
|
title?: string;
|
|
21
|
+
titleColor?: tTextColorProps;
|
|
14
22
|
titleSize?: tTextSizeProps;
|
|
15
23
|
titleTag?: ElementType;
|
|
16
|
-
titleColor?: tTextColorProps;
|
|
17
|
-
image?: ReactNode;
|
|
18
|
-
imageShape?: tShapeProps;
|
|
19
24
|
type?: string;
|
|
20
|
-
shape?: tShapeProps;
|
|
21
|
-
shapeMobile?: tShapeProps;
|
|
22
|
-
shapeTablet?: tShapeProps;
|
|
23
|
-
shapeDesktop?: tShapeProps;
|
|
24
25
|
width?: string;
|
|
26
|
+
widthDesktop?: string;
|
|
25
27
|
widthMobile?: string;
|
|
26
28
|
widthTablet?: string;
|
|
27
|
-
widthDesktop?: string;
|
|
28
29
|
onClick?: () => void;
|
|
29
30
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Cell(props:
|
|
1
|
+
import type { iCellProps } from './Cell.interface';
|
|
2
|
+
declare function Cell(props: iCellProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Cell };
|
|
@@ -2,8 +2,9 @@ import { ElementType, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { iconFillSizePropsType, tDirectionProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
type
|
|
6
|
-
export interface
|
|
5
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
6
|
+
export interface iCellProps extends iStyleAttributes {
|
|
7
|
+
[key: number | string | symbol]: any;
|
|
7
8
|
after?: ReactNode;
|
|
8
9
|
before?: ReactNode;
|
|
9
10
|
className?: string;
|
|
@@ -22,7 +23,7 @@ export interface ICellProps extends iStyleAttributes {
|
|
|
22
23
|
titleIconShape?: tShapeProps;
|
|
23
24
|
titleIconSrc?: string;
|
|
24
25
|
titleLabel?: string;
|
|
25
|
-
titleLabelAppearance?:
|
|
26
|
+
titleLabelAppearance?: tAppearanceKeys;
|
|
26
27
|
titleLabelShape?: tShapeProps;
|
|
27
28
|
titleLabelSize?: tSizeProps;
|
|
28
29
|
titleLabelTextSize?: tTextSizeProps;
|
|
@@ -41,7 +42,7 @@ export interface ICellProps extends iStyleAttributes {
|
|
|
41
42
|
valueIconShape?: tShapeProps;
|
|
42
43
|
valueIconSrc?: string;
|
|
43
44
|
valueLabel?: string;
|
|
44
|
-
valueLabelAppearance?:
|
|
45
|
+
valueLabelAppearance?: tAppearanceKeys;
|
|
45
46
|
valueLabelShape?: tShapeProps;
|
|
46
47
|
valueLabelSize?: tSizeProps;
|
|
47
48
|
valueLabelTextSize?: tTextSizeProps;
|
|
@@ -9,6 +9,7 @@ type tCheckboxAppearance = {
|
|
|
9
9
|
[key in tAppearanceKeysDefault]?: iCheckboxThemeColor;
|
|
10
10
|
};
|
|
11
11
|
interface iCheckboxThemeColor {
|
|
12
|
+
[key: number | string | symbol]: any;
|
|
12
13
|
descTextColor?: tTextColorProps;
|
|
13
14
|
descTextSize?: tTextSizeProps;
|
|
14
15
|
descTextWeight?: tTextWeightProps;
|
|
@@ -32,6 +33,7 @@ interface iCheckboxThemeColor {
|
|
|
32
33
|
width?: tWidthProps;
|
|
33
34
|
}
|
|
34
35
|
interface iCheckboxConfig {
|
|
36
|
+
[key: number | string | symbol]: any;
|
|
35
37
|
appearance: tCheckboxAppearance | undefined;
|
|
36
38
|
state: tCheckboxState | undefined;
|
|
37
39
|
setAppearance: (newComponent: tCheckboxAppearance) => void;
|
|
@@ -39,7 +41,7 @@ interface iCheckboxConfig {
|
|
|
39
41
|
}
|
|
40
42
|
interface iCheckboxProps extends iCheckboxThemeColor, iStyleAttributes {
|
|
41
43
|
id?: number | string;
|
|
42
|
-
|
|
44
|
+
[key: number | string | symbol]: any;
|
|
43
45
|
after?: ReactNode;
|
|
44
46
|
appearance?: tAppearanceKeysDefault;
|
|
45
47
|
before?: ReactNode;
|
|
@@ -48,6 +50,7 @@ interface iCheckboxProps extends iCheckboxThemeColor, iStyleAttributes {
|
|
|
48
50
|
desc?: string;
|
|
49
51
|
disabled?: boolean;
|
|
50
52
|
label?: string;
|
|
53
|
+
Tag?: ElementType;
|
|
51
54
|
value?: string;
|
|
52
55
|
onBlur?: (event?: React.FocusEvent<HTMLInputElement>) => void;
|
|
53
56
|
onChange?: (event?: React.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { tAlignDirectionProps, tAlignProps,
|
|
3
|
+
import { borderTypePropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iChipsThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
align?: tAlignProps;
|
|
7
8
|
alignDirection?: tAlignDirectionProps;
|
|
8
9
|
borderColor?: tBorderColorProps;
|
|
@@ -27,10 +28,12 @@ type tChipsAppearance = {
|
|
|
27
28
|
[key in tAppearanceKeysDefault]?: iChipsThemeColor;
|
|
28
29
|
};
|
|
29
30
|
interface iChipsConfig {
|
|
31
|
+
[key: number | string | symbol]: any;
|
|
30
32
|
appearance: tChipsAppearance | undefined;
|
|
31
33
|
setAppearance: (newComponent: tChipsAppearance) => void;
|
|
32
34
|
}
|
|
33
35
|
interface iChipsProps extends iChipsThemeColor, iStyleAttributes {
|
|
36
|
+
[key: number | string | symbol]: any;
|
|
34
37
|
appearance?: tAppearanceKeysDefault;
|
|
35
38
|
children?: ReactNode;
|
|
36
39
|
className?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { iChoiceConfig
|
|
2
|
+
import type { iChoiceConfig } from './Choice.interface';
|
|
3
3
|
declare const choiceConfig: iChoiceConfig;
|
|
4
|
-
declare const Choice: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const Choice: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
|
5
5
|
export { Choice, choiceConfig };
|
|
@@ -3,6 +3,7 @@ import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
|
3
3
|
import type { borderTypePropsType, iconSizePropsType, sizeOptionPropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, wrapPropsType } from '../../types';
|
|
4
4
|
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iChoiceThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
activeIconItemFill?: tItemColorProps;
|
|
7
8
|
borderColor?: tBorderColorProps;
|
|
8
9
|
borderType?: borderTypePropsType;
|
|
@@ -28,10 +29,12 @@ type tChoiceAppearance = {
|
|
|
28
29
|
[key in tAppearanceKeysDefault]?: iChoiceThemeColor;
|
|
29
30
|
};
|
|
30
31
|
interface iChoiceConfig {
|
|
32
|
+
[key: number | string | symbol]: any;
|
|
31
33
|
appearance: tChoiceAppearance | undefined;
|
|
32
34
|
setAppearance: (newComponent: tChoiceAppearance) => void;
|
|
33
35
|
}
|
|
34
36
|
interface iChoiceProps extends iChoiceThemeColor, iStyleAttributes {
|
|
37
|
+
[key: number | string | symbol]: any;
|
|
35
38
|
active: {
|
|
36
39
|
value: ReactNode;
|
|
37
40
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iCodeConfig,
|
|
1
|
+
import type { iCodeConfig, iCodeProps } from './Code.interface';
|
|
2
2
|
declare const codeConfig: iCodeConfig;
|
|
3
|
-
declare function Code(props:
|
|
3
|
+
declare function Code(props: iCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Code {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
inputBorderColor: string;
|
|
@@ -3,7 +3,8 @@ import { AllowedInputTypes } from 'react-otp-input';
|
|
|
3
3
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
4
4
|
import { borderColorHoverPropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
5
5
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
6
|
-
export interface
|
|
6
|
+
export interface iCodeThemeColor {
|
|
7
|
+
[key: number | string | symbol]: any;
|
|
7
8
|
borderColor?: tBorderColorProps;
|
|
8
9
|
fill?: tFillProps;
|
|
9
10
|
fillHover?: tFillHoverProps;
|
|
@@ -11,17 +12,19 @@ export interface ICodeThemeColor {
|
|
|
11
12
|
labelTextSize?: tTextSizeProps;
|
|
12
13
|
shape?: tShapeProps;
|
|
13
14
|
}
|
|
14
|
-
type
|
|
15
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
15
16
|
export type codeAppearanceType = {
|
|
16
|
-
[key in
|
|
17
|
+
[key in tAppearanceKeys]?: iCodeThemeColor;
|
|
17
18
|
};
|
|
18
19
|
export interface iCodeConfig {
|
|
20
|
+
[key: number | string | symbol]: any;
|
|
19
21
|
appearance: codeAppearanceType | undefined;
|
|
20
22
|
setAppearance: (newComponent: codeAppearanceType) => void;
|
|
21
23
|
}
|
|
22
|
-
export interface
|
|
24
|
+
export interface iCodeProps extends iCodeThemeColor, iStyleAttributes {
|
|
25
|
+
[key: number | string | symbol]: any;
|
|
23
26
|
after?: ReactNode;
|
|
24
|
-
appearance?:
|
|
27
|
+
appearance?: tAppearanceKeys;
|
|
25
28
|
before?: ReactNode;
|
|
26
29
|
className?: string;
|
|
27
30
|
gap?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function CookiesWarning(props:
|
|
1
|
+
import type { iCookiesWarningProps } from './CookiesWarning.interface';
|
|
2
|
+
declare function CookiesWarning(props: iCookiesWarningProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export { CookiesWarning };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
className?: string;
|
|
2
|
+
export interface iCookiesWarningProps {
|
|
3
|
+
[key: number | string | symbol]: any;
|
|
5
4
|
buttonFill?: tFillProps;
|
|
6
5
|
buttonFillHover?: tFillHoverProps;
|
|
7
6
|
buttonLabel?: string;
|
|
@@ -9,8 +8,10 @@ export interface ICookiesWarningProps {
|
|
|
9
8
|
buttonLabelTextColor?: tTextColorProps;
|
|
10
9
|
buttonShape?: tShapeProps;
|
|
11
10
|
buttonSize?: tSizeProps;
|
|
12
|
-
textSize?: tTextSizeProps;
|
|
13
|
-
textColor?: tTextColorProps;
|
|
14
11
|
buttonWidth?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
textColor?: tTextColorProps;
|
|
15
|
+
textSize?: tTextSizeProps;
|
|
15
16
|
isHideOnScroll?: boolean;
|
|
16
17
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function DadataHintField(props:
|
|
1
|
+
import type { iDadataHintFieldProps } from './DadataHintField.interface';
|
|
2
|
+
declare function DadataHintField(props: iDadataHintFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { DadataHintField };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { HTMLProps } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iDadataHintFieldProps extends iStyleAttributes {
|
|
5
5
|
delay?: number;
|
|
6
|
-
inputProps?: HTMLProps<HTMLInputElement>;
|
|
7
|
-
setValue?: () => void;
|
|
8
6
|
input?: any;
|
|
7
|
+
inputProps?: HTMLProps<HTMLInputElement>;
|
|
9
8
|
meta?: any;
|
|
10
9
|
token: string;
|
|
10
|
+
setValue?: () => void;
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface iDadataСustomInputProps extends iStyleAttributes {
|
|
13
13
|
inputValue?: string;
|
|
14
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const datePickerConfig:
|
|
3
|
-
declare function DatePickerInput(props:
|
|
1
|
+
import type { iDatePickerConfig, iDatePickerInputProps } from './DatePicker.interface';
|
|
2
|
+
declare const datePickerConfig: iDatePickerConfig;
|
|
3
|
+
declare function DatePickerInput(props: iDatePickerInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { DatePickerInput, datePickerConfig };
|
|
@@ -3,7 +3,7 @@ import { DatePickerProps } from 'react-datepicker';
|
|
|
3
3
|
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
4
4
|
import { iconFillSizePropsType, iconSizePropsType, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
5
5
|
import { iInputProps } from '../Input/Input.interface';
|
|
6
|
-
interface
|
|
6
|
+
interface iDatePickerProps extends DatePickerProps {
|
|
7
7
|
customTimeInput?: ReactNode;
|
|
8
8
|
daySize?: tSizeProps;
|
|
9
9
|
dayTextColor?: tTextColorProps;
|
|
@@ -38,15 +38,18 @@ interface IDatePickerProps extends DatePickerProps {
|
|
|
38
38
|
isClearable?: boolean;
|
|
39
39
|
isStartDefaultNull?: boolean;
|
|
40
40
|
}
|
|
41
|
-
type
|
|
41
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
42
42
|
export type datePickerAppearanceType = {
|
|
43
|
-
[key in
|
|
43
|
+
[key in tAppearanceKeys]?: iDatePickerInputProps;
|
|
44
44
|
};
|
|
45
|
-
export interface
|
|
45
|
+
export interface iDatePickerConfig {
|
|
46
|
+
[key: number | string | symbol]: any;
|
|
46
47
|
appearance: datePickerAppearanceType | undefined;
|
|
47
48
|
setAppearance: (newComponent: datePickerAppearanceType) => void;
|
|
48
49
|
}
|
|
49
|
-
export interface
|
|
50
|
+
export interface iDatePickerInputProps extends iDatePickerProps {
|
|
51
|
+
[key: number | string | symbol]: any;
|
|
52
|
+
appearance?: tAppearanceKeys;
|
|
50
53
|
className?: string;
|
|
51
54
|
clearIcon?: any;
|
|
52
55
|
clearIconFill?: tFillProps;
|
|
@@ -61,14 +64,14 @@ export interface IDatePickerInputProps extends IDatePickerProps {
|
|
|
61
64
|
clearLabelTextColor?: tTextColorProps;
|
|
62
65
|
clearLabelTextColorHover?: tTextColorHoverProps;
|
|
63
66
|
clearLabelTextSize?: tTextSizeProps;
|
|
64
|
-
datePickerProps:
|
|
67
|
+
datePickerProps: iDatePickerProps;
|
|
65
68
|
endValue?: string;
|
|
66
69
|
inputProps?: iInputProps;
|
|
67
70
|
labelTextSize?: tTextSizeProps;
|
|
68
71
|
value?: string;
|
|
69
72
|
onChange?: any;
|
|
70
73
|
}
|
|
71
|
-
export interface
|
|
74
|
+
export interface iDatePickerCustomInput {
|
|
72
75
|
clearIcon?: any;
|
|
73
76
|
clearIconFill?: tFillProps;
|
|
74
77
|
clearIconFillHover?: tFillHoverProps;
|
|
@@ -96,7 +99,7 @@ export interface IDatePickerCustomInput {
|
|
|
96
99
|
value?: string;
|
|
97
100
|
isClearable?: boolean;
|
|
98
101
|
}
|
|
99
|
-
export interface
|
|
102
|
+
export interface iDatePickerInputIcon {
|
|
100
103
|
inputIcon?: any;
|
|
101
104
|
inputIconFill?: tFillProps;
|
|
102
105
|
inputIconFillHover?: tFillHoverProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iDividerConfig,
|
|
1
|
+
import type { iDividerConfig, iDividerProps } from './Divider.interface';
|
|
2
2
|
declare const dividerConfig: iDividerConfig;
|
|
3
|
-
declare function Divider(props:
|
|
3
|
+
declare function Divider(props: iDividerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Divider {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
size: string;
|