@fluentui-react-native/tester 0.129.5 → 0.129.6

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 (41) hide show
  1. package/CHANGELOG.json +61 -34
  2. package/CHANGELOG.md +12 -2
  3. package/docs/android.md +0 -19
  4. package/lib/fluent-tester/src/TestComponents/Button/deprecated/ButtonFocusTest.d.ts.map +1 -1
  5. package/lib/fluent-tester/src/TestComponents/Button/deprecated/ButtonFocusTest.js +0 -3
  6. package/lib/fluent-tester/src/TestComponents/Button/deprecated/ButtonFocusTest.js.map +1 -1
  7. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.d.ts +2 -13
  8. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.d.ts.map +1 -1
  9. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.desktop.d.ts +2 -2
  10. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.desktop.d.ts.map +1 -1
  11. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.js +4 -0
  12. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.js.map +1 -1
  13. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.types.d.ts +14 -0
  14. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.types.d.ts.map +1 -0
  15. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.types.js +2 -0
  16. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.types.js.map +1 -0
  17. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.windows.d.ts +2 -1
  18. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.windows.d.ts.map +1 -1
  19. package/lib/fluent-tester/src/TestComponents/Common/MenuPicker.windows.js.map +1 -1
  20. package/lib-commonjs/fluent-tester/src/TestComponents/Button/deprecated/ButtonFocusTest.d.ts.map +1 -1
  21. package/lib-commonjs/fluent-tester/src/TestComponents/Button/deprecated/ButtonFocusTest.js +0 -3
  22. package/lib-commonjs/fluent-tester/src/TestComponents/Button/deprecated/ButtonFocusTest.js.map +1 -1
  23. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.d.ts +2 -13
  24. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.d.ts.map +1 -1
  25. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.desktop.d.ts +2 -2
  26. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.desktop.d.ts.map +1 -1
  27. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.js +4 -0
  28. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.js.map +1 -1
  29. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.types.d.ts +14 -0
  30. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.types.d.ts.map +1 -0
  31. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.types.js +3 -0
  32. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.types.js.map +1 -0
  33. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.windows.d.ts +2 -1
  34. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.windows.d.ts.map +1 -1
  35. package/lib-commonjs/fluent-tester/src/TestComponents/Common/MenuPicker.windows.js.map +1 -1
  36. package/package.json +2 -2
  37. package/src/TestComponents/Button/deprecated/ButtonFocusTest.tsx +0 -3
  38. package/src/TestComponents/Common/MenuPicker.desktop.tsx +2 -2
  39. package/src/TestComponents/Common/MenuPicker.tsx +2 -15
  40. package/src/TestComponents/Common/MenuPicker.types.tsx +14 -0
  41. package/src/TestComponents/Common/MenuPicker.windows.tsx +2 -1
package/CHANGELOG.json CHANGED
@@ -2,7 +2,34 @@
2
2
  "name": "@fluentui-react-native/tester",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 02 Feb 2023 01:27:10 GMT",
