@fluentui-react-native/tester 0.133.1 → 0.134.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 (185) hide show
  1. package/CHANGELOG.json +115 -1
  2. package/CHANGELOG.md +32 -2
  3. package/lib/E2E/src/common/BasePage.d.ts +31 -10
  4. package/lib/E2E/src/common/BasePage.d.ts.map +1 -1
  5. package/lib/E2E/src/common/BasePage.js +147 -110
  6. package/lib/E2E/src/common/BasePage.js.map +1 -1
  7. package/lib/E2E/src/common/consts.d.ts +2 -0
  8. package/lib/E2E/src/common/consts.d.ts.map +1 -1
  9. package/lib/E2E/src/common/consts.js +2 -0
  10. package/lib/E2E/src/common/consts.js.map +1 -1
  11. package/lib/fluent-tester/src/FluentTester.js +1 -1
  12. package/lib/fluent-tester/src/FluentTester.js.map +1 -1
  13. package/lib/fluent-tester/src/TestComponents/Avatar/AvatarTest.d.ts.map +1 -1
  14. package/lib/fluent-tester/src/TestComponents/Avatar/AvatarTest.js +7 -5
  15. package/lib/fluent-tester/src/TestComponents/Avatar/AvatarTest.js.map +1 -1
  16. package/lib/fluent-tester/src/TestComponents/Button/ButtonTest.d.ts.map +1 -1
  17. package/lib/fluent-tester/src/TestComponents/Button/ButtonTest.js +11 -5
  18. package/lib/fluent-tester/src/TestComponents/Button/ButtonTest.js.map +1 -1
  19. package/lib/fluent-tester/src/TestComponents/Callout/CalloutTest.d.ts.map +1 -1
  20. package/lib/fluent-tester/src/TestComponents/Callout/CalloutTest.js +3 -1
  21. package/lib/fluent-tester/src/TestComponents/Callout/CalloutTest.js.map +1 -1
  22. package/lib/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.d.ts.map +1 -1
  23. package/lib/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.js +3 -1
  24. package/lib/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.js.map +1 -1
  25. package/lib/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.d.ts.map +1 -1
  26. package/lib/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.js +3 -1
  27. package/lib/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.js.map +1 -1
  28. package/lib/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.d.ts.map +1 -1
  29. package/lib/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.js +3 -1
  30. package/lib/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.js.map +1 -1
  31. package/lib/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.d.ts.map +1 -1
  32. package/lib/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.js +3 -1
  33. package/lib/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.js.map +1 -1
  34. package/lib/fluent-tester/src/TestComponents/Icon/IconTest.d.ts.map +1 -1
  35. package/lib/fluent-tester/src/TestComponents/Icon/IconTest.js +3 -1
  36. package/lib/fluent-tester/src/TestComponents/Icon/IconTest.js.map +1 -1
  37. package/lib/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.d.ts.map +1 -1
  38. package/lib/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.js +3 -1
  39. package/lib/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.js.map +1 -1
  40. package/lib/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.d.ts.map +1 -1
  41. package/lib/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.js +3 -1
  42. package/lib/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.js.map +1 -1
  43. package/lib/fluent-tester/src/TestComponents/Menu/MenuTest.d.ts.map +1 -1
  44. package/lib/fluent-tester/src/TestComponents/Menu/MenuTest.js +3 -1
  45. package/lib/fluent-tester/src/TestComponents/Menu/MenuTest.js.map +1 -1
  46. package/lib/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.d.ts.map +1 -1
  47. package/lib/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.js +3 -1
  48. package/lib/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.js.map +1 -1
  49. package/lib/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.d.ts.map +1 -1
  50. package/lib/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.js +3 -1
  51. package/lib/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.js.map +1 -1
  52. package/lib/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.d.ts.map +1 -1
  53. package/lib/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.js +3 -1
  54. package/lib/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.js.map +1 -1
  55. package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.d.ts.map +1 -1
  56. package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js +5 -4
  57. package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js.map +1 -1
  58. package/lib/fluent-tester/src/TestComponents/Switch/SwitchTest.d.ts.map +1 -1
  59. package/lib/fluent-tester/src/TestComponents/Switch/SwitchTest.js +4 -2
  60. package/lib/fluent-tester/src/TestComponents/Switch/SwitchTest.js.map +1 -1
  61. package/lib/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.d.ts.map +1 -1
  62. package/lib/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.js +3 -1
  63. package/lib/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.js.map +1 -1
  64. package/lib/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.d.ts.map +1 -1
  65. package/lib/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.js +7 -5
  66. package/lib/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.js.map +1 -1
  67. package/lib/fluent-tester/src/TestComponents/Test.d.ts +2 -1
  68. package/lib/fluent-tester/src/TestComponents/Test.d.ts.map +1 -1
  69. package/lib/fluent-tester/src/TestComponents/Test.js +36 -3
  70. package/lib/fluent-tester/src/TestComponents/Test.js.map +1 -1
  71. package/lib/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.d.ts.map +1 -1
  72. package/lib/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.js +3 -1
  73. package/lib/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.js.map +1 -1
  74. package/lib/fluent-tester/src/TestComponents/TextV1/TextV1Test.d.ts.map +1 -1
  75. package/lib/fluent-tester/src/TestComponents/TextV1/TextV1Test.js +3 -1
  76. package/lib/fluent-tester/src/TestComponents/TextV1/TextV1Test.js.map +1 -1
  77. package/lib/fluent-tester/src/testPages.js +1 -1
  78. package/lib/fluent-tester/src/testPages.js.map +1 -1
  79. package/lib/fluent-tester/src/theme/ThemePickers.android.d.ts.map +1 -1
  80. package/lib/fluent-tester/src/theme/ThemePickers.android.js +4 -10
  81. package/lib/fluent-tester/src/theme/ThemePickers.android.js.map +1 -1
  82. package/lib-commonjs/E2E/src/common/BasePage.d.ts +31 -10
  83. package/lib-commonjs/E2E/src/common/BasePage.d.ts.map +1 -1
  84. package/lib-commonjs/E2E/src/common/BasePage.js +149 -112
  85. package/lib-commonjs/E2E/src/common/BasePage.js.map +1 -1
  86. package/lib-commonjs/E2E/src/common/consts.d.ts +2 -0
  87. package/lib-commonjs/E2E/src/common/consts.d.ts.map +1 -1
  88. package/lib-commonjs/E2E/src/common/consts.js +3 -1
  89. package/lib-commonjs/E2E/src/common/consts.js.map +1 -1
  90. package/lib-commonjs/fluent-tester/src/FluentTester.js +2 -2
  91. package/lib-commonjs/fluent-tester/src/FluentTester.js.map +1 -1
  92. package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/AvatarTest.d.ts.map +1 -1
  93. package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/AvatarTest.js +7 -5
  94. package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/AvatarTest.js.map +1 -1
  95. package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonTest.d.ts.map +1 -1
  96. package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonTest.js +11 -5
  97. package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonTest.js.map +1 -1
  98. package/lib-commonjs/fluent-tester/src/TestComponents/Callout/CalloutTest.d.ts.map +1 -1
  99. package/lib-commonjs/fluent-tester/src/TestComponents/Callout/CalloutTest.js +3 -1
  100. package/lib-commonjs/fluent-tester/src/TestComponents/Callout/CalloutTest.js.map +1 -1
  101. package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.d.ts.map +1 -1
  102. package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.js +3 -1
  103. package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.js.map +1 -1
  104. package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.d.ts.map +1 -1
  105. package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.js +3 -1
  106. package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.js.map +1 -1
  107. package/lib-commonjs/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.d.ts.map +1 -1
  108. package/lib-commonjs/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.js +3 -1
  109. package/lib-commonjs/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.js.map +1 -1
  110. package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.d.ts.map +1 -1
  111. package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.js +3 -1
  112. package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.js.map +1 -1
  113. package/lib-commonjs/fluent-tester/src/TestComponents/Icon/IconTest.d.ts.map +1 -1
  114. package/lib-commonjs/fluent-tester/src/TestComponents/Icon/IconTest.js +3 -1
  115. package/lib-commonjs/fluent-tester/src/TestComponents/Icon/IconTest.js.map +1 -1
  116. package/lib-commonjs/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.d.ts.map +1 -1
  117. package/lib-commonjs/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.js +3 -1
  118. package/lib-commonjs/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.js.map +1 -1
  119. package/lib-commonjs/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.d.ts.map +1 -1
  120. package/lib-commonjs/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.js +3 -1
  121. package/lib-commonjs/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.js.map +1 -1
  122. package/lib-commonjs/fluent-tester/src/TestComponents/Menu/MenuTest.d.ts.map +1 -1
  123. package/lib-commonjs/fluent-tester/src/TestComponents/Menu/MenuTest.js +3 -1
  124. package/lib-commonjs/fluent-tester/src/TestComponents/Menu/MenuTest.js.map +1 -1
  125. package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.d.ts.map +1 -1
  126. package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.js +3 -1
  127. package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.js.map +1 -1
  128. package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.d.ts.map +1 -1
  129. package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.js +3 -1
  130. package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.js.map +1 -1
  131. package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.d.ts.map +1 -1
  132. package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.js +3 -1
  133. package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.js.map +1 -1
  134. package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.d.ts.map +1 -1
  135. package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js +5 -4
  136. package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js.map +1 -1
  137. package/lib-commonjs/fluent-tester/src/TestComponents/Switch/SwitchTest.d.ts.map +1 -1
  138. package/lib-commonjs/fluent-tester/src/TestComponents/Switch/SwitchTest.js +4 -2
  139. package/lib-commonjs/fluent-tester/src/TestComponents/Switch/SwitchTest.js.map +1 -1
  140. package/lib-commonjs/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.d.ts.map +1 -1
  141. package/lib-commonjs/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.js +3 -1
  142. package/lib-commonjs/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.js.map +1 -1
  143. package/lib-commonjs/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.d.ts.map +1 -1
  144. package/lib-commonjs/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.js +7 -5
  145. package/lib-commonjs/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.js.map +1 -1
  146. package/lib-commonjs/fluent-tester/src/TestComponents/Test.d.ts +2 -1
  147. package/lib-commonjs/fluent-tester/src/TestComponents/Test.d.ts.map +1 -1
  148. package/lib-commonjs/fluent-tester/src/TestComponents/Test.js +35 -2
  149. package/lib-commonjs/fluent-tester/src/TestComponents/Test.js.map +1 -1
  150. package/lib-commonjs/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.d.ts.map +1 -1
  151. package/lib-commonjs/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.js +3 -1
  152. package/lib-commonjs/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.js.map +1 -1
  153. package/lib-commonjs/fluent-tester/src/TestComponents/TextV1/TextV1Test.d.ts.map +1 -1
  154. package/lib-commonjs/fluent-tester/src/TestComponents/TextV1/TextV1Test.js +3 -1
  155. package/lib-commonjs/fluent-tester/src/TestComponents/TextV1/TextV1Test.js.map +1 -1
  156. package/lib-commonjs/fluent-tester/src/testPages.js +1 -1
  157. package/lib-commonjs/fluent-tester/src/testPages.js.map +1 -1
  158. package/lib-commonjs/fluent-tester/src/theme/ThemePickers.android.d.ts.map +1 -1
  159. package/lib-commonjs/fluent-tester/src/theme/ThemePickers.android.js +4 -10
  160. package/lib-commonjs/fluent-tester/src/theme/ThemePickers.android.js.map +1 -1
  161. package/package.json +15 -15
  162. package/src/FluentTester.tsx +1 -1
  163. package/src/TestComponents/Avatar/AvatarTest.tsx +10 -5
  164. package/src/TestComponents/Button/ButtonTest.tsx +14 -5
  165. package/src/TestComponents/Callout/CalloutTest.tsx +4 -1
  166. package/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.tsx +13 -1
  167. package/src/TestComponents/CheckboxV1/CheckboxV1Test.tsx +4 -1
  168. package/src/TestComponents/ContextualMenu/ContextualMenuTest.tsx +12 -1
  169. package/src/TestComponents/FocusZone/FocusZoneTest.tsx +6 -1
  170. package/src/TestComponents/Icon/IconTest.tsx +4 -1
  171. package/src/TestComponents/LinkLegacy/LinkLegacyTest.tsx +4 -1
  172. package/src/TestComponents/LinkV1/LinkV1Test.tsx +3 -1
  173. package/src/TestComponents/Menu/MenuTest.tsx +4 -1
  174. package/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.tsx +6 -1
  175. package/src/TestComponents/MenuButtonV1/MenuButtonV1Test.tsx +6 -1
  176. package/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.tsx +6 -1
  177. package/src/TestComponents/RadioGroupV1/RadioGroupV1Test.tsx +13 -1
  178. package/src/TestComponents/Switch/SwitchTest.tsx +7 -2
  179. package/src/TestComponents/TabsLegacy/TabsLegacyTest.tsx +4 -1
  180. package/src/TestComponents/TabsV1/TabsV1Test.tsx +8 -5
  181. package/src/TestComponents/Test.tsx +55 -9
  182. package/src/TestComponents/TextLegacy/TextLegacyTest.tsx +4 -1
  183. package/src/TestComponents/TextV1/TextV1Test.tsx +4 -1
  184. package/src/testPages.ts +1 -1
  185. package/src/theme/ThemePickers.android.tsx +3 -13
