@hero-design/rn 8.110.0 → 8.110.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 (38) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +6 -0
  3. package/es/index.js +27 -13
  4. package/lib/index.js +27 -13
  5. package/package.json +7 -7
  6. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +40 -24
  7. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +60 -36
  8. package/src/components/Accordion/index.tsx +6 -1
  9. package/src/components/AppCue/__tests__/__snapshots__/StyledAppCue.tsx.snap +121 -97
  10. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +6 -3
  11. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +18 -18
  12. package/src/components/Chip/index.tsx +6 -0
  13. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +8 -5
  14. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +20 -12
  15. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +13 -9
  16. package/src/components/PinInput/index.tsx +6 -1
  17. package/src/components/Radio/RadioGroup.tsx +6 -1
  18. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +84 -48
  19. package/src/components/Search/SearchOneLine.tsx +6 -0
  20. package/src/components/Search/SearchTwoLine.tsx +6 -1
  21. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +6 -3
  22. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +6 -3
  23. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +9 -6
  24. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +210 -138
  25. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +98 -62
  26. package/src/components/Toolbar/ToolbarGroup.tsx +10 -2
  27. package/src/components/Toolbar/__tests__/ToolbarGroup.spec.tsx +34 -1
  28. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +3 -0
  29. package/stats/8.110.1/rn-stats.html +4844 -0
  30. package/types/components/Accordion/index.d.ts +5 -1
  31. package/types/components/Chip/index.d.ts +5 -1
  32. package/types/components/PinInput/index.d.ts +4 -0
  33. package/types/components/Radio/RadioGroup.d.ts +5 -1
  34. package/types/components/Radio/index.d.ts +1 -1
  35. package/types/components/Search/SearchOneLine.d.ts +4 -0
  36. package/types/components/Search/SearchTwoLine.d.ts +4 -0
  37. package/types/components/Toolbar/ToolbarGroup.d.ts +5 -1
  38. package/types/components/Toolbar/index.d.ts +1 -1
@@ -253,10 +253,13 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
253
253
  onResponderTerminationRequest={[Function]}
254
254
  onStartShouldSetResponder={[Function]}
255
255
  style={
256
- {
257
- "marginLeft": 0,
258
- "paddingVertical": 8,
259
- }
256
+ [
257
+ {
258
+ "marginLeft": 0,
259
+ "paddingVertical": 8,
260
+ },
261
+ undefined,
262
+ ]
260
263
  }
261
264
  >
262
265
  <View
@@ -367,10 +370,13 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
367
370
  onResponderTerminationRequest={[Function]}
368
371
  onStartShouldSetResponder={[Function]}
369
372
  style={
370
- {
371
- "marginLeft": 12,
372
- "paddingVertical": 8,
373
- }
373
+ [
374
+ {
375
+ "marginLeft": 12,
376
+ "paddingVertical": 8,
377
+ },
378
+ undefined,
379
+ ]
374
380
  }
375
381
  >
376
382
  <View
@@ -391,16 +397,20 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
391
397
  <View
392
398
  collapsable={false}
393
399
  style={
394
- {
395
- "backgroundColor": undefined,
396
- "borderRadius": 16,
397
- "flex": 1,
398
- "transform": [
399
- {
400
- "scaleX": 0,
401
- },
402
- ],
403
- }
400
+ [
401
+ {
402
+ "backgroundColor": undefined,
403
+ "borderRadius": 16,
404
+ },
405
+ {
406
+ "flex": 1,
407
+ "transform": [
408
+ {
409
+ "scaleX": 0,
410
+ },
411
+ ],
412
+ },
413
+ ]
404
414
  }
405
415
  themeActive={false}
406
416
  />
@@ -475,10 +485,13 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
475
485
  onResponderTerminationRequest={[Function]}
476
486
  onStartShouldSetResponder={[Function]}
477
487
  style={
478
- {
479
- "marginLeft": 12,
480
- "paddingVertical": 8,
481
- }
488
+ [
489
+ {
490
+ "marginLeft": 12,
491
+ "paddingVertical": 8,
492
+ },
493
+ undefined,
494
+ ]
482
495
  }
