@hero-design/rn 8.98.1 → 8.99.0

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 (52) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +6 -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/Tabs/ScrollableTabs.tsx +0 -1
  27. package/src/components/Tabs/index.tsx +0 -1
  28. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +2 -2
  29. package/stats/8.98.1/rn-stats.html +3 -1
  30. package/stats/8.99.0/rn-stats.html +4842 -0
  31. package/testUtils/setup.tsx +0 -1
  32. package/types/components/Accordion/StyledAccordion.d.ts +3 -5
  33. package/types/components/Alert/StyledAlert.d.ts +3 -5
  34. package/types/components/Attachment/StyledAttachment.d.ts +3 -5
  35. package/types/components/Avatar/StyledAvatar.d.ts +3 -5
  36. package/types/components/BottomSheet/StyledBottomSheet.d.ts +3 -5
  37. package/types/components/Button/StyledButton.d.ts +3 -5
  38. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +3 -5
  39. package/types/components/Calendar/StyledCalendar.d.ts +3 -5
  40. package/types/components/Checkbox/StyledCheckbox.d.ts +3 -5
  41. package/types/components/Chip/StyledChip.d.ts +2 -5
  42. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +2 -5
  43. package/types/components/FAB/StyledFAB.d.ts +2 -2
  44. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +2 -2
  45. package/types/components/List/StyledBasicListItem.d.ts +3 -5
  46. package/types/components/List/StyledListItem.d.ts +3 -5
  47. package/types/components/Radio/Radio.d.ts +6 -1
  48. package/types/components/Radio/types.d.ts +3 -1
  49. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -5
  50. package/types/components/Swipeable/StyledSwipeable.d.ts +2 -5
  51. package/types/components/Toast/StyledToast.d.ts +3 -5
  52. package/types/components/Toolbar/StyledToolbar.d.ts +3 -5
@@ -17,7 +17,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is basic-transpare
17
17
  "flexDirection": "row",
18
18
  "justifyContent": "center",
19
19
  },
20
- {},
20
+ undefined,
21
21
  ]
22
22
  }
23
23
  >
@@ -45,7 +45,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is basic-transpare
45
45
  "marginHorizontal": 8,
46
46
  "width": 12,
47
47
  },
48
- {},
48
+ undefined,
49
49
  ]
50
50
  }
51
51
  themeVariant="basic-transparent"
@@ -75,7 +75,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is basic-transpare
75
75
  "marginHorizontal": 8,
76
76
  "width": 12,
77
77
  },
78
- {},
78
+ undefined,
79
79
  ]
80
80
  }
81
81
  themeVariant="basic-transparent"
@@ -105,7 +105,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is basic-transpare
105
105
  "marginHorizontal": 8,
106
106
  "width": 12,
107
107
  },
108
- {},
108
+ undefined,
109
109
  ]
110
110
  }
111
111
  themeVariant="basic-transparent"
@@ -152,7 +152,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-danger 1
152
152
  "flexDirection": "row",
153
153
  "justifyContent": "center",
154
154
  },
155
- {},
155
+ undefined,
156
156
  ]
157
157
  }
158
158
  >
@@ -180,7 +180,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-danger 1
180
180
  "marginHorizontal": 8,
181
181
  "width": 12,
182
182
  },
183
- {},
183
+ undefined,
184
184
  ]
185
185
  }
186
186
  themeVariant="filled-danger"
@@ -210,7 +210,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-danger 1
210
210
  "marginHorizontal": 8,
211
211
  "width": 12,
212
212
  },
213
- {},
213
+ undefined,
214
214
  ]
215
215
  }
216
216
  themeVariant="filled-danger"
@@ -240,7 +240,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-danger 1
240
240
  "marginHorizontal": 8,
241
241
  "width": 12,
242
242
  },
243
- {},
243
+ undefined,
244
244
  ]
245
245
  }
246
246
  themeVariant="filled-danger"
@@ -287,7 +287,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-primary
287
287
  "flexDirection": "row",
