@fluentui-react-native/tester 0.127.1 → 0.128.0
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/CHANGELOG.json +351 -1
- package/CHANGELOG.md +69 -2
- package/lib/E2E/src/ColorTokens/consts.d.ts +4 -0
- package/lib/E2E/src/ColorTokens/consts.d.ts.map +1 -0
- package/lib/E2E/src/ColorTokens/consts.js +4 -0
- package/lib/E2E/src/ColorTokens/consts.js.map +1 -0
- package/lib/E2E/src/index.consts.d.ts +1 -1
- package/lib/E2E/src/index.consts.d.ts.map +1 -1
- package/lib/E2E/src/index.consts.js +1 -1
- package/lib/E2E/src/index.consts.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.js +64 -21
- package/lib/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.d.ts +3 -0
- package/lib/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.d.ts.map +1 -0
- package/lib/fluent-tester/src/TestComponents/{Tokens/TokenTest.js → ColorTokens/ColorTokenTest.js} +8 -8
- package/lib/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.js.map +1 -0
- package/lib/fluent-tester/src/TestComponents/ColorTokens/index.d.ts +2 -0
- package/lib/fluent-tester/src/TestComponents/ColorTokens/index.d.ts.map +1 -0
- package/lib/fluent-tester/src/TestComponents/ColorTokens/index.js +2 -0
- package/lib/fluent-tester/src/TestComponents/ColorTokens/index.js.map +1 -0
- package/lib/fluent-tester/src/TestComponents/Common/styles.d.ts +3 -0
- package/lib/fluent-tester/src/TestComponents/Common/styles.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Common/styles.js +4 -1
- package/lib/fluent-tester/src/TestComponents/Common/styles.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js +2 -2
- package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.js +22 -15
- package/lib/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.js.map +1 -1
- package/lib/fluent-tester/src/testPages.js +7 -7
- package/lib/fluent-tester/src/testPages.js.map +1 -1
- package/lib-commonjs/E2E/src/ColorTokens/consts.d.ts +4 -0
- package/lib-commonjs/E2E/src/ColorTokens/consts.d.ts.map +1 -0
- package/lib-commonjs/E2E/src/ColorTokens/consts.js +7 -0
- package/lib-commonjs/E2E/src/ColorTokens/consts.js.map +1 -0
- package/lib-commonjs/E2E/src/index.consts.d.ts +1 -1
- package/lib-commonjs/E2E/src/index.consts.d.ts.map +1 -1
- package/lib-commonjs/E2E/src/index.consts.js +1 -1
- package/lib-commonjs/E2E/src/index.consts.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.js +64 -21
- package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.d.ts +3 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.d.ts.map +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/{Tokens/TokenTest.js → ColorTokens/ColorTokenTest.js} +10 -10
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.js.map +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/index.d.ts +2 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/index.d.ts.map +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/{Tokens → ColorTokens}/index.js +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/ColorTokens/index.js.map +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/styles.d.ts +3 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/styles.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/styles.js +4 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/styles.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js +2 -2
- package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.js +21 -15
- package/lib-commonjs/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/testPages.js +7 -7
- package/lib-commonjs/fluent-tester/src/testPages.js.map +1 -1
- package/package.json +35 -35
- package/src/TestComponents/Avatar/BasicAvatar.android.tsx +103 -67
- package/src/TestComponents/{Tokens/TokenTest.tsx → ColorTokens/ColorTokenTest.tsx} +7 -7
- package/src/TestComponents/ColorTokens/index.ts +1 -0
- package/src/TestComponents/Common/styles.ts +4 -1
- package/src/TestComponents/RadioGroupV1/RadioGroupV1Test.tsx +2 -2
- package/src/TestComponents/Shimmer/ShimmerTest.tsx +18 -12
- package/src/testPages.ts +7 -7
- package/lib/E2E/src/Tokens/consts.d.ts +0 -4
- package/lib/E2E/src/Tokens/consts.d.ts.map +0 -1
- package/lib/E2E/src/Tokens/consts.js +0 -5
- package/lib/E2E/src/Tokens/consts.js.map +0 -1
- package/lib/fluent-tester/src/TestComponents/Tokens/TokenTest.d.ts +0 -3
- package/lib/fluent-tester/src/TestComponents/Tokens/TokenTest.d.ts.map +0 -1
- package/lib/fluent-tester/src/TestComponents/Tokens/TokenTest.js.map +0 -1
- package/lib/fluent-tester/src/TestComponents/Tokens/index.d.ts +0 -2
- package/lib/fluent-tester/src/TestComponents/Tokens/index.d.ts.map +0 -1
- package/lib/fluent-tester/src/TestComponents/Tokens/index.js +0 -2
- package/lib/fluent-tester/src/TestComponents/Tokens/index.js.map +0 -1
- package/lib-commonjs/E2E/src/Tokens/consts.d.ts +0 -4
- package/lib-commonjs/E2E/src/Tokens/consts.d.ts.map +0 -1
- package/lib-commonjs/E2E/src/Tokens/consts.js +0 -8
- package/lib-commonjs/E2E/src/Tokens/consts.js.map +0 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Tokens/TokenTest.d.ts +0 -3
- package/lib-commonjs/fluent-tester/src/TestComponents/Tokens/TokenTest.d.ts.map +0 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Tokens/TokenTest.js.map +0 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Tokens/index.d.ts +0 -2
- package/lib-commonjs/fluent-tester/src/TestComponents/Tokens/index.d.ts.map +0 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Tokens/index.js.map +0 -1
- package/src/TestComponents/Tokens/index.ts +0 -1
|
@@ -3,109 +3,145 @@ import { Avatar } from '@fluentui-react-native/avatar';
|
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
import { steveBallmerPhotoUrl } from './../PersonaCoin/styles';
|
|
5
5
|
import { mobileStyles } from '../Common/styles';
|
|
6
|
+
import { Switch } from '@fluentui-react-native/switch';
|
|
7
|
+
import { InteractionEvent } from '@fluentui-react-native/interactive-hooks';
|
|
6
8
|
|
|
7
9
|
export const StandardUsage: FunctionComponent = () => {
|
|
8
|
-
|
|
9
|
-
<View style={{ paddingBottom: 40 }}>
|
|
10
|
-
<View style={mobileStyles.testVariants}>
|
|
11
|
-
{/* Variation - Standard */}
|
|
10
|
+
const [activityRing, setActivityRing] = React.useState(true);
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
const toggleActivityState = (_e: InteractionEvent, isActive: boolean) => {
|
|
13
|
+
setActivityRing(isActive);
|
|
14
|
+
};
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
return (
|
|
17
|
+
<View style={mobileStyles.pageStyle}>
|
|
18
|
+
<Switch label={'Show Activity Ring'} defaultChecked={true} onChange={toggleActivityState} />
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
<View style={mobileStyles.testVariants}>
|
|
21
|
+
{/* Variation - Initials. */}
|
|
22
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={16} name="Rafi" avatarColor={'colorful'} />
|
|
23
|
+
<Avatar
|
|
24
|
+
active={activityRing ? 'active' : 'inactive'}
|
|
25
|
+
activeAppearance="ring"
|
|
26
|
+
size={20}
|
|
27
|
+
name="Richard Faynman"
|
|
28
|
+
avatarColor={'colorful'}
|
|
29
|
+
/>
|
|
30
|
+
<Avatar
|
|
31
|
+
active={activityRing ? 'active' : 'inactive'}
|
|
32
|
+
activeAppearance="ring"
|
|
33
|
+
size={24}
|
|
34
|
+
name="Gita Khawas"
|
|
35
|
+
avatarColor={'colorful'}
|
|
36
|
+
/>
|
|
37
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={32} name="Mary Kom" avatarColor={'colorful'} />
|
|
38
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={40} name="Khan Sir" avatarColor={'colorful'} />
|
|
39
|
+
<Avatar
|
|
40
|
+
active={activityRing ? 'active' : 'inactive'}
|
|
41
|
+
activeAppearance="ring"
|
|
42
|
+
size={56}
|
|
43
|
+
name="Harry Potter"
|
|
44
|
+
avatarColor={'colorful'}
|
|
45
|
+
/>
|
|
46
|
+
<Avatar
|
|
47
|
+
active={activityRing ? 'active' : 'inactive'}
|
|
48
|
+
activeAppearance="ring"
|
|
49
|
+
size={72}
|
|
50
|
+
name="Ellie armstrong"
|
|
51
|
+
avatarColor={'colorful'}
|
|
52
|
+
/>
|
|
21
53
|
</View>
|
|
22
54
|
|
|
23
55
|
<View style={mobileStyles.testVariants}>
|
|
24
|
-
{/* Variation -
|
|
25
|
-
|
|
26
|
-
{
|
|
27
|
-
<Avatar
|
|
28
|
-
|
|
29
|
-
{
|
|
30
|
-
<Avatar size={56}
|
|
31
|
-
|
|
32
|
-
{/* With ring.*/}
|
|
33
|
-
<Avatar active="active" activeAppearance="ring" size={56} avatarColor={'brandInverted'} />
|
|
56
|
+
{/* Variation - Image */}
|
|
57
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={16} imageUrl={steveBallmerPhotoUrl} />
|
|
58
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={20} imageUrl={steveBallmerPhotoUrl} />
|
|
59
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={24} imageUrl={steveBallmerPhotoUrl} />
|
|
60
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={32} imageUrl={steveBallmerPhotoUrl} />
|
|
61
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={40} imageUrl={steveBallmerPhotoUrl} />
|
|
62
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={56} imageUrl={steveBallmerPhotoUrl} />
|
|
63
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={72} imageUrl={steveBallmerPhotoUrl} />
|
|
34
64
|
</View>
|
|
35
65
|
|
|
36
66
|
<View style={mobileStyles.testVariants}>
|
|
37
|
-
{/*Variation -
|
|
67
|
+
{/* Variation - Standard */}
|
|
38
68
|
|
|
39
|
-
{
|
|
40
|
-
<Avatar
|
|
69
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={16} avatarColor={'brand'} />
|
|
70
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={20} avatarColor={'brand'} />
|
|
71
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={24} avatarColor={'brand'} />
|
|
72
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={32} avatarColor={'brand'} />
|
|
73
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={40} avatarColor={'brand'} />
|
|
74
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={56} avatarColor={'brand'} />
|
|
75
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={72} avatarColor={'brand'} />
|
|
76
|
+
</View>
|
|
41
77
|
|
|
42
|
-
|
|
43
|
-
|
|
78
|
+
<View style={mobileStyles.testVariants}>
|
|
79
|
+
{/* Variation - Standard Inverted */}
|
|
80
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={16} avatarColor={'brandInverted'} />
|
|
81
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={20} avatarColor={'brandInverted'} />
|
|
82
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={24} avatarColor={'brandInverted'} />
|
|
83
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={32} avatarColor={'brandInverted'} />
|
|
84
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={40} avatarColor={'brandInverted'} />
|
|
85
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={56} avatarColor={'brandInverted'} />
|
|
86
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={72} avatarColor={'brandInverted'} />
|
|
87
|
+
</View>
|
|
44
88
|
|
|
45
|
-
|
|
89
|
+
<View style={mobileStyles.testVariants}>
|
|
90
|
+
{/* Variation - Anonymous */}
|
|
91
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={16} />
|
|
92
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={20} />
|
|
93
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={24} />
|
|
94
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={32} />
|
|
95
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={40} />
|
|
96
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={56} />
|
|
46
97
|
<Avatar
|
|
47
98
|
accessibilityLabel="Fall-back Icon"
|
|
48
99
|
accessibilityHint="A picture representing a user"
|
|
49
|
-
size={
|
|
100
|
+
size={72}
|
|
50
101
|
activeAppearance="ring"
|
|
51
|
-
active=
|
|
102
|
+
active={activityRing ? 'active' : 'inactive'}
|
|
52
103
|
/>
|
|
53
104
|
</View>
|
|
54
105
|
|
|
55
106
|
<View style={mobileStyles.testVariants}>
|
|
56
|
-
{/* Variation - Anonymous accent
|
|
57
|
-
|
|
58
|
-
{
|
|
59
|
-
<Avatar
|
|
60
|
-
|
|
61
|
-
{
|
|
62
|
-
<Avatar
|
|
63
|
-
|
|
64
|
-
{/* With ring. */}
|
|
107
|
+
{/* Variation - Anonymous accent */}
|
|
108
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={16} avatarColor={'accent'} />
|
|
109
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={20} avatarColor={'accent'} />
|
|
110
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={24} avatarColor={'accent'} />
|
|
111
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={32} avatarColor={'accent'} />
|
|
112
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={40} avatarColor={'accent'} />
|
|
113
|
+
<Avatar active={activityRing ? 'active' : 'inactive'} activeAppearance="ring" size={56} avatarColor={'accent'} />
|
|
65
114
|
<Avatar
|
|
66
115
|
accessibilityLabel="Fall-back Icon"
|
|
67
116
|
accessibilityHint="A picture representing a user"
|
|
68
|
-
size={
|
|
117
|
+
size={72}
|
|
69
118
|
activeAppearance="ring"
|
|
70
|
-
active=
|
|
119
|
+
active={activityRing ? 'active' : 'inactive'}
|
|
71
120
|
avatarColor={'accent'}
|
|
72
121
|
/>
|
|
73
122
|
</View>
|
|
74
123
|
|
|
75
124
|
<View style={mobileStyles.testVariants}>
|
|
76
|
-
{/* Variation -
|
|
77
|
-
|
|
78
|
-
{/* With badge.*/}
|
|
79
|
-
<Avatar size={56} badge={{ status: 'outOfOffice' }} name="* Richard Faynman *" />
|
|
80
|
-
|
|
81
|
-
{/* No ring and badge.*/}
|
|
82
|
-
<Avatar size={56} name="* Annie Markus *" avatarColor={'colorful'} />
|
|
83
|
-
|
|
84
|
-
{/* With ring. */}
|
|
85
|
-
<Avatar active="active" activeAppearance="ring" size={56} name="* Keshav Madhav *" avatarColor={'colorful'} />
|
|
86
|
-
</View>
|
|
87
|
-
|
|
88
|
-
<View style={mobileStyles.testVariants}>
|
|
89
|
-
{/* Variation - Image. */}
|
|
90
|
-
|
|
91
|
-
{/* With badge.*/}
|
|
92
|
-
<Avatar size={56} badge={{ status: 'outOfOffice' }} name="* Richard Faynman *" imageUrl={steveBallmerPhotoUrl} />
|
|
93
|
-
|
|
94
|
-
{/* No ring and badge.*/}
|
|
95
|
-
<Avatar size={56} imageUrl={steveBallmerPhotoUrl} avatarColor={'colorful'} />
|
|
125
|
+
{/* Variation - Overflow .*/}
|
|
96
126
|
|
|
97
|
-
{
|
|
98
|
-
<Avatar
|
|
127
|
+
<Avatar shape={'square'} size={16} name="Rafi" avatarColor={'colorful'} />
|
|
128
|
+
<Avatar shape={'square'} size={20} name="Richard Faynman" avatarColor={'colorful'} />
|
|
129
|
+
<Avatar shape={'square'} size={24} name="Gita Khawas" avatarColor={'colorful'} />
|
|
130
|
+
<Avatar shape={'square'} size={32} name="Mary Kom" avatarColor={'colorful'} />
|
|
131
|
+
<Avatar shape={'square'} size={40} name="Khan Sir" avatarColor={'colorful'} imageUrl={steveBallmerPhotoUrl} />
|
|
132
|
+
<Avatar shape={'square'} size={56} name="Harry Potter" avatarColor={'colorful'} />
|
|
133
|
+
<Avatar shape={'square'} size={72} name="Ellie armstrong" avatarColor={'colorful'} />
|
|
99
134
|
</View>
|
|
100
135
|
|
|
101
136
|
<View style={mobileStyles.testVariants}>
|
|
102
137
|
{/* Variation - Overflow .*/}
|
|
103
|
-
|
|
104
|
-
<Avatar size={
|
|
105
|
-
|
|
106
|
-
{
|
|
107
|
-
|
|
108
|
-
<Avatar size={56}
|
|
138
|
+
<Avatar size={16} initials="20" />
|
|
139
|
+
<Avatar size={20} initials="11" />
|
|
140
|
+
<Avatar size={24} initials="88" />
|
|
141
|
+
<Avatar size={32} initials="20" />
|
|
142
|
+
<Avatar size={40} initials="20" />
|
|
143
|
+
<Avatar size={56} initials="56" />
|
|
144
|
+
<Avatar size={72} initials="20" />
|
|
109
145
|
</View>
|
|
110
146
|
</View>
|
|
111
147
|
);
|
|
@@ -8,7 +8,7 @@ import { createAliasTokens } from '@fluentui-react-native/default-theme';
|
|
|
8
8
|
import { commonTestStyles } from '../Common/styles';
|
|
9
9
|
import { Text } from '@fluentui/react-native';
|
|
10
10
|
import { Test, TestSection, PlatformStatus } from '../Test';
|
|
11
|
-
import {
|
|
11
|
+
import { COLORTOKENS_TEST_COMPONENT, COLORTOKEN_TESTPAGE } from '../../../../E2E/src/ColorTokens/consts';
|
|
12
12
|
import { testProps } from '../Common/TestProps';
|
|
13
13
|
|
|
14
14
|
const getThemedStyles = themedStyleSheet((theme: Theme) => {
|
|
@@ -53,7 +53,7 @@ const ColorToken: React.FunctionComponent<ColorTokenProps> = (p: ColorTokenProps
|
|
|
53
53
|
<View
|
|
54
54
|
style={[getSwatchColorStyle(p.name, p.color), themedStyles.swatch]}
|
|
55
55
|
/* For Android E2E testing purposes, testProps must be passed in after accessibilityLabel. */
|
|
56
|
-
{...testProps(
|
|
56
|
+
{...testProps(COLORTOKENS_TEST_COMPONENT)}
|
|
57
57
|
/>
|
|
58
58
|
<Text>{p.name}</Text>
|
|
59
59
|
</View>
|
|
@@ -99,21 +99,21 @@ const AliasTokensSwatchList: React.FunctionComponent = () => {
|
|
|
99
99
|
const themeSections: TestSection[] = [
|
|
100
100
|
{
|
|
101
101
|
name: 'Alias Color Tokens',
|
|
102
|
-
testID:
|
|
102
|
+
testID: COLORTOKEN_TESTPAGE,
|
|
103
103
|
component: () => <AliasTokensSwatchList />,
|
|
104
104
|
},
|
|
105
105
|
];
|
|
106
106
|
|
|
107
|
-
export const
|
|
107
|
+
export const ColorTokensTest: React.FunctionComponent = () => {
|
|
108
108
|
const status: PlatformStatus = {
|
|
109
109
|
win32Status: 'Beta',
|
|
110
110
|
uwpStatus: 'Backlog',
|
|
111
|
-
iosStatus: '
|
|
111
|
+
iosStatus: 'Experimental',
|
|
112
112
|
macosStatus: 'Backlog',
|
|
113
|
-
androidStatus: '
|
|
113
|
+
androidStatus: 'Experimental',
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
const description = 'Alias tokens given from token pipeline. Currently values are pulled from web. Will be used to style components.';
|
|
117
117
|
|
|
118
|
-
return <Test name="
|
|
118
|
+
return <Test name="Color Tokens Test" description={description} sections={themeSections} status={status} />;
|
|
119
119
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ColorTokenTest';
|
|
@@ -151,12 +151,15 @@ export const mobileStyles = StyleSheet.create({
|
|
|
151
151
|
},
|
|
152
152
|
testVariants: {
|
|
153
153
|
flexDirection: 'row',
|
|
154
|
-
marginHorizontal:
|
|
154
|
+
marginHorizontal: 5,
|
|
155
155
|
paddingTop: 10,
|
|
156
156
|
paddingBottom: 5,
|
|
157
157
|
flex: 1,
|
|
158
158
|
justifyContent: 'space-evenly',
|
|
159
159
|
},
|
|
160
|
+
pageStyle: {
|
|
161
|
+
padding: 5,
|
|
162
|
+
},
|
|
160
163
|
testList: {
|
|
161
164
|
width: '100%',
|
|
162
165
|
},
|
|
@@ -55,11 +55,11 @@ const radioGroupV1Sections: TestSection[] = [
|
|
|
55
55
|
|
|
56
56
|
export const RadioGroupV1Test: React.FunctionComponent = () => {
|
|
57
57
|
const status: PlatformStatus = {
|
|
58
|
-
win32Status: '
|
|
58
|
+
win32Status: 'Production',
|
|
59
59
|
uwpStatus: 'Experimental',
|
|
60
60
|
iosStatus: 'Experimental',
|
|
61
61
|
macosStatus: 'Backlog',
|
|
62
|
-
androidStatus: '
|
|
62
|
+
androidStatus: 'Experimental',
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
const description =
|
|
@@ -6,6 +6,7 @@ import { Stack } from '@fluentui-react-native/stack';
|
|
|
6
6
|
import { stackStyle } from '../Common/styles';
|
|
7
7
|
import { shimmerBorderRadiusTests, shimmerRectsAndRect, shimmerRectsAndCircle } from './ShimmerTestElementSets';
|
|
8
8
|
import { E2ETestingShimmer } from './ShimmerE2ETest';
|
|
9
|
+
import { Platform } from 'react-native';
|
|
9
10
|
|
|
10
11
|
const TestCompareCustomizeShimmer = Shimmer.customize({
|
|
11
12
|
shimmerWaveColor: 'blue',
|
|
@@ -53,7 +54,7 @@ export const RoundedCornerClipCheckShimmer: React.FunctionComponent = () => {
|
|
|
53
54
|
const RectShimmers: React.FunctionComponent<Record<string, never>> = () => {
|
|
54
55
|
return (
|
|
55
56
|
<Stack style={stackStyle}>
|
|
56
|
-
<Shimmer elements={shimmerRectsAndRect()}
|
|
57
|
+
<Shimmer elements={shimmerRectsAndRect()} style={{ width: 300, height: 100 }} />
|
|
57
58
|
</Stack>
|
|
58
59
|
);
|
|
59
60
|
};
|
|
@@ -61,7 +62,7 @@ const RectShimmers: React.FunctionComponent<Record<string, never>> = () => {
|
|
|
61
62
|
const RectCircleShimmers: React.FunctionComponent<Record<string, never>> = () => {
|
|
62
63
|
return (
|
|
63
64
|
<Stack style={stackStyle}>
|
|
64
|
-
<Shimmer elements={shimmerRectsAndCircle()} duration={3000} style={{ width: 300, height: 100 }} />
|
|
65
|
+
<Shimmer elements={shimmerRectsAndCircle()} duration={3000} delay={1000} style={{ width: 300, height: 100 }} />
|
|
65
66
|
</Stack>
|
|
66
67
|
);
|
|
67
68
|
};
|
|
@@ -94,16 +95,21 @@ const shimmerSections: TestSection[] = [
|
|
|
94
95
|
testID: SHIMMER_TESTPAGE,
|
|
95
96
|
component: RectCircleShimmers,
|
|
96
97
|
},
|
|
97
|
-
{
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
98
|
+
...Platform.select({
|
|
99
|
+
android: [null],
|
|
100
|
+
default: [
|
|
101
|
+
{
|
|
102
|
+
name: 'Border Radius Tests',
|
|
103
|
+
testID: SHIMMER_TESTPAGE,
|
|
104
|
+
component: ShimmerBorderRadii,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'Customized Shimmer',
|
|
108
|
+
testID: SHIMMER_TESTPAGE,
|
|
109
|
+
component: CustomizedShimmer,
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
}),
|
|
107
113
|
{
|
|
108
114
|
name: 'Shimmer for E2E Testing',
|
|
109
115
|
component: E2ETestingShimmer,
|
package/src/testPages.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { ButtonTest } from './TestComponents/Button';
|
|
|
6
6
|
import { CalloutTest } from './TestComponents/Callout';
|
|
7
7
|
import { CheckboxLegacyTest } from './TestComponents/CheckboxLegacy';
|
|
8
8
|
import { CheckboxV1Test } from './TestComponents/CheckboxV1';
|
|
9
|
+
import { ColorTokensTest } from './TestComponents/ColorTokens';
|
|
9
10
|
import { ContextualMenuTest } from './TestComponents/ContextualMenu';
|
|
10
11
|
import { CornerRadiusTokensTest } from './TestComponents/CornerRadius';
|
|
11
12
|
import { NativeDatePickerTest, HOMEPAGE_NATIVEDATEPICKER_BUTTON } from './TestComponents/NativeDatePicker';
|
|
@@ -38,7 +39,6 @@ import { TabsV1Test } from './TestComponents/TabsV1';
|
|
|
38
39
|
import { TextLegacyTest } from './TestComponents/TextLegacy';
|
|
39
40
|
import { TextV1Test } from './TestComponents/TextV1';
|
|
40
41
|
import { ThemeTest } from './TestComponents/Theme';
|
|
41
|
-
import { TokenTest } from './TestComponents/Tokens';
|
|
42
42
|
import * as Constants from '../../E2E/src/index.consts';
|
|
43
43
|
|
|
44
44
|
export const tests: TestDescription[] = [
|
|
@@ -90,6 +90,12 @@ export const tests: TestDescription[] = [
|
|
|
90
90
|
testPageButton: Constants.HOMEPAGE_CHECKBOXV1_BUTTON,
|
|
91
91
|
platforms: ['android', 'ios', 'macos', 'win32'], // 'windows': GH#935: Temporarily disabling while SVGs don't work in windows
|
|
92
92
|
},
|
|
93
|
+
{
|
|
94
|
+
name: 'Color Tokens',
|
|
95
|
+
component: ColorTokensTest,
|
|
96
|
+
testPageButton: Constants.HOMEPAGE_COLORTOKEN_BUTTON,
|
|
97
|
+
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
98
|
+
},
|
|
93
99
|
{
|
|
94
100
|
name: 'ContextualMenu',
|
|
95
101
|
component: ContextualMenuTest,
|
|
@@ -289,10 +295,4 @@ export const tests: TestDescription[] = [
|
|
|
289
295
|
testPageButton: Constants.HOMEPAGE_THEME_BUTTON,
|
|
290
296
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
291
297
|
},
|
|
292
|
-
{
|
|
293
|
-
name: 'Tokens',
|
|
294
|
-
component: TokenTest,
|
|
295
|
-
testPageButton: Constants.HOMEPAGE_TOKEN_BUTTON,
|
|
296
|
-
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
297
|
-
},
|
|
298
298
|
];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../../E2E/src/Tokens/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,qBAAqB,0BAA0B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../../E2E/src/Tokens/consts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAC7D,MAAM,CAAC,IAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,mBAAmB;AACnB,MAAM,CAAC,IAAM,qBAAqB,GAAG,uBAAuB,CAAC,CAAC,yCAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tokens/TokenTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0G/B,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAY7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tokens/TokenTest.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAa,UAAU,EAAc,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAS,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OA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0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../../E2E/src/Tokens/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,qBAAqB,0BAA0B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TOKENS_TEST_COMPONENT = exports.TOKEN_TESTPAGE = exports.HOMEPAGE_TOKEN_BUTTON = void 0;
|
|
4
|
-
exports.HOMEPAGE_TOKEN_BUTTON = 'Homepage_Token_Button';
|
|
5
|
-
exports.TOKEN_TESTPAGE = 'Token_TestPage';
|
|
6
|
-
/* Test Tokens 1 */
|
|
7
|
-
exports.TOKENS_TEST_COMPONENT = 'Tokens_Test_Component'; // A component on each specific test page
|
|
8
|
-
//# sourceMappingURL=consts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../../E2E/src/Tokens/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAE/C,mBAAmB;AACN,QAAA,qBAAqB,GAAG,uBAAuB,CAAC,CAAC,yCAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tokens/TokenTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0G/B,eAAO,MAAM,SAAS,EAAE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AE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AACvG,CAAC,CAAC;AAZW,QAAA,SAAS,aAYpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Tokens/index.ts"],"names":[],"mappings":";;;AAAA,2DAA4B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TokenTest';
|