@hero-design/rn 8.85.0 → 8.87.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 (42) hide show
  1. package/.turbo/turbo-build.log +8 -2
  2. package/CHANGELOG.md +18 -0
  3. package/es/index.js +10763 -8758
  4. package/lib/index.js +10763 -8758
  5. package/package.json +2 -2
  6. package/src/components/Button/Button.tsx +22 -6
  7. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +8 -2
  8. package/src/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.tsx +3 -0
  9. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +139 -1
  10. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +408 -3
  11. package/src/components/Button/LoadingIndicator/__tests__/index.spec.tsx +3 -0
  12. package/src/components/Button/LoadingIndicator/index.tsx +4 -1
  13. package/src/components/Button/StyledButton.tsx +95 -5
  14. package/src/components/Button/__tests__/Button.spec.tsx +12 -0
  15. package/src/components/Button/__tests__/StyledButton.spec.tsx +10 -0
  16. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1240 -90
  17. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +630 -40
  18. package/src/components/Carousel/CardCarousel.tsx +7 -2
  19. package/src/components/Carousel/StyledCardCarousel.tsx +6 -2
  20. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +28 -1
  21. package/src/components/Carousel/__tests__/StyledCardCarousel.spec.tsx +7 -2
  22. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +1799 -1
  23. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +86 -1
  24. package/src/components/RichTextEditor/RichTextEditor.tsx +30 -1
  25. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +59 -0
  26. package/src/components/RichTextEditor/types.ts +2 -0
  27. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +10 -1
  28. package/src/theme/components/button.ts +5 -0
  29. package/src/theme/components/cardCarousel.ts +5 -1
  30. package/stats/8.86.0/rn-stats.html +4842 -0
  31. package/stats/8.87.0/rn-stats.html +4844 -0
  32. package/stats/8.87.1/rn-stats.html +4842 -0
  33. package/types/components/Button/Button.d.ts +1 -1
  34. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +1 -1
  35. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  36. package/types/components/Button/StyledButton.d.ts +3 -3
  37. package/types/components/Carousel/CardCarousel.d.ts +4 -0
  38. package/types/components/Carousel/StyledCardCarousel.d.ts +2 -0
  39. package/types/components/RichTextEditor/RichTextEditor.d.ts +4 -0
  40. package/types/components/RichTextEditor/types.d.ts +1 -0
  41. package/types/theme/components/button.d.ts +5 -0
  42. package/types/theme/components/cardCarousel.d.ts +5 -1
@@ -276,6 +276,75 @@ exports[`StyledButtonContainer has filled-secondary style 1`] = `
276
276
  </View>
277
277
  `;
278
278
 
279
+ exports[`StyledButtonContainer has filled-white style 1`] = `
280
+ <View
281
+ style={
282
+ {
283
+ "flex": 1,
284
+ }
285
+ }
286
+ >
287
+ <View
288
+ accessibilityValue={
289
+ {
290
+ "max": undefined,
291
+ "min": undefined,
292
+ "now": undefined,
293
+ "text": undefined,
294
+ }
295
+ }
296
+ accessible={true}
297
+ focusable={false}
298
+ onClick={[Function]}
299
+ onResponderGrant={[Function]}
300
+ onResponderMove={[Function]}
301
+ onResponderRelease={[Function]}
302
+ onResponderTerminate={[Function]}
303
+ onResponderTerminationRequest={[Function]}
304
+ onStartShouldSetResponder={[Function]}
305
+ style={
306
+ [
307
+ {
308
+ "alignItems": "center",
309
+ "alignSelf": "stretch",
310
+ "backgroundColor": "#ffffff",
311
+ "borderRadius": 32,
312
+ "flexDirection": "row",
313
+ "height": 60,
314
+ "justifyContent": "center",
315
+ "padding": 16,
316
+ },
317
+ undefined,
318
+ ]
319
+ }
320
+ >
321
+ <Text>
322
+ Title
323
+ </Text>
324
+ </View>
325
+ <View
326
+ pointerEvents="box-none"
327
+ position="bottom"
328
+ style={
329
+ [
330
+ {
331
+ "bottom": 0,
332
+ "elevation": 9999,
333
+ "flexDirection": "column-reverse",
334
+ "left": 0,
335
+ "paddingHorizontal": 24,
336
+ "paddingVertical": 16,
337
+ "position": "absolute",
338
+ "right": 0,
339
+ "top": 0,
340
+ },
341
+ undefined,
342
+ ]
343
+ }
344
+ />
345
+ </View>
346
+ `;
347
+
279
348
  exports[`StyledButtonContainer has outlined-danger style 1`] = `
280
349
  <View
281
350
  style={
@@ -489,6 +558,77 @@ exports[`StyledButtonContainer has outlined-secondary style 1`] = `
489
558
  </View>
