@fluentui-react-native/focus-zone 0.11.6 → 0.11.8

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.
@@ -13,15 +13,13 @@ exports[`FocusZone No Props One child 1`] = `
13
13
  <View
14
14
  accessibilityRole="button"
15
15
  accessible={true}
16
+ collapsable={false}
16
17
  focusable={true}
17
- nativeBackgroundAndroid={
18
- Object {
19
- "attribute": "selectableItemBackground",
20
- "rippleRadius": undefined,
21
- "type": "ThemeAttrAndroid",
22
- }
23
- }
24
18
  onClick={[Function]}
19
+ onKeyDown={[Function]}
20
+ onKeyUp={[Function]}
21
+ onMouseEnter={[Function]}
22
+ onMouseLeave={[Function]}
25
23
  onResponderGrant={[Function]}
26
24
  onResponderMove={[Function]}
27
25
  onResponderRelease={[Function]}
@@ -29,29 +27,31 @@ exports[`FocusZone No Props One child 1`] = `
29
27
  onResponderTerminationRequest={[Function]}
30
28
  onStartShouldSetResponder={[Function]}
31
29
  style={
32
- Array [
33
- Object {
34
- "backgroundColor": "#2196F3",
35
- "borderRadius": 2,
36
- "elevation": 4,
37
- },
38
- ]
30
+ Object {
31
+ "opacity": 1,
32
+ }
39
33
  }
40
34
  >
41
- <Text
35
+ <View
42
36
  style={
43
37
  Array [
44
- Object {
45
- "color": "white",
46
- "fontWeight": "500",
47
- "margin": 8,
48
- "textAlign": "center",
49
- },
38
+ undefined,
50
39
  ]
51
40
  }
52
41
  >
53
- BUTTON
54
- </Text>
42
+ <Text
43
+ style={
44
+ Array [
45
+ Object {
46
+ "margin": 8,
47
+ "textAlign": "center",
48
+ },
49
+ ]
50
+ }
51
+ >
52
+ button
53
+ </Text>
54
+ </View>
55
55
  </View>
56
56
  </RCTFocusZone>
57
57
  `;
@@ -63,15 +63,13 @@ exports[`FocusZone No Props Three children 1`] = `
63
63
  <View
64
64
  accessibilityRole="button"
65
65
  accessible={true}
66
+ collapsable={false}
66
67
  focusable={true}
67
- nativeBackgroundAndroid={
68
- Object {
69
- "attribute": "selectableItemBackground",
70
- "rippleRadius": undefined,
71
- "type": "ThemeAttrAndroid",
72
- }
73
- }
74
68
  onClick={[Function]}
69
+ onKeyDown={[Function]}
70
+ onKeyUp={[Function]}
71
+ onMouseEnter={[Function]}
72
+ onMouseLeave={[Function]}
75
73
  onResponderGrant={[Function]}
76
74
  onResponderMove={[Function]}
77
75
  onResponderRelease={[Function]}
@@ -79,42 +77,42 @@ exports[`FocusZone No Props Three children 1`] = `
79
77
  onResponderTerminationRequest={[Function]}
80
78
  onStartShouldSetResponder={[Function]}
81
79
  style={
82
- Array [
83
- Object {
84
- "backgroundColor": "#2196F3",
85
- "borderRadius": 2,
86
- "elevation": 4,
87
- },
88
- ]
80
+ Object {
81
+ "opacity": 1,
82
+ }
89
83
  }
90
84
  >
91
- <Text
85
+ <View
92
86
  style={
93
87
  Array [
94
- Object {
95
- "color": "white",
96
- "fontWeight": "500",
97
- "margin": 8,
98
- "textAlign": "center",
99
- },
88
+ undefined,
100
89
  ]
101
90
  }
102
91
  >
103
- BUTTON
104
- </Text>
92
+ <Text
93
+ style={
94
+ Array [
95
+ Object {
96
+ "margin": 8,
97
+ "textAlign": "center",
98
+ },
99
+ ]
100
+ }
101
+ >
102
+ button
103
+ </Text>
104
+ </View>
105
105
  </View>
106
106
  <View
107
107
  accessibilityRole="button"
108
108
  accessible={true}
109
+ collapsable={false}
109
110
  focusable={true}
110
- nativeBackgroundAndroid={
111
- Object {
112
- "attribute": "selectableItemBackground",
113
- "rippleRadius": undefined,
114
- "type": "ThemeAttrAndroid",
115
- }
116
- }
117
111
  onClick={[Function]}
112
+ onKeyDown={[Function]}
113
+ onKeyUp={[Function]}
114
+ onMouseEnter={[Function]}
115
+ onMouseLeave={[Function]}
118
116
  onResponderGrant={[Function]}
119
117
  onResponderMove={[Function]}
120
118
  onResponderRelease={[Function]}
@@ -122,42 +120,42 @@ exports[`FocusZone No Props Three children 1`] = `
122
120
  onResponderTerminationRequest={[Function]}
123
121
  onStartShouldSetResponder={[Function]}
124
122
  style={
125
- Array [
126
- Object {
127
- "backgroundColor": "#2196F3",
128
- "borderRadius": 2,
129
- "elevation": 4,
130
- },
131
- ]
123
+ Object {
124
+ "opacity": 1,
125
+ }
132
126
  }
133
127
  >
134
- <Text
128
+ <View
135
129
  style={
136
130
  Array [
137
- Object {
138
- "color": "white",
139
- "fontWeight": "500",
140
- "margin": 8,
141
- "textAlign": "center",
142
- },
131
+ undefined,
143
132
  ]
144
133
  }
145
134
  >
146
- BUTTON
147
- </Text>
135
+ <Text
136
+ style={
137
+ Array [
138
+ Object {
139
+ "margin": 8,
140
+ "textAlign": "center",
141
+ },
142
+ ]
143
+ }
144
+ >
145
+ button
146
+ </Text>
147
+ </View>
148
148
  </View>
