@fluentui-react-native/tester 0.98.0 → 0.99.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 (23) hide show
  1. package/CHANGELOG.json +241 -1
  2. package/CHANGELOG.md +53 -2
  3. package/docs/android.md +1 -1
  4. package/docs/ios.md +1 -1
  5. package/docs/macos.md +1 -1
  6. package/docs/windows.md +1 -1
  7. package/lib/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.d.ts.map +1 -1
  8. package/lib/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.js +6 -0
  9. package/lib/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.js.map +1 -1
  10. package/lib/TestComponents/RadioGroupExperimental/RequiredRadioGroup.d.ts +3 -0
  11. package/lib/TestComponents/RadioGroupExperimental/RequiredRadioGroup.d.ts.map +1 -0
  12. package/lib/TestComponents/RadioGroupExperimental/RequiredRadioGroup.js +16 -0
  13. package/lib/TestComponents/RadioGroupExperimental/RequiredRadioGroup.js.map +1 -0
  14. package/lib-commonjs/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.d.ts.map +1 -1
  15. package/lib-commonjs/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.js +6 -0
  16. package/lib-commonjs/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.js.map +1 -1
  17. package/lib-commonjs/TestComponents/RadioGroupExperimental/RequiredRadioGroup.d.ts +3 -0
  18. package/lib-commonjs/TestComponents/RadioGroupExperimental/RequiredRadioGroup.d.ts.map +1 -0
  19. package/lib-commonjs/TestComponents/RadioGroupExperimental/RequiredRadioGroup.js +21 -0
  20. package/lib-commonjs/TestComponents/RadioGroupExperimental/RequiredRadioGroup.js.map +1 -0
  21. package/package.json +51 -56
  22. package/src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx +6 -0
  23. package/src/TestComponents/RadioGroupExperimental/RequiredRadioGroup.tsx +21 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,247 @@
2
2
  "name": "@fluentui-react-native/tester",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 27 Sep 2022 18:09:15 GMT",
