@hero-design/rn 8.98.1 → 8.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 (65) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +12 -0
  3. package/babel.config.js +4 -1
  4. package/es/index.js +45 -66
  5. package/lib/index.js +45 -66
  6. package/package.json +39 -19
  7. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +0 -3
  8. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +52 -52
  9. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +87 -87
  10. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  11. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +2 -4
  12. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
  13. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  14. package/src/components/Radio/Radio.tsx +7 -1
  15. package/src/components/Radio/RadioGroup.tsx +1 -0
  16. package/src/components/Radio/__tests__/Radio.spec.tsx +15 -0
  17. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +27 -0
  18. package/src/components/Radio/types.ts +3 -1
  19. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +1472 -1496
  20. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +2992 -3040
  21. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +1644 -1672
  22. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +2512 -2554
  23. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +6 -6
  24. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +24 -24
  25. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  26. package/src/components/StatusScreens/Empty/__tests__/__snapshots__/index.spec.tsx.snap +120 -0
  27. package/src/components/StatusScreens/Empty/__tests__/index.spec.tsx +21 -1
  28. package/src/components/StatusScreens/Empty/index.tsx +1 -1
  29. package/src/components/StatusScreens/Error/__tests__/__snapshots__/index.spec.tsx.snap +134 -0
  30. package/src/components/StatusScreens/Error/__tests__/index.spec.tsx +14 -0
  31. package/src/components/StatusScreens/Error/index.tsx +1 -1
  32. package/src/components/StatusScreens/Success/__tests__/__snapshots__/index.spec.tsx.snap +134 -0
  33. package/src/components/StatusScreens/Success/__tests__/index.spec.tsx +13 -0
  34. package/src/components/StatusScreens/Success/index.tsx +1 -1
  35. package/src/components/Tabs/ScrollableTabs.tsx +0 -1
  36. package/src/components/Tabs/index.tsx +0 -1
  37. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +2 -2
  38. package/stats/8.98.1/rn-stats.html +3 -1
  39. package/stats/8.99.0/rn-stats.html +4842 -0
  40. package/stats/8.99.1/rn-stats.html +4842 -0
  41. package/testUtils/setup.tsx +0 -1
  42. package/types/components/Accordion/StyledAccordion.d.ts +3 -5
  43. package/types/components/Alert/StyledAlert.d.ts +3 -5
  44. package/types/components/Attachment/StyledAttachment.d.ts +3 -5
  45. package/types/components/Avatar/StyledAvatar.d.ts +3 -5
  46. package/types/components/BottomSheet/StyledBottomSheet.d.ts +3 -5
  47. package/types/components/Button/StyledButton.d.ts +3 -5
  48. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +3 -5
  49. package/types/components/Calendar/StyledCalendar.d.ts +3 -5
  50. package/types/components/Checkbox/StyledCheckbox.d.ts +3 -5
  51. package/types/components/Chip/StyledChip.d.ts +2 -5
  52. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +2 -5
  53. package/types/components/FAB/StyledFAB.d.ts +2 -2
  54. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +2 -2
  55. package/types/components/List/StyledBasicListItem.d.ts +3 -5
  56. package/types/components/List/StyledListItem.d.ts +3 -5
  57. package/types/components/Radio/Radio.d.ts +6 -1
  58. package/types/components/Radio/types.d.ts +3 -1
  59. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -5
  60. package/types/components/StatusScreens/Empty/index.d.ts +1 -1
  61. package/types/components/StatusScreens/Error/index.d.ts +1 -1
  62. package/types/components/StatusScreens/Success/index.d.ts +1 -1
  63. package/types/components/Swipeable/StyledSwipeable.d.ts +2 -5
  64. package/types/components/Toast/StyledToast.d.ts +3 -5
  65. package/types/components/Toolbar/StyledToolbar.d.ts +3 -5
@@ -158,163 +158,161 @@ exports[`OptionList render isLoading correctly 1`] = `
158
158
  onLayout={[Function]}
159
159
  style={null}
160
160
  >
161
- <View>
162
- <View
163
- highlighted={false}
164
- section={
165
- {
166
- "category": "A",
167
- "data": [
168
- {
169
- "text": "A1",
170
- "value": "a1",
171
- },
172
- ],
173
- }
174
- }
175
- style={
176
- [
161
+ <View
162
+ highlighted={false}
163
+ section={
164
+ {
165
+ "category": "A",
166
+ "data": [
177
167
  {
178
- "marginTop": 12,
168
+ "text": "A1",
169
+ "value": "a1",
179
170
  },
180
- undefined,
181
- ]
171
+ ],
182
172
  }
183
- trailingItem={
173
+ }
174
+ style={
175
+ [
184
176
  {
185
- "text": "A1",
186
- "value": "a1",
187
- }
177
+ "marginTop": 12,
178
+ },
179
+ undefined,
180
+ ]
181
+ }
182
+ trailingItem={
183
+ {
184
+ "text": "A1",
185
+ "value": "a1",
188
186
  }
189
- trailingSection={
190
- {
191
- "category": "B",
192
- "data": [
193
- {
194
- "text": "B1",
195
- "value": "b1",
196
- },
197
- {
198
- "text": "B2",
199
- "value": "b2",
200
- },
201
- ],
202
- }
187
+ }
188
+ trailingSection={
189
+ {
190
+ "category": "B",
191
+ "data": [
192
+ {
193
+ "text": "B1",
194
+ "value": "b1",
195
+ },
196
+ {
197
+ "text": "B2",
198
+ "value": "b2",
199
+ },
200
+ ],
203
201
  }
204
- />
205
- <View
206
- accessibilityState={
207
- {
208
- "disabled": false,
209
- }
202
+ }
203
+ />
204
+ <View
205
+ accessibilityState={
206
+ {
207
+ "disabled": false,
210
208
  }
211
- accessibilityValue={
212
- {
213
- "max": undefined,
214
- "min": undefined,
215
- "now": undefined,
216
- "text": undefined,
217
- }
209
+ }
210
+ accessibilityValue={
211
+ {
212
+ "max": undefined,
213
+ "min": undefined,
214
+ "now": undefined,
215
+ "text": undefined,
218
216
  }
219
- accessible={true}
220
- focusable={true}
221
- onClick={[Function]}
222
- onResponderGrant={[Function]}
223
- onResponderMove={[Function]}
224
- onResponderRelease={[Function]}
225
- onResponderTerminate={[Function]}
226
- onResponderTerminationRequest={[Function]}
227
- onStartShouldSetResponder={[Function]}
217
+ }
218
+ accessible={true}
219
+ focusable={true}
220
+ onClick={[Function]}
221
+ onResponderGrant={[Function]}
222
+ onResponderMove={[Function]}
223
+ onResponderRelease={[Function]}
224
+ onResponderTerminate={[Function]}
225
+ onResponderTerminationRequest={[Function]}
226
+ onStartShouldSetResponder={[Function]}
227
+ style={
228
+ [
229
+ {
230
+ "alignItems": "center",
231
+ "backgroundColor": undefined,
232
+ "borderRadius": 4,
233
+ "flexDirection": "row",
234
+ "opacity": 1,
235
+ "padding": 16,
236
+ },
237
+ undefined,
238
+ ]
239
+ }
240
+ >
241
+ <View
228
242
  style={
229
243
  [
230
244
  {
231
- "alignItems": "center",
232
- "backgroundColor": undefined,
233
- "borderRadius": 4,
234
- "flexDirection": "row",
235
- "opacity": 1,
236
- "padding": 16,
245
+ "flex": 1,
237
246
  },
238
247
  undefined,
239
248
  ]
240
249
  }
241
250
  >
242
- <View
251
+ <Text
252
+ allowFontScaling={false}
243
253
  style={
244
254
  [
245
255
  {
246
- "flex": 1,
256
+ "color": "#001f23",
257
+ "fontFamily": "BeVietnamPro-Regular",
258
+ "fontSize": 16,
259
+ "letterSpacing": 0.48,
260
+ "lineHeight": 24,
247
261
  },
248
262
  undefined,
249
263
  ]
250
264
  }
265
+ themeIntent="body"
266
+ themeTypeface="neutral"
267
+ themeVariant="regular"
251
268
  >
252
- <Text
253
- allowFontScaling={false}
254
- style={
255
- [
256
- {
257
- "color": "#001f23",
258
- "fontFamily": "BeVietnamPro-Regular",
259
- "fontSize": 16,
260
- "letterSpacing": 0.48,
261
- "lineHeight": 24,
262
- },
263
- undefined,
264
- ]
265
- }
266
- themeIntent="body"
267
- themeTypeface="neutral"
268
- themeVariant="regular"
269
- >
270
- A1
271
- </Text>
272
- </View>
269
+ A1
270
+ </Text>
273
271
  </View>
274
- <View
275
- highlighted={false}
276
- leadingItem={
277
- {
278
- "text": "A1",
279
- "value": "a1",
280
- }
281
- }
282
- section={
283
- {
284
- "category": "A",
285
- "data": [
286
- {
287
- "text": "A1",
288
- "value": "a1",
289
- },
290
- ],
291
- }
272
+ </View>
273
+ <View
274
+ highlighted={false}
275
+ leadingItem={
276
+ {
277
+ "text": "A1",
278
+ "value": "a1",
292
279
  }
293
- style={
294
- [
280
+ }
281
+ section={
282
+ {
283
+ "category": "A",
284
+ "data": [
295
285
  {
296
- "marginTop": 12,
286
+ "text": "A1",
287
+ "value": "a1",
297
288
  },
298
- undefined,
299
- ]
289
+ ],
300
290
  }
301
- trailingSection={
291
+ }
292
+ style={
293
+ [
302
294
  {
303
- "category": "B",
304
- "data": [
305
- {
306
- "text": "B1",
307
- "value": "b1",
308
- },
309
- {
310
- "text": "B2",
311
- "value": "b2",
312
- },
313
- ],
314
- }
295
+ "marginTop": 12,
296
+ },
297
+ undefined,
298
+ ]
299
+ }
300
+ trailingSection={
301
+ {
302
+ "category": "B",
303
+ "data": [
304
+ {
305
+ "text": "B1",
306
+ "value": "b1",
307
+ },
308
+ {
309
+ "text": "B2",
310
+ "value": "b2",
311
+ },
312
+ ],
315
313
  }
316
- />
317
- </View>
314
+ }
315
+ />
318
316
  </View>
319
317
  <View
320
318
  onFocusCapture={[Function]}
@@ -396,289 +394,285 @@ exports[`OptionList render isLoading correctly 1`] = `
396
394
  onLayout={[Function]}
397
395
  style={null}
398
396
  >