149
149
  <View
150
150
  accessibilityRole="button"
151
151
  accessible={true}
152
+ collapsable={false}
152
153
  focusable={true}
153
- nativeBackgroundAndroid={
154
- Object {
155
- "attribute": "selectableItemBackground",
156
- "rippleRadius": undefined,
157
- "type": "ThemeAttrAndroid",
158
- }
159
- }
160
154
  onClick={[Function]}
155
+ onKeyDown={[Function]}
156
+ onKeyUp={[Function]}
157
+ onMouseEnter={[Function]}
158
+ onMouseLeave={[Function]}
161
159
  onResponderGrant={[Function]}
162
160
  onResponderMove={[Function]}
163
161
  onResponderRelease={[Function]}
@@ -165,29 +163,31 @@ exports[`FocusZone No Props Three children 1`] = `
165
163
  onResponderTerminationRequest={[Function]}
166
164
  onStartShouldSetResponder={[Function]}
167
165
  style={
168
- Array [
169
- Object {
170
- "backgroundColor": "#2196F3",
171
- "borderRadius": 2,
172
- "elevation": 4,
173
- },
174
- ]
166
+ Object {
167
+ "opacity": 1,
168
+ }
175
169
  }
176
170
  >
177
- <Text
171
+ <View
178
172
  style={
179
173
  Array [
180
- Object {
181
- "color": "white",
182
- "fontWeight": "500",
183
- "margin": 8,
184
- "textAlign": "center",
185
- },
174
+ undefined,
186
175
  ]
187
176
  }
188
177
  >
189
- BUTTON
190
- </Text>
178
+ <Text
179
+ style={
180
+ Array [
181
+ Object {
182
+ "margin": 8,
183
+ "textAlign": "center",
184
+ },
185
+ ]
186
+ }
187
+ >
188
+ button
189
+ </Text>
190
+ </View>
191
191
  </View>
192
192
  </RCTFocusZone>
193
193
  `;
@@ -199,15 +199,13 @@ exports[`FocusZone No Props Two children 1`] = `
199
199
  <View
200
200
  accessibilityRole="button"
201
201
  accessible={true}
202
+ collapsable={false}
202
203
  focusable={true}
203
- nativeBackgroundAndroid={
204
- Object {
205
- "attribute": "selectableItemBackground",
206
- "rippleRadius": undefined,
207
- "type": "ThemeAttrAndroid",
208
- }
209
- }
210
204
  onClick={[Function]}
205
+ onKeyDown={[Function]}
206
+ onKeyUp={[Function]}
207
+ onMouseEnter={[Function]}
208
+ onMouseLeave={[Function]}
211
209
  onResponderGrant={[Function]}
212
210
  onResponderMove={[Function]}
213
211
  onResponderRelease={[Function]}
@@ -215,42 +213,42 @@ exports[`FocusZone No Props Two children 1`] = `
215
213
  onResponderTerminationRequest={[Function]}
216
214
  onStartShouldSetResponder={[Function]}
217
215
  style={
218
- Array [
219
- Object {
220
- "backgroundColor": "#2196F3",
221
- "borderRadius": 2,
222
- "elevation": 4,
223
- },
224
- ]
216
+ Object {
217
+ "opacity": 1,
218
+ }
225
219
  }
226
220
  >
227
- <Text
221
+ <View
228
222
  style={
229
223
  Array [
230
- Object {
231
- "color": "white",
232
- "fontWeight": "500",
233
- "margin": 8,
234
- "textAlign": "center",
235
- },
224
+ undefined,
236
225
  ]
237
226
  }
238
227
  >
239
- BUTTON
240
- </Text>
228
+ <Text
229
+ style={
230
+ Array [
231
+ Object {
232
+ "margin": 8,
233
+ "textAlign": "center",
234
+ },
235
+ ]
236
+ }
237
+ >
238
+ button
239
+ </Text>
240
+ </View>
241
241
  </View>
242
242
  <View
243
243
  accessibilityRole="button"
244
244
  accessible={true}
245
+ collapsable={false}
245
246
  focusable={true}
246
- nativeBackgroundAndroid={
247
- Object {
248
- "attribute": "selectableItemBackground",
249
- "rippleRadius": undefined,
250
- "type": "ThemeAttrAndroid",
251
- }
252
- }
253
247
  onClick={[Function]}
248
+ onKeyDown={[Function]}
249
+ onKeyUp={[Function]}
250
+ onMouseEnter={[Function]}
251
+ onMouseLeave={[Function]}
254
252
  onResponderGrant={[Function]}
255
253
  onResponderMove={[Function]}
256
254
  onResponderRelease={[Function]}
@@ -258,29 +256,31 @@ exports[`FocusZone No Props Two children 1`] = `
258
256
  onResponderTerminationRequest={[Function]}
259
257
  onStartShouldSetResponder={[Function]}
260
258
  style={
261
- Array [
262
- Object {
263
- "backgroundColor": "#2196F3",
264
- "borderRadius": 2,
265
- "elevation": 4,
266
- },
267
- ]
259
+ Object {
260
+ "opacity": 1,
261
+ }
268
262
  }
269
263
  >
270
- <Text
264
+ <View
271
265
  style={
272
266
  Array [
273
- Object {
274
- "color": "white",
275
- "fontWeight": "500",
276
- "margin": 8,
277
- "textAlign": "center",
278
- },
267
+ undefined,
279
268
  ]
280
269
  }
281
270
  >
282
- BUTTON
283
- </Text>
271
+ <Text
272
+ style={
273
+ Array [
274
+ Object {
275
+ "margin": 8,
276
+ "textAlign": "center",
277
+ },
278
+ ]
279
+ }
280
+ >
281
+ button
282
+ </Text>
283
+ </View>
284
284
  </View>
285
285
  </RCTFocusZone>
286
286
  `;