@@ -7,7 +7,6 @@ var react_native_1 = require("react-native");
7
7
  var text_1 = require("@fluentui-react-native/text");
8
8
  var CustomThemes_1 = require("./CustomThemes");
9
9
  var applyTheme_1 = require("./applyTheme");
10
- var applyBrand_1 = require("./applyBrand");
11
10
  var framework_1 = require("@fluentui-react-native/framework");
12
11
  var themed_stylesheet_1 = require("@fluentui-react-native/themed-stylesheet");
13
12
  var picker_1 = require("@react-native-picker/picker");
@@ -15,15 +14,15 @@ var getThemedDropdownStyles = (0, themed_stylesheet_1.themedStyleSheet)(function
15
14
  return {
16
15
  pickerRoot: {
17
16
  flexDirection: 'row',
17
+ width: '100%',
18
18
  },
19
19
  picker: {
20
20
  flexDirection: 'column',
21
21
  alignItems: 'center',
22
+ width: '50%',
22
23
  padding: 4,
23
24
  },
24
25
  dropdown: {
25
- height: 30,
26
- width: 120,
27
26
  fontSize: 12,
28
27
  color: t.colors.bodyText,
29
28
  },
@@ -31,14 +30,12 @@ var getThemedDropdownStyles = (0, themed_stylesheet_1.themedStyleSheet)(function
31
30
  borderStyle: 'solid',
32
31
  borderColor: t.colors.disabledBodyText,
33
32
  borderWidth: 1,
33
+ width: '100%',
34
34
  },
35
35
  };
36
36
  });
