@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,10 +1,10 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
type appearanceKeysType =
|
|
6
|
-
export interface ICellProps extends
|
|
7
|
-
direction?:
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { tDirectionProps, tFillProps, iconFillSizePropsType, tItemColorProps, tShapeProps, tSizeProps, textAlignPropsType, tTextColorProps, tTextSizeProps, tTextWeightProps, textWrapPropsType } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
6
|
+
export interface ICellProps extends iStyleAttributes {
|
|
7
|
+
direction?: tDirectionProps;
|
|
8
8
|
after?: ReactNode;
|
|
9
9
|
before?: ReactNode;
|
|
10
10
|
className?: string;
|
|
@@ -15,44 +15,44 @@ export interface ICellProps extends TypeStyleAttributes {
|
|
|
15
15
|
set?: string;
|
|
16
16
|
showTitleLabel?: boolean;
|
|
17
17
|
showValueLabel?: boolean;
|
|
18
|
-
size?:
|
|
18
|
+
size?: tSizeProps;
|
|
19
19
|
title?: any;
|
|
20
20
|
titleIcon?: ElementType;
|
|
21
|
-
titleIconFill?:
|
|
22
|
-
titleIconFillHover?:
|
|
21
|
+
titleIconFill?: tFillProps;
|
|
22
|
+
titleIconFillHover?: tItemColorProps;
|
|
23
23
|
titleIconFillSize?: iconFillSizePropsType;
|
|
24
|
-
titleIconItemFill?:
|
|
25
|
-
titleIconShape?:
|
|
24
|
+
titleIconItemFill?: tItemColorProps;
|
|
25
|
+
titleIconShape?: tShapeProps;
|
|
26
26
|
titleIconSrc?: string;
|
|
27
27
|
titleLabel?: string;
|
|
28
28
|
titleLabelAppearance?: appearanceKeysType;
|
|
29
|
-
titleLabelShape?:
|
|
30
|
-
titleLabelSize?:
|
|
31
|
-
titleLabelTextSize?:
|
|
29
|
+
titleLabelShape?: tShapeProps;
|
|
30
|
+
titleLabelSize?: tSizeProps;
|
|
31
|
+
titleLabelTextSize?: tTextSizeProps;
|
|
32
32
|
titleTag?: ElementType;
|
|
33
|
-
titleTextColor?:
|
|
34
|
-
titleTextSize?:
|
|
33
|
+
titleTextColor?: tTextColorProps;
|
|
34
|
+
titleTextSize?: tTextSizeProps;
|
|
35
35
|
titleTextTruncate?: boolean;
|
|
36
|
-
titleTextWeight?:
|
|
36
|
+
titleTextWeight?: tTextWeightProps;
|
|
37
37
|
titleTextWrap?: textWrapPropsType;
|
|
38
38
|
value?: any;
|
|
39
39
|
valueIcon?: ElementType;
|
|
40
|
-
valueIconFill?:
|
|
41
|
-
valueIconFillHover?:
|
|
40
|
+
valueIconFill?: tFillProps;
|
|
41
|
+
valueIconFillHover?: tItemColorProps;
|
|
42
42
|
valueIconFillSize?: iconFillSizePropsType;
|
|
43
|
-
valueIconItemFill?:
|
|
44
|
-
valueIconShape?:
|
|
43
|
+
valueIconItemFill?: tItemColorProps;
|
|
44
|
+
valueIconShape?: tShapeProps;
|
|
45
45
|
valueIconSrc?: string;
|
|
46
46
|
valueLabel?: string;
|
|
47
47
|
valueLabelAppearance?: appearanceKeysType;
|
|
48
|
-
valueLabelShape?:
|
|
49
|
-
valueLabelSize?:
|
|
50
|
-
valueLabelTextSize?:
|
|
48
|
+
valueLabelShape?: tShapeProps;
|
|
49
|
+
valueLabelSize?: tSizeProps;
|
|
50
|
+
valueLabelTextSize?: tTextSizeProps;
|
|
51
51
|
valueTag?: ElementType;
|
|
52
52
|
valueTextAlign?: textAlignPropsType;
|
|
53
|
-
valueTextColor?:
|
|
54
|
-
valueTextSize?:
|
|
55
|
-
valueTextWeight?:
|
|
53
|
+
valueTextColor?: tTextColorProps;
|
|
54
|
+
valueTextSize?: tTextSizeProps;
|
|
55
|
+
valueTextWeight?: tTextWeightProps;
|
|
56
56
|
valueTextWrap?: textWrapPropsType;
|
|
57
57
|
zeroGap?: boolean;
|
|
58
58
|
zeroPadding?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const checkboxConfig:
|
|
3
|
-
declare function Checkbox(props:
|
|
1
|
+
import type { iCheckboxConfig, iCheckboxProps } from './Checkbox.interface';
|
|
2
|
+
declare const checkboxConfig: iCheckboxConfig;
|
|
3
|
+
declare function Checkbox(props: iCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Checkbox {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
tag: string;
|
|
@@ -1,57 +1,56 @@
|
|
|
1
|
-
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
descTextSize?: textSizePropsType;
|
|
8
|
-
descTextWeight?: textWeightPropsType;
|
|
9
|
-
fill?: fillPropsType;
|
|
10
|
-
labelTextColor?: textColorPropsType;
|
|
11
|
-
labelTextSize?: textSizePropsType;
|
|
12
|
-
labelTextWeight?: textWeightPropsType;
|
|
13
|
-
shape?: shapePropsType;
|
|
14
|
-
stateBorderColor?: borderColorPropsType;
|
|
15
|
-
stateBorderColorChecked?: borderColorPropsType;
|
|
16
|
-
stateBorderColorDisabled?: borderColorPropsType;
|
|
17
|
-
stateBorderColorDisabledChecked?: borderColorPropsType;
|
|
18
|
-
stateBorderWidth?: borderWidthPropsType;
|
|
19
|
-
stateCheckmarkFill?: itemColorPropsType;
|
|
20
|
-
stateCheckmarkFillDisabled?: itemColorPropsType;
|
|
21
|
-
stateFill?: fillPropsType;
|
|
22
|
-
stateFillChecked?: fillPropsType;
|
|
23
|
-
stateFillDisabled?: fillPropsType;
|
|
24
|
-
stateFillDisabledChecked?: fillPropsType;
|
|
25
|
-
stateShape?: shapePropsType;
|
|
26
|
-
width?: widthPropsType;
|
|
27
|
-
}
|
|
28
|
-
type appearanceKeysType = appearanceKeysDefaultType & {};
|
|
29
|
-
export type checkboxStateType = {
|
|
30
|
-
[key in appearanceKeysType]?: ICheckboxThemeColor;
|
|
1
|
+
import type { ElementType, ReactNode } from 'react';
|
|
2
|
+
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import type { tBorderColorProps, tBorderWidthProps, tFillProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
4
|
+
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
|
+
type tCheckboxState = {
|
|
6
|
+
[key in tAppearanceKeysDefault]?: iCheckboxThemeColor;
|
|
31
7
|
};
|
|
32
|
-
|
|
33
|
-
[key in
|
|
8
|
+
type tCheckboxAppearance = {
|
|
9
|
+
[key in tAppearanceKeysDefault]?: iCheckboxThemeColor;
|
|
34
10
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
interface iCheckboxThemeColor {
|
|
12
|
+
descTextColor?: tTextColorProps;
|
|
13
|
+
descTextSize?: tTextSizeProps;
|
|
14
|
+
descTextWeight?: tTextWeightProps;
|
|
15
|
+
fill?: tFillProps;
|
|
16
|
+
labelTextColor?: tTextColorProps;
|
|
17
|
+
labelTextSize?: tTextSizeProps;
|
|
18
|
+
labelTextWeight?: tTextWeightProps;
|
|
19
|
+
shape?: tShapeProps;
|
|
20
|
+
stateBorderColor?: tBorderColorProps;
|
|
21
|
+
stateBorderColorChecked?: tBorderColorProps;
|
|
22
|
+
stateBorderColorDisabled?: tBorderColorProps;
|
|
23
|
+
stateBorderColorDisabledChecked?: tBorderColorProps;
|
|
24
|
+
stateBorderWidth?: tBorderWidthProps;
|
|
25
|
+
stateCheckmarkFill?: tItemColorProps;
|
|
26
|
+
stateCheckmarkFillDisabled?: tItemColorProps;
|
|
27
|
+
stateFill?: tFillProps;
|
|
28
|
+
stateFillChecked?: tFillProps;
|
|
29
|
+
stateFillDisabled?: tFillProps;
|
|
30
|
+
stateFillDisabledChecked?: tFillProps;
|
|
31
|
+
stateShape?: tShapeProps;
|
|
32
|
+
width?: tWidthProps;
|
|
33
|
+
}
|
|
34
|
+
interface iCheckboxConfig {
|
|
35
|
+
appearance: tCheckboxAppearance | undefined;
|
|
36
|
+
state: tCheckboxState | undefined;
|
|
37
|
+
setAppearance: (newComponent: tCheckboxAppearance) => void;
|
|
38
|
+
setState: (newComponent: tCheckboxState) => void;
|
|
40
39
|
}
|
|
41
|
-
|
|
40
|
+
interface iCheckboxProps extends iCheckboxThemeColor, iStyleAttributes {
|
|
41
|
+
id?: number | string;
|
|
42
42
|
Tag?: ElementType;
|
|
43
43
|
after?: ReactNode;
|
|
44
|
-
appearance?:
|
|
44
|
+
appearance?: tAppearanceKeysDefault;
|
|
45
45
|
before?: ReactNode;
|
|
46
46
|
checked?: boolean;
|
|
47
47
|
className?: string;
|
|
48
48
|
desc?: string;
|
|
49
49
|
disabled?: boolean;
|
|
50
|
-
id?: number | string;
|
|
51
50
|
label?: string;
|
|
52
51
|
value?: string;
|
|
53
|
-
onBlur?: () => void;
|
|
54
|
-
onChange?: () => void;
|
|
55
|
-
onFocus?: () => void;
|
|
52
|
+
onBlur?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
53
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
54
|
+
onFocus?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
56
55
|
}
|
|
57
|
-
export {};
|
|
56
|
+
export type { iCheckboxThemeColor, tCheckboxState, tCheckboxAppearance, iCheckboxConfig, iCheckboxProps, };
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { alignDirectionPropsType, alignPropsType,
|
|
4
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { alignDirectionPropsType, alignPropsType, tBorderColorProps, borderTypePropsType, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface IChipsThemeColor {
|
|
6
6
|
align?: alignPropsType;
|
|
7
7
|
alignDirection?: alignDirectionPropsType;
|
|
8
|
-
borderColor?:
|
|
9
|
-
borderColorDesktop?:
|
|
10
|
-
borderColorMobile?:
|
|
11
|
-
borderColorTablet?:
|
|
8
|
+
borderColor?: tBorderColorProps;
|
|
9
|
+
borderColorDesktop?: tBorderColorProps;
|
|
10
|
+
borderColorMobile?: tBorderColorProps;
|
|
11
|
+
borderColorTablet?: tBorderColorProps;
|
|
12
12
|
borderType?: borderTypePropsType;
|
|
13
13
|
borderTypeDesktop?: borderTypePropsType;
|
|
14
14
|
borderTypeMobile?: borderTypePropsType;
|
|
15
15
|
borderTypeTablet?: borderTypePropsType;
|
|
16
|
-
fill?:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
fill?: tFillProps;
|
|
17
|
+
fillActive?: tFillProps;
|
|
18
|
+
fillHover?: tFillHoverProps;
|
|
19
|
+
labelTextActiveColor?: tTextColorProps;
|
|
20
|
+
labelTextColor?: tTextColorProps;
|
|
21
|
+
labelTextSize?: tTextSizeProps;
|
|
22
|
+
labelTextWeight?: tTextWeightProps;
|
|
23
|
+
shape?: tShapeProps;
|
|
24
|
+
size?: tSizeProps;
|
|
23
25
|
}
|
|
24
|
-
type appearanceKeysType =
|
|
26
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
25
27
|
export type chipsAppearanceType = {
|
|
26
28
|
[key in appearanceKeysType]?: IChipsThemeColor;
|
|
27
29
|
};
|
|
@@ -29,11 +31,12 @@ export interface IChipsConfig {
|
|
|
29
31
|
appearance: chipsAppearanceType | undefined;
|
|
30
32
|
setAppearance: (newComponent: chipsAppearanceType) => void;
|
|
31
33
|
}
|
|
32
|
-
export interface IChipsProps extends IChipsThemeColor,
|
|
34
|
+
export interface IChipsProps extends IChipsThemeColor, iStyleAttributes {
|
|
33
35
|
appearance?: appearanceKeysType;
|
|
34
36
|
children?: ReactNode;
|
|
35
37
|
className?: string;
|
|
36
38
|
cursor?: string;
|
|
39
|
+
isActive?: boolean;
|
|
37
40
|
label?: string;
|
|
38
41
|
style?: CSSProperties;
|
|
39
42
|
type?: string;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillHoverProps, tFillProps, iconSizePropsType, tItemColorProps, tShapeProps, sizeOptionPropsType, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface IChoiceThemeColor {
|
|
6
|
-
activeIconItemFill?:
|
|
7
|
-
borderColor?:
|
|
6
|
+
activeIconItemFill?: tItemColorProps;
|
|
7
|
+
borderColor?: tBorderColorProps;
|
|
8
8
|
borderType?: borderTypePropsType;
|
|
9
|
-
borderWidth?:
|
|
10
|
-
fill?:
|
|
11
|
-
fillActive?:
|
|
12
|
-
fillActiveDisabled?:
|
|
13
|
-
fillDisabled?:
|
|
14
|
-
fillHover?:
|
|
15
|
-
iconFillDisabled?:
|
|
16
|
-
iconItemFill?:
|
|
9
|
+
borderWidth?: tBorderWidthProps;
|
|
10
|
+
fill?: tFillProps;
|
|
11
|
+
fillActive?: tFillProps;
|
|
12
|
+
fillActiveDisabled?: tFillProps;
|
|
13
|
+
fillDisabled?: tFillProps;
|
|
14
|
+
fillHover?: tFillHoverProps;
|
|
15
|
+
iconFillDisabled?: tItemColorProps;
|
|
16
|
+
iconItemFill?: tItemColorProps;
|
|
17
17
|
iconSize?: iconSizePropsType;
|
|
18
|
-
labelTextActiveColor?:
|
|
19
|
-
labelTextActiveColorDisabled?:
|
|
20
|
-
labelTextColor?:
|
|
21
|
-
labelTextColorDisabled?:
|
|
22
|
-
labelTextWeight?:
|
|
23
|
-
labelTextSize?:
|
|
24
|
-
shape?:
|
|
18
|
+
labelTextActiveColor?: tTextColorProps;
|
|
19
|
+
labelTextActiveColorDisabled?: tTextColorProps;
|
|
20
|
+
labelTextColor?: tTextColorProps;
|
|
21
|
+
labelTextColorDisabled?: tTextColorProps;
|
|
22
|
+
labelTextWeight?: tTextWeightProps;
|
|
23
|
+
labelTextSize?: tTextSizeProps;
|
|
24
|
+
shape?: tShapeProps;
|
|
25
25
|
}
|
|
26
|
-
type appearanceKeysType =
|
|
26
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
27
27
|
export type choiceAppearanceType = {
|
|
28
28
|
[key in appearanceKeysType]?: IChoiceThemeColor;
|
|
29
29
|
};
|
|
@@ -31,13 +31,13 @@ export interface IChoiceConfig {
|
|
|
31
31
|
appearance: choiceAppearanceType | undefined;
|
|
32
32
|
setAppearance: (newComponent: choiceAppearanceType) => void;
|
|
33
33
|
}
|
|
34
|
-
export interface IChoiceProps extends IChoiceThemeColor,
|
|
34
|
+
export interface IChoiceProps extends IChoiceThemeColor, iStyleAttributes {
|
|
35
35
|
appearance?: appearanceKeysType;
|
|
36
36
|
active: {
|
|
37
37
|
value: ReactNode;
|
|
38
38
|
};
|
|
39
39
|
activeIcon?: ReactNode;
|
|
40
|
-
activeIconItemFill?:
|
|
40
|
+
activeIconItemFill?: tItemColorProps;
|
|
41
41
|
after?: ReactNode;
|
|
42
42
|
before?: ReactNode;
|
|
43
43
|
className?: string;
|
|
@@ -48,8 +48,8 @@ export interface IChoiceProps extends IChoiceThemeColor, TypeStyleAttributes {
|
|
|
48
48
|
options: {
|
|
49
49
|
value: string;
|
|
50
50
|
label: ReactNode;
|
|
51
|
-
activeIconItemFill:
|
|
52
|
-
iconItemFill:
|
|
51
|
+
activeIconItemFill: tItemColorProps;
|
|
52
|
+
iconItemFill: tItemColorProps;
|
|
53
53
|
}[];
|
|
54
54
|
set?: string;
|
|
55
55
|
size?: sizeOptionPropsType;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { FocusEvent, ReactNode } from 'react';
|
|
2
2
|
import { AllowedInputTypes } from 'react-otp-input';
|
|
3
|
-
import {
|
|
4
|
-
import { borderColorHoverPropsType,
|
|
5
|
-
export interface ICodeProps extends
|
|
3
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
4
|
+
import { borderColorHoverPropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
5
|
+
export interface ICodeProps extends iStyleAttributes {
|
|
6
6
|
after?: ReactNode;
|
|
7
7
|
before?: ReactNode;
|
|
8
8
|
className?: string;
|
|
9
9
|
gap?: string;
|
|
10
10
|
inputAutoFocus?: boolean;
|
|
11
|
-
inputBorderColor?:
|
|
11
|
+
inputBorderColor?: tBorderColorProps;
|
|
12
12
|
inputBorderColorHover?: borderColorHoverPropsType;
|
|
13
|
-
inputBorderFocusColor?:
|
|
14
|
-
inputBorderWidth?:
|
|
15
|
-
inputCaretColor?:
|
|
13
|
+
inputBorderFocusColor?: tBorderColorProps;
|
|
14
|
+
inputBorderWidth?: tBorderWidthProps;
|
|
15
|
+
inputCaretColor?: tItemColorProps;
|
|
16
16
|
inputCount?: number;
|
|
17
|
-
inputFill?:
|
|
18
|
-
inputFillHover?:
|
|
17
|
+
inputFill?: tFillProps;
|
|
18
|
+
inputFillHover?: tFillHoverProps;
|
|
19
19
|
inputPlaceholder?: string;
|
|
20
|
-
inputPlaceholderTextColor?:
|
|
21
|
-
inputShape?:
|
|
22
|
-
inputSize?:
|
|
23
|
-
inputTextColor?:
|
|
24
|
-
inputTextSize?:
|
|
25
|
-
inputTextWeight?:
|
|
20
|
+
inputPlaceholderTextColor?: tTextColorProps;
|
|
21
|
+
inputShape?: tShapeProps;
|
|
22
|
+
inputSize?: tSizeProps;
|
|
23
|
+
inputTextColor?: tTextColorProps;
|
|
24
|
+
inputTextSize?: tTextSizeProps;
|
|
25
|
+
inputTextWeight?: tTextWeightProps;
|
|
26
26
|
inputType?: AllowedInputTypes | undefined;
|
|
27
27
|
otp?: string | number;
|
|
28
28
|
separatorComponent?: ReactNode;
|
|
29
|
-
width?:
|
|
29
|
+
width?: tWidthProps;
|
|
30
30
|
onBlur?: (arg0: FocusEvent) => void;
|
|
31
31
|
onChange?: (otp: string) => void;
|
|
32
32
|
onFocus?: (arg0: FocusEvent) => void;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import type { MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface IContextMenuItemProps extends
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { tDirectionProps, tFillProps, iconSizePropsType, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
|
+
export interface IContextMenuItemProps extends iStyleAttributes {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
className?: string;
|
|
7
|
-
dividerDirection?:
|
|
8
|
-
dividerFill?:
|
|
9
|
-
dividerSize?:
|
|
7
|
+
dividerDirection?: tDirectionProps;
|
|
8
|
+
dividerFill?: tFillProps;
|
|
9
|
+
dividerSize?: tSizeProps;
|
|
10
10
|
dividerWidth?: string;
|
|
11
11
|
iconAfter?: any;
|
|
12
|
-
iconAfterBgFill?:
|
|
13
|
-
iconAfterFill?:
|
|
12
|
+
iconAfterBgFill?: tFillProps;
|
|
13
|
+
iconAfterFill?: tFillProps;
|
|
14
14
|
iconAfterSize?: iconSizePropsType;
|
|
15
15
|
iconBefore?: any;
|
|
16
|
-
iconBeforeBgFill?:
|
|
17
|
-
iconBeforeFill?:
|
|
16
|
+
iconBeforeBgFill?: tFillProps;
|
|
17
|
+
iconBeforeFill?: tFillProps;
|
|
18
18
|
iconBeforeSize?: iconSizePropsType;
|
|
19
19
|
id?: string;
|
|
20
20
|
label?: string;
|
|
21
|
-
labelTextColor?:
|
|
22
|
-
labelTextSize?:
|
|
23
|
-
labelTextWeight?:
|
|
21
|
+
labelTextColor?: tTextColorProps;
|
|
22
|
+
labelTextSize?: tTextSizeProps;
|
|
23
|
+
labelTextWeight?: tTextWeightProps;
|
|
24
24
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
25
25
|
}
|
|
26
|
-
export interface IContextMenuProps extends
|
|
26
|
+
export interface IContextMenuProps extends iStyleAttributes {
|
|
27
27
|
children?: ReactNode;
|
|
28
28
|
className?: string;
|
|
29
29
|
id?: string;
|
|
30
30
|
set?: string;
|
|
31
|
-
shape?:
|
|
32
|
-
shapeDesktop?:
|
|
33
|
-
shapeMobile?:
|
|
34
|
-
shapeTablet?:
|
|
31
|
+
shape?: tShapeProps;
|
|
32
|
+
shapeDesktop?: tShapeProps;
|
|
33
|
+
shapeMobile?: tShapeProps;
|
|
34
|
+
shapeTablet?: tShapeProps;
|
|
35
35
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
36
36
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
2
2
|
export interface ICookiesWarningProps {
|
|
3
3
|
message?: string;
|
|
4
4
|
className?: string;
|
|
5
|
-
buttonFill?:
|
|
6
|
-
buttonFillHover?:
|
|
5
|
+
buttonFill?: tFillProps;
|
|
6
|
+
buttonFillHover?: tFillHoverProps;
|
|
7
7
|
buttonLabel?: string;
|
|
8
|
-
buttonLabelSize?:
|
|
9
|
-
buttonLabelTextColor?:
|
|
10
|
-
buttonShape?:
|
|
11
|
-
buttonSize?:
|
|
12
|
-
textSize?:
|
|
13
|
-
textColor?:
|
|
8
|
+
buttonLabelSize?: tTextSizeProps;
|
|
9
|
+
buttonLabelTextColor?: tTextColorProps;
|
|
10
|
+
buttonShape?: tShapeProps;
|
|
11
|
+
buttonSize?: tSizeProps;
|
|
12
|
+
textSize?: tTextSizeProps;
|
|
13
|
+
textColor?: tTextColorProps;
|
|
14
14
|
buttonWidth?: string;
|
|
15
15
|
isHideOnScroll?: boolean;
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLProps } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
3
|
import '../../types';
|
|
4
|
-
export interface IDadataHintFieldProps extends
|
|
4
|
+
export interface IDadataHintFieldProps extends iStyleAttributes {
|
|
5
5
|
delay?: number;
|
|
6
6
|
inputProps?: HTMLProps<HTMLInputElement>;
|
|
7
7
|
setValue?: () => void;
|
|
@@ -9,6 +9,6 @@ export interface IDadataHintFieldProps extends TypeStyleAttributes {
|
|
|
9
9
|
meta?: any;
|
|
10
10
|
token: string;
|
|
11
11
|
}
|
|
12
|
-
export interface IDadataСustomInputProps extends
|
|
12
|
+
export interface IDadataСustomInputProps extends iStyleAttributes {
|
|
13
13
|
inputValue?: string;
|
|
14
14
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var DadataHintField = require('../DadataHintField-
|
|
3
|
+
var DadataHintField = require('../DadataHintField-z7Mw-xDn.js');
|
|
4
4
|
require('../_tslib-CKiUdo7p.js');
|
|
5
5
|
require('../jsx-runtime-BBxmckJR.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('clsx');
|
|
8
8
|
require('crypto');
|
|
9
|
-
require('../Input-
|
|
9
|
+
require('../Input-vwyG3XF0.js');
|
|
10
10
|
require('../hooks/useDeviceTargetClass.js');
|
|
11
11
|
require('lodash/castArray');
|
|
12
12
|
require('lodash/camelCase');
|