288
288
  "justifyContent": "center",
289
289
  },
290
- {},
290
+ undefined,
291
291
  ]
292
292
  }
293
293
  >
@@ -315,7 +315,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-primary
315
315
  "marginHorizontal": 8,
316
316
  "width": 12,
317
317
  },
318
- {},
318
+ undefined,
319
319
  ]
320
320
  }
321
321
  themeVariant="filled-primary"
@@ -345,7 +345,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-primary
345
345
  "marginHorizontal": 8,
346
346
  "width": 12,
347
347
  },
348
- {},
348
+ undefined,
349
349
  ]
350
350
  }
351
351
  themeVariant="filled-primary"
@@ -375,7 +375,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-primary
375
375
  "marginHorizontal": 8,
376
376
  "width": 12,
377
377
  },
378
- {},
378
+ undefined,
379
379
  ]
380
380
  }
381
381
  themeVariant="filled-primary"
@@ -422,7 +422,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-secondar
422
422
  "flexDirection": "row",
423
423
  "justifyContent": "center",
424
424
  },
425
- {},
425
+ undefined,
426
426
  ]
427
427
  }
428
428
  >
@@ -450,7 +450,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-secondar
450
450
  "marginHorizontal": 8,
451
451
  "width": 12,
452
452
  },
453
- {},
453
+ undefined,
454
454
  ]
455
455
  }
456
456
  themeVariant="filled-secondary"
@@ -480,7 +480,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-secondar
480
480
  "marginHorizontal": 8,
481
481
  "width": 12,
482
482
  },
483
- {},
483
+ undefined,
484
484
  ]
485
485
  }
486
486
  themeVariant="filled-secondary"
@@ -510,7 +510,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-secondar
510
510
  "marginHorizontal": 8,
511
511
  "width": 12,
512
512
  },
513
- {},
513
+ undefined,
514
514
  ]
515
515
  }
516
516
  themeVariant="filled-secondary"
@@ -557,7 +557,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-white 1`
557
557
  "flexDirection": "row",
558
558
  "justifyContent": "center",
559
559
  },
560
- {},
560
+ undefined,
561
561
  ]
562
562
  }
563
563
  >
@@ -585,7 +585,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-white 1`
585
585
  "marginHorizontal": 8,
586
586
  "width": 12,
587
587
  },
588
- {},
588
+ undefined,
589
589
  ]
590
590
  }
591
591
  themeVariant="filled-white"
@@ -615,7 +615,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-white 1`
615
615
  "marginHorizontal": 8,
616
616
  "width": 12,
617
617
  },
618
- {},
618
+ undefined,
619
619
  ]
620
620
  }
621
621
  themeVariant="filled-white"
@@ -645,7 +645,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is filled-white 1`
645
645
  "marginHorizontal": 8,
646
646
  "width": 12,
647
647
  },
648
- {},
648
+ undefined,
649
649
  ]
650
650
  }
651
651
  themeVariant="filled-white"
@@ -692,7 +692,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-danger
692
692
  "flexDirection": "row",
693
693
  "justifyContent": "center",
694
694
  },
695
- {},
695
+ undefined,
696
696
  ]
697
697
  }
698
698
  >
@@ -720,7 +720,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-danger
720
720
  "marginHorizontal": 8,
721
721
  "width": 12,
722
722
  },
723
- {},
723
+ undefined,
724
724
  ]
725
725
  }
726
726
  themeVariant="outlined-danger"
@@ -750,7 +750,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-danger
750
750
  "marginHorizontal": 8,
751
751
  "width": 12,
752
752
  },
753
- {},
753
+ undefined,
754
754
  ]
755
755
  }
756
756
  themeVariant="outlined-danger"
@@ -780,7 +780,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-danger
780
780
  "marginHorizontal": 8,
781
781
  "width": 12,
782
782
  },
783
- {},
783
+ undefined,
784
784
  ]
785
785
  }
786
786
  themeVariant="outlined-danger"