37
37
  var PickerLabel = text_1.TextV1.customize({ variant: 'subheaderSemibold' });
38
38
  var ThemePickers = function () {
39
- var onBrandChange = React.useCallback(function (newBrand) {
40
- CustomThemes_1.testerTheme.brand = newBrand;
41
- }, []);
42
39
  var onThemeSelected = React.useCallback(function (newTheme) {
43
40
  CustomThemes_1.testerTheme.themeName = newTheme;
44
41
  }, []);
@@ -62,10 +59,7 @@ var ThemePickers = function () {
62
59
  React.createElement(Dropdown, { initial: CustomThemes_1.testerTheme.themeName, onValueChange: onThemeSelected, options: applyTheme_1.themeChoices })),
63
60
  React.createElement(react_native_1.View, { style: themedPickerStyles.picker },
64
61
  React.createElement(PickerLabel, null, "Light/Dark: "),
65
- React.createElement(Dropdown, { initial: CustomThemes_1.testerTheme.appearance, onValueChange: onAppearanceChange, options: CustomThemes_1.lightnessOptions })),
66
- React.createElement(react_native_1.View, { style: themedPickerStyles.picker },
67
- React.createElement(PickerLabel, null, "Brand: "),
68
- React.createElement(Dropdown, { initial: CustomThemes_1.testerTheme.brand, onValueChange: onBrandChange, options: applyBrand_1.brandOptions }))));
62
+ React.createElement(Dropdown, { initial: CustomThemes_1.testerTheme.appearance, onValueChange: onAppearanceChange, options: CustomThemes_1.lightnessOptions }))));
69
63
  };