@@ -295,15 +295,13 @@ exports[`FocusZone With Props All Props 1`] = `
295
295
  <View
296
296
  accessibilityRole="button"
297
297
  accessible={true}
298
+ collapsable={false}
298
299
  focusable={true}
299
- nativeBackgroundAndroid={
300
- Object {
301
- "attribute": "selectableItemBackground",
302
- "rippleRadius": undefined,
303
- "type": "ThemeAttrAndroid",
304
- }
305
- }
306
300
  onClick={[Function]}
301
+ onKeyDown={[Function]}
302
+ onKeyUp={[Function]}
303
+ onMouseEnter={[Function]}
304
+ onMouseLeave={[Function]}
307
305
  onResponderGrant={[Function]}
308
306
  onResponderMove={[Function]}
309
307
  onResponderRelease={[Function]}
@@ -311,42 +309,42 @@ exports[`FocusZone With Props All Props 1`] = `
311
309
  onResponderTerminationRequest={[Function]}
312
310
  onStartShouldSetResponder={[Function]}
313
311
  style={
314
- Array [
315
- Object {
316
- "backgroundColor": "#2196F3",
317
- "borderRadius": 2,
318
- "elevation": 4,
319
- },
320
- ]
312
+ Object {
313
+ "opacity": 1,
314
+ }
321
315
  }
322
316
  >
323
- <Text
317
+ <View
324
318
  style={
325
319
  Array [
326
- Object {
327
- "color": "white",
328
- "fontWeight": "500",
329
- "margin": 8,
330
- "textAlign": "center",
331
- },
320
+ undefined,
332
321
  ]
333
322
  }
334
323
  >
335
- BUTTON
336
- </Text>
324
+ <Text
325
+ style={
326
+ Array [
327
+ Object {
328
+ "margin": 8,
329
+ "textAlign": "center",
330
+ },
331
+ ]
332
+ }
333
+ >
334
+ button
335
+ </Text>
336
+ </View>
337
337
  </View>
338
338
  <View
339
339
  accessibilityRole="button"
340
340
  accessible={true}
341
+ collapsable={false}
341
342
  focusable={true}
342
- nativeBackgroundAndroid={
343
- Object {
344
- "attribute": "selectableItemBackground",
345
- "rippleRadius": undefined,
346
- "type": "ThemeAttrAndroid",
347
- }
348
- }
349
343
  onClick={[Function]}
344
+ onKeyDown={[Function]}
345
+ onKeyUp={[Function]}
346
+ onMouseEnter={[Function]}
347
+ onMouseLeave={[Function]}
350
348
  onResponderGrant={[Function]}
351
349
  onResponderMove={[Function]}
352
350
  onResponderRelease={[Function]}
@@ -354,42 +352,42 @@ exports[`FocusZone With Props All Props 1`] = `
354
352
  onResponderTerminationRequest={[Function]}
355
353
  onStartShouldSetResponder={[Function]}
356
354
  style={
357
- Array [
358
- Object {
359
- "backgroundColor": "#2196F3",
360
- "borderRadius": 2,
361
- "elevation": 4,
362
- },
363
- ]
355
+ Object {
356
+ "opacity": 1,
357
+ }
364
358
  }
365
359
  >
366
- <Text
360
+ <View
367
361
  style={
368
362
  Array [
369
- Object {
370
- "color": "white",
371
- "fontWeight": "500",
372
- "margin": 8,
373
- "textAlign": "center",
374
- },
363
+ undefined,
375
364
  ]
376
365
  }
377
366
  >
378
- BUTTON
379
- </Text>
367
+ <Text
368
+ style={
369
+ Array [
370
+ Object {
371
+ "margin": 8,
372
+ "textAlign": "center",
373
+ },
374
+ ]
375
+ }
376
+ >
377
+ button
378
+ </Text>
379
+ </View>
380
380
  </View>
381
381
  <View
382
382
  accessibilityRole="button"
383
383
  accessible={true}
384
+ collapsable={false}
384
385
  focusable={true}
385
- nativeBackgroundAndroid={
386
- Object {
387
- "attribute": "selectableItemBackground",
388
- "rippleRadius": undefined,
389
- "type": "ThemeAttrAndroid",
390
- }
391
- }
392
386
  onClick={[Function]}
387
+ onKeyDown={[Function]}
388
+ onKeyUp={[Function]}
389
+ onMouseEnter={[Function]}
390
+ onMouseLeave={[Function]}
393
391
  onResponderGrant={[Function]}
394
392
  onResponderMove={[Function]}
395
393
  onResponderRelease={[Function]}
@@ -397,29 +395,31 @@ exports[`FocusZone With Props All Props 1`] = `
397
395
  onResponderTerminationRequest={[Function]}
398
396
  onStartShouldSetResponder={[Function]}
399
397
  style={
400
- Array [
401
- Object {
402
- "backgroundColor": "#2196F3",
403
- "borderRadius": 2,
404
- "elevation": 4,
405
- },
406
- ]
398
+ Object {
399
+ "opacity": 1,
400
+ }
407
401
  }
408
402
  >
409
- <Text
403
+ <View
410
404
  style={
411
405
  Array [
412
- Object {
413
- "color": "white",
414
- "fontWeight": "500",
415
- "margin": 8,
416
- "textAlign": "center",
417
- },
406
+ undefined,
418
407
  ]
419
408
  }
420
409
  >
421
- BUTTON
422
- </Text>
410
+ <Text
411
+ style={
412
+ Array [
413
+ Object {
414
+ "margin": 8,
415
+ "textAlign": "center",
416
+ },
417
+ ]
418
+ }
419
+ >
420
+ button
421
+ </Text>
422
+ </View>
423
423
  </View>
424
424
  </RCTFocusZone>
425
425
  `;
@@ -431,15 +431,13 @@ exports[`FocusZone With Props defaultTabbableElement Prop 1`] = `
431
431
  <View
432
432
  accessibilityRole="button"