@@ -827,7 +827,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-primar
827
827
  "flexDirection": "row",
828
828
  "justifyContent": "center",
829
829
  },
830
- {},
830
+ undefined,
831
831
  ]
832
832
  }
833
833
  >
@@ -855,7 +855,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-primar
855
855
  "marginHorizontal": 8,
856
856
  "width": 12,
857
857
  },
858
- {},
858
+ undefined,
859
859
  ]
860
860
  }
861
861
  themeVariant="outlined-primary"
@@ -885,7 +885,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-primar
885
885
  "marginHorizontal": 8,
886
886
  "width": 12,
887
887
  },
888
- {},
888
+ undefined,
889
889
  ]
890
890
  }
891
891
  themeVariant="outlined-primary"
@@ -915,7 +915,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-primar
915
915
  "marginHorizontal": 8,
916
916
  "width": 12,
917
917
  },
918
- {},
918
+ undefined,
919
919
  ]
920
920
  }
921
921
  themeVariant="outlined-primary"
@@ -962,7 +962,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-second
962
962
  "flexDirection": "row",
963
963
  "justifyContent": "center",
964
964
  },
965
- {},
965
+ undefined,
966
966
  ]
967
967
  }
968
968
  >
@@ -990,7 +990,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-second
990
990
  "marginHorizontal": 8,
991
991
  "width": 12,
992
992
  },
993
- {},
993
+ undefined,
994
994
  ]
995
995
  }
996
996
  themeVariant="outlined-secondary"
@@ -1020,7 +1020,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-second
1020
1020
  "marginHorizontal": 8,
1021
1021
  "width": 12,
1022
1022
  },
1023
- {},
1023
+ undefined,
1024
1024
  ]
1025
1025
  }
1026
1026
  themeVariant="outlined-secondary"
@@ -1050,7 +1050,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-second
1050
1050
  "marginHorizontal": 8,
1051
1051
  "width": 12,
1052
1052
  },
1053
- {},
1053
+ undefined,
1054
1054
  ]
1055
1055
  }
1056
1056
  themeVariant="outlined-secondary"
@@ -1097,7 +1097,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-white
1097
1097
  "flexDirection": "row",
1098
1098
  "justifyContent": "center",
1099
1099
  },
1100
- {},
1100
+ undefined,
1101
1101
  ]
1102
1102
  }
1103
1103
  >
@@ -1125,7 +1125,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-white
1125
1125
  "marginHorizontal": 8,
1126
1126
  "width": 12,
1127
1127
  },
1128
- {},
1128
+ undefined,
1129
1129
  ]
1130
1130
  }
1131
1131
  themeVariant="outlined-white"
@@ -1155,7 +1155,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-white
1155
1155
  "marginHorizontal": 8,
1156
1156
  "width": 12,
1157
1157
  },
1158
- {},
1158
+ undefined,
1159
1159
  ]
1160
1160
  }
1161
1161
  themeVariant="outlined-white"
@@ -1185,7 +1185,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-white
1185
1185
  "marginHorizontal": 8,
1186
1186
  "width": 12,
1187
1187
  },
1188
- {},
1188
+ undefined,
1189
1189
  ]
1190
1190
  }
1191
1191
  themeVariant="outlined-white"
@@ -1232,7 +1232,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-danger 1`]
1232
1232
  "flexDirection": "row",
1233
1233
  "justifyContent": "center",
1234
1234
  },
1235
- {},
1235
+ undefined,
1236
1236
  ]
1237
1237
  }
1238
1238
  >
@@ -1260,7 +1260,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-danger 1`]
1260
1260
  "marginHorizontal": 8,
1261
1261
  "width": 12,
1262
1262
  },
1263
- {},
1263
+ undefined,
1264
1264
  ]
1265
1265
  }
1266
1266
  themeVariant="text-danger"