70
64
  exports.ThemePickers = ThemePickers;
71
65
  //# sourceMappingURL=ThemePickers.android.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemePickers.android.js","sourceRoot":"","sources":["../../../../src/theme/ThemePickers.android.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,6CAAoC;AACpC,oDAA6D;AAC7D,+CAA+D;AAE/D,2CAA4C;AAE5C,2CAA4C;AAE5C,8DAA4D;AAC5D,8EAA4E;AAE5E,sDAAqD;AAErD,IAAM,uBAAuB,GAAG,IAAA,oCAAgB,EAAC,UAAC,CAAQ;IACxD,OAAO;QACL,UAAU,EAAE;YACV,aAAa,EAAE,KAAK;SACrB;QACD,MAAM,EAAE;YACN,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,CAAC;SACX;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,EAAE;YACV,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ;SACzB;QACD,cAAc,EAAE;YACd,WAA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  "description": "A test app to test FluentUI React Native Components during development",
5
5
  "license": "MIT",
6
6
  "author": "Microsoft <fluentuinativeowners@microsoft.com>",
@@ -35,34 +35,34 @@
35
35
  "dependencies": {
36
36
  "@fluentui-react-native/android-theme": ">=0.16.6 <1.0.0",
37
37
  "@fluentui-react-native/apple-theme": ">=0.18.11 <1.0.0",
38
- "@fluentui-react-native/avatar": "^1.6.5",
39
- "@fluentui-react-native/badge": ">=0.4.26 <1.0.0",
40
- "@fluentui-react-native/button": ">=0.32.31 <1.0.0",
38
+ "@fluentui-react-native/avatar": "^1.6.6",
39
+ "@fluentui-react-native/badge": ">=0.4.27 <1.0.0",
40
+ "@fluentui-react-native/button": ">=0.32.32 <1.0.0",
41
41
  "@fluentui-react-native/default-theme": ">=0.17.1 <1.0.0",
42
42
  "@fluentui-react-native/divider": "^0.2.0",
43
- "@fluentui-react-native/dropdown": ">=0.7.28 <1.0.0",
43
+ "@fluentui-react-native/dropdown": ">=0.7.29 <1.0.0",
44
44
  "@fluentui-react-native/experimental-activity-indicator": ">=0.7.18 <1.0.0",
45
45
  "@fluentui-react-native/experimental-appearance-additions": "^0.3.1",
46
46
  "@fluentui-react-native/experimental-avatar": ">=0.17.15 <1.0.0",
47
- "@fluentui-react-native/experimental-button": "0.16.89",
48
- "@fluentui-react-native/experimental-checkbox": "0.13.37",
47
+ "@fluentui-react-native/experimental-button": "0.16.90",
48
+ "@fluentui-react-native/experimental-checkbox": "0.13.38",
49
49
  "@fluentui-react-native/experimental-expander": "0.5.18",
50
- "@fluentui-react-native/experimental-menu-button": ">=0.6.30 <1.0.0",
50
+ "@fluentui-react-native/experimental-menu-button": ">=0.6.31 <1.0.0",
51
51
  "@fluentui-react-native/experimental-native-date-picker": ">=0.7.5 <1.0.0",
52
- "@fluentui-react-native/experimental-radio-group": "^0.9.18",
53
- "@fluentui-react-native/experimental-shadow": "0.2.67",
54
- "@fluentui-react-native/experimental-shimmer": "0.8.19",
52
+ "@fluentui-react-native/experimental-radio-group": "^0.9.19",
53
+ "@fluentui-react-native/experimental-shadow": "0.2.68",
54
+ "@fluentui-react-native/experimental-shimmer": "0.8.20",
55
55
  "@fluentui-react-native/experimental-tabs": "0.8.32",
56
56
  "@fluentui-react-native/experimental-text": ">=0.11.51 <1.0.0",
57
57
  "@fluentui-react-native/framework": ">=0.9.1 <1.0.0",
58
58
  "@fluentui-react-native/icon": "0.17.12",
59
59
  "@fluentui-react-native/interactive-hooks": ">=0.22.18 <1.0.0",
60
- "@fluentui-react-native/menu": "^1.4.2",
60
+ "@fluentui-react-native/menu": "^1.4.3",
61
61
  "@fluentui-react-native/merge-props": ">=0.5.2 <1.0.0",
62
- "@fluentui-react-native/notification": "0.21.31",
62
+ "@fluentui-react-native/notification": "0.21.32",
63
63
  "@fluentui-react-native/separator": "^0.14.15",
64
64
  "@fluentui-react-native/stack": ">=0.7.52 <1.0.0",
65
- "@fluentui-react-native/switch": "^0.8.25",
65
+ "@fluentui-react-native/switch": "^0.8.26",
66
66
  "@fluentui-react-native/text": ">=0.19.20 <1.0.0",
67
67
  "@fluentui-react-native/theme": ">=0.8.0 <1.0.0",
68
68
  "@fluentui-react-native/theme-tokens": "^0.24.2",
@@ -70,7 +70,7 @@
70
70
  "@fluentui-react-native/themed-stylesheet": "^1.4.2",
71
71
  "@fluentui-react-native/theming-utils": ">=0.23.3 <1.0.0",
72
72
  "@fluentui-react-native/win32-theme": ">=0.25.1 <1.0.0",
73
- "@fluentui/react-native": ">=0.36.1 <1.0.0",
73
+ "@fluentui/react-native": ">=0.36.2 <1.0.0",
74
74
  "@fortawesome/fontawesome-svg-core": "^6.2.0",
75
75
  "@fortawesome/free-solid-svg-icons": "^6.2.0",
76
76
  "@fortawesome/react-native-fontawesome": "^0.3.0",
@@ -1,5 +1,5 @@
1
1
  import type { Theme } from '@fluentui-react-native/framework';
2
- import { Separator, Text } from '@fluentui/react-native';
2
+ import { Separator, TextV1 as Text } from '@fluentui/react-native';
3
3
  import { ButtonV1 as Button } from '@fluentui-react-native/button';
4
4
  import { themedStyleSheet } from '@fluentui-react-native/themed-stylesheet';
5
5
  import * as React from 'react';
@@ -20,14 +20,17 @@ const avatarSections: TestSection[] = [
20
20
  name: 'Customize Usage',
21
21
  component: CustomizeUsage,
22
22
  },
23
- {
24
- name: 'Avatar E2E',
25
- component: E2EAvatarTest,
26
- },
27
23
  ],
