@itcase/ui 1.1.15 → 1.1.16
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/{Accordion-DyOfdiGd.js → Accordion-DF2lqrVA.js} +15 -9
- package/dist/{Cell-DftU408q.js → Cell-D9Wa7coO.js} +4 -1
- package/dist/{Checkbox-C-H_Z4S_.js → Checkbox-i0qZk0sb.js} +8 -7
- package/dist/{Chips-BR_EPV82.js → Chips-BdK4kVmq.js} +9 -3
- package/dist/{DadataHintField-QzDwYdF1.js → DadataHintField-CHJLsVjJ.js} +1 -1
- package/dist/{DatePicker-CUmrPZZ-.js → DatePicker-CAgJ_CIz.js} +1 -1
- package/dist/{Input-CYMKQ0qF.js → Input-CYDtAlO-.js} +14 -12
- package/dist/{Logo-D6UNcO5P.js → Logo-D4NFjeqd.js} +2 -2
- package/dist/{ModalLoader-8l8YtIvz.js → ModalLoader-D17lZhS7.js} +8 -1
- package/dist/{Response-DzfL5Sy8.js → Response-m-8zeYeD.js} +2 -2
- package/dist/cjs/{Accordion-UbOVpiO4.js → Accordion-rCFDAon3.js} +15 -9
- package/dist/cjs/{Cell-BhsGTfV-.js → Cell-DEBk3Rbp.js} +4 -1
- package/dist/cjs/{Checkbox-B-1dwjii.js → Checkbox-BIvndDsy.js} +8 -7
- package/dist/cjs/{Chips-BcJttN22.js → Chips-i7zrI9aU.js} +9 -3
- package/dist/cjs/{DadataHintField-DQHPRLs0.js → DadataHintField-z7Mw-xDn.js} +1 -1
- package/dist/cjs/{DatePicker-DOmOhaU3.js → DatePicker-e4-8mC1N.js} +1 -1
- package/dist/cjs/{Input-BqKlyvEt.js → Input-vwyG3XF0.js} +13 -11
- package/dist/cjs/{Logo-De74wmbt.js → Logo-CcEF4P2z.js} +2 -2
- package/dist/cjs/{ModalLoader-A2KkSC3x.js → ModalLoader-Cddzca-W.js} +8 -1
- package/dist/cjs/{Response-DOQQr9jP.js → Response-CwdUpO-8.js} +2 -2
- package/dist/cjs/components/Accordion/Accordion.d.ts +2 -2
- package/dist/cjs/components/Accordion/Accordion.interface.d.ts +52 -52
- package/dist/cjs/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar/Avatar.interface.d.ts +12 -12
- package/dist/cjs/components/Badge/Badge.interface.d.ts +13 -13
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
- package/dist/cjs/components/Button/Button.interface.d.ts +26 -26
- package/dist/cjs/components/Caption/Caption.interface.d.ts +7 -7
- package/dist/cjs/components/Card/Card.interface.d.ts +13 -13
- package/dist/cjs/components/Cell/Cell.interface.d.ts +27 -27
- package/dist/cjs/components/Cell.js +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/cjs/components/Checkbox/Checkbox.interface.d.ts +43 -44
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips/Chips.interface.d.ts +19 -16
- package/dist/cjs/components/Chips.js +1 -1
- package/dist/cjs/components/Choice/Choice.interface.d.ts +25 -25
- package/dist/cjs/components/Code/Code.interface.d.ts +16 -16
- package/dist/cjs/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
- package/dist/cjs/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
- package/dist/cjs/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/cjs/components/DadataHintField.js +2 -2
- package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +46 -46
- package/dist/cjs/components/DatePicker.js +2 -2
- package/dist/cjs/components/Divider/Divider.interface.d.ts +23 -23
- package/dist/cjs/components/Dot/Dot.interface.d.ts +16 -16
- package/dist/cjs/components/Drawer/Drawer.interface.d.ts +2 -2
- package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +26 -26
- package/dist/cjs/components/Flex/Flex.interface.d.ts +30 -30
- package/dist/cjs/components/FormField/FormFiled.interface.d.ts +45 -45
- package/dist/cjs/components/Grid/Grid.interface.d.ts +31 -31
- package/dist/cjs/components/Group/Group.interface.d.ts +14 -14
- package/dist/cjs/components/Icon/Icon.interface.d.ts +29 -29
- package/dist/cjs/components/Image/Image.interface.d.ts +8 -8
- package/dist/cjs/components/Input/Input.d.ts +3 -3
- package/dist/cjs/components/Input/Input.interface.d.ts +36 -38
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputMask/Input.d.ts +3 -3
- package/dist/cjs/components/InputMask/Input.interface.d.ts +32 -32
- package/dist/cjs/components/InputPassword/InputPassword.interface.d.ts +30 -30
- package/dist/cjs/components/Label/Label.interface.d.ts +15 -15
- package/dist/cjs/components/Link/Link.interface.d.ts +21 -21
- package/dist/cjs/components/List/List.interface.d.ts +11 -11
- package/dist/cjs/components/Loader/Loader.interface.d.ts +11 -11
- package/dist/cjs/components/Logo/Logo.interface.d.ts +5 -5
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/Menu/Menu.interface.d.ts +5 -5
- package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +21 -21
- package/dist/cjs/components/Modal/Modal.interface.d.ts +4 -4
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification/Notification.interface.d.ts +16 -16
- package/dist/cjs/components/Overlay/Overlay.interface.d.ts +4 -4
- package/dist/cjs/components/Pagination/Pagination.interface.d.ts +20 -20
- package/dist/cjs/components/Panel/Panel.interface.d.ts +19 -19
- package/dist/cjs/components/Radio/Radio.interface.d.ts +25 -25
- package/dist/cjs/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/cjs/components/Response/Response.interface.d.ts +30 -28
- package/dist/cjs/components/Response.js +1 -1
- package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
- package/dist/cjs/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/cjs/components/Search/Search.interface.d.ts +23 -23
- package/dist/cjs/components/Segmented/Segmented.interface.d.ts +14 -14
- package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
- package/dist/cjs/components/Swiper/Swiper.interface.d.ts +7 -7
- package/dist/cjs/components/Switch/Switch.interface.d.ts +2 -2
- package/dist/cjs/components/Tab/Tab.interface.d.ts +29 -29
- package/dist/cjs/components/Text/Text.interface.d.ts +20 -20
- package/dist/cjs/components/Textarea/Textarea.interface.d.ts +17 -17
- package/dist/cjs/components/Tile/Tile.interface.d.ts +15 -15
- package/dist/cjs/components/Title/Title.interface.d.ts +9 -9
- package/dist/cjs/components/Tooltip/Tooltip.interface.d.ts +13 -13
- package/dist/cjs/components/Video/Video.interface.d.ts +2 -2
- package/dist/cjs/components/Wrapper/Wrapper.interface.d.ts +4 -4
- package/dist/cjs/components.js +10 -10
- package/dist/cjs/constants/componentProps/textColor.js +1 -1
- package/dist/cjs/constants/componentProps/textColorActive.js +1 -1
- package/dist/cjs/constants/componentProps/textColorHover.js +1 -1
- package/dist/cjs/hooks/styleAttributes.interface.d.ts +4 -4
- package/dist/cjs/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/cjs/types/componentProps/direction.d.ts +1 -1
- package/dist/cjs/types/componentProps/fill.d.ts +1 -1
- package/dist/cjs/types/componentProps/fillHover.d.ts +1 -1
- package/dist/cjs/types/componentProps/height.d.ts +1 -1
- package/dist/cjs/types/componentProps/itemColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/shape.d.ts +1 -1
- package/dist/cjs/types/componentProps/size.d.ts +1 -1
- package/dist/cjs/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/textColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/textSize.d.ts +1 -1
- package/dist/cjs/types/componentProps/textWeight.d.ts +1 -1
- package/dist/cjs/types/componentProps/width.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +13 -13
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/Accordion/Accordion.interface.d.ts +52 -52
- package/dist/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar/Avatar.interface.d.ts +12 -12
- package/dist/components/Badge/Badge.interface.d.ts +13 -13
- package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
- package/dist/components/Button/Button.interface.d.ts +26 -26
- package/dist/components/Caption/Caption.interface.d.ts +7 -7
- package/dist/components/Card/Card.interface.d.ts +13 -13
- package/dist/components/Cell/Cell.interface.d.ts +27 -27
- package/dist/components/Cell.js +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/Checkbox/Checkbox.interface.d.ts +43 -44
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips/Chips.interface.d.ts +19 -16
- package/dist/components/Chips.js +1 -1
- package/dist/components/Choice/Choice.interface.d.ts +25 -25
- package/dist/components/Code/Code.interface.d.ts +16 -16
- package/dist/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
- package/dist/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
- package/dist/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/components/DadataHintField.js +2 -2
- package/dist/components/DatePicker/DatePicker.interface.d.ts +46 -46
- package/dist/components/DatePicker.js +2 -2
- package/dist/components/Divider/Divider.interface.d.ts +23 -23
- package/dist/components/Dot/Dot.interface.d.ts +16 -16
- package/dist/components/Drawer/Drawer.interface.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.interface.d.ts +26 -26
- package/dist/components/Flex/Flex.interface.d.ts +30 -30
- package/dist/components/FormField/FormFiled.interface.d.ts +45 -45
- package/dist/components/Grid/Grid.interface.d.ts +31 -31
- package/dist/components/Group/Group.interface.d.ts +14 -14
- package/dist/components/Icon/Icon.interface.d.ts +29 -29
- package/dist/components/Image/Image.interface.d.ts +8 -8
- package/dist/components/Input/Input.d.ts +3 -3
- package/dist/components/Input/Input.interface.d.ts +36 -38
- package/dist/components/Input.js +1 -1
- package/dist/components/InputMask/Input.d.ts +3 -3
- package/dist/components/InputMask/Input.interface.d.ts +32 -32
- package/dist/components/InputPassword/InputPassword.interface.d.ts +30 -30
- package/dist/components/Label/Label.interface.d.ts +15 -15
- package/dist/components/Link/Link.interface.d.ts +21 -21
- package/dist/components/List/List.interface.d.ts +11 -11
- package/dist/components/Loader/Loader.interface.d.ts +11 -11
- package/dist/components/Logo/Logo.interface.d.ts +5 -5
- package/dist/components/Logo.js +1 -1
- package/dist/components/Menu/Menu.interface.d.ts +5 -5
- package/dist/components/MenuItem/MenuItem.interface.d.ts +21 -21
- package/dist/components/Modal/Modal.interface.d.ts +4 -4
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification/Notification.interface.d.ts +16 -16
- package/dist/components/Overlay/Overlay.interface.d.ts +4 -4
- package/dist/components/Pagination/Pagination.interface.d.ts +20 -20
- package/dist/components/Panel/Panel.interface.d.ts +19 -19
- package/dist/components/Radio/Radio.interface.d.ts +25 -25
- package/dist/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/components/Response/Response.interface.d.ts +30 -28
- package/dist/components/Response.js +1 -1
- package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
- package/dist/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/components/Search/Search.interface.d.ts +23 -23
- package/dist/components/Segmented/Segmented.interface.d.ts +14 -14
- package/dist/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
- package/dist/components/Swiper/Swiper.interface.d.ts +7 -7
- package/dist/components/Switch/Switch.interface.d.ts +2 -2
- package/dist/components/Tab/Tab.interface.d.ts +29 -29
- package/dist/components/Text/Text.interface.d.ts +20 -20
- package/dist/components/Textarea/Textarea.interface.d.ts +17 -17
- package/dist/components/Tile/Tile.interface.d.ts +15 -15
- package/dist/components/Title/Title.interface.d.ts +9 -9
- package/dist/components/Tooltip/Tooltip.interface.d.ts +13 -13
- package/dist/components/Video/Video.interface.d.ts +2 -2
- package/dist/components/Wrapper/Wrapper.interface.d.ts +4 -4
- package/dist/components.js +10 -10
- package/dist/constants/componentProps/textColor.js +1 -1
- package/dist/constants/componentProps/textColorActive.js +1 -1
- package/dist/constants/componentProps/textColorHover.js +1 -1
- package/dist/css/components/RangeSlider/RangeSlider.css +4 -1
- package/dist/hooks/styleAttributes.interface.d.ts +4 -4
- package/dist/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/types/componentProps/borderColor.d.ts +1 -1
- package/dist/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/types/componentProps/direction.d.ts +1 -1
- package/dist/types/componentProps/fill.d.ts +1 -1
- package/dist/types/componentProps/fillHover.d.ts +1 -1
- package/dist/types/componentProps/height.d.ts +1 -1
- package/dist/types/componentProps/itemColor.d.ts +1 -1
- package/dist/types/componentProps/shape.d.ts +1 -1
- package/dist/types/componentProps/size.d.ts +1 -1
- package/dist/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/types/componentProps/textColor.d.ts +1 -1
- package/dist/types/componentProps/textSize.d.ts +1 -1
- package/dist/types/componentProps/textWeight.d.ts +1 -1
- package/dist/types/componentProps/width.d.ts +1 -1
- package/dist/types/index.d.ts +13 -13
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { alignmentPropsType,
|
|
4
|
-
export interface IPaginationProps extends
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { alignmentPropsType, tDirectionProps, elevationPropsType, tFillHoverProps, tFillProps, iconFillSizePropsType, tItemColorProps, tShapeProps, tSizeProps, textAlignPropsType, textColorActivePropsType, tTextColorProps, tTextSizeProps, textWrapPropsType } from '../../types';
|
|
4
|
+
export interface IPaginationProps extends iStyleAttributes {
|
|
5
5
|
allItemsCount?: number;
|
|
6
6
|
className?: string;
|
|
7
7
|
marginPagesDisplayed?: number;
|
|
@@ -10,31 +10,31 @@ export interface IPaginationProps extends TypeStyleAttributes {
|
|
|
10
10
|
pageCountDesc?: string;
|
|
11
11
|
pageCountDropdownItemLabelAlign?: textAlignPropsType;
|
|
12
12
|
pageCountDropdownItemWidth?: string;
|
|
13
|
-
pageCountDescTextColor?:
|
|
14
|
-
pageCountDescTextSize?:
|
|
13
|
+
pageCountDescTextColor?: tTextColorProps;
|
|
14
|
+
pageCountDescTextSize?: tTextSizeProps;
|
|
15
15
|
pageCountDropdownAlignment?: alignmentPropsType;
|
|
16
16
|
pageCountDropdownElevation?: elevationPropsType;
|
|
17
|
-
pageCountDropdownFill?:
|
|
18
|
-
pageCountDropdownItemDividerDirection?:
|
|
19
|
-
pageCountDropdownItemDividerFill?:
|
|
20
|
-
pageCountDropdownItemDividerSize?:
|
|
21
|
-
pageCountDropdownItemFill?:
|
|
22
|
-
pageCountDropdownItemFillActive?:
|
|
23
|
-
pageCountDropdownItemFillActiveHover?:
|
|
24
|
-
pageCountDropdownItemFillHover?:
|
|
25
|
-
pageCountDropdownItemLabelColor?:
|
|
17
|
+
pageCountDropdownFill?: tFillProps;
|
|
18
|
+
pageCountDropdownItemDividerDirection?: tDirectionProps;
|
|
19
|
+
pageCountDropdownItemDividerFill?: tFillProps;
|
|
20
|
+
pageCountDropdownItemDividerSize?: tSizeProps;
|
|
21
|
+
pageCountDropdownItemFill?: tFillProps;
|
|
22
|
+
pageCountDropdownItemFillActive?: tFillProps;
|
|
23
|
+
pageCountDropdownItemFillActiveHover?: tFillHoverProps;
|
|
24
|
+
pageCountDropdownItemFillHover?: tFillHoverProps;
|
|
25
|
+
pageCountDropdownItemLabelColor?: tTextColorProps;
|
|
26
26
|
pageCountDropdownItemLabelColorActive?: textColorActivePropsType;
|
|
27
|
-
pageCountDropdownItemLabelSize?:
|
|
27
|
+
pageCountDropdownItemLabelSize?: tTextSizeProps;
|
|
28
28
|
pageCountDropdownItemLabelWrap?: textWrapPropsType;
|
|
29
|
-
pageCountDropdownItemSize?:
|
|
29
|
+
pageCountDropdownItemSize?: tSizeProps;
|
|
30
30
|
pageCountDropdownItemShowDivider?: boolean;
|
|
31
31
|
pageCountDropdownSet?: string;
|
|
32
|
-
pageCountDropdownShape?:
|
|
32
|
+
pageCountDropdownShape?: tShapeProps;
|
|
33
33
|
pageCountInputIcon?: ReactNode;
|
|
34
|
-
pageCountInputIconColor?:
|
|
34
|
+
pageCountInputIconColor?: tItemColorProps;
|
|
35
35
|
pageCountInputIconFillSize?: iconFillSizePropsType;
|
|
36
|
-
pageCountInputTextColor?:
|
|
37
|
-
pageCountInputTextSize?:
|
|
36
|
+
pageCountInputTextColor?: tTextColorProps;
|
|
37
|
+
pageCountInputTextSize?: tTextSizeProps;
|
|
38
38
|
pageNumber: string;
|
|
39
39
|
pageRangeDisplayed?: number;
|
|
40
40
|
perPageCount?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { alignDirectionPropsType,
|
|
4
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { alignDirectionPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, elevationPropsType, tFillHoverProps, tFillProps, flexAlignPropsType, flexJustifyContentPropsType, flexWrapPropsType, tHeightProps, positionPropsType, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface ThemeColor {
|
|
6
6
|
border?: string;
|
|
7
7
|
borderColor?: string;
|
|
@@ -9,9 +9,9 @@ interface ThemeColor {
|
|
|
9
9
|
direction?: alignDirectionPropsType;
|
|
10
10
|
fill?: string;
|
|
11
11
|
fillHover?: string;
|
|
12
|
-
labelTextColor?:
|
|
12
|
+
labelTextColor?: tTextColorProps;
|
|
13
13
|
}
|
|
14
|
-
type appearanceKeysType =
|
|
14
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
15
15
|
type appearanceType = {
|
|
16
16
|
[key in appearanceKeysType]: ThemeColor;
|
|
17
17
|
};
|
|
@@ -19,7 +19,7 @@ export interface IPanelConfig {
|
|
|
19
19
|
appearance: appearanceType | undefined;
|
|
20
20
|
setAppearance: (newComponent: appearanceType) => void;
|
|
21
21
|
}
|
|
22
|
-
export interface IPanelProps extends
|
|
22
|
+
export interface IPanelProps extends iStyleAttributes {
|
|
23
23
|
appearance?: appearanceKeysType;
|
|
24
24
|
children?: ReactNode;
|
|
25
25
|
className?: string;
|
|
@@ -31,26 +31,26 @@ export interface IPanelProps extends TypeStyleAttributes {
|
|
|
31
31
|
verticalScroll?: boolean;
|
|
32
32
|
alignContent?: flexJustifyContentPropsType;
|
|
33
33
|
alignItems?: flexAlignPropsType;
|
|
34
|
-
borderColor?:
|
|
34
|
+
borderColor?: tBorderColorProps;
|
|
35
35
|
borderType?: borderTypePropsType;
|
|
36
|
-
borderWidth?:
|
|
36
|
+
borderWidth?: tBorderWidthProps;
|
|
37
37
|
direction?: alignDirectionPropsType;
|
|
38
38
|
elevation?: elevationPropsType;
|
|
39
|
-
fill?:
|
|
40
|
-
fillHover?:
|
|
41
|
-
height?:
|
|
39
|
+
fill?: tFillProps;
|
|
40
|
+
fillHover?: tFillHoverProps;
|
|
41
|
+
height?: tHeightProps;
|
|
42
42
|
justifyContent?: flexJustifyContentPropsType;
|
|
43
43
|
position?: positionPropsType;
|
|
44
|
-
shape?:
|
|
45
|
-
width?:
|
|
44
|
+
shape?: tShapeProps;
|
|
45
|
+
width?: tWidthProps;
|
|
46
46
|
wrap?: flexWrapPropsType;
|
|
47
47
|
desc?: string;
|
|
48
|
-
descTextColor?:
|
|
49
|
-
descTextSize?:
|
|
50
|
-
descTextWeight?:
|
|
48
|
+
descTextColor?: tTextColorProps;
|
|
49
|
+
descTextSize?: tTextSizeProps;
|
|
50
|
+
descTextWeight?: tTextWeightProps;
|
|
51
51
|
title?: string;
|
|
52
|
-
titleTextColor?:
|
|
53
|
-
titleTextSize?:
|
|
54
|
-
titleTextWeight?:
|
|
52
|
+
titleTextColor?: tTextColorProps;
|
|
53
|
+
titleTextSize?: tTextSizeProps;
|
|
54
|
+
titleTextWeight?: tTextWeightProps;
|
|
55
55
|
}
|
|
56
56
|
export {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { borderColorHoverPropsType,
|
|
4
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { borderColorHoverPropsType, tBorderColorProps, tBorderWidthProps, tFillProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface IRadioThemeColor {
|
|
6
|
-
descTextColor?:
|
|
7
|
-
descTextSize?:
|
|
8
|
-
descTextWeight?:
|
|
9
|
-
fill?:
|
|
10
|
-
labelTextColor?:
|
|
11
|
-
labelTextSize?:
|
|
12
|
-
labelTextWeight?:
|
|
13
|
-
shape?:
|
|
14
|
-
stateBorderColor?:
|
|
15
|
-
stateBorderColorChecked?:
|
|
16
|
-
stateBorderColorDisabled?:
|
|
17
|
-
stateBorderColorDisabledChecked?:
|
|
6
|
+
descTextColor?: tTextColorProps;
|
|
7
|
+
descTextSize?: tTextSizeProps;
|
|
8
|
+
descTextWeight?: tTextWeightProps;
|
|
9
|
+
fill?: tFillProps;
|
|
10
|
+
labelTextColor?: tTextColorProps;
|
|
11
|
+
labelTextSize?: tTextSizeProps;
|
|
12
|
+
labelTextWeight?: tTextWeightProps;
|
|
13
|
+
shape?: tShapeProps;
|
|
14
|
+
stateBorderColor?: tBorderColorProps;
|
|
15
|
+
stateBorderColorChecked?: tBorderColorProps;
|
|
16
|
+
stateBorderColorDisabled?: tBorderColorProps;
|
|
17
|
+
stateBorderColorDisabledChecked?: tBorderColorProps;
|
|
18
18
|
stateBorderColorHover?: borderColorHoverPropsType;
|
|
19
19
|
stateBorderColorHoverChecked?: borderColorHoverPropsType;
|
|
20
|
-
stateBorderWidth?:
|
|
21
|
-
stateCheckmarkFill?:
|
|
22
|
-
stateCheckmarkFillDisabled?:
|
|
23
|
-
stateFill?:
|
|
24
|
-
stateFillChecked?:
|
|
25
|
-
stateFillDisabled?:
|
|
26
|
-
stateFillDisabledChecked?:
|
|
27
|
-
stateShape?:
|
|
20
|
+
stateBorderWidth?: tBorderWidthProps;
|
|
21
|
+
stateCheckmarkFill?: tItemColorProps;
|
|
22
|
+
stateCheckmarkFillDisabled?: tItemColorProps;
|
|
23
|
+
stateFill?: tFillProps;
|
|
24
|
+
stateFillChecked?: tFillProps;
|
|
25
|
+
stateFillDisabled?: tFillProps;
|
|
26
|
+
stateFillDisabledChecked?: tFillProps;
|
|
27
|
+
stateShape?: tShapeProps;
|
|
28
28
|
}
|
|
29
|
-
type appearanceKeysType =
|
|
29
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
30
30
|
export type radioStateType = {
|
|
31
31
|
[key in appearanceKeysType]?: IRadioThemeColor;
|
|
32
32
|
};
|
|
@@ -39,7 +39,7 @@ export interface IRadioConfig {
|
|
|
39
39
|
appearance: radioAppearanceType | undefined;
|
|
40
40
|
setAppearance: (newComponent: radioAppearanceType) => void;
|
|
41
41
|
}
|
|
42
|
-
export interface IRadioProps extends IRadioThemeColor,
|
|
42
|
+
export interface IRadioProps extends IRadioThemeColor, iStyleAttributes {
|
|
43
43
|
appearance?: appearanceKeysType;
|
|
44
44
|
checked?: boolean;
|
|
45
45
|
className?: string;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface IRangeSliderProps extends
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { tFillProps, tItemColorProps, tShapeProps, tWidthProps } from '../../types';
|
|
4
|
+
export interface IRangeSliderProps extends iStyleAttributes {
|
|
5
5
|
after?: ReactNode;
|
|
6
6
|
before?: ReactNode;
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
className?: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
|
-
fill?:
|
|
11
|
-
fillHandle?:
|
|
12
|
-
fillHandleDragging?:
|
|
13
|
-
fillHandleDraggingHover?:
|
|
14
|
-
fillHandleHover?:
|
|
15
|
-
fillRail?:
|
|
16
|
-
fillTrack?:
|
|
10
|
+
fill?: tFillProps;
|
|
11
|
+
fillHandle?: tItemColorProps;
|
|
12
|
+
fillHandleDragging?: tItemColorProps;
|
|
13
|
+
fillHandleDraggingHover?: tItemColorProps;
|
|
14
|
+
fillHandleHover?: tItemColorProps;
|
|
15
|
+
fillRail?: tFillProps;
|
|
16
|
+
fillTrack?: tFillProps;
|
|
17
17
|
max?: number;
|
|
18
18
|
min?: number;
|
|
19
19
|
pushable?: boolean;
|
|
20
20
|
range?: boolean;
|
|
21
21
|
set?: string;
|
|
22
|
-
shape?:
|
|
22
|
+
shape?: tShapeProps;
|
|
23
23
|
style?: CSSProperties;
|
|
24
24
|
value?: number;
|
|
25
25
|
vertical?: boolean;
|
|
26
|
-
width?:
|
|
26
|
+
width?: tWidthProps;
|
|
27
27
|
onChangeSlider?: () => void;
|
|
28
28
|
}
|
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { borderColorHoverPropsType,
|
|
4
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, titleSizePropsType, tWidthProps } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface IResponseThemeColor {
|
|
6
|
-
borderColor?:
|
|
6
|
+
borderColor?: tBorderColorProps;
|
|
7
7
|
borderColorHover?: borderColorHoverPropsType;
|
|
8
8
|
borderType?: borderTypePropsType;
|
|
9
|
-
borderWidth?:
|
|
10
|
-
fill?:
|
|
11
|
-
fillHover?:
|
|
9
|
+
borderWidth?: tBorderWidthProps;
|
|
10
|
+
fill?: tFillProps;
|
|
11
|
+
fillHover?: tFillHoverProps;
|
|
12
12
|
imageSrc?: string;
|
|
13
|
-
messageTextColor?:
|
|
14
|
-
messageTextSize?:
|
|
13
|
+
messageTextColor?: tTextColorProps;
|
|
14
|
+
messageTextSize?: tTextSizeProps;
|
|
15
|
+
messageTextWeight?: tTextWeightProps;
|
|
15
16
|
primaryButtonAppearance?: appearanceKeysType;
|
|
16
|
-
primaryButtonFill?:
|
|
17
|
-
primaryButtonFillHover?:
|
|
17
|
+
primaryButtonFill?: tFillProps;
|
|
18
|
+
primaryButtonFillHover?: tFillHoverProps;
|
|
18
19
|
primaryButtonLabel?: string;
|
|
19
|
-
primaryButtonLabelTextColor?:
|
|
20
|
-
primaryButtonLabelTextSize?:
|
|
21
|
-
primaryButtonShape?:
|
|
22
|
-
primaryButtonSize?:
|
|
23
|
-
primaryButtonWidth?:
|
|
20
|
+
primaryButtonLabelTextColor?: tTextColorProps;
|
|
21
|
+
primaryButtonLabelTextSize?: tTextSizeProps;
|
|
22
|
+
primaryButtonShape?: tShapeProps;
|
|
23
|
+
primaryButtonSize?: tSizeProps;
|
|
24
|
+
primaryButtonWidth?: tWidthProps;
|
|
24
25
|
secondaryButtonAppearance?: appearanceKeysType;
|
|
25
|
-
secondaryButtonFill?:
|
|
26
|
-
secondaryButtonFillHover?:
|
|
26
|
+
secondaryButtonFill?: tFillProps;
|
|
27
|
+
secondaryButtonFillHover?: tFillHoverProps;
|
|
27
28
|
secondaryButtonLabel?: string;
|
|
28
|
-
secondaryButtonLabelTextColor?:
|
|
29
|
-
secondaryButtonLabelTextSize?:
|
|
30
|
-
secondaryButtonShape?:
|
|
31
|
-
secondaryButtonSize?:
|
|
32
|
-
secondaryButtonWidth?:
|
|
33
|
-
shape?:
|
|
34
|
-
titleTextColor?:
|
|
29
|
+
secondaryButtonLabelTextColor?: tTextColorProps;
|
|
30
|
+
secondaryButtonLabelTextSize?: tTextSizeProps;
|
|
31
|
+
secondaryButtonShape?: tShapeProps;
|
|
32
|
+
secondaryButtonSize?: tSizeProps;
|
|
33
|
+
secondaryButtonWidth?: tWidthProps;
|
|
34
|
+
shape?: tShapeProps;
|
|
35
|
+
titleTextColor?: tTextColorProps;
|
|
35
36
|
titleTextSize?: titleSizePropsType;
|
|
36
|
-
titleTextWeight?:
|
|
37
|
+
titleTextWeight?: tTextWeightProps;
|
|
37
38
|
}
|
|
38
|
-
type appearanceKeysType =
|
|
39
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
39
40
|
export type responseAppearanceType = {
|
|
40
41
|
[key in appearanceKeysType]?: IResponseThemeColor;
|
|
41
42
|
};
|
|
@@ -43,7 +44,7 @@ export interface IResponseConfig {
|
|
|
43
44
|
appearance: responseAppearanceType | undefined;
|
|
44
45
|
setAppearance: (newComponent: responseAppearanceType) => void;
|
|
45
46
|
}
|
|
46
|
-
export interface IResponseProps extends IResponseThemeColor,
|
|
47
|
+
export interface IResponseProps extends IResponseThemeColor, iStyleAttributes {
|
|
47
48
|
after?: ReactNode;
|
|
48
49
|
appearance?: appearanceKeysType;
|
|
49
50
|
before?: ReactNode;
|
|
@@ -55,6 +56,7 @@ export interface IResponseProps extends IResponseThemeColor, TypeStyleAttributes
|
|
|
55
56
|
secondaryButton?: boolean;
|
|
56
57
|
secondaryButtonAfter?: ReactNode;
|
|
57
58
|
secondaryButtonBefore?: ReactNode;
|
|
59
|
+
messageTextWeight?: tTextWeightProps;
|
|
58
60
|
set?: string;
|
|
59
61
|
style?: CSSProperties;
|
|
60
62
|
title?: string;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import ScrollContainer from 'react-indiana-drag-scroll';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export interface IScrollOnDragProps extends
|
|
6
|
-
borderColor?:
|
|
3
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
4
|
+
import { tBorderColorProps, borderTypePropsType, tBorderWidthProps, elevationPropsType, tFillHoverProps, tFillProps, tHeightProps, tWidthProps } from '../../types';
|
|
5
|
+
export interface IScrollOnDragProps extends iStyleAttributes {
|
|
6
|
+
borderColor?: tBorderColorProps;
|
|
7
7
|
borderType?: borderTypePropsType;
|
|
8
|
-
borderWidth?:
|
|
8
|
+
borderWidth?: tBorderWidthProps;
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
className?: string;
|
|
11
11
|
elevation?: elevationPropsType;
|
|
12
|
-
fill?:
|
|
13
|
-
fillHover?:
|
|
14
|
-
height?:
|
|
12
|
+
fill?: tFillProps;
|
|
13
|
+
fillHover?: tFillHoverProps;
|
|
14
|
+
height?: tHeightProps;
|
|
15
15
|
scrollContainerProps?: typeof ScrollContainer;
|
|
16
16
|
style?: CSSProperties;
|
|
17
|
-
width?:
|
|
17
|
+
width?: tWidthProps;
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface IScrollbarProps extends
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
export interface IScrollbarProps extends iStyleAttributes {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
noDefaultStyles?: boolean;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { borderColorHoverPropsType,
|
|
4
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillProps, iconSizePropsType, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, textStylePropsType, tTextWeightProps, tWidthProps } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface ISearchThemeColor {
|
|
6
|
-
borderColor?:
|
|
6
|
+
borderColor?: tBorderColorProps;
|
|
7
7
|
borderHover?: borderColorHoverPropsType;
|
|
8
8
|
borderType?: borderTypePropsType;
|
|
9
|
-
borderWidth?:
|
|
10
|
-
fill?:
|
|
11
|
-
iconAfterFill?:
|
|
9
|
+
borderWidth?: tBorderWidthProps;
|
|
10
|
+
fill?: tFillProps;
|
|
11
|
+
iconAfterFill?: tItemColorProps;
|
|
12
12
|
iconAfterSize?: iconSizePropsType;
|
|
13
|
-
iconBeforeFill?:
|
|
13
|
+
iconBeforeFill?: tItemColorProps;
|
|
14
14
|
iconBeforeSize?: iconSizePropsType;
|
|
15
|
-
iconClearFill?:
|
|
15
|
+
iconClearFill?: tItemColorProps;
|
|
16
16
|
iconClearSize?: iconSizePropsType;
|
|
17
|
-
inputFill?:
|
|
18
|
-
inputShape?:
|
|
19
|
-
inputTextColor?:
|
|
20
|
-
inputTextSize?:
|
|
17
|
+
inputFill?: tFillProps;
|
|
18
|
+
inputShape?: tShapeProps;
|
|
19
|
+
inputTextColor?: tTextColorProps;
|
|
20
|
+
inputTextSize?: tTextSizeProps;
|
|
21
21
|
inputTextStyle?: textStylePropsType;
|
|
22
|
-
inputTextWeight?:
|
|
23
|
-
placeholderTextColor?:
|
|
24
|
-
placeholderTextSize?:
|
|
22
|
+
inputTextWeight?: tTextWeightProps;
|
|
23
|
+
placeholderTextColor?: tTextColorProps;
|
|
24
|
+
placeholderTextSize?: tTextSizeProps;
|
|
25
25
|
placeholderTextStyle?: textStylePropsType;
|
|
26
|
-
placeholderTextWeight?:
|
|
27
|
-
shape?:
|
|
26
|
+
placeholderTextWeight?: tTextWeightProps;
|
|
27
|
+
shape?: tShapeProps;
|
|
28
28
|
size?: 'compact' | 'normal' | 's' | 'l';
|
|
29
|
-
width?:
|
|
29
|
+
width?: tWidthProps;
|
|
30
30
|
}
|
|
31
|
-
type appearanceKeysType =
|
|
31
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
32
32
|
export type searchAppearanceType = {
|
|
33
33
|
[key in appearanceKeysType]?: ISearchThemeColor;
|
|
34
34
|
};
|
|
@@ -36,7 +36,7 @@ export interface ISearchConfig {
|
|
|
36
36
|
appearance: searchAppearanceType | undefined;
|
|
37
37
|
setAppearance: (newComponent: searchAppearanceType) => void;
|
|
38
38
|
}
|
|
39
|
-
export interface ISearchProps extends ISearchThemeColor,
|
|
39
|
+
export interface ISearchProps extends ISearchThemeColor, iStyleAttributes {
|
|
40
40
|
after?: ReactNode;
|
|
41
41
|
appearance?: appearanceKeysType;
|
|
42
42
|
before?: ReactNode;
|
|
@@ -57,12 +57,12 @@ export interface ISearchProps extends ISearchThemeColor, TypeStyleAttributes {
|
|
|
57
57
|
onFocus?: (() => void) | undefined;
|
|
58
58
|
onKeyDown?: (() => void) | undefined;
|
|
59
59
|
}
|
|
60
|
-
export interface ISearchResultProps extends
|
|
60
|
+
export interface ISearchResultProps extends iStyleAttributes {
|
|
61
61
|
after?: ReactNode;
|
|
62
62
|
before?: ReactNode;
|
|
63
63
|
children?: ReactNode;
|
|
64
64
|
className?: string;
|
|
65
|
-
fill?:
|
|
65
|
+
fill?: tFillProps;
|
|
66
66
|
scrollHeight: number | string;
|
|
67
67
|
type?: string;
|
|
68
68
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
2
|
+
import { tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, textColorActivePropsType, tTextColorProps, tTextSizeProps, textWrapPropsType, tWidthProps } from '../../types';
|
|
3
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
4
4
|
export interface ISegmentedThemeColor {
|
|
5
5
|
borderType?: borderTypePropsType;
|
|
6
|
-
borderWidth?:
|
|
7
|
-
fill?:
|
|
8
|
-
fillHover?:
|
|
9
|
-
indicatorFill?:
|
|
10
|
-
inputBorderColor?:
|
|
6
|
+
borderWidth?: tBorderWidthProps;
|
|
7
|
+
fill?: tFillProps;
|
|
8
|
+
fillHover?: tFillHoverProps;
|
|
9
|
+
indicatorFill?: tItemColorProps;
|
|
10
|
+
inputBorderColor?: tBorderColorProps;
|
|
11
11
|
labelTextActiveColor?: textColorActivePropsType;
|
|
12
|
-
labelTextColor?:
|
|
13
|
-
labelTextSize?:
|
|
12
|
+
labelTextColor?: tTextColorProps;
|
|
13
|
+
labelTextSize?: tTextSizeProps;
|
|
14
14
|
labelTextWrap?: textWrapPropsType;
|
|
15
|
-
shape?:
|
|
16
|
-
width?:
|
|
15
|
+
shape?: tShapeProps;
|
|
16
|
+
width?: tWidthProps;
|
|
17
17
|
}
|
|
18
|
-
type appearanceKeysType =
|
|
18
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
19
19
|
export type segmentedAppearanceType = {
|
|
20
20
|
[key in appearanceKeysType]?: ISegmentedThemeColor;
|
|
21
21
|
};
|
|
@@ -27,7 +27,7 @@ interface ISegment {
|
|
|
27
27
|
value: string;
|
|
28
28
|
label: string;
|
|
29
29
|
}
|
|
30
|
-
export interface ISegmentedProps extends ISegmentedThemeColor,
|
|
30
|
+
export interface ISegmentedProps extends ISegmentedThemeColor, iStyleAttributes {
|
|
31
31
|
activeSegment?: any;
|
|
32
32
|
appearance?: appearanceKeysType;
|
|
33
33
|
className?: string;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface ISiteMenuProps extends
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { tFillProps, iconSizePropsType, textColorHoverPropsType, tTextColorProps, tTextSizeProps } from '../../types';
|
|
4
|
+
export interface ISiteMenuProps extends iStyleAttributes {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
className?: string;
|
|
7
7
|
closeText?: string;
|
|
8
|
-
closeTextColor?:
|
|
8
|
+
closeTextColor?: tTextColorProps;
|
|
9
9
|
closeTextColorHover?: textColorHoverPropsType;
|
|
10
|
-
closeTextSize?:
|
|
11
|
-
fill?:
|
|
10
|
+
closeTextSize?: tTextSizeProps;
|
|
11
|
+
fill?: tFillProps;
|
|
12
12
|
iconClose?: ReactNode;
|
|
13
|
-
iconCloseBgFill?:
|
|
14
|
-
iconCloseFill?:
|
|
13
|
+
iconCloseBgFill?: tFillProps;
|
|
14
|
+
iconCloseFill?: tFillProps;
|
|
15
15
|
iconCloseSize?: iconSizePropsType;
|
|
16
16
|
onClose?: () => void;
|
|
17
17
|
}
|
|
18
|
-
export interface ISiteMenuButtonProps extends
|
|
18
|
+
export interface ISiteMenuButtonProps extends iStyleAttributes {
|
|
19
19
|
children?: ReactNode;
|
|
20
20
|
className?: string;
|
|
21
21
|
text?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode, type Ref } from 'react';
|
|
2
2
|
import { SwiperClass, type SwiperRef } from 'swiper/react';
|
|
3
3
|
import { SwiperModule, SwiperOptions } from 'swiper/types';
|
|
4
|
-
import {
|
|
5
|
-
import { alignDirectionPropsType, alignPropsType,
|
|
6
|
-
export interface ISwiperProps extends
|
|
4
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
5
|
+
import { alignDirectionPropsType, alignPropsType, tFillProps, tShapeProps, tTextColorProps, tTextWeightProps, titleSizePropsType } from '../../types';
|
|
6
|
+
export interface ISwiperProps extends iStyleAttributes {
|
|
7
7
|
activeSlideIndex?: number;
|
|
8
8
|
align?: alignPropsType;
|
|
9
9
|
alignDirection?: alignDirectionPropsType;
|
|
@@ -16,7 +16,7 @@ export interface ISwiperProps extends TypeStyleAttributes {
|
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
className?: string;
|
|
18
18
|
direction?: 'horizontal' | 'vertical';
|
|
19
|
-
fill?:
|
|
19
|
+
fill?: tFillProps;
|
|
20
20
|
forwardedRef: Ref<SwiperRef>;
|
|
21
21
|
freeMode?: boolean;
|
|
22
22
|
id?: string;
|
|
@@ -34,7 +34,7 @@ export interface ISwiperProps extends TypeStyleAttributes {
|
|
|
34
34
|
set?: string;
|
|
35
35
|
setNextBtnDisabled?: (isDisabled: boolean) => void;
|
|
36
36
|
setPrevBtnDisabled?: (isDisabled: boolean) => void;
|
|
37
|
-
shape?:
|
|
37
|
+
shape?: tShapeProps;
|
|
38
38
|
simulateTouch?: boolean;
|
|
39
39
|
slidesPerView?: number | 'auto';
|
|
40
40
|
spaceBetween?: string | number;
|
|
@@ -45,8 +45,8 @@ export interface ISwiperProps extends TypeStyleAttributes {
|
|
|
45
45
|
title?: string;
|
|
46
46
|
titleAfter?: ReactNode;
|
|
47
47
|
titleSize?: titleSizePropsType;
|
|
48
|
-
titleTextColor?:
|
|
49
|
-
titleWeight?:
|
|
48
|
+
titleTextColor?: tTextColorProps;
|
|
49
|
+
titleWeight?: tTextWeightProps;
|
|
50
50
|
isChangeOnClickSlide?: boolean;
|
|
51
51
|
isInit?: boolean;
|
|
52
52
|
isNavigation?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ISwitchProps extends
|
|
1
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
2
|
+
export interface ISwitchProps extends iStyleAttributes {
|
|
3
3
|
checked?: boolean;
|
|
4
4
|
className?: string;
|
|
5
5
|
disabled?: boolean;
|