5
+ "date": "Thu, 02 Feb 2023 02:18:30 GMT",
6
+ "tag": "@fluentui-react-native/tester_v0.129.6",
7
+ "version": "0.129.6",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "78454019+lyzhan7@users.noreply.github.com",
12
+ "package": "@fluentui-react-native/tester",
13
+ "commit": "577c02ea7474e2151306e348c1f446b1e69bfe7d",
14
+ "comment": "Remove section containing dead link"
15
+ },
16
+ {
17
+ "author": "30809111+acoates-ms@users.noreply.github.com",
18
+ "package": "@fluentui-react-native/tester",
19
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5",
20
+ "comment": "Fix some type errors when running TS type check for win32 platform"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui-react-native/tester",
25
+ "comment": "Bump @fluentui-react-native/experimental-shimmer to v0.8.17",
26
+ "commit": "577c02ea7474e2151306e348c1f446b1e69bfe7d"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "date": "Thu, 02 Feb 2023 01:29:39 GMT",
6
33
  "tag": "@fluentui-react-native/tester_v0.129.5",
7
34
  "version": "0.129.5",
8
35
  "comments": {
@@ -11,199 +38,199 @@
11
38
  "author": "beachball",
12
39
  "package": "@fluentui-react-native/tester",
13
40
  "comment": "Bump @fluentui-react-native/android-theme to v0.16.4",
14
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
41
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
15
42
  },
16
43
  {
17
44
  "author": "beachball",
18
45
  "package": "@fluentui-react-native/tester",
19
46
  "comment": "Bump @fluentui-react-native/apple-theme to v0.18.7",
20
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
47
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
21
48
  },
22
49
  {
23
50
  "author": "beachball",
24
51
  "package": "@fluentui-react-native/tester",
25
52
  "comment": "Bump @fluentui-react-native/avatar to v1.6.3",
26
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
53
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
27
54
  },
28
55
  {
29
56
  "author": "beachball",
30
57
  "package": "@fluentui-react-native/tester",
31
58
  "comment": "Bump @fluentui-react-native/badge to v0.4.24",
32
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
59
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
33
60
  },
34
61
  {
35
62
  "author": "beachball",
36
63
  "package": "@fluentui-react-native/tester",
37
64
  "comment": "Bump @fluentui-react-native/button to v0.32.28",
38
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
65
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
39
66
  },
40
67
  {
41
68
  "author": "beachball",
42
69
  "package": "@fluentui-react-native/tester",
43
70
  "comment": "Bump @fluentui-react-native/default-theme to v0.16.29",
44
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
71
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
45
72
  },
46
73
  {
47
74
  "author": "beachball",
48
75
  "package": "@fluentui-react-native/tester",
49
76
  "comment": "Bump @fluentui-react-native/dropdown to v0.7.23",
50
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
77
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
51
78
  },
52
79
  {
53
80
  "author": "beachball",
54
81
  "package": "@fluentui-react-native/tester",
55
82
  "comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.7.16",
56
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
83
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
57
84
  },
58
85
  {
59
86
  "author": "beachball",
60
87
  "package": "@fluentui-react-native/tester",
61
88
  "comment": "Bump @fluentui-react-native/experimental-appearance-additions to v0.2.3",
62
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
89
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
63
90
  },
64
91
  {
65
92
  "author": "beachball",
66
93
  "package": "@fluentui-react-native/tester",
67
94
  "comment": "Bump @fluentui-react-native/experimental-avatar to v0.17.13",
68
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
95
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
69
96
  },
70
97
  {
71
98
  "author": "beachball",
72
99
  "package": "@fluentui-react-native/tester",
73
100
  "comment": "Bump @fluentui-react-native/experimental-button to v0.16.86",
74
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
101
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
75
102
  },
76
103
  {
77
104
  "author": "beachball",
78
105
  "package": "@fluentui-react-native/tester",
79
106
  "comment": "Bump @fluentui-react-native/experimental-checkbox to v0.13.35",
80
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
107
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
81
108
  },
82
109
  {
83
110
  "author": "beachball",
84
111
  "package": "@fluentui-react-native/tester",
85
112
  "comment": "Bump @fluentui-react-native/experimental-expander to v0.5.16",
86
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
113
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
87
114
  },
88
115
  {
89
116
  "author": "beachball",
90
117
  "package": "@fluentui-react-native/tester",
91
118
  "comment": "Bump @fluentui-react-native/experimental-menu-button to v0.6.25",
92
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
119
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
93
120
  },
94
121
  {
95
122
  "author": "beachball",
96
123
  "package": "@fluentui-react-native/tester",
97
124
  "comment": "Bump @fluentui-react-native/experimental-native-date-picker to v0.7.5",
98
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
125
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
99
126
  },
100
127
  {
101
128
  "author": "beachball",
102
129
  "package": "@fluentui-react-native/tester",
103
130
  "comment": "Bump @fluentui-react-native/experimental-radio-group to v0.9.16",
104
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
131
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
105
132
  },
106
133
  {
107
134
  "author": "beachball",
108
135
  "package": "@fluentui-react-native/tester",
109
136
  "comment": "Bump @fluentui-react-native/experimental-shadow to v0.2.65",
110
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
137
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
111
138
  },
112
139
  {
113
140
  "author": "beachball",
114
141
  "package": "@fluentui-react-native/tester",
115
142
  "comment": "Bump @fluentui-react-native/experimental-shimmer to v0.8.16",
116
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
143
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
117
144
  },
118
145
  {
119
146
  "author": "beachball",
120
147
  "package": "@fluentui-react-native/tester",
121
148
  "comment": "Bump @fluentui-react-native/experimental-tabs to v0.8.30",
122
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
149
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
123
150
  },
124
151
  {
125
152
  "author": "beachball",
126
153
  "package": "@fluentui-react-native/tester",
127
154
  "comment": "Bump @fluentui-react-native/experimental-text to v0.11.49",
128
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
155
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
129
156
  },
130
157
  {
131
158
  "author": "beachball",
132
159
  "package": "@fluentui-react-native/tester",
133
160
  "comment": "Bump @fluentui-react-native/framework to v0.8.39",
134
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
161
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
135
162
  },
136
163
  {
137
164
  "author": "beachball",
138
165
  "package": "@fluentui-react-native/tester",
139
166
  "comment": "Bump @fluentui-react-native/icon to v0.17.10",
140
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
167
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
141
168
  },
142
169
  {
143
170
  "author": "beachball",
144
171
  "package": "@fluentui-react-native/tester",
145
172
  "comment": "Bump @fluentui-react-native/interactive-hooks to v0.22.16",
146
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
173
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
147
174
  },
148
175
  {
149
176
  "author": "beachball",
150
177
  "package": "@fluentui-react-native/tester",
151
178
  "comment": "Bump @fluentui-react-native/menu to v1.2.26",
152
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
179
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
153
180
  },
154
181
  {
155
182
  "author": "beachball",
156
183
  "package": "@fluentui-react-native/tester",
157
184
  "comment": "Bump @fluentui-react-native/notification to v0.21.26",
158
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
185
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
159
186
  },
160
187
  {
161
188
  "author": "beachball",
162
189
  "package": "@fluentui-react-native/tester",
163
190
  "comment": "Bump @fluentui-react-native/separator to v0.14.13",
164
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
191
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
165
192
  },
166
193
  {
167
194
  "author": "beachball",
168
195
  "package": "@fluentui-react-native/tester",
169
196
  "comment": "Bump @fluentui-react-native/stack to v0.7.50",
170
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
197
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
171
198
  },
172
199
  {
173
200
  "author": "beachball",
174
201
  "package": "@fluentui-react-native/tester",
175
202
  "comment": "Bump @fluentui-react-native/switch to v0.8.22",
176
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
203
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
177
204
  },
178
205
  {
179
206
  "author": "beachball",
180
207
  "package": "@fluentui-react-native/tester",
181
208
  "comment": "Bump @fluentui-react-native/text to v0.19.18",
182
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
209
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
183
210
  },
184
211
  {
185
212
  "author": "beachball",
186
213
  "package": "@fluentui-react-native/tester",
187
214
  "comment": "Bump @fluentui-react-native/theme to v0.7.21",
188
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
215
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
189
216
  },
190
217
  {
191
218
  "author": "beachball",
192
219
  "package": "@fluentui-react-native/tester",
193
220
  "comment": "Bump @fluentui-react-native/win32-theme to v0.24.16",
194
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
221
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
195
222
  },
196
223
  {
197
224
  "author": "beachball",
198
225
  "package": "@fluentui-react-native/tester",
199
226
  "comment": "Bump @fluentui/react-native to v0.35.15",
200
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
227
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
201
228
  },
202
229
  {
203
230
  "author": "beachball",
204
231
  "package": "@fluentui-react-native/tester",
205
232
  "comment": "Bump @fluentui-react-native/focus-zone to v0.11.28",
206
- "commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
233
+ "commit": "8babef935750d57271f466a1c446e6531ee1b0a5"
207
234
  }
208
235
  ]