399
- <View>
400
- <View
401
- highlighted={false}
402
- leadingSection={
403
- {
404
- "category": "A",
405
- "data": [
406
- {
407
- "text": "A1",
408
- "value": "a1",
409
- },
410
- ],
411
- }
412
- }
413
- section={
414
- {
415
- "category": "B",
416
- "data": [
417
- {
418
- "text": "B1",
419
- "value": "b1",
420
- },
421
- {
422
- "text": "B2",
423
- "value": "b2",
424
- },
425
- ],
426
- }
397
+ <View
398
+ highlighted={false}
399
+ leadingSection={
400
+ {
401
+ "category": "A",
402
+ "data": [
403
+ {
404
+ "text": "A1",
405
+ "value": "a1",
406
+ },
407
+ ],
427
408
  }
428
- style={
429
- [
409
+ }
410
+ section={
411
+ {
412
+ "category": "B",
413
+ "data": [
430
414
  {
431
- "marginTop": 12,
415
+ "text": "B1",
416
+ "value": "b1",
432
417
  },
433
- undefined,
434
- ]
418
+ {
419
+ "text": "B2",
420
+ "value": "b2",
421
+ },
422
+ ],
435
423
  }
436
- trailingItem={
424
+ }
425
+ style={
426
+ [
437
427
  {
438
- "text": "B1",
439
- "value": "b1",
440
- }
428
+ "marginTop": 12,
429
+ },
430
+ undefined,
431
+ ]
432
+ }
433
+ trailingItem={
434
+ {
435
+ "text": "B1",
436
+ "value": "b1",
441
437
  }
442
- />
443
- <View
444
- accessibilityState={
445
- {
446
- "disabled": false,
447
- }
438
+ }
439
+ />
440
+ <View
441
+ accessibilityState={
442
+ {
443
+ "disabled": false,
448
444
  }
449
- accessibilityValue={
450
- {
451
- "max": undefined,
452
- "min": undefined,
453
- "now": undefined,
454
- "text": undefined,
455
- }
445
+ }
446
+ accessibilityValue={
447
+ {
448
+ "max": undefined,
449
+ "min": undefined,
450
+ "now": undefined,
451
+ "text": undefined,
456
452
  }
457
- accessible={true}
458
- focusable={true}
459
- onClick={[Function]}
460
- onResponderGrant={[Function]}
461
- onResponderMove={[Function]}
462
- onResponderRelease={[Function]}
463
- onResponderTerminate={[Function]}
464
- onResponderTerminationRequest={[Function]}
465
- onStartShouldSetResponder={[Function]}
453
+ }
454
+ accessible={true}
455
+ focusable={true}
456
+ onClick={[Function]}
457
+ onResponderGrant={[Function]}
458
+ onResponderMove={[Function]}
459
+ onResponderRelease={[Function]}
460
+ onResponderTerminate={[Function]}
461
+ onResponderTerminationRequest={[Function]}
462
+ onStartShouldSetResponder={[Function]}
463
+ style={
464
+ [
465
+ {
466
+ "alignItems": "center",
467
+ "backgroundColor": "#ffffff",
468
+ "borderRadius": 4,
469
+ "flexDirection": "row",
470
+ "opacity": 1,
471
+ "padding": 16,
472
+ },
473
+ undefined,
474
+ ]
475
+ }
476
+ >
477
+ <View
466
478
  style={
467
479
  [
468
480
  {
469
- "alignItems": "center",
470
- "backgroundColor": "#ffffff",
471
- "borderRadius": 4,
472
- "flexDirection": "row",
473
- "opacity": 1,
474
- "padding": 16,
481
+ "flex": 1,
475
482
  },
476
483
  undefined,
477
484
  ]
478
485
  }
479
486
  >
480
- <View
487
+ <Text
488
+ allowFontScaling={false}
481
489
  style={
482
490
  [
483
491
  {
484
- "flex": 1,
492
+ "color": "#001f23",
493
+ "fontFamily": "BeVietnamPro-Regular",
494
+ "fontSize": 16,
495
+ "letterSpacing": 0.48,
496
+ "lineHeight": 24,
485
497
  },
486
498
  undefined,
487
499
  ]
488
500
  }
501
+ themeIntent="body"
502
+ themeTypeface="neutral"
503
+ themeVariant="regular"
489
504
  >
490
- <Text
491
- allowFontScaling={false}
492
- style={
493
- [
494
- {
495
- "color": "#001f23",
496
- "fontFamily": "BeVietnamPro-Regular",
497
- "fontSize": 16,
498
- "letterSpacing": 0.48,
499
- "lineHeight": 24,
500
- },
501
- undefined,
502
- ]
503
- }
504
- themeIntent="body"
505
- themeTypeface="neutral"
506
- themeVariant="regular"
507
- >
508
- B1
509
- </Text>
510
- </View>
505
+ B1
506
+ </Text>
511
507
  </View>
512
- <View
513
- highlighted={false}
514
- leadingItem={
515
- {
516
- "text": "B1",
517
- "value": "b1",
518
- }
519
- }
520
- leadingSection={
521
- {
522
- "category": "A",
523
- "data": [
524
- {
525
- "text": "A1",
526
- "value": "a1",
527
- },
528
- ],
529
- }
508
+ </View>
509
+ <View
510
+ highlighted={false}
511
+ leadingItem={
512
+ {
513
+ "text": "B1",
514
+ "value": "b1",
530
515
  }
531
- section={
532
- {
533
- "category": "B",
534
- "data": [
535
- {
536
- "text": "B1",
537
- "value": "b1",
538
- },
539
- {
540
- "text": "B2",
541
- "value": "b2",
542
- },
543
- ],
544
- }
516
+ }
517
+ leadingSection={
518
+ {
519
+ "category": "A",
520
+ "data": [
521
+ {
522
+ "text": "A1",
523
+ "value": "a1",
524
+ },
525
+ ],
545
526
  }
546
- style={
547
- [
527
+ }
528
+ section={
529
+ {
530
+ "category": "B",
531
+ "data": [
548
532
  {
549
- "marginTop": 4,
533
+ "text": "B1",
534
+ "value": "b1",
550
535
  },
551
- undefined,
552
- ]
536
+ {
537
+ "text": "B2",
538
+ "value": "b2",
539
+ },
540
+ ],
553
541
  }
554
- trailingItem={
542
+ }
543
+ style={
544
+ [
555
545
  {
556
- "text": "B2",
557
- "value": "b2",
558
- }
546
+ "marginTop": 4,
547
+ },
548
+ undefined,
549
+ ]
550
+ }
551
+ trailingItem={
552
+ {
553
+ "text": "B2",
554
+ "value": "b2",
559
555
  }
560
- />
561
- </View>
556
+ }
557
+ />
562
558
  </View>
563
559
  <View
564
560
  onFocusCapture={[Function]}
565
561
  onLayout={[Function]}
566
562
  style={null}
567
563
  >
568
- <View>
569
- <View
570
- accessibilityState={
571
- {
572
- "disabled": false,
573
- }
564
+ <View
565
+ accessibilityState={
566
+ {
567
+ "disabled": false,
574
568
  }
575
- accessibilityValue={
576
- {
577
- "max": undefined,
578
- "min": undefined,
579
- "now": undefined,
580
- "text": undefined,
581
- }
569
+ }
570
+ accessibilityValue={
571
+ {
572
+ "max": undefined,
573
+ "min": undefined,
574
+ "now": undefined,
575
+ "text": undefined,
582
576
  }
583
- accessible={true}
584
- focusable={true}
585
- onClick={[Function]}
586
- onResponderGrant={[Function]}
587
- onResponderMove={[Function]}
588
- onResponderRelease={[Function]}
589
- onResponderTerminate={[Function]}
590
- onResponderTerminationRequest={[Function]}
591
- onStartShouldSetResponder={[Function]}
577
+ }
578
+ accessible={true}
579
+ focusable={true}
580
+ onClick={[Function]}
581
+ onResponderGrant={[Function]}
582
+ onResponderMove={[Function]}
583
+ onResponderRelease={[Function]}
584
+ onResponderTerminate={[Function]}
585
+ onResponderTerminationRequest={[Function]}
586
+ onStartShouldSetResponder={[Function]}
587
+ style={
588
+ [
589
+ {
590
+ "alignItems": "center",
591
+ "backgroundColor": "#ffffff",
592
+ "borderRadius": 4,
593
+ "flexDirection": "row",
594
+ "opacity": 1,
595
+ "padding": 16,
596
+ },
597
+ undefined,
598
+ ]
599
+ }
600
+ >
601
+ <View
592
602
  style={
593
603
  [
594
604
  {
595
- "alignItems": "center",
596
- "backgroundColor": "#ffffff",
597
- "borderRadius": 4,
598
- "flexDirection": "row",
599
- "opacity": 1,
600
- "padding": 16,
605
+ "flex": 1,
601
606
  },
602
607
  undefined,
603
608
  ]
604
609
  }
605
610
  >
606
- <View
611
+ <Text
612
+ allowFontScaling={false}
607
613
  style={
608
614
  [
609
615
  {
610
- "flex": 1,
616
+ "color": "#001f23",
617
+ "fontFamily": "BeVietnamPro-Regular",
618
+ "fontSize": 16,
619
+ "letterSpacing": 0.48,
620
+ "lineHeight": 24,
611
621
  },
612
622
  undefined,
613
623
  ]
614
624
  }
625
+ themeIntent="body"
626
+ themeTypeface="neutral"
627
+ themeVariant="regular"
615
628
  >
616
- <Text
617
- allowFontScaling={false}
618
- style={
619
- [
620
- {
621
- "color": "#001f23",
622
- "fontFamily": "BeVietnamPro-Regular",
623
- "fontSize": 16,
624
- "letterSpacing": 0.48,
625
- "lineHeight": 24,
626
- },
627
- undefined,
628
- ]
629
- }
630
- themeIntent="body"
631
- themeTypeface="neutral"
632
- themeVariant="regular"
633
- >
634
- B2
635
- </Text>
636
- </View>
629
+ B2
630
+ </Text>
637
631
  </View>
638
- <View
639
- highlighted={false}
640
- leadingItem={
641
- {
642
- "text": "B2",
643
- "value": "b2",
644
- }
645
- }
646
- leadingSection={
647
- {
648
- "category": "A",
649
- "data": [
650
- {
651
- "text": "A1",
652
- "value": "a1",
653
- },
654
- ],
655
- }
632
+ </View>
633
+ <View
634
+ highlighted={false}
635
+ leadingItem={
636
+ {
637
+ "text": "B2",
638
+ "value": "b2",
656
639
  }
657
- section={
658
- {
659
- "category": "B",
660
- "data": [
661
- {
662
- "text": "B1",
663
- "value": "b1",
664
- },
665
- {
666
- "text": "B2",
667
- "value": "b2",
668
- },
669
- ],
670
- }
640
+ }
641
+ leadingSection={
642
+ {
643
+ "category": "A",
644
+ "data": [
645
+ {
646
+ "text": "A1",
647
+ "value": "a1",
648
+ },
649
+ ],
671
650
  }
672
- style={
673
- [
651
+ }
652
+ section={
653
+ {
654
+ "category": "B",
655
+ "data": [
674
656
  {
675
- "marginTop": 12,
657
+ "text": "B1",
658
+ "value": "b1",
676
659
  },
677
- undefined,
678
- ]
660
+ {
661
+ "text": "B2",
662
+ "value": "b2",
663
+ },
664
+ ],
679
665
  }
680
- />
681
- </View>
666
+ }
667
+ style={
668
+ [
669
+ {
670
+ "marginTop": 12,
671
+ },
672
+ undefined,
673
+ ]
674
+ }
675
+ />
682
676
  </View>
683
677
  <View
684
678
  onFocusCapture={[Function]}
@@ -737,7 +731,7 @@ exports[`OptionList render isLoading correctly 1`] = `
737
731
  "flexDirection": "row",
738
732
  "marginBottom": 8,
739
733
  },
740
- {},
734
+ undefined,
741
735
  ]
742
736
  }
743
737
  themePosition="top"
@@ -754,7 +748,7 @@ exports[`OptionList render isLoading correctly 1`] = `
754
748
  "opacity": 0.9,
755
749
  "width": 16,
756
750
  },
757
- {},
751
+ undefined,
758
752
  ]
759
753
  }
760
754
  themeIntent="primary"
@@ -773,7 +767,7 @@ exports[`OptionList render isLoading correctly 1`] = `
773
767
  "opacity": 0.675,
774
768
  "width": 16,
775
769
  },
776
- {},
770
+ undefined,
777
771
  ]
778
772
  }
779
773
  themeIntent="primary"
@@ -789,7 +783,7 @@ exports[`OptionList render isLoading correctly 1`] = `
789
783
  "flexDirection": "row",
790
784
  "marginBottom": 0,
791
785
  },
792
- {},
786
+ undefined,
793
787
  ]
794
788
  }
795
789
  themePosition="bottom"
@@ -806,7 +800,7 @@ exports[`OptionList render isLoading correctly 1`] = `
806
800
  "opacity": 0.45,
807
801
  "width": 16,
808
802
  },
809
- {},
803
+ undefined,
810
804
  ]
811
805
  }
812
806
  themeIntent="primary"
@@ -825,7 +819,7 @@ exports[`OptionList render isLoading correctly 1`] = `
825
819
  "opacity": 0.225,
826
820
  "width": 16,
827
821
  },
828
- {},
822
+ undefined,
829
823
  ]
830
824
  }
831
825
  themeIntent="primary"
@@ -1011,173 +1005,171 @@ exports[`OptionList render object value correctly 1`] = `
1011
1005
  onLayout={[Function]}
1012
1006
  style={null}
1013
1007
  >
1014
- <View>
1015
- <View
1016
- highlighted={false}
1017
- section={
1018
- {
1019
- "category": "A",
1020
- "data": [
1021
- {
1022
- "text": "Item 1",
1023
- "value": {
1024
- "id": "1",
1025
- "label": "Item 1",
1026
- },
1027
- },
1028
- ],
1029
- }
1030
- }
1031
- style={
1032
- [
1008
+ <View
1009
+ highlighted={false}
1010
+ section={
1011
+ {
1012
+ "category": "A",
1013
+ "data": [
1033
1014
  {
1034
- "marginTop": 12,
1015
+ "text": "Item 1",
1016
+ "value": {
1017
+ "id": "1",
1018
+ "label": "Item 1",
1019
+ },
1035
1020
  },
1036
- undefined,
1037
- ]
1021
+ ],
1038
1022
  }
1039
- trailingItem={
1023
+ }
1024
+ style={
1025
+ [
1040
1026
  {
1041
- "text": "Item 1",
1042
- "value": {
1043
- "id": "1",
1044
- "label": "Item 1",
1045
- },
1046
- }
1027
+ "marginTop": 12,
1028
+ },
1029
+ undefined,
1030
+ ]
1031
+ }
1032
+ trailingItem={
1033
+ {
1034
+ "text": "Item 1",
1035
+ "value": {
1036
+ "id": "1",
1037
+ "label": "Item 1",
1038
+ },
1047
1039
  }
1048
- trailingSection={
1049
- {
1050
- "category": "B",
1051
- "data": [
1052
- {
1053
- "text": "Item 2",
1054
- "value": {
1055
- "id": "2",
1056
- "label": "Item 2",
1057
- },
1040
+ }
1041
+ trailingSection={
1042
+ {
1043
+ "category": "B",
1044
+ "data": [
1045
+ {
1046
+ "text": "Item 2",
1047
+ "value": {
1048
+ "id": "2",
1049
+ "label": "Item 2",
1058
1050
  },
1059
- ],
1060
- }
1051
+ },
1052
+ ],
1061
1053
  }
1062
- />
1063
- <View
1064
- accessibilityState={
1065
- {
1066
- "disabled": false,
1067
- }
1054
+ }
1055
+ />
1056
+ <View
1057
+ accessibilityState={
1058
+ {
1059
+ "disabled": false,
1068
1060
  }
1069
- accessibilityValue={
1070
- {
1071
- "max": undefined,
1072
- "min": undefined,
1073
- "now": undefined,
1074
- "text": undefined,
1075
- }
1061
+ }
1062
+ accessibilityValue={
1063
+ {
1064
+ "max": undefined,
1065
+ "min": undefined,
1066
+ "now": undefined,
1067
+ "text": undefined,
1076
1068
  }
1077
- accessible={true}
1078
- focusable={true}
1079
- onClick={[Function]}
1080
- onResponderGrant={[Function]}
1081
- onResponderMove={[Function]}
1082
- onResponderRelease={[Function]}
1083
- onResponderTerminate={[Function]}
1084
- onResponderTerminationRequest={[Function]}
1085
- onStartShouldSetResponder={[Function]}
1069
+ }
1070
+ accessible={true}
1071
+ focusable={true}
1072
+ onClick={[Function]}
1073
+ onResponderGrant={[Function]}
1074
+ onResponderMove={[Function]}
1075
+ onResponderRelease={[Function]}
1076
+ onResponderTerminate={[Function]}
1077
+ onResponderTerminationRequest={[Function]}
1078
+ onStartShouldSetResponder={[Function]}
1079
+ style={
1080
+ [
1081
+ {
1082
+ "alignItems": "center",
1083
+ "backgroundColor": undefined,
1084
+ "borderRadius": 4,
1085
+ "flexDirection": "row",
1086
+ "opacity": 1,
1087
+ "padding": 16,
1088
+ },
1089
+ undefined,
1090
+ ]
1091
+ }
1092
+ >
1093
+ <View
1086
1094
  style={
1087
1095
  [
1088
1096
  {
1089
- "alignItems": "center",
1090
- "backgroundColor": undefined,
1091
- "borderRadius": 4,
1092
- "flexDirection": "row",
1093
- "opacity": 1,
1094
- "padding": 16,
1097
+ "flex": 1,
1095
1098
  },
1096
1099
  undefined,
1097
1100
  ]
1098
1101
  }
1099
1102
  >
1100
- <View
1103
+ <Text
1104
+ allowFontScaling={false}
1101
1105
  style={
1102
1106
  [
1103
1107
  {
1104
- "flex": 1,
1108
+ "color": "#001f23",
1109
+ "fontFamily": "BeVietnamPro-Regular",
1110
+ "fontSize": 16,
1111
+ "letterSpacing": 0.48,
1112
+ "lineHeight": 24,
1105
1113
  },
1106
1114
  undefined,
1107
1115
  ]
1108
1116
  }
1117
+ themeIntent="body"
1118
+ themeTypeface="neutral"
1119
+ themeVariant="regular"
1109
1120
  >
1110
- <Text
1111
- allowFontScaling={false}
1112
- style={
1113
- [
1114
- {
1115
- "color": "#001f23",
1116
- "fontFamily": "BeVietnamPro-Regular",
1117
- "fontSize": 16,
1118
- "letterSpacing": 0.48,
1119
- "lineHeight": 24,
1120
- },
1121
- undefined,
1122
- ]
1123
- }
1124
- themeIntent="body"
1125
- themeTypeface="neutral"
1126
- themeVariant="regular"
1127
- >
1128
- Item 1
1129
- </Text>
1130
- </View>
1121
+ Item 1
1122
+ </Text>
1131
1123
  </View>
1132
- <View
1133
- highlighted={false}
1134
- leadingItem={
1135
- {
1136
- "text": "Item 1",
1137
- "value": {
1138
- "id": "1",
1139
- "label": "Item 1",
1140
- },
1141
- }
1142
- }
1143
- section={
1144
- {
1145
- "category": "A",
1146
- "data": [
1147
- {
1148
- "text": "Item 1",
1149
- "value": {
1150
- "id": "1",
1151
- "label": "Item 1",
1152
- },
1153
- },
1154
- ],
1155
- }
1124
+ </View>
1125
+ <View
1126
+ highlighted={false}
1127
+ leadingItem={
1128
+ {
1129
+ "text": "Item 1",
1130
+ "value": {
1131
+ "id": "1",
1132
+ "label": "Item 1",
1133
+ },
1156
1134
  }
1157
- style={
1158
- [
1135
+ }
1136
+ section={
1137
+ {
1138
+ "category": "A",
1139
+ "data": [
1159
1140
  {
1160
- "marginTop": 12,
1141
+ "text": "Item 1",
1142
+ "value": {
1143
+ "id": "1",
1144
+ "label": "Item 1",
1145
+ },
1161
1146
  },
1162
- undefined,
1163
- ]
1147
+ ],
1164
1148
  }
1165
- trailingSection={
1149
+ }
1150
+ style={
1151
+ [
1166
1152
  {
1167
- "category": "B",
1168
- "data": [
1169
- {
1170
- "text": "Item 2",
1171
- "value": {
1172
- "id": "2",
1173
- "label": "Item 2",
1174
- },
1153
+ "marginTop": 12,
1154
+ },
1155
+ undefined,
1156
+ ]
1157
+ }
1158
+ trailingSection={
1159
+ {
1160
+ "category": "B",
1161
+ "data": [
1162
+ {
1163
+ "text": "Item 2",
1164
+ "value": {
1165
+ "id": "2",
1166
+ "label": "Item 2",
1175
1167
  },
1176
- ],
1177
- }
1168
+ },
1169
+ ],
1178
1170
  }
1179
- />
1180
- </View>
1171
+ }
1172
+ />
1181
1173
  </View>
1182
1174
  <View
1183
1175
  onFocusCapture={[Function]}
@@ -1259,173 +1251,171 @@ exports[`OptionList render object value correctly 1`] = `
1259
1251
  onLayout={[Function]}
1260
1252
  style={null}
1261
1253
  >
1262
- <View>
1263
- <View
1264
- highlighted={false}
1265
- leadingSection={
1266
- {
1267
- "category": "A",
1268
- "data": [
1269
- {
1270
- "text": "Item 1",
1271
- "value": {
1272
- "id": "1",
1273
- "label": "Item 1",
1274
- },
1275
- },
1276
- ],
1277
- }
1278
- }
1279
- section={
1280
- {
1281
- "category": "B",
1282
- "data": [
1283
- {
1284
- "text": "Item 2",
1285
- "value": {
1286
- "id": "2",
1287
- "label": "Item 2",
1288
- },
1254
+ <View
1255
+ highlighted={false}
1256
+ leadingSection={
1257
+ {
1258
+ "category": "A",
1259
+ "data": [
1260
+ {
1261
+ "text": "Item 1",
1262
+ "value": {
1263
+ "id": "1",
1264
+ "label": "Item 1",
1289
1265
  },
1290
- ],
1291
- }
1266
+ },
1267
+ ],
1292
1268
  }
1293
- style={
1294
- [
1269
+ }
1270
+ section={
1271
+ {
1272
+ "category": "B",
1273
+ "data": [
1295
1274
  {
1296
- "marginTop": 12,
1275
+ "text": "Item 2",
1276
+ "value": {
1277
+ "id": "2",
1278
+ "label": "Item 2",
1279
+ },
1297
1280
  },
1298
- undefined,
1299
- ]
1281
+ ],
1300
1282
  }
1301
- trailingItem={
1283
+ }
1284
+ style={
1285
+ [
1302
1286
  {
1303
- "text": "Item 2",
1304
- "value": {
1305
- "id": "2",
1306
- "label": "Item 2",
1307
- },
1308
- }
1287
+ "marginTop": 12,
1288
+ },
1289
+ undefined,
1290
+ ]
1291
+ }
1292
+ trailingItem={
1293
+ {
1294
+ "text": "Item 2",
1295
+ "value": {
1296
+ "id": "2",
1297
+ "label": "Item 2",
1298
+ },
1309
1299
  }
1310
- />
1311
- <View
1312
- accessibilityState={
1313
- {
1314
- "disabled": false,
1315
- }
1300
+ }
1301
+ />
1302
+ <View
1303
+ accessibilityState={
1304
+ {
1305
+ "disabled": false,
1316
1306
  }
1317
- accessibilityValue={
1318
- {
1319
- "max": undefined,
1320
- "min": undefined,
1321
- "now": undefined,
1322
- "text": undefined,
1323
- }
1307
+ }
1308
+ accessibilityValue={
1309
+ {
1310
+ "max": undefined,
1311
+ "min": undefined,
1312
+ "now": undefined,
1313
+ "text": undefined,
1324
1314
  }
1325
- accessible={true}
1326
- focusable={true}
1327
- onClick={[Function]}
1328
- onResponderGrant={[Function]}
1329
- onResponderMove={[Function]}
1330
- onResponderRelease={[Function]}
1331
- onResponderTerminate={[Function]}
1332
- onResponderTerminationRequest={[Function]}
1333
- onStartShouldSetResponder={[Function]}
1315
+ }
1316
+ accessible={true}
1317
+ focusable={true}
1318
+ onClick={[Function]}
1319
+ onResponderGrant={[Function]}
1320
+ onResponderMove={[Function]}
1321
+ onResponderRelease={[Function]}
1322
+ onResponderTerminate={[Function]}
1323
+ onResponderTerminationRequest={[Function]}
1324
+ onStartShouldSetResponder={[Function]}
1325
+ style={
1326
+ [
1327
+ {
1328
+ "alignItems": "center",
1329
+ "backgroundColor": "#ffffff",
1330
+ "borderRadius": 4,
1331
+ "flexDirection": "row",
1332
+ "opacity": 1,
1333
+ "padding": 16,
1334
+ },
1335
+ undefined,
1336
+ ]
1337
+ }
1338
+ >
1339
+ <View
1334
1340
  style={
1335
1341
  [
1336
1342
  {
1337
- "alignItems": "center",
1338
- "backgroundColor": "#ffffff",
1339
- "borderRadius": 4,
1340
- "flexDirection": "row",
1341
- "opacity": 1,
1342
- "padding": 16,
1343
+ "flex": 1,
1343
1344
  },
1344
1345
  undefined,
1345
1346
  ]
1346
1347
  }
1347
1348
  >
1348
- <View
1349
+ <Text
1350
+ allowFontScaling={false}
1349
1351
  style={
1350
1352
  [
1351
1353
  {
1352
- "flex": 1,
1354
+ "color": "#001f23",
1355
+ "fontFamily": "BeVietnamPro-Regular",
1356
+ "fontSize": 16,
1357
+ "letterSpacing": 0.48,
1358
+ "lineHeight": 24,
1353
1359
  },
1354
1360
  undefined,
1355
1361
  ]
1356
1362
  }
1363
+ themeIntent="body"
1364
+ themeTypeface="neutral"
1365
+ themeVariant="regular"
1357
1366
  >
1358
- <Text
1359
- allowFontScaling={false}
1360
- style={
1361
- [
1362
- {
1363
- "color": "#001f23",
1364
- "fontFamily": "BeVietnamPro-Regular",
1365
- "fontSize": 16,
1366
- "letterSpacing": 0.48,
1367
- "lineHeight": 24,
1368
- },
1369
- undefined,
1370
- ]
1371
- }
1372
- themeIntent="body"
1373
- themeTypeface="neutral"
1374
- themeVariant="regular"
1375
- >
1376
- Item 2
1377
- </Text>
1378
- </View>
1367
+ Item 2
1368
+ </Text>
1379
1369
  </View>
1380
- <View
1381
- highlighted={false}
1382
- leadingItem={
1383
- {
1384
- "text": "Item 2",
1385
- "value": {
1386
- "id": "2",
1387
- "label": "Item 2",
1388
- },
1389
- }
1390
- }
1391
- leadingSection={
1392
- {
1393
- "category": "A",
1394
- "data": [
1395
- {
1396
- "text": "Item 1",
1397
- "value": {
1398
- "id": "1",
1399
- "label": "Item 1",
1400
- },
1401
- },
1402
- ],
1403
- }
1370
+ </View>
1371
+ <View
1372
+ highlighted={false}
1373
+ leadingItem={
1374
+ {
1375
+ "text": "Item 2",
1376
+ "value": {
1377
+ "id": "2",
1378
+ "label": "Item 2",
1379
+ },
1404
1380
  }
1405
- section={
1406
- {
1407
- "category": "B",
1408
- "data": [
1409
- {
1410
- "text": "Item 2",
1411
- "value": {
1412
- "id": "2",
1413
- "label": "Item 2",
1414
- },
1381
+ }
1382
+ leadingSection={
1383
+ {
1384
+ "category": "A",
1385
+ "data": [
1386
+ {
1387
+ "text": "Item 1",
1388
+ "value": {
1389
+ "id": "1",
1390
+ "label": "Item 1",
1415
1391
  },
1416
- ],
1417
- }
1392
+ },
1393
+ ],
1418
1394
  }
1419
- style={
1420
- [
1395
+ }
1396
+ section={
1397
+ {
1398
+ "category": "B",
1399
+ "data": [
1421
1400
  {
1422
- "marginTop": 12,
1401
+ "text": "Item 2",
1402
+ "value": {
1403
+ "id": "2",
1404
+ "label": "Item 2",
1405
+ },
1423
1406
  },
1424
- undefined,
1425
- ]
1407
+ ],
1426
1408
  }
1427
- />
1428
- </View>
1409
+ }
1410
+ style={
1411
+ [
1412
+ {
1413
+ "marginTop": 12,
1414
+ },
1415
+ undefined,
1416
+ ]
1417
+ }
1418
+ />
1429
1419
  </View>
1430
1420
  <View
1431
1421
  onFocusCapture={[Function]}
@@ -1603,163 +1593,161 @@ exports[`OptionList renders correctly 1`] = `
1603
1593
  onLayout={[Function]}
1604
1594
  style={null}
1605
1595
  >
1606
- <View>
1607
- <View
1608
- highlighted={false}
1609
- section={
1610
- {
1611
- "category": "A",
1612
- "data": [
1613
- {
1614
- "text": "A1",
1615
- "value": "a1",
1616
- },
1617
- ],
1618
- }
1619
- }
1620
- style={
1621
- [
1596
+ <View
1597
+ highlighted={false}
1598
+ section={
1599
+ {
1600
+ "category": "A",
1601
+ "data": [
1622
1602
  {
1623
- "marginTop": 12,
1603
+ "text": "A1",
1604
+ "value": "a1",
1624
1605
  },
1625
- undefined,
1626
- ]
1606
+ ],
1627
1607
  }
1628
- trailingItem={
1608
+ }
1609
+ style={
1610
+ [
1629
1611
  {
1630
- "text": "A1",
1631
- "value": "a1",
1632
- }
1612
+ "marginTop": 12,
1613
+ },
1614
+ undefined,
1615
+ ]
1616
+ }
1617
+ trailingItem={
1618
+ {
1619
+ "text": "A1",
1620
+ "value": "a1",
1633
1621
  }
1634
- trailingSection={
1635
- {
1636
- "category": "B",
1637
- "data": [
1638
- {
1639
- "text": "B1",
1640
- "value": "b1",
1641
- },
1642
- {
1643
- "text": "B2",
1644
- "value": "b2",
1645
- },
1646
- ],
1647
- }
1622
+ }
1623
+ trailingSection={
1624
+ {
1625
+ "category": "B",
1626
+ "data": [
1627
+ {
1628
+ "text": "B1",
1629
+ "value": "b1",
1630
+ },
1631
+ {
1632
+ "text": "B2",
1633
+ "value": "b2",
1634
+ },
1635
+ ],
1648
1636
  }
1649
- />
1650
- <View
1651
- accessibilityState={
1652
- {
1653
- "disabled": false,
1654
- }
1637
+ }
1638
+ />
1639
+ <View
1640
+ accessibilityState={
1641
+ {
1642
+ "disabled": false,
1655
1643
  }
1656
- accessibilityValue={
1657
- {
1658
- "max": undefined,
1659
- "min": undefined,
1660
- "now": undefined,
1661
- "text": undefined,
1662
- }
1644
+ }
1645
+ accessibilityValue={
1646
+ {
1647
+ "max": undefined,
1648
+ "min": undefined,
1649
+ "now": undefined,
1650
+ "text": undefined,
1663
1651
  }
1664
- accessible={true}
1665
- focusable={true}
1666
- onClick={[Function]}
1667
- onResponderGrant={[Function]}
1668
- onResponderMove={[Function]}
1669
- onResponderRelease={[Function]}
1670
- onResponderTerminate={[Function]}
1671
- onResponderTerminationRequest={[Function]}
1672
- onStartShouldSetResponder={[Function]}
1652
+ }
1653
+ accessible={true}
1654
+ focusable={true}
1655
+ onClick={[Function]}
1656
+ onResponderGrant={[Function]}
1657
+ onResponderMove={[Function]}
1658
+ onResponderRelease={[Function]}
1659
+ onResponderTerminate={[Function]}
1660
+ onResponderTerminationRequest={[Function]}
1661
+ onStartShouldSetResponder={[Function]}
1662
+ style={
1663
+ [
1664
+ {
1665
+ "alignItems": "center",
1666
+ "backgroundColor": undefined,
1667
+ "borderRadius": 4,
1668
+ "flexDirection": "row",
1669
+ "opacity": 1,
1670
+ "padding": 16,
1671
+ },
1672
+ undefined,
1673
+ ]
1674
+ }
1675
+ >
1676
+ <View
1673
1677
  style={
1674
1678
  [
1675
1679
  {
1676
- "alignItems": "center",
1677
- "backgroundColor": undefined,
1678
- "borderRadius": 4,
1679
- "flexDirection": "row",
1680
- "opacity": 1,
1681
- "padding": 16,
1680
+ "flex": 1,
1682
1681
  },
1683
1682
  undefined,
1684
1683
  ]
1685
1684
  }
1686
1685
  >
1687
- <View
1686
+ <Text
1687
+ allowFontScaling={false}
1688
1688
  style={
1689
1689
  [
1690
1690
  {
1691
- "flex": 1,
1691
+ "color": "#001f23",
1692
+ "fontFamily": "BeVietnamPro-Regular",
1693
+ "fontSize": 16,
1694
+ "letterSpacing": 0.48,
1695
+ "lineHeight": 24,
1692
1696
  },
1693
1697
  undefined,
1694
1698
  ]
1695
1699
  }
1700
+ themeIntent="body"
1701
+ themeTypeface="neutral"
1702
+ themeVariant="regular"
1696
1703
  >
1697
- <Text
1698
- allowFontScaling={false}
1699
- style={
1700
- [
1701
- {
1702
- "color": "#001f23",
1703
- "fontFamily": "BeVietnamPro-Regular",
1704
- "fontSize": 16,
1705
- "letterSpacing": 0.48,
1706
- "lineHeight": 24,
1707
- },
1708
- undefined,
1709
- ]
1710
- }
1711
- themeIntent="body"
1712
- themeTypeface="neutral"
1713
- themeVariant="regular"
1714
- >
1715
- A1
1716
- </Text>
1717
- </View>
1704
+ A1
1705
+ </Text>
1718
1706
  </View>
1719
- <View
1720
- highlighted={false}
1721
- leadingItem={
1722
- {
1723
- "text": "A1",
1724
- "value": "a1",
1725
- }
1726
- }
1727
- section={
1728
- {
1729
- "category": "A",
1730
- "data": [
1731
- {
1732
- "text": "A1",
1733
- "value": "a1",
1734
- },
1735
- ],
1736
- }
1707
+ </View>
1708
+ <View
1709
+ highlighted={false}
1710
+ leadingItem={
1711
+ {
1712
+ "text": "A1",
1713
+ "value": "a1",
1737
1714
  }
1738
- style={
1739
- [
1715
+ }
1716
+ section={
1717
+ {
1718
+ "category": "A",
1719
+ "data": [
1740
1720
  {
1741
- "marginTop": 12,
1721
+ "text": "A1",
1722
+ "value": "a1",
1742
1723
  },
1743
- undefined,
1744
- ]
1724
+ ],
1745
1725
  }
1746
- trailingSection={
1726
+ }
1727
+ style={
1728
+ [
1747
1729
  {
1748
- "category": "B",
1749
- "data": [
1750
- {
1751
- "text": "B1",
1752
- "value": "b1",
1753
- },
1754
- {
1755
- "text": "B2",
1756
- "value": "b2",
1757
- },
1758
- ],
1759
- }
1730
+ "marginTop": 12,
1731
+ },
1732
+ undefined,
1733
+ ]
1734
+ }
1735
+ trailingSection={
1736
+ {
1737
+ "category": "B",
1738
+ "data": [
1739
+ {
1740
+ "text": "B1",
1741
+ "value": "b1",
1742
+ },
1743
+ {
1744
+ "text": "B2",
1745
+ "value": "b2",
1746
+ },
1747
+ ],
1760
1748
  }
1761
- />
1762
- </View>
1749
+ }
1750
+ />
1763
1751
  </View>
1764
1752
  <View
1765
1753
  onFocusCapture={[Function]}
@@ -1836,294 +1824,290 @@ exports[`OptionList renders correctly 1`] = `
1836
1824
  </View>
1837
1825
  </View>
1838
1826
  </View>
1839
- <View
1840
- onFocusCapture={[Function]}
1841
- onLayout={[Function]}
1842
- style={null}
1843
- >
1844
- <View>
1845
- <View
1846
- highlighted={false}
1847
- leadingSection={
1848
- {
1849
- "category": "A",
1850
- "data": [
1851
- {
1852
- "text": "A1",
1853
- "value": "a1",
1854
- },
1855
- ],
1856
- }
1857
- }
1858
- section={
1859
- {
1860
- "category": "B",
1861
- "data": [
1862
- {
1863
- "text": "B1",
1864
- "value": "b1",
1865
- },
1866
- {
1867
- "text": "B2",
1868
- "value": "b2",
1869
- },
1870
- ],
1871
- }
1827
+ <View
1828
+ onFocusCapture={[Function]}
1829
+ onLayout={[Function]}
1830
+ style={null}
1831
+ >
1832
+ <View
1833
+ highlighted={false}
1834
+ leadingSection={
1835
+ {
1836
+ "category": "A",
1837
+ "data": [
1838
+ {
1839
+ "text": "A1",
1840
+ "value": "a1",
1841
+ },
1842
+ ],
1872
1843
  }
1873
- style={
1874
- [
1844
+ }
1845
+ section={
1846
+ {
1847
+ "category": "B",
1848
+ "data": [
1875
1849
  {
1876
- "marginTop": 12,
1850
+ "text": "B1",
1851
+ "value": "b1",
1877
1852
  },
1878
- undefined,
1879
- ]
1853
+ {
1854
+ "text": "B2",
1855
+ "value": "b2",
1856
+ },
1857
+ ],
1880
1858
  }
1881
- trailingItem={
1859
+ }
1860
+ style={
1861
+ [
1882
1862
  {
1883
- "text": "B1",
1884
- "value": "b1",
1885
- }
1863
+ "marginTop": 12,
1864
+ },
1865
+ undefined,
1866
+ ]
1867
+ }
1868
+ trailingItem={
1869
+ {
1870
+ "text": "B1",
1871
+ "value": "b1",
1886
1872
  }
1887
- />
1888
- <View
1889
- accessibilityState={
1890
- {
1891
- "disabled": false,
1892
- }
1873
+ }
1874
+ />
1875
+ <View
1876
+ accessibilityState={
1877
+ {
1878
+ "disabled": false,
1893
1879
  }
1894
- accessibilityValue={
1895
- {
1896
- "max": undefined,
1897
- "min": undefined,
1898
- "now": undefined,
1899
- "text": undefined,
1900
- }
1880
+ }
1881
+ accessibilityValue={
1882
+ {
1883
+ "max": undefined,
1884
+ "min": undefined,
1885
+ "now": undefined,
1886
+ "text": undefined,
1901
1887
  }
1902
- accessible={true}
1903
- focusable={true}
1904
- onClick={[Function]}
1905
- onResponderGrant={[Function]}
1906
- onResponderMove={[Function]}
1907
- onResponderRelease={[Function]}
1908
- onResponderTerminate={[Function]}
1909
- onResponderTerminationRequest={[Function]}
1910
- onStartShouldSetResponder={[Function]}
1888
+ }
1889
+ accessible={true}
1890
+ focusable={true}
1891
+ onClick={[Function]}
1892
+ onResponderGrant={[Function]}
1893
+ onResponderMove={[Function]}
1894
+ onResponderRelease={[Function]}
1895
+ onResponderTerminate={[Function]}
1896
+ onResponderTerminationRequest={[Function]}
1897
+ onStartShouldSetResponder={[Function]}
1898
+ style={
1899
+ [
1900
+ {
1901
+ "alignItems": "center",
1902
+ "backgroundColor": "#ffffff",
1903
+ "borderRadius": 4,
1904
+ "flexDirection": "row",
1905
+ "opacity": 1,
1906
+ "padding": 16,
1907
+ },
1908
+ undefined,
1909
+ ]
1910
+ }
1911
+ >
1912
+ <View
1911
1913
  style={
1912
1914
  [
1913
1915
  {
1914
- "alignItems": "center",
1915
- "backgroundColor": "#ffffff",
1916
- "borderRadius": 4,
1917
- "flexDirection": "row",
1918
- "opacity": 1,
1919
- "padding": 16,
1916
+ "flex": 1,
1920
1917
  },
1921
1918
  undefined,
1922
1919
  ]
1923
1920
  }
1924
1921
  >
1925
- <View
1922
+ <Text
1923
+ allowFontScaling={false}
1926
1924
  style={
1927
1925
  [
1928
1926
  {
1929
- "flex": 1,
1927
+ "color": "#001f23",
1928
+ "fontFamily": "BeVietnamPro-Regular",
1929
+ "fontSize": 16,
1930
+ "letterSpacing": 0.48,
1931
+ "lineHeight": 24,
1930
1932
  },
1931
1933
  undefined,
1932
1934
  ]
1933
1935
  }
1936
+ themeIntent="body"
1937
+ themeTypeface="neutral"
1938
+ themeVariant="regular"
1934
1939
  >
1935
- <Text
1936
- allowFontScaling={false}
1937
- style={
1938
- [
1939
- {
1940
- "color": "#001f23",
1941
- "fontFamily": "BeVietnamPro-Regular",
1942
- "fontSize": 16,
1943
- "letterSpacing": 0.48,
1944
- "lineHeight": 24,
1945
- },
1946
- undefined,
1947
- ]
1948
- }
1949
- themeIntent="body"
1950
- themeTypeface="neutral"
1951
- themeVariant="regular"
1952
- >
1953
- B1
1954
- </Text>
1955
- </View>
1940
+ B1
1941
+ </Text>
1956
1942
  </View>
1957
- <View
1958
- highlighted={false}
1959
- leadingItem={
1960
- {
1961
- "text": "B1",
1962
- "value": "b1",
1963
- }
1964
- }
1965
- leadingSection={
1966
- {
1967
- "category": "A",
1968
- "data": [
1969
- {
1970
- "text": "A1",
1971
- "value": "a1",
1972
- },
1973
- ],
1974
- }
1943
+ </View>
1944
+ <View
1945
+ highlighted={false}
1946
+ leadingItem={
1947
+ {
1948
+ "text": "B1",
1949
+ "value": "b1",
1975
1950
  }
1976
- section={
1977
- {
1978
- "category": "B",
1979
- "data": [
1980
- {
1981
- "text": "B1",
1982
- "value": "b1",
1983
- },
1984
- {
1985
- "text": "B2",
1986
- "value": "b2",
1987
- },
1988
- ],
1989
- }
1951
+ }
1952
+ leadingSection={
1953
+ {
1954
+ "category": "A",
1955
+ "data": [
1956
+ {
1957
+ "text": "A1",
1958
+ "value": "a1",
1959
+ },
1960
+ ],
1990
1961
  }
1991
- style={
1992
- [
1962
+ }
1963
+ section={
1964
+ {
1965
+ "category": "B",
1966
+ "data": [
1993
1967
  {
1994
- "marginTop": 4,
1968
+ "text": "B1",
1969
+ "value": "b1",
1995
1970
  },
1996
- undefined,
1997
- ]
1971
+ {
1972
+ "text": "B2",
1973
+ "value": "b2",
1974
+ },
1975
+ ],
1998
1976
  }
1999
- trailingItem={
1977
+ }
1978
+ style={
1979
+ [
2000
1980
  {
2001
- "text": "B2",
2002
- "value": "b2",
2003
- }
1981
+ "marginTop": 4,
1982
+ },
1983
+ undefined,
1984
+ ]
1985
+ }
1986
+ trailingItem={
1987
+ {
1988
+ "text": "B2",
1989
+ "value": "b2",
2004
1990
  }
2005
- />
2006
- </View>
1991
+ }
1992
+ />
2007
1993
  </View>
2008
1994
  <View
2009
1995
  onFocusCapture={[Function]}
2010
1996
  onLayout={[Function]}
2011
1997
  style={null}
2012
1998
  >
2013
- <View>
2014
- <View
2015
- accessibilityState={
2016
- {
2017
- "disabled": false,
2018
- }
1999
+ <View
2000
+ accessibilityState={
2001
+ {
2002
+ "disabled": false,
2019
2003
  }
2020
- accessibilityValue={
2021
- {
2022
- "max": undefined,
2023
- "min": undefined,
2024
- "now": undefined,
2025
- "text": undefined,
2026
- }
2004
+ }
2005
+ accessibilityValue={
2006
+ {
2007
+ "max": undefined,
2008
+ "min": undefined,
2009
+ "now": undefined,
2010
+ "text": undefined,
2027
2011
  }
2028
- accessible={true}
2029
- focusable={true}
2030
- onClick={[Function]}
2031
- onResponderGrant={[Function]}
2032
- onResponderMove={[Function]}
2033
- onResponderRelease={[Function]}
2034
- onResponderTerminate={[Function]}
2035
- onResponderTerminationRequest={[Function]}
2036
- onStartShouldSetResponder={[Function]}
2012
+ }
2013
+ accessible={true}
2014
+ focusable={true}
2015
+ onClick={[Function]}
2016
+ onResponderGrant={[Function]}
2017
+ onResponderMove={[Function]}
2018
+ onResponderRelease={[Function]}
2019
+ onResponderTerminate={[Function]}
2020
+ onResponderTerminationRequest={[Function]}
2021
+ onStartShouldSetResponder={[Function]}
2022
+ style={
2023
+ [
2024
+ {
2025
+ "alignItems": "center",
2026
+ "backgroundColor": "#ffffff",
2027
+ "borderRadius": 4,
2028
+ "flexDirection": "row",
2029
+ "opacity": 1,
2030
+ "padding": 16,
2031
+ },
2032
+ undefined,
2033
+ ]
2034
+ }
2035
+ >
2036
+ <View
2037
2037
  style={
2038
2038
  [
2039
2039
  {
2040
- "alignItems": "center",
2041
- "backgroundColor": "#ffffff",
2042
- "borderRadius": 4,
2043
- "flexDirection": "row",
2044
- "opacity": 1,
2045
- "padding": 16,
2040
+ "flex": 1,
2046
2041
  },
2047
2042
  undefined,
2048
2043
  ]
2049
2044
  }
2050
2045
  >
2051
- <View
2046
+ <Text
2047
+ allowFontScaling={false}
2052
2048
  style={
2053
2049
  [
2054
2050
  {
2055
- "flex": 1,
2051
+ "color": "#001f23",
2052
+ "fontFamily": "BeVietnamPro-Regular",
2053
+ "fontSize": 16,
2054
+ "letterSpacing": 0.48,
2055
+ "lineHeight": 24,
2056
2056
  },
2057
2057
  undefined,
2058
2058
  ]
2059
2059
  }
2060
+ themeIntent="body"
2061
+ themeTypeface="neutral"
2062
+ themeVariant="regular"
2060
2063
  >
2061
- <Text
2062
- allowFontScaling={false}
2063
- style={
2064
- [
2065
- {
2066
- "color": "#001f23",
2067
- "fontFamily": "BeVietnamPro-Regular",
2068
- "fontSize": 16,
2069
- "letterSpacing": 0.48,
2070
- "lineHeight": 24,
2071
- },
2072
- undefined,
2073
- ]
2074
- }
2075
- themeIntent="body"
2076
- themeTypeface="neutral"
2077
- themeVariant="regular"
2078
- >
2079
- B2
2080
- </Text>
2081
- </View>
2064
+ B2
2065
+ </Text>
2082
2066
  </View>
2083
- <View
2084
- highlighted={false}
2085
- leadingItem={
2086
- {
2087
- "text": "B2",
2088
- "value": "b2",
2089
- }
2090
- }
2091
- leadingSection={
2092
- {
2093
- "category": "A",
2094
- "data": [
2095
- {
2096
- "text": "A1",
2097
- "value": "a1",
2098
- },
2099
- ],
2100
- }
2067
+ </View>
2068
+ <View
2069
+ highlighted={false}
2070
+ leadingItem={
2071
+ {
2072
+ "text": "B2",
2073
+ "value": "b2",
2101
2074
  }
2102
- section={
2103
- {
2104
- "category": "B",
2105
- "data": [
2106
- {
2107
- "text": "B1",
2108
- "value": "b1",
2109
- },
2110
- {
2111
- "text": "B2",
2112
- "value": "b2",
2113
- },
2114
- ],
2115
- }
2075
+ }
2076
+ leadingSection={
2077
+ {
2078
+ "category": "A",
2079
+ "data": [
2080
+ {
2081
+ "text": "A1",
2082
+ "value": "a1",
2083
+ },
2084
+ ],
2116
2085
  }
2117
- style={
2118
- [
2086
+ }
2087
+ section={
2088
+ {
2089
+ "category": "B",
2090
+ "data": [
2119
2091
  {
2120
- "marginTop": 12,
2092
+ "text": "B1",
2093
+ "value": "b1",
2121
2094
  },
2122
- undefined,
2123
- ]
2095
+ {
2096
+ "text": "B2",
2097
+ "value": "b2",
2098
+ },
2099
+ ],
2124
2100
  }
2125
- />
2126
- </View>
2101
+ }
2102
+ style={
2103
+ [
2104
+ {
2105
+ "marginTop": 12,
2106
+ },
2107
+ undefined,
2108
+ ]
2109
+ }
2110
+ />
2127
2111
  </View>
2128
2112
  <View
2129
2113
  onFocusCapture={[Function]}
@@ -2301,163 +2285,161 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
2301
2285
  onLayout={[Function]}
2302
2286
  style={null}
2303
2287
  >
2304
- <View>
2305
- <View
2306
- highlighted={false}
2307
- section={
2308
- {
2309
- "category": "A",
2310
- "data": [
2311
- {
2312
- "text": "A1",
2313
- "value": "a1",
2314
- },
2315
- ],
2316
- }
2317
- }
2318
- style={
2319
- [
2288
+ <View
2289
+ highlighted={false}
2290
+ section={
2291
+ {
2292
+ "category": "A",
2293
+ "data": [
2320
2294
  {
2321
- "marginTop": 12,
2295
+ "text": "A1",
2296
+ "value": "a1",
2322
2297
  },
2323
- undefined,
2324
- ]
2298
+ ],
2325
2299
  }
2326
- trailingItem={
2300
+ }
2301
+ style={
2302
+ [
2327
2303
  {
2328
- "text": "A1",
2329
- "value": "a1",
2330
- }
2304
+ "marginTop": 12,
2305
+ },
2306
+ undefined,
2307
+ ]
2308
+ }
2309
+ trailingItem={
2310
+ {
2311
+ "text": "A1",
2312
+ "value": "a1",
2331
2313
  }
2332
- trailingSection={
2333
- {
2334
- "category": "B",
2335
- "data": [
2336
- {
2337
- "text": "B1",
2338
- "value": "b1",
2339
- },
2340
- {
2341
- "text": "B2",
2342
- "value": "b2",
2343
- },
2344
- ],
2345
- }
2314
+ }
2315
+ trailingSection={
2316
+ {
2317
+ "category": "B",
2318
+ "data": [
2319
+ {
2320
+ "text": "B1",
2321
+ "value": "b1",
2322
+ },
2323
+ {
2324
+ "text": "B2",
2325
+ "value": "b2",
2326
+ },
2327
+ ],
2346
2328
  }
2347
- />
2348
- <View
2349
- accessibilityState={
2350
- {
2351
- "disabled": false,
2352
- }
2329
+ }
2330
+ />
2331
+ <View
2332
+ accessibilityState={
2333
+ {
2334
+ "disabled": false,
2353
2335
  }
2354
- accessibilityValue={
2355
- {
2356
- "max": undefined,
2357
- "min": undefined,
2358
- "now": undefined,
2359
- "text": undefined,
2360
- }
2336
+ }
2337
+ accessibilityValue={
2338
+ {
2339
+ "max": undefined,
2340
+ "min": undefined,
2341
+ "now": undefined,
2342
+ "text": undefined,
2361
2343
  }
2362
- accessible={true}
2363
- focusable={true}
2364
- onClick={[Function]}
2365
- onResponderGrant={[Function]}
2366
- onResponderMove={[Function]}
2367
- onResponderRelease={[Function]}
2368
- onResponderTerminate={[Function]}
2369
- onResponderTerminationRequest={[Function]}
2370
- onStartShouldSetResponder={[Function]}
2344
+ }
2345
+ accessible={true}
2346
+ focusable={true}
2347
+ onClick={[Function]}
2348
+ onResponderGrant={[Function]}
2349
+ onResponderMove={[Function]}
2350
+ onResponderRelease={[Function]}
2351
+ onResponderTerminate={[Function]}
2352
+ onResponderTerminationRequest={[Function]}
2353
+ onStartShouldSetResponder={[Function]}
2354
+ style={
2355
+ [
2356
+ {
2357
+ "alignItems": "center",
2358
+ "backgroundColor": undefined,
2359
+ "borderRadius": 4,
2360
+ "flexDirection": "row",
2361
+ "opacity": 1,
2362
+ "padding": 16,
2363
+ },
2364
+ undefined,
2365
+ ]
2366
+ }
2367
+ >
2368
+ <View
2371
2369
  style={
2372
2370
  [
2373
2371
  {
2374
- "alignItems": "center",
2375
- "backgroundColor": undefined,
2376
- "borderRadius": 4,
2377
- "flexDirection": "row",
2378
- "opacity": 1,
2379
- "padding": 16,
2372
+ "flex": 1,
2380
2373
  },
2381
2374
  undefined,
2382
2375
  ]
2383
2376
  }
2384
2377
  >
2385
- <View
2378
+ <Text
2379
+ allowFontScaling={false}
2386
2380
  style={
2387
2381
  [
2388
2382
  {
2389
- "flex": 1,
2390
- },
2391
- undefined,
2392
- ]
2393
- }
2394
- >
2395
- <Text
2396
- allowFontScaling={false}
2397
- style={
2398
- [
2399
- {
2400
- "color": "#001f23",
2401
- "fontFamily": "BeVietnamPro-Regular",
2402
- "fontSize": 16,
2403
- "letterSpacing": 0.48,
2404
- "lineHeight": 24,
2405
- },
2406
- undefined,
2407
- ]
2408
- }
2409
- themeIntent="body"
2410
- themeTypeface="neutral"
2411
- themeVariant="regular"
2412
- >
2413
- A1
2414
- </Text>
2415
- </View>
2416
- </View>
2417
- <View
2418
- highlighted={false}
2419
- leadingItem={
2420
- {
2421
- "text": "A1",
2422
- "value": "a1",
2423
- }
2424
- }
2425
- section={
2426
- {
2427
- "category": "A",
2428
- "data": [
2429
- {
2430
- "text": "A1",
2431
- "value": "a1",
2383
+ "color": "#001f23",
2384
+ "fontFamily": "BeVietnamPro-Regular",
2385
+ "fontSize": 16,
2386
+ "letterSpacing": 0.48,
2387
+ "lineHeight": 24,
2432
2388
  },
2433
- ],
2389
+ undefined,
2390
+ ]
2434
2391
  }
2392
+ themeIntent="body"
2393
+ themeTypeface="neutral"
2394
+ themeVariant="regular"
2395
+ >
2396
+ A1
2397
+ </Text>
2398
+ </View>
2399
+ </View>
2400
+ <View
2401
+ highlighted={false}
2402
+ leadingItem={
2403
+ {
2404
+ "text": "A1",
2405
+ "value": "a1",
2435
2406
  }
2436
- style={
2437
- [
2407
+ }
2408
+ section={
2409
+ {
2410
+ "category": "A",
2411
+ "data": [
2438
2412
  {
2439
- "marginTop": 12,
2413
+ "text": "A1",
2414
+ "value": "a1",
2440
2415
  },
2441
- undefined,
2442
- ]
2416
+ ],
2443
2417
  }
2444
- trailingSection={
2418
+ }
2419
+ style={
2420
+ [
2445
2421
  {
2446
- "category": "B",
2447
- "data": [
2448
- {
2449
- "text": "B1",
2450
- "value": "b1",
2451
- },
2452
- {
2453
- "text": "B2",
2454
- "value": "b2",
2455
- },
2456
- ],
2457
- }
2422
+ "marginTop": 12,
2423
+ },
2424
+ undefined,
2425
+ ]
2426
+ }
2427
+ trailingSection={
2428
+ {
2429
+ "category": "B",
2430
+ "data": [
2431
+ {
2432
+ "text": "B1",
2433
+ "value": "b1",
2434
+ },
2435
+ {
2436
+ "text": "B2",
2437
+ "value": "b2",
2438
+ },
2439
+ ],
2458
2440
  }
2459
- />
2460
- </View>
2441
+ }
2442
+ />
2461
2443
  </View>
2462
2444
  <View
2463
2445
  onFocusCapture={[Function]}
@@ -2539,289 +2521,285 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
2539
2521
  onLayout={[Function]}
2540
2522
  style={null}
2541
2523
  >
2542
- <View>
2543
- <View
2544
- highlighted={false}
2545
- leadingSection={
2546
- {
2547
- "category": "A",
2548
- "data": [
2549
- {
2550
- "text": "A1",
2551
- "value": "a1",
2552
- },
2553
- ],
2554
- }
2555
- }
2556
- section={
2557
- {
2558
- "category": "B",
2559
- "data": [
2560
- {
2561
- "text": "B1",
2562
- "value": "b1",
2563
- },
2564
- {
2565
- "text": "B2",
2566
- "value": "b2",
2567
- },
2568
- ],
2569
- }
2524
+ <View
2525
+ highlighted={false}
2526
+ leadingSection={
2527
+ {
2528
+ "category": "A",
2529
+ "data": [
2530
+ {
2531
+ "text": "A1",
2532
+ "value": "a1",
2533
+ },
2534
+ ],
2570
2535
  }
2571
- style={
2572
- [
2536
+ }
2537
+ section={
2538
+ {
2539
+ "category": "B",
2540
+ "data": [
2573
2541
  {
2574
- "marginTop": 12,
2542
+ "text": "B1",
2543
+ "value": "b1",
2575
2544
  },
2576
- undefined,
2577
- ]
2545
+ {
2546
+ "text": "B2",
2547
+ "value": "b2",
2548
+ },
2549
+ ],
2578
2550
  }
2579
- trailingItem={
2551
+ }
2552
+ style={
2553
+ [
2580
2554
  {
2581
- "text": "B1",
2582
- "value": "b1",
2583
- }
2555
+ "marginTop": 12,
2556
+ },
2557
+ undefined,
2558
+ ]
2559
+ }
2560
+ trailingItem={
2561
+ {
2562
+ "text": "B1",
2563
+ "value": "b1",
2584
2564
  }
2585
- />
2586
- <View
2587
- accessibilityState={
2588
- {
2589
- "disabled": false,
2590
- }
2565
+ }
2566
+ />
2567
+ <View
2568
+ accessibilityState={
2569
+ {
2570
+ "disabled": false,
2591
2571
  }
2592
- accessibilityValue={
2593
- {
2594
- "max": undefined,
2595
- "min": undefined,
2596
- "now": undefined,
2597
- "text": undefined,
2598
- }
2572
+ }
2573
+ accessibilityValue={
2574
+ {
2575
+ "max": undefined,
2576
+ "min": undefined,
2577
+ "now": undefined,
2578
+ "text": undefined,
2599
2579
  }
2600
- accessible={true}
2601
- focusable={true}
2602
- onClick={[Function]}
2603
- onResponderGrant={[Function]}
2604
- onResponderMove={[Function]}
2605
- onResponderRelease={[Function]}
2606
- onResponderTerminate={[Function]}
2607
- onResponderTerminationRequest={[Function]}
2608
- onStartShouldSetResponder={[Function]}
2580
+ }
2581
+ accessible={true}
2582
+ focusable={true}
2583
+ onClick={[Function]}
2584
+ onResponderGrant={[Function]}
2585
+ onResponderMove={[Function]}
2586
+ onResponderRelease={[Function]}
2587
+ onResponderTerminate={[Function]}
2588
+ onResponderTerminationRequest={[Function]}
2589
+ onStartShouldSetResponder={[Function]}
2590
+ style={
2591
+ [
2592
+ {
2593
+ "alignItems": "center",
2594
+ "backgroundColor": "#ffffff",
2595
+ "borderRadius": 4,
2596
+ "flexDirection": "row",
2597
+ "opacity": 1,
2598
+ "padding": 16,
2599
+ },
2600
+ undefined,
2601
+ ]
2602
+ }
2603
+ >
2604
+ <View
2609
2605
  style={
2610
2606
  [
2611
2607
  {
2612
- "alignItems": "center",
2613
- "backgroundColor": "#ffffff",
2614
- "borderRadius": 4,
2615
- "flexDirection": "row",
2616
- "opacity": 1,
2617
- "padding": 16,
2608
+ "flex": 1,
2618
2609
  },
2619
2610
  undefined,
2620
2611
  ]
2621
2612
  }
2622
2613
  >
2623
- <View
2614
+ <Text
2615
+ allowFontScaling={false}
2624
2616
  style={
2625
2617
  [
2626
2618
  {
2627
- "flex": 1,
2619
+ "color": "#001f23",
2620
+ "fontFamily": "BeVietnamPro-Regular",
2621
+ "fontSize": 16,
2622
+ "letterSpacing": 0.48,
2623
+ "lineHeight": 24,
2628
2624
  },
2629
2625
  undefined,
2630
2626
  ]
2631
2627
  }
2628
+ themeIntent="body"
2629
+ themeTypeface="neutral"
2630
+ themeVariant="regular"
2632
2631
  >
2633
- <Text
2634
- allowFontScaling={false}
2635
- style={
2636
- [
2637
- {
2638
- "color": "#001f23",
2639
- "fontFamily": "BeVietnamPro-Regular",
2640
- "fontSize": 16,
2641
- "letterSpacing": 0.48,
2642
- "lineHeight": 24,
2643
- },
2644
- undefined,
2645
- ]
2646
- }
2647
- themeIntent="body"
2648
- themeTypeface="neutral"
2649
- themeVariant="regular"
2650
- >
2651
- B1
2652
- </Text>
2653
- </View>
2632
+ B1
2633
+ </Text>
2654
2634
  </View>
2655
- <View
2656
- highlighted={false}
2657
- leadingItem={
2658
- {
2659
- "text": "B1",
2660
- "value": "b1",
2661
- }
2662
- }
2663
- leadingSection={
2664
- {
2665
- "category": "A",
2666
- "data": [
2667
- {
2668
- "text": "A1",
2669
- "value": "a1",
2670
- },
2671
- ],
2672
- }
2635
+ </View>
2636
+ <View
2637
+ highlighted={false}
2638
+ leadingItem={
2639
+ {
2640
+ "text": "B1",
2641
+ "value": "b1",
2673
2642
  }
2674
- section={
2675
- {
2676
- "category": "B",
2677
- "data": [
2678
- {
2679
- "text": "B1",
2680
- "value": "b1",
2681
- },
2682
- {
2683
- "text": "B2",
2684
- "value": "b2",
2685
- },
2686
- ],
2687
- }
2643
+ }
2644
+ leadingSection={
2645
+ {
2646
+ "category": "A",
2647
+ "data": [
2648
+ {
2649
+ "text": "A1",
2650
+ "value": "a1",
2651
+ },
2652
+ ],
2688
2653
  }
2689
- style={
2690
- [
2654
+ }
2655
+ section={
2656
+ {
2657
+ "category": "B",
2658
+ "data": [
2691
2659
  {
2692
- "marginTop": 4,
2660
+ "text": "B1",
2661
+ "value": "b1",
2693
2662
  },
2694
- undefined,
2695
- ]
2663
+ {
2664
+ "text": "B2",
2665
+ "value": "b2",
2666
+ },
2667
+ ],
2696
2668
  }
2697
- trailingItem={
2669
+ }
2670
+ style={
2671
+ [
2698
2672
  {
2699
- "text": "B2",
2700
- "value": "b2",
2701
- }
2673
+ "marginTop": 4,
2674
+ },
2675
+ undefined,
2676
+ ]
2677
+ }
2678
+ trailingItem={
2679
+ {
2680
+ "text": "B2",
2681
+ "value": "b2",
2702
2682
  }
2703
- />
2704
- </View>
2683
+ }
2684
+ />
2705
2685
  </View>
2706
2686
  <View
2707
2687
  onFocusCapture={[Function]}
2708
2688
  onLayout={[Function]}
2709
2689
  style={null}
2710
2690
  >
2711
- <View>
2712
- <View
2713
- accessibilityState={
2714
- {
2715
- "disabled": false,
2716
- }
2691
+ <View
2692
+ accessibilityState={
2693
+ {
2694
+ "disabled": false,
2717
2695
  }
2718
- accessibilityValue={
2719
- {
2720
- "max": undefined,
2721
- "min": undefined,
2722
- "now": undefined,
2723
- "text": undefined,
2724
- }
2696
+ }
2697
+ accessibilityValue={
2698
+ {
2699
+ "max": undefined,
2700
+ "min": undefined,
2701
+ "now": undefined,
2702
+ "text": undefined,
2725
2703
  }
2726
- accessible={true}
2727
- focusable={true}
2728
- onClick={[Function]}
2729
- onResponderGrant={[Function]}
2730
- onResponderMove={[Function]}
2731
- onResponderRelease={[Function]}
2732
- onResponderTerminate={[Function]}
2733
- onResponderTerminationRequest={[Function]}
2734
- onStartShouldSetResponder={[Function]}
2704
+ }
2705
+ accessible={true}
2706
+ focusable={true}
2707
+ onClick={[Function]}
2708
+ onResponderGrant={[Function]}
2709
+ onResponderMove={[Function]}
2710
+ onResponderRelease={[Function]}
2711
+ onResponderTerminate={[Function]}
2712
+ onResponderTerminationRequest={[Function]}
2713
+ onStartShouldSetResponder={[Function]}
2714
+ style={
2715
+ [
2716
+ {
2717
+ "alignItems": "center",
2718
+ "backgroundColor": "#ffffff",
2719
+ "borderRadius": 4,
2720
+ "flexDirection": "row",
2721
+ "opacity": 1,
2722
+ "padding": 16,
2723
+ },
2724
+ undefined,
2725
+ ]
2726
+ }
2727
+ >
2728
+ <View
2735
2729
  style={
2736
2730
  [
2737
2731
  {
2738
- "alignItems": "center",
2739
- "backgroundColor": "#ffffff",
2740
- "borderRadius": 4,
2741
- "flexDirection": "row",
2742
- "opacity": 1,
2743
- "padding": 16,
2732
+ "flex": 1,
2744
2733
  },
2745
2734
  undefined,
2746
2735
  ]
2747
2736
  }
2748
2737
  >
2749
- <View
2738
+ <Text
2739
+ allowFontScaling={false}
2750
2740
  style={
2751
2741
  [
2752
2742
  {
2753
- "flex": 1,
2743
+ "color": "#001f23",
2744
+ "fontFamily": "BeVietnamPro-Regular",
2745
+ "fontSize": 16,
2746
+ "letterSpacing": 0.48,
2747
+ "lineHeight": 24,
2754
2748
  },
2755
2749
  undefined,
2756
2750
  ]
2757
2751
  }
2752
+ themeIntent="body"
2753
+ themeTypeface="neutral"
2754
+ themeVariant="regular"
2758
2755
  >
2759
- <Text
2760
- allowFontScaling={false}
2761
- style={
2762
- [
2763
- {
2764
- "color": "#001f23",
2765
- "fontFamily": "BeVietnamPro-Regular",
2766
- "fontSize": 16,
2767
- "letterSpacing": 0.48,
2768
- "lineHeight": 24,
2769
- },
2770
- undefined,
2771
- ]
2772
- }
2773
- themeIntent="body"
2774
- themeTypeface="neutral"
2775
- themeVariant="regular"
2776
- >
2777
- B2
2778
- </Text>
2779
- </View>
2756
+ B2
2757
+ </Text>
2780
2758
  </View>
2781
- <View
2782
- highlighted={false}
2783
- leadingItem={
2784
- {
2785
- "text": "B2",
2786
- "value": "b2",
2787
- }
2788
- }
2789
- leadingSection={
2790
- {
2791
- "category": "A",
2792
- "data": [
2793
- {
2794
- "text": "A1",
2795
- "value": "a1",
2796
- },
2797
- ],
2798
- }
2759
+ </View>
2760
+ <View
2761
+ highlighted={false}
2762
+ leadingItem={
2763
+ {
2764
+ "text": "B2",
2765
+ "value": "b2",
2799
2766
  }
2800
- section={
2801
- {
2802
- "category": "B",
2803
- "data": [
2804
- {
2805
- "text": "B1",
2806
- "value": "b1",
2807
- },
2808
- {
2809
- "text": "B2",
2810
- "value": "b2",
2811
- },
2812
- ],
2813
- }
2767
+ }
2768
+ leadingSection={
2769
+ {
2770
+ "category": "A",
2771
+ "data": [
2772
+ {
2773
+ "text": "A1",
2774
+ "value": "a1",
2775
+ },
2776
+ ],
2814
2777
  }
2815
- style={
2816
- [
2778
+ }
2779
+ section={
2780
+ {
2781
+ "category": "B",
2782
+ "data": [
2817
2783
  {
2818
- "marginTop": 12,
2784
+ "text": "B1",
2785
+ "value": "b1",
2819
2786
  },
2820
- undefined,
2821
- ]
2787
+ {
2788
+ "text": "B2",
2789
+ "value": "b2",
2790
+ },
2791
+ ],
2822
2792
  }
2823
- />
2824
- </View>
2793
+ }
2794
+ style={
2795
+ [
2796
+ {
2797
+ "marginTop": 12,
2798
+ },
2799
+ undefined,
2800
+ ]
2801
+ }
2802
+ />
2825
2803
  </View>
2826
2804
  <View
2827
2805
  onFocusCapture={[Function]}
@@ -2999,163 +2977,161 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2999
2977
  onLayout={[Function]}
3000
2978
  style={null}
3001
2979
  >
3002
- <View>
3003
- <View
3004
- highlighted={false}
3005
- section={
3006
- {
3007
- "category": "A",
3008
- "data": [
3009
- {
3010
- "text": "A1",
3011
- "value": "a1",
3012
- },
3013
- ],
3014
- }
3015
- }
3016
- style={
3017
- [
2980
+ <View
2981
+ highlighted={false}
2982
+ section={
2983
+ {
2984
+ "category": "A",
2985
+ "data": [
3018
2986
  {
3019
- "marginTop": 12,
2987
+ "text": "A1",
2988
+ "value": "a1",
3020
2989
  },
3021
- undefined,
3022
- ]
2990
+ ],
3023
2991
  }
3024
- trailingItem={
2992
+ }
2993
+ style={
2994
+ [
3025
2995
  {
3026
- "text": "A1",
3027
- "value": "a1",
3028
- }
2996
+ "marginTop": 12,
2997
+ },
2998
+ undefined,
2999
+ ]
3000
+ }
3001
+ trailingItem={
3002
+ {
3003
+ "text": "A1",
3004
+ "value": "a1",
3029
3005
  }
3030
- trailingSection={
3031
- {
3032
- "category": "B",
3033
- "data": [
3034
- {
3035
- "text": "B1",
3036
- "value": "b1",
3037
- },
3038
- {
3039
- "text": "B2",
3040
- "value": "b2",
3041
- },
3042
- ],
3043
- }
3006
+ }
3007
+ trailingSection={
3008
+ {
3009
+ "category": "B",
3010
+ "data": [
3011
+ {
3012
+ "text": "B1",
3013
+ "value": "b1",
3014
+ },
3015
+ {
3016
+ "text": "B2",
3017
+ "value": "b2",
3018
+ },
3019
+ ],
3020
+ }
3021
+ }
3022
+ />
3023
+ <View
3024
+ accessibilityState={
3025
+ {
3026
+ "disabled": false,
3044
3027
  }
3045
- />
3046
- <View
3047
- accessibilityState={
3048
- {
3049
- "disabled": false,
3050
- }
3028
+ }
3029
+ accessibilityValue={
3030
+ {
3031
+ "max": undefined,
3032
+ "min": undefined,
3033
+ "now": undefined,
3034
+ "text": undefined,
3051
3035
  }
3052
- accessibilityValue={
3036
+ }
3037
+ accessible={true}
3038
+ focusable={true}
3039
+ onClick={[Function]}
3040
+ onResponderGrant={[Function]}
3041
+ onResponderMove={[Function]}
3042
+ onResponderRelease={[Function]}
3043
+ onResponderTerminate={[Function]}
3044
+ onResponderTerminationRequest={[Function]}
3045
+ onStartShouldSetResponder={[Function]}
3046
+ style={
3047
+ [
3053
3048
  {
3054
- "max": undefined,
3055
- "min": undefined,
3056
- "now": undefined,
3057
- "text": undefined,
3058
- }
3059
- }
3060
- accessible={true}
3061
- focusable={true}
3062
- onClick={[Function]}
3063
- onResponderGrant={[Function]}
3064
- onResponderMove={[Function]}
3065
- onResponderRelease={[Function]}
3066
- onResponderTerminate={[Function]}
3067
- onResponderTerminationRequest={[Function]}
3068
- onStartShouldSetResponder={[Function]}
3049
+ "alignItems": "center",
3050
+ "backgroundColor": undefined,
3051
+ "borderRadius": 4,
3052
+ "flexDirection": "row",
3053
+ "opacity": 1,
3054
+ "padding": 16,
3055
+ },
3056
+ undefined,
3057
+ ]
3058
+ }
3059
+ >
3060
+ <View
3069
3061
  style={
3070
3062
  [
3071
3063
  {
3072
- "alignItems": "center",
3073
- "backgroundColor": undefined,
3074
- "borderRadius": 4,
3075
- "flexDirection": "row",
3076
- "opacity": 1,
3077
- "padding": 16,
3064
+ "flex": 1,
3078
3065
  },
3079
3066
  undefined,
3080
3067
  ]
3081
3068
  }
3082
3069
  >
3083
- <View
3070
+ <Text
3071
+ allowFontScaling={false}
3084
3072
  style={
3085
3073
  [
3086
3074
  {
3087
- "flex": 1,
3075
+ "color": "#001f23",
3076
+ "fontFamily": "BeVietnamPro-Regular",
3077
+ "fontSize": 16,
3078
+ "letterSpacing": 0.48,
3079
+ "lineHeight": 24,
3088
3080
  },
3089
3081
  undefined,
3090
3082
  ]
3091
3083
  }
3084
+ themeIntent="body"
3085
+ themeTypeface="neutral"
3086
+ themeVariant="regular"
3092
3087
  >
3093
- <Text
3094
- allowFontScaling={false}
3095
- style={
3096
- [
3097
- {
3098
- "color": "#001f23",
3099
- "fontFamily": "BeVietnamPro-Regular",
3100
- "fontSize": 16,
3101
- "letterSpacing": 0.48,
3102
- "lineHeight": 24,
3103
- },
3104
- undefined,
3105
- ]
3106
- }
3107
- themeIntent="body"
3108
- themeTypeface="neutral"
3109
- themeVariant="regular"
3110
- >
3111
- A1
3112
- </Text>
3113
- </View>
3088
+ A1
3089
+ </Text>
3114
3090
  </View>
3115
- <View
3116
- highlighted={false}
3117
- leadingItem={
3118
- {
3119
- "text": "A1",
3120
- "value": "a1",
3121
- }
3122
- }
3123
- section={
3124
- {
3125
- "category": "A",
3126
- "data": [
3127
- {
3128
- "text": "A1",
3129
- "value": "a1",
3130
- },
3131
- ],
3132
- }
3091
+ </View>
3092
+ <View
3093
+ highlighted={false}
3094
+ leadingItem={
3095
+ {
3096
+ "text": "A1",
3097
+ "value": "a1",
3133
3098
  }
3134
- style={
3135
- [
3099
+ }
3100
+ section={
3101
+ {
3102
+ "category": "A",
3103
+ "data": [
3136
3104
  {
3137
- "marginTop": 12,
3105
+ "text": "A1",
3106
+ "value": "a1",
3138
3107
  },
3139
- undefined,
3140
- ]
3108
+ ],
3141
3109
  }
3142
- trailingSection={
3110
+ }
3111
+ style={
3112
+ [
3143
3113
  {
3144
- "category": "B",
3145
- "data": [
3146
- {
3147
- "text": "B1",
3148
- "value": "b1",
3149
- },
3150
- {
3151
- "text": "B2",
3152
- "value": "b2",
3153
- },
3154
- ],
3155
- }
3114
+ "marginTop": 12,
3115
+ },
3116
+ undefined,
3117
+ ]
3118
+ }
3119
+ trailingSection={
3120
+ {
3121
+ "category": "B",
3122
+ "data": [
3123
+ {
3124
+ "text": "B1",
3125
+ "value": "b1",
3126
+ },
3127
+ {
3128
+ "text": "B2",
3129
+ "value": "b2",
3130
+ },
3131
+ ],
3156
3132
  }
3157
- />
3158
- </View>
3133
+ }
3134
+ />
3159
3135
  </View>
3160
3136
  <View
3161
3137
  onFocusCapture={[Function]}
@@ -3237,289 +3213,285 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
3237
3213
  onLayout={[Function]}
3238
3214
  style={null}
3239
3215
  >
3240
- <View>
3241
- <View
3242
- highlighted={false}
3243
- leadingSection={
3244
- {
3245
- "category": "A",
3246
- "data": [
3247
- {
3248
- "text": "A1",
3249
- "value": "a1",
3250
- },
3251
- ],
3252
- }
3253
- }
3254
- section={
3255
- {
3256
- "category": "B",
3257
- "data": [
3258
- {
3259
- "text": "B1",
3260
- "value": "b1",
3261
- },
3262
- {
3263
- "text": "B2",
3264
- "value": "b2",
3265
- },
3266
- ],
3267
- }
3216
+ <View
3217
+ highlighted={false}
3218
+ leadingSection={
3219
+ {
3220
+ "category": "A",
3221
+ "data": [
3222
+ {
3223
+ "text": "A1",
3224
+ "value": "a1",
3225
+ },
3226
+ ],
3268
3227
  }
3269
- style={
3270
- [
3228
+ }
3229
+ section={
3230
+ {
3231
+ "category": "B",
3232
+ "data": [
3271
3233
  {
3272
- "marginTop": 12,
3234
+ "text": "B1",
3235
+ "value": "b1",
3273
3236
  },
3274
- undefined,
3275
- ]
3237
+ {
3238
+ "text": "B2",
3239
+ "value": "b2",
3240
+ },
3241
+ ],
3276
3242
  }
3277
- trailingItem={
3243
+ }
3244
+ style={
3245
+ [
3278
3246
  {
3279
- "text": "B1",
3280
- "value": "b1",
3281
- }
3247
+ "marginTop": 12,
3248
+ },
3249
+ undefined,
3250
+ ]
3251
+ }
3252
+ trailingItem={
3253
+ {
3254
+ "text": "B1",
3255
+ "value": "b1",
3282
3256
  }
3283
- />
3284
- <View
3285
- accessibilityState={
3286
- {
3287
- "disabled": false,
3288
- }
3257
+ }
3258
+ />
3259
+ <View
3260
+ accessibilityState={
3261
+ {
3262
+ "disabled": false,
3289
3263
  }
3290
- accessibilityValue={
3291
- {
3292
- "max": undefined,
3293
- "min": undefined,
3294
- "now": undefined,
3295
- "text": undefined,
3296
- }
3264
+ }
3265
+ accessibilityValue={
3266
+ {
3267
+ "max": undefined,
3268
+ "min": undefined,
3269
+ "now": undefined,
3270
+ "text": undefined,
3297
3271
  }
3298
- accessible={true}
3299
- focusable={true}
3300
- onClick={[Function]}
3301
- onResponderGrant={[Function]}
3302
- onResponderMove={[Function]}
3303
- onResponderRelease={[Function]}
3304
- onResponderTerminate={[Function]}
3305
- onResponderTerminationRequest={[Function]}
3306
- onStartShouldSetResponder={[Function]}
3272
+ }
3273
+ accessible={true}
3274
+ focusable={true}
3275
+ onClick={[Function]}
3276
+ onResponderGrant={[Function]}
3277
+ onResponderMove={[Function]}
3278
+ onResponderRelease={[Function]}
3279
+ onResponderTerminate={[Function]}
3280
+ onResponderTerminationRequest={[Function]}
3281
+ onStartShouldSetResponder={[Function]}
3282
+ style={
3283
+ [
3284
+ {
3285
+ "alignItems": "center",
3286
+ "backgroundColor": "#ffffff",
3287
+ "borderRadius": 4,
3288
+ "flexDirection": "row",
3289
+ "opacity": 1,
3290
+ "padding": 16,
3291
+ },
3292
+ undefined,
3293
+ ]
3294
+ }
3295
+ >
3296
+ <View
3307
3297
  style={
3308
3298
  [
3309
3299
  {
3310
- "alignItems": "center",
3311
- "backgroundColor": "#ffffff",
3312
- "borderRadius": 4,
3313
- "flexDirection": "row",
3314
- "opacity": 1,
3315
- "padding": 16,
3300
+ "flex": 1,
3316
3301
  },
3317
3302
  undefined,
3318
3303
  ]
3319
3304
  }
3320
3305
  >
3321
- <View
3306
+ <Text
3307
+ allowFontScaling={false}
3322
3308
  style={
3323
3309
  [
3324
3310
  {
3325
- "flex": 1,
3311
+ "color": "#001f23",
3312
+ "fontFamily": "BeVietnamPro-Regular",
3313
+ "fontSize": 16,
3314
+ "letterSpacing": 0.48,
3315
+ "lineHeight": 24,
3326
3316
  },
3327
3317
  undefined,
3328
3318
  ]
3329
3319
  }
3320
+ themeIntent="body"
3321
+ themeTypeface="neutral"
3322
+ themeVariant="regular"
3330
3323
  >
3331
- <Text
3332
- allowFontScaling={false}
3333
- style={
3334
- [
3335
- {
3336
- "color": "#001f23",
3337
- "fontFamily": "BeVietnamPro-Regular",
3338
- "fontSize": 16,
3339
- "letterSpacing": 0.48,
3340
- "lineHeight": 24,
3341
- },
3342
- undefined,
3343
- ]
3344
- }
3345
- themeIntent="body"
3346
- themeTypeface="neutral"
3347
- themeVariant="regular"
3348
- >
3349
- B1
3350
- </Text>
3351
- </View>
3324
+ B1
3325
+ </Text>
3352
3326
  </View>
3353
- <View
3354
- highlighted={false}
3355
- leadingItem={
3356
- {
3357
- "text": "B1",
3358
- "value": "b1",
3359
- }
3360
- }
3361
- leadingSection={
3362
- {
3363
- "category": "A",
3364
- "data": [
3365
- {
3366
- "text": "A1",
3367
- "value": "a1",
3368
- },
3369
- ],
3370
- }
3327
+ </View>
3328
+ <View
3329
+ highlighted={false}
3330
+ leadingItem={
3331
+ {
3332
+ "text": "B1",
3333
+ "value": "b1",
3371
3334
  }
3372
- section={
3373
- {
3374
- "category": "B",
3375
- "data": [
3376
- {
3377
- "text": "B1",
3378
- "value": "b1",
3379
- },
3380
- {
3381
- "text": "B2",
3382
- "value": "b2",
3383
- },
3384
- ],
3385
- }
3335
+ }
3336
+ leadingSection={
3337
+ {
3338
+ "category": "A",
3339
+ "data": [
3340
+ {
3341
+ "text": "A1",
3342
+ "value": "a1",
3343
+ },
3344
+ ],
3386
3345
  }
3387
- style={
3388
- [
3346
+ }
3347
+ section={
3348
+ {
3349
+ "category": "B",
3350
+ "data": [
3389
3351
  {
3390
- "marginTop": 4,
3352
+ "text": "B1",
3353
+ "value": "b1",
3391
3354
  },
3392
- undefined,
3393
- ]
3355
+ {
3356
+ "text": "B2",
3357
+ "value": "b2",
3358
+ },
3359
+ ],
3394
3360
  }
3395
- trailingItem={
3361
+ }
3362
+ style={
3363
+ [
3396
3364
  {
3397
- "text": "B2",
3398
- "value": "b2",
3399
- }
3365
+ "marginTop": 4,
3366
+ },
3367
+ undefined,
3368
+ ]
3369
+ }
3370
+ trailingItem={
3371
+ {
3372
+ "text": "B2",
3373
+ "value": "b2",
3400
3374
  }
3401
- />
3402
- </View>
3375
+ }
3376
+ />
3403
3377
  </View>
3404
3378
  <View
3405
3379
  onFocusCapture={[Function]}
3406
3380
  onLayout={[Function]}
3407
3381
  style={null}
3408
3382
  >
3409
- <View>
3410
- <View
3411
- accessibilityState={
3412
- {
3413
- "disabled": false,
3414
- }
3383
+ <View
3384
+ accessibilityState={
3385
+ {
3386
+ "disabled": false,
3415
3387
  }
3416
- accessibilityValue={
3417
- {
3418
- "max": undefined,
3419
- "min": undefined,
3420
- "now": undefined,
3421
- "text": undefined,
3422
- }
3388
+ }
3389
+ accessibilityValue={
3390
+ {
3391
+ "max": undefined,
3392
+ "min": undefined,
3393
+ "now": undefined,
3394
+ "text": undefined,
3423
3395
  }
3424
- accessible={true}
3425
- focusable={true}
3426
- onClick={[Function]}
3427
- onResponderGrant={[Function]}
3428
- onResponderMove={[Function]}
3429
- onResponderRelease={[Function]}
3430
- onResponderTerminate={[Function]}
3431
- onResponderTerminationRequest={[Function]}
3432
- onStartShouldSetResponder={[Function]}
3396
+ }
3397
+ accessible={true}
3398
+ focusable={true}
3399
+ onClick={[Function]}
3400
+ onResponderGrant={[Function]}
3401
+ onResponderMove={[Function]}
3402
+ onResponderRelease={[Function]}
3403
+ onResponderTerminate={[Function]}
3404
+ onResponderTerminationRequest={[Function]}
3405
+ onStartShouldSetResponder={[Function]}
3406
+ style={
3407
+ [
3408
+ {
3409
+ "alignItems": "center",
3410
+ "backgroundColor": "#ffffff",
3411
+ "borderRadius": 4,
3412
+ "flexDirection": "row",
3413
+ "opacity": 1,
3414
+ "padding": 16,
3415
+ },
3416
+ undefined,
3417
+ ]
3418
+ }
3419
+ >
3420
+ <View
3433
3421
  style={
3434
3422
  [
3435
3423
  {
3436
- "alignItems": "center",
3437
- "backgroundColor": "#ffffff",
3438
- "borderRadius": 4,
3439
- "flexDirection": "row",
3440
- "opacity": 1,
3441
- "padding": 16,
3424
+ "flex": 1,
3442
3425
  },
3443
3426
  undefined,
3444
3427
  ]
3445
3428
  }
3446
3429
  >
3447
- <View
3430
+ <Text
3431
+ allowFontScaling={false}
3448
3432
  style={
3449
3433
  [
3450
3434
  {
3451
- "flex": 1,
3435
+ "color": "#001f23",
3436
+ "fontFamily": "BeVietnamPro-Regular",
3437
+ "fontSize": 16,
3438
+ "letterSpacing": 0.48,
3439
+ "lineHeight": 24,
3452
3440
  },
3453
3441
  undefined,
3454
3442
  ]
3455
3443
  }
3444
+ themeIntent="body"
3445
+ themeTypeface="neutral"
3446
+ themeVariant="regular"
3456
3447
  >
3457
- <Text
3458
- allowFontScaling={false}
3459
- style={
3460
- [
3461
- {
3462
- "color": "#001f23",
3463
- "fontFamily": "BeVietnamPro-Regular",
3464
- "fontSize": 16,
3465
- "letterSpacing": 0.48,
3466
- "lineHeight": 24,
3467
- },
3468
- undefined,
3469
- ]
3470
- }
3471
- themeIntent="body"
3472
- themeTypeface="neutral"
3473
- themeVariant="regular"
3474
- >
3475
- B2
3476
- </Text>
3477
- </View>
3448
+ B2
3449
+ </Text>
3478
3450
  </View>
3479
- <View
3480
- highlighted={false}
3481
- leadingItem={
3482
- {
3483
- "text": "B2",
3484
- "value": "b2",
3485
- }
3486
- }
3487
- leadingSection={
3488
- {
3489
- "category": "A",
3490
- "data": [
3491
- {
3492
- "text": "A1",
3493
- "value": "a1",
3494
- },
3495
- ],
3496
- }
3451
+ </View>
3452
+ <View
3453
+ highlighted={false}
3454
+ leadingItem={
3455
+ {
3456
+ "text": "B2",
3457
+ "value": "b2",
3497
3458
  }
3498
- section={
3499
- {
3500
- "category": "B",
3501
- "data": [
3502
- {
3503
- "text": "B1",
3504
- "value": "b1",
3505
- },
3506
- {
3507
- "text": "B2",
3508
- "value": "b2",
3509
- },
3510
- ],
3511
- }
3459
+ }
3460
+ leadingSection={
3461
+ {
3462
+ "category": "A",
3463
+ "data": [
3464
+ {
3465
+ "text": "A1",
3466
+ "value": "a1",
3467
+ },
3468
+ ],
3512
3469
  }
3513
- style={
3514
- [
3470
+ }
3471
+ section={
3472
+ {
3473
+ "category": "B",
3474
+ "data": [
3515
3475
  {
3516
- "marginTop": 12,
3476
+ "text": "B1",
3477
+ "value": "b1",
3517
3478
  },
3518
- undefined,
3519
- ]
3479
+ {
3480
+ "text": "B2",
3481
+ "value": "b2",
3482
+ },
3483
+ ],
3520
3484
  }
3521
- />
3522
- </View>
3485
+ }
3486
+ style={
3487
+ [
3488
+ {
3489
+ "marginTop": 12,
3490
+ },
3491
+ undefined,
3492
+ ]
3493
+ }
3494
+ />
3523
3495
  </View>
3524
3496
  <View
3525
3497
  onFocusCapture={[Function]}