433
433
  accessible={true}
434
+ collapsable={false}
434
435
  focusable={true}
435
- nativeBackgroundAndroid={
436
- Object {
437
- "attribute": "selectableItemBackground",
438
- "rippleRadius": undefined,
439
- "type": "ThemeAttrAndroid",
440
- }
441
- }
442
436
  onClick={[Function]}
437
+ onKeyDown={[Function]}
438
+ onKeyUp={[Function]}
439
+ onMouseEnter={[Function]}
440
+ onMouseLeave={[Function]}
443
441
  onResponderGrant={[Function]}
444
442
  onResponderMove={[Function]}
445
443
  onResponderRelease={[Function]}
@@ -447,42 +445,42 @@ exports[`FocusZone With Props defaultTabbableElement Prop 1`] = `
447
445
  onResponderTerminationRequest={[Function]}
448
446
  onStartShouldSetResponder={[Function]}
449
447
  style={
450
- Array [
451
- Object {
452
- "backgroundColor": "#2196F3",
453
- "borderRadius": 2,
454
- "elevation": 4,
455
- },
456
- ]
448
+ Object {
449
+ "opacity": 1,
450
+ }
457
451
  }
458
452
  >
459
- <Text
453
+ <View
460
454
  style={
461
455
  Array [
462
- Object {
463
- "color": "white",
464
- "fontWeight": "500",
465
- "margin": 8,
466
- "textAlign": "center",
467
- },
456
+ undefined,
468
457
  ]
469
458
  }
470
459
  >
471
- BUTTON
472
- </Text>
460
+ <Text
461
+ style={
462
+ Array [
463
+ Object {
464
+ "margin": 8,
465
+ "textAlign": "center",
466
+ },
467
+ ]
468
+ }
469
+ >
470
+ button
471
+ </Text>
472
+ </View>
473
473
  </View>
474
474
  <View
475
475
  accessibilityRole="button"
476
476
  accessible={true}
477
+ collapsable={false}
477
478
  focusable={true}
478
- nativeBackgroundAndroid={
479
- Object {
480
- "attribute": "selectableItemBackground",
481
- "rippleRadius": undefined,
482
- "type": "ThemeAttrAndroid",
483
- }
484
- }
485
479
  onClick={[Function]}
480
+ onKeyDown={[Function]}
481
+ onKeyUp={[Function]}
482
+ onMouseEnter={[Function]}
483
+ onMouseLeave={[Function]}
486
484
  onResponderGrant={[Function]}
487
485
  onResponderMove={[Function]}
488
486
  onResponderRelease={[Function]}
@@ -490,42 +488,42 @@ exports[`FocusZone With Props defaultTabbableElement Prop 1`] = `
490
488
  onResponderTerminationRequest={[Function]}
491
489
  onStartShouldSetResponder={[Function]}
492
490
  style={
493
- Array [
494
- Object {
495
- "backgroundColor": "#2196F3",
496
- "borderRadius": 2,
497
- "elevation": 4,
498
- },
499
- ]
491
+ Object {
492
+ "opacity": 1,
493
+ }
500
494
  }
501
495
  >
502
- <Text
496
+ <View
503
497
  style={
504
498
  Array [
505
- Object {
506
- "color": "white",
507
- "fontWeight": "500",
508
- "margin": 8,
509
- "textAlign": "center",
510
- },
499
+ undefined,
511
500
  ]
512
501
  }
513
502
  >
514
- BUTTON
515
- </Text>
503
+ <Text
504
+ style={
505
+ Array [
506
+ Object {
507
+ "margin": 8,
508
+ "textAlign": "center",
509
+ },
510
+ ]
511
+ }
512
+ >
513
+ button
514
+ </Text>
515
+ </View>
516
516
  </View>
517
517
  <View
518
518
  accessibilityRole="button"
519
519
  accessible={true}
520
+ collapsable={false}
520
521
  focusable={true}
521
- nativeBackgroundAndroid={
522
- Object {
523
- "attribute": "selectableItemBackground",
524
- "rippleRadius": undefined,
525
- "type": "ThemeAttrAndroid",
526
- }
527
- }
528
522
  onClick={[Function]}
523
+ onKeyDown={[Function]}
524
+ onKeyUp={[Function]}
525
+ onMouseEnter={[Function]}
526
+ onMouseLeave={[Function]}
529
527
  onResponderGrant={[Function]}
530
528
  onResponderMove={[Function]}
531
529
  onResponderRelease={[Function]}
@@ -533,29 +531,31 @@ exports[`FocusZone With Props defaultTabbableElement Prop 1`] = `
533
531
  onResponderTerminationRequest={[Function]}
534
532
  onStartShouldSetResponder={[Function]}
535
533
  style={
536
- Array [
537
- Object {
538
- "backgroundColor": "#2196F3",
539
- "borderRadius": 2,
540
- "elevation": 4,
541
- },
542
- ]
534
+ Object {
535
+ "opacity": 1,
536
+ }
543
537
  }
544
538
  >
545
- <Text
539
+ <View
546
540
  style={
547
541
  Array [
548
- Object {
549
- "color": "white",
550
- "fontWeight": "500",
551
- "margin": 8,
552
- "textAlign": "center",
553
- },
542
+ undefined,
554
543
  ]
555
544
  }
556
545
  >
557
- BUTTON
558
- </Text>
546
+ <Text
547
+ style={
548
+ Array [
549
+ Object {
550
+ "margin": 8,
551
+ "textAlign": "center",
552
+ },
553
+ ]
554
+ }
555
+ >
556
+ button
557
+ </Text>
558
+ </View>
559
559
  </View>
560
560
  </RCTFocusZone>
561
561
  `;