483
496
  >
484
497
  <View
@@ -499,16 +512,20 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
499
512
  <View
500
513
  collapsable={false}
501
514
  style={
502
- {
503
- "backgroundColor": undefined,
504
- "borderRadius": 16,
505
- "flex": 1,
506
- "transform": [
507
- {
508
- "scaleX": 0,
509
- },
510
- ],
511
- }
515
+ [
516
+ {
517
+ "backgroundColor": undefined,
518
+ "borderRadius": 16,
519
+ },
520
+ {
521
+ "flex": 1,
522
+ "transform": [
523
+ {
524
+ "scaleX": 0,
525
+ },
526
+ ],
527
+ },
528
+ ]
512
529
  }
513
530
  themeActive={false}
514
531
  />
@@ -611,10 +628,13 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
611
628
  onResponderTerminationRequest={[Function]}
612
629
  onStartShouldSetResponder={[Function]}
613
630
  style={
614
- {
615
- "marginLeft": 12,
616
- "paddingVertical": 8,
617
- }
631
+ [
632
+ {
633
+ "marginLeft": 12,
634
+ "paddingVertical": 8,
635
+ },
636
+ undefined,
637
+ ]
618
638
  }
619
639
  >
620
640
  <View
@@ -635,16 +655,20 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
635
655
  <View
636
656
  collapsable={false}
637
657
  style={
638
- {
639
- "backgroundColor": undefined,
640
- "borderRadius": 16,
641
- "flex": 1,
642
- "transform": [
643
- {
644
- "scaleX": 0,
645
- },
646
- ],
647
- }
658
+ [
659
+ {
660
+ "backgroundColor": undefined,
661
+ "borderRadius": 16,
662
+ },
663
+ {
664
+ "flex": 1,
665
+ "transform": [
666
+ {
667
+ "scaleX": 0,
668
+ },
669
+ ],
670
+ },
671
+ ]
648
672
  }
649
673
  themeActive={false}
650
674
  />
@@ -1186,10 +1210,13 @@ exports[`Tabs.Scroll renders correctly 1`] = `
1186
1210
  onResponderTerminationRequest={[Function]}
1187
1211
  onStartShouldSetResponder={[Function]}
1188
1212
  style={
1189
- {
1190
- "marginLeft": 0,
1191
- "paddingVertical": 8,
1192
- }
1213
+ [
1214
+ {
1215
+ "marginLeft": 0,
1216
+ "paddingVertical": 8,
1217
+ },
1218
+ undefined,
1219
+ ]
1193
1220
  }
1194
1221
  >
1195
1222
  <View
@@ -1300,10 +1327,13 @@ exports[`Tabs.Scroll renders correctly 1`] = `
1300
1327
  onResponderTerminationRequest={[Function]}
1301
1328
  onStartShouldSetResponder={[Function]}
1302
1329
  style={
1303
- {
1304
- "marginLeft": 12,
1305
- "paddingVertical": 8,
1306
- }
1330
+ [
1331
+ {
1332
+ "marginLeft": 12,
1333
+ "paddingVertical": 8,
1334
+ },
1335
+ undefined,
1336
+ ]
1307
1337
  }
1308
1338
  >
1309
1339
  <View
@@ -1324,16 +1354,20 @@ exports[`Tabs.Scroll renders correctly 1`] = `
1324
1354
  <View
1325
1355
  collapsable={false}
1326
1356
  style={
1327
- {
1328
- "backgroundColor": undefined,
1329
- "borderRadius": 16,
1330
- "flex": 1,
1331
- "transform": [
1332
- {
1333
- "scaleX": 0,
1334
- },
1335
- ],
1336
- }
1357
+ [
1358
+ {
1359
+ "backgroundColor": undefined,
1360
+ "borderRadius": 16,
1361
+ },
1362
+ {
1363
+ "flex": 1,
1364
+ "transform": [
1365
+ {
1366
+ "scaleX": 0,
1367
+ },
1368
+ ],
1369
+ },
1370
+ ]
1337
1371
  }
1338
1372
  themeActive={false}
1339
1373
  />
@@ -1408,10 +1442,13 @@ exports[`Tabs.Scroll renders correctly 1`] = `
1408
1442
  onResponderTerminationRequest={[Function]}
