@itcase/ui 1.2.35 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Badge-B9tt2YPa.js +76 -0
- package/dist/{Badge-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 +5 -4
- 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, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { positionPropsType, tFillProps, tHeightProps, tItemColorProps, tTextColorProps, tTextSizeProps, tWidthProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iLoaderThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
fill?: tFillProps;
|
|
7
8
|
height?: tHeightProps;
|
|
8
9
|
itemFill?: tItemColorProps;
|
|
@@ -10,16 +11,18 @@ export interface ILoaderThemeColor {
|
|
|
10
11
|
textSize?: tTextSizeProps;
|
|
11
12
|
width?: tWidthProps;
|
|
12
13
|
}
|
|
13
|
-
type
|
|
14
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
14
15
|
export type loaderAppearanceType = {
|
|
15
|
-
[key in
|
|
16
|
+
[key in tAppearanceKeys]?: iLoaderThemeColor;
|
|
16
17
|
};
|
|
17
|
-
export interface
|
|
18
|
+
export interface iLoaderConfig {
|
|
19
|
+
[key: number | string | symbol]: any;
|
|
18
20
|
appearance: loaderAppearanceType | undefined;
|
|
19
21
|
setAppearance: (newComponent: loaderAppearanceType) => void;
|
|
20
22
|
}
|
|
21
|
-
export interface
|
|
22
|
-
|
|
23
|
+
export interface iLoaderProps extends iLoaderThemeColor, iStyleAttributes {
|
|
24
|
+
[key: number | string | symbol]: any;
|
|
25
|
+
appearance?: tAppearanceKeys;
|
|
23
26
|
children?: ReactNode;
|
|
24
27
|
className?: string;
|
|
25
28
|
position?: positionPropsType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const logoConfig:
|
|
3
|
-
declare function Logo(props:
|
|
1
|
+
import type { iLogoConfig, iLogoProps } from './Logo.interface';
|
|
2
|
+
declare const logoConfig: iLogoConfig;
|
|
3
|
+
declare function Logo(props: iLogoProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Logo, logoConfig };
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { tAlignDirectionProps, tAlignProps,
|
|
3
|
+
import { flexAlignPropsType, tAlignDirectionProps, tAlignProps, tSizeProps, tWidthProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iLogoThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
alt?: string;
|
|
7
8
|
size?: string;
|
|
8
9
|
source?: string;
|
|
9
10
|
src?: string;
|
|
10
11
|
title?: string;
|
|
11
12
|
}
|
|
12
|
-
type
|
|
13
|
+
type tAppearanceKeys = {} & tAppearanceKeysDefault;
|
|
13
14
|
export type logoAppearanceType = {
|
|
14
|
-
[key in
|
|
15
|
+
[key in tAppearanceKeys]?: iLogoThemeColor;
|
|
15
16
|
};
|
|
16
|
-
export interface
|
|
17
|
+
export interface iLogoConfig {
|
|
18
|
+
[key: number | string | symbol]: any;
|
|
17
19
|
appearance: logoAppearanceType | undefined;
|
|
18
20
|
setAppearance: (newComponent: logoAppearanceType) => void;
|
|
19
21
|
}
|
|
20
|
-
export interface
|
|
22
|
+
export interface iLogoProps extends iLogoThemeColor, iStyleAttributes {
|
|
23
|
+
[key: number | string | symbol]: any;
|
|
21
24
|
align?: tAlignProps;
|
|
22
25
|
alignDirection?: tAlignDirectionProps;
|
|
23
26
|
alignItems?: flexAlignPropsType;
|
|
24
27
|
alt?: string;
|
|
25
|
-
appearance?:
|
|
28
|
+
appearance?: tAppearanceKeys;
|
|
26
29
|
className?: string;
|
|
27
30
|
href?: string;
|
|
28
31
|
link?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Menu(props:
|
|
1
|
+
import type { iMenuProps } from './Menu.interface';
|
|
2
|
+
declare function Menu(props: iMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace Menu {
|
|
4
4
|
var defaultProps: {
|
|
5
5
|
direction: string;
|
|
@@ -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 { flexGrowPropsType, tDirectionProps, tWidthProps } from '../../types';
|
|
4
|
+
export interface iMenuProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
after?: ReactNode;
|
|
6
7
|
before?: ReactNode;
|
|
7
8
|
children?: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const menuItemConfig:
|
|
3
|
-
declare function MenuItem(props:
|
|
1
|
+
import type { iMenuItemConfig, iMenuItemProps } from './MenuItem.interface';
|
|
2
|
+
declare const menuItemConfig: iMenuItemConfig;
|
|
3
|
+
declare function MenuItem(props: iMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace MenuItem {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
direction: string;
|
|
@@ -2,7 +2,8 @@ import { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { tAlignDirectionProps, tAlignProps, tDirectionProps, tFillHoverProps, tFillProps, tJustifyContentProps, tShapeProps, tSizeProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tUnderlineProps, tWidthProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iMenuItemThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
align?: tAlignProps;
|
|
7
8
|
alignDirection?: tAlignDirectionProps;
|
|
8
9
|
descTextColor?: tTextColorProps;
|
|
@@ -34,17 +35,19 @@ export interface IMenuItemThemeColor {
|
|
|
34
35
|
underline?: tUnderlineProps;
|
|
35
36
|
width?: tWidthProps;
|
|
36
37
|
}
|
|
37
|
-
type
|
|
38
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
38
39
|
export type menuItemAppearanceType = {
|
|
39
|
-
[key in
|
|
40
|
+
[key in tAppearanceKeys]?: iMenuItemThemeColor;
|
|
40
41
|
};
|
|
41
|
-
export interface
|
|
42
|
+
export interface iMenuItemConfig {
|
|
43
|
+
[key: number | string | symbol]: any;
|
|
42
44
|
appearance: menuItemAppearanceType | undefined;
|
|
43
45
|
setAppearance: (newComponent: menuItemAppearanceType) => void;
|
|
44
46
|
}
|
|
45
|
-
export interface
|
|
47
|
+
export interface iMenuItemProps extends iMenuItemThemeColor, iStyleAttributes {
|
|
48
|
+
[key: number | string | symbol]: any;
|
|
46
49
|
after?: ReactNode;
|
|
47
|
-
appearance?:
|
|
50
|
+
appearance?: tAppearanceKeys;
|
|
48
51
|
before?: ReactNode;
|
|
49
52
|
children?: ReactNode;
|
|
50
53
|
className?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { iModalConfig
|
|
2
|
+
import type { iModalConfig } from './Modal.interface';
|
|
3
3
|
declare const modalConfig: iModalConfig;
|
|
4
|
-
declare const Modal: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const Modal: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
|
5
5
|
export { Modal, modalConfig };
|
|
@@ -2,7 +2,8 @@ import type { FocusEvent, MouseEvent, MouseEventHandler, ReactNode } from 'react
|
|
|
2
2
|
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import type { elevationPropsType, tBorderColorProps, tFillGradientProps, tFillProps, tShapeProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iModalThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
elevation?: elevationPropsType;
|
|
8
9
|
fill?: tFillProps;
|
|
@@ -12,11 +13,12 @@ export interface IModalThemeColor {
|
|
|
12
13
|
shape?: tShapeProps;
|
|
13
14
|
isOverlay?: boolean;
|
|
14
15
|
}
|
|
15
|
-
type
|
|
16
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
16
17
|
export type modalAppearanceType = {
|
|
17
|
-
[key in
|
|
18
|
+
[key in tAppearanceKeys]?: iModalThemeColor;
|
|
18
19
|
};
|
|
19
20
|
export interface iModalConfig {
|
|
21
|
+
[key: number | string | symbol]: any;
|
|
20
22
|
appearance: modalAppearanceType | undefined;
|
|
21
23
|
setAppearance: (newComponent: modalAppearanceType) => void;
|
|
22
24
|
}
|
|
@@ -28,9 +30,10 @@ interface iModalRef {
|
|
|
28
30
|
openModal: () => void;
|
|
29
31
|
isOpen: boolean;
|
|
30
32
|
}
|
|
31
|
-
interface iModalProps extends
|
|
33
|
+
interface iModalProps extends iModalThemeColor, iStyleAttributes {
|
|
32
34
|
id?: string;
|
|
33
|
-
|
|
35
|
+
[key: number | string | symbol]: any;
|
|
36
|
+
appearance?: tAppearanceKeys;
|
|
34
37
|
children?: ReactNode;
|
|
35
38
|
className?: string;
|
|
36
39
|
closeButton?: ReactNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { iModalSheetBottomProps } from './ModalSheetBottom.interface';
|
|
1
|
+
import type { iModalSheetBottomProps } from './ModalSheetBottom.interface';
|
|
2
2
|
declare function ModalSheetBottom(props: iModalSheetBottomProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { ModalSheetBottom };
|
|
@@ -2,7 +2,8 @@ import { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { tFillProps, titleSizePropsType, tSizeProps, tTextColorProps, tTextSizeProps, tWidthProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iNotificationItemThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
fill?: tFillProps;
|
|
7
8
|
size?: tSizeProps;
|
|
8
9
|
textColor?: tTextColorProps;
|
|
@@ -11,18 +12,20 @@ export interface INotificationItemThemeColor {
|
|
|
11
12
|
titleTextSize?: titleSizePropsType;
|
|
12
13
|
width?: tWidthProps;
|
|
13
14
|
}
|
|
14
|
-
type
|
|
15
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
15
16
|
export type notificationItemAppearanceType = {
|
|
16
|
-
[key in
|
|
17
|
+
[key in tAppearanceKeys]?: iNotificationItemThemeColor;
|
|
17
18
|
};
|
|
18
|
-
export interface
|
|
19
|
+
export interface iNotificationItemConfig {
|
|
20
|
+
[key: number | string | symbol]: any;
|
|
19
21
|
appearance: notificationItemAppearanceType | undefined;
|
|
20
22
|
setAppearance: (newComponent: notificationItemAppearanceType) => void;
|
|
21
23
|
}
|
|
22
|
-
export interface
|
|
24
|
+
export interface iNotificationItemProps extends iStyleAttributes {
|
|
23
25
|
id?: number | string;
|
|
26
|
+
[key: number | string | symbol]: any;
|
|
24
27
|
after?: ReactNode;
|
|
25
|
-
appearance?:
|
|
28
|
+
appearance?: tAppearanceKeys;
|
|
26
29
|
before?: ReactNode;
|
|
27
30
|
className?: string;
|
|
28
31
|
closeButton?: ReactNode;
|
|
@@ -41,7 +44,7 @@ export interface INotificationItemProps extends iStyleAttributes {
|
|
|
41
44
|
onClickClose?: (id?: number | string) => void;
|
|
42
45
|
set?: string;
|
|
43
46
|
}
|
|
44
|
-
export interface
|
|
47
|
+
export interface iNotificationListProps {
|
|
45
48
|
className?: string;
|
|
46
49
|
closeButton?: ReactNode;
|
|
47
50
|
size?: tSizeProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const notificationItemConfig:
|
|
3
|
-
declare function NotificationItem(props:
|
|
1
|
+
import type { iNotificationItemConfig, iNotificationItemProps } from './Notification.interface';
|
|
2
|
+
declare const notificationItemConfig: iNotificationItemConfig;
|
|
3
|
+
declare function NotificationItem(props: iNotificationItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { NotificationItem, notificationItemConfig };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function NotificationList(props:
|
|
1
|
+
import type { iNotificationListProps } from './Notification.interface';
|
|
2
|
+
declare function NotificationList(props: iNotificationListProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { NotificationList };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
2
2
|
import type { tFillGradientProps, tFillProps } from '../../types';
|
|
3
3
|
interface iOverlayProps extends iStyleAttributes {
|
|
4
|
+
[key: number | string | symbol]: any;
|
|
4
5
|
className?: string;
|
|
5
6
|
fill?: tFillProps;
|
|
6
7
|
fillGradient?: tFillGradientProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const paginationConfig:
|
|
1
|
+
import type { iPaginationConfig, iPaginationProps } from './Pagination.interface';
|
|
2
|
+
declare const paginationConfig: iPaginationConfig;
|
|
3
3
|
declare function Pagination(props: iPaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Pagination, paginationConfig };
|
|
@@ -2,7 +2,8 @@ import { type ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { alignmentPropsType, elevationPropsType, iconFillSizePropsType, tDirectionProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorProps, tTextSizeProps, tTextWrapProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iPaginationThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
fill?: tFillProps;
|
|
7
8
|
fillHover?: tFillHoverProps;
|
|
8
9
|
gap?: string;
|
|
@@ -35,17 +36,19 @@ export interface IPaginationThemeColor {
|
|
|
35
36
|
pageRangeDisplayed?: number;
|
|
36
37
|
isPageCount?: boolean;
|
|
37
38
|
}
|
|
38
|
-
type
|
|
39
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
39
40
|
export type paginationAppearanceType = {
|
|
40
|
-
[key in
|
|
41
|
+
[key in tAppearanceKeys]?: iPaginationThemeColor;
|
|
41
42
|
};
|
|
42
|
-
export interface
|
|
43
|
+
export interface iPaginationConfig {
|
|
44
|
+
[key: number | string | symbol]: any;
|
|
43
45
|
appearance: paginationAppearanceType | undefined;
|
|
44
46
|
setAppearance: (newComponent: paginationAppearanceType) => void;
|
|
45
47
|
}
|
|
46
|
-
interface iPaginationProps extends
|
|
48
|
+
interface iPaginationProps extends iPaginationThemeColor, iStyleAttributes {
|
|
49
|
+
[key: number | string | symbol]: any;
|
|
47
50
|
allItemsCount?: number;
|
|
48
|
-
appearance?:
|
|
51
|
+
appearance?: tAppearanceKeys;
|
|
49
52
|
className?: string;
|
|
50
53
|
marginPagesDisplayed?: number;
|
|
51
54
|
nextLabel?: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const panelConfig:
|
|
4
|
-
declare const Panel: React.ForwardRefExoticComponent<
|
|
2
|
+
import type { iPanelConfig, iPanelProps } from './Panel.interface';
|
|
3
|
+
declare const panelConfig: iPanelConfig;
|
|
4
|
+
declare const Panel: React.ForwardRefExoticComponent<Omit<iPanelProps, "ref"> & React.RefAttributes<unknown>>;
|
|
5
5
|
export { Panel, panelConfig };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import {
|
|
3
|
+
import { borderTypePropsType, elevationPropsType, flexAlignPropsType, flexJustifyContentPropsType, flexWrapPropsType, positionPropsType, tAlignDirectionProps, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tHeightProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } 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,16 +12,18 @@ interface ThemeColor {
|
|
|
11
12
|
fillHover?: string;
|
|
12
13
|
labelTextColor?: tTextColorProps;
|
|
13
14
|
}
|
|
14
|
-
type
|
|
15
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
15
16
|
type tAppearance = {
|
|
16
|
-
[key in
|
|
17
|
+
[key in tAppearanceKeys]: ThemeColor;
|
|
17
18
|
};
|
|
18
|
-
export interface
|
|
19
|
+
export interface iPanelConfig {
|
|
20
|
+
[key: number | string | symbol]: any;
|
|
19
21
|
appearance: tAppearance | undefined;
|
|
20
22
|
setAppearance: (newComponent: tAppearance) => void;
|
|
21
23
|
}
|
|
22
|
-
export interface
|
|
23
|
-
|
|
24
|
+
export interface iPanelProps extends iStyleAttributes {
|
|
25
|
+
[key: number | string | symbol]: any;
|
|
26
|
+
appearance?: tAppearanceKeys;
|
|
24
27
|
children?: ReactNode;
|
|
25
28
|
className?: string;
|
|
26
29
|
dataTour?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const radioConfig:
|
|
3
|
-
declare function Radio(props:
|
|
1
|
+
import type { iRadioConfig, iRadioProps } from './Radio.interface';
|
|
2
|
+
declare const radioConfig: iRadioConfig;
|
|
3
|
+
declare function Radio(props: iRadioProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Radio {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
shape: string;
|
|
@@ -2,7 +2,8 @@ import { ElementType } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { borderColorHoverPropsType, tBorderColorProps, tBorderWidthProps, tFillProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iRadioThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
descTextColor?: tTextColorProps;
|
|
7
8
|
descTextSize?: tTextSizeProps;
|
|
8
9
|
descTextWeight?: tTextWeightProps;
|
|
@@ -26,26 +27,28 @@ export interface IRadioThemeColor {
|
|
|
26
27
|
stateFillDisabledChecked?: tFillProps;
|
|
27
28
|
stateShape?: tShapeProps;
|
|
28
29
|
}
|
|
29
|
-
type
|
|
30
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
30
31
|
export type radioStateType = {
|
|
31
|
-
[key in
|
|
32
|
+
[key in tAppearanceKeys]?: iRadioThemeColor;
|
|
32
33
|
};
|
|
33
34
|
export type radioAppearanceType = {
|
|
34
|
-
[key in
|
|
35
|
+
[key in tAppearanceKeys]?: iRadioThemeColor;
|
|
35
36
|
};
|
|
36
|
-
export interface
|
|
37
|
-
|
|
38
|
-
setState: (newComponent: radioStateType) => void;
|
|
37
|
+
export interface iRadioConfig {
|
|
38
|
+
[key: number | string | symbol]: any;
|
|
39
39
|
appearance: radioAppearanceType | undefined;
|
|
40
|
+
state: radioStateType | undefined;
|
|
40
41
|
setAppearance: (newComponent: radioAppearanceType) => void;
|
|
42
|
+
setState: (newComponent: radioStateType) => void;
|
|
41
43
|
}
|
|
42
|
-
export interface
|
|
43
|
-
|
|
44
|
+
export interface iRadioProps extends iRadioThemeColor, iStyleAttributes {
|
|
45
|
+
id?: number | string;
|
|
46
|
+
[key: number | string | symbol]: any;
|
|
47
|
+
appearance?: tAppearanceKeys;
|
|
44
48
|
checked?: boolean;
|
|
45
49
|
className?: string;
|
|
46
50
|
desc?: string;
|
|
47
51
|
disabled?: boolean;
|
|
48
|
-
id?: number | string;
|
|
49
52
|
label?: string;
|
|
50
53
|
tag: ElementType;
|
|
51
54
|
onChange?: () => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function RangeSlider(props:
|
|
1
|
+
import type { iRangeSliderProps } from './RangeSlider.interface';
|
|
2
|
+
declare function RangeSlider(props: iRangeSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { RangeSlider };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { tFillProps, tItemColorProps, tShapeProps, tWidthProps } from '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iRangeSliderProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
after?: ReactNode;
|
|
6
7
|
before?: ReactNode;
|
|
7
8
|
children?: ReactNode;
|
|
@@ -18,11 +19,11 @@ export interface IRangeSliderProps extends iStyleAttributes {
|
|
|
18
19
|
min?: number;
|
|
19
20
|
pushable?: boolean;
|
|
20
21
|
range?: boolean;
|
|
21
|
-
set?: string;
|
|
22
22
|
shape?: tShapeProps;
|
|
23
23
|
style?: CSSProperties;
|
|
24
24
|
value?: number;
|
|
25
25
|
vertical?: boolean;
|
|
26
26
|
width?: tWidthProps;
|
|
27
27
|
onChangeSlider?: () => void;
|
|
28
|
+
set?: string;
|
|
28
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const responseConfig:
|
|
3
|
-
declare function Response(props:
|
|
1
|
+
import type { iResponseConfig, iResponseProps } from './Response.interface';
|
|
2
|
+
declare const responseConfig: iResponseConfig;
|
|
3
|
+
declare function Response(props: iResponseProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Response, responseConfig };
|
|
@@ -2,7 +2,8 @@ import { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { borderColorHoverPropsType, borderTypePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, titleSizePropsType, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iResponseThemeColor {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderColorHover?: borderColorHoverPropsType;
|
|
8
9
|
borderType?: borderTypePropsType;
|
|
@@ -13,7 +14,7 @@ export interface IResponseThemeColor {
|
|
|
13
14
|
messageTextColor?: tTextColorProps;
|
|
14
15
|
messageTextSize?: tTextSizeProps;
|
|
15
16
|
messageTextWeight?: tTextWeightProps;
|
|
16
|
-
primaryButtonAppearance?:
|
|
17
|
+
primaryButtonAppearance?: tAppearanceKeys;
|
|
17
18
|
primaryButtonFill?: tFillProps;
|
|
18
19
|
primaryButtonFillHover?: tFillHoverProps;
|
|
19
20
|
primaryButtonLabel?: string;
|
|
@@ -22,7 +23,7 @@ export interface IResponseThemeColor {
|
|
|
22
23
|
primaryButtonShape?: tShapeProps;
|
|
23
24
|
primaryButtonSize?: tSizeProps;
|
|
24
25
|
primaryButtonWidth?: tWidthProps;
|
|
25
|
-
secondaryButtonAppearance?:
|
|
26
|
+
secondaryButtonAppearance?: tAppearanceKeys;
|
|
26
27
|
secondaryButtonFill?: tFillProps;
|
|
27
28
|
secondaryButtonFillHover?: tFillHoverProps;
|
|
28
29
|
secondaryButtonLabel?: string;
|
|
@@ -36,17 +37,19 @@ export interface IResponseThemeColor {
|
|
|
36
37
|
titleTextSize?: titleSizePropsType;
|
|
37
38
|
titleTextWeight?: tTextWeightProps;
|
|
38
39
|
}
|
|
39
|
-
type
|
|
40
|
+
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
40
41
|
export type responseAppearanceType = {
|
|
41
|
-
[key in
|
|
42
|
+
[key in tAppearanceKeys]?: iResponseThemeColor;
|
|
42
43
|
};
|
|
43
|
-
export interface
|
|
44
|
+
export interface iResponseConfig {
|
|
45
|
+
[key: number | string | symbol]: any;
|
|
44
46
|
appearance: responseAppearanceType | undefined;
|
|
45
47
|
setAppearance: (newComponent: responseAppearanceType) => void;
|
|
46
48
|
}
|
|
47
|
-
export interface
|
|
49
|
+
export interface iResponseProps extends iResponseThemeColor, iStyleAttributes {
|
|
50
|
+
[key: number | string | symbol]: any;
|
|
48
51
|
after?: ReactNode;
|
|
49
|
-
appearance?:
|
|
52
|
+
appearance?: tAppearanceKeys;
|
|
50
53
|
before?: ReactNode;
|
|
51
54
|
className?: string;
|
|
52
55
|
message?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function SVGContent(props:
|
|
1
|
+
import type { iSVGContentProps } from './SVGContent.interface';
|
|
2
|
+
declare function SVGContent(props: iSVGContentProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { SVGContent };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import { svgFillPropsType } from '../../types';
|
|
4
|
-
export interface
|
|
4
|
+
export interface iSVGContentProps extends iStyleAttributes {
|
|
5
|
+
[key: number | string | symbol]: any;
|
|
5
6
|
children?: ReactNode;
|
|
6
7
|
className?: string;
|
|
7
8
|
src?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function ScrollOnDrag(props:
|
|
1
|
+
import type { iScrollOnDragProps } from './ScrollOnDrag.interface';
|
|
2
|
+
declare function ScrollOnDrag(props: iScrollOnDragProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace ScrollOnDrag {
|
|
4
4
|
var defaultProps: {
|
|
5
5
|
width: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import ScrollContainer from 'react-indiana-drag-scroll';
|
|
3
3
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
4
|
-
import {
|
|
5
|
-
export interface
|
|
4
|
+
import { borderTypePropsType, elevationPropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tHeightProps, tWidthProps } from '../../types';
|
|
5
|
+
export interface iScrollOnDragProps extends iStyleAttributes {
|
|
6
|
+
[key: number | string | symbol]: any;
|
|
6
7
|
borderColor?: tBorderColorProps;
|
|
7
8
|
borderType?: borderTypePropsType;
|
|
8
9
|
borderWidth?: tBorderWidthProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Scrollbar(props:
|
|
1
|
+
import type { iScrollbarProps } from './Scrollbar.interface';
|
|
2
|
+
declare function Scrollbar(props: iScrollbarProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Scrollbar };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
export interface
|
|
3
|
+
export interface iScrollbarProps extends iStyleAttributes {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
noDefaultStyles?: boolean;
|
|
7
|
-
scrollHeight?: number | string;
|
|
8
7
|
scrollbarWidth?: number;
|
|
8
|
+
scrollHeight?: number | string;
|
|
9
9
|
onScroll?: () => void;
|
|
10
10
|
}
|