@fluentui-react-native/tester 0.117.2 → 0.119.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 +241 -1
- package/CHANGELOG.md +53 -2
- package/ios/Podfile.lock +4 -4
- package/lib/E2E/src/common/consts.d.ts +12 -0
- package/lib/E2E/src/common/consts.d.ts.map +1 -1
- package/lib/E2E/src/common/consts.js +12 -0
- package/lib/E2E/src/common/consts.js.map +1 -1
- package/lib/fluent-tester/src/FluentTester.js +3 -3
- package/lib/fluent-tester/src/FluentTester.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.d.ts +3 -0
- package/lib/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.d.ts.map +1 -0
- package/lib/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.ios.d.ts +3 -0
- package/lib/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.ios.d.ts.map +1 -0
- package/lib/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.ios.js +21 -0
- package/lib/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.ios.js.map +1 -0
- package/lib/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.js +6 -0
- package/lib/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.js.map +1 -0
- package/lib/fluent-tester/src/TestComponents/TextExperimental/TextExperimentalTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TextExperimental/TextExperimentalTest.js +6 -1
- package/lib/fluent-tester/src/TestComponents/TextExperimental/TextExperimentalTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/index.d.ts +1 -1
- package/lib/fluent-tester/src/TestComponents/index.d.ts.map +1 -1
- package/lib/fluent-tester/src/testPages.js +39 -39
- package/lib/fluent-tester/src/testPages.js.map +1 -1
- package/lib-commonjs/E2E/src/common/consts.d.ts +12 -0
- package/lib-commonjs/E2E/src/common/consts.d.ts.map +1 -1
- package/lib-commonjs/E2E/src/common/consts.js +13 -1
- package/lib-commonjs/E2E/src/common/consts.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/FluentTester.js +3 -3
- package/lib-commonjs/fluent-tester/src/FluentTester.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.d.ts +3 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.d.ts.map +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.ios.d.ts +3 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.ios.d.ts.map +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.ios.js +26 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.ios.js.map +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.js +11 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/MaximumFontSize.js.map +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/TextExperimentalTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/TextExperimentalTest.js +6 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextExperimental/TextExperimentalTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/index.d.ts +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/index.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/testPages.js +39 -39
- package/lib-commonjs/fluent-tester/src/testPages.js.map +1 -1
- package/package.json +36 -36
- package/src/FluentTester.tsx +3 -3
- package/src/TestComponents/TextExperimental/MaximumFontSize.ios.tsx +29 -0
- package/src/TestComponents/TextExperimental/MaximumFontSize.tsx +6 -0
- package/src/TestComponents/TextExperimental/TextExperimentalTest.tsx +6 -1
- package/src/TestComponents/index.ts +1 -1
- package/src/testPages.ts +39 -39
|
@@ -45,73 +45,73 @@ exports.tests = [
|
|
|
45
45
|
{
|
|
46
46
|
name: 'ActivityIndicator',
|
|
47
47
|
component: ActivityIndicator_1.ActivityIndicatorTest,
|
|
48
|
-
|
|
48
|
+
testPageButton: ActivityIndicator_1.HOMEPAGE_ACTIVITY_INDICATOR_BUTTON,
|
|
49
49
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
name: 'Avatar',
|
|
53
53
|
component: Avatar_1.AvatarTest,
|
|
54
|
-
|
|
54
|
+
testPageButton: Avatar_1.HOMEPAGE_AVATAR_BUTTON,
|
|
55
55
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
name: 'Avatar (Native)',
|
|
59
59
|
component: Avatar_1.NativeAvatarTest,
|
|
60
|
-
|
|
60
|
+
testPageButton: Avatar_1.HOMEPAGE_NATIVE_AVATAR_BUTTON,
|
|
61
61
|
platforms: ['ios', 'macos'],
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
name: 'Badge',
|
|
65
65
|
component: Badge_1.BadgeTest,
|
|
66
|
-
|
|
66
|
+
testPageButton: Badge_1.HOMEPAGE_BADGE_BUTTON,
|
|
67
67
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
name: 'Button',
|
|
71
71
|
component: Button_1.ButtonTest,
|
|
72
|
-
|
|
72
|
+
testPageButton: Button_1.HOMEPAGE_BUTTON_BUTTON,
|
|
73
73
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
name: 'Callout',
|
|
77
77
|
component: Callout_1.CalloutTest,
|
|
78
|
-
|
|
78
|
+
testPageButton: Callout_1.HOMEPAGE_CALLOUT_BUTTON,
|
|
79
79
|
platforms: ['android', 'macos', 'win32'],
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
name: 'Checkbox Legacy',
|
|
83
83
|
component: Checkbox_1.CheckboxTest,
|
|
84
|
-
|
|
84
|
+
testPageButton: Checkbox_1.HOMEPAGE_CHECKBOX_BUTTON,
|
|
85
85
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
name: 'Checkbox V1',
|
|
89
89
|
component: CheckboxExperimental_1.ExperimentalCheckboxTest,
|
|
90
|
-
|
|
90
|
+
testPageButton: CheckboxExperimental_1.HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON,
|
|
91
91
|
platforms: ['android', 'ios', 'macos', 'win32'], // 'windows': GH#935: Temporarily disabling while SVGs don't work in windows
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
name: 'ContextualMenu',
|
|
95
95
|
component: ContextualMenu_1.ContextualMenuTest,
|
|
96
|
-
|
|
96
|
+
testPageButton: ContextualMenu_1.HOMEPAGE_CONTEXTUALMENU_BUTTON,
|
|
97
97
|
platforms: ['android', 'macos', 'win32'],
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
name: 'Corner Radius Tokens',
|
|
101
101
|
component: CornerRadius_1.CornerRadiusTokensTest,
|
|
102
|
-
|
|
102
|
+
testPageButton: CornerRadius_1.HOMEPAGE_CORNERRADIUS_BUTTON,
|
|
103
103
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
name: 'Date Picker (Native)',
|
|
107
107
|
component: NativeDatePicker_1.NativeDatePickerTest,
|
|
108
|
-
|
|
108
|
+
testPageButton: NativeDatePicker_1.HOMEPAGE_NATIVEDATEPICKER_BUTTON,
|
|
109
109
|
platforms: ['ios'],
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
name: 'Dropdown',
|
|
113
113
|
component: Dropdown_1.DropdownTest,
|
|
114
|
-
|
|
114
|
+
testPageButton: Dropdown_1.HOMEPAGE_DROPDOWN_BUTTON,
|
|
115
115
|
platforms: ['macos', 'win32'],
|
|
116
116
|
},
|
|
117
117
|
// {
|
|
@@ -130,163 +130,163 @@ exports.tests = [
|
|
|
130
130
|
{
|
|
131
131
|
name: 'Focus Trap Zone',
|
|
132
132
|
component: FocusTrapZone_1.FocusTrapTest,
|
|
133
|
-
|
|
133
|
+
testPageButton: FocusTrapZone_1.HOMEPAGE_FOCUSTRAPZONE_BUTTON,
|
|
134
134
|
platforms: ['android', 'win32'],
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
name: 'FocusZone',
|
|
138
138
|
component: FocusZone_1.FocusZoneTest,
|
|
139
|
-
|
|
139
|
+
testPageButton: FocusZone_1.HOMEPAGE_FOCUSZONE_BUTTON,
|
|
140
140
|
platforms: ['macos', 'win32'],
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
name: 'Icon',
|
|
144
144
|
component: Icon_1.IconTest,
|
|
145
|
-
|
|
145
|
+
testPageButton: Icon_1.HOMEPAGE_ICON_BUTTON,
|
|
146
146
|
platforms: ['android', 'ios', 'macos', 'win32'],
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
name: 'Link Legacy',
|
|
150
150
|
component: Link_1.LinkTest,
|
|
151
|
-
|
|
151
|
+
testPageButton: Link_1.HOMEPAGE_LINK_BUTTON,
|
|
152
152
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
name: 'Link V1',
|
|
156
156
|
component: LinkExperimental_1.ExperimentalLinkTest,
|
|
157
|
-
|
|
157
|
+
testPageButton: LinkExperimental_1.HOMEPAGE_EXPERIMENTAL_LINK_BUTTON,
|
|
158
158
|
platforms: ['win32', 'android'],
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
name: 'Menu',
|
|
162
162
|
component: Menu_1.MenuTest,
|
|
163
|
-
|
|
163
|
+
testPageButton: Menu_1.HOMEPAGE_MENU_BUTTON,
|
|
164
164
|
platforms: ['macos', 'win32'],
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
name: 'MenuButton Legacy',
|
|
168
168
|
component: MenuButton_1.MenuButtonTest,
|
|
169
|
-
|
|
169
|
+
testPageButton: MenuButton_1.HOMEPAGE_MENUBUTTON_BUTTON,
|
|
170
170
|
platforms: ['macos', 'win32'],
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
name: 'MenuButton V1',
|
|
174
174
|
component: MenuButtonExperimental_1.ExperimentalMenuButtonTest,
|
|
175
|
-
|
|
175
|
+
testPageButton: MenuButtonExperimental_1.HOMEPAGE_EXPERIMENTAL_MENU_BUTTON,
|
|
176
176
|
platforms: ['macos', 'win32'],
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
name: 'Notification',
|
|
180
180
|
component: Notification_1.NotificationTest,
|
|
181
|
-
|
|
181
|
+
testPageButton: Notification_1.HOMEPAGE_NOTIFICATION_BUTTON,
|
|
182
182
|
platforms: ['android', 'ios'],
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
name: 'Persona',
|
|
186
186
|
component: Persona_1.PersonaTest,
|
|
187
|
-
|
|
187
|
+
testPageButton: Persona_1.HOMEPAGE_PERSONA_BUTTON,
|
|
188
188
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
name: 'PersonaCoin',
|
|
192
192
|
component: PersonaCoin_1.PersonaCoinTest,
|
|
193
|
-
|
|
193
|
+
testPageButton: PersonaCoin_1.HOMEPAGE_PERSONACOIN_BUTTON,
|
|
194
194
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
name: 'Pressable',
|
|
198
198
|
component: Pressable_1.PressableTest,
|
|
199
|
-
|
|
199
|
+
testPageButton: Pressable_1.HOMEPAGE_PRESSABLE_BUTTON,
|
|
200
200
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
name: 'RadioGroup Legacy',
|
|
204
204
|
component: RadioGroup_1.RadioGroupTest,
|
|
205
|
-
|
|
205
|
+
testPageButton: RadioGroup_1.HOMEPAGE_RADIOGROUP_BUTTON,
|
|
206
206
|
platforms: ['macos', 'win32'],
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
name: 'RadioGroup V1',
|
|
210
210
|
component: RadioGroupExperimental_1.RadioGroupExperimentalTest,
|
|
211
|
-
|
|
211
|
+
testPageButton: RadioGroupExperimental_1.HOMEPAGE_RADIO_GROUP_EXPERIMENTAL_BUTTON,
|
|
212
212
|
platforms: ['macos', 'win32'],
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
name: 'Separator',
|
|
216
216
|
component: Separator_1.SeparatorTest,
|
|
217
|
-
|
|
217
|
+
testPageButton: Separator_1.HOMEPAGE_SEPARATOR_BUTTON,
|
|
218
218
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
name: 'Shadow',
|
|
222
222
|
component: Shadow_1.ShadowTest,
|
|
223
|
-
|
|
223
|
+
testPageButton: Shadow_1.HOMEPAGE_SHADOW_BUTTON,
|
|
224
224
|
platforms: ['ios', 'macos', 'win32'],
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
name: 'Shimmer',
|
|
228
228
|
component: Shimmer_1.ShimmerTest,
|
|
229
|
-
|
|
229
|
+
testPageButton: Shimmer_1.HOMEPAGE_SHIMMER_BUTTON,
|
|
230
230
|
platforms: ['android', 'ios', 'macos', 'win32'],
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
name: 'Spacing Tokens',
|
|
234
234
|
component: Spacing_1.SpacingTokensTest,
|
|
235
|
-
|
|
235
|
+
testPageButton: Spacing_1.HOMEPAGE_SPACING_BUTTON,
|
|
236
236
|
platforms: ['ios'],
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
name: 'Stroke Width Tokens',
|
|
240
240
|
component: StrokeWidth_1.StrokeWidthTest,
|
|
241
|
-
|
|
241
|
+
testPageButton: StrokeWidth_1.HOMEPAGE_STROKEWIDTH_BUTTON,
|
|
242
242
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
name: 'Svg',
|
|
246
246
|
component: Svg_1.SvgTest,
|
|
247
|
-
|
|
247
|
+
testPageButton: Svg_1.HOMEPAGE_SVG_BUTTON,
|
|
248
248
|
platforms: ['android', 'ios', 'macos', 'win32'],
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
name: 'Switch',
|
|
252
252
|
component: Switch_1.SwitchTest,
|
|
253
|
-
|
|
253
|
+
testPageButton: Switch_1.HOMEPAGE_SWITCH_BUTTON,
|
|
254
254
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
name: 'Tabs Legacy',
|
|
258
258
|
component: Tabs_1.TabsTest,
|
|
259
|
-
|
|
259
|
+
testPageButton: Tabs_1.HOMEPAGE_TABS_BUTTON,
|
|
260
260
|
platforms: ['macos', 'win32', 'windows'],
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
name: 'Tabs V1',
|
|
264
264
|
component: TabsExperimental_1.ExperimentalTabsTest,
|
|
265
|
-
|
|
265
|
+
testPageButton: TabsExperimental_1.HOMEPAGE_EXPERIMENTAL_TABS_BUTTON,
|
|
266
266
|
platforms: ['macos', 'win32', 'windows'],
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
269
|
name: 'Text Legacy',
|
|
270
270
|
component: Text_1.TextTest,
|
|
271
|
-
|
|
271
|
+
testPageButton: Text_1.HOMEPAGE_TEXT_BUTTON,
|
|
272
272
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
name: 'Text V1',
|
|
276
276
|
component: TextExperimental_1.TextExperimentalTest,
|
|
277
|
-
|
|
277
|
+
testPageButton: TextExperimental_1.HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON,
|
|
278
278
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
name: 'Theme',
|
|
282
282
|
component: Theme_1.ThemeTest,
|
|
283
|
-
|
|
283
|
+
testPageButton: Theme_1.HOMEPAGE_THEME_BUTTON,
|
|
284
284
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
name: 'Tokens',
|
|
288
288
|
component: Tokens_1.TokenTest,
|
|
289
|
-
|
|
289
|
+
testPageButton: Tokens_1.HOMEPAGE_TOKEN_BUTTON,
|
|
290
290
|
platforms: ['android', 'ios', 'macos', 'win32', 'windows'],
|
|
291
291
|
},
|
|
292
292
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testPages.js","sourceRoot":"","sources":["../../../src/testPages.ts"],"names":[],"mappings":";;;AACA,wEAA+G;AAC/G,kDAA8H;AAC9H,gDAA0E;AAC1E,kDAA6E;AAC7E,oDAAgF;AAChF,sDAAmF;AACnF,8DAAqG;AACrG,8EAAwH;AACxH,kEAAqG;AACrG,sEAA2G;AAC3G,sDAAmF;AACnF,gFAAgF;AAChF,sFAAsF;AACtF,gEAA8F;AAC9F,wDAAsF;AACtF,8CAAuE;AACvE,8CAAuE;AACvE,8CAAuE;AACvE,0DAAyF;AACzF,kFAAwH;AACxH,8DAA+F;AAC/F,oDAAgF;AAChF,4DAA4F;AAC5F,wDAAsF;AACtF,0DAAyF;AACzF,kFAA+H;AAC/H,wDAAsF;AACtF,kDAA6E;AAC7E,oDAAgF;AAChF,oDAAsF;AACtF,4DAA4F;AAC5F,4CAAoE;AACpE,kDAA6E;AAC7E,8CAAu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IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,eAAQ;QACnB,cAAc,EAAE,2BAAoB;QACpC,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;KACzC;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,uCAAoB;QAC/B,cAAc,EAAE,oDAAiC;QACjD,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;KACzC;IACD;QACE,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,eAAQ;QACnB,cAAc,EAAE,2BAAoB;QACpC,SAAS,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;KAC3D;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,uCAAoB;QAC/B,cAAc,EAAE,oDAAiC;QACjD,SAAS,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;KAC3D;IACD;QACE,IAAI,EAAE,OAAO;QACb,SAAS,EAAE,iBAAS;QACpB,cAAc,EAAE,6BAAqB;QACrC,SAAS,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;KAC3D;IACD;QACE,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,kBAAS;QACpB,cAAc,EAAE,8BAAqB;QACrC,SAAS,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;KAC3D;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.119.0",
|
|
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,43 +33,43 @@
|
|
|
33
33
|
"directory": "apps/fluent-tester"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@fluentui-react-native/android-theme": ">=0.15.
|
|
37
|
-
"@fluentui-react-native/apple-theme": ">=0.17.
|
|
38
|
-
"@fluentui-react-native/avatar": "^1.5.
|
|
39
|
-
"@fluentui-react-native/badge": ">=0.4.
|
|
40
|
-
"@fluentui-react-native/button": ">=0.32.
|
|
41
|
-
"@fluentui-react-native/default-theme": ">=0.16.
|
|
42
|
-
"@fluentui-react-native/dropdown": ">=0.7.
|
|
43
|
-
"@fluentui-react-native/experimental-activity-indicator": ">=0.7.
|
|
44
|
-
"@fluentui-react-native/experimental-avatar": ">=0.16.
|
|
45
|
-
"@fluentui-react-native/experimental-button": "0.16.
|
|
46
|
-
"@fluentui-react-native/experimental-checkbox": "0.13.
|
|
47
|
-
"@fluentui-react-native/experimental-expander": "0.5.
|
|
48
|
-
"@fluentui-react-native/experimental-icon": ">=0.1.
|
|
49
|
-
"@fluentui-react-native/experimental-link": "^0.3.
|
|
50
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.6.
|
|
36
|
+
"@fluentui-react-native/android-theme": ">=0.15.2 <1.0.0",
|
|
37
|
+
"@fluentui-react-native/apple-theme": ">=0.17.3 <1.0.0",
|
|
38
|
+
"@fluentui-react-native/avatar": "^1.5.2",
|
|
39
|
+
"@fluentui-react-native/badge": ">=0.4.3 <1.0.0",
|
|
40
|
+
"@fluentui-react-native/button": ">=0.32.8 <1.0.0",
|
|
41
|
+
"@fluentui-react-native/default-theme": ">=0.16.17 <1.0.0",
|
|
42
|
+
"@fluentui-react-native/dropdown": ">=0.7.3 <1.0.0",
|
|
43
|
+
"@fluentui-react-native/experimental-activity-indicator": ">=0.7.3 <1.0.0",
|
|
44
|
+
"@fluentui-react-native/experimental-avatar": ">=0.16.30 <1.0.0",
|
|
45
|
+
"@fluentui-react-native/experimental-button": "0.16.66",
|
|
46
|
+
"@fluentui-react-native/experimental-checkbox": "0.13.13",
|
|
47
|
+
"@fluentui-react-native/experimental-expander": "0.5.3",
|
|
48
|
+
"@fluentui-react-native/experimental-icon": ">=0.1.5 <1.0.0",
|
|
49
|
+
"@fluentui-react-native/experimental-link": "^0.3.2",
|
|
50
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.6.4 <1.0.0",
|
|
51
51
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.7.3 <1.0.0",
|
|
52
|
-
"@fluentui-react-native/experimental-radio-group": "^0.8.
|
|
53
|
-
"@fluentui-react-native/experimental-shadow": "0.2.
|
|
54
|
-
"@fluentui-react-native/experimental-shimmer": "0.8.
|
|
55
|
-
"@fluentui-react-native/experimental-tabs": "0.8.
|
|
56
|
-
"@fluentui-react-native/experimental-text": ">=0.11.
|
|
57
|
-
"@fluentui-react-native/framework": ">=0.8.
|
|
58
|
-
"@fluentui-react-native/icon": "0.16.
|
|
59
|
-
"@fluentui-react-native/interactive-hooks": ">=0.22.
|
|
60
|
-
"@fluentui-react-native/menu": "^1.1.
|
|
52
|
+
"@fluentui-react-native/experimental-radio-group": "^0.8.7",
|
|
53
|
+
"@fluentui-react-native/experimental-shadow": "0.2.50",
|
|
54
|
+
"@fluentui-react-native/experimental-shimmer": "0.8.3",
|
|
55
|
+
"@fluentui-react-native/experimental-tabs": "0.8.11",
|
|
56
|
+
"@fluentui-react-native/experimental-text": ">=0.11.31 <1.0.0",
|
|
57
|
+
"@fluentui-react-native/framework": ">=0.8.26 <1.0.0",
|
|
58
|
+
"@fluentui-react-native/icon": "0.16.3",
|
|
59
|
+
"@fluentui-react-native/interactive-hooks": ">=0.22.1 <1.0.0",
|
|
60
|
+
"@fluentui-react-native/menu": "^1.1.3",
|
|
61
61
|
"@fluentui-react-native/merge-props": ">=0.5.1 <1.0.0",
|
|
62
|
-
"@fluentui-react-native/notification": "0.21.
|
|
63
|
-
"@fluentui-react-native/stack": ">=0.7.
|
|
64
|
-
"@fluentui-react-native/switch": "^0.8.
|
|
65
|
-
"@fluentui-react-native/text": ">=0.
|
|
66
|
-
"@fluentui-react-native/theme": ">=0.7.
|
|
67
|
-
"@fluentui-react-native/theme-tokens": "^0.22.
|
|
68
|
-
"@fluentui-react-native/theme-types": ">=0.
|
|
62
|
+
"@fluentui-react-native/notification": "0.21.1",
|
|
63
|
+
"@fluentui-react-native/stack": ">=0.7.32 <1.0.0",
|
|
64
|
+
"@fluentui-react-native/switch": "^0.8.1",
|
|
65
|
+
"@fluentui-react-native/text": ">=0.19.0 <1.0.0",
|
|
66
|
+
"@fluentui-react-native/theme": ">=0.7.12 <1.0.0",
|
|
67
|
+
"@fluentui-react-native/theme-tokens": "^0.22.2",
|
|
68
|
+
"@fluentui-react-native/theme-types": ">=0.27.0 <1.0.0",
|
|
69
69
|
"@fluentui-react-native/themed-stylesheet": "^1.4.1",
|
|
70
|
-
"@fluentui-react-native/theming-utils": ">=0.20.
|
|
71
|
-
"@fluentui-react-native/win32-theme": ">=0.24.
|
|
72
|
-
"@fluentui/react-native": ">=0.34.
|
|
70
|
+
"@fluentui-react-native/theming-utils": ">=0.20.1 <1.0.0",
|
|
71
|
+
"@fluentui-react-native/win32-theme": ">=0.24.4 <1.0.0",
|
|
72
|
+
"@fluentui/react-native": ">=0.34.1 <1.0.0",
|
|
73
73
|
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
|
74
74
|
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
|
75
75
|
"@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.
|
|
100
|
+
"@fluentui-react-native/focus-zone": "^0.11.13"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"@office-iss/react-native-win32": "^0.68.0"
|
package/src/FluentTester.tsx
CHANGED
|
@@ -146,7 +146,7 @@ export const FluentTester: React.FunctionComponent<FluentTesterProps> = (props:
|
|
|
146
146
|
disabled={index == selectedTestIndex}
|
|
147
147
|
onClick={() => setSelectedTestIndex(index)}
|
|
148
148
|
style={fluentTesterStyles.testListItem}
|
|
149
|
-
testID={description.
|
|
149
|
+
testID={description.testPageButton}
|
|
150
150
|
// This ref so focus can be set on it when the app mounts in win32. Without this, focus won't be set anywhere.
|
|
151
151
|
{...(index === 0 && { componentRef: focusOnMountRef })}
|
|
152
152
|
>
|
|
@@ -178,9 +178,9 @@ export const FluentTester: React.FunctionComponent<FluentTesterProps> = (props:
|
|
|
178
178
|
}
|
|
179
179
|
}}
|
|
180
180
|
style={mobileStyles.testListItem}
|
|
181
|
-
testID={description.
|
|
181
|
+
testID={description.testPageButton}
|
|
182
182
|
// Please read http://93days.me/testing-react-native-application/ to understand why we set accessibilityLabel here.
|
|
183
|
-
accessibilityLabel={description.
|
|
183
|
+
accessibilityLabel={description.testPageButton}
|
|
184
184
|
>
|
|
185
185
|
{description.name}
|
|
186
186
|
</Text>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Text, View } from 'react-native';
|
|
3
|
+
import { Stack } from '@fluentui-react-native/stack';
|
|
4
|
+
import { stackStyle } from '../Common/styles';
|
|
5
|
+
import { Caption1, Title2, Title3 } from '@fluentui-react-native/text';
|
|
6
|
+
import { Separator } from '@fluentui/react-native';
|
|
7
|
+
|
|
8
|
+
const maximumFontSizeStyle = { maximumFontSize: 36 };
|
|
9
|
+
|
|
10
|
+
const CappedTitle2 = Title2.customize(maximumFontSizeStyle);
|
|
11
|
+
const CappedTitle3 = Title3.customize(maximumFontSizeStyle);
|
|
12
|
+
|
|
13
|
+
export const MaximumFontSizeUsage: React.FunctionComponent = () => {
|
|
14
|
+
return (
|
|
15
|
+
<View>
|
|
16
|
+
<Stack style={stackStyle} gap={5}>
|
|
17
|
+
<Caption1>Play with the preferred content size. The marked elements should not grow larger than 36 points.</Caption1>
|
|
18
|
+
<Separator />
|
|
19
|
+
<Title2>Title2</Title2>
|
|
20
|
+
<Title3>Title3</Title3>
|
|
21
|
+
<CappedTitle2>Title2 (capped)</CappedTitle2>
|
|
22
|
+
<CappedTitle3>Title3 (capped)</CappedTitle3>
|
|
23
|
+
<Text allowFontScaling={false} style={{ fontSize: 36, fontWeight: '600' }}>
|
|
24
|
+
This is 36 pt
|
|
25
|
+
</Text>
|
|
26
|
+
</Stack>
|
|
27
|
+
</View>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { StandardUsage } from './StandardUsage';
|
|
3
|
+
import { V2Usage } from './V2Usage';
|
|
4
|
+
import { MaximumFontSizeUsage } from './MaximumFontSize';
|
|
3
5
|
import { CustomizeUsage } from './CustomizeUsage';
|
|
4
6
|
import { PressableUsage } from './PressableUsage';
|
|
5
7
|
import { Test, TestSection, PlatformStatus } from '../Test';
|
|
6
8
|
import { E2EExperimentalTextTest } from './ExperimentalTextE2ETest';
|
|
7
9
|
import { EXPERIMENTAL_TEXT_TESTPAGE } from './consts';
|
|
8
|
-
import { V2Usage } from './V2Usage';
|
|
9
10
|
|
|
10
11
|
const textSections: TestSection[] = [
|
|
11
12
|
{
|
|
@@ -17,6 +18,10 @@ const textSections: TestSection[] = [
|
|
|
17
18
|
name: 'V2/V1 Comparison',
|
|
18
19
|
component: V2Usage,
|
|
19
20
|
},
|
|
21
|
+
{
|
|
22
|
+
name: 'Maximum Font Size Usage',
|
|
23
|
+
component: MaximumFontSizeUsage,
|
|
24
|
+
},
|
|
20
25
|
{
|
|
21
26
|
name: 'Customize Usage',
|
|
22
27
|
component: CustomizeUsage,
|