@fluentui-react-native/tester 0.127.2 → 0.128.1

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 (34) hide show
  1. package/CHANGELOG.json +255 -1
  2. package/CHANGELOG.md +53 -2
  3. package/ios/Podfile +2 -1
  4. package/ios/Podfile.lock +11 -5
  5. package/lib/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.d.ts.map +1 -1
  6. package/lib/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.js +64 -21
  7. package/lib/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.js.map +1 -1
  8. package/lib/fluent-tester/src/TestComponents/Common/styles.d.ts +3 -0
  9. package/lib/fluent-tester/src/TestComponents/Common/styles.d.ts.map +1 -1
  10. package/lib/fluent-tester/src/TestComponents/Common/styles.js +4 -1
  11. package/lib/fluent-tester/src/TestComponents/Common/styles.js.map +1 -1
  12. package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js +2 -2
  13. package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js.map +1 -1
  14. package/lib/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.d.ts.map +1 -1
  15. package/lib/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.js +22 -15
  16. package/lib/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.js.map +1 -1
  17. package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.d.ts.map +1 -1
  18. package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.js +64 -21
  19. package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/BasicAvatar.android.js.map +1 -1
  20. package/lib-commonjs/fluent-tester/src/TestComponents/Common/styles.d.ts +3 -0
  21. package/lib-commonjs/fluent-tester/src/TestComponents/Common/styles.d.ts.map +1 -1
  22. package/lib-commonjs/fluent-tester/src/TestComponents/Common/styles.js +4 -1
  23. package/lib-commonjs/fluent-tester/src/TestComponents/Common/styles.js.map +1 -1
  24. package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js +2 -2
  25. package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js.map +1 -1
  26. package/lib-commonjs/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.d.ts.map +1 -1
  27. package/lib-commonjs/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.js +21 -15
  28. package/lib-commonjs/fluent-tester/src/TestComponents/Shimmer/ShimmerTest.js.map +1 -1
  29. package/macos/Podfile.lock +229 -229
  30. package/package.json +35 -35
  31. package/src/TestComponents/Avatar/BasicAvatar.android.tsx +103 -67
  32. package/src/TestComponents/Common/styles.ts +4 -1
  33. package/src/TestComponents/RadioGroupV1/RadioGroupV1Test.tsx +2 -2
  34. package/src/TestComponents/Shimmer/ShimmerTest.tsx +18 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/tester",
3
- "version": "0.127.2",
3
+ "version": "0.128.1",
4
4
  "description": "A test app to test FluentUI React Native Components during development",
5
5
  "license": "MIT",
6
6
  "author": "Microsoft <fluentuinativeowners@microsoft.com>",
@@ -33,42 +33,42 @@
33
33
  "directory": "apps/fluent-tester"
34
34
  },