209
236
  }
package/CHANGELOG.md CHANGED
@@ -1,12 +1,22 @@
1
1
  # Change Log - @fluentui-react-native/tester
2
2
 
3
- This log was last generated on Thu, 02 Feb 2023 01:27:10 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 02 Feb 2023 02:18:30 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.129.6
8
+
9
+ Thu, 02 Feb 2023 02:18:30 GMT
10
+
11
+ ### Patches
12
+
13
+ - Remove section containing dead link (78454019+lyzhan7@users.noreply.github.com)
14
+ - Fix some type errors when running TS type check for win32 platform (30809111+acoates-ms@users.noreply.github.com)
15
+ - Bump @fluentui-react-native/experimental-shimmer to v0.8.17
16
+
7
17
  ## 0.129.5
8
18
 
9
- Thu, 02 Feb 2023 01:27:10 GMT
19
+ Thu, 02 Feb 2023 01:29:39 GMT
10
20
 
11
21
  ### Patches
12
22
 
package/docs/android.md CHANGED
@@ -31,25 +31,6 @@ cd apps/fluent-tester
31
31
  yarn android
32
32
  ```
33
33
 
34
- ## Using an Apple Silicon Mac (As of July 2021)
35
-
36
- - The virtual devices in the AVD Manager with arm64 images still have some bugs. To get the current best emulator, download it from Github: [version 3](https://github.com/google/android-emulator-m1-preview).
37
-
38
- - Since the emulator is an emulator, you need open it manually first. Then open Android Studio from `/apps/android/src`, choose 'emulator-5554' as the device and run the app.
39
- - To connect to metro run the following and reload the app:
40
-
41
- ```sh
42
- adb reverse tcp:8081 tcp:8081
43
- yarn start
44
- ```
45
-
46
- - APKs: The emulator is running on arm64 so any APKs that need to be installed need to be for arm64. Here is a [link](https://www.apkmirror.com/apk/google-inc/android-accessibility-suite/android-accessibility-suite-9-1-0-358315219-release/android-accessibility-suite-9-1-0-358315219-android-apk-download/) to the accessibility APK which includes TalkBack (voiceover)
47
- - The ADB location is not automatically detected on the emulator so you need to manually set it.
48
- 1. Go to expanded settings (three dots on the side) -> settings
49
- 2. Turn off "Use detected ADB location"
50
- 3. Click the folder and find the location of adb (~/Library/Android/sdk/platform-tools/adb). You will need to show hidden folders (Shift + CMD + .) to see Library
51
- - Once ADB location is set, drag and drop the downloaded APK into the emulator to install it onto the emulator
52
-
53
34
  ## Dependencies
54
35
 
55
36
  Dependencies are managed by
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonFocusTest.d.ts","sourceRoot":"","sources":["../../../../../../src/TestComponents/Button/deprecated/ButtonFocusTest.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAsB9C,CAAC"}
1
+ {"version":3,"file":"ButtonFocusTest.d.ts","sourceRoot":"","sources":["../../../../../../src/TestComponents/Button/deprecated/ButtonFocusTest.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAoB9C,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { Button } from '@fluentui/react-native';
2
2
  import { Stack } from '@fluentui-react-native/stack';
3
3
  import * as React from 'react';
4
- import { findNodeHandle } from 'react-native';
5
4
  import { stackStyle } from '../../Common/styles';
6
5
  export var ButtonFocusTest_deprecated = function () {
7
6
  var _a = React.useState({
@@ -11,8 +10,6 @@ export var ButtonFocusTest_deprecated = function () {
11
10
  var onFocus = React.useCallback(function () {
12
11
  setState({ focused: !state.focused });
13
12
  if (buttonRef.current && !state.focused) {
14
- var node = findNodeHandle(buttonRef.current);
15
- console.log(node);
16
13
  buttonRef.current.focus();
17
14
  }
18
15
  }, [state, setState]);
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonFocusTest.js","sourceRoot":"","sources":["../../../../../../src/TestComponents/Button/deprecated/ButtonFocusTest.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,MAAM,CAAC,IAAM,0BAA0B,GAA4B;IAC3D,IAAA,KAAoB,KAAK,CAAC,QAAQ,CAAC;QACvC,OAAO,EAAE,KAAK;KACf,CAAC,EAFK,KAAK,QAAA,EAAE,QAAQ,QAEpB,CAAC;IACH,IAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAa,IAAI,CAAC,CAAC;IAEjD,IAAM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C3D,IAAA,KAAoB,KAAK,CAAC,QAAQ,CAAC;QACvC,OAAO,EAAE,KAAK;KACf,CAAC,EAFK,KAAK,QAAA,EAAE,QAAQ,QAEpB,CAAC;IACH,IAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAa,IAAI,CAAC,CAAC;IAEjD,IAAM,OAAO,GAAG,KAAK,CAAC,WAAW,CAAC;QAChC,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;QACtC,IAAI,SAAS,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;YACvC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;SAC3B;IACH,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEtB,OAAO,CACL,oBAAC,KAAK,IAAC,KAAK,EAAE,UAAU;QACtB,oBAAC,MAAM,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,kBAAkB,EAAC,wBAAwB,GAAG;QACnI,oBAAC,MAAM,IAAC,OAAO,EAAC,gBAAgB,EAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAC,gBAAgB,GAAG;QAC9E,oBAAC,MAAM,IAAC,OAAO,EAAC,iBAAiB,EAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAC,iBAAiB,EAAC,QAAQ,SAAG,CACnF,CACT,CAAC;AACJ,CAAC,CAAC"}
@@ -1,16 +1,5 @@
1
1
  import * as React from 'react';
2
- export interface CollectionItem<T = string> {
3
- label: string;
4
- value?: T;
5
- testID?: string;
6
- }
7
- export interface MenuPickerProps {
8
- prompt?: string;
9
- selected?: string;
10
- onChange?: (value: any, index?: number) => void;
11
- collection?: CollectionItem[];
12
- style?: any;
13
- testID?: string;
14
- }
2
+ import type { CollectionItem, MenuPickerProps } from './MenuPicker.types';
3
+ export { CollectionItem, MenuPickerProps };
15
4
  export declare const MenuPicker: React.FunctionComponent<MenuPickerProps>;
16
5
  //# sourceMappingURL=MenuPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,MAAM;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CA6B/D,CAAC"}
1
+ {"version":3,"file":"MenuPicker.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC;AAO3C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CA6B/D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { MenuPickerProps } from './MenuPicker';
3
- export type { MenuPickerProps, CollectionItem } from './MenuPicker';
2
+ import type { MenuPickerProps, CollectionItem } from './MenuPicker.types';
3
+ export { MenuPickerProps, CollectionItem };
4
4
  export declare const MenuPicker: React.FunctionComponent<MenuPickerProps>;
5
5
  //# sourceMappingURL=MenuPicker.desktop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.desktop.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.desktop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,cAAc,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AASpE,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAkC/D,CAAC"}
1
+ {"version":3,"file":"MenuPicker.desktop.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.desktop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;AAS3C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAkC/D,CAAC"}
@@ -2,6 +2,10 @@ import { __assign } from "tslib";
2
2
  import * as React from 'react';
3
3
  import { Picker } from '@react-native-picker/picker';
4
4
  import { testProps } from './TestProps';
5
+ /*
6
+ * The MenuPicker was created because the RN Core Picker was deprecated (preventing us from updating to RN 0.66).
7
+ * MenuPicker uses the community Picker package for iOS/Win32 and our own Picker for Win32/MacOS.
8
+ */
5
9
  export var MenuPicker = function (props) {
6
10
  var prompt = props.prompt, selected = props.selected, onChange = props.onChange, collection = props.collection, style = props.style, testID = props.testID;
7
11
  var selectedItemKey;
@@ -1 +1 @@
1
- {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@
1
+ export interface CollectionItem<T = string> {
2
+ label: string;
3
+ value?: T;
4
+ testID?: string;
5
+ }
6
+ export interface MenuPickerProps {
7
+ prompt?: string;
8
+ selected?: string;
9
+ onChange?: (value: any, index?: number) => void;
10
+ collection?: CollectionItem[];
11
+ style?: any;
12
+ testID?: string;
13
+ }
14
+ //# sourceMappingURL=MenuPicker.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MenuPicker.types.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.types.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,MAAM;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MenuPicker.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MenuPicker.types.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.types.tsx"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  export * from './MenuPicker.desktop';
2
2
  import * as React from 'react';
3
- import type { MenuPickerProps } from './MenuPicker';
3
+ import type { MenuPickerProps, CollectionItem } from './MenuPicker.types';
4
+ export { MenuPickerProps, CollectionItem };
4
5
  export declare const MenuPicker: React.FunctionComponent<MenuPickerProps>;
5
6
  //# sourceMappingURL=MenuPicker.windows.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.windows.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.windows.tsx"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,cAAc,CAAC;AAEpE,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAU/D,CAAC"}
1
+ {"version":3,"file":"MenuPicker.windows.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.windows.tsx"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;AAE3C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAU/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.windows.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.windows.tsx"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,CAAC,IAAM,UAAU,GAA6C,UAAC,KAAsB;IACjF,IAAA,MAAM,GAA2B,KAAK,OAAhC,EAAE,QAAQ,GAAiB,KAAK,SAAtB,EAAE,UAAU,GAAK,KAAK,WAAV,CAAW;IAC/C,OAAO,CACL,oBAAC,IAAI,IAAC,KAAK,EAAE,gBAAgB,CAAC,SAAS;QACrC,oBAAC,IAAI,IAAC,KAAK,EAA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EAAE,KAAa,IAAK,OAAA,CACvD,oBAAC,MAAM,IAAC,OAAO,EAAE,cAAM,OAAA,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,EAA3B,CAA2B,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,CACtF,EAFwD,CAExD,CAAC,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,gBAAgB,GAAG,UAAU,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE;QACT,aAAa,EAAE,KAAK;QACpB,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,CAAC;KACV;IACD,MAAM,EAAE;QACN,WAAW,EAAE,CAAC;KACf;IACD,gBAAgB,EAAE;QAChB,OAAO,EAAE,CAAC;KACX;CACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonFocusTest.d.ts","sourceRoot":"","sources":["../../../../../../src/TestComponents/Button/deprecated/ButtonFocusTest.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAsB9C,CAAC"}
1
+ {"version":3,"file":"ButtonFocusTest.d.ts","sourceRoot":"","sources":["../../../../../../src/TestComponents/Button/deprecated/ButtonFocusTest.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAoB9C,CAAC"}
@@ -5,7 +5,6 @@ var tslib_1 = require("tslib");
5
5
  var react_native_1 = require("@fluentui/react-native");
6
6
  var stack_1 = require("@fluentui-react-native/stack");
7
7
  var React = tslib_1.__importStar(require("react"));
8
- var react_native_2 = require("react-native");
9
8
  var styles_1 = require("../../Common/styles");
10
9
  var ButtonFocusTest_deprecated = function () {
11
10
  var _a = React.useState({
@@ -15,8 +14,6 @@ var ButtonFocusTest_deprecated = function () {
15
14
  var onFocus = React.useCallback(function () {
16
15
  setState({ focused: !state.focused });
17
16
  if (buttonRef.current && !state.focused) {
18
- var node = (0, react_native_2.findNodeHandle)(buttonRef.current);
19
- console.log(node);
20
17
  buttonRef.current.focus();
21
18
  }
22
19
  }, [state, setState]);
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonFocusTest.js","sourceRoot":"","sources":["../../../../../../src/TestComponents/Button/deprecated/ButtonFocusTest.tsx"],"names":[],"mappings":";;;;AAAA,uDAAgD;AAEhD,sDAAqD;AACrD,mDAA+B;AAC/B,6CAA8C;AAC9C,8CAAiD;AAE1C,IAAM,0BAA0B,GAA4B;IAC3D,IAAA,KAAoB,KAAK,CAAC,QAAQ,CAAC;QACvC,OAAO,EAAE,KAAK;KACf,CAAC,EAFK,KAAK,QAAA,EAAE,QAAQ,QAEpB,CAAC;IACH,IAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAa,IAAI,CAAC,CAAC;IAEjD,IAAM,OAAO,GAAG,KAAK,CAAC,WAAW,CAAC;QAChC,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;QACtC,IAAI,SAAS,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;YACvC,IAAM,IAAI,GAAG,IAAA,6BAAc,EAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAClB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;SAC3B;IACH,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEtB,OAAO,CACL,oBAAC,aAAK,IAAC,KAAK,EAAE,mBAAU;QACtB,oBAAC,qBAAM,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,EAAE,YAAY,EAAE,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C,wBAAwB,GAAG;QACnI,oBAAC,qBAAM,IAAC,OAAO,EAAC,gBAAgB,EAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAC,gBAAgB,GAAG;QAC9E,oBAAC,qBAAM,IAAC,OAAO,EAAC,iBAAiB,EAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAC,iBAAiB,EAAC,QAAQ,SAAG,CACnF,CACT,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,0BAA0B,8BAoBrC"}
@@ -1,16 +1,5 @@
1
1
  import * as React from 'react';
2
- export interface CollectionItem<T = string> {
3
- label: string;
4
- value?: T;
5
- testID?: string;
6
- }
7
- export interface MenuPickerProps {
8
- prompt?: string;
9
- selected?: string;
10
- onChange?: (value: any, index?: number) => void;
11
- collection?: CollectionItem[];
12
- style?: any;
13
- testID?: string;
14
- }
2
+ import type { CollectionItem, MenuPickerProps } from './MenuPicker.types';
3
+ export { CollectionItem, MenuPickerProps };
15
4
  export declare const MenuPicker: React.FunctionComponent<MenuPickerProps>;
16
5
  //# sourceMappingURL=MenuPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,MAAM;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CA6B/D,CAAC"}
1
+ {"version":3,"file":"MenuPicker.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC;AAO3C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CA6B/D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { MenuPickerProps } from './MenuPicker';
3
- export type { MenuPickerProps, CollectionItem } from './MenuPicker';
2
+ import type { MenuPickerProps, CollectionItem } from './MenuPicker.types';
3
+ export { MenuPickerProps, CollectionItem };
4
4
  export declare const MenuPicker: React.FunctionComponent<MenuPickerProps>;
5
5
  //# sourceMappingURL=MenuPicker.desktop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.desktop.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.desktop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,cAAc,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AASpE,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAkC/D,CAAC"}
1
+ {"version":3,"file":"MenuPicker.desktop.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.desktop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;AAS3C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAkC/D,CAAC"}
@@ -5,6 +5,10 @@ var tslib_1 = require("tslib");
5
5
  var React = tslib_1.__importStar(require("react"));
6
6
  var picker_1 = require("@react-native-picker/picker");
7
7
  var TestProps_1 = require("./TestProps");
8
+ /*
9
+ * The MenuPicker was created because the RN Core Picker was deprecated (preventing us from updating to RN 0.66).
10
+ * MenuPicker uses the community Picker package for iOS/Win32 and our own Picker for Win32/MacOS.
11
+ */
8
12
  var MenuPicker = function (props) {
9
13
  var prompt = props.prompt, selected = props.selected, onChange = props.onChange, collection = props.collection, style = props.style, testID = props.testID;
10
14
  var selectedItemKey;
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,sDAAqD;AACrD,yCAAwC;AAsBjC,IAAM,UAAU,GAA6C,UAAC,KAAsB;IACjF,IAAA,MAAM,GAAoD,KAAK,OAAzD,EAAE,QAAQ,GAA0C,KAAK,SAA/C,EAAE,QAAQ,GAAgC,KAAK,SAArC,EAAE,UAAU,GAAoB,KAAK,WAAzB,EAAE,KAAK,GAAa,KAAK,MAAlB,EAAE,MAAM,GAAK,KAAK,OAAV,CAAW;IACxE,IAAI,eAAe,CAAC;IAEpB,UAAU,CAAC,OAAO,CAAC,UAAC,IAAI;QACtB,IAAI,IAAI,CAAC,KAAK,IAAI,QAAQ,EAAE;YAC1B,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC;SAC9B;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,CACL,oBAAC,eAAM,qBACL,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,eAAe,EA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,CAAC,KAAK,EAAE,KAAK,CAAC,EAAtB,CAAsB,EACvE,KAAK,uBAAO,KAAK,KAEb,IAAA,qBAAS,EAAC,MAAM,CAAC,GAEpB,UAAU,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,IAAK,OAAA,CAC/B,oBAAC,eAAM,CAAC,IAAI,qBACV,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,KAAK,EACV,KAAK,EAAE,IAAI,CAAC,KAAK,IACb,IAAA,qBAAS,EAAC,IAAI,CAAC,MAAM,CAAC,EAC1B,CACH,EAPgC,CAOhC,CAAC,CACK,CACV,CAAC;AACJ,CAAC,CAAC;AA7BW,QAAA,UAAU,cA6BrB"}
@@ -0,0 +1,14 @@
1
+ export interface CollectionItem<T = string> {
2
+ label: string;
3
+ value?: T;
4
+ testID?: string;
5
+ }
6
+ export interface MenuPickerProps {
7
+ prompt?: string;
8
+ selected?: string;
9
+ onChange?: (value: any, index?: number) => void;
10
+ collection?: CollectionItem[];
11
+ style?: any;
12
+ testID?: string;
13
+ }
14
+ //# sourceMappingURL=MenuPicker.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MenuPicker.types.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.types.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,MAAM;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=MenuPicker.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MenuPicker.types.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.types.tsx"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  export * from './MenuPicker.desktop';
2
2
  import * as React from 'react';
3
- import type { MenuPickerProps } from './MenuPicker';
3
+ import type { MenuPickerProps, CollectionItem } from './MenuPicker.types';
4
+ export { MenuPickerProps, CollectionItem };
4
5
  export declare const MenuPicker: React.FunctionComponent<MenuPickerProps>;
5
6
  //# sourceMappingURL=MenuPicker.windows.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.windows.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.windows.tsx"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,cAAc,CAAC;AAEpE,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAU/D,CAAC"}
1
+ {"version":3,"file":"MenuPicker.windows.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.windows.tsx"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;AAE3C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAU/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPicker.windows.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.windows.tsx"],"names":[],"mappings":";;;;AAAA,+DAAqC;AACrC,mDAA+B;AAC/B,6CAA8D;AAGvD,IAAM,UAAU,GAA6C,UAAC,KAAsB;IACjF,IAAA,MAAM,GAA2B,KAAK,OAAhC,EAAE,QAAQ,GAAiB,KAAK,SAAtB,EAAE,UAAU,GAAK,KAAK,WAAV,CAAW;IAC/C,OAAO,CACL,oBAAC,mBAAI,IAAC,KAAK,EAAE,gBAAgB,CAAC,SAAS;QACrC,oBAAC,mBAAI,IAAC,KAAK,EAAE,gBAAgB,CAAC,MAAM,IAAG,MAAM,CAAQ;QACpD,UAAU,CAAC,GAAG,CAAC,UAAC,IAAoB,EAAE,KAAa,IAAK,OAAA,CACvD,oBAAC,qBAAM,IAAC,OAAO,EAAE,cAAM,OAAA,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,EAA3B,CAA2B,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,CACtF,EAFwD,CAExD,CAAC,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,UAAU,cAUrB;AAEF,IAAM,gBAAgB,GAAG,yBAAU,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE;QACT,aAAa,EAAE,KAAK;QACpB,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,CAAC;KACV;IACD,MAAM,EAAE;QACN,WAAW,EAAE,CAAC;KACf;IACD,gBAAgB,EAAE;QAChB,OAAO,EAAE,CAAC;KACX;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"MenuPicker.windows.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Common/MenuPicker.windows.tsx"],"names":[],"mappings":";;;;AAAA,+DAAqC;AACrC,mDAA+B;AAC/B,6CAA8D;AAIvD,IAAM,UAAU,GAA6C,UAAC,KAAsB;IACjF,IAAA,MAAM,GAA2B,KAAK,OAAhC,EAAE,QAAQ,GAAiB,KAAK,SAAtB,EAAE,UAAU,GAAK,KAAK,WAAV,CAAW;IAC/C,OAAO,CACL,oBAAC,mBAAI,IAAC,KAAK,EAAE,gBAAgB,CAAC,SAAS;QACrC,oBAAC,mBAAI,IAAC,KAAK,EAAE,gBAAgB,CAAC,MAAM,IAAG,MAAM,CAAQ;QACpD,UAAU,CAAC,GAAG,CAAC,UAAC,IAAoB,EAAE,KAAa,IAAK,OAAA,CACvD,oBAAC,qBAAM,IAAC,OAAO,EAAE,cAAM,OAAA,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,EAA3B,CAA2B,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,CACtF,EAFwD,CAExD,CAAC,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,UAAU,cAUrB;AAEF,IAAM,gBAAgB,GAAG,yBAAU,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE;QACT,aAAa,EAAE,KAAK;QACpB,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,CAAC;KACV;IACD,MAAM,EAAE;QACN,WAAW,EAAE,CAAC;KACf;IACD,gBAAgB,EAAE;QAChB,OAAO,EAAE,CAAC;KACX;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/tester",
3
- "version": "0.129.5",
3
+ "version": "0.129.6",
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>",
@@ -50,7 +50,7 @@
50
50
  "@fluentui-react-native/experimental-native-date-picker": ">=0.7.5 <1.0.0",
51
51
  "@fluentui-react-native/experimental-radio-group": "^0.9.16",
52
52
  "@fluentui-react-native/experimental-shadow": "0.2.65",
53
- "@fluentui-react-native/experimental-shimmer": "0.8.16",
53
+ "@fluentui-react-native/experimental-shimmer": "0.8.17",
54
54
  "@fluentui-react-native/experimental-tabs": "0.8.30",
55
55
  "@fluentui-react-native/experimental-text": ">=0.11.49 <1.0.0",
56
56
  "@fluentui-react-native/framework": ">=0.8.39 <1.0.0",
@@ -2,7 +2,6 @@ import { Button } from '@fluentui/react-native';
2
2
  import type { IFocusable } from '@fluentui-react-native/interactive-hooks';
3
3
  import { Stack } from '@fluentui-react-native/stack';
4
4
  import * as React from 'react';
5
- import { findNodeHandle } from 'react-native';
6
5
  import { stackStyle } from '../../Common/styles';
7
6
 
8
7
  export const ButtonFocusTest_deprecated: React.FunctionComponent = () => {
@@ -14,8 +13,6 @@ export const ButtonFocusTest_deprecated: React.FunctionComponent = () => {
14
13
  const onFocus = React.useCallback(() => {
15
14
  setState({ focused: !state.focused });
16
15
  if (buttonRef.current && !state.focused) {
17
- const node = findNodeHandle(buttonRef.current);
18
- console.log(node);
19
16
  buttonRef.current.focus();
20
17
  }
21
18
  }, [state, setState]);
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { View, StyleSheet } from 'react-native';
3
3
  import { Menu, MenuItem, MenuTrigger, MenuPopover, MenuList } from '@fluentui-react-native/menu';
4
- import type { MenuPickerProps, CollectionItem } from './MenuPicker';
5
- export type { MenuPickerProps, CollectionItem } from './MenuPicker';
4
+ import type { MenuPickerProps, CollectionItem } from './MenuPicker.types';
5
+ export { MenuPickerProps, CollectionItem };
6
6
  import { ButtonV1 as Button, Text } from '@fluentui/react-native';
7
7
  import { SvgXml } from 'react-native-svg';
8
8
 
@@ -1,27 +1,14 @@
1
1
  import * as React from 'react';
2
2
  import { Picker } from '@react-native-picker/picker';
3
3
  import { testProps } from './TestProps';
4
+ import type { CollectionItem, MenuPickerProps } from './MenuPicker.types';
5
+ export { CollectionItem, MenuPickerProps };
4
6
 
5
7
  /*
6
8
  * The MenuPicker was created because the RN Core Picker was deprecated (preventing us from updating to RN 0.66).
7
9
  * MenuPicker uses the community Picker package for iOS/Win32 and our own Picker for Win32/MacOS.
8
10
  */
9
11
 
10
- export interface CollectionItem<T = string> {
11
- label: string;
12
- value?: T;
13
- testID?: string;
14
- }
15
-
16
- export interface MenuPickerProps {
17
- prompt?: string;
18
- selected?: string;
19
- onChange?: (value: any, index?: number) => void;
20
- collection?: CollectionItem[];
21
- style?: any;
22
- testID?: string;
23
- }
24
-
25
12
  export const MenuPicker: React.FunctionComponent<MenuPickerProps> = (props: MenuPickerProps) => {
26
13
  const { prompt, selected, onChange, collection, style, testID } = props;
27
14
  let selectedItemKey;
@@ -0,0 +1,14 @@
1
+ export interface CollectionItem<T = string> {
2
+ label: string;
3
+ value?: T;
4
+ testID?: string;
5
+ }
6
+
7
+ export interface MenuPickerProps {
8
+ prompt?: string;
9
+ selected?: string;
10
+ onChange?: (value: any, index?: number) => void;
11
+ collection?: CollectionItem[];
12
+ style?: any;
13
+ testID?: string;
14
+ }
@@ -1,7 +1,8 @@
1
1
  export * from './MenuPicker.desktop';
2
2
  import * as React from 'react';
3
3
  import { Button, Text, View, StyleSheet } from 'react-native';
4
- import type { MenuPickerProps, CollectionItem } from './MenuPicker';
4
+ import type { MenuPickerProps, CollectionItem } from './MenuPicker.types';
5
+ export { MenuPickerProps, CollectionItem };
5
6
 
6
7
  export const MenuPicker: React.FunctionComponent<MenuPickerProps> = (props: MenuPickerProps) => {
7
8
  const { prompt, onChange, collection } = props;