490
559
  `;
491
560
 
561
+ exports[`StyledButtonContainer has outlined-white style 1`] = `
562
+ <View
563
+ style={
564
+ {
565
+ "flex": 1,
566
+ }
567
+ }
568
+ >
569
+ <View
570
+ accessibilityValue={
571
+ {
572
+ "max": undefined,
573
+ "min": undefined,
574
+ "now": undefined,
575
+ "text": undefined,
576
+ }
577
+ }
578
+ accessible={true}
579
+ focusable={false}
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
+ "alignSelf": "stretch",
592
+ "backgroundColor": "transparent",
593
+ "borderColor": "#ffffff",
594
+ "borderRadius": 32,
595
+ "borderWidth": 2,
596
+ "flexDirection": "row",
597
+ "height": 60,
598
+ "justifyContent": "center",
599
+ "padding": 14,
600
+ },
601
+ undefined,
602
+ ]
603
+ }
604
+ >
605
+ <Text>
606
+ Title
607
+ </Text>
608
+ </View>
609
+ <View
610
+ pointerEvents="box-none"
611
+ position="bottom"
612
+ style={
613
+ [
614
+ {
615
+ "bottom": 0,
616
+ "elevation": 9999,
617
+ "flexDirection": "column-reverse",
618
+ "left": 0,
619
+ "paddingHorizontal": 24,
620
+ "paddingVertical": 16,
621
+ "position": "absolute",
622
+ "right": 0,
623
+ "top": 0,
624
+ },
625
+ undefined,
626
+ ]
627
+ }
628
+ />
629
+ </View>
630
+ `;
631
+
492
632
  exports[`StyledButtonContainer has text-danger style 1`] = `
493
633
  <View