35
35
  "dependencies": {
36
- "@fluentui-react-native/android-theme": ">=0.15.9 <1.0.0",
37
- "@fluentui-react-native/apple-theme": ">=0.18.2 <1.0.0",
38
- "@fluentui-react-native/avatar": "^1.5.19",
39
- "@fluentui-react-native/badge": ">=0.4.20 <1.0.0",
40
- "@fluentui-react-native/button": ">=0.32.24 <1.0.0",
41
- "@fluentui-react-native/default-theme": ">=0.16.25 <1.0.0",
42
- "@fluentui-react-native/dropdown": ">=0.7.19 <1.0.0",
43
- "@fluentui-react-native/experimental-activity-indicator": ">=0.7.12 <1.0.0",
44
- "@fluentui-react-native/experimental-avatar": ">=0.17.9 <1.0.0",
45
- "@fluentui-react-native/experimental-button": "0.16.82",
46
- "@fluentui-react-native/experimental-checkbox": "0.13.31",
47
- "@fluentui-react-native/experimental-expander": "0.5.12",
48
- "@fluentui-react-native/experimental-menu-button": ">=0.6.21 <1.0.0",
36
+ "@fluentui-react-native/android-theme": ">=0.16.0 <1.0.0",
37
+ "@fluentui-react-native/apple-theme": ">=0.18.3 <1.0.0",
38
+ "@fluentui-react-native/avatar": "^1.6.0",
39
+ "@fluentui-react-native/badge": ">=0.4.21 <1.0.0",
40
+ "@fluentui-react-native/button": ">=0.32.25 <1.0.0",
41
+ "@fluentui-react-native/default-theme": ">=0.16.26 <1.0.0",
42
+ "@fluentui-react-native/dropdown": ">=0.7.20 <1.0.0",
43
+ "@fluentui-react-native/experimental-activity-indicator": ">=0.7.13 <1.0.0",
44
+ "@fluentui-react-native/experimental-avatar": ">=0.17.10 <1.0.0",
45
+ "@fluentui-react-native/experimental-button": "0.16.83",
46
+ "@fluentui-react-native/experimental-checkbox": "0.13.32",
47
+ "@fluentui-react-native/experimental-expander": "0.5.13",
48
+ "@fluentui-react-native/experimental-menu-button": ">=0.6.22 <1.0.0",
49
49
  "@fluentui-react-native/experimental-native-date-picker": ">=0.7.4 <1.0.0",
50
- "@fluentui-react-native/experimental-radio-group": "^0.9.12",
51
- "@fluentui-react-native/experimental-shadow": "0.2.61",
52
- "@fluentui-react-native/experimental-shimmer": "0.8.12",
53
- "@fluentui-react-native/experimental-tabs": "0.8.26",
54
- "@fluentui-react-native/experimental-text": ">=0.11.45 <1.0.0",
55
- "@fluentui-react-native/framework": ">=0.8.35 <1.0.0",
56
- "@fluentui-react-native/icon": "0.17.6",
57
- "@fluentui-react-native/interactive-hooks": ">=0.22.12 <1.0.0",
58
- "@fluentui-react-native/menu": "^1.2.21",
50
+ "@fluentui-react-native/experimental-radio-group": "^0.9.13",
51
+ "@fluentui-react-native/experimental-shadow": "0.2.62",
52
+ "@fluentui-react-native/experimental-shimmer": "0.8.13",
53
+ "@fluentui-react-native/experimental-tabs": "0.8.27",
54
+ "@fluentui-react-native/experimental-text": ">=0.11.46 <1.0.0",
55
+ "@fluentui-react-native/framework": ">=0.8.36 <1.0.0",
56
+ "@fluentui-react-native/icon": "0.17.7",
57
+ "@fluentui-react-native/interactive-hooks": ">=0.22.13 <1.0.0",
58
+ "@fluentui-react-native/menu": "^1.2.23",
59
59
  "@fluentui-react-native/merge-props": ">=0.5.1 <1.0.0",
60
- "@fluentui-react-native/separator": "^0.14.9",
61
- "@fluentui-react-native/notification": "0.21.20",
62
- "@fluentui-react-native/stack": ">=0.7.46 <1.0.0",
63
- "@fluentui-react-native/switch": "^0.8.18",
64
- "@fluentui-react-native/text": ">=0.19.14 <1.0.0",
65
- "@fluentui-react-native/theme": ">=0.7.17 <1.0.0",
66
- "@fluentui-react-native/theme-tokens": "^0.23.2",
67
- "@fluentui-react-native/theme-types": ">=0.29.1 <1.0.0",
60
+ "@fluentui-react-native/separator": "^0.14.10",
61
+ "@fluentui-react-native/notification": "0.21.21",
62
+ "@fluentui-react-native/stack": ">=0.7.47 <1.0.0",
63
+ "@fluentui-react-native/switch": "^0.8.19",
64
+ "@fluentui-react-native/text": ">=0.19.15 <1.0.0",
65
+ "@fluentui-react-native/theme": ">=0.7.18 <1.0.0",
66
+ "@fluentui-react-native/theme-tokens": "^0.24.0",
67
+ "@fluentui-react-native/theme-types": ">=0.30.0 <1.0.0",
68
68
  "@fluentui-react-native/themed-stylesheet": "^1.4.1",
69
- "@fluentui-react-native/theming-utils": ">=0.22.2 <1.0.0",
70
- "@fluentui-react-native/win32-theme": ">=0.24.12 <1.0.0",
71
- "@fluentui/react-native": ">=0.35.11 <1.0.0",
69
+ "@fluentui-react-native/theming-utils": ">=0.23.0 <1.0.0",
70
+ "@fluentui-react-native/win32-theme": ">=0.24.13 <1.0.0",
71
+ "@fluentui/react-native": ">=0.35.12 <1.0.0",
72
72
  "@fortawesome/fontawesome-svg-core": "^6.2.0",
73
73
  "@fortawesome/free-solid-svg-icons": "^6.2.0",
74
74
  "@fortawesome/react-native-fontawesome": "^0.3.0",
@@ -97,7 +97,7 @@
97
97
  "react-native-svg-transformer": "^1.0.0",
98
98
  "react-native-test-app": "^2.0.2",
99
99
  "react-test-renderer": "17.0.2",
100
- "@fluentui-react-native/focus-zone": "^0.11.24"
100
+ "@fluentui-react-native/focus-zone": "^0.11.25"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "@office-iss/react-native-win32": "^0.68.0"
@@ -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
- return (
9
- <View style={{ paddingBottom: 40 }}>
10
- <View style={mobileStyles.testVariants}>
11
- {/* Variation - Standard */}
10
+ const [activityRing, setActivityRing] = React.useState(true);
12
11
 
13
- {/* With badge. */}
14
- <Avatar badge={{ status: 'available' }} avatarColor={'brand'} size={40} />
12
+ const toggleActivityState = (_e: InteractionEvent, isActive: boolean) => {
13
+ setActivityRing(isActive);
14
+ };
15
15
 
16
- {/* Variation - No Ring and badge. */}
17
- <Avatar size={56} avatarColor={'brand'} />
16
+ return (
17
+ <View style={mobileStyles.pageStyle}>
18
+ <Switch label={'Show Activity Ring'} defaultChecked={true} onChange={toggleActivityState} />
18
19
 
19
- {/* Variation - With Ring.*/}
20
- <Avatar active="active" activeAppearance="ring" size={56} avatarColor={'brand'} />
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 - Standard Inverted */}
25
-
26
- {/* With badge only.*/}
27
- <Avatar size={56} badge={{ status: 'available' }} avatarColor={'brandInverted'} />
28
-
29
- {/* No ring and badge.*/}
30
- <Avatar size={56} avatarColor={'brandInverted'} />
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 - Anonymous*/}
67
+ {/* Variation - Standard */}
38
68
 
39
- {/* With Badge.*/}
40
- <Avatar size={56} badge={{ status: 'available' }} />
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
- {/* No ring and badge.*/}
43
- <Avatar accessibilityLabel="Fall-back Icon" accessibilityHint="A picture representing a user" size={56} />
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
- {/* With ring. */}
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={56}
100
+ size={72}
50
101
  activeAppearance="ring"
51
- active="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
- {/* With badge.*/}
59
- <Avatar size={56} badge={{ status: 'available' }} avatarColor={'accent'} />
60
-
61
- {/* No ring and badge.*/}
62
- <Avatar accessibilityLabel="Fall-back Icon" accessibilityHint="A picture representing a user" size={56} avatarColor={'accent'} />
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={56}
117
+ size={72}
69
118
  activeAppearance="ring"
70
- active="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 - Initials.*/}
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
- {/* With ring.*/}
98
- <Avatar active="active" activeAppearance="ring" size={56} name="* Richard Faynman *" imageUrl={steveBallmerPhotoUrl} />
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={56} initials="20" avatarColor={'colorful'} />
105
-
106
- {/* Variation - Group avatar*/}
107
-
108
- <Avatar size={56} shape={'square'} avatarColor={'colorful'} name="*Annie Martha*" />
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
  );
@@ -151,12 +151,15 @@ export const mobileStyles = StyleSheet.create({
151
151
  },
152
152
  testVariants: {
153
153
  flexDirection: 'row',
154
- marginHorizontal: 10,
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: 'Beta',
58
+ win32Status: 'Production',
59
59
  uwpStatus: 'Experimental',
60
60
  iosStatus: 'Experimental',
61
61
  macosStatus: 'Backlog',
62
- androidStatus: 'Backlog',
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()} duration={2000} delay={1000} style={{ width: 300, height: 100 }} />
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
- name: 'Border Radius Tests',
99
- testID: SHIMMER_TESTPAGE,
100
- component: ShimmerBorderRadii,
101
- },
102
- {
103
- name: 'Customized Shimmer',
104
- testID: SHIMMER_TESTPAGE,
105
- component: CustomizedShimmer,
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,