@itcase/ui 1.8.118 → 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.
Files changed (33) hide show
  1. package/dist/{Button_cjs_CvczxroQ.js → Button_cjs_3BTD8Mlm.js} +63 -63
  2. package/dist/{Button_es_BmbsQu5F.js → Button_es_B_k-SP92.js} +63 -63
  3. package/dist/{DatePicker_cjs_DYXNxuUF.js → DatePicker_cjs_BLkZB0S0.js} +1 -1
  4. package/dist/{DatePicker_es_lMIvYFM6.js → DatePicker_es_CKrgRUWu.js} +1 -1
  5. package/dist/cjs/components/Button.js +1 -1
  6. package/dist/cjs/components/Checkbox.js +2 -2
  7. package/dist/cjs/components/CookiesWarning.js +1 -1
  8. package/dist/cjs/components/DatePeriod.js +2 -2
  9. package/dist/cjs/components/DatePicker.js +2 -2
  10. package/dist/cjs/components/Response.js +1 -1
  11. package/dist/components/Button.js +1 -1
  12. package/dist/components/Checkbox.js +2 -2
  13. package/dist/components/CookiesWarning.js +1 -1
  14. package/dist/components/DatePeriod.js +2 -2
  15. package/dist/components/DatePicker.js +2 -2
  16. package/dist/components/Response.js +1 -1
  17. package/dist/types/components/Button/Button.appearance.d.ts +2612 -2
  18. package/dist/types/components/Button/Button.d.ts +71 -2
  19. package/dist/types/components/Button/Button.interface.d.ts +67 -60
  20. package/dist/types/components/Button/appearance/buttonAccent.d.ts +2 -35
  21. package/dist/types/components/Button/appearance/buttonDanger.d.ts +2 -23
  22. package/dist/types/components/Button/appearance/buttonError.d.ts +2 -33
  23. package/dist/types/components/Button/appearance/buttonInfo.d.ts +2 -46
  24. package/dist/types/components/Button/appearance/buttonPrimary.d.ts +2 -30
  25. package/dist/types/components/Button/appearance/buttonSecondary.d.ts +2 -30
  26. package/dist/types/components/Button/appearance/buttonShape.d.ts +2 -24
  27. package/dist/types/components/Button/appearance/buttonSize.d.ts +2 -65
  28. package/dist/types/components/Button/appearance/buttonStyle.d.ts +2 -13
  29. package/dist/types/components/Button/appearance/buttonSuccess.d.ts +2 -33
  30. package/dist/types/components/Button/appearance/buttonSurface.d.ts +2 -51
  31. package/dist/types/components/Button/appearance/buttonWarning.d.ts +2 -33
  32. package/dist/types/components/Checkbox/appearance/checkboxRequire.d.ts +2 -2
  33. package/package.json +1 -1
@@ -1,5 +1,74 @@
1
1
  import React from 'react';
2
- import type { ButtonConfig, ButtonProps } from './Button.interface';
2
+ import type { ButtonConfig } from './Button.interface';
3
3
  declare const buttonConfig: ButtonConfig;
4
- declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
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 type { CSSProperties, ElementType, ReactNode } from 'react';
2
- import { AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, ElevationProps, FillHoverProps, FillProps, IconFillSizeProps, IconSizeProps, ItemColorProps, ShapeProps, SizeProps, TextColorHoverProps, TextColorProps, TextSizeProps, TextWeightProps, TextWrapProps, WidthProps } from '@itcase/types';
3
- import type { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
4
- interface ButtonThemeColor {
5
- [key: number | string | symbol]: any;
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
- fillIcon?: FillProps;
13
- fillIconAfter?: FillProps;
14
- fillIconBefore?: FillProps;
15
- iconAfterFill?: ItemColorProps;
16
- iconAfterFillSize?: IconFillSizeProps;
17
- iconAfterShape?: ShapeProps;
18
- iconAfterSize?: IconSizeProps;
19
- iconAfterSrc?: string;
20
- iconBeforeFill?: ItemColorProps;
21
- iconBeforeFillSize?: IconFillSizeProps;
22
- iconBeforeShape?: ShapeProps;
23
- iconBeforeSize?: IconSizeProps;
24
- iconBeforeSrc?: string;
25
- iconFill?: ItemColorProps;
26
- iconFillSize?: IconFillSizeProps;
27
- iconShape?: ShapeProps;
28
- iconSize?: IconSizeProps;
29
- label?: string;
30
- labelTextColor?: TextColorProps;
31
- labelTextColorHover?: TextColorHoverProps;
32
- labelTextSize?: TextSizeProps;
33
- labelTextSizeMobile?: TextSizeProps;
34
- labelTextWeight?: TextWeightProps;
35
- labelTextWrap?: TextWrapProps;
36
- loaderFill?: FillProps;
37
- loaderItemFill?: ItemColorProps;
38
- loaderSet?: string;
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
- width?: WidthProps;
42
- }
43
- type AppearanceKeys = AppearanceKeysDefault & {};
44
- type ButtonAppearance = {
45
- [key in AppearanceKeys]?: ButtonThemeColor;
50
+ wrap?: WrapProps;
46
51
  };
47
- interface ButtonConfig {
48
- [key: number | string | symbol]: any;
49
- appearance: ButtonAppearance | undefined;
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?: ReactNode;
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?: ElementType;
64
- icon?: ElementType;
65
- iconAfter?: ElementType;
66
- iconBefore?: ElementType;
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
- loading?: boolean;
71
+ onClick?: () => void;
72
+ onMouseDown?: () => void;
71
73
  rel?: string;
72
74
  style?: CSSProperties;
73
75
  target?: string;
74
- isDisabled?: boolean;
75
- onClick?: () => void;
76
- onMouseDown?: () => void;
77
- set?: string;
78
- }
79
- export type { ButtonThemeColor, ButtonAppearance, ButtonConfig, ButtonProps };
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
- declare const buttonAppearanceAccent: {
2
- accentMutedPrimary: {
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
- declare const buttonAppearanceDanger: {
2
- dangerMutedPrimary: {
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
- declare const buttonAppearanceError: {
2
- error: {
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
- declare const buttonAppearanceInfo: {
2
- info: {
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
- declare const buttonAppearancePrimary: {
2
- primary: {
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
- declare const buttonAppearanceSecondary: {
2
- secondary: {
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
- declare const buttonAppearanceShape: {
2
- circular: {
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
- declare const buttonAppearanceSize: {
2
- sizeXXL: {
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
- declare const buttonAppearanceStyle: {
2
- solid: {
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
- declare const buttonAppearanceSuccess: {
2
- success: {
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
- declare const buttonAppearanceSurface: {
2
- surfaceMutedPrimary: {
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 };