28
24
  }),
29
25
  ];
30
26
 
27
+ const e2eSections: TestSection[] = [
28
+ {
29
+ name: 'Avatar E2E',
30
+ component: E2EAvatarTest,
31
+ },
32
+ ];
33
+
31
34
  export const AvatarTest: React.FunctionComponent = () => {
32
35
  const status: PlatformStatus = {
33
36
  win32Status: 'Production',
@@ -42,5 +45,7 @@ export const AvatarTest: React.FunctionComponent = () => {
42
45
 
43
46
  const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Avatar/SPEC.md';
44
47
 
45
- return <Test name="Avatar Test" description={description} spec={spec} sections={avatarSections} status={status} />;
48
+ return (
49
+ <Test name="Avatar Test" description={description} spec={spec} sections={avatarSections} status={status} e2eSections={e2eSections} />
50
+ );
46
51
  };
@@ -61,10 +61,6 @@ const buttonSections: TestSection[] = [
61
61
  name: 'Deprecated Icon Button',
62
62
  component: ButtonIconTest_deprecated,
63
63
  },
64
- {
65
- name: 'Deprecated E2E Button Testing',
66
- component: E2EButtonTest_deprecated,
67
- },
68
64
  ],
69
65
  }),
70
66
  {
@@ -73,6 +69,17 @@ const buttonSections: TestSection[] = [
73
69
  },
74
70
  ];
75
71
 