@@ -1290,7 +1290,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-danger 1`]
1290
1290
  "marginHorizontal": 8,
1291
1291
  "width": 12,
1292
1292
  },
1293
- {},
1293
+ undefined,
1294
1294
  ]
1295
1295
  }
1296
1296
  themeVariant="text-danger"
@@ -1320,7 +1320,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-danger 1`]
1320
1320
  "marginHorizontal": 8,
1321
1321
  "width": 12,
1322
1322
  },
1323
- {},
1323
+ undefined,
1324
1324
  ]
1325
1325
  }
1326
1326
  themeVariant="text-danger"
@@ -1367,7 +1367,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-primary 1`
1367
1367
  "flexDirection": "row",
1368
1368
  "justifyContent": "center",
1369
1369
  },
1370
- {},
1370
+ undefined,
1371
1371
  ]
1372
1372
  }
1373
1373
  >
@@ -1395,7 +1395,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-primary 1`
1395
1395
  "marginHorizontal": 8,
1396
1396
  "width": 12,
1397
1397
  },
1398
- {},
1398
+ undefined,
1399
1399
  ]
1400
1400
  }
1401
1401
  themeVariant="text-primary"
@@ -1425,7 +1425,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-primary 1`
1425
1425
  "marginHorizontal": 8,
1426
1426
  "width": 12,
1427
1427
  },
1428
- {},
1428
+ undefined,
1429
1429
  ]
1430
1430
  }
1431
1431
  themeVariant="text-primary"
@@ -1455,7 +1455,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-primary 1`
1455
1455
  "marginHorizontal": 8,
1456
1456
  "width": 12,
1457
1457
  },
1458
- {},
1458
+ undefined,
1459
1459
  ]
1460
1460
  }
1461
1461
  themeVariant="text-primary"
@@ -1502,7 +1502,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-secondary
1502
1502
  "flexDirection": "row",
1503
1503
  "justifyContent": "center",
1504
1504
  },
1505
- {},
1505
+ undefined,
1506
1506
  ]
1507
1507
  }
1508
1508
  >
@@ -1530,7 +1530,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-secondary
1530
1530
  "marginHorizontal": 8,
1531
1531
  "width": 12,
1532
1532
  },
1533
- {},
1533
+ undefined,
1534
1534
  ]
1535
1535
  }
1536
1536
  themeVariant="text-secondary"
@@ -1560,7 +1560,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-secondary
1560
1560
  "marginHorizontal": 8,
1561
1561
  "width": 12,
1562
1562
  },
1563
- {},
1563
+ undefined,
1564
1564
  ]
1565
1565
  }
1566
1566
  themeVariant="text-secondary"
@@ -1590,7 +1590,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-secondary
1590
1590
  "marginHorizontal": 8,
1591
1591
  "width": 12,
1592
1592
  },
1593
- {},
1593
+ undefined,
1594
1594
  ]
1595
1595
  }
1596
1596
  themeVariant="text-secondary"
@@ -1637,7 +1637,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-white 1`]
1637
1637
  "flexDirection": "row",
1638
1638
  "justifyContent": "center",
1639
1639
  },
1640
- {},
1640
+ undefined,
1641
1641
  ]
1642
1642
  }
1643
1643
  >
@@ -1665,7 +1665,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-white 1`]
1665
1665
  "marginHorizontal": 8,
1666
1666
  "width": 12,
1667
1667
  },
1668
- {},
1668
+ undefined,
1669
1669
  ]
1670
1670
  }
1671
1671
  themeVariant="text-white"
@@ -1695,7 +1695,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-white 1`]
1695
1695
  "marginHorizontal": 8,
1696
1696
  "width": 12,
1697
1697
  },
1698
- {},
1698
+ undefined,
1699
1699
  ]
1700
1700
  }
1701
1701
  themeVariant="text-white"
@@ -1725,7 +1725,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-white 1`]
1725
1725
  "marginHorizontal": 8,
1726
1726
  "width": 12,
1727
1727
  },
1728
- {},
1728
+ undefined,
1729
1729
  ]
1730
1730
  }
1731
1731
  themeVariant="text-white"