@itcase/ui 1.8.117 → 1.8.119
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_BqJtyGqb.js → Avatar_cjs_BKcQuqYV.js} +1 -1
- package/dist/{Avatar_es_7WTlfUFM.js → Avatar_es_Cpn1PNmO.js} +1 -1
- package/dist/{Button_cjs_oO7g75FT.js → Button_cjs_3BTD8Mlm.js} +65 -65
- package/dist/{Button_es_CymyESs0.js → Button_es_B_k-SP92.js} +65 -65
- package/dist/{ChipsGroup_cjs_C3KJn3MF.js → ChipsGroup_cjs_DhoY9YjT.js} +3 -3
- package/dist/{ChipsGroup_es_BdIFBKkG.js → ChipsGroup_es_Dg1GmJ-9.js} +3 -3
- package/dist/{DatePicker_cjs_DsFAHbZ4.js → DatePicker_cjs_BLkZB0S0.js} +4 -4
- package/dist/{DatePicker_es_CvtwPWL_.js → DatePicker_es_CKrgRUWu.js} +4 -4
- package/dist/{DropdownItem_cjs_f1GO8Bg4.js → DropdownItem_cjs_D3Mcbsxa.js} +1 -1
- package/dist/{DropdownItem_es_Cc7Ebhgl.js → DropdownItem_es_BUs02mjJ.js} +1 -1
- package/dist/{Group_cjs_BxBk5T7A.js → Group_cjs_CsJ6ICKK.js} +1 -1
- package/dist/{Group_es_DIfmrMSM.js → Group_es_DRqIIM9m.js} +1 -1
- package/dist/{Icon_cjs_C9zGWlVp.js → Icon_cjs_CUArL1z2.js} +2 -2
- package/dist/{Icon_es_DHLepoKo.js → Icon_es_CNrc90oI.js} +2 -2
- package/dist/{Input_cjs_D18gXu6j.js → Input_cjs_Du73R-wm.js} +1 -1
- package/dist/{Input_es_CHuhHbMo.js → Input_es_CiDHjDqJ.js} +1 -1
- package/dist/{Label_cjs_O2PnxmeQ.js → Label_cjs_BUEGAnsq.js} +1 -1
- package/dist/{Label_es_47i4dTW3.js → Label_es_I01RN9hv.js} +1 -1
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +3 -3
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Checkbox.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/Dadata.js +1 -1
- package/dist/cjs/components/DatePeriod.js +6 -6
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/Flex.js +2 -2
- package/dist/cjs/components/Grid.js +2 -2
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/HeroTitle.js +2 -2
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/ModalSheetBottom.js +3 -3
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +4 -4
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +3 -3
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +3 -3
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Checkbox.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/Dadata.js +1 -1
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Flex.js +2 -2
- package/dist/components/Grid.js +2 -2
- package/dist/components/Group.js +1 -1
- package/dist/components/HeroTitle.js +2 -2
- package/dist/components/Icon.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/ModalSheetBottom.js +3 -3
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +4 -4
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +4 -4
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/types/components/Button/Button.appearance.d.ts +2612 -2
- package/dist/types/components/Button/Button.d.ts +71 -2
- package/dist/types/components/Button/Button.interface.d.ts +67 -60
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +2 -35
- package/dist/types/components/Button/appearance/buttonDanger.d.ts +2 -23
- package/dist/types/components/Button/appearance/buttonError.d.ts +2 -33
- package/dist/types/components/Button/appearance/buttonInfo.d.ts +2 -46
- package/dist/types/components/Button/appearance/buttonPrimary.d.ts +2 -30
- package/dist/types/components/Button/appearance/buttonSecondary.d.ts +2 -30
- package/dist/types/components/Button/appearance/buttonShape.d.ts +2 -24
- package/dist/types/components/Button/appearance/buttonSize.d.ts +2 -65
- package/dist/types/components/Button/appearance/buttonStyle.d.ts +2 -13
- package/dist/types/components/Button/appearance/buttonSuccess.d.ts +2 -33
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +2 -51
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +2 -33
- package/dist/types/components/Checkbox/appearance/checkboxRequire.d.ts +2 -2
- package/dist/types/components/Icon/Icon.interface.d.ts +1 -1
- package/dist/types/components/Segmented/Segmented.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,5 +1,74 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonConfig
|
|
2
|
+
import type { ButtonConfig } from './Button.interface';
|
|
3
3
|
declare const buttonConfig: ButtonConfig;
|
|
4
|
-
declare const Button: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const Button: React.ForwardRefExoticComponent<{
|
|
5
|
+
align?: import("@itcase/types").AlignProps;
|
|
6
|
+
borderColor?: import("@itcase/types").BorderColorProps;
|
|
7
|
+
borderType?: import("@itcase/types").BorderTypeProps;
|
|
8
|
+
borderWidth?: import("@itcase/types").BorderWidthProps;
|
|
9
|
+
fill?: import("@itcase/types").FillProps;
|
|
10
|
+
fillHover?: import("@itcase/types").FillHoverProps;
|
|
11
|
+
icon?: import("../Icon/Icon.interface").IconProps["SvgImage"];
|
|
12
|
+
iconAfter?: import("../Icon/Icon.interface").IconProps["SvgImage"];
|
|
13
|
+
iconAfterFill?: import("../Icon/Icon.interface").IconProps["fill"];
|
|
14
|
+
iconAfterFillIcon?: import("../Icon/Icon.interface").IconProps["iconFill"];
|
|
15
|
+
iconAfterFillSize?: import("../Icon/Icon.interface").IconProps["fillSize"];
|
|
16
|
+
iconAfterShape?: import("../Icon/Icon.interface").IconProps["shape"];
|
|
17
|
+
iconAfterSize?: import("../Icon/Icon.interface").IconProps["iconSize"];
|
|
18
|
+
iconAfterSrc?: import("../Icon/Icon.interface").IconProps["imageSrc"];
|
|
19
|
+
iconBefore?: import("../Icon/Icon.interface").IconProps["SvgImage"];
|
|
20
|
+
iconBeforeFill?: import("../Icon/Icon.interface").IconProps["fill"];
|
|
21
|
+
iconBeforeFillIcon?: import("../Icon/Icon.interface").IconProps["iconFill"];
|
|
22
|
+
iconBeforeFillSize?: import("../Icon/Icon.interface").IconProps["fillSize"];
|
|
23
|
+
iconBeforeShape?: import("../Icon/Icon.interface").IconProps["shape"];
|
|
24
|
+
iconBeforeSize?: import("../Icon/Icon.interface").IconProps["iconSize"];
|
|
25
|
+
iconBeforeSrc?: import("../Icon/Icon.interface").IconProps["imageSrc"];
|
|
26
|
+
iconFill?: import("../Icon/Icon.interface").IconProps["fill"];
|
|
27
|
+
iconFillIcon?: import("../Icon/Icon.interface").IconProps["iconFill"];
|
|
28
|
+
iconFillSize?: import("../Icon/Icon.interface").IconProps["fillSize"];
|
|
29
|
+
iconShape?: import("../Icon/Icon.interface").IconProps["shape"];
|
|
30
|
+
iconSize?: import("../Icon/Icon.interface").IconProps["iconSize"];
|
|
31
|
+
iconSrc?: import("../Icon/Icon.interface").IconProps["imageSrc"];
|
|
32
|
+
labelTextColor?: import("../Text/Text.interface").TextProps["textColor"];
|
|
33
|
+
labelTextColorHover?: import("../Text/Text.interface").TextProps["textColorHover"];
|
|
34
|
+
labelTextSize?: import("../Text/Text.interface").TextProps["size"];
|
|
35
|
+
labelTextWeight?: import("../Text/Text.interface").TextProps["textWeight"];
|
|
36
|
+
labelTextWrap?: import("../Text/Text.interface").TextProps["textWrap"];
|
|
37
|
+
loaderAppearance?: import("@itcase/types").CompositeAppearanceDefaultStyleShapeKey;
|
|
38
|
+
loaderAppearanceSize?: import("@itcase/types").AppearanceSizeKey;
|
|
39
|
+
loaderFill?: import("../Loader/Loader.interface").LoaderProps["fill"];
|
|
40
|
+
loaderItemFill?: import("../Loader/Loader.interface").LoaderProps["itemFill"];
|
|
41
|
+
loaderShape?: import("../Loader/Loader.interface").LoaderProps["shape"];
|
|
42
|
+
loaderSize?: import("../Loader/Loader.interface").LoaderProps["size"];
|
|
43
|
+
loaderType?: import("../Loader/Loader.interface").LoaderProps["type"];
|
|
44
|
+
shape?: import("@itcase/types").ShapeProps;
|
|
45
|
+
shapeStrength?: import("@itcase/types").ShapeStrengthProps;
|
|
46
|
+
size?: import("@itcase/types").SizeProps;
|
|
47
|
+
wrap?: import("@itcase/types").WrapProps;
|
|
48
|
+
} & import("../../hooks/useStyles/styleAttributes.interface").StyleAttributes & {
|
|
49
|
+
after?: string;
|
|
50
|
+
appearance?: import("@itcase/types").CompositeAppearanceKey;
|
|
51
|
+
Badge?: React.ReactNode;
|
|
52
|
+
before?: string;
|
|
53
|
+
children?: React.ReactNode;
|
|
54
|
+
className?: string;
|
|
55
|
+
dataTestId?: string;
|
|
56
|
+
dataTour?: string;
|
|
57
|
+
elevation?: import("@itcase/types").ElevationProps;
|
|
58
|
+
href?: string;
|
|
59
|
+
htmlType?: string;
|
|
60
|
+
isDisabled?: boolean;
|
|
61
|
+
isLoading: boolean;
|
|
62
|
+
isSkeleton?: boolean;
|
|
63
|
+
label?: string;
|
|
64
|
+
labelTextTruncate?: boolean;
|
|
65
|
+
labelTextWidth?: import("@itcase/types").WidthProps;
|
|
66
|
+
link?: string;
|
|
67
|
+
onClick?: () => void;
|
|
68
|
+
onMouseDown?: () => void;
|
|
69
|
+
rel?: string;
|
|
70
|
+
style?: React.CSSProperties;
|
|
71
|
+
target?: string;
|
|
72
|
+
tooltipContent?: string;
|
|
73
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
5
74
|
export { Button, buttonConfig };
|
|
@@ -1,79 +1,86 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceDefaultStyleShapeKey, CompositeAppearanceKey, ElevationProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WidthProps, WrapProps } from '@itcase/types';
|
|
3
|
+
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
import { IconProps } from '../Icon/Icon.interface';
|
|
5
|
+
import { LoaderProps } from '../Loader/Loader.interface';
|
|
6
|
+
import { TextProps } from '../Text/Text.interface';
|
|
7
|
+
type ButtonAppearanceProps = {
|
|
8
|
+
align?: AlignProps;
|
|
6
9
|
borderColor?: BorderColorProps;
|
|
7
10
|
borderType?: BorderTypeProps;
|
|
8
11
|
borderWidth?: BorderWidthProps;
|
|
9
|
-
elevation?: ElevationProps;
|
|
10
12
|
fill?: FillProps;
|
|
11
13
|
fillHover?: FillHoverProps;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
iconAfterFillSize?:
|
|
17
|
-
iconAfterShape?:
|
|
18
|
-
iconAfterSize?:
|
|
19
|
-
iconAfterSrc?:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
14
|
+
icon?: IconProps['SvgImage'];
|
|
15
|
+
iconAfter?: IconProps['SvgImage'];
|
|
16
|
+
iconAfterFill?: IconProps['fill'];
|
|
17
|
+
iconAfterFillIcon?: IconProps['iconFill'];
|
|
18
|
+
iconAfterFillSize?: IconProps['fillSize'];
|
|
19
|
+
iconAfterShape?: IconProps['shape'];
|
|
20
|
+
iconAfterSize?: IconProps['iconSize'];
|
|
21
|
+
iconAfterSrc?: IconProps['imageSrc'];
|
|
22
|
+
iconBefore?: IconProps['SvgImage'];
|
|
23
|
+
iconBeforeFill?: IconProps['fill'];
|
|
24
|
+
iconBeforeFillIcon?: IconProps['iconFill'];
|
|
25
|
+
iconBeforeFillSize?: IconProps['fillSize'];
|
|
26
|
+
iconBeforeShape?: IconProps['shape'];
|
|
27
|
+
iconBeforeSize?: IconProps['iconSize'];
|
|
28
|
+
iconBeforeSrc?: IconProps['imageSrc'];
|
|
29
|
+
iconFill?: IconProps['fill'];
|
|
30
|
+
iconFillIcon?: IconProps['iconFill'];
|
|
31
|
+
iconFillSize?: IconProps['fillSize'];
|
|
32
|
+
iconShape?: IconProps['shape'];
|
|
33
|
+
iconSize?: IconProps['iconSize'];
|
|
34
|
+
iconSrc?: IconProps['imageSrc'];
|
|
35
|
+
labelTextColor?: TextProps['textColor'];
|
|
36
|
+
labelTextColorHover?: TextProps['textColorHover'];
|
|
37
|
+
labelTextSize?: TextProps['size'];
|
|
38
|
+
labelTextWeight?: TextProps['textWeight'];
|
|
39
|
+
labelTextWrap?: TextProps['textWrap'];
|
|
40
|
+
loaderAppearance?: CompositeAppearanceDefaultStyleShapeKey;
|
|
41
|
+
loaderAppearanceSize?: AppearanceSizeKey;
|
|
42
|
+
loaderFill?: LoaderProps['fill'];
|
|
43
|
+
loaderItemFill?: LoaderProps['itemFill'];
|
|
44
|
+
loaderShape?: LoaderProps['shape'];
|
|
45
|
+
loaderSize?: LoaderProps['size'];
|
|
46
|
+
loaderType?: LoaderProps['type'];
|
|
39
47
|
shape?: ShapeProps;
|
|
48
|
+
shapeStrength?: ShapeStrengthProps;
|
|
40
49
|
size?: SizeProps;
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
44
|
-
type ButtonAppearance = {
|
|
45
|
-
[key in AppearanceKeys]?: ButtonThemeColor;
|
|
50
|
+
wrap?: WrapProps;
|
|
46
51
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
appearance
|
|
50
|
-
setAppearance: (newComponent: ButtonAppearance) => void;
|
|
51
|
-
}
|
|
52
|
-
interface ButtonProps extends ButtonThemeColor, StyleAttributes {
|
|
53
|
-
[key: number | string | symbol]: any;
|
|
54
|
-
after?: ReactNode;
|
|
55
|
-
appearance?: AppearanceKeys;
|
|
52
|
+
type ButtonProps = ButtonAppearanceProps & StyleAttributes & {
|
|
53
|
+
after?: string;
|
|
54
|
+
appearance?: CompositeAppearanceKey;
|
|
56
55
|
Badge?: ReactNode;
|
|
57
|
-
before?:
|
|
56
|
+
before?: string;
|
|
58
57
|
children?: ReactNode;
|
|
59
58
|
className?: string;
|
|
60
59
|
dataTestId?: string;
|
|
61
60
|
dataTour?: string;
|
|
61
|
+
elevation?: ElevationProps;
|
|
62
62
|
href?: string;
|
|
63
|
-
htmlType?:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
iconSrc?: string;
|
|
63
|
+
htmlType?: string;
|
|
64
|
+
isDisabled?: boolean;
|
|
65
|
+
isLoading: boolean;
|
|
66
|
+
isSkeleton?: boolean;
|
|
68
67
|
label?: string;
|
|
68
|
+
labelTextTruncate?: boolean;
|
|
69
|
+
labelTextWidth?: WidthProps;
|
|
69
70
|
link?: string;
|
|
70
|
-
|
|
71
|
+
onClick?: () => void;
|
|
72
|
+
onMouseDown?: () => void;
|
|
71
73
|
rel?: string;
|
|
72
74
|
style?: CSSProperties;
|
|
73
75
|
target?: string;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
tooltipContent?: string;
|
|
77
|
+
};
|
|
78
|
+
type ButtonAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizeKey | AppearanceStyleKey;
|
|
79
|
+
type ButtonAppearance = {
|
|
80
|
+
[key in ButtonAppearanceKey]?: ButtonAppearanceProps;
|
|
81
|
+
};
|
|
82
|
+
type ButtonConfig = {
|
|
83
|
+
appearance: ButtonAppearance;
|
|
84
|
+
setAppearance: (appearanceConfig: ButtonAppearance) => void;
|
|
85
|
+
};
|
|
86
|
+
export type { ButtonAppearance, ButtonConfig, ButtonProps };
|
|
@@ -1,36 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
borderColor: string;
|
|
8
|
-
iconAfterFillIcon: string;
|
|
9
|
-
iconBeforeFillIcon: string;
|
|
10
|
-
iconFillIcon: string;
|
|
11
|
-
loaderAppearance: string;
|
|
12
|
-
};
|
|
13
|
-
accentPrimary: {
|
|
14
|
-
fill: string;
|
|
15
|
-
fillHover: string;
|
|
16
|
-
labelTextColor: string;
|
|
17
|
-
labelTextColorHover: string;
|
|
18
|
-
borderColor: string;
|
|
19
|
-
iconAfterFillIcon: string;
|
|
20
|
-
iconBeforeFillIcon: string;
|
|
21
|
-
iconFillIcon: string;
|
|
22
|
-
loaderAppearance: string;
|
|
23
|
-
};
|
|
24
|
-
accentSecondary: {
|
|
25
|
-
fill: string;
|
|
26
|
-
fillHover: string;
|
|
27
|
-
labelTextColor: string;
|
|
28
|
-
labelTextColorHover: string;
|
|
29
|
-
borderColor: string;
|
|
30
|
-
iconAfterFillIcon: string;
|
|
31
|
-
iconBeforeFillIcon: string;
|
|
32
|
-
iconFillIcon: string;
|
|
33
|
-
loaderAppearance: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceAccent: ButtonAppearance;
|
|
36
3
|
export { buttonAppearanceAccent };
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
borderColor: string;
|
|
8
|
-
iconAfterFillIcon: string;
|
|
9
|
-
iconBeforeFillIcon: string;
|
|
10
|
-
iconFillIcon: string;
|
|
11
|
-
loaderAppearance: string;
|
|
12
|
-
};
|
|
13
|
-
dangerPrimary: {
|
|
14
|
-
fill: string;
|
|
15
|
-
fillHover: string;
|
|
16
|
-
labelTextColor: string;
|
|
17
|
-
labelTextColorHover: string;
|
|
18
|
-
iconAfterFillIcon: string;
|
|
19
|
-
iconBeforeFillIcon: string;
|
|
20
|
-
iconFillIcon: string;
|
|
21
|
-
loaderAppearance: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceDanger: ButtonAppearance;
|
|
24
3
|
export { buttonAppearanceDanger };
|
|
@@ -1,34 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
iconAfterFillIcon: string;
|
|
8
|
-
iconBeforeFillIcon: string;
|
|
9
|
-
iconFillIcon: string;
|
|
10
|
-
loaderAppearance: string;
|
|
11
|
-
};
|
|
12
|
-
errorMutedPrimary: {
|
|
13
|
-
fill: string;
|
|
14
|
-
fillHover: string;
|
|
15
|
-
labelTextColor: string;
|
|
16
|
-
labelTextColorHover: string;
|
|
17
|
-
borderColor: string;
|
|
18
|
-
iconAfterFillIcon: string;
|
|
19
|
-
iconBeforeFillIcon: string;
|
|
20
|
-
iconFillIcon: string;
|
|
21
|
-
loaderAppearance: string;
|
|
22
|
-
};
|
|
23
|
-
errorPrimary: {
|
|
24
|
-
fill: string;
|
|
25
|
-
fillHover: string;
|
|
26
|
-
labelTextColor: string;
|
|
27
|
-
labelTextColorHover: string;
|
|
28
|
-
iconAfterFillIcon: string;
|
|
29
|
-
iconBeforeFillIcon: string;
|
|
30
|
-
iconFillIcon: string;
|
|
31
|
-
loaderAppearance: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceError: ButtonAppearance;
|
|
34
3
|
export { buttonAppearanceError };
|
|
@@ -1,47 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
borderColor: string;
|
|
8
|
-
iconAfterFillIcon: string;
|
|
9
|
-
iconBeforeFillIcon: string;
|
|
10
|
-
iconFillIcon: string;
|
|
11
|
-
loaderAppearance: string;
|
|
12
|
-
};
|
|
13
|
-
infoMutedPrimary: {
|
|
14
|
-
fill: string;
|
|
15
|
-
fillHover: string;
|
|
16
|
-
labelTextColor: string;
|
|
17
|
-
labelTextColorHover: string;
|
|
18
|
-
borderColor: string;
|
|
19
|
-
iconAfterFillIcon: string;
|
|
20
|
-
iconBeforeFillIcon: string;
|
|
21
|
-
iconFillIcon: string;
|
|
22
|
-
loaderAppearance: string;
|
|
23
|
-
};
|
|
24
|
-
infoPrimary: {
|
|
25
|
-
fill: string;
|
|
26
|
-
fillHover: string;
|
|
27
|
-
labelTextColor: string;
|
|
28
|
-
labelTextColorHover: string;
|
|
29
|
-
borderColor: string;
|
|
30
|
-
iconAfterFillIcon: string;
|
|
31
|
-
iconBeforeFillIcon: string;
|
|
32
|
-
iconFillIcon: string;
|
|
33
|
-
loaderAppearance: string;
|
|
34
|
-
};
|
|
35
|
-
infoSecondary: {
|
|
36
|
-
fill: string;
|
|
37
|
-
fillHover: string;
|
|
38
|
-
labelTextColor: string;
|
|
39
|
-
labelTextColorHover: string;
|
|
40
|
-
borderColor: string;
|
|
41
|
-
iconAfterFillIcon: string;
|
|
42
|
-
iconBeforeFillIcon: string;
|
|
43
|
-
iconFillIcon: string;
|
|
44
|
-
loaderAppearance: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceInfo: ButtonAppearance;
|
|
47
3
|
export { buttonAppearanceInfo };
|
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
iconAfterFillIcon: string;
|
|
7
|
-
iconBeforeFillIcon: string;
|
|
8
|
-
iconFillIcon: string;
|
|
9
|
-
loaderAppearance: string;
|
|
10
|
-
};
|
|
11
|
-
primaryMutedPrimary: {
|
|
12
|
-
fill: string;
|
|
13
|
-
fillHover: string;
|
|
14
|
-
labelTextColor: string;
|
|
15
|
-
borderColor: string;
|
|
16
|
-
iconAfterFillIcon: string;
|
|
17
|
-
iconBeforeFillIcon: string;
|
|
18
|
-
iconFillIcon: string;
|
|
19
|
-
loaderAppearance: string;
|
|
20
|
-
};
|
|
21
|
-
primaryPrimary: {
|
|
22
|
-
fill: string;
|
|
23
|
-
fillHover: string;
|
|
24
|
-
labelTextColor: string;
|
|
25
|
-
iconAfterFillIcon: string;
|
|
26
|
-
iconBeforeFillIcon: string;
|
|
27
|
-
iconFillIcon: string;
|
|
28
|
-
loaderAppearance: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearancePrimary: ButtonAppearance;
|
|
31
3
|
export { buttonAppearancePrimary };
|
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
iconAfterFillIcon: string;
|
|
7
|
-
iconBeforeFillIcon: string;
|
|
8
|
-
iconFillIcon: string;
|
|
9
|
-
loaderAppearance: string;
|
|
10
|
-
};
|
|
11
|
-
secondaryMutedPrimary: {
|
|
12
|
-
fill: string;
|
|
13
|
-
fillHover: string;
|
|
14
|
-
labelTextColor: string;
|
|
15
|
-
borderColor: string;
|
|
16
|
-
iconAfterFillIcon: string;
|
|
17
|
-
iconBeforeFillIcon: string;
|
|
18
|
-
iconFillIcon: string;
|
|
19
|
-
loaderAppearance: string;
|
|
20
|
-
};
|
|
21
|
-
secondaryPrimary: {
|
|
22
|
-
fill: string;
|
|
23
|
-
fillHover: string;
|
|
24
|
-
labelTextColor: string;
|
|
25
|
-
iconAfterFillIcon: string;
|
|
26
|
-
iconBeforeFillIcon: string;
|
|
27
|
-
iconFillIcon: string;
|
|
28
|
-
loaderAppearance: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceSecondary: ButtonAppearance;
|
|
31
3
|
export { buttonAppearanceSecondary };
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
shape: string;
|
|
4
|
-
};
|
|
5
|
-
rounded: {
|
|
6
|
-
shape: string;
|
|
7
|
-
};
|
|
8
|
-
roundedS: {
|
|
9
|
-
shape: string;
|
|
10
|
-
shapeStrength: string;
|
|
11
|
-
};
|
|
12
|
-
roundedM: {
|
|
13
|
-
shape: string;
|
|
14
|
-
shapeStrength: string;
|
|
15
|
-
};
|
|
16
|
-
roundedL: {
|
|
17
|
-
shape: string;
|
|
18
|
-
shapeStrength: string;
|
|
19
|
-
};
|
|
20
|
-
roundedXL: {
|
|
21
|
-
shape: string;
|
|
22
|
-
shapeStrength: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceShape: ButtonAppearance;
|
|
25
3
|
export { buttonAppearanceShape };
|
|
@@ -1,66 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
size: string;
|
|
4
|
-
labelTextSize: string;
|
|
5
|
-
iconAfterFillSize: number;
|
|
6
|
-
iconAfterSize: number;
|
|
7
|
-
iconBeforeFillSize: number;
|
|
8
|
-
iconBeforeSize: number;
|
|
9
|
-
loaderSize: string;
|
|
10
|
-
};
|
|
11
|
-
sizeXL: {
|
|
12
|
-
size: string;
|
|
13
|
-
labelTextSize: string;
|
|
14
|
-
iconAfterFillSize: number;
|
|
15
|
-
iconAfterSize: number;
|
|
16
|
-
iconBeforeFillSize: number;
|
|
17
|
-
iconBeforeSize: number;
|
|
18
|
-
loaderSize: string;
|
|
19
|
-
};
|
|
20
|
-
sizeL: {
|
|
21
|
-
size: string;
|
|
22
|
-
labelTextSize: string;
|
|
23
|
-
iconAfterFillSize: number;
|
|
24
|
-
iconAfterSize: number;
|
|
25
|
-
iconBeforeFillSize: number;
|
|
26
|
-
iconBeforeSize: number;
|
|
27
|
-
loaderSize: string;
|
|
28
|
-
};
|
|
29
|
-
sizeM: {
|
|
30
|
-
size: string;
|
|
31
|
-
labelTextSize: string;
|
|
32
|
-
iconAfterFillSize: number;
|
|
33
|
-
iconAfterSize: number;
|
|
34
|
-
iconBeforeFillSize: number;
|
|
35
|
-
iconBeforeSize: number;
|
|
36
|
-
loaderSize: string;
|
|
37
|
-
};
|
|
38
|
-
sizeS: {
|
|
39
|
-
size: string;
|
|
40
|
-
labelTextSize: string;
|
|
41
|
-
iconAfterFillSize: number;
|
|
42
|
-
iconAfterSize: number;
|
|
43
|
-
iconBeforeFillSize: number;
|
|
44
|
-
iconBeforeSize: number;
|
|
45
|
-
loaderSize: string;
|
|
46
|
-
};
|
|
47
|
-
sizeXS: {
|
|
48
|
-
size: string;
|
|
49
|
-
labelTextSize: string;
|
|
50
|
-
iconAfterFillSize: number;
|
|
51
|
-
iconAfterSize: number;
|
|
52
|
-
iconBeforeFillSize: number;
|
|
53
|
-
iconBeforeSize: number;
|
|
54
|
-
loaderSize: string;
|
|
55
|
-
};
|
|
56
|
-
sizeXXS: {
|
|
57
|
-
size: string;
|
|
58
|
-
labelTextSize: string;
|
|
59
|
-
iconAfterFillSize: number;
|
|
60
|
-
iconAfterSize: number;
|
|
61
|
-
iconBeforeFillSize: number;
|
|
62
|
-
iconBeforeSize: number;
|
|
63
|
-
loaderSize: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceSize: ButtonAppearance;
|
|
66
3
|
export { buttonAppearanceSize };
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
borderColor: string;
|
|
4
|
-
};
|
|
5
|
-
outlined: {
|
|
6
|
-
fill: string;
|
|
7
|
-
};
|
|
8
|
-
full: {};
|
|
9
|
-
ghost: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceStyle: ButtonAppearance;
|
|
14
3
|
export { buttonAppearanceStyle };
|
|
@@ -1,34 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
iconAfterFillIcon: string;
|
|
8
|
-
iconBeforeFillIcon: string;
|
|
9
|
-
iconFillIcon: string;
|
|
10
|
-
loaderAppearance: string;
|
|
11
|
-
};
|
|
12
|
-
successMutedPrimary: {
|
|
13
|
-
fill: string;
|
|
14
|
-
fillHover: string;
|
|
15
|
-
labelTextColor: string;
|
|
16
|
-
labelTextColorHover: string;
|
|
17
|
-
borderColor: string;
|
|
18
|
-
iconAfterFillIcon: string;
|
|
19
|
-
iconBeforeFillIcon: string;
|
|
20
|
-
iconFillIcon: string;
|
|
21
|
-
loaderAppearance: string;
|
|
22
|
-
};
|
|
23
|
-
successPrimary: {
|
|
24
|
-
fill: string;
|
|
25
|
-
fillHover: string;
|
|
26
|
-
labelTextColor: string;
|
|
27
|
-
labelTextColorHover: string;
|
|
28
|
-
iconAfterFillIcon: string;
|
|
29
|
-
iconBeforeFillIcon: string;
|
|
30
|
-
iconFillIcon: string;
|
|
31
|
-
loaderAppearance: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceSuccess: ButtonAppearance;
|
|
34
3
|
export { buttonAppearanceSuccess };
|
|
@@ -1,52 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
borderColor: string;
|
|
7
|
-
iconAfterFillIcon: string;
|
|
8
|
-
iconBeforeFillIcon: string;
|
|
9
|
-
iconFillIcon: string;
|
|
10
|
-
loaderAppearance: string;
|
|
11
|
-
};
|
|
12
|
-
surfacePrimary: {
|
|
13
|
-
fill: string;
|
|
14
|
-
fillHover: string;
|
|
15
|
-
labelTextColor: string;
|
|
16
|
-
borderColor: string;
|
|
17
|
-
iconAfterFillIcon: string;
|
|
18
|
-
iconBeforeFillIcon: string;
|
|
19
|
-
iconFillIcon: string;
|
|
20
|
-
loaderAppearance: string;
|
|
21
|
-
};
|
|
22
|
-
surfaceSecondary: {
|
|
23
|
-
fill: string;
|
|
24
|
-
fillHover: string;
|
|
25
|
-
labelTextColor: string;
|
|
26
|
-
borderColor: string;
|
|
27
|
-
iconAfterFillIcon: string;
|
|
28
|
-
iconBeforeFillIcon: string;
|
|
29
|
-
iconFillIcon: string;
|
|
30
|
-
loaderAppearance: string;
|
|
31
|
-
};
|
|
32
|
-
surfaceTertiary: {
|
|
33
|
-
fill: string;
|
|
34
|
-
fillHover: string;
|
|
35
|
-
labelTextColor: string;
|
|
36
|
-
iconAfterFillIcon: string;
|
|
37
|
-
iconBeforeFillIcon: string;
|
|
38
|
-
iconFillIcon: string;
|
|
39
|
-
loaderAppearance: string;
|
|
40
|
-
};
|
|
41
|
-
surfaceQuaternary: {
|
|
42
|
-
fill: string;
|
|
43
|
-
fillHover: string;
|
|
44
|
-
labelTextColor: string;
|
|
45
|
-
borderColor: string;
|
|
46
|
-
iconAfterFillIcon: string;
|
|
47
|
-
iconBeforeFillIcon: string;
|
|
48
|
-
iconFillIcon: string;
|
|
49
|
-
loaderAppearance: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
1
|
+
import { ButtonAppearance } from '../Button.interface';
|
|
2
|
+
declare const buttonAppearanceSurface: ButtonAppearance;
|
|
52
3
|
export { buttonAppearanceSurface };
|