72
+ const e2eSections: TestSection[] = [
73
+ {
74
+ name: 'E2E Button Testing',
75
+ component: E2EButtonTest,
76
+ },
77
+ {
78
+ name: 'Deprecated E2E Button Testing',
79
+ component: E2EButtonTest_deprecated,
80
+ },
81
+ ];
82
+
76
83
  export const ButtonTest: React.FunctionComponent = () => {
77
84
  const status: PlatformStatus = {
78
85
  win32Status: 'Production',
@@ -87,5 +94,7 @@ export const ButtonTest: React.FunctionComponent = () => {
87
94
 
88
95
  const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Button/SPEC.md';
89
96
 
90
- return <Test name="Button Test" description={description} spec={spec} sections={buttonSections} status={status} />;
97
+ return (
98
+ <Test name="Button Test" description={description} spec={spec} sections={buttonSections} status={status} e2eSections={e2eSections} />
99
+ );
91
100
  };
@@ -418,6 +418,9 @@ const calloutSections: TestSection[] = [
418
418
  name: 'Customized Usage',
419
419
  component: CustomCallout,
420
420
  },
421
+ ];
422
+
423
+ const e2eSections: TestSection[] = [
421
424
  {
422
425
  name: 'E2E Testing Callout',
423
426
  component: E2ECalloutTest,
@@ -435,5 +438,5 @@ export const CalloutTest: React.FunctionComponent = () => {
435
438
 
436
439
  const description = 'A callout is an anchored tip that can be used to teach people or guide them through the app without blocking them.';
437
440
 
438
- return <Test name="Callout Test" description={description} sections={calloutSections} status={status}></Test>;
441
+ return <Test name="Callout Test" description={description} sections={calloutSections} status={status} e2eSections={e2eSections}></Test>;
439
442
  };
@@ -166,6 +166,9 @@ const checkboxSections: TestSection[] = [
166
166
  name: 'Token Customized Checkboxes',
167
167
  component: TokenCheckbox,
168
168
  },
169
+ ];
170
+
171
+ const e2eSections: TestSection[] = [
169
172
  {
170
173
  name: 'Checkbox for E2E Testing',
171
174
  component: CheckboxLegacyE2ETest,
@@ -186,5 +189,14 @@ export const CheckboxLegacyTest: React.FunctionComponent = () => {
186
189
 
187
190
  const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Checkbox/SPEC.md';
188
191
 
189
- return <Test name="Checkbox Legacy Test" description={description} spec={spec} sections={checkboxSections} status={status} />;
192
+ return (
193
+ <Test
194
+ name="Checkbox Legacy Test"
195
+ description={description}
196
+ spec={spec}
197
+ sections={checkboxSections}
198
+ status={status}
199
+ e2eSections={e2eSections}
200
+ />
201
+ );
190
202
  };
@@ -206,6 +206,9 @@ const checkboxSections: TestSection[] = [
206
206
  component: TokenCheckbox,
207
207
  },
208
208
  }),
209
+ ];
210
+
211
+ const e2eSections: TestSection[] = [
209
212
  {
210
213
  name: 'E2E Testing for CheckboxV1',
211
214
  component: E2ECheckboxV1Test,
@@ -224,5 +227,5 @@ export const CheckboxV1Test: React.FunctionComponent = () => {
224
227
  const description =
225
228
  'Checkboxes give people a way to select one or more items from a group, or switch between two mutually exclusive options (checked or unchecked, on or off).';
226
229
 
227
- return <Test name="CheckboxV1 Test" description={description} sections={checkboxSections} status={status} />;
230
+ return <Test name="CheckboxV1 Test" description={description} sections={checkboxSections} status={status} e2eSections={e2eSections} />;
228
231
  };
@@ -501,6 +501,9 @@ const contextualMenuSections: TestSection[] = [
501
501
  name: 'ContextalMenu with ScrollView',
502
502
  component: ScrollViewContextualMenu,
503
503
  },
504
+ ];
505
+
506
+ const e2eSections: TestSection[] = [
504
507
  {
505
508
  name: 'ContextualMenu E2E Test',
506
509
  component: E2EContextualMenuTest,
@@ -519,5 +522,13 @@ export const ContextualMenuTest: React.FunctionComponent = () => {
519
522
  const description =
520
523
  'ContextualMenus are lists of commands that are based on the context of selection, mouse hover or keyboard focus. They are one of the most effective and highly used command surfaces, and can be used in a variety of places.\n\nThere are variants that originate from a command bar, or from cursor or focus. Those that come from CommandBars use a beak that is horizontally centered on the button. Ones that come from right click and menu button do not have a beak, but appear to the right and below the cursor. ContextualMenus can have submenus from commands, show selection checks, and icons.\n\nOrganize commands in groups divided by rules. This helps users remember command locations, or find less used commands based on proximity to others. One should also group sets of mutually exclusive or multiple selectable options. Use icons sparingly, for high value commands, and don’t mix icons with selection checks, as it makes parsing commands difficult. Avoid submenus of submenus as they can be difficult to invoke or remember.';
521
524
 
522
- return <Test name="ContextualMenu Test" description={description} sections={contextualMenuSections} status={status}></Test>;
525
+ return (
526
+ <Test
527
+ name="ContextualMenu Test"
528
+ description={description}
529
+ sections={contextualMenuSections}
530
+ status={status}
531
+ e2eSections={e2eSections}
532
+ ></Test>
533
+ );
523
534
  };
@@ -188,6 +188,9 @@ const focusZoneSections: TestSection[] = [
188
188
  name: 'Nested FocusZone',
189
189
  component: NestedFocusZone,
190
190
  },
191
+ ];
192
+
193
+ const e2eSections: TestSection[] = [
191
194
  {
192
195
  name: '2D Navigation + E2E Testing',
193
196
  component: FocusZone2D,
@@ -203,5 +206,7 @@ export const FocusZoneTest: React.FunctionComponent = () => {
203
206
  androidStatus: 'Backlog',
204
207
  };
205
208
 
206
- return <Test name="FocusZone Test" description={'No description.'} sections={focusZoneSections} status={status} />;
209
+ return (
210
+ <Test name="FocusZone Test" description={'No description.'} sections={focusZoneSections} status={status} e2eSections={e2eSections} />
211
+ );
207
212
  };
@@ -104,6 +104,9 @@ const iconSections: TestSection[] = [
104
104
  name: 'Default Icon',
105
105
  component: IconV1Test,
106
106
  },
107
+ ];
108
+
109
+ const e2eSections: TestSection[] = [
107
110
  {
108
111
  name: 'IconV1 for E2E Testing',
109
112
  component: IconV1E2ETest,
@@ -121,5 +124,5 @@ export const IconTest: React.FunctionComponent = () => {
121
124
 
122
125
  const description = 'Icons are styled images that can be fonts, svgs, or bitmaps';
123
126
 
124
- return <Test name="Icon Test" description={description} sections={iconSections} status={status}></Test>;
127
+ return <Test name="Icon Test" description={description} sections={iconSections} status={status} e2eSections={e2eSections}></Test>;
125
128
  };
@@ -27,6 +27,9 @@ const linkSections: TestSection[] = [
27
27
  testID: LINK_TESTPAGE,
28
28
  component: Links,
29
29
  },
30
+ ];
31
+
32
+ const e2eSections: TestSection[] = [
30
33
  {
31
34
  name: 'Link E2E Test',
32
35
  component: E2ELinkLegacyTest,
@@ -45,5 +48,5 @@ export const LinkLegacyTest: React.FunctionComponent = () => {
45
48
  const description =
46
49
  'With a Link, users can navigate to another page, window, or Help topic; display a definition; initiate a command; or choose an option. A Link indicates that it can be clicked, typically by being displayed using the visited or unvisited link system colors. Traditionally, Links are underlined as well, but that approach is often unnecessary and falling out of favor to reduce visual clutter.\n\nA Link is the lightest weight clickable control, and is often used to reduce the visual complexity of a design.';
47
50
 
48
- return <Test name="Link Legacy Test" description={description} sections={linkSections} status={status}></Test>;
51
+ return <Test name="Link Legacy Test" description={description} sections={linkSections} status={status} e2eSections={e2eSections}></Test>;
49
52
  };
@@ -169,7 +169,9 @@ const linkSections: TestSection[] = [
169
169
  component: CustomLinks,
170
170
  },
171
171
  }),
172
+ ];
172
173
 
174
+ const e2eSections: TestSection[] = [
173
175
  {
174
176
  name: 'Link E2E Test',
175
177
  component: E2ELinkV1Test,
@@ -188,5 +190,5 @@ export const LinkV1Test: React.FunctionComponent = () => {
188
190
  const description =
189
191
  'With a Link, users can navigate to another page, window, or Help topic; display a definition; initiate a command; or choose an option. A Link indicates that it can be clicked, typically by being displayed using the visited or unvisited link system colors. Traditionally, Links are underlined as well, but that approach is often unnecessary and falling out of favor to reduce visual clutter.\n\nA Link is the lightest weight clickable control, and is often used to reduce the visual complexity of a design.';
190
192
 
191
- return <Test name="LinkV1 Test" description={description} sections={linkSections} status={status}></Test>;
193
+ return <Test name="LinkV1 Test" description={description} sections={linkSections} status={status} e2eSections={e2eSections}></Test>;
192
194
  };
@@ -291,6 +291,9 @@ const menuSections: TestSection[] = [
291
291
  name: 'Menu Refs',
292
292
  component: MenuTriggerChildRef,
293
293
  },
294
+ ];
295
+
296
+ const e2eSections: TestSection[] = [
294
297
  {
295
298
  name: 'Menu E2E',
296
299
  component: E2EMenuTest,
@@ -311,5 +314,5 @@ export const MenuTest: React.FunctionComponent = () => {
311
314
 
312
315
  const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Menu/SPEC.md';
313
316
 
314
- return <Test name="Menu Test" description={description} spec={spec} sections={menuSections} status={status} />;
317
+ return <Test name="Menu Test" description={description} spec={spec} sections={menuSections} status={status} e2eSections={e2eSections} />;
315
318
  };
@@ -21,6 +21,9 @@ const menuButtonSections: TestSection[] = [
21
21
  name: 'MenuButton with customized UI',
22
22
  component: CustomizedMenuButton,
23
23
  },
24
+ ];
25
+
26
+ const e2eSections: TestSection[] = [
24
27
  {
25
28
  name: 'MenuButton for E2E Testing',
26
29
  component: MenuButtonLegacyE2ETest,
@@ -39,5 +42,7 @@ export const MenuButtonLegacyTest: React.FunctionComponent = () => {
39
42
  const description =
40
43
  'MenuButton is a component which contains ContextualMenu and Button components. This control combines and simplifies the API for customers.\nClicking on MenuButton opens ContextualMenu. It can have Submenu. But selection checks and a beak are not implemented.';
41
44
 
42
- return <Test name="MenuButton Legacy Test" description={description} sections={menuButtonSections} status={status} />;
45
+ return (
46
+ <Test name="MenuButton Legacy Test" description={description} sections={menuButtonSections} status={status} e2eSections={e2eSections} />
47
+ );
43
48
  };
@@ -21,6 +21,9 @@ const menuButtonSections: TestSection[] = [
21
21
  name: 'MenuButton with customized UI',
22
22
  component: CustomizedMenuButton,
23
23
  },
24
+ ];
25
+
26
+ const e2eSections: TestSection[] = [
24
27
  {
25
28
  name: 'E2E Testing MenuButton',
26
29
  component: MenuButtonV1E2ETest,
@@ -39,5 +42,7 @@ export const MenuButtonV1Test: React.FunctionComponent = () => {
39
42
  const description =
40
43
  'MenuButton is a component which contains ContextualMenu and Button components. This control combines and simplifies the API for customers.\nClicking on MenuButton opens ContextualMenu. It can have Submenu. But selection checks and a beak are not implemented.';
41
44
 
42
- return <Test name="MenuButtonV1 Test" description={description} sections={menuButtonSections} status={status} />;
45
+ return (
46
+ <Test name="MenuButtonV1 Test" description={description} sections={menuButtonSections} status={status} e2eSections={e2eSections} />
47
+ );
43
48
  };
@@ -59,6 +59,9 @@ const radioGroupSections: TestSection[] = [
59
59
  testID: RADIOGROUP_TESTPAGE,
60
60
  component: BasicRadioGroup,
61
61
  },
62
+ ];
63
+
64
+ const e2eSections: TestSection[] = [
62
65
  {
63
66
  name: 'RadioGroup for E2E Testing',
64
67
  component: RadioGroupLegacyE2ETest,
@@ -76,5 +79,7 @@ export const RadioGroupLegacyTest: React.FunctionComponent = () => {
76
79
 
77
80
  const description = 'No description.';
78
81
 
79
- return <Test name="RadioGroup Legacy Test" description={description} sections={radioGroupSections} status={status} />;
82
+ return (
83
+ <Test name="RadioGroup Legacy Test" description={description} sections={radioGroupSections} status={status} e2eSections={e2eSections} />
84
+ );
80
85
  };
@@ -47,6 +47,9 @@ const radioGroupV1Sections: TestSection[] = [
47
47
  },
48
48
  ],
49
49
  }),
50
+ ];
51
+
52
+ const e2eSections: TestSection[] = [
50
53
  {
51
54
  name: 'RadioGroup for E2E Testing',
52
55
  testID: RADIOGROUPV1_TESTPAGE,
@@ -68,5 +71,14 @@ export const RadioGroupV1Test: React.FunctionComponent = () => {
68
71
 
69
72
  const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/experimental/RadioGroup/SPEC.md';
70
73
 
71
- return <Test name="RadioGroupV1 Test" description={description} spec={spec} sections={radioGroupV1Sections} status={status} />;
74
+ return (
75
+ <Test
76
+ name="RadioGroupV1 Test"
77
+ description={description}
78
+ spec={spec}
79
+ sections={radioGroupV1Sections}
80
+ status={status}
81
+ e2eSections={e2eSections}
82
+ />
83
+ );
72
84
  };
@@ -133,9 +133,12 @@ const toggleSections: TestSection[] = [
133
133
  component: () => <CustomizedSwitch />,
134
134
  },
135
135
  }),
136
+ ];
137
+
138
+ const e2eSections: TestSection[] = [
136
139
  {
137
140
  name: 'Switch E2E Testing',
138
- component: () => <E2ESwitchTest />,
141
+ component: E2ESwitchTest,
139
142
  },
140
143
  ];
141
144
 
@@ -152,5 +155,7 @@ export const SwitchTest: React.FunctionComponent = () => {
152
155
 
153
156
  const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/experimental/Switch/SPEC.md';
154
157
 
155
- return <Test name="Switch Test" description={description} spec={spec} sections={toggleSections} status={status} />;
158
+ return (
159
+ <Test name="Switch Test" description={description} spec={spec} sections={toggleSections} status={status} e2eSections={e2eSections} />
160
+ );
156
161
  };
@@ -269,6 +269,9 @@ const tabsSections: TestSection[] = [
269
269
  name: 'More Flexibility',
270
270
  component: TabsWithFlexibility,
271
271
  },
272
+ ];
273
+
274
+ const e2eSections: TestSection[] = [
272
275
  {
273
276
  name: 'E2E Tabs Test',
274
277
  component: TabsLegacyE2ETest,
@@ -293,5 +296,5 @@ export const TabsLegacyTest: React.FunctionComponent = () => {
293
296
 
294
297
  const description = 'With Tabs, users can navigate to another view.';
295
298
 
296
- return <Test name="Tabs Legacy Test" description={description} sections={tabsSections} status={status} />;
299
+ return <Test name="Tabs Legacy Test" description={description} sections={tabsSections} status={status} e2eSections={e2eSections} />;
297
300
  };
@@ -246,10 +246,6 @@ const tabsSections: TestSection[] = [
246
246
  name: 'More Flexibility',
247
247
  component: TabsWithFlexibility,
248
248
  },
249
- {
250
- name: 'E2E Testing TabsV1',
251
- component: TabsV1E2ETest,
252
- },
253
249
  ];
254
250
 
255
251
  if (Platform.OS !== 'windows') {
@@ -259,6 +255,13 @@ if (Platform.OS !== 'windows') {
259
255
  });
260
256
  }
261
257
 
258
+ const e2eSections: TestSection[] = [
259
+ {
260
+ name: 'E2E Testing TabsV1',
261
+ component: TabsV1E2ETest,
262
+ },
263
+ ];
264
+
262
265
  export const TabsV1Test: React.FunctionComponent = () => {
263
266
  const status: PlatformStatus = {
264
267
  win32Status: 'Production',
@@ -270,5 +273,5 @@ export const TabsV1Test: React.FunctionComponent = () => {
270
273
 
271
274
  const description = 'With Tabs, users can navigate to another view.';
272
275
 
273
- return <Test name="TabsV1 Test" description={description} sections={tabsSections} status={status} />;
276
+ return <Test name="TabsV1 Test" description={description} sections={tabsSections} status={status} e2eSections={e2eSections} />;
274
277
  };