@@ -568,15 +568,13 @@ exports[`FocusZone With Props disabled Prop 1`] = `
568
568
  <View
569
569
  accessibilityRole="button"
570
570
  accessible={true}
571
+ collapsable={false}
571
572
  focusable={true}
572
- nativeBackgroundAndroid={
573
- Object {
574
- "attribute": "selectableItemBackground",
575
- "rippleRadius": undefined,
576
- "type": "ThemeAttrAndroid",
577
- }
578
- }
579
573
  onClick={[Function]}
574
+ onKeyDown={[Function]}
575
+ onKeyUp={[Function]}
576
+ onMouseEnter={[Function]}
577
+ onMouseLeave={[Function]}
580
578
  onResponderGrant={[Function]}
581
579
  onResponderMove={[Function]}
582
580
  onResponderRelease={[Function]}
@@ -584,42 +582,42 @@ exports[`FocusZone With Props disabled Prop 1`] = `
584
582
  onResponderTerminationRequest={[Function]}
585
583
  onStartShouldSetResponder={[Function]}
586
584
  style={
587
- Array [
588
- Object {
589
- "backgroundColor": "#2196F3",
590
- "borderRadius": 2,
591
- "elevation": 4,
592
- },
593
- ]
585
+ Object {
586
+ "opacity": 1,
587
+ }
594
588
  }
595
589
  >
596
- <Text
590
+ <View
597
591
  style={
598
592
  Array [
599
- Object {
600
- "color": "white",
601
- "fontWeight": "500",
602
- "margin": 8,
603
- "textAlign": "center",
604
- },
593
+ undefined,
605
594
  ]
606
595
  }
607
596
  >
608
- BUTTON
609
- </Text>
597
+ <Text
598
+ style={
599
+ Array [
600
+ Object {
601
+ "margin": 8,
602
+ "textAlign": "center",
603
+ },
604
+ ]
605
+ }
606
+ >
607
+ button
608
+ </Text>
609
+ </View>
610
610
  </View>
611
611
  <View
612
612
  accessibilityRole="button"
613
613
  accessible={true}
614
+ collapsable={false}
614
615
  focusable={true}
615
- nativeBackgroundAndroid={
616
- Object {
617
- "attribute": "selectableItemBackground",
618
- "rippleRadius": undefined,
619
- "type": "ThemeAttrAndroid",
620
- }
621
- }
622
616
  onClick={[Function]}
617
+ onKeyDown={[Function]}
618
+ onKeyUp={[Function]}
619
+ onMouseEnter={[Function]}
620
+ onMouseLeave={[Function]}
623
621
  onResponderGrant={[Function]}
624
622
  onResponderMove={[Function]}
625
623
  onResponderRelease={[Function]}
@@ -627,42 +625,42 @@ exports[`FocusZone With Props disabled Prop 1`] = `
627
625
  onResponderTerminationRequest={[Function]}
628
626
  onStartShouldSetResponder={[Function]}
629
627
  style={
630
- Array [
631
- Object {
632
- "backgroundColor": "#2196F3",
633
- "borderRadius": 2,
634
- "elevation": 4,
635
- },
636
- ]
628
+ Object {
629
+ "opacity": 1,
630
+ }
637
631
  }
638
632
  >
639
- <Text
633
+ <View
640
634
  style={
641
635
  Array [
642
- Object {
643
- "color": "white",
644
- "fontWeight": "500",
645
- "margin": 8,
646
- "textAlign": "center",
647
- },
636
+ undefined,
648
637
  ]
649
638
  }
650
639
  >
651
- BUTTON
652
- </Text>
640
+ <Text
641
+ style={
642
+ Array [
643
+ Object {
644
+ "margin": 8,
645
+ "textAlign": "center",
646
+ },
647
+ ]
648
+ }
649
+ >
650
+ button
651
+ </Text>
652
+ </View>
653
653
  </View>
654
654
  <View
655
655
  accessibilityRole="button"
656
656
  accessible={true}
657
+ collapsable={false}
657
658
  focusable={true}
658
- nativeBackgroundAndroid={
659
- Object {
660
- "attribute": "selectableItemBackground",
661
- "rippleRadius": undefined,
662
- "type": "ThemeAttrAndroid",
663
- }
664
- }
665
659
  onClick={[Function]}
660
+ onKeyDown={[Function]}
661
+ onKeyUp={[Function]}
662
+ onMouseEnter={[Function]}
663
+ onMouseLeave={[Function]}
666
664
  onResponderGrant={[Function]}
667
665
  onResponderMove={[Function]}
668
666
  onResponderRelease={[Function]}
@@ -670,29 +668,31 @@ exports[`FocusZone With Props disabled Prop 1`] = `
670
668
  onResponderTerminationRequest={[Function]}
671
669
  onStartShouldSetResponder={[Function]}
672
670
  style={
673
- Array [
674
- Object {
675
- "backgroundColor": "#2196F3",
676
- "borderRadius": 2,
677
- "elevation": 4,
678
- },
679
- ]
671
+ Object {
672
+ "opacity": 1,
673
+ }
680
674
  }
681
675
  >
682
- <Text
676
+ <View
683
677
  style={
684
678
  Array [
685
- Object {
686
- "color": "white",
687
- "fontWeight": "500",
688
- "margin": 8,
689
- "textAlign": "center",
690
- },
679
+ undefined,
691
680
  ]
692
681
  }
693
682
  >
694
- BUTTON
695
- </Text>
683
+ <Text
684
+ style={
685
+ Array [
686
+ Object {
687
+ "margin": 8,
688
+ "textAlign": "center",
689
+ },
690
+ ]
691
+ }
692
+ >
693
+ button
694
+ </Text>
695
+ </View>
696
696
  </View>
697
697
  </RCTFocusZone>
698
698
  `;
@@ -705,15 +705,13 @@ exports[`FocusZone With Props focusZoneDirection Prop 1`] = `
705
705
  <View
706
706
  accessibilityRole="button"
707
707
  accessible={true}
708
+ collapsable={false}
708
709
  focusable={true}
