@aws-amplify/ui 3.6.2 → 3.6.5
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/esm/machines/authenticator/index.js +1 -1
- package/dist/esm/theme/tokens/components/button.js +1 -1
- package/dist/esm/theme/tokens/components/countryCodeSelect.js +1 -1
- package/dist/esm/theme/tokens/components/fieldControl.js +1 -1
- package/dist/esm/theme/tokens/components/fieldGroup.js +1 -1
- package/dist/esm/theme/tokens/components/index.js +1 -1
- package/dist/esm/theme/tokens/components/menu.js +1 -1
- package/dist/esm/theme/tokens/components/switchField.js +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +11 -10
- package/dist/theme.css +10 -10
- package/dist/types/theme/tokens/components/alert.d.ts +28 -65
- package/dist/types/theme/tokens/components/authenticator.d.ts +47 -71
- package/dist/types/theme/tokens/components/badge.d.ts +29 -83
- package/dist/types/theme/tokens/components/button.d.ts +81 -326
- package/dist/types/theme/tokens/components/card.d.ts +15 -62
- package/dist/types/theme/tokens/components/checkbox.d.ts +75 -140
- package/dist/types/theme/tokens/components/checkboxField.d.ts +8 -14
- package/dist/types/theme/tokens/components/copy.d.ts +20 -26
- package/dist/types/theme/tokens/components/countryCodeSelect.d.ts +5 -5
- package/dist/types/theme/tokens/components/divider.d.ts +21 -38
- package/dist/types/theme/tokens/components/expander.d.ts +69 -135
- package/dist/types/theme/tokens/components/field.d.ts +17 -29
- package/dist/types/theme/tokens/components/fieldControl.d.ts +72 -174
- package/dist/types/theme/tokens/components/fieldGroup.d.ts +14 -15
- package/dist/types/theme/tokens/components/fieldMessages.d.ts +16 -21
- package/dist/types/theme/tokens/components/flex.d.ts +9 -17
- package/dist/types/theme/tokens/components/heading.d.ts +17 -56
- package/dist/types/theme/tokens/components/icon.d.ts +6 -8
- package/dist/types/theme/tokens/components/image.d.ts +8 -14
- package/dist/types/theme/tokens/components/index.d.ts +75 -2493
- package/dist/types/theme/tokens/components/link.d.ts +18 -35
- package/dist/types/theme/tokens/components/loader.d.ts +40 -92
- package/dist/types/theme/tokens/components/menu.d.ts +27 -59
- package/dist/types/theme/tokens/components/pagination.d.ts +48 -82
- package/dist/types/theme/tokens/components/placeholder.d.ts +15 -29
- package/dist/types/theme/tokens/components/radio.d.ts +72 -131
- package/dist/types/theme/tokens/components/rating.d.ts +19 -27
- package/dist/types/theme/tokens/components/select.d.ts +33 -60
- package/dist/types/theme/tokens/components/selectField.d.ts +5 -5
- package/dist/types/theme/tokens/components/sliderField.d.ts +61 -118
- package/dist/types/theme/tokens/components/stepperField.d.ts +10 -10
- package/dist/types/theme/tokens/components/switchField.d.ts +53 -78
- package/dist/types/theme/tokens/components/table.d.ts +61 -197
- package/dist/types/theme/tokens/components/tabs.d.ts +44 -84
- package/dist/types/theme/tokens/components/text.d.ts +16 -40
- package/dist/types/theme/tokens/components/toggleButton.d.ts +103 -154
- package/dist/types/theme/tokens/components/toggleButtonGroup.d.ts +7 -11
- package/dist/types/theme/tokens/index.d.ts +2 -1
- package/dist/types/theme/tokens/types/designToken.d.ts +41 -5
- package/dist/types/types/authenticator/stateMachine/context.d.ts +1 -0
- package/package.json +4 -2
- package/dist/esm/theme/tokens/components/phoneNumberField.js +0 -1
- package/dist/types/theme/tokens/components/phoneNumberField.d.ts +0 -1
|
@@ -1,35 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
large: {
|
|
21
|
-
fontSize: {
|
|
22
|
-
value: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
small: {
|
|
26
|
-
fontSize: {
|
|
27
|
-
value: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
visited: {
|
|
31
|
-
color: {
|
|
32
|
-
value: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
1
|
+
import { ColorValue, DesignToken, FontSizeValue } from '../types/designToken';
|
|
2
|
+
interface LinkStateTokens {
|
|
3
|
+
color: DesignToken<ColorValue>;
|
|
4
|
+
}
|
|
5
|
+
interface LinkSizeTokens {
|
|
6
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
7
|
+
}
|
|
8
|
+
export interface LinkTokens {
|
|
9
|
+
active: LinkStateTokens;
|
|
10
|
+
color: DesignToken<ColorValue>;
|
|
11
|
+
focus: LinkStateTokens;
|
|
12
|
+
hover: LinkStateTokens;
|
|
13
|
+
large: LinkSizeTokens;
|
|
14
|
+
small: LinkSizeTokens;
|
|
15
|
+
visited: LinkStateTokens;
|
|
16
|
+
}
|
|
17
|
+
export declare const link: LinkTokens;
|
|
18
|
+
export {};
|
|
@@ -1,92 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
fontSize:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
fontSize: {
|
|
42
|
-
value: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
linear: {
|
|
46
|
-
width: {
|
|
47
|
-
value: string;
|
|
48
|
-
};
|
|
49
|
-
minWidth: {
|
|
50
|
-
value: string;
|
|
51
|
-
};
|
|
52
|
-
fontSize: {
|
|
53
|
-
value: string;
|
|
54
|
-
};
|
|
55
|
-
strokeWidth: {
|
|
56
|
-
value: string;
|
|
57
|
-
};
|
|
58
|
-
strokeFilled: {
|
|
59
|
-
value: string;
|
|
60
|
-
};
|
|
61
|
-
strokeEmpty: {
|
|
62
|
-
value: string;
|
|
63
|
-
};
|
|
64
|
-
strokeLinecap: {
|
|
65
|
-
value: string;
|
|
66
|
-
};
|
|
67
|
-
animationDuration: {
|
|
68
|
-
value: string;
|
|
69
|
-
};
|
|
70
|
-
small: {
|
|
71
|
-
strokeWidth: {
|
|
72
|
-
value: string;
|
|
73
|
-
};
|
|
74
|
-
fontSize: {
|
|
75
|
-
value: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
large: {
|
|
79
|
-
strokeWidth: {
|
|
80
|
-
value: string;
|
|
81
|
-
};
|
|
82
|
-
fontSize: {
|
|
83
|
-
value: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
text: {
|
|
88
|
-
fill: {
|
|
89
|
-
value: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
1
|
+
import { AnimationDurationValue, ColorValue, DesignToken, FontSizeValue, SpaceValue, StrokeEmptyValue, StrokeFilledValue, StrokeLinecapValue } from '../types/designToken';
|
|
2
|
+
interface LoaderSizeTokens {
|
|
3
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
4
|
+
height: DesignToken<SpaceValue>;
|
|
5
|
+
width: DesignToken<SpaceValue>;
|
|
6
|
+
}
|
|
7
|
+
interface LoaderLinearSizeTokens {
|
|
8
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
9
|
+
strokeWidth: DesignToken<SpaceValue>;
|
|
10
|
+
}
|
|
11
|
+
interface LoaderLinearTokens {
|
|
12
|
+
width: DesignToken<SpaceValue>;
|
|
13
|
+
minWidth: DesignToken<SpaceValue>;
|
|
14
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
15
|
+
strokeWidth: DesignToken<SpaceValue>;
|
|
16
|
+
strokeFilled: DesignToken<StrokeFilledValue>;
|
|
17
|
+
strokeEmpty: DesignToken<StrokeEmptyValue>;
|
|
18
|
+
strokeLinecap: DesignToken<StrokeLinecapValue>;
|
|
19
|
+
animationDuration: DesignToken<AnimationDurationValue>;
|
|
20
|
+
small: LoaderLinearSizeTokens;
|
|
21
|
+
large: LoaderLinearSizeTokens;
|
|
22
|
+
}
|
|
23
|
+
interface LoaderTextTokens {
|
|
24
|
+
fill: DesignToken<ColorValue>;
|
|
25
|
+
}
|
|
26
|
+
export interface LoaderTokens {
|
|
27
|
+
width: DesignToken<SpaceValue>;
|
|
28
|
+
height: DesignToken<SpaceValue>;
|
|
29
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
30
|
+
strokeEmpty: DesignToken<StrokeEmptyValue>;
|
|
31
|
+
strokeFilled: DesignToken<StrokeFilledValue>;
|
|
32
|
+
strokeLinecap: DesignToken<StrokeLinecapValue>;
|
|
33
|
+
animationDuration: DesignToken<AnimationDurationValue>;
|
|
34
|
+
small: LoaderSizeTokens;
|
|
35
|
+
large: LoaderSizeTokens;
|
|
36
|
+
linear: LoaderLinearTokens;
|
|
37
|
+
text: LoaderTextTokens;
|
|
38
|
+
}
|
|
39
|
+
export declare const loader: LoaderTokens;
|
|
40
|
+
export {};
|
|
@@ -1,59 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
boxShadow:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
minWidth: {
|
|
30
|
-
value: string;
|
|
31
|
-
};
|
|
32
|
-
small: {
|
|
33
|
-
width: {
|
|
34
|
-
value: string;
|
|
35
|
-
};
|
|
36
|
-
height: {
|
|
37
|
-
value: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
large: {
|
|
41
|
-
width: {
|
|
42
|
-
value: string;
|
|
43
|
-
};
|
|
44
|
-
height: {
|
|
45
|
-
value: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
item: {
|
|
49
|
-
minHeight: {
|
|
50
|
-
value: string;
|
|
51
|
-
};
|
|
52
|
-
paddingInlineStart: {
|
|
53
|
-
value: string;
|
|
54
|
-
};
|
|
55
|
-
paddingInlineEnd: {
|
|
56
|
-
value: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
1
|
+
import { BackgroundColorValue, BorderColorValue, BorderRadiusValue, BorderStyleValue, BorderWidthValue, BoxShadowValue, DesignToken, FlexDirectionValue, GapValue, SpaceValue } from '../types/designToken';
|
|
2
|
+
interface MenuSizeTokens {
|
|
3
|
+
width: DesignToken<SpaceValue>;
|
|
4
|
+
height: DesignToken<SpaceValue>;
|
|
5
|
+
}
|
|
6
|
+
interface MenuItemTokens {
|
|
7
|
+
minHeight: DesignToken<SpaceValue>;
|
|
8
|
+
paddingInlineStart: DesignToken<SpaceValue>;
|
|
9
|
+
paddingInlineEnd: DesignToken<SpaceValue>;
|
|
10
|
+
}
|
|
11
|
+
export interface MenuTokens {
|
|
12
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
13
|
+
borderRadius: DesignToken<BorderRadiusValue>;
|
|
14
|
+
borderWidth: DesignToken<BorderWidthValue>;
|
|
15
|
+
borderStyle: DesignToken<BorderStyleValue>;
|
|
16
|
+
borderColor: DesignToken<BorderColorValue>;
|
|
17
|
+
boxShadow: DesignToken<BoxShadowValue>;
|
|
18
|
+
flexDirection: DesignToken<FlexDirectionValue>;
|
|
19
|
+
gap: DesignToken<GapValue>;
|
|
20
|
+
maxWidth: DesignToken<SpaceValue>;
|
|
21
|
+
minWidth: DesignToken<SpaceValue>;
|
|
22
|
+
small: MenuSizeTokens;
|
|
23
|
+
large: MenuSizeTokens;
|
|
24
|
+
item: MenuItemTokens;
|
|
25
|
+
}
|
|
26
|
+
export declare const menu: MenuTokens;
|
|
27
|
+
export {};
|
|
@@ -1,82 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
ellipsis: {
|
|
50
|
-
alignItems: {
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
53
|
-
justifyContent: {
|
|
54
|
-
value: string;
|
|
55
|
-
};
|
|
56
|
-
paddingInlineStart: {
|
|
57
|
-
value: string;
|
|
58
|
-
};
|
|
59
|
-
paddingInlineEnd: {
|
|
60
|
-
value: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
itemContainer: {
|
|
64
|
-
marginLeft: {
|
|
65
|
-
value: string;
|
|
66
|
-
};
|
|
67
|
-
marginRight: {
|
|
68
|
-
value: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
itemShared: {
|
|
72
|
-
height: {
|
|
73
|
-
value: string;
|
|
74
|
-
};
|
|
75
|
-
minWidth: {
|
|
76
|
-
value: string;
|
|
77
|
-
};
|
|
78
|
-
borderRadius: {
|
|
79
|
-
value: string;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
1
|
+
import { AlignItemsValue, BackgroundColorValue, BorderRadiusValue, ColorValue, DesignToken, FontSizeValue, JustifyContentValue, SpaceValue, TransitionDurationValue, TransitionPropertyValue } from '../types/designToken';
|
|
2
|
+
interface PaginationCurrentTokens {
|
|
3
|
+
alignItems: DesignToken<AlignItemsValue>;
|
|
4
|
+
justifyContent: DesignToken<JustifyContentValue>;
|
|
5
|
+
color: DesignToken<ColorValue>;
|
|
6
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
7
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
8
|
+
}
|
|
9
|
+
interface PaginationButtonTokens {
|
|
10
|
+
color: DesignToken<ColorValue>;
|
|
11
|
+
paddingInlineStart: DesignToken<SpaceValue>;
|
|
12
|
+
paddingInlineEnd: DesignToken<SpaceValue>;
|
|
13
|
+
transitionProperty: DesignToken<TransitionPropertyValue>;
|
|
14
|
+
transitionDuration: DesignToken<TransitionDurationValue>;
|
|
15
|
+
hover: PaginationButtonHoverTokens;
|
|
16
|
+
disabled: PaginationButtonDisabledTokens;
|
|
17
|
+
}
|
|
18
|
+
interface PaginationButtonHoverTokens {
|
|
19
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
20
|
+
color: DesignToken<ColorValue>;
|
|
21
|
+
}
|
|
22
|
+
interface PaginationButtonDisabledTokens {
|
|
23
|
+
color: DesignToken<ColorValue>;
|
|
24
|
+
}
|
|
25
|
+
interface PaginationEllipsisTokens {
|
|
26
|
+
alignItems: DesignToken<AlignItemsValue>;
|
|
27
|
+
justifyContent: DesignToken<JustifyContentValue>;
|
|
28
|
+
paddingInlineStart: DesignToken<SpaceValue>;
|
|
29
|
+
paddingInlineEnd: DesignToken<SpaceValue>;
|
|
30
|
+
}
|
|
31
|
+
interface PaginationItemContainerTokens {
|
|
32
|
+
marginLeft: DesignToken<SpaceValue>;
|
|
33
|
+
marginRight: DesignToken<SpaceValue>;
|
|
34
|
+
}
|
|
35
|
+
interface PaginationItemSharedTokens {
|
|
36
|
+
height: DesignToken<SpaceValue>;
|
|
37
|
+
minWidth: DesignToken<SpaceValue>;
|
|
38
|
+
borderRadius: DesignToken<BorderRadiusValue>;
|
|
39
|
+
}
|
|
40
|
+
export interface PaginationTokens {
|
|
41
|
+
current: PaginationCurrentTokens;
|
|
42
|
+
button: PaginationButtonTokens;
|
|
43
|
+
ellipsis: PaginationEllipsisTokens;
|
|
44
|
+
itemContainer: PaginationItemContainerTokens;
|
|
45
|
+
itemShared: PaginationItemSharedTokens;
|
|
46
|
+
}
|
|
47
|
+
export declare const pagination: PaginationTokens;
|
|
48
|
+
export {};
|
|
@@ -1,29 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
startColor:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
value: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
default: {
|
|
20
|
-
height: {
|
|
21
|
-
value: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
large: {
|
|
25
|
-
height: {
|
|
26
|
-
value: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
1
|
+
import { BorderRadiusValue, ColorValue, DesignToken, SpaceValue, TransitionDurationValue } from '../types/designToken';
|
|
2
|
+
interface PlaceholderSizeTokens {
|
|
3
|
+
height: DesignToken<SpaceValue>;
|
|
4
|
+
}
|
|
5
|
+
export interface PlaceholderTokens {
|
|
6
|
+
borderRadius: DesignToken<BorderRadiusValue>;
|
|
7
|
+
transitionDuration: DesignToken<TransitionDurationValue>;
|
|
8
|
+
startColor: DesignToken<ColorValue>;
|
|
9
|
+
endColor: DesignToken<ColorValue>;
|
|
10
|
+
small: PlaceholderSizeTokens;
|
|
11
|
+
default: PlaceholderSizeTokens;
|
|
12
|
+
large: PlaceholderSizeTokens;
|
|
13
|
+
}
|
|
14
|
+
export declare const placeholder: PlaceholderTokens;
|
|
15
|
+
export {};
|
|
@@ -1,131 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
value: string;
|
|
74
|
-
};
|
|
75
|
-
height: {
|
|
76
|
-
value: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
large: {
|
|
80
|
-
width: {
|
|
81
|
-
value: string;
|
|
82
|
-
};
|
|
83
|
-
height: {
|
|
84
|
-
value: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
_checked: {
|
|
88
|
-
color: {
|
|
89
|
-
value: string;
|
|
90
|
-
};
|
|
91
|
-
_disabled: {
|
|
92
|
-
color: {
|
|
93
|
-
value: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
_focus: {
|
|
98
|
-
borderColor: {
|
|
99
|
-
value: string;
|
|
100
|
-
};
|
|
101
|
-
boxShadow: {
|
|
102
|
-
value: string;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
_error: {
|
|
106
|
-
borderColor: {
|
|
107
|
-
value: string;
|
|
108
|
-
};
|
|
109
|
-
_focus: {
|
|
110
|
-
boxShadow: {
|
|
111
|
-
value: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
_disabled: {
|
|
116
|
-
borderColor: {
|
|
117
|
-
value: string;
|
|
118
|
-
};
|
|
119
|
-
backgroundColor: {
|
|
120
|
-
value: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
label: {
|
|
125
|
-
_disabled: {
|
|
126
|
-
color: {
|
|
127
|
-
value: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
};
|
|
1
|
+
import { AlignItemsValue, BackgroundColorValue, BorderColorValue, BorderRadiusValue, BorderStyleValue, BorderWidthValue, BoxShadowValue, BoxSizingValue, ColorValue, CursorValue, DesignToken, GapValue, JustifyContentValue, OutlineColorValue, OutlineOffsetValue, OutlineStyleValue, OutlineWidthValue, SpaceValue, TransitionDurationValue, TransitionPropertyValue } from '../types/designToken';
|
|
2
|
+
interface RadioDisabledTokens {
|
|
3
|
+
cursor: DesignToken<CursorValue>;
|
|
4
|
+
}
|
|
5
|
+
interface RadioButtonTokens {
|
|
6
|
+
alignItems: DesignToken<AlignItemsValue>;
|
|
7
|
+
justifyContent: DesignToken<JustifyContentValue>;
|
|
8
|
+
width: DesignToken<SpaceValue>;
|
|
9
|
+
height: DesignToken<SpaceValue>;
|
|
10
|
+
boxSizing: DesignToken<BoxSizingValue>;
|
|
11
|
+
borderWidth: DesignToken<BorderWidthValue>;
|
|
12
|
+
borderStyle: DesignToken<BorderStyleValue>;
|
|
13
|
+
borderRadius: DesignToken<BorderRadiusValue>;
|
|
14
|
+
borderColor: DesignToken<BorderColorValue>;
|
|
15
|
+
color: DesignToken<ColorValue>;
|
|
16
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
17
|
+
transitionProperty: DesignToken<TransitionPropertyValue>;
|
|
18
|
+
transitionDuration: DesignToken<TransitionDurationValue>;
|
|
19
|
+
outlineColor: DesignToken<OutlineColorValue>;
|
|
20
|
+
outlineStyle: DesignToken<OutlineStyleValue>;
|
|
21
|
+
outlineWidth: DesignToken<OutlineWidthValue>;
|
|
22
|
+
outlineOffset: DesignToken<OutlineOffsetValue>;
|
|
23
|
+
padding: DesignToken<SpaceValue>;
|
|
24
|
+
small: RadioButtonSizeTokens;
|
|
25
|
+
large: RadioButtonSizeTokens;
|
|
26
|
+
_checked: RadioButtonCheckedTokens;
|
|
27
|
+
_focus: RadioButtonFocusTokens;
|
|
28
|
+
_error: RadioButtonErrorTokens;
|
|
29
|
+
_disabled: RadioButtonDisabledTokens;
|
|
30
|
+
}
|
|
31
|
+
interface RadioButtonSizeTokens {
|
|
32
|
+
width: DesignToken<SpaceValue>;
|
|
33
|
+
height: DesignToken<SpaceValue>;
|
|
34
|
+
}
|
|
35
|
+
interface RadioButtonCheckedTokens {
|
|
36
|
+
color: DesignToken<ColorValue>;
|
|
37
|
+
_disabled: RadioButtonCheckedDisabledTokens;
|
|
38
|
+
}
|
|
39
|
+
interface RadioButtonCheckedDisabledTokens {
|
|
40
|
+
color: DesignToken<ColorValue>;
|
|
41
|
+
}
|
|
42
|
+
interface RadioButtonFocusTokens {
|
|
43
|
+
borderColor: DesignToken<BorderColorValue>;
|
|
44
|
+
boxShadow: DesignToken<BoxShadowValue>;
|
|
45
|
+
}
|
|
46
|
+
interface RadioButtonErrorTokens {
|
|
47
|
+
borderColor: DesignToken<BorderColorValue>;
|
|
48
|
+
_focus: RadioButtonErrorFocusTokens;
|
|
49
|
+
}
|
|
50
|
+
interface RadioButtonErrorFocusTokens {
|
|
51
|
+
boxShadow: DesignToken<BoxShadowValue>;
|
|
52
|
+
}
|
|
53
|
+
interface RadioButtonDisabledTokens {
|
|
54
|
+
borderColor: DesignToken<BorderColorValue>;
|
|
55
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
56
|
+
}
|
|
57
|
+
interface RadioLabelTokens {
|
|
58
|
+
_disabled: RadioLabelDisabledTokens;
|
|
59
|
+
}
|
|
60
|
+
interface RadioLabelDisabledTokens {
|
|
61
|
+
color: DesignToken<ColorValue>;
|
|
62
|
+
}
|
|
63
|
+
export interface RadioTokens {
|
|
64
|
+
alignItems: DesignToken<AlignItemsValue>;
|
|
65
|
+
justifyContent: DesignToken<JustifyContentValue>;
|
|
66
|
+
gap: DesignToken<GapValue>;
|
|
67
|
+
_disabled: RadioDisabledTokens;
|
|
68
|
+
button: RadioButtonTokens;
|
|
69
|
+
label: RadioLabelTokens;
|
|
70
|
+
}
|
|
71
|
+
export declare const radio: RadioTokens;
|
|
72
|
+
export {};
|