1409
1443
  onStartShouldSetResponder={[Function]}
1410
1444
  style={
1411
- {
1412
- "marginLeft": 12,
1413
- "paddingVertical": 8,
1414
- }
1445
+ [
1446
+ {
1447
+ "marginLeft": 12,
1448
+ "paddingVertical": 8,
1449
+ },
1450
+ undefined,
1451
+ ]
1415
1452
  }
1416
1453
  >
1417
1454
  <View
@@ -1432,16 +1469,20 @@ exports[`Tabs.Scroll renders correctly 1`] = `
1432
1469
  <View
1433
1470
  collapsable={false}
1434
1471
  style={
1435
- {
1436
- "backgroundColor": undefined,
1437
- "borderRadius": 16,
1438
- "flex": 1,
1439
- "transform": [
1440
- {
1441
- "scaleX": 0,
1442
- },
1443
- ],
1444
- }
1472
+ [
1473
+ {
1474
+ "backgroundColor": undefined,
1475
+ "borderRadius": 16,
1476
+ },
1477
+ {
1478
+ "flex": 1,
1479
+ "transform": [
1480
+ {
1481
+ "scaleX": 0,
1482
+ },
1483
+ ],
1484
+ },
1485
+ ]
1445
1486
  }
1446
1487
  themeActive={false}
1447
1488
  />
@@ -1544,10 +1585,13 @@ exports[`Tabs.Scroll renders correctly 1`] = `
1544
1585
  onResponderTerminationRequest={[Function]}
1545
1586
  onStartShouldSetResponder={[Function]}
1546
1587
  style={
1547
- {
1548
- "marginLeft": 12,
1549
- "paddingVertical": 8,
1550
- }
1588
+ [
1589
+ {
1590
+ "marginLeft": 12,
1591
+ "paddingVertical": 8,
1592
+ },
1593
+ undefined,
1594
+ ]
1551
1595
  }
1552
1596
  >
1553
1597
  <View
@@ -1568,16 +1612,20 @@ exports[`Tabs.Scroll renders correctly 1`] = `
1568
1612
  <View
1569
1613
  collapsable={false}
1570
1614
  style={
1571
- {
1572
- "backgroundColor": undefined,
1573
- "borderRadius": 16,
1574
- "flex": 1,
1575
- "transform": [
1576
- {
1577
- "scaleX": 0,
1578
- },
1579
- ],
1580
- }
1615
+ [
1616
+ {
1617
+ "backgroundColor": undefined,
1618
+ "borderRadius": 16,
1619
+ },
1620
+ {
1621
+ "flex": 1,
1622
+ "transform": [
1623
+ {
1624
+ "scaleX": 0,
1625
+ },
1626
+ ],
1627
+ },
1628
+ ]
1581
1629
  }
1582
1630
  themeActive={false}
1583
1631
  />
@@ -2119,10 +2167,13 @@ exports[`useIsFocused renders correctly 1`] = `
2119
2167
  onResponderTerminationRequest={[Function]}
2120
2168
  onStartShouldSetResponder={[Function]}
2121
2169
  style={
2122
- {
2123
- "marginLeft": 0,
2124
- "paddingVertical": 8,
2125
- }
2170
+ [
2171
+ {
2172
+ "marginLeft": 0,
2173
+ "paddingVertical": 8,
2174
+ },
2175
+ undefined,
2176
+ ]
2126
2177
  }
2127
2178
  >
2128
2179
  <View
@@ -2233,10 +2284,13 @@ exports[`useIsFocused renders correctly 1`] = `
2233
2284
  onResponderTerminationRequest={[Function]}
2234
2285
  onStartShouldSetResponder={[Function]}
2235
2286
  style={
2236
- {
2237
- "marginLeft": 12,
2238
- "paddingVertical": 8,
2239
- }
2287
+ [
2288
+ {
2289
+ "marginLeft": 12,
2290
+ "paddingVertical": 8,
2291
+ },
2292
+ undefined,
2293
+ ]
2240
2294
  }
2241
2295
  >
2242
2296
  <View
@@ -2257,16 +2311,20 @@ exports[`useIsFocused renders correctly 1`] = `
2257
2311
  <View