494
634
  style={
@@ -696,6 +836,75 @@ exports[`StyledButtonContainer has text-secondary style 1`] = `
696
836
  </View>
697
837
  `;
698
838
 
839
+ exports[`StyledButtonContainer has text-white style 1`] = `
840
+ <View
841
+ style={
842
+ {
843
+ "flex": 1,
844
+ }
845
+ }
846
+ >
847
+ <View
848
+ accessibilityValue={
849
+ {
850
+ "max": undefined,
851
+ "min": undefined,
852
+ "now": undefined,
853
+ "text": undefined,
854
+ }
855
+ }
856
+ accessible={true}
857
+ focusable={false}
858
+ onClick={[Function]}
859
+ onResponderGrant={[Function]}
860
+ onResponderMove={[Function]}
861
+ onResponderRelease={[Function]}
862
+ onResponderTerminate={[Function]}
863
+ onResponderTerminationRequest={[Function]}
864
+ onStartShouldSetResponder={[Function]}
865
+ style={
866
+ [
867
+ {
868
+ "alignItems": "center",
869
+ "backgroundColor": "transparent",
870
+ "borderRadius": 4,
871
+ "borderWidth": 0,
872
+ "flexDirection": "row",
873
+ "height": 60,
874
+ "justifyContent": "center",
875
+ "padding": 12,
876
+ },
877
+ undefined,
878
+ ]
879
+ }
880
+ >
881
+ <Text>
882
+ Title
883
+ </Text>
884
+ </View>
885
+ <View
886
+ pointerEvents="box-none"
887
+ position="bottom"
888
+ style={
889
+ [
890
+ {
891
+ "bottom": 0,
892
+ "elevation": 9999,
893
+ "flexDirection": "column-reverse",
894
+ "left": 0,
895
+ "paddingHorizontal": 24,
896
+ "paddingVertical": 16,
897
+ "position": "absolute",
898
+ "right": 0,
899
+ "top": 0,
900
+ },
901
+ undefined,
902
+ ]
903
+ }
904
+ />
905
+ </View>
906
+ `;
907
+
699
908
  exports[`StyledButtonContainer has true style 1`] = `
700
909
  <View
701
910
  style={
@@ -869,23 +1078,227 @@ exports[`StyledButtonContainer renders disabled correctly 1`] = `
869
1078
  style={
870
1079
  [
871
1080
  {
872
- "alignItems": "center",
873
- "alignSelf": "stretch",
874
- "backgroundColor": "#bfc1c5",
875
- "borderRadius": 32,
876
- "flexDirection": "row",
877
- "height": 60,
878
- "justifyContent": "center",
879
- "padding": 16,
1081
+ "alignItems": "center",
1082
+ "alignSelf": "stretch",
1083
+ "backgroundColor": "#bfc1c5",
1084
+ "borderRadius": 32,
1085
+ "flexDirection": "row",
1086
+ "height": 60,
1087
+ "justifyContent": "center",
1088
+ "padding": 16,
1089
+ },
1090
+ undefined,
1091
+ ]
1092
+ }
1093
+ >
1094
+ <Text>
1095
+ Title
1096
+ </Text>
1097
+ </View>
1098
+ <View
1099
+ pointerEvents="box-none"
1100
+ position="bottom"
1101
+ style={
1102
+ [
1103
+ {
1104
+ "bottom": 0,
1105
+ "elevation": 9999,
1106
+ "flexDirection": "column-reverse",
1107
+ "left": 0,
1108
+ "paddingHorizontal": 24,
1109
+ "paddingVertical": 16,
1110
+ "position": "absolute",
1111
+ "right": 0,
1112
+ "top": 0,
1113
+ },
1114
+ undefined,
1115
+ ]
1116
+ }
1117
+ />
1118
+ </View>
1119
+ `;
1120
+
1121
+ exports[`StyledButtonIcon has false style 1`] = `
1122
+ <View
1123
+ style={
1124
+ {
1125
+ "flex": 1,
1126
+ }
1127
+ }
1128
+ >
1129
+ <HeroIcon
1130
+ name="bell"
1131
+ style={
1132
+ [
1133
+ {
1134
+ "color": "#001f23",
1135
+ "fontSize": 24,
1136
+ },
1137
+ [
1138
+ {
1139
+ "color": "#ffffff",
1140
+ "fontSize": 20,
1141
+ },
1142
+ undefined,
1143
+ ],
1144
+ ]
1145
+ }
1146
+ themeIntent="text"
1147
+ themeSize="medium"
1148
+ />
1149
+ <View
1150
+ pointerEvents="box-none"
1151
+ position="bottom"
1152
+ style={
1153
+ [
1154
+ {
1155
+ "bottom": 0,
1156
+ "elevation": 9999,
1157
+ "flexDirection": "column-reverse",
1158
+ "left": 0,
1159
+ "paddingHorizontal": 24,
1160
+ "paddingVertical": 16,
1161
+ "position": "absolute",
1162
+ "right": 0,
1163
+ "top": 0,
1164
+ },
1165
+ undefined,
1166
+ ]
1167
+ }
1168
+ />
1169
+ </View>
1170
+ `;
1171
+
1172
+ exports[`StyledButtonIcon has filled-danger style 1`] = `
1173
+ <View
1174
+ style={
1175
+ {
1176
+ "flex": 1,
1177
+ }
1178
+ }
1179
+ >
1180
+ <HeroIcon
1181
+ name="bell"
1182
+ style={
1183
+ [
1184
+ {
1185
+ "color": "#001f23",
1186
+ "fontSize": 24,
1187
+ },
1188
+ [
1189
+ {
1190
+ "color": "#ffffff",
1191
+ "fontSize": 20,
1192
+ },
1193
+ undefined,
1194
+ ],
1195
+ ]
1196
+ }
1197
+ themeIntent="text"
1198
+ themeSize="medium"
1199
+ />
1200
+ <View
1201
+ pointerEvents="box-none"
1202
+ position="bottom"
1203
+ style={
1204
+ [
1205
+ {
1206
+ "bottom": 0,
1207
+ "elevation": 9999,
1208
+ "flexDirection": "column-reverse",
1209
+ "left": 0,
1210
+ "paddingHorizontal": 24,
1211
+ "paddingVertical": 16,
1212
+ "position": "absolute",
1213
+ "right": 0,
1214
+ "top": 0,
1215
+ },
1216
+ undefined,
1217
+ ]
1218
+ }
1219
+ />
1220
+ </View>
1221
+ `;
1222
+
1223
+ exports[`StyledButtonIcon has filled-primary style 1`] = `
1224
+ <View
1225
+ style={
1226
+ {
1227
+ "flex": 1,
1228
+ }
1229
+ }
1230
+ >
1231
+ <HeroIcon
1232
+ name="bell"
1233
+ style={
1234
+ [
1235
+ {
1236
+ "color": "#001f23",
1237
+ "fontSize": 24,
1238
+ },
1239
+ [
1240
+ {
1241
+ "color": "#ffffff",
1242
+ "fontSize": 20,
1243
+ },
1244
+ undefined,
1245
+ ],
1246
+ ]
1247
+ }
1248
+ themeIntent="text"
1249
+ themeSize="medium"
1250
+ />
1251
+ <View
1252
+ pointerEvents="box-none"
1253
+ position="bottom"
1254
+ style={
1255
+ [
1256
+ {
1257
+ "bottom": 0,
1258
+ "elevation": 9999,
1259
+ "flexDirection": "column-reverse",
1260
+ "left": 0,
1261
+ "paddingHorizontal": 24,
1262
+ "paddingVertical": 16,
1263
+ "position": "absolute",
1264
+ "right": 0,
1265
+ "top": 0,
1266
+ },
1267
+ undefined,
1268
+ ]
1269
+ }
1270
+ />
1271
+ </View>
1272
+ `;
1273
+
1274
+ exports[`StyledButtonIcon has filled-secondary style 1`] = `
1275
+ <View
1276
+ style={
1277
+ {
1278
+ "flex": 1,
1279
+ }
1280
+ }
1281
+ >
1282
+ <HeroIcon
1283
+ name="bell"
1284
+ style={
1285
+ [
1286
+ {
1287
+ "color": "#001f23",
1288
+ "fontSize": 24,
880
1289
  },
881
- undefined,
1290
+ [
1291
+ {
1292
+ "color": "#ffffff",
1293
+ "fontSize": 20,
1294
+ },
1295
+ undefined,
1296
+ ],
882
1297
  ]
883
1298
  }
884
- >
885
- <Text>
886
- Title
887
- </Text>
888
- </View>
1299
+ themeIntent="text"
1300
+ themeSize="medium"
1301
+ />
889
1302
  <View
890
1303
  pointerEvents="box-none"
891
1304
  position="bottom"
@@ -909,7 +1322,7 @@ exports[`StyledButtonContainer renders disabled correctly 1`] = `
909
1322
  </View>
910
1323
  `;
911
1324
 
912
- exports[`StyledButtonIcon has false style 1`] = `
1325
+ exports[`StyledButtonIcon has filled-white style 1`] = `
913
1326
  <View
914
1327
  style={
915
1328
  {
@@ -927,7 +1340,7 @@ exports[`StyledButtonIcon has false style 1`] = `
927
1340
  },
928
1341
  [
929
1342
  {
930
- "color": "#ffffff",
1343
+ "color": "#401960",
931
1344
  "fontSize": 20,
932
1345
  },
933
1346
  undefined,
@@ -960,7 +1373,7 @@ exports[`StyledButtonIcon has false style 1`] = `
960
1373
  </View>
961
1374
  `;
962
1375
 
963
- exports[`StyledButtonIcon has filled-danger style 1`] = `
1376
+ exports[`StyledButtonIcon has outlined-danger style 1`] = `
964
1377
  <View
965
1378
  style={
966
1379
  {
@@ -978,7 +1391,7 @@ exports[`StyledButtonIcon has filled-danger style 1`] = `
978
1391
  },
979
1392
  [
980
1393
  {
981
- "color": "#ffffff",
1394
+ "color": "#cb300a",
982
1395
  "fontSize": 20,
983
1396
  },
984
1397
  undefined,
@@ -1011,7 +1424,7 @@ exports[`StyledButtonIcon has filled-danger style 1`] = `
1011
1424
  </View>
1012
1425
  `;
1013
1426
 
1014
- exports[`StyledButtonIcon has filled-primary style 1`] = `
1427
+ exports[`StyledButtonIcon has outlined-primary style 1`] = `
1015
1428
  <View
1016
1429
  style={
1017
1430
  {
@@ -1029,7 +1442,7 @@ exports[`StyledButtonIcon has filled-primary style 1`] = `
1029
1442
  },
1030
1443
  [
1031
1444
  {
1032
- "color": "#ffffff",
1445
+ "color": "#401960",
1033
1446
  "fontSize": 20,
1034
1447
  },
1035
1448
  undefined,
@@ -1062,7 +1475,7 @@ exports[`StyledButtonIcon has filled-primary style 1`] = `
1062
1475
  </View>
1063
1476
  `;
1064
1477
 
1065
- exports[`StyledButtonIcon has filled-secondary style 1`] = `
1478
+ exports[`StyledButtonIcon has outlined-secondary style 1`] = `
1066
1479
  <View
1067
1480
  style={
1068
1481
  {
@@ -1080,7 +1493,7 @@ exports[`StyledButtonIcon has filled-secondary style 1`] = `
1080
1493
  },
1081
1494
  [
1082
1495
  {
1083
- "color": "#ffffff",
1496
+ "color": "#4d6265",
1084
1497
  "fontSize": 20,
1085
1498
  },
1086
1499
  undefined,
@@ -1113,7 +1526,7 @@ exports[`StyledButtonIcon has filled-secondary style 1`] = `
1113
1526
  </View>
1114
1527
  `;
1115
1528
 
1116
- exports[`StyledButtonIcon has outlined-danger style 1`] = `
1529
+ exports[`StyledButtonIcon has outlined-white style 1`] = `
1117
1530
  <View
1118
1531
  style={
1119
1532
  {
@@ -1131,7 +1544,7 @@ exports[`StyledButtonIcon has outlined-danger style 1`] = `
1131
1544
  },
1132
1545
  [
1133
1546
  {
1134
- "color": "#cb300a",
1547
+ "color": "#ffffff",
1135
1548
  "fontSize": 20,
1136
1549
  },
1137
1550
  undefined,
@@ -1164,7 +1577,7 @@ exports[`StyledButtonIcon has outlined-danger style 1`] = `
1164
1577
  </View>
1165
1578
  `;
1166
1579
 
1167
- exports[`StyledButtonIcon has outlined-primary style 1`] = `
1580
+ exports[`StyledButtonIcon has text-danger style 1`] = `
1168
1581
  <View
1169
1582
  style={
1170
1583
  {
@@ -1182,7 +1595,7 @@ exports[`StyledButtonIcon has outlined-primary style 1`] = `
1182
1595
  },
1183
1596
  [
1184
1597
  {
1185
- "color": "#401960",
1598
+ "color": "#cb300a",
1186
1599
  "fontSize": 20,
1187
1600
  },
1188
1601
  undefined,
@@ -1215,7 +1628,7 @@ exports[`StyledButtonIcon has outlined-primary style 1`] = `
1215
1628
  </View>
1216
1629
  `;
1217
1630
 
1218
- exports[`StyledButtonIcon has outlined-secondary style 1`] = `
1631
+ exports[`StyledButtonIcon has text-danger style 2`] = `
1219
1632
  <View
1220
1633
  style={
1221
1634
  {
@@ -1233,7 +1646,7 @@ exports[`StyledButtonIcon has outlined-secondary style 1`] = `
1233
1646
  },
1234
1647
  [
1235
1648
  {
1236
- "color": "#4d6265",
1649
+ "color": "#f68282",
1237
1650
  "fontSize": 20,
1238
1651
  },
1239
1652
  undefined,
@@ -1266,7 +1679,7 @@ exports[`StyledButtonIcon has outlined-secondary style 1`] = `
1266
1679
  </View>
1267
1680
  `;
1268
1681
 
1269
- exports[`StyledButtonIcon has text-danger style 1`] = `
1682
+ exports[`StyledButtonIcon has text-primary style 1`] = `
1270
1683
  <View
1271
1684
  style={
1272
1685
  {
@@ -1284,7 +1697,7 @@ exports[`StyledButtonIcon has text-danger style 1`] = `
1284
1697
  },
1285
1698
  [
1286
1699
  {
1287
- "color": "#cb300a",
1700
+ "color": "#401960",
1288
1701
  "fontSize": 20,
1289
1702
  },
1290
1703
  undefined,
@@ -1317,7 +1730,7 @@ exports[`StyledButtonIcon has text-danger style 1`] = `
1317
1730
  </View>
1318
1731
  `;
1319
1732
 
1320
- exports[`StyledButtonIcon has text-danger style 2`] = `
1733
+ exports[`StyledButtonIcon has text-primary style 2`] = `
1321
1734
  <View
1322
1735
  style={
1323
1736
  {
@@ -1335,7 +1748,7 @@ exports[`StyledButtonIcon has text-danger style 2`] = `
1335
1748
  },
1336
1749
  [
1337
1750
  {
1338
- "color": "#f68282",
1751
+ "color": "#33144d",
1339
1752
  "fontSize": 20,
1340
1753
  },
1341
1754
  undefined,
@@ -1368,7 +1781,7 @@ exports[`StyledButtonIcon has text-danger style 2`] = `
1368
1781
  </View>
1369
1782
  `;
1370
1783
 
1371
- exports[`StyledButtonIcon has text-primary style 1`] = `
1784
+ exports[`StyledButtonIcon has text-secondary style 1`] = `
1372
1785
  <View
1373
1786
  style={
1374
1787
  {
@@ -1386,7 +1799,7 @@ exports[`StyledButtonIcon has text-primary style 1`] = `
1386
1799
  },
1387
1800
  [
1388
1801
  {
1389
- "color": "#401960",
1802
+ "color": "#4d6265",
1390
1803
  "fontSize": 20,
1391
1804
  },
1392
1805
  undefined,
@@ -1419,7 +1832,7 @@ exports[`StyledButtonIcon has text-primary style 1`] = `
1419
1832
  </View>
1420
1833
  `;
1421
1834
 
1422
- exports[`StyledButtonIcon has text-primary style 2`] = `
1835
+ exports[`StyledButtonIcon has text-secondary style 2`] = `
1423
1836
  <View
1424
1837
  style={
1425
1838
  {
@@ -1437,7 +1850,7 @@ exports[`StyledButtonIcon has text-primary style 2`] = `
1437
1850
  },
1438
1851
  [
1439
1852
  {
1440
- "color": "#33144d",
1853
+ "color": "#001f23",
1441
1854
  "fontSize": 20,
1442
1855
  },
1443
1856
  undefined,
@@ -1470,7 +1883,7 @@ exports[`StyledButtonIcon has text-primary style 2`] = `
1470
1883
  </View>
1471
1884
  `;
1472
1885
 
1473
- exports[`StyledButtonIcon has text-secondary style 1`] = `
1886
+ exports[`StyledButtonIcon has text-white style 1`] = `
1474
1887
  <View
1475
1888
  style={
1476
1889
  {
@@ -1488,7 +1901,7 @@ exports[`StyledButtonIcon has text-secondary style 1`] = `
1488
1901
  },
1489
1902
  [
1490
1903
  {
1491
- "color": "#4d6265",
1904
+ "color": "#ffffff",
1492
1905
  "fontSize": 20,
1493
1906
  },
1494
1907
  undefined,
@@ -1521,7 +1934,7 @@ exports[`StyledButtonIcon has text-secondary style 1`] = `
1521
1934
  </View>
1522
1935
  `;
1523
1936
 
1524
- exports[`StyledButtonIcon has text-secondary style 2`] = `
1937
+ exports[`StyledButtonIcon has text-white style 2`] = `
1525
1938
  <View
1526
1939
  style={
1527
1940
  {
@@ -1539,7 +1952,7 @@ exports[`StyledButtonIcon has text-secondary style 2`] = `
1539
1952
  },
1540
1953
  [
1541
1954
  {
1542
- "color": "#001f23",
1955
+ "color": "#ffffff",
1543
1956
  "fontSize": 20,
1544
1957
  },
1545
1958
  undefined,
@@ -2114,6 +2527,65 @@ exports[`StyledButtonText has filled-secondary style 1`] = `
2114
2527
  </View>
2115
2528
  `;
2116
2529
 
2530
+ exports[`StyledButtonText has filled-white style 1`] = `
2531
+ <View
2532
+ style={
2533
+ {
2534
+ "flex": 1,
2535
+ }
2536
+ }
2537
+ >
2538
+ <Text
2539
+ allowFontScaling={false}
2540
+ style={
2541
+ [
2542
+ {
2543
+ "color": "#001f23",
2544
+ "fontFamily": "BeVietnamPro-Regular",
2545
+ "fontSize": 42,
2546
+ "letterSpacing": 0,
2547
+ "lineHeight": 50,
2548
+ },
2549
+ [
2550
+ {
2551
+ "color": "#401960",
2552
+ "flexShrink": 1,
2553
+ "textAlign": "center",
2554
+ },
2555
+ undefined,
2556
+ ],
2557
+ ]
2558
+ }
2559
+ themeButtonVariant="filled-white"
2560
+ themeIntent="body"
2561
+ themeLevel="h1"
2562
+ themeTypeface="neutral"
2563
+ >
2564
+ Example
2565
+ </Text>
2566
+ <View
2567
+ pointerEvents="box-none"
2568
+ position="bottom"
2569
+ style={
2570
+ [
2571
+ {
2572
+ "bottom": 0,
2573
+ "elevation": 9999,
2574
+ "flexDirection": "column-reverse",
2575
+ "left": 0,
2576
+ "paddingHorizontal": 24,
2577
+ "paddingVertical": 16,
2578
+ "position": "absolute",
2579
+ "right": 0,
2580
+ "top": 0,
2581
+ },
2582
+ undefined,
2583
+ ]
2584
+ }
2585
+ />
2586
+ </View>
2587
+ `;
2588
+
2117
2589
  exports[`StyledButtonText has outlined-danger style 1`] = `
2118
2590
  <View
2119
2591
  style={
@@ -2291,6 +2763,65 @@ exports[`StyledButtonText has outlined-secondary style 1`] = `
2291
2763
  </View>
2292
2764
  `;
2293
2765
 
2766
+ exports[`StyledButtonText has outlined-white style 1`] = `
2767
+ <View
2768
+ style={
2769
+ {
2770
+ "flex": 1,
2771
+ }
2772
+ }
2773
+ >
2774
+ <Text
2775
+ allowFontScaling={false}
2776
+ style={
2777
+ [
2778
+ {
2779
+ "color": "#001f23",
2780
+ "fontFamily": "BeVietnamPro-Regular",
2781
+ "fontSize": 42,
2782
+ "letterSpacing": 0,
2783
+ "lineHeight": 50,
2784
+ },
2785
+ [
2786
+ {
2787
+ "color": "#ffffff",
2788
+ "flexShrink": 1,
2789
+ "textAlign": "center",
2790
+ },
2791
+ undefined,
2792
+ ],
2793
+ ]
2794
+ }
2795
+ themeButtonVariant="outlined-white"
2796
+ themeIntent="body"
2797
+ themeLevel="h1"
2798
+ themeTypeface="neutral"
2799
+ >
2800
+ Example
2801
+ </Text>
2802
+ <View
2803
+ pointerEvents="box-none"
2804
+ position="bottom"
2805
+ style={
2806
+ [
2807
+ {
2808
+ "bottom": 0,
2809
+ "elevation": 9999,
2810
+ "flexDirection": "column-reverse",
2811
+ "left": 0,
2812
+ "paddingHorizontal": 24,
2813
+ "paddingVertical": 16,
2814
+ "position": "absolute",
2815
+ "right": 0,
2816
+ "top": 0,
2817
+ },
2818
+ undefined,
2819
+ ]
2820
+ }
2821
+ />
2822
+ </View>
2823
+ `;
2824
+
2294
2825
  exports[`StyledButtonText has text-danger style 1`] = `
2295
2826
  <View
2296
2827
  style={
@@ -2468,6 +2999,65 @@ exports[`StyledButtonText has text-secondary style 1`] = `
2468
2999
  </View>
2469
3000
  `;
2470
3001
 
3002
+ exports[`StyledButtonText has text-white style 1`] = `
3003
+ <View
3004
+ style={
3005
+ {
3006
+ "flex": 1,
3007
+ }
3008
+ }
3009
+ >
3010
+ <Text
3011
+ allowFontScaling={false}
3012
+ style={
3013
+ [
3014
+ {
3015
+ "color": "#001f23",
3016
+ "fontFamily": "BeVietnamPro-Regular",
3017
+ "fontSize": 42,
3018
+ "letterSpacing": 0,
3019
+ "lineHeight": 50,
3020
+ },
3021
+ [
3022
+ {
3023
+ "color": "#ffffff",
3024
+ "flexShrink": 1,
3025
+ "textAlign": "center",
3026
+ },
3027
+ undefined,
3028
+ ],
3029
+ ]
3030
+ }
3031
+ themeButtonVariant="text-white"
3032
+ themeIntent="body"
3033
+ themeLevel="h1"
3034
+ themeTypeface="neutral"
3035
+ >
3036
+ Example
3037
+ </Text>
3038
+ <View
3039
+ pointerEvents="box-none"
3040
+ position="bottom"
3041
+ style={
3042
+ [
3043
+ {
3044
+ "bottom": 0,
3045
+ "elevation": 9999,
3046
+ "flexDirection": "column-reverse",
3047
+ "left": 0,
3048
+ "paddingHorizontal": 24,
3049
+ "paddingVertical": 16,
3050
+ "position": "absolute",
3051
+ "right": 0,
3052
+ "top": 0,
3053
+ },
3054
+ undefined,
3055
+ ]
3056
+ }
3057
+ />
3058
+ </View>
3059
+ `;
3060
+
2471
3061
  exports[`StyledButtonText renders disabled correctly 1`] = `
2472
3062
  <View
2473
3063
  style={