709
- nativeBackgroundAndroid={
710
- Object {
711
- "attribute": "selectableItemBackground",
712
- "rippleRadius": undefined,
713
- "type": "ThemeAttrAndroid",
714
- }
715
- }
716
710
  onClick={[Function]}
711
+ onKeyDown={[Function]}
712
+ onKeyUp={[Function]}
713
+ onMouseEnter={[Function]}
714
+ onMouseLeave={[Function]}
717
715
  onResponderGrant={[Function]}
718
716
  onResponderMove={[Function]}
719
717
  onResponderRelease={[Function]}
@@ -721,42 +719,42 @@ exports[`FocusZone With Props focusZoneDirection Prop 1`] = `
721
719
  onResponderTerminationRequest={[Function]}
722
720
  onStartShouldSetResponder={[Function]}
723
721
  style={
724
- Array [
725
- Object {
726
- "backgroundColor": "#2196F3",
727
- "borderRadius": 2,
728
- "elevation": 4,
729
- },
730
- ]
722
+ Object {
723
+ "opacity": 1,
724
+ }
731
725
  }
732
726
  >
733
- <Text
727
+ <View
734
728
  style={
735
729
  Array [
736
- Object {
737
- "color": "white",
738
- "fontWeight": "500",
739
- "margin": 8,
740
- "textAlign": "center",
741
- },
730
+ undefined,
742
731
  ]
743
732
  }
744
733
  >
745
- BUTTON
746
- </Text>
734
+ <Text
735
+ style={
736
+ Array [
737
+ Object {
738
+ "margin": 8,
739
+ "textAlign": "center",
740
+ },
741
+ ]
742
+ }
743
+ >
744
+ button
745
+ </Text>
746
+ </View>
747
747
  </View>
748
748
  <View
749
749
  accessibilityRole="button"
750
750
  accessible={true}
751
+ collapsable={false}
751
752
  focusable={true}
752
- nativeBackgroundAndroid={
753
- Object {
754
- "attribute": "selectableItemBackground",
755
- "rippleRadius": undefined,
756
- "type": "ThemeAttrAndroid",
757
- }
758
- }
759
753
  onClick={[Function]}
754
+ onKeyDown={[Function]}
755
+ onKeyUp={[Function]}
756
+ onMouseEnter={[Function]}
757
+ onMouseLeave={[Function]}
760
758
  onResponderGrant={[Function]}
761
759
  onResponderMove={[Function]}
762
760
  onResponderRelease={[Function]}
@@ -764,42 +762,42 @@ exports[`FocusZone With Props focusZoneDirection Prop 1`] = `
764
762
  onResponderTerminationRequest={[Function]}
765
763
  onStartShouldSetResponder={[Function]}
766
764
  style={
767
- Array [
768
- Object {
769
- "backgroundColor": "#2196F3",
770
- "borderRadius": 2,
771
- "elevation": 4,
772
- },
773
- ]
765
+ Object {
766
+ "opacity": 1,
767
+ }
774
768
  }
775
769
  >
776
- <Text
770
+ <View
777
771
  style={
778
772
  Array [
779
- Object {
780
- "color": "white",
781
- "fontWeight": "500",
782
- "margin": 8,
783
- "textAlign": "center",
784
- },
773
+ undefined,
785
774
  ]
786
775
  }
787
776
  >
788
- BUTTON
789
- </Text>
777
+ <Text
778
+ style={
779
+ Array [
780
+ Object {
781
+ "margin": 8,
782
+ "textAlign": "center",
783
+ },
784
+ ]
785
+ }
786
+ >
787
+ button
788
+ </Text>
789
+ </View>
790
790
  </View>
791
791
  <View
792
792
  accessibilityRole="button"
793
793
  accessible={true}
794
+ collapsable={false}
794
795
  focusable={true}
795
- nativeBackgroundAndroid={
796
- Object {
797
- "attribute": "selectableItemBackground",
798
- "rippleRadius": undefined,
799
- "type": "ThemeAttrAndroid",
800
- }
801
- }
802
796
  onClick={[Function]}
797
+ onKeyDown={[Function]}
798
+ onKeyUp={[Function]}
799
+ onMouseEnter={[Function]}
800
+ onMouseLeave={[Function]}
803
801
  onResponderGrant={[Function]}
804
802
  onResponderMove={[Function]}
805
803
  onResponderRelease={[Function]}
@@ -807,29 +805,31 @@ exports[`FocusZone With Props focusZoneDirection Prop 1`] = `
807
805
  onResponderTerminationRequest={[Function]}
808
806
  onStartShouldSetResponder={[Function]}
809
807
  style={
810
- Array [
811
- Object {
812
- "backgroundColor": "#2196F3",
813
- "borderRadius": 2,
814
- "elevation": 4,
815
- },
816
- ]
808
+ Object {
809
+ "opacity": 1,
810
+ }
817
811
  }
818
812
  >
819
- <Text
813
+ <View
820
814
  style={
821
815
  Array [
822
- Object {
823
- "color": "white",
824
- "fontWeight": "500",
825
- "margin": 8,
826
- "textAlign": "center",
827
- },
816
+ undefined,
828
817
  ]
829
818
  }
830
819
  >
831
- BUTTON
832
- </Text>
820
+ <Text
821
+ style={
822
+ Array [
823
+ Object {
824
+ "margin": 8,
825
+ "textAlign": "center",
826
+ },
827
+ ]
828
+ }
829
+ >
830
+ button
831
+ </Text>
832
+ </View>
833
833
  </View>
834
834
  </RCTFocusZone>
835
835
  `;