2258
2312
  collapsable={false}
2259
2313
  style={
2260
- {
2261
- "backgroundColor": undefined,
2262
- "borderRadius": 16,
2263
- "flex": 1,
2264
- "transform": [
2265
- {
2266
- "scaleX": 0,
2267
- },
2268
- ],
2269
- }
2314
+ [
2315
+ {
2316
+ "backgroundColor": undefined,
2317
+ "borderRadius": 16,
2318
+ },
2319
+ {
2320
+ "flex": 1,
2321
+ "transform": [
2322
+ {
2323
+ "scaleX": 0,
2324
+ },
2325
+ ],
2326
+ },
2327
+ ]
2270
2328
  }
2271
2329
  themeActive={false}
2272
2330
  />
@@ -2341,10 +2399,13 @@ exports[`useIsFocused renders correctly 1`] = `
2341
2399
  onResponderTerminationRequest={[Function]}
2342
2400
  onStartShouldSetResponder={[Function]}
2343
2401
  style={
2344
- {
2345
- "marginLeft": 12,
2346
- "paddingVertical": 8,
2347
- }
2402
+ [
2403
+ {
2404
+ "marginLeft": 12,
2405
+ "paddingVertical": 8,
2406
+ },
2407
+ undefined,
2408
+ ]
2348
2409
  }
2349
2410
  >
2350
2411
  <View
@@ -2365,16 +2426,20 @@ exports[`useIsFocused renders correctly 1`] = `
2365
2426
  <View
2366
2427
  collapsable={false}
2367
2428
  style={
2368
- {
2369
- "backgroundColor": undefined,
2370
- "borderRadius": 16,
2371
- "flex": 1,
2372
- "transform": [
2373
- {
2374
- "scaleX": 0,
2375
- },
2376
- ],
2377
- }
2429
+ [
2430
+ {
2431
+ "backgroundColor": undefined,
2432
+ "borderRadius": 16,
2433
+ },
2434
+ {
2435
+ "flex": 1,
2436
+ "transform": [
2437
+ {
2438
+ "scaleX": 0,
2439
+ },
2440
+ ],
2441
+ },
2442
+ ]
2378
2443
  }
2379
2444
  themeActive={false}
2380
2445
  />
@@ -2477,10 +2542,13 @@ exports[`useIsFocused renders correctly 1`] = `
2477
2542
  onResponderTerminationRequest={[Function]}
2478
2543
  onStartShouldSetResponder={[Function]}
2479
2544
  style={
2480
- {
2481
- "marginLeft": 12,
2482
- "paddingVertical": 8,
2483
- }
2545
+ [
2546
+ {
2547
+ "marginLeft": 12,
2548
+ "paddingVertical": 8,
2549
+ },
2550
+ undefined,
2551
+ ]
2484
2552
  }
2485
2553
  >
2486
2554
  <View
@@ -2501,16 +2569,20 @@ exports[`useIsFocused renders correctly 1`] = `
2501
2569
  <View
2502
2570
  collapsable={false}
2503
2571
  style={
2504
- {
2505
- "backgroundColor": undefined,
2506
- "borderRadius": 16,
2507
- "flex": 1,
2508
- "transform": [
2509
- {
2510
- "scaleX": 0,
2511
- },
2512
- ],
2513
- }
2572
+ [
2573
+ {
2574
+ "backgroundColor": undefined,
2575
+ "borderRadius": 16,
2576
+ },
2577
+ {
2578
+ "flex": 1,
2579
+ "transform": [
2580
+ {
2581
+ "scaleX": 0,
2582
+ },
2583
+ ],
2584
+ },
2585
+ ]
2514
2586
  }
2515
2587
  themeActive={false}
2516
2588
  />