@itcase/ui 1.9.24 → 1.9.25
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/{Avatar_cjs_DRZE113U.js → Avatar_cjs_CS01fvh-.js} +11 -5
- package/dist/{Avatar_es_Cmq4xAG6.js → Avatar_es_DRObE1DB.js} +11 -5
- package/dist/{ChipsGroup_cjs_D0bGehZY.js → ChipsGroup_cjs_Sn3uiCSJ.js} +33 -33
- package/dist/{ChipsGroup_es_DWvsJ5bu.js → ChipsGroup_es_CbzUWqG9.js} +33 -33
- package/dist/{DatePicker_cjs_Cm50AX0J.js → DatePicker_cjs_Bfiav-tb.js} +1 -1
- package/dist/{DatePicker_es_B-WPA9y9.js → DatePicker_es_CtbVXMmy.js} +1 -1
- package/dist/{Group_cjs_393FExUN.js → Group_cjs_DNI9PTBq.js} +1 -1
- package/dist/{Group_es_BtE98Vb5.js → Group_es_nBtACpoG.js} +1 -1
- package/dist/{SelectContainer_cjs_CsHj-fP_.js → SelectContainer_cjs_CdLyIuwj.js} +1 -1
- package/dist/{SelectContainer_es_Bc4Laoir.js → SelectContainer_es_DGTrm8OT.js} +1 -1
- package/dist/cjs/components/Avatar.js +1 -1
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Button.js +1 -1
- package/dist/cjs/components/Cell.js +12 -16
- package/dist/cjs/components/Chips.js +1 -1
- package/dist/cjs/components/Code.js +17 -17
- package/dist/cjs/components/CookiesWarning.js +1 -1
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +2 -2
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Textarea.js +9 -21
- package/dist/cjs/components/Video.js +1 -1
- package/dist/cjs/components/Warning.js +2 -2
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Button.js +1 -1
- package/dist/components/Cell.js +12 -16
- package/dist/components/Chips.js +1 -1
- package/dist/components/Code.js +17 -17
- package/dist/components/CookiesWarning.js +1 -1
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +2 -2
- package/dist/components/Group.js +1 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Response.js +2 -2
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Textarea.js +9 -21
- package/dist/components/Video.js +1 -1
- package/dist/components/Warning.js +2 -2
- package/dist/css/styles/bundles.css +6 -6
- package/dist/snippets/Group.snippets.json +1 -1
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Button/Button.interface.d.ts +1 -1
- package/dist/types/components/Cell/Cell.appearance.d.ts +2 -2
- package/dist/types/components/Cell/Cell.interface.d.ts +67 -56
- package/dist/types/components/Cell/appearance/cellSize.d.ts +2 -58
- package/dist/types/components/Cell/appearance/cellStyle.d.ts +2 -13
- package/dist/types/components/Cell/appearance/cellSurface.d.ts +2 -54
- package/dist/types/components/Chips/Chips.interface.d.ts +83 -21
- package/dist/types/components/Chips/ChipsGroup.d.ts +2 -1
- package/dist/types/components/Chips/appearance/chipsAccent.d.ts +2 -23
- package/dist/types/components/Chips/appearance/chipsDanger.d.ts +2 -16
- package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +2 -13
- package/dist/types/components/Chips/appearance/chipsError.d.ts +2 -16
- package/dist/types/components/Chips/appearance/chipsInfo.d.ts +2 -16
- package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +2 -16
- package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +2 -16
- package/dist/types/components/Chips/appearance/chipsShape.d.ts +2 -24
- package/dist/types/components/Chips/appearance/chipsSize.d.ts +2 -44
- package/dist/types/components/Chips/appearance/chipsStyle.d.ts +2 -13
- package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +2 -16
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +2 -45
- package/dist/types/components/Chips/appearance/chipsWarning.d.ts +2 -16
- package/dist/types/components/Code/Code.appearance.d.ts +2 -2
- package/dist/types/components/Code/Code.interface.d.ts +32 -33
- package/dist/types/components/Code/appearance/codeDefault.d.ts +2 -10
- package/dist/types/components/Code/appearance/codeDisabled.d.ts +2 -11
- package/dist/types/components/Code/appearance/codeError.d.ts +2 -11
- package/dist/types/components/Code/appearance/codeRequire.d.ts +2 -11
- package/dist/types/components/Code/appearance/codeShape.d.ts +2 -24
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -12
- package/dist/types/components/Code/appearance/codeStyle.d.ts +2 -15
- package/dist/types/components/Code/appearance/codeSuccess.d.ts +2 -11
- package/dist/types/components/Dot/Dot.interface.d.ts +5 -5
- package/dist/types/components/Group/Group.appearance.d.ts +2 -2
- package/dist/types/components/Group/Group.d.ts +53 -2
- package/dist/types/components/Group/Group.interface.d.ts +48 -36
- package/dist/types/components/Textarea/Textarea.appearance.d.ts +2 -2
- package/dist/types/components/Textarea/Textarea.interface.d.ts +25 -22
- package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +2 -36
- package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +2 -19
- package/dist/types/components/Textarea/appearance/textareaError.d.ts +2 -19
- package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +2 -19
- package/dist/types/components/Textarea/appearance/textareaShape.d.ts +2 -24
- package/dist/types/components/Textarea/appearance/textareaSize.d.ts +2 -30
- package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +2 -15
- package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +2 -20
- package/dist/types/components/Title/Title.appearance.d.ts +513 -456
- package/dist/types/components/Title/Title.interface.d.ts +11 -9
- package/dist/types/components/Video/Video.interface.d.ts +3 -6
- package/dist/types/components/Warning/Warning.appearance.d.ts +1276 -121
- package/dist/types/components/Warning/Warning.interface.d.ts +38 -34
- package/dist/types/components/Warning/appearance/warningAccent.d.ts +2 -22
- package/dist/types/components/Warning/appearance/warningError.d.ts +2 -22
- package/dist/types/components/Warning/appearance/warningInfo.d.ts +2 -22
- package/dist/types/components/Warning/appearance/warningShape.d.ts +2 -24
- package/dist/types/components/Warning/appearance/warningSize.d.ts +2 -10
- package/dist/types/components/Warning/appearance/warningStyle.d.ts +2 -13
- package/dist/types/components/Warning/appearance/warningWarning.d.ts +2 -22
- package/package.json +1 -1
- package/dist/{Button_cjs_BRShPZw4.js → Button_cjs_DPs7uj_n.js} +1 -1
- package/dist/{Button_es_CvRcO3xM.js → Button_es_ljlle2Pu.js} +1 -1
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
inputBorderColor: string;
|
|
4
|
-
};
|
|
5
|
-
ghost: {
|
|
6
|
-
inputBorderColor: string;
|
|
7
|
-
inputFill: string;
|
|
8
|
-
};
|
|
9
|
-
outlined: {
|
|
10
|
-
inputFill: string;
|
|
11
|
-
};
|
|
12
|
-
solid: {
|
|
13
|
-
inputBorderColor: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
1
|
+
import { CodeAppearance } from '../Code.interface';
|
|
2
|
+
declare const codeAppearanceStyle: CodeAppearance;
|
|
16
3
|
export { codeAppearanceStyle };
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
inputBorderColor: string;
|
|
4
|
-
inputBorderColorHover: string;
|
|
5
|
-
inputCaretColor: string;
|
|
6
|
-
inputFill: string;
|
|
7
|
-
inputFillHover: string;
|
|
8
|
-
inputPlaceholderTextColor: string;
|
|
9
|
-
inputTextColor: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
1
|
+
import { CodeAppearance } from '../Code.interface';
|
|
2
|
+
declare const codeAppearanceSuccess: CodeAppearance;
|
|
12
3
|
export { codeAppearanceSuccess };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { BorderColorProps, BorderTypeProps, FillProps, ShapeProps, SizeProps } from '@itcase/types';
|
|
3
3
|
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
|
-
|
|
4
|
+
type DotAppearance = {
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
6
6
|
borderColorDesktop?: BorderColorProps;
|
|
7
7
|
borderColorMobile?: BorderColorProps;
|
|
@@ -19,10 +19,10 @@ export interface DotThemeColor {
|
|
|
19
19
|
shapeMobile?: ShapeProps;
|
|
20
20
|
shapeTablet?: ShapeProps;
|
|
21
21
|
size?: SizeProps;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
[key: number | string | symbol]: any;
|
|
22
|
+
};
|
|
23
|
+
type DotProps = DotAppearance & StyleAttributes & {
|
|
25
24
|
children?: ReactNode;
|
|
26
25
|
className?: string;
|
|
27
26
|
style?: CSSProperties;
|
|
28
|
-
}
|
|
27
|
+
};
|
|
28
|
+
export type { DotAppearance, DotProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const groupAppearance:
|
|
1
|
+
import { GroupAppearance } from './Group.interface';
|
|
2
|
+
export declare const groupAppearance: GroupAppearance;
|
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { GroupConfig
|
|
2
|
+
import type { GroupConfig } from './Group.interface';
|
|
3
3
|
declare const groupConfig: GroupConfig;
|
|
4
|
-
declare const Group: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const Group: React.ForwardRefExoticComponent<{
|
|
5
|
+
align?: import("@itcase/types").AlignProps;
|
|
6
|
+
alignDirection?: AlignDirectionProps;
|
|
7
|
+
border?: import("@itcase/types").BorderColorProps;
|
|
8
|
+
borderColor?: import("@itcase/types").BorderColorProps;
|
|
9
|
+
borderColorActive?: import("@itcase/types").BorderColorProps;
|
|
10
|
+
borderColorActiveHover?: import("@itcase/types").BorderColorProps;
|
|
11
|
+
borderColorHover?: import("@itcase/types").BorderColorProps;
|
|
12
|
+
borderType?: import("@itcase/types").BorderTypeProps;
|
|
13
|
+
borderWidth?: import("@itcase/types").BorderWidthProps;
|
|
14
|
+
columns?: number;
|
|
15
|
+
direction?: import("@itcase/types").DirectionProps;
|
|
16
|
+
elevation?: import("@itcase/types").ElevationProps;
|
|
17
|
+
fill?: import("@itcase/types").FillProps;
|
|
18
|
+
fillActive?: import("@itcase/types").FillProps;
|
|
19
|
+
fillActiveHover?: import("@itcase/types").FillActiveHoverProps;
|
|
20
|
+
fillDisabled?: import("@itcase/types").FillProps;
|
|
21
|
+
fillHover?: import("@itcase/types").FillHoverProps;
|
|
22
|
+
flexGrow?: FlexGrowProps;
|
|
23
|
+
height?: import("@itcase/types").HeightProps;
|
|
24
|
+
hoverFilter?: string;
|
|
25
|
+
iconFillHover?: import("../Icon/Icon.interface").IconProps["fillHover"];
|
|
26
|
+
justifyContent?: import("@itcase/types").JustifyContentProps;
|
|
27
|
+
labelTextColor?: import("../Label/Label.interface").LabelProps["labelTextColor"];
|
|
28
|
+
shape?: import("@itcase/types").ShapeProps;
|
|
29
|
+
shapeStrength?: import("@itcase/types").ShapeStrengthProps;
|
|
30
|
+
stacking?: import("@itcase/types").StackingProps;
|
|
31
|
+
textColor?: import("../Text/Text.interface").TextProps["textColor"];
|
|
32
|
+
textColorActive?: import("../Text/Text.interface").TextProps["textColorActive"];
|
|
33
|
+
textColorHover?: import("../Text/Text.interface").TextProps["textColorHover"];
|
|
34
|
+
width?: import("@itcase/types").WidthProps;
|
|
35
|
+
wrap?: import("@itcase/types").WrapProps;
|
|
36
|
+
} & import("../../hooks/useStyles/styleAttributes.interface").StyleAttributes & {
|
|
37
|
+
id?: number | string;
|
|
38
|
+
appearance?: import("@itcase/types").CompositeAppearanceDefaultKey;
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
className?: string;
|
|
41
|
+
dataTestId?: string;
|
|
42
|
+
dataTour?: string;
|
|
43
|
+
easing?: boolean;
|
|
44
|
+
htmlFor?: string;
|
|
45
|
+
isActive?: boolean;
|
|
46
|
+
isDisabled?: boolean;
|
|
47
|
+
name?: string;
|
|
48
|
+
onClick?: () => void;
|
|
49
|
+
onMouseDown?: () => void;
|
|
50
|
+
print?: boolean;
|
|
51
|
+
scroll?: boolean | import("@itcase/types").DirectionProps;
|
|
52
|
+
set?: string;
|
|
53
|
+
style?: React.CSSProperties;
|
|
54
|
+
tag?: React.ElementType;
|
|
55
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
5
56
|
export { Group, groupConfig };
|
|
@@ -1,56 +1,68 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
import { AlignDirectionProps, AlignProps, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, DirectionProps, ElevationProps, FillHoverProps, FillProps, FlexGrowProps, HeightProps,
|
|
2
|
+
import { AlignDirectionProps, AlignProps, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceDefaultKey, DirectionProps, ElevationProps, FillActiveHoverProps, FillHoverProps, FillProps, FlexGrowProps, HeightProps, JustifyContentProps, ShapeProps, ShapeStrengthProps, StackingProps, WidthProps, WrapProps } from '@itcase/types';
|
|
3
3
|
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
borderWidth?: string;
|
|
9
|
-
direction?: DirectionProps;
|
|
10
|
-
fill?: string;
|
|
11
|
-
fillHover?: string;
|
|
12
|
-
labelTextColor?: TextColorProps;
|
|
13
|
-
}
|
|
14
|
-
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
15
|
-
export type Appearance = {
|
|
16
|
-
[key in AppearanceKeys]: ThemeColor;
|
|
17
|
-
};
|
|
18
|
-
export interface GroupConfig {
|
|
19
|
-
[key: number | string | symbol]: any;
|
|
20
|
-
appearance: Appearance | undefined;
|
|
21
|
-
setAppearance: (newComponent: Appearance) => void;
|
|
22
|
-
}
|
|
23
|
-
export interface GroupProps extends StyleAttributes {
|
|
24
|
-
id?: number | string;
|
|
25
|
-
[key: number | string | symbol]: any;
|
|
4
|
+
import { IconProps } from '../Icon/Icon.interface';
|
|
5
|
+
import { LabelProps } from '../Label/Label.interface';
|
|
6
|
+
import { TextProps } from '../Text/Text.interface';
|
|
7
|
+
type GroupAppearanceProps = {
|
|
26
8
|
align?: AlignProps;
|
|
27
9
|
alignDirection?: AlignDirectionProps;
|
|
28
|
-
|
|
10
|
+
border?: BorderColorProps;
|
|
29
11
|
borderColor?: BorderColorProps;
|
|
12
|
+
borderColorActive?: BorderColorProps;
|
|
13
|
+
borderColorActiveHover?: BorderColorProps;
|
|
14
|
+
borderColorHover?: BorderColorProps;
|
|
30
15
|
borderType?: BorderTypeProps;
|
|
31
|
-
|
|
32
|
-
className?: string;
|
|
16
|
+
borderWidth?: BorderWidthProps;
|
|
33
17
|
columns?: number;
|
|
34
|
-
dataTour?: string;
|
|
35
18
|
direction?: DirectionProps;
|
|
36
19
|
elevation?: ElevationProps;
|
|
37
20
|
fill?: FillProps;
|
|
21
|
+
fillActive?: FillProps;
|
|
22
|
+
fillActiveHover?: FillActiveHoverProps;
|
|
23
|
+
fillDisabled?: FillProps;
|
|
38
24
|
fillHover?: FillHoverProps;
|
|
39
25
|
flexGrow?: FlexGrowProps;
|
|
40
26
|
height?: HeightProps;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
iconFillHover?: ItemColorProps;
|
|
27
|
+
hoverFilter?: string;
|
|
28
|
+
iconFillHover?: IconProps['fillHover'];
|
|
44
29
|
justifyContent?: JustifyContentProps;
|
|
45
|
-
|
|
30
|
+
labelTextColor?: LabelProps['labelTextColor'];
|
|
46
31
|
shape?: ShapeProps;
|
|
32
|
+
shapeStrength?: ShapeStrengthProps;
|
|
47
33
|
stacking?: StackingProps;
|
|
48
|
-
|
|
49
|
-
|
|
34
|
+
textColor?: TextProps['textColor'];
|
|
35
|
+
textColorActive?: TextProps['textColorActive'];
|
|
36
|
+
textColorHover?: TextProps['textColorHover'];
|
|
50
37
|
width?: WidthProps;
|
|
51
38
|
wrap?: WrapProps;
|
|
52
|
-
|
|
39
|
+
};
|
|
40
|
+
type GroupProps = GroupAppearanceProps & StyleAttributes & {
|
|
41
|
+
id?: number | string;
|
|
42
|
+
appearance?: CompositeAppearanceDefaultKey;
|
|
43
|
+
children?: ReactNode;
|
|
44
|
+
className?: string;
|
|
45
|
+
dataTestId?: string;
|
|
46
|
+
dataTour?: string;
|
|
47
|
+
easing?: boolean;
|
|
48
|
+
htmlFor?: string;
|
|
49
|
+
isActive?: boolean;
|
|
50
|
+
isDisabled?: boolean;
|
|
51
|
+
name?: string;
|
|
53
52
|
onClick?: () => void;
|
|
53
|
+
onMouseDown?: () => void;
|
|
54
|
+
print?: boolean;
|
|
55
|
+
scroll?: boolean | DirectionProps;
|
|
54
56
|
set?: string;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
style?: CSSProperties;
|
|
58
|
+
tag?: ElementType;
|
|
59
|
+
};
|
|
60
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
61
|
+
type GroupAppearance = {
|
|
62
|
+
[key in AppearanceKeys]: GroupAppearanceProps;
|
|
63
|
+
};
|
|
64
|
+
type GroupConfig = {
|
|
65
|
+
appearance: GroupAppearance;
|
|
66
|
+
setAppearance: (appearanceConfig: GroupAppearance) => void;
|
|
67
|
+
};
|
|
68
|
+
export type { GroupAppearance, GroupConfig, GroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const textareaAppearance:
|
|
1
|
+
import { TextareaAppearance } from './Textarea.interface';
|
|
2
|
+
export declare const textareaAppearance: TextareaAppearance;
|
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, FillProps, ItemColorProps, ShapeProps, SizeProps, TextColorProps,
|
|
1
|
+
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceStyleKey, AppearanceTitleSizeKey, BorderColorHoverProps, BorderColorProps, BorderWidthProps, FillHoverProps, FillProps, ItemColorProps, ShapeProps, ShapeStrengthProps, SizeProps, TextColorProps, WidthProps } from '@itcase/types';
|
|
2
2
|
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { TextProps } from '../Text/Text.interface';
|
|
4
|
+
type TextareaAppearanceProps = {
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
6
|
+
borderColorHover?: BorderColorHoverProps;
|
|
6
7
|
borderHover?: BorderColorHoverProps;
|
|
8
|
+
borderWidth?: BorderWidthProps;
|
|
7
9
|
caret?: ItemColorProps;
|
|
8
10
|
fill?: FillProps;
|
|
11
|
+
fillHover?: FillHoverProps;
|
|
9
12
|
placeholderTextColor?: TextColorProps;
|
|
10
13
|
shape?: ShapeProps;
|
|
14
|
+
shapeStrength?: ShapeStrengthProps;
|
|
11
15
|
size?: SizeProps;
|
|
12
|
-
textColor?:
|
|
13
|
-
textSize?:
|
|
14
|
-
textWeight?:
|
|
16
|
+
textColor?: TextProps['textColor'];
|
|
17
|
+
textSize?: TextProps['size'];
|
|
18
|
+
textWeight?: TextProps['textWeight'];
|
|
15
19
|
width?: WidthProps;
|
|
16
|
-
}
|
|
17
|
-
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
18
|
-
export type TextareaAppearanceType = {
|
|
19
|
-
[key in AppearanceKeys]?: TextareaThemeColor;
|
|
20
20
|
};
|
|
21
|
-
|
|
22
|
-
[key: number | string | symbol]: any;
|
|
23
|
-
appearance: TextareaAppearanceType | undefined;
|
|
24
|
-
setAppearance: (newComponent: TextareaAppearanceType) => void;
|
|
25
|
-
}
|
|
26
|
-
export interface TextareaProps extends TextareaThemeColor, StyleAttributes {
|
|
21
|
+
type TextareaProps = StyleAttributes & TextareaAppearanceProps & {
|
|
27
22
|
id?: string;
|
|
28
|
-
[key: number | string | symbol]: any;
|
|
29
23
|
appearance?: AppearanceKeys;
|
|
30
24
|
className?: string;
|
|
31
|
-
|
|
32
|
-
placeholder?: string;
|
|
33
|
-
value?: string;
|
|
25
|
+
isDisabled?: boolean;
|
|
34
26
|
onBlur?: () => void;
|
|
35
27
|
onChange?: () => void;
|
|
28
|
+
onFocus?: () => void;
|
|
36
29
|
onKeyDown?: () => void;
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
value?: string;
|
|
32
|
+
};
|
|
33
|
+
type AppearanceKeys = AppearanceKeysDefault | AppearanceShapeKey | AppearanceStyleKey | AppearanceTitleSizeKey;
|
|
34
|
+
type TextareaAppearance = {
|
|
35
|
+
[key in AppearanceKeys]?: TextareaAppearanceProps;
|
|
36
|
+
};
|
|
37
|
+
type TextareaConfig = {
|
|
38
|
+
appearance: TextareaAppearance;
|
|
39
|
+
setAppearance: (appearanceConfig: TextareaAppearance) => void;
|
|
40
|
+
};
|
|
41
|
+
export type { TextareaAppearance, TextareaConfig, TextareaProps };
|
|
@@ -1,37 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
borderColor: string;
|
|
6
|
-
borderColorHover: string;
|
|
7
|
-
iconBeforeFill: string;
|
|
8
|
-
iconClearFill: string;
|
|
9
|
-
placeholderTextColor: string;
|
|
10
|
-
};
|
|
11
|
-
defaultSecondary: {
|
|
12
|
-
fill: string;
|
|
13
|
-
fillHover: string;
|
|
14
|
-
borderColor: string;
|
|
15
|
-
borderColorHover: string;
|
|
16
|
-
iconBeforeFill: string;
|
|
17
|
-
iconClearFill: string;
|
|
18
|
-
placeholderTextColor: string;
|
|
19
|
-
};
|
|
20
|
-
defaultTertiary: {
|
|
21
|
-
fill: string;
|
|
22
|
-
borderColor: string;
|
|
23
|
-
borderColorHover: string;
|
|
24
|
-
iconBeforeFill: string;
|
|
25
|
-
iconClearFill: string;
|
|
26
|
-
placeholderTextColor: string;
|
|
27
|
-
};
|
|
28
|
-
defaultQuaternary: {
|
|
29
|
-
fill: string;
|
|
30
|
-
borderColor: string;
|
|
31
|
-
borderColorHover: string;
|
|
32
|
-
iconBeforeFill: string;
|
|
33
|
-
iconClearFill: string;
|
|
34
|
-
placeholderTextColor: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
1
|
+
import { TextareaAppearance } from '../Textarea.interface';
|
|
2
|
+
declare const textareaAppearanceDefault: TextareaAppearance;
|
|
37
3
|
export { textareaAppearanceDefault };
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
borderColorHover: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
iconBeforeFill: string;
|
|
8
|
-
iconClearFill: string;
|
|
9
|
-
placeholderTextColor: string;
|
|
10
|
-
};
|
|
11
|
-
disabledSecondary: {
|
|
12
|
-
fill: string;
|
|
13
|
-
borderColor: string;
|
|
14
|
-
borderColorHover: string;
|
|
15
|
-
iconBeforeFill: string;
|
|
16
|
-
iconClearFill: string;
|
|
17
|
-
placeholderTextColor: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
import { TextareaAppearance } from '../Textarea.interface';
|
|
2
|
+
declare const textareaAppearanceDisabled: TextareaAppearance;
|
|
20
3
|
export { textareaAppearanceDisabled };
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
borderColorHover: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
iconBeforeFill: string;
|
|
8
|
-
iconClearFill: string;
|
|
9
|
-
placeholderTextColor: string;
|
|
10
|
-
};
|
|
11
|
-
errorSecondary: {
|
|
12
|
-
fill: string;
|
|
13
|
-
borderColor: string;
|
|
14
|
-
borderColorHover: string;
|
|
15
|
-
iconBeforeFill: string;
|
|
16
|
-
iconClearFill: string;
|
|
17
|
-
placeholderTextColor: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
import { TextareaAppearance } from '../Textarea.interface';
|
|
2
|
+
declare const textareaAppearanceError: TextareaAppearance;
|
|
20
3
|
export { textareaAppearanceError };
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
borderColorHover: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
iconBeforeFill: string;
|
|
8
|
-
iconClearFill: string;
|
|
9
|
-
placeholderTextColor: string;
|
|
10
|
-
};
|
|
11
|
-
requireSecondary: {
|
|
12
|
-
fill: string;
|
|
13
|
-
borderColor: string;
|
|
14
|
-
borderColorHover: string;
|
|
15
|
-
iconBeforeFill: string;
|
|
16
|
-
iconClearFill: string;
|
|
17
|
-
placeholderTextColor: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
import { TextareaAppearance } from '../Textarea.interface';
|
|
2
|
+
declare const textareaAppearanceRequire: TextareaAppearance;
|
|
20
3
|
export { textareaAppearanceRequire };
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
shape: string;
|
|
4
|
-
};
|
|
5
|
-
rounded: {
|
|
6
|
-
shape: string;
|
|
7
|
-
};
|
|
8
|
-
roundedXL: {
|
|
9
|
-
shape: string;
|
|
10
|
-
shapeStrength: string;
|
|
11
|
-
};
|
|
12
|
-
roundedL: {
|
|
13
|
-
shape: string;
|
|
14
|
-
shapeStrength: string;
|
|
15
|
-
};
|
|
16
|
-
roundedM: {
|
|
17
|
-
shape: string;
|
|
18
|
-
shapeStrength: string;
|
|
19
|
-
};
|
|
20
|
-
roundedS: {
|
|
21
|
-
shape: string;
|
|
22
|
-
shapeStrength: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
1
|
+
import { TextareaAppearance } from '../Textarea.interface';
|
|
2
|
+
declare const textareaAppearanceShape: TextareaAppearance;
|
|
25
3
|
export { textareaAppearanceShape };
|
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
size: string;
|
|
4
|
-
textSize: string;
|
|
5
|
-
};
|
|
6
|
-
sizeXL: {
|
|
7
|
-
size: string;
|
|
8
|
-
textSize: string;
|
|
9
|
-
};
|
|
10
|
-
sizeL: {
|
|
11
|
-
size: string;
|
|
12
|
-
textSize: string;
|
|
13
|
-
};
|
|
14
|
-
sizeM: {
|
|
15
|
-
size: string;
|
|
16
|
-
textSize: string;
|
|
17
|
-
};
|
|
18
|
-
sizeS: {
|
|
19
|
-
size: string;
|
|
20
|
-
textSize: string;
|
|
21
|
-
};
|
|
22
|
-
sizeXS: {
|
|
23
|
-
size: string;
|
|
24
|
-
textSize: string;
|
|
25
|
-
};
|
|
26
|
-
sizeXXS: {
|
|
27
|
-
size: string;
|
|
28
|
-
textSize: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
1
|
+
import { TextareaAppearance } from '../Textarea.interface';
|
|
2
|
+
declare const textareaAppearanceSize: TextareaAppearance;
|
|
31
3
|
export { textareaAppearanceSize };
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
borderColor: string;
|
|
4
|
-
borderColorHover: string;
|
|
5
|
-
};
|
|
6
|
-
outlined: {
|
|
7
|
-
fill: string;
|
|
8
|
-
};
|
|
9
|
-
full: {};
|
|
10
|
-
ghost: {
|
|
11
|
-
fill: string;
|
|
12
|
-
borderColor: string;
|
|
13
|
-
borderColorHover: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
1
|
+
import { TextareaAppearance } from '../Textarea.interface';
|
|
2
|
+
declare const textareaAppearanceStyle: TextareaAppearance;
|
|
16
3
|
export { textareaAppearanceStyle };
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
borderColor: string;
|
|
6
|
-
borderColorHover: string;
|
|
7
|
-
textColor: string;
|
|
8
|
-
iconBeforeFill: string;
|
|
9
|
-
iconClearFill: string;
|
|
10
|
-
placeholderTextColor: string;
|
|
11
|
-
};
|
|
12
|
-
successSecondary: {
|
|
13
|
-
fill: string;
|
|
14
|
-
borderColor: string;
|
|
15
|
-
borderColorHover: string;
|
|
16
|
-
iconBeforeFill: string;
|
|
17
|
-
iconClearFill: string;
|
|
18
|
-
placeholderTextColor: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
1
|
+
import { TextareaAppearance } from '../Textarea.interface';
|
|
2
|
+
declare const textareaAppearanceSuccess: TextareaAppearance;
|
|
21
3
|
export { textareaAppearanceSuccess };
|