5
+ "date": "Fri, 30 Sep 2022 00:51:19 GMT",
6
+ "tag": "@fluentui-react-native/tester_v0.99.1",
7
+ "version": "0.99.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "krsiler@microsoft.com",
12
+ "package": "@fluentui-react-native/tester",
13
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b",
14
+ "comment": "Update react-native to 0.68"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui-react-native/tester",
19
+ "comment": "Bump @fluentui-react-native/android-theme to v0.12.3",
20
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui-react-native/tester",
25
+ "comment": "Bump @fluentui-react-native/apple-theme to v0.15.1",
26
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui-react-native/tester",
31
+ "comment": "Bump @fluentui-react-native/avatar to v1.2.12",
32
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui-react-native/tester",
37
+ "comment": "Bump @fluentui-react-native/badge to v0.1.35",
38
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui-react-native/tester",
43
+ "comment": "Bump @fluentui-react-native/button to v0.25.2",
44
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui-react-native/tester",
49
+ "comment": "Bump @fluentui-react-native/default-theme to v0.15.3",
50
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui-react-native/tester",
55
+ "comment": "Bump @fluentui-react-native/dropdown to v0.4.3",
56
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui-react-native/tester",
61
+ "comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.6.5",
62
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
63
+ },
64
+ {
65
+ "author": "beachball",
66
+ "package": "@fluentui-react-native/tester",
67
+ "comment": "Bump @fluentui-react-native/experimental-avatar to v0.16.7",
68
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@fluentui-react-native/tester",
73
+ "comment": "Bump @fluentui-react-native/experimental-button to v0.16.29",
74
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@fluentui-react-native/tester",
79
+ "comment": "Bump @fluentui-react-native/experimental-checkbox to v0.12.20",
80
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
81
+ },
82
+ {
83
+ "author": "beachball",
84
+ "package": "@fluentui-react-native/tester",
85
+ "comment": "Bump @fluentui-react-native/experimental-expander to v0.4.6",
86
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
87
+ },
88
+ {
89
+ "author": "beachball",
90
+ "package": "@fluentui-react-native/tester",
91
+ "comment": "Bump @fluentui-react-native/experimental-menu-button to v0.4.33",
92
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
93
+ },
94
+ {
95
+ "author": "beachball",
96
+ "package": "@fluentui-react-native/tester",
97
+ "comment": "Bump @fluentui-react-native/experimental-native-date-picker to v0.7.2",
98
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
99
+ },
100
+ {
101
+ "author": "beachball",
102
+ "package": "@fluentui-react-native/tester",
103
+ "comment": "Bump @fluentui-react-native/experimental-radio-group to v0.5.1",
104
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
105
+ },
106
+ {
107
+ "author": "beachball",
108
+ "package": "@fluentui-react-native/tester",
109
+ "comment": "Bump @fluentui-react-native/experimental-shadow to v0.2.22",
110
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
111
+ },
112
+ {
113
+ "author": "beachball",
114
+ "package": "@fluentui-react-native/tester",
115
+ "comment": "Bump @fluentui-react-native/experimental-shimmer to v0.7.5",
116
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
117
+ },
118
+ {
119
+ "author": "beachball",
120
+ "package": "@fluentui-react-native/tester",
121
+ "comment": "Bump @fluentui-react-native/experimental-tabs to v0.5.18",
122
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
123
+ },
124
+ {
125
+ "author": "beachball",
126
+ "package": "@fluentui-react-native/tester",
127
+ "comment": "Bump @fluentui-react-native/experimental-text to v0.11.7",
128
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
129
+ },
130
+ {
131
+ "author": "beachball",
132
+ "package": "@fluentui-react-native/tester",
133
+ "comment": "Bump @fluentui-react-native/framework to v0.8.5",
134
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
135
+ },
136
+ {
137
+ "author": "beachball",
138
+ "package": "@fluentui-react-native/tester",
139
+ "comment": "Bump @fluentui-react-native/icon to v0.13.10",
140
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
141
+ },
142
+ {
143
+ "author": "beachball",
144
+ "package": "@fluentui-react-native/tester",
145
+ "comment": "Bump @fluentui-react-native/interactive-hooks to v0.18.8",
146
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
147
+ },
148
+ {
149
+ "author": "beachball",
150
+ "package": "@fluentui-react-native/tester",
151
+ "comment": "Bump @fluentui-react-native/menu to v1.0.39",
152
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
153
+ },
154
+ {
155
+ "author": "beachball",
156
+ "package": "@fluentui-react-native/tester",
157
+ "comment": "Bump @fluentui-react-native/merge-props to v0.5.1",
158
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
159
+ },
160
+ {
161
+ "author": "beachball",
162
+ "package": "@fluentui-react-native/tester",
163
+ "comment": "Bump @fluentui-react-native/notification to v0.17.12",
164
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
165
+ },
166
+ {
167
+ "author": "beachball",
168
+ "package": "@fluentui-react-native/tester",
169
+ "comment": "Bump @fluentui-react-native/stack to v0.7.9",
170
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
171
+ },
172
+ {
173
+ "author": "beachball",
174
+ "package": "@fluentui-react-native/tester",
175
+ "comment": "Bump @fluentui-react-native/switch to v0.6.10",
176
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
177
+ },
178
+ {
179
+ "author": "beachball",
180
+ "package": "@fluentui-react-native/tester",
181
+ "comment": "Bump @fluentui-react-native/text to v0.15.1",
182
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
183
+ },
184
+ {
185
+ "author": "beachball",
186
+ "package": "@fluentui-react-native/tester",
187
+ "comment": "Bump @fluentui-react-native/theme to v0.7.3",
188
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
189
+ },
190
+ {
191
+ "author": "beachball",
192
+ "package": "@fluentui-react-native/tester",
193
+ "comment": "Bump @fluentui-react-native/theme-types to v0.19.2",
194
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
195
+ },
196
+ {
197
+ "author": "beachball",
198
+ "package": "@fluentui-react-native/tester",
199
+ "comment": "Bump @fluentui-react-native/themed-stylesheet to v1.4.1",
200
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
201
+ },
202
+ {
203
+ "author": "beachball",
204
+ "package": "@fluentui-react-native/tester",
205
+ "comment": "Bump @fluentui-react-native/theming-utils to v0.15.3",
206
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
207
+ },
208
+ {
209
+ "author": "beachball",
210
+ "package": "@fluentui-react-native/tester",
211
+ "comment": "Bump @fluentui-react-native/win32-theme to v0.21.3",
212
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
213
+ },
214
+ {
215
+ "author": "beachball",
216
+ "package": "@fluentui-react-native/tester",
217
+ "comment": "Bump @fluentui/react-native to v0.32.25",
218
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
219
+ }
220
+ ]
221
+ }
222
+ },
223
+ {
224
+ "date": "Tue, 27 Sep 2022 20:55:52 GMT",
225
+ "tag": "@fluentui-react-native/tester_v0.99.0",
226
+ "version": "0.99.0",
227
+ "comments": {
228
+ "minor": [
229
+ {
230
+ "author": "gulnazsayed@microsoft.com",
231
+ "package": "@fluentui-react-native/tester",
232
+ "commit": "93fb68fc7b815141a45c275b56330761ff210c38",
233
+ "comment": "Added required RadioGroup to tester app"
234
+ },
235
+ {
236
+ "author": "beachball",
237
+ "package": "@fluentui-react-native/tester",
238
+ "comment": "Bump @fluentui-react-native/experimental-radio-group to v0.5.0",
239
+ "commit": "93fb68fc7b815141a45c275b56330761ff210c38"
240
+ }
241
+ ]
242
+ }
243
+ },
244
+ {
245
+ "date": "Tue, 27 Sep 2022 18:09:32 GMT",
6
246
  "tag": "@fluentui-react-native/tester_v0.98.0",
7
247
  "version": "0.98.0",
8
248
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,63 @@
1
1
  # Change Log - @fluentui-react-native/tester
2
2
 
3
- This log was last generated on Tue, 27 Sep 2022 18:09:15 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 30 Sep 2022 00:51:19 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.99.1
8
+
9
+ Fri, 30 Sep 2022 00:51:19 GMT
10
+
11
+ ### Patches
12
+
13
+ - Update react-native to 0.68 (krsiler@microsoft.com)
14
+ - Bump @fluentui-react-native/android-theme to v0.12.3
15
+ - Bump @fluentui-react-native/apple-theme to v0.15.1
16
+ - Bump @fluentui-react-native/avatar to v1.2.12
17
+ - Bump @fluentui-react-native/badge to v0.1.35
18
+ - Bump @fluentui-react-native/button to v0.25.2
19
+ - Bump @fluentui-react-native/default-theme to v0.15.3
20
+ - Bump @fluentui-react-native/dropdown to v0.4.3
21
+ - Bump @fluentui-react-native/experimental-activity-indicator to v0.6.5
22
+ - Bump @fluentui-react-native/experimental-avatar to v0.16.7
23
+ - Bump @fluentui-react-native/experimental-button to v0.16.29
24
+ - Bump @fluentui-react-native/experimental-checkbox to v0.12.20
25
+ - Bump @fluentui-react-native/experimental-expander to v0.4.6
26
+ - Bump @fluentui-react-native/experimental-menu-button to v0.4.33
27
+ - Bump @fluentui-react-native/experimental-native-date-picker to v0.7.2
28
+ - Bump @fluentui-react-native/experimental-radio-group to v0.5.1
29
+ - Bump @fluentui-react-native/experimental-shadow to v0.2.22
30
+ - Bump @fluentui-react-native/experimental-shimmer to v0.7.5
31
+ - Bump @fluentui-react-native/experimental-tabs to v0.5.18
32
+ - Bump @fluentui-react-native/experimental-text to v0.11.7
33
+ - Bump @fluentui-react-native/framework to v0.8.5
34
+ - Bump @fluentui-react-native/icon to v0.13.10
35
+ - Bump @fluentui-react-native/interactive-hooks to v0.18.8
36
+ - Bump @fluentui-react-native/menu to v1.0.39
37
+ - Bump @fluentui-react-native/merge-props to v0.5.1
38
+ - Bump @fluentui-react-native/notification to v0.17.12
39
+ - Bump @fluentui-react-native/stack to v0.7.9
40
+ - Bump @fluentui-react-native/switch to v0.6.10
41
+ - Bump @fluentui-react-native/text to v0.15.1
42
+ - Bump @fluentui-react-native/theme to v0.7.3
43
+ - Bump @fluentui-react-native/theme-types to v0.19.2
44
+ - Bump @fluentui-react-native/themed-stylesheet to v1.4.1
45
+ - Bump @fluentui-react-native/theming-utils to v0.15.3
46
+ - Bump @fluentui-react-native/win32-theme to v0.21.3
47
+ - Bump @fluentui/react-native to v0.32.25
48
+
49
+ ## 0.99.0
50
+
51
+ Tue, 27 Sep 2022 20:55:52 GMT
52
+
53
+ ### Minor changes
54
+
55
+ - Added required RadioGroup to tester app (gulnazsayed@microsoft.com)
56
+ - Bump @fluentui-react-native/experimental-radio-group to v0.5.0
57
+
7
58
  ## 0.98.0
8
59
 
9
- Tue, 27 Sep 2022 18:09:15 GMT
60
+ Tue, 27 Sep 2022 18:09:32 GMT
10
61
 
11
62
  ### Minor changes
12
63
 
package/docs/android.md CHANGED
@@ -61,7 +61,7 @@ If you're looking to upgrade `react-native`, look for the `rnx-kit` section in
61
61
  {
62
62
  ...
63
63
  "rnx-kit": {
64
- "reactNativeVersion": "^0.66",
64
+ "reactNativeVersion": "^0.68",
65
65
  "kitType": "app",
66
66
  "bundle": {
67
67
  ...
package/docs/ios.md CHANGED
@@ -40,7 +40,7 @@ If you're looking to upgrade `react-native`, look for the `rnx-kit` section in
40
40
  {
41
41
  ...
42
42
  "rnx-kit": {
43
- "reactNativeVersion": "^0.66",
43
+ "reactNativeVersion": "^0.68",
44
44
  "kitType": "app",
45
45
  "bundle": {
46
46
  ...
package/docs/macos.md CHANGED
@@ -49,7 +49,7 @@ If you're looking to upgrade `react-native`, look for the `rnx-kit` section in
49
49
  {
50
50
  ...
51
51
  "rnx-kit": {
52
- "reactNativeVersion": "^0.66",
52
+ "reactNativeVersion": "^0.68",
53
53
  "kitType": "app",
54
54
  "bundle": {
55
55
  ...
package/docs/windows.md CHANGED
@@ -38,7 +38,7 @@ If you're looking to upgrade `react-native`, look for the `rnx-kit` section in
38
38
  {
39
39
  ...
40
40
  "rnx-kit": {
41
- "reactNativeVersion": "^0.66",
41
+ "reactNativeVersion": "^0.68",
42
42
  "kitType": "app",
43
43
  "bundle": {
44
44
  ...
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroupExperimentalTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAuB9C,CAAC"}
1
+ {"version":3,"file":"RadioGroupExperimentalTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAyB/B,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAuB9C,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { RADIO_GROUP_EXPERIMENTAL_TESTPAGE } from './consts';
3
3
  import { DefaultRadioGroup } from './DefaultRadioGroup';
4
+ import { RequiredRadioGroup } from './RequiredRadioGroup';
4
5
  import { DisabledRadioGroup } from './DisabledRadioGroup';
5
6
  import { Test } from '../Test';
6
7
  var radioGroupExperimentalSections = [
@@ -14,6 +15,11 @@ var radioGroupExperimentalSections = [
14
15
  testID: RADIO_GROUP_EXPERIMENTAL_TESTPAGE,
15
16
  component: DisabledRadioGroup,
16
17
  },
18
+ {
19
+ name: 'Required RadioGroup',
20
+ testID: RADIO_GROUP_EXPERIMENTAL_TESTPAGE,
21
+ component: RequiredRadioGroup,
22
+ },
17
23
  ];
18
24
  export var RadioGroupExperimentalTest = function () {
19
25
  var status = {
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroupExperimentalTest.js","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAA+B,MAAM,SAAS,CAAC;AAE5D,IAAM,8BAA8B,GAAkB;IACpD;QACE,IAAI,EAAE,0BAA0B;QAChC,MAAM,EAAE,iCAAiC;QACzC,SAAS,EAAE,iBAAiB;KAC7B;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,iCAAiC;QACzC,SAAS,EAAE,kBAAkB;KAC9B;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,0BAA0B,GAA4B;IACjE,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,mKAAmK,CAAC;IAEtK,IAAM,IAAI,GAAG,uGAAuG,CAAC;IAErH,OAAO,CACL,oBAAC,IAAI,IACH,IAAI,EAAC,8BAA8B,EACnC,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,8BAA8B,EACxC,MAAM,EAAE,MAAM,GACd,CACH,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"RadioGroupExperimentalTest.js","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAA+B,MAAM,SAAS,CAAC;AAE5D,IAAM,8BAA8B,GAAkB;IACpD;QACE,IAAI,EAAE,0BAA0B;QAChC,MAAM,EAAE,iCAAiC;QACzC,SAAS,EAAE,iBAAiB;KAC7B;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,iCAAiC;QACzC,SAAS,EAAE,kBAAkB;KAC9B;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,iCAAiC;QACzC,SAAS,EAAE,kBAAkB;KAC9B;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,0BAA0B,GAA4B;IACjE,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,mKAAmK,CAAC;IAEtK,IAAM,IAAI,GAAG,uGAAuG,CAAC;IAErH,OAAO,CACL,oBAAC,IAAI,IACH,IAAI,EAAC,8BAA8B,EACnC,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,8BAA8B,EACxC,MAAM,EAAE,MAAM,GACd,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ export declare const RequiredRadioGroup: React.FunctionComponent;
3
+ //# sourceMappingURL=RequiredRadioGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredRadioGroup.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RequiredRadioGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAgBtC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { RadioGroup, Radio } from '@fluentui-react-native/experimental-radio-group';
2
+ import * as React from 'react';
3
+ import { View } from 'react-native';
4
+ export var RequiredRadioGroup = function () {
5
+ // Client's example onChange function
6
+ var onChange = function (key) {
7
+ console.log(key);
8
+ };
9
+ return (React.createElement(View, null,
10
+ React.createElement(RadioGroup, { required: true, label: "Required RadioGroup", defaultValue: "X", onChange: onChange },
11
+ React.createElement(Radio, { label: "Option W", value: "W", accessibilityLabel: "Test Accessibility Label" }),
12
+ React.createElement(Radio, { label: "Option X", value: "X" }),
13
+ React.createElement(Radio, { label: "Option Y", value: "C" }),
14
+ React.createElement(Radio, { label: "Option Z", value: "Z" }))));
15
+ };
16
+ //# sourceMappingURL=RequiredRadioGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredRadioGroup.js","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RequiredRadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,CAAC,IAAM,kBAAkB,GAA4B;IACzD,qCAAqC;IACrC,IAAM,QAAQ,GAAG,UAAC,GAAW;QAC3B,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,IAAI;QACH,oBAAC,UAAU,IAAC,QAAQ,QAAC,KAAK,EAAC,qBAAqB,EAAC,YAAY,EAAC,GAAG,EAAC,QAAQ,EAAE,QAAQ;YAClF,oBAAC,KAAK,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,GAAG,EAAC,kBAAkB,EAAC,0BAA0B,GAAG;YAClF,oBAAC,KAAK,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,GAAG,GAAG;YACpC,oBAAC,KAAK,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,GAAG,GAAG;YACpC,oBAAC,KAAK,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,GAAG,GAAG,CACzB,CACR,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroupExperimentalTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAuB9C,CAAC"}
1
+ {"version":3,"file":"RadioGroupExperimentalTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAyB/B,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAuB9C,CAAC"}
@@ -5,6 +5,7 @@ var tslib_1 = require("tslib");
5
5
  var React = (0, tslib_1.__importStar)(require("react"));
6
6
  var consts_1 = require("./consts");
7
7
  var DefaultRadioGroup_1 = require("./DefaultRadioGroup");
8
+ var RequiredRadioGroup_1 = require("./RequiredRadioGroup");
8
9
  var DisabledRadioGroup_1 = require("./DisabledRadioGroup");
9
10
  var Test_1 = require("../Test");
10
11
  var radioGroupExperimentalSections = [
@@ -18,6 +19,11 @@ var radioGroupExperimentalSections = [
18
19
  testID: consts_1.RADIO_GROUP_EXPERIMENTAL_TESTPAGE,
19
20
  component: DisabledRadioGroup_1.DisabledRadioGroup,
20
21
  },
22
+ {
23
+ name: 'Required RadioGroup',
24
+ testID: consts_1.RADIO_GROUP_EXPERIMENTAL_TESTPAGE,
25
+ component: RequiredRadioGroup_1.RequiredRadioGroup,
26
+ },
21
27
  ];
22
28
  var RadioGroupExperimentalTest = function () {
23
29
  var status = {
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroupExperimentalTest.js","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,mCAA6D;AAC7D,yDAAwD;AACxD,2DAA0D;AAC1D,gCAA4D;AAE5D,IAAM,8BAA8B,GAAkB;IACpD;QACE,IAAI,EAAE,0BAA0B;QAChC,MAAM,EAAE,0CAAiC;QACzC,SAAS,EAAE,qCAAiB;KAC7B;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,0CAAiC;QACzC,SAAS,EAAE,uCAAkB;KAC9B;CACF,CAAC;AAEK,IAAM,0BAA0B,GAA4B;IACjE,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,mKAAmK,CAAC;IAEtK,IAAM,IAAI,GAAG,uGAAuG,CAAC;IAErH,OAAO,CACL,oBAAC,WAAI,IACH,IAAI,EAAC,8BAA8B,EACnC,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,8BAA8B,EACxC,MAAM,EAAE,MAAM,GACd,CACH,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,0BAA0B,8BAuBrC"}
1
+ {"version":3,"file":"RadioGroupExperimentalTest.js","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RadioGroupExperimentalTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,mCAA6D;AAC7D,yDAAwD;AACxD,2DAA0D;AAC1D,2DAA0D;AAC1D,gCAA4D;AAE5D,IAAM,8BAA8B,GAAkB;IACpD;QACE,IAAI,EAAE,0BAA0B;QAChC,MAAM,EAAE,0CAAiC;QACzC,SAAS,EAAE,qCAAiB;KAC7B;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,0CAAiC;QACzC,SAAS,EAAE,uCAAkB;KAC9B;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,0CAAiC;QACzC,SAAS,EAAE,uCAAkB;KAC9B;CACF,CAAC;AAEK,IAAM,0BAA0B,GAA4B;IACjE,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,SAAS;QACtB,aAAa,EAAE,SAAS;KACzB,CAAC;IAEF,IAAM,WAAW,GACf,mKAAmK,CAAC;IAEtK,IAAM,IAAI,GAAG,uGAAuG,CAAC;IAErH,OAAO,CACL,oBAAC,WAAI,IACH,IAAI,EAAC,8BAA8B,EACnC,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,8BAA8B,EACxC,MAAM,EAAE,MAAM,GACd,CACH,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,0BAA0B,8BAuBrC"}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ export declare const RequiredRadioGroup: React.FunctionComponent;
3
+ //# sourceMappingURL=RequiredRadioGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredRadioGroup.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RequiredRadioGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAgBtC,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequiredRadioGroup = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var experimental_radio_group_1 = require("@fluentui-react-native/experimental-radio-group");
6
+ var React = (0, tslib_1.__importStar)(require("react"));
7
+ var react_native_1 = require("react-native");
8
+ var RequiredRadioGroup = function () {
9
+ // Client's example onChange function
10
+ var onChange = function (key) {
11
+ console.log(key);
12
+ };
13
+ return (React.createElement(react_native_1.View, null,
14
+ React.createElement(experimental_radio_group_1.RadioGroup, { required: true, label: "Required RadioGroup", defaultValue: "X", onChange: onChange },
15
+ React.createElement(experimental_radio_group_1.Radio, { label: "Option W", value: "W", accessibilityLabel: "Test Accessibility Label" }),
16
+ React.createElement(experimental_radio_group_1.Radio, { label: "Option X", value: "X" }),
17
+ React.createElement(experimental_radio_group_1.Radio, { label: "Option Y", value: "C" }),
18
+ React.createElement(experimental_radio_group_1.Radio, { label: "Option Z", value: "Z" }))));
19
+ };
20
+ exports.RequiredRadioGroup = RequiredRadioGroup;
21
+ //# sourceMappingURL=RequiredRadioGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredRadioGroup.js","sourceRoot":"","sources":["../../../src/TestComponents/RadioGroupExperimental/RequiredRadioGroup.tsx"],"names":[],"mappings":";;;;AAAA,4FAAoF;AACpF,wDAA+B;AAC/B,6CAAoC;AAE7B,IAAM,kBAAkB,GAA4B;IACzD,qCAAqC;IACrC,IAAM,QAAQ,GAAG,UAAC,GAAW;QAC3B,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,mBAAI;QACH,oBAAC,qCAAU,IAAC,QAAQ,QAAC,KAAK,EAAC,qBAAqB,EAAC,YAAY,EAAC,GAAG,EAAC,QAAQ,EAAE,QAAQ;YAClF,oBAAC,gCAAK,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,GAAG,EAAC,kBAAkB,EAAC,0BAA0B,GAAG;YAClF,oBAAC,gCAAK,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,GAAG,GAAG;YACpC,oBAAC,gCAAK,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,GAAG,GAAG;YACpC,oBAAC,gCAAK,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,GAAG,GAAG,CACzB,CACR,CACR,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,kBAAkB,sBAgB7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/tester",
3
- "version": "0.98.0",
3
+ "version": "0.99.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>",
@@ -36,48 +36,49 @@
36
36
  "directory": "apps/fluent-tester"
37
37
  },
38
38
  "dependencies": {
39
- "@fluentui-react-native/android-theme": ">=0.12.2 <1.0.0",
40
- "@fluentui-react-native/apple-theme": ">=0.15.0 <1.0.0",
41
- "@fluentui-react-native/avatar": "^1.2.11",
42
- "@fluentui-react-native/badge": ">=0.1.34 <1.0.0",
43
- "@fluentui-react-native/button": ">=0.25.1 <1.0.0",
44
- "@fluentui-react-native/default-theme": ">=0.15.2 <1.0.0",
45
- "@fluentui-react-native/dropdown": ">=0.4.2 <1.0.0",
46
- "@fluentui-react-native/experimental-activity-indicator": ">=0.6.4 <1.0.0",
47
- "@fluentui-react-native/experimental-avatar": ">=0.16.6 <1.0.0",
48
- "@fluentui-react-native/experimental-button": "0.16.28",
49
- "@fluentui-react-native/experimental-checkbox": "0.12.19",
50
- "@fluentui-react-native/experimental-expander": "0.4.5",
51
- "@fluentui-react-native/experimental-menu-button": ">=0.4.32 <1.0.0",
52
- "@fluentui-react-native/experimental-native-date-picker": ">=0.7.1 <1.0.0",
53
- "@fluentui-react-native/experimental-radio-group": "^0.4.0",
54
- "@fluentui-react-native/experimental-shadow": "0.2.21",
55
- "@fluentui-react-native/experimental-shimmer": "0.7.4",
56
- "@fluentui-react-native/experimental-tabs": "0.5.17",
57
- "@fluentui-react-native/experimental-text": ">=0.11.6 <1.0.0",
58
- "@fluentui-react-native/framework": ">=0.8.4 <1.0.0",
59
- "@fluentui-react-native/icon": "0.13.9",
60
- "@fluentui-react-native/interactive-hooks": ">=0.18.7 <1.0.0",
61
- "@fluentui-react-native/menu": "^1.0.38",
62
- "@fluentui-react-native/merge-props": ">=0.5.0 <1.0.0",
63
- "@fluentui-react-native/notification": "0.17.11",
64
- "@fluentui-react-native/stack": ">=0.7.8 <1.0.0",
65
- "@fluentui-react-native/switch": "^0.6.9",
66
- "@fluentui-react-native/text": ">=0.15.0 <1.0.0",
67
- "@fluentui-react-native/theme": ">=0.7.2 <1.0.0",
68
- "@fluentui-react-native/theme-types": ">=0.19.1 <1.0.0",
69
- "@fluentui-react-native/themed-stylesheet": "^1.4.0",
70
- "@fluentui-react-native/theming-utils": ">=0.15.2 <1.0.0",
71
- "@fluentui-react-native/win32-theme": ">=0.21.2 <1.0.0",
72
- "@fluentui/react-native": ">=0.32.24 <1.0.0",
39
+ "@fluentui-react-native/android-theme": ">=0.12.3 <1.0.0",
40
+ "@fluentui-react-native/apple-theme": ">=0.15.1 <1.0.0",
41
+ "@fluentui-react-native/avatar": "^1.2.12",
42
+ "@fluentui-react-native/badge": ">=0.1.35 <1.0.0",
43
+ "@fluentui-react-native/button": ">=0.25.2 <1.0.0",
44
+ "@fluentui-react-native/default-theme": ">=0.15.3 <1.0.0",
45
+ "@fluentui-react-native/dropdown": ">=0.4.3 <1.0.0",
46
+ "@fluentui-react-native/experimental-activity-indicator": ">=0.6.5 <1.0.0",
47
+ "@fluentui-react-native/experimental-avatar": ">=0.16.7 <1.0.0",
48
+ "@fluentui-react-native/experimental-button": "0.16.29",
49
+ "@fluentui-react-native/experimental-checkbox": "0.12.20",
50
+ "@fluentui-react-native/experimental-expander": "0.4.6",
51
+ "@fluentui-react-native/experimental-menu-button": ">=0.4.33 <1.0.0",
52
+ "@fluentui-react-native/experimental-native-date-picker": ">=0.7.2 <1.0.0",
53
+ "@fluentui-react-native/experimental-radio-group": "^0.5.1",
54
+ "@fluentui-react-native/experimental-shadow": "0.2.22",
55
+ "@fluentui-react-native/experimental-shimmer": "0.7.5",
56
+ "@fluentui-react-native/experimental-tabs": "0.5.18",
57
+ "@fluentui-react-native/experimental-text": ">=0.11.7 <1.0.0",
58
+ "@fluentui-react-native/framework": ">=0.8.5 <1.0.0",
59
+ "@fluentui-react-native/icon": "0.13.10",
60
+ "@fluentui-react-native/interactive-hooks": ">=0.18.8 <1.0.0",
61
+ "@fluentui-react-native/menu": "^1.0.39",
62
+ "@fluentui-react-native/merge-props": ">=0.5.1 <1.0.0",
63
+ "@fluentui-react-native/notification": "0.17.12",
64
+ "@fluentui-react-native/stack": ">=0.7.9 <1.0.0",
65
+ "@fluentui-react-native/switch": "^0.6.10",
66
+ "@fluentui-react-native/text": ">=0.15.1 <1.0.0",
67
+ "@fluentui-react-native/theme": ">=0.7.3 <1.0.0",
68
+ "@fluentui-react-native/theme-types": ">=0.19.2 <1.0.0",
69
+ "@fluentui-react-native/themed-stylesheet": "^1.4.1",
70
+ "@fluentui-react-native/theming-utils": ">=0.15.3 <1.0.0",
71
+ "@fluentui-react-native/win32-theme": ">=0.21.3 <1.0.0",
72
+ "@fluentui/react-native": ">=0.32.25 <1.0.0",
73
73
  "@react-native-community/slider": "^4.2.0",
74
74
  "@react-native-menu/menu": "^0.1.2",
75
75
  "@react-native-picker/picker": "^2.2.1",
76
76
  "react": "17.0.2",
77
- "react-native": "^0.66.0",
78
- "react-native-macos": "^0.66.0",
79
- "react-native-svg": "^12.3.0",
80
- "react-native-windows": "^0.66.0",
77
+ "react-dom": "17.0.2",
78
+ "react-native": "^0.68.0",
79
+ "react-native-macos": "^0.68.0",
80
+ "react-native-svg": "12.3.0",
81
+ "react-native-windows": "^0.68.0",
81
82
  "tslib": "^2.3.1"
82
83
  },
83
84
  "devDependencies": {
@@ -89,7 +90,7 @@
89
90
  "@rnx-kit/metro-config": "^1.2.26",
90
91
  "@types/jasmine": "3.5.10",
91
92
  "@types/react": "^17.0.2",
92
- "@types/react-native": "^0.66.0",
93
+ "@types/react-native": "^0.68.0",
93
94
  "@wdio/appium-service": "7.23.0",
94
95
  "@wdio/cli": "7.23.0",
95
96
  "@wdio/jasmine-framework": "7.23.0",
@@ -97,18 +98,13 @@
97
98
  "@wdio/spec-reporter": "7.23.0",
98
99
  "appium": "2.0.0-beta.41",
99
100
  "appium-mac2-driver": "1.4.0",
100
- "appium-xcuitest-driver": "4.11.1",
101
101
  "appium-windows-driver": "2.0.7",
102
+ "appium-xcuitest-driver": "4.11.1",
102
103
  "flow-bin": "^0.113.0",
103
- "metro-config": "^0.66.2",
104
- "metro-react-native-babel-preset": "^0.66.2",
105
- "react": "17.0.2",
106
- "react-native": "^0.66.0",
107
- "react-native-macos": "^0.66.0",
108
- "react-native-svg": "^12.3.0",
104
+ "metro-config": "^0.67.0",
105
+ "metro-react-native-babel-preset": "^0.67.0",
109
106
  "react-native-svg-transformer": "^1.0.0",
110
107
  "react-native-test-app": "^1.6.2",
111
- "react-native-windows": "^0.66.0",
112
108
  "react-test-renderer": "17.0.2",
113
109
  "ts-node": "^8.10.1",
114
110
  "tsconfig-paths": "^3.9.0",
@@ -116,18 +112,13 @@
116
112
  "webdriverio": "7.23.0"
117
113
  },
118
114
  "peerDependencies": {
119
- "@office-iss/react-native-win32": "^0.66.6",
120
- "react": "17.0.2",
121
- "react-native": "^0.66.0",
122
- "react-native-macos": "^0.66.0",
123
- "react-native-svg": "^12.3.0",
124
- "react-native-windows": "^0.66.0"
115
+ "@office-iss/react-native-win32": ">=0.68.0 <0.68.6"
125
116
  },
126
117
  "jest": {
127
118
  "preset": "react-native"
128
119
  },
129
120
  "rnx-kit": {
130
- "reactNativeVersion": "^0.66",
121
+ "reactNativeVersion": "^0.68",
131
122
  "kitType": "app",
132
123
  "bundle": {
133
124
  "targets": [
@@ -151,7 +142,11 @@
151
142
  "core-macos",
152
143
  "core-windows",
153
144
  "react",
154
- "svg"
145
+ "svg",
146
+ "metro-config",
147
+ "babel-preset-react-native",
148
+ "test-app",
149
+ "react-dom"
155
150
  ]
156
151
  },
157
152
  "depcheck": {
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { RADIO_GROUP_EXPERIMENTAL_TESTPAGE } from './consts';
3
3
  import { DefaultRadioGroup } from './DefaultRadioGroup';
4
+ import { RequiredRadioGroup } from './RequiredRadioGroup';
4
5
  import { DisabledRadioGroup } from './DisabledRadioGroup';
5
6
  import { Test, TestSection, PlatformStatus } from '../Test';
6
7
 
@@ -15,6 +16,11 @@ const radioGroupExperimentalSections: TestSection[] = [
15
16
  testID: RADIO_GROUP_EXPERIMENTAL_TESTPAGE,
16
17
  component: DisabledRadioGroup,
17
18
  },
19
+ {
20
+ name: 'Required RadioGroup',
21
+ testID: RADIO_GROUP_EXPERIMENTAL_TESTPAGE,
22
+ component: RequiredRadioGroup,
23
+ },
18
24
  ];
19
25
 
20
26
  export const RadioGroupExperimentalTest: React.FunctionComponent = () => {
@@ -0,0 +1,21 @@
1
+ import { RadioGroup, Radio } from '@fluentui-react-native/experimental-radio-group';
2
+ import * as React from 'react';
3
+ import { View } from 'react-native';
4
+
5
+ export const RequiredRadioGroup: React.FunctionComponent = () => {
6
+ // Client's example onChange function
7
+ const onChange = (key: string) => {
8
+ console.log(key);
9
+ };
10
+
11
+ return (
12
+ <View>
13
+ <RadioGroup required label="Required RadioGroup" defaultValue="X" onChange={onChange}>
14
+ <Radio label="Option W" value="W" accessibilityLabel="Test Accessibility Label" />
15
+ <Radio label="Option X" value="X" />
16
+ <Radio label="Option Y" value="C" />
17
+ <Radio label="Option Z" value="Z" />
18
+ </RadioGroup>
19
+ </View>
20
+ );
21
+ };