@@ -841,15 +841,13 @@ exports[`FocusZone With Props isCircularNavigation Prop 1`] = `
841
841
  <View
842
842
  accessibilityRole="button"
843
843
  accessible={true}
844
+ collapsable={false}
844
845
  focusable={true}
845
- nativeBackgroundAndroid={
846
- Object {
847
- "attribute": "selectableItemBackground",
848
- "rippleRadius": undefined,
849
- "type": "ThemeAttrAndroid",
850
- }
851
- }
852
846
  onClick={[Function]}
847
+ onKeyDown={[Function]}
848
+ onKeyUp={[Function]}
849
+ onMouseEnter={[Function]}
850
+ onMouseLeave={[Function]}
853
851
  onResponderGrant={[Function]}
854
852
  onResponderMove={[Function]}
855
853
  onResponderRelease={[Function]}
@@ -857,42 +855,42 @@ exports[`FocusZone With Props isCircularNavigation Prop 1`] = `
857
855
  onResponderTerminationRequest={[Function]}
858
856
  onStartShouldSetResponder={[Function]}
859
857
  style={
860
- Array [
861
- Object {
862
- "backgroundColor": "#2196F3",
863
- "borderRadius": 2,
864
- "elevation": 4,
865
- },
866
- ]
858
+ Object {
859
+ "opacity": 1,
860
+ }
867
861
  }
868
862
  >
869
- <Text
863
+ <View
870
864
  style={
871
865
  Array [
872
- Object {
873
- "color": "white",
874
- "fontWeight": "500",
875
- "margin": 8,
876
- "textAlign": "center",
877
- },
866
+ undefined,
878
867
  ]
879
868
  }
880
869
  >
881
- BUTTON
882
- </Text>
870
+ <Text
871
+ style={
872
+ Array [
873
+ Object {
874
+ "margin": 8,
875
+ "textAlign": "center",
876
+ },
877
+ ]
878
+ }
879
+ >
880
+ button
881
+ </Text>
882
+ </View>
883
883
  </View>
884
884
  <View
885
885
  accessibilityRole="button"
886
886
  accessible={true}
887
+ collapsable={false}
887
888
  focusable={true}
888
- nativeBackgroundAndroid={
889
- Object {
890
- "attribute": "selectableItemBackground",
891
- "rippleRadius": undefined,
892
- "type": "ThemeAttrAndroid",
893
- }
894
- }
895
889
  onClick={[Function]}
890
+ onKeyDown={[Function]}
891
+ onKeyUp={[Function]}
892
+ onMouseEnter={[Function]}
893
+ onMouseLeave={[Function]}
896
894
  onResponderGrant={[Function]}
897
895
  onResponderMove={[Function]}
898
896
  onResponderRelease={[Function]}
@@ -900,42 +898,42 @@ exports[`FocusZone With Props isCircularNavigation Prop 1`] = `
900
898
  onResponderTerminationRequest={[Function]}
901
899
  onStartShouldSetResponder={[Function]}
902
900
  style={
903
- Array [
904
- Object {
905
- "backgroundColor": "#2196F3",
906
- "borderRadius": 2,
907
- "elevation": 4,
908
- },
909
- ]
901
+ Object {
902
+ "opacity": 1,
903
+ }
910
904
  }
911
905
  >
912
- <Text
906
+ <View
913
907
  style={
914
908
  Array [
915
- Object {
916
- "color": "white",
917
- "fontWeight": "500",
918
- "margin": 8,
919
- "textAlign": "center",
920
- },
909
+ undefined,
921
910
  ]
922
911
  }
923
912
  >
924
- BUTTON
925
- </Text>
913
+ <Text
914
+ style={
915
+ Array [
916
+ Object {
917
+ "margin": 8,
918
+ "textAlign": "center",
919
+ },
920
+ ]
921
+ }
922
+ >
923
+ button
924
+ </Text>
925
+ </View>
926
926
  </View>
927
927
  <View
928
928
  accessibilityRole="button"
929
929
  accessible={true}
930
+ collapsable={false}
930
931
  focusable={true}
931
- nativeBackgroundAndroid={
932
- Object {
933
- "attribute": "selectableItemBackground",
934
- "rippleRadius": undefined,
935
- "type": "ThemeAttrAndroid",
936
- }
937
- }
938
932
  onClick={[Function]}
933
+ onKeyDown={[Function]}
934
+ onKeyUp={[Function]}
935
+ onMouseEnter={[Function]}
936
+ onMouseLeave={[Function]}
939
937
  onResponderGrant={[Function]}
940
938
  onResponderMove={[Function]}
941
939
  onResponderRelease={[Function]}
@@ -943,29 +941,31 @@ exports[`FocusZone With Props isCircularNavigation Prop 1`] = `
943
941
  onResponderTerminationRequest={[Function]}
944
942
  onStartShouldSetResponder={[Function]}
945
943
  style={
946
- Array [
947
- Object {
948
- "backgroundColor": "#2196F3",
949
- "borderRadius": 2,
950
- "elevation": 4,
951
- },
952
- ]
944
+ Object {
945
+ "opacity": 1,
946
+ }
953
947
  }
954
948
  >
955
- <Text
949
+ <View
956
950
  style={
957
951
  Array [
958
- Object {
959
- "color": "white",
960
- "fontWeight": "500",
961
- "margin": 8,
962
- "textAlign": "center",
963
- },
952
+ undefined,
964
953
  ]
965
954
  }
966
955
  >
967
- BUTTON
968
- </Text>
956
+ <Text
957
+ style={
958
+ Array [
959
+ Object {
960
+ "margin": 8,
961
+ "textAlign": "center",
962
+ },
963
+ ]
964
+ }
965
+ >
966
+ button
967
+ </Text>
968
+ </View>
969
969
  </View>
970
970
  </RCTFocusZone>
971
971
  `;
@@ -978,15 +978,13 @@ exports[`FocusZone With Props use2DNavigation Prop 1`] = `
978
978
  <View
979
979
  accessibilityRole="button"
980
980
  accessible={true}
981
+ collapsable={false}
981
982
  focusable={true}
982
- nativeBackgroundAndroid={
983
- Object {
984
- "attribute": "selectableItemBackground",
985
- "rippleRadius": undefined,
986
- "type": "ThemeAttrAndroid",
987
- }
988
- }
989
983
  onClick={[Function]}
984
+ onKeyDown={[Function]}
985
+ onKeyUp={[Function]}
986
+ onMouseEnter={[Function]}
987
+ onMouseLeave={[Function]}
990
988
  onResponderGrant={[Function]}
991
989
  onResponderMove={[Function]}
992
990
  onResponderRelease={[Function]}
@@ -994,42 +992,42 @@ exports[`FocusZone With Props use2DNavigation Prop 1`] = `
994
992
  onResponderTerminationRequest={[Function]}
995
993
  onStartShouldSetResponder={[Function]}
996
994
  style={
997
- Array [
998
- Object {
999
- "backgroundColor": "#2196F3",
1000
- "borderRadius": 2,
1001
- "elevation": 4,
1002
- },
1003
- ]
995
+ Object {
996
+ "opacity": 1,
997
+ }
1004
998
  }
1005
999
  >
1006
- <Text
1000
+ <View
1007
1001
  style={
1008
1002
  Array [
1009
- Object {
1010
- "color": "white",
1011
- "fontWeight": "500",
1012
- "margin": 8,
1013
- "textAlign": "center",
1014
- },
1003
+ undefined,
1015
1004
  ]
1016
1005
  }
1017
1006
  >
1018
- BUTTON
1019
- </Text>
1007
+ <Text
1008
+ style={
1009
+ Array [
1010
+ Object {
1011
+ "margin": 8,
1012
+ "textAlign": "center",
1013
+ },
1014
+ ]
1015
+ }
1016
+ >
1017
+ button
1018
+ </Text>
1019
+ </View>
1020
1020
  </View>
1021
1021
  <View
1022
1022
  accessibilityRole="button"
1023
1023
  accessible={true}
1024
+ collapsable={false}
1024
1025
  focusable={true}
1025
- nativeBackgroundAndroid={
1026
- Object {
1027
- "attribute": "selectableItemBackground",
1028
- "rippleRadius": undefined,
1029
- "type": "ThemeAttrAndroid",
1030
- }
1031
- }
1032
1026
  onClick={[Function]}
1027
+ onKeyDown={[Function]}
1028
+ onKeyUp={[Function]}
1029
+ onMouseEnter={[Function]}
1030
+ onMouseLeave={[Function]}
1033
1031
  onResponderGrant={[Function]}
1034
1032
  onResponderMove={[Function]}
1035
1033
  onResponderRelease={[Function]}
@@ -1037,42 +1035,42 @@ exports[`FocusZone With Props use2DNavigation Prop 1`] = `
1037
1035
  onResponderTerminationRequest={[Function]}
1038
1036
  onStartShouldSetResponder={[Function]}
1039
1037
  style={
1040
- Array [
1041
- Object {
1042
- "backgroundColor": "#2196F3",
1043
- "borderRadius": 2,
1044
- "elevation": 4,
1045
- },
1046
- ]
1038
+ Object {
1039
+ "opacity": 1,
1040
+ }
1047
1041
  }
1048
1042
  >
1049
- <Text
1043
+ <View
1050
1044
  style={
1051
1045
  Array [
1052
- Object {
1053
- "color": "white",
1054
- "fontWeight": "500",
1055
- "margin": 8,
1056
- "textAlign": "center",
1057
- },
1046
+ undefined,
1058
1047
  ]
1059
1048
  }
1060
1049
  >
1061
- BUTTON
1062
- </Text>
1050
+ <Text
1051
+ style={
1052
+ Array [
1053
+ Object {
1054
+ "margin": 8,
1055
+ "textAlign": "center",
1056
+ },
1057
+ ]
1058
+ }
1059
+ >
1060
+ button
1061
+ </Text>
1062
+ </View>
1063
1063
  </View>
1064
1064
  <View
1065
1065
  accessibilityRole="button"
1066
1066
  accessible={true}
1067
+ collapsable={false}
1067
1068
  focusable={true}
1068
- nativeBackgroundAndroid={
1069
- Object {
1070
- "attribute": "selectableItemBackground",
1071
- "rippleRadius": undefined,
1072
- "type": "ThemeAttrAndroid",
1073
- }
1074
- }
1075
1069
  onClick={[Function]}
1070
+ onKeyDown={[Function]}
1071
+ onKeyUp={[Function]}
1072
+ onMouseEnter={[Function]}
1073
+ onMouseLeave={[Function]}
1076
1074
  onResponderGrant={[Function]}
1077
1075
  onResponderMove={[Function]}
1078
1076
  onResponderRelease={[Function]}
@@ -1080,29 +1078,31 @@ exports[`FocusZone With Props use2DNavigation Prop 1`] = `
1080
1078
  onResponderTerminationRequest={[Function]}
1081
1079
  onStartShouldSetResponder={[Function]}
1082
1080
  style={
1083
- Array [
1084
- Object {
1085
- "backgroundColor": "#2196F3",
1086
- "borderRadius": 2,
1087
- "elevation": 4,
1088
- },
1089
- ]
1081
+ Object {
1082
+ "opacity": 1,
1083
+ }
1090
1084
  }
1091
1085
  >
1092
- <Text
1086
+ <View
1093
1087
  style={
1094
1088
  Array [
1095
- Object {
1096
- "color": "white",
1097
- "fontWeight": "500",
1098
- "margin": 8,
1099
- "textAlign": "center",
1100
- },
1089
+ undefined,
1101
1090
  ]
1102
1091
  }
1103
1092
  >
1104
- BUTTON
1105
- </Text>
1093
+ <Text
1094
+ style={
1095
+ Array [
1096
+ Object {
1097
+ "margin": 8,
1098
+ "textAlign": "center",
1099
+ },
1100
+ ]
1101
+ }
1102
+ >
1103
+ button
1104
+ </Text>
1105
+ </View>
1106
1106
  </View>
1107
1107
  </RCTFocusZone>
1108
1108
  `;