@terreno/ui 0.9.3 → 0.11.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 (94) hide show
  1. package/dist/Banner.js +2 -2
  2. package/dist/Banner.js.map +1 -1
  3. package/dist/Common.d.ts +6 -10
  4. package/dist/Common.js.map +1 -1
  5. package/dist/ConsentHistory.d.ts +2 -1
  6. package/dist/DataTable.js +4 -2
  7. package/dist/DataTable.js.map +1 -1
  8. package/dist/DateUtilities.js +16 -7
  9. package/dist/DateUtilities.js.map +1 -1
  10. package/dist/DraggableList.d.ts +5 -4
  11. package/dist/DraggableList.js.map +1 -1
  12. package/dist/Icon.js +0 -3
  13. package/dist/Icon.js.map +1 -1
  14. package/dist/PasswordField.d.ts +1 -1
  15. package/dist/PasswordField.js.map +1 -1
  16. package/dist/TextFieldNumberActionSheet.d.ts +1 -1
  17. package/dist/Toast.d.ts +1 -1
  18. package/dist/Toast.js +2 -2
  19. package/dist/Toast.js.map +1 -1
  20. package/dist/index.d.ts +2 -2
  21. package/package.json +2 -1
  22. package/src/ActionSheet.test.tsx +262 -3
  23. package/src/AddressField.test.tsx +50 -0
  24. package/src/Banner.test.tsx +22 -0
  25. package/src/Banner.tsx +2 -2
  26. package/src/Box.test.tsx +218 -0
  27. package/src/Button.test.tsx +71 -0
  28. package/src/Common.ts +11 -9
  29. package/src/ConsentFormScreen.test.tsx +167 -0
  30. package/src/ConsentHistory.tsx +1 -1
  31. package/src/ConsentNavigator.test.tsx +210 -4
  32. package/src/DataTable.tsx +15 -15
  33. package/src/DateUtilities.test.ts +34 -16
  34. package/src/DateUtilities.tsx +24 -13
  35. package/src/DecimalRangeActionSheet.test.tsx +53 -2
  36. package/src/DraggableList.tsx +5 -5
  37. package/src/EmailField.test.tsx +81 -0
  38. package/src/EmojiSelector.test.tsx +262 -1
  39. package/src/ErrorBoundary.test.tsx +52 -1
  40. package/src/HeightActionSheet.test.tsx +57 -2
  41. package/src/Icon.tsx +0 -3
  42. package/src/InfoModalIcon.test.tsx +16 -0
  43. package/src/InfoTooltipButton.test.tsx +53 -1
  44. package/src/MobileAddressAutoComplete.test.tsx +137 -7
  45. package/src/Modal.test.tsx +188 -0
  46. package/src/NumberPickerActionSheet.test.tsx +59 -2
  47. package/src/OpenAPIContext.test.tsx +184 -3
  48. package/src/Page.test.tsx +162 -1
  49. package/src/Pagination.test.tsx +16 -0
  50. package/src/PasswordField.tsx +1 -1
  51. package/src/PhoneNumberField.test.tsx +46 -9
  52. package/src/PickerSelect.test.tsx +230 -0
  53. package/src/SegmentedControl.test.tsx +38 -0
  54. package/src/SelectBadge.test.tsx +52 -1
  55. package/src/SideDrawer.test.tsx +69 -0
  56. package/src/Signature.test.tsx +42 -5
  57. package/src/SignatureField.test.tsx +35 -0
  58. package/src/Slider.test.tsx +59 -0
  59. package/src/Spinner.test.tsx +6 -0
  60. package/src/SplitPage.test.tsx +228 -2
  61. package/src/TapToEdit.test.tsx +171 -1
  62. package/src/TerrenoProvider.test.tsx +42 -2
  63. package/src/TextFieldNumberActionSheet.tsx +1 -1
  64. package/src/Theme.test.tsx +118 -28
  65. package/src/Toast.test.tsx +95 -2
  66. package/src/Toast.tsx +3 -3
  67. package/src/Tooltip.test.tsx +204 -1
  68. package/src/UnifiedAddressAutoComplete.test.tsx +38 -19
  69. package/src/UserInactivity.test.tsx +73 -1
  70. package/src/Utilities.test.tsx +190 -2
  71. package/src/WebAddressAutocomplete.test.tsx +148 -1
  72. package/src/__snapshots__/ActionSheet.test.tsx.snap +1736 -0
  73. package/src/__snapshots__/Button.test.tsx.snap +68 -0
  74. package/src/__snapshots__/EmojiSelector.test.tsx.snap +1363 -0
  75. package/src/__snapshots__/InfoTooltipButton.test.tsx.snap +72 -3
  76. package/src/__snapshots__/MobileAddressAutoComplete.test.tsx.snap +60 -9
  77. package/src/__snapshots__/Modal.test.tsx.snap +181 -0
  78. package/src/__snapshots__/Page.test.tsx.snap +48 -2
  79. package/src/__snapshots__/PhoneNumberField.test.tsx.snap +0 -93
  80. package/src/__snapshots__/PickerSelect.test.tsx.snap +706 -0
  81. package/src/__snapshots__/SideDrawer.test.tsx.snap +533 -1399
  82. package/src/__snapshots__/Signature.test.tsx.snap +0 -3
  83. package/src/__snapshots__/SplitPage.test.tsx.snap +970 -0
  84. package/src/__snapshots__/UnifiedAddressAutoComplete.test.tsx.snap +220 -4
  85. package/src/__snapshots__/WebAddressAutocomplete.test.tsx.snap +93 -0
  86. package/src/bunSetup.ts +204 -121
  87. package/src/index.tsx +2 -2
  88. package/src/table/TableHeaderCell.test.tsx +142 -0
  89. package/src/table/TableRow.test.tsx +33 -0
  90. package/src/table/__snapshots__/TableRow.test.tsx.snap +403 -0
  91. package/src/table/tableContext.test.tsx +96 -0
  92. package/src/test-utils.tsx +1 -1
  93. package/src/useConsentForms.test.ts +130 -0
  94. package/src/useSubmitConsent.test.ts +64 -0
@@ -887,3 +887,1739 @@ exports[`ActionSheet renders with gesture enabled 1`] = `
887
887
  "type": "Modal",
888
888
  }
889
889
  `;
890
+
891
+ exports[`ActionSheet renders with elevation prop 1`] = `
892
+ {
893
+ "$$typeof": Symbol(react.test.json),
894
+ "children": [
895
+ {
896
+ "$$typeof": Symbol(react.test.json),
897
+ "children": [
898
+ {
899
+ "$$typeof": Symbol(react.test.json),
900
+ "children": [
901
+ {
902
+ "$$typeof": Symbol(react.test.json),
903
+ "children": null,
904
+ "props": {
905
+ "style": undefined,
906
+ "testID": undefined,
907
+ },
908
+ "type": "View",
909
+ },
910
+ ],
911
+ "props": {
912
+ "ref": {
913
+ "current": null,
914
+ },
915
+ "style": {
916
+ "left": 999999,
917
+ "position": "absolute",
918
+ "top": 999999,
919
+ },
920
+ },
921
+ "type": "SafeAreaView",
922
+ },
923
+ {
924
+ "$$typeof": Symbol(react.test.json),
925
+ "children": [
926
+ {
927
+ "$$typeof": Symbol(react.test.json),
928
+ "children": [
929
+ {
930
+ "$$typeof": Symbol(react.test.json),
931
+ "children": null,
932
+ "props": {
933
+ "onTouchEnd": [Function],
934
+ "onTouchMove": [Function],
935
+ "onTouchStart": [Function],
936
+ "style": {
937
+ "backgroundColor": "black",
938
+ "height": "100%",
939
+ "opacity": 0.3,
940
+ "position": "absolute",
941
+ "width": "100%",
942
+ "zIndex": 1,
943
+ },
944
+ "testID": undefined,
945
+ },
946
+ "type": "View",
947
+ },
948
+ {
949
+ "$$typeof": Symbol(react.test.json),
950
+ "children": [
951
+ {
952
+ "$$typeof": Symbol(react.test.json),
953
+ "children": null,
954
+ "props": {
955
+ "aria-role": "button",
956
+ "onLongPress": [Function],
957
+ "onPress": [Function],
958
+ "style": {
959
+ "height": 933.8,
960
+ "width": "100%",
961
+ },
962
+ },
963
+ "type": "Pressable",
964
+ },
965
+ ],
966
+ "props": {
967
+ "onTouchEnd": [Function],
968
+ "onTouchMove": [Function],
969
+ "onTouchStart": [Function],
970
+ "style": {
971
+ "height": 933.8,
972
+ "width": "100%",
973
+ "zIndex": 10,
974
+ },
975
+ "testID": undefined,
976
+ },
977
+ "type": "View",
978
+ },
979
+ {
980
+ "$$typeof": Symbol(react.test.json),
981
+ "children": [
982
+ {
983
+ "$$typeof": Symbol(react.test.json),
984
+ "children": [
985
+ {
986
+ "$$typeof": Symbol(react.test.json),
987
+ "children": [
988
+ "Elevated",
989
+ ],
990
+ "props": {
991
+ "style": undefined,
992
+ },
993
+ "type": "Text",
994
+ },
995
+ ],
996
+ "props": {
997
+ "style": {
998
+ "marginTop": 0,
999
+ "maxHeight": 812,
1000
+ "transform": [
1001
+ {
1002
+ "translateY": Value {
1003
+ "_value": 0,
1004
+ "addListener": [class Function],
1005
+ "animate": [class Function],
1006
+ "extractOffset": [class Function],
1007
+ "flattenOffset": [class Function],
1008
+ "interpolate": [class Function],
1009
+ "removeAllListeners": [class Function],
1010
+ "removeListener": [class Function],
1011
+ "resetAnimation": [class Function],
1012
+ "setOffset": [class Function],
1013
+ "setValue": [class Function],
1014
+ "stopAnimation": [class Function],
1015
+ "stopTracking": [class Function],
1016
+ "track": [class Function],
1017
+ },
1018
+ },
1019
+ ],
1020
+ },
1021
+ "testID": undefined,
1022
+ },
1023
+ "type": "View",
1024
+ },
1025
+ ],
1026
+ "props": {
1027
+ "onLayout": [Function: AsyncFunction],
1028
+ "style": [
1029
+ {
1030
+ "alignSelf": "center",
1031
+ "backgroundColor": "white",
1032
+ "width": "100%",
1033
+ },
1034
+ {
1035
+ "borderRadius": 10,
1036
+ },
1037
+ undefined,
1038
+ {
1039
+ "boxShadow": "3px 5px 7px rgba(0, 0, 0, 0.2)",
1040
+ "elevation": 10,
1041
+ "maxHeight": 812,
1042
+ "opacity": Value {
1043
+ "_value": 0,
1044
+ "addListener": [class Function],
1045
+ "animate": [class Function],
1046
+ "extractOffset": [class Function],
1047
+ "flattenOffset": [class Function],
1048
+ "interpolate": [class Function],
1049
+ "removeAllListeners": [class Function],
1050
+ "removeListener": [class Function],
1051
+ "resetAnimation": [class Function],
1052
+ "setOffset": [class Function],
1053
+ "setValue": [class Function],
1054
+ "stopAnimation": [class Function],
1055
+ "stopTracking": [class Function],
1056
+ "track": [class Function],
1057
+ },
1058
+ "transform": [
1059
+ {
1060
+ "translateY": Value {
1061
+ "_value": 0,
1062
+ "addListener": [class Function],
1063
+ "animate": [class Function],
1064
+ "extractOffset": [class Function],
1065
+ "flattenOffset": [class Function],
1066
+ "interpolate": [class Function],
1067
+ "removeAllListeners": [class Function],
1068
+ "removeListener": [class Function],
1069
+ "resetAnimation": [class Function],
1070
+ "setOffset": [class Function],
1071
+ "setValue": [class Function],
1072
+ "stopAnimation": [class Function],
1073
+ "stopTracking": [class Function],
1074
+ "track": [class Function],
1075
+ },
1076
+ },
1077
+ ],
1078
+ "zIndex": 11,
1079
+ },
1080
+ ],
1081
+ "testID": undefined,
1082
+ },
1083
+ "type": "View",
1084
+ },
1085
+ ],
1086
+ "props": {
1087
+ "style": {
1088
+ "width": "100%",
1089
+ },
1090
+ "testID": undefined,
1091
+ },
1092
+ "type": "View",
1093
+ },
1094
+ ],
1095
+ "props": {
1096
+ "bounces": false,
1097
+ "contentContainerStyle": {
1098
+ "width": 375,
1099
+ },
1100
+ "keyboardShouldPersistTaps": undefined,
1101
+ "onMomentumScrollBegin": [Function: AsyncFunction],
1102
+ "onMomentumScrollEnd": [Function: AsyncFunction],
1103
+ "onScroll": [Function],
1104
+ "onScrollBeginDrag": [Function: AsyncFunction],
1105
+ "onTouchEnd": [Function],
1106
+ "ref": {
1107
+ "current": null,
1108
+ },
1109
+ "scrollEnabled": false,
1110
+ "scrollEventThrottle": 5,
1111
+ "scrollsToTop": false,
1112
+ "showsVerticalScrollIndicator": false,
1113
+ "style": [
1114
+ {
1115
+ "backgroundColor": "transparent",
1116
+ "height": "100%",
1117
+ "width": "100%",
1118
+ },
1119
+ {
1120
+ "width": 375,
1121
+ },
1122
+ ],
1123
+ },
1124
+ "type": "FlatList",
1125
+ },
1126
+ ],
1127
+ "props": {
1128
+ "onLayout": [Function: AsyncFunction],
1129
+ "style": [
1130
+ {
1131
+ "alignItems": "center",
1132
+ "height": "100%",
1133
+ "justifyContent": "center",
1134
+ "width": "100%",
1135
+ },
1136
+ {
1137
+ "opacity": Value {
1138
+ "_value": 0,
1139
+ "addListener": [class Function],
1140
+ "animate": [class Function],
1141
+ "extractOffset": [class Function],
1142
+ "flattenOffset": [class Function],
1143
+ "interpolate": [class Function],
1144
+ "removeAllListeners": [class Function],
1145
+ "removeListener": [class Function],
1146
+ "resetAnimation": [class Function],
1147
+ "setOffset": [class Function],
1148
+ "setValue": [class Function],
1149
+ "stopAnimation": [class Function],
1150
+ "stopTracking": [class Function],
1151
+ "track": [class Function],
1152
+ },
1153
+ "width": 375,
1154
+ },
1155
+ ],
1156
+ "testID": undefined,
1157
+ },
1158
+ "type": "View",
1159
+ },
1160
+ ],
1161
+ "props": {
1162
+ "animationType": "none",
1163
+ "onRequestClose": [Function],
1164
+ "onShow": undefined,
1165
+ "statusBarTranslucent": true,
1166
+ "supportedOrientations": [
1167
+ "portrait",
1168
+ "portrait-upside-down",
1169
+ "landscape",
1170
+ "landscape-left",
1171
+ "landscape-right",
1172
+ ],
1173
+ "transparent": true,
1174
+ "visible": false,
1175
+ },
1176
+ "type": "Modal",
1177
+ }
1178
+ `;
1179
+
1180
+ exports[`ActionSheet renders with indicator color 1`] = `
1181
+ {
1182
+ "$$typeof": Symbol(react.test.json),
1183
+ "children": [
1184
+ {
1185
+ "$$typeof": Symbol(react.test.json),
1186
+ "children": [
1187
+ {
1188
+ "$$typeof": Symbol(react.test.json),
1189
+ "children": [
1190
+ {
1191
+ "$$typeof": Symbol(react.test.json),
1192
+ "children": null,
1193
+ "props": {
1194
+ "style": undefined,
1195
+ "testID": undefined,
1196
+ },
1197
+ "type": "View",
1198
+ },
1199
+ ],
1200
+ "props": {
1201
+ "ref": {
1202
+ "current": null,
1203
+ },
1204
+ "style": {
1205
+ "left": 999999,
1206
+ "position": "absolute",
1207
+ "top": 999999,
1208
+ },
1209
+ },
1210
+ "type": "SafeAreaView",
1211
+ },
1212
+ {
1213
+ "$$typeof": Symbol(react.test.json),
1214
+ "children": [
1215
+ {
1216
+ "$$typeof": Symbol(react.test.json),
1217
+ "children": [
1218
+ {
1219
+ "$$typeof": Symbol(react.test.json),
1220
+ "children": null,
1221
+ "props": {
1222
+ "onTouchEnd": [Function],
1223
+ "onTouchMove": [Function],
1224
+ "onTouchStart": [Function],
1225
+ "style": {
1226
+ "backgroundColor": "black",
1227
+ "height": "100%",
1228
+ "opacity": 0.3,
1229
+ "position": "absolute",
1230
+ "width": "100%",
1231
+ "zIndex": 1,
1232
+ },
1233
+ "testID": undefined,
1234
+ },
1235
+ "type": "View",
1236
+ },
1237
+ {
1238
+ "$$typeof": Symbol(react.test.json),
1239
+ "children": [
1240
+ {
1241
+ "$$typeof": Symbol(react.test.json),
1242
+ "children": null,
1243
+ "props": {
1244
+ "aria-role": "button",
1245
+ "onLongPress": [Function],
1246
+ "onPress": [Function],
1247
+ "style": {
1248
+ "height": 933.8,
1249
+ "width": "100%",
1250
+ },
1251
+ },
1252
+ "type": "Pressable",
1253
+ },
1254
+ ],
1255
+ "props": {
1256
+ "onTouchEnd": [Function],
1257
+ "onTouchMove": [Function],
1258
+ "onTouchStart": [Function],
1259
+ "style": {
1260
+ "height": 933.8,
1261
+ "width": "100%",
1262
+ "zIndex": 10,
1263
+ },
1264
+ "testID": undefined,
1265
+ },
1266
+ "type": "View",
1267
+ },
1268
+ {
1269
+ "$$typeof": Symbol(react.test.json),
1270
+ "children": [
1271
+ {
1272
+ "$$typeof": Symbol(react.test.json),
1273
+ "children": [
1274
+ {
1275
+ "$$typeof": Symbol(react.test.json),
1276
+ "children": [
1277
+ "Indicator",
1278
+ ],
1279
+ "props": {
1280
+ "style": undefined,
1281
+ },
1282
+ "type": "Text",
1283
+ },
1284
+ ],
1285
+ "props": {
1286
+ "style": {
1287
+ "marginTop": 0,
1288
+ "maxHeight": 812,
1289
+ "transform": [
1290
+ {
1291
+ "translateY": Value {
1292
+ "_value": 0,
1293
+ "addListener": [class Function],
1294
+ "animate": [class Function],
1295
+ "extractOffset": [class Function],
1296
+ "flattenOffset": [class Function],
1297
+ "interpolate": [class Function],
1298
+ "removeAllListeners": [class Function],
1299
+ "removeListener": [class Function],
1300
+ "resetAnimation": [class Function],
1301
+ "setOffset": [class Function],
1302
+ "setValue": [class Function],
1303
+ "stopAnimation": [class Function],
1304
+ "stopTracking": [class Function],
1305
+ "track": [class Function],
1306
+ },
1307
+ },
1308
+ ],
1309
+ },
1310
+ "testID": undefined,
1311
+ },
1312
+ "type": "View",
1313
+ },
1314
+ ],
1315
+ "props": {
1316
+ "onLayout": [Function: AsyncFunction],
1317
+ "style": [
1318
+ {
1319
+ "alignSelf": "center",
1320
+ "backgroundColor": "white",
1321
+ "width": "100%",
1322
+ },
1323
+ {
1324
+ "borderRadius": 10,
1325
+ },
1326
+ undefined,
1327
+ {
1328
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
1329
+ "elevation": 5,
1330
+ "maxHeight": 812,
1331
+ "opacity": Value {
1332
+ "_value": 0,
1333
+ "addListener": [class Function],
1334
+ "animate": [class Function],
1335
+ "extractOffset": [class Function],
1336
+ "flattenOffset": [class Function],
1337
+ "interpolate": [class Function],
1338
+ "removeAllListeners": [class Function],
1339
+ "removeListener": [class Function],
1340
+ "resetAnimation": [class Function],
1341
+ "setOffset": [class Function],
1342
+ "setValue": [class Function],
1343
+ "stopAnimation": [class Function],
1344
+ "stopTracking": [class Function],
1345
+ "track": [class Function],
1346
+ },
1347
+ "transform": [
1348
+ {
1349
+ "translateY": Value {
1350
+ "_value": 0,
1351
+ "addListener": [class Function],
1352
+ "animate": [class Function],
1353
+ "extractOffset": [class Function],
1354
+ "flattenOffset": [class Function],
1355
+ "interpolate": [class Function],
1356
+ "removeAllListeners": [class Function],
1357
+ "removeListener": [class Function],
1358
+ "resetAnimation": [class Function],
1359
+ "setOffset": [class Function],
1360
+ "setValue": [class Function],
1361
+ "stopAnimation": [class Function],
1362
+ "stopTracking": [class Function],
1363
+ "track": [class Function],
1364
+ },
1365
+ },
1366
+ ],
1367
+ "zIndex": 11,
1368
+ },
1369
+ ],
1370
+ "testID": undefined,
1371
+ },
1372
+ "type": "View",
1373
+ },
1374
+ ],
1375
+ "props": {
1376
+ "style": {
1377
+ "width": "100%",
1378
+ },
1379
+ "testID": undefined,
1380
+ },
1381
+ "type": "View",
1382
+ },
1383
+ ],
1384
+ "props": {
1385
+ "bounces": false,
1386
+ "contentContainerStyle": {
1387
+ "width": 375,
1388
+ },
1389
+ "keyboardShouldPersistTaps": undefined,
1390
+ "onMomentumScrollBegin": [Function: AsyncFunction],
1391
+ "onMomentumScrollEnd": [Function: AsyncFunction],
1392
+ "onScroll": [Function],
1393
+ "onScrollBeginDrag": [Function: AsyncFunction],
1394
+ "onTouchEnd": [Function],
1395
+ "ref": {
1396
+ "current": null,
1397
+ },
1398
+ "scrollEnabled": false,
1399
+ "scrollEventThrottle": 5,
1400
+ "scrollsToTop": false,
1401
+ "showsVerticalScrollIndicator": false,
1402
+ "style": [
1403
+ {
1404
+ "backgroundColor": "transparent",
1405
+ "height": "100%",
1406
+ "width": "100%",
1407
+ },
1408
+ {
1409
+ "width": 375,
1410
+ },
1411
+ ],
1412
+ },
1413
+ "type": "FlatList",
1414
+ },
1415
+ ],
1416
+ "props": {
1417
+ "onLayout": [Function: AsyncFunction],
1418
+ "style": [
1419
+ {
1420
+ "alignItems": "center",
1421
+ "height": "100%",
1422
+ "justifyContent": "center",
1423
+ "width": "100%",
1424
+ },
1425
+ {
1426
+ "opacity": Value {
1427
+ "_value": 0,
1428
+ "addListener": [class Function],
1429
+ "animate": [class Function],
1430
+ "extractOffset": [class Function],
1431
+ "flattenOffset": [class Function],
1432
+ "interpolate": [class Function],
1433
+ "removeAllListeners": [class Function],
1434
+ "removeListener": [class Function],
1435
+ "resetAnimation": [class Function],
1436
+ "setOffset": [class Function],
1437
+ "setValue": [class Function],
1438
+ "stopAnimation": [class Function],
1439
+ "stopTracking": [class Function],
1440
+ "track": [class Function],
1441
+ },
1442
+ "width": 375,
1443
+ },
1444
+ ],
1445
+ "testID": undefined,
1446
+ },
1447
+ "type": "View",
1448
+ },
1449
+ ],
1450
+ "props": {
1451
+ "animationType": "none",
1452
+ "onRequestClose": [Function],
1453
+ "onShow": undefined,
1454
+ "statusBarTranslucent": true,
1455
+ "supportedOrientations": [
1456
+ "portrait",
1457
+ "portrait-upside-down",
1458
+ "landscape",
1459
+ "landscape-left",
1460
+ "landscape-right",
1461
+ ],
1462
+ "transparent": true,
1463
+ "visible": false,
1464
+ },
1465
+ "type": "Modal",
1466
+ }
1467
+ `;
1468
+
1469
+ exports[`ActionSheet renders with initialOffsetFromBottom 1`] = `
1470
+ {
1471
+ "$$typeof": Symbol(react.test.json),
1472
+ "children": [
1473
+ {
1474
+ "$$typeof": Symbol(react.test.json),
1475
+ "children": [
1476
+ {
1477
+ "$$typeof": Symbol(react.test.json),
1478
+ "children": [
1479
+ {
1480
+ "$$typeof": Symbol(react.test.json),
1481
+ "children": null,
1482
+ "props": {
1483
+ "style": undefined,
1484
+ "testID": undefined,
1485
+ },
1486
+ "type": "View",
1487
+ },
1488
+ ],
1489
+ "props": {
1490
+ "ref": {
1491
+ "current": null,
1492
+ },
1493
+ "style": {
1494
+ "left": 999999,
1495
+ "position": "absolute",
1496
+ "top": 999999,
1497
+ },
1498
+ },
1499
+ "type": "SafeAreaView",
1500
+ },
1501
+ {
1502
+ "$$typeof": Symbol(react.test.json),
1503
+ "children": [
1504
+ {
1505
+ "$$typeof": Symbol(react.test.json),
1506
+ "children": [
1507
+ {
1508
+ "$$typeof": Symbol(react.test.json),
1509
+ "children": null,
1510
+ "props": {
1511
+ "onTouchEnd": [Function],
1512
+ "onTouchMove": [Function],
1513
+ "onTouchStart": [Function],
1514
+ "style": {
1515
+ "backgroundColor": "black",
1516
+ "height": "100%",
1517
+ "opacity": 0.3,
1518
+ "position": "absolute",
1519
+ "width": "100%",
1520
+ "zIndex": 1,
1521
+ },
1522
+ "testID": undefined,
1523
+ },
1524
+ "type": "View",
1525
+ },
1526
+ {
1527
+ "$$typeof": Symbol(react.test.json),
1528
+ "children": [
1529
+ {
1530
+ "$$typeof": Symbol(react.test.json),
1531
+ "children": null,
1532
+ "props": {
1533
+ "aria-role": "button",
1534
+ "onLongPress": [Function],
1535
+ "onPress": [Function],
1536
+ "style": {
1537
+ "height": 933.8,
1538
+ "width": "100%",
1539
+ },
1540
+ },
1541
+ "type": "Pressable",
1542
+ },
1543
+ ],
1544
+ "props": {
1545
+ "onTouchEnd": [Function],
1546
+ "onTouchMove": [Function],
1547
+ "onTouchStart": [Function],
1548
+ "style": {
1549
+ "height": 933.8,
1550
+ "width": "100%",
1551
+ "zIndex": 10,
1552
+ },
1553
+ "testID": undefined,
1554
+ },
1555
+ "type": "View",
1556
+ },
1557
+ {
1558
+ "$$typeof": Symbol(react.test.json),
1559
+ "children": [
1560
+ {
1561
+ "$$typeof": Symbol(react.test.json),
1562
+ "children": [
1563
+ {
1564
+ "$$typeof": Symbol(react.test.json),
1565
+ "children": [
1566
+ "Offset",
1567
+ ],
1568
+ "props": {
1569
+ "style": undefined,
1570
+ },
1571
+ "type": "Text",
1572
+ },
1573
+ ],
1574
+ "props": {
1575
+ "style": {
1576
+ "marginTop": 0,
1577
+ "maxHeight": 812,
1578
+ "transform": [
1579
+ {
1580
+ "translateY": Value {
1581
+ "_value": 0,
1582
+ "addListener": [class Function],
1583
+ "animate": [class Function],
1584
+ "extractOffset": [class Function],
1585
+ "flattenOffset": [class Function],
1586
+ "interpolate": [class Function],
1587
+ "removeAllListeners": [class Function],
1588
+ "removeListener": [class Function],
1589
+ "resetAnimation": [class Function],
1590
+ "setOffset": [class Function],
1591
+ "setValue": [class Function],
1592
+ "stopAnimation": [class Function],
1593
+ "stopTracking": [class Function],
1594
+ "track": [class Function],
1595
+ },
1596
+ },
1597
+ ],
1598
+ },
1599
+ "testID": undefined,
1600
+ },
1601
+ "type": "View",
1602
+ },
1603
+ ],
1604
+ "props": {
1605
+ "onLayout": [Function: AsyncFunction],
1606
+ "style": [
1607
+ {
1608
+ "alignSelf": "center",
1609
+ "backgroundColor": "white",
1610
+ "width": "100%",
1611
+ },
1612
+ {
1613
+ "borderRadius": 10,
1614
+ },
1615
+ undefined,
1616
+ {
1617
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
1618
+ "elevation": 5,
1619
+ "maxHeight": 812,
1620
+ "opacity": Value {
1621
+ "_value": 0,
1622
+ "addListener": [class Function],
1623
+ "animate": [class Function],
1624
+ "extractOffset": [class Function],
1625
+ "flattenOffset": [class Function],
1626
+ "interpolate": [class Function],
1627
+ "removeAllListeners": [class Function],
1628
+ "removeListener": [class Function],
1629
+ "resetAnimation": [class Function],
1630
+ "setOffset": [class Function],
1631
+ "setValue": [class Function],
1632
+ "stopAnimation": [class Function],
1633
+ "stopTracking": [class Function],
1634
+ "track": [class Function],
1635
+ },
1636
+ "transform": [
1637
+ {
1638
+ "translateY": Value {
1639
+ "_value": 0,
1640
+ "addListener": [class Function],
1641
+ "animate": [class Function],
1642
+ "extractOffset": [class Function],
1643
+ "flattenOffset": [class Function],
1644
+ "interpolate": [class Function],
1645
+ "removeAllListeners": [class Function],
1646
+ "removeListener": [class Function],
1647
+ "resetAnimation": [class Function],
1648
+ "setOffset": [class Function],
1649
+ "setValue": [class Function],
1650
+ "stopAnimation": [class Function],
1651
+ "stopTracking": [class Function],
1652
+ "track": [class Function],
1653
+ },
1654
+ },
1655
+ ],
1656
+ "zIndex": 11,
1657
+ },
1658
+ ],
1659
+ "testID": undefined,
1660
+ },
1661
+ "type": "View",
1662
+ },
1663
+ ],
1664
+ "props": {
1665
+ "style": {
1666
+ "width": "100%",
1667
+ },
1668
+ "testID": undefined,
1669
+ },
1670
+ "type": "View",
1671
+ },
1672
+ ],
1673
+ "props": {
1674
+ "bounces": false,
1675
+ "contentContainerStyle": {
1676
+ "width": 375,
1677
+ },
1678
+ "keyboardShouldPersistTaps": undefined,
1679
+ "onMomentumScrollBegin": [Function: AsyncFunction],
1680
+ "onMomentumScrollEnd": [Function: AsyncFunction],
1681
+ "onScroll": [Function],
1682
+ "onScrollBeginDrag": [Function: AsyncFunction],
1683
+ "onTouchEnd": [Function],
1684
+ "ref": {
1685
+ "current": null,
1686
+ },
1687
+ "scrollEnabled": false,
1688
+ "scrollEventThrottle": 5,
1689
+ "scrollsToTop": false,
1690
+ "showsVerticalScrollIndicator": false,
1691
+ "style": [
1692
+ {
1693
+ "backgroundColor": "transparent",
1694
+ "height": "100%",
1695
+ "width": "100%",
1696
+ },
1697
+ {
1698
+ "width": 375,
1699
+ },
1700
+ ],
1701
+ },
1702
+ "type": "FlatList",
1703
+ },
1704
+ ],
1705
+ "props": {
1706
+ "onLayout": [Function: AsyncFunction],
1707
+ "style": [
1708
+ {
1709
+ "alignItems": "center",
1710
+ "height": "100%",
1711
+ "justifyContent": "center",
1712
+ "width": "100%",
1713
+ },
1714
+ {
1715
+ "opacity": Value {
1716
+ "_value": 0,
1717
+ "addListener": [class Function],
1718
+ "animate": [class Function],
1719
+ "extractOffset": [class Function],
1720
+ "flattenOffset": [class Function],
1721
+ "interpolate": [class Function],
1722
+ "removeAllListeners": [class Function],
1723
+ "removeListener": [class Function],
1724
+ "resetAnimation": [class Function],
1725
+ "setOffset": [class Function],
1726
+ "setValue": [class Function],
1727
+ "stopAnimation": [class Function],
1728
+ "stopTracking": [class Function],
1729
+ "track": [class Function],
1730
+ },
1731
+ "width": 375,
1732
+ },
1733
+ ],
1734
+ "testID": undefined,
1735
+ },
1736
+ "type": "View",
1737
+ },
1738
+ ],
1739
+ "props": {
1740
+ "animationType": "none",
1741
+ "onRequestClose": [Function],
1742
+ "onShow": undefined,
1743
+ "statusBarTranslucent": true,
1744
+ "supportedOrientations": [
1745
+ "portrait",
1746
+ "portrait-upside-down",
1747
+ "landscape",
1748
+ "landscape-left",
1749
+ "landscape-right",
1750
+ ],
1751
+ "transparent": true,
1752
+ "visible": false,
1753
+ },
1754
+ "type": "Modal",
1755
+ }
1756
+ `;
1757
+
1758
+ exports[`ActionSheet renders with bottomOffset 1`] = `
1759
+ {
1760
+ "$$typeof": Symbol(react.test.json),
1761
+ "children": [
1762
+ {
1763
+ "$$typeof": Symbol(react.test.json),
1764
+ "children": [
1765
+ {
1766
+ "$$typeof": Symbol(react.test.json),
1767
+ "children": [
1768
+ {
1769
+ "$$typeof": Symbol(react.test.json),
1770
+ "children": null,
1771
+ "props": {
1772
+ "style": undefined,
1773
+ "testID": undefined,
1774
+ },
1775
+ "type": "View",
1776
+ },
1777
+ ],
1778
+ "props": {
1779
+ "ref": {
1780
+ "current": null,
1781
+ },
1782
+ "style": {
1783
+ "left": 999999,
1784
+ "position": "absolute",
1785
+ "top": 999999,
1786
+ },
1787
+ },
1788
+ "type": "SafeAreaView",
1789
+ },
1790
+ {
1791
+ "$$typeof": Symbol(react.test.json),
1792
+ "children": [
1793
+ {
1794
+ "$$typeof": Symbol(react.test.json),
1795
+ "children": [
1796
+ {
1797
+ "$$typeof": Symbol(react.test.json),
1798
+ "children": null,
1799
+ "props": {
1800
+ "onTouchEnd": [Function],
1801
+ "onTouchMove": [Function],
1802
+ "onTouchStart": [Function],
1803
+ "style": {
1804
+ "backgroundColor": "black",
1805
+ "height": "100%",
1806
+ "opacity": 0.3,
1807
+ "position": "absolute",
1808
+ "width": "100%",
1809
+ "zIndex": 1,
1810
+ },
1811
+ "testID": undefined,
1812
+ },
1813
+ "type": "View",
1814
+ },
1815
+ {
1816
+ "$$typeof": Symbol(react.test.json),
1817
+ "children": [
1818
+ {
1819
+ "$$typeof": Symbol(react.test.json),
1820
+ "children": null,
1821
+ "props": {
1822
+ "aria-role": "button",
1823
+ "onLongPress": [Function],
1824
+ "onPress": [Function],
1825
+ "style": {
1826
+ "height": 933.8,
1827
+ "width": "100%",
1828
+ },
1829
+ },
1830
+ "type": "Pressable",
1831
+ },
1832
+ ],
1833
+ "props": {
1834
+ "onTouchEnd": [Function],
1835
+ "onTouchMove": [Function],
1836
+ "onTouchStart": [Function],
1837
+ "style": {
1838
+ "height": 933.8,
1839
+ "width": "100%",
1840
+ "zIndex": 10,
1841
+ },
1842
+ "testID": undefined,
1843
+ },
1844
+ "type": "View",
1845
+ },
1846
+ {
1847
+ "$$typeof": Symbol(react.test.json),
1848
+ "children": [
1849
+ {
1850
+ "$$typeof": Symbol(react.test.json),
1851
+ "children": [
1852
+ {
1853
+ "$$typeof": Symbol(react.test.json),
1854
+ "children": [
1855
+ "Bottom",
1856
+ ],
1857
+ "props": {
1858
+ "style": undefined,
1859
+ },
1860
+ "type": "Text",
1861
+ },
1862
+ ],
1863
+ "props": {
1864
+ "style": {
1865
+ "marginTop": 0,
1866
+ "maxHeight": 812,
1867
+ "transform": [
1868
+ {
1869
+ "translateY": Value {
1870
+ "_value": 0,
1871
+ "addListener": [class Function],
1872
+ "animate": [class Function],
1873
+ "extractOffset": [class Function],
1874
+ "flattenOffset": [class Function],
1875
+ "interpolate": [class Function],
1876
+ "removeAllListeners": [class Function],
1877
+ "removeListener": [class Function],
1878
+ "resetAnimation": [class Function],
1879
+ "setOffset": [class Function],
1880
+ "setValue": [class Function],
1881
+ "stopAnimation": [class Function],
1882
+ "stopTracking": [class Function],
1883
+ "track": [class Function],
1884
+ },
1885
+ },
1886
+ ],
1887
+ },
1888
+ "testID": undefined,
1889
+ },
1890
+ "type": "View",
1891
+ },
1892
+ ],
1893
+ "props": {
1894
+ "onLayout": [Function: AsyncFunction],
1895
+ "style": [
1896
+ {
1897
+ "alignSelf": "center",
1898
+ "backgroundColor": "white",
1899
+ "width": "100%",
1900
+ },
1901
+ {
1902
+ "borderRadius": 10,
1903
+ },
1904
+ undefined,
1905
+ {
1906
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
1907
+ "elevation": 5,
1908
+ "maxHeight": 812,
1909
+ "opacity": Value {
1910
+ "_value": 0,
1911
+ "addListener": [class Function],
1912
+ "animate": [class Function],
1913
+ "extractOffset": [class Function],
1914
+ "flattenOffset": [class Function],
1915
+ "interpolate": [class Function],
1916
+ "removeAllListeners": [class Function],
1917
+ "removeListener": [class Function],
1918
+ "resetAnimation": [class Function],
1919
+ "setOffset": [class Function],
1920
+ "setValue": [class Function],
1921
+ "stopAnimation": [class Function],
1922
+ "stopTracking": [class Function],
1923
+ "track": [class Function],
1924
+ },
1925
+ "transform": [
1926
+ {
1927
+ "translateY": Value {
1928
+ "_value": 0,
1929
+ "addListener": [class Function],
1930
+ "animate": [class Function],
1931
+ "extractOffset": [class Function],
1932
+ "flattenOffset": [class Function],
1933
+ "interpolate": [class Function],
1934
+ "removeAllListeners": [class Function],
1935
+ "removeListener": [class Function],
1936
+ "resetAnimation": [class Function],
1937
+ "setOffset": [class Function],
1938
+ "setValue": [class Function],
1939
+ "stopAnimation": [class Function],
1940
+ "stopTracking": [class Function],
1941
+ "track": [class Function],
1942
+ },
1943
+ },
1944
+ ],
1945
+ "zIndex": 11,
1946
+ },
1947
+ ],
1948
+ "testID": undefined,
1949
+ },
1950
+ "type": "View",
1951
+ },
1952
+ ],
1953
+ "props": {
1954
+ "style": {
1955
+ "width": "100%",
1956
+ },
1957
+ "testID": undefined,
1958
+ },
1959
+ "type": "View",
1960
+ },
1961
+ ],
1962
+ "props": {
1963
+ "bounces": false,
1964
+ "contentContainerStyle": {
1965
+ "width": 375,
1966
+ },
1967
+ "keyboardShouldPersistTaps": undefined,
1968
+ "onMomentumScrollBegin": [Function: AsyncFunction],
1969
+ "onMomentumScrollEnd": [Function: AsyncFunction],
1970
+ "onScroll": [Function],
1971
+ "onScrollBeginDrag": [Function: AsyncFunction],
1972
+ "onTouchEnd": [Function],
1973
+ "ref": {
1974
+ "current": null,
1975
+ },
1976
+ "scrollEnabled": false,
1977
+ "scrollEventThrottle": 5,
1978
+ "scrollsToTop": false,
1979
+ "showsVerticalScrollIndicator": false,
1980
+ "style": [
1981
+ {
1982
+ "backgroundColor": "transparent",
1983
+ "height": "100%",
1984
+ "width": "100%",
1985
+ },
1986
+ {
1987
+ "width": 375,
1988
+ },
1989
+ ],
1990
+ },
1991
+ "type": "FlatList",
1992
+ },
1993
+ ],
1994
+ "props": {
1995
+ "onLayout": [Function: AsyncFunction],
1996
+ "style": [
1997
+ {
1998
+ "alignItems": "center",
1999
+ "height": "100%",
2000
+ "justifyContent": "center",
2001
+ "width": "100%",
2002
+ },
2003
+ {
2004
+ "opacity": Value {
2005
+ "_value": 0,
2006
+ "addListener": [class Function],
2007
+ "animate": [class Function],
2008
+ "extractOffset": [class Function],
2009
+ "flattenOffset": [class Function],
2010
+ "interpolate": [class Function],
2011
+ "removeAllListeners": [class Function],
2012
+ "removeListener": [class Function],
2013
+ "resetAnimation": [class Function],
2014
+ "setOffset": [class Function],
2015
+ "setValue": [class Function],
2016
+ "stopAnimation": [class Function],
2017
+ "stopTracking": [class Function],
2018
+ "track": [class Function],
2019
+ },
2020
+ "width": 375,
2021
+ },
2022
+ ],
2023
+ "testID": undefined,
2024
+ },
2025
+ "type": "View",
2026
+ },
2027
+ ],
2028
+ "props": {
2029
+ "animationType": "none",
2030
+ "onRequestClose": [Function],
2031
+ "onShow": undefined,
2032
+ "statusBarTranslucent": true,
2033
+ "supportedOrientations": [
2034
+ "portrait",
2035
+ "portrait-upside-down",
2036
+ "landscape",
2037
+ "landscape-left",
2038
+ "landscape-right",
2039
+ ],
2040
+ "transparent": true,
2041
+ "visible": false,
2042
+ },
2043
+ "type": "Modal",
2044
+ }
2045
+ `;
2046
+
2047
+ exports[`ActionSheet renders with closable=false and persistent 1`] = `
2048
+ {
2049
+ "$$typeof": Symbol(react.test.json),
2050
+ "children": [
2051
+ {
2052
+ "$$typeof": Symbol(react.test.json),
2053
+ "children": [
2054
+ {
2055
+ "$$typeof": Symbol(react.test.json),
2056
+ "children": [
2057
+ {
2058
+ "$$typeof": Symbol(react.test.json),
2059
+ "children": null,
2060
+ "props": {
2061
+ "style": undefined,
2062
+ "testID": undefined,
2063
+ },
2064
+ "type": "View",
2065
+ },
2066
+ ],
2067
+ "props": {
2068
+ "ref": {
2069
+ "current": null,
2070
+ },
2071
+ "style": {
2072
+ "left": 999999,
2073
+ "position": "absolute",
2074
+ "top": 999999,
2075
+ },
2076
+ },
2077
+ "type": "SafeAreaView",
2078
+ },
2079
+ {
2080
+ "$$typeof": Symbol(react.test.json),
2081
+ "children": [
2082
+ {
2083
+ "$$typeof": Symbol(react.test.json),
2084
+ "children": [
2085
+ {
2086
+ "$$typeof": Symbol(react.test.json),
2087
+ "children": null,
2088
+ "props": {
2089
+ "onTouchEnd": [Function],
2090
+ "onTouchMove": [Function],
2091
+ "onTouchStart": [Function],
2092
+ "style": {
2093
+ "backgroundColor": "black",
2094
+ "height": "100%",
2095
+ "opacity": 0.3,
2096
+ "position": "absolute",
2097
+ "width": "100%",
2098
+ "zIndex": 1,
2099
+ },
2100
+ "testID": undefined,
2101
+ },
2102
+ "type": "View",
2103
+ },
2104
+ {
2105
+ "$$typeof": Symbol(react.test.json),
2106
+ "children": [
2107
+ {
2108
+ "$$typeof": Symbol(react.test.json),
2109
+ "children": null,
2110
+ "props": {
2111
+ "aria-role": "button",
2112
+ "onLongPress": [Function],
2113
+ "onPress": [Function],
2114
+ "style": {
2115
+ "height": 933.8,
2116
+ "width": "100%",
2117
+ },
2118
+ },
2119
+ "type": "Pressable",
2120
+ },
2121
+ ],
2122
+ "props": {
2123
+ "onTouchEnd": [Function],
2124
+ "onTouchMove": [Function],
2125
+ "onTouchStart": [Function],
2126
+ "style": {
2127
+ "height": 933.8,
2128
+ "width": "100%",
2129
+ "zIndex": 10,
2130
+ },
2131
+ "testID": undefined,
2132
+ },
2133
+ "type": "View",
2134
+ },
2135
+ {
2136
+ "$$typeof": Symbol(react.test.json),
2137
+ "children": [
2138
+ {
2139
+ "$$typeof": Symbol(react.test.json),
2140
+ "children": [
2141
+ {
2142
+ "$$typeof": Symbol(react.test.json),
2143
+ "children": [
2144
+ "Persistent",
2145
+ ],
2146
+ "props": {
2147
+ "style": undefined,
2148
+ },
2149
+ "type": "Text",
2150
+ },
2151
+ ],
2152
+ "props": {
2153
+ "style": {
2154
+ "marginTop": 0,
2155
+ "maxHeight": 812,
2156
+ "transform": [
2157
+ {
2158
+ "translateY": Value {
2159
+ "_value": 0,
2160
+ "addListener": [class Function],
2161
+ "animate": [class Function],
2162
+ "extractOffset": [class Function],
2163
+ "flattenOffset": [class Function],
2164
+ "interpolate": [class Function],
2165
+ "removeAllListeners": [class Function],
2166
+ "removeListener": [class Function],
2167
+ "resetAnimation": [class Function],
2168
+ "setOffset": [class Function],
2169
+ "setValue": [class Function],
2170
+ "stopAnimation": [class Function],
2171
+ "stopTracking": [class Function],
2172
+ "track": [class Function],
2173
+ },
2174
+ },
2175
+ ],
2176
+ },
2177
+ "testID": undefined,
2178
+ },
2179
+ "type": "View",
2180
+ },
2181
+ ],
2182
+ "props": {
2183
+ "onLayout": [Function: AsyncFunction],
2184
+ "style": [
2185
+ {
2186
+ "alignSelf": "center",
2187
+ "backgroundColor": "white",
2188
+ "width": "100%",
2189
+ },
2190
+ {
2191
+ "borderRadius": 10,
2192
+ },
2193
+ undefined,
2194
+ {
2195
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
2196
+ "elevation": 5,
2197
+ "maxHeight": 812,
2198
+ "opacity": Value {
2199
+ "_value": 0,
2200
+ "addListener": [class Function],
2201
+ "animate": [class Function],
2202
+ "extractOffset": [class Function],
2203
+ "flattenOffset": [class Function],
2204
+ "interpolate": [class Function],
2205
+ "removeAllListeners": [class Function],
2206
+ "removeListener": [class Function],
2207
+ "resetAnimation": [class Function],
2208
+ "setOffset": [class Function],
2209
+ "setValue": [class Function],
2210
+ "stopAnimation": [class Function],
2211
+ "stopTracking": [class Function],
2212
+ "track": [class Function],
2213
+ },
2214
+ "transform": [
2215
+ {
2216
+ "translateY": Value {
2217
+ "_value": 0,
2218
+ "addListener": [class Function],
2219
+ "animate": [class Function],
2220
+ "extractOffset": [class Function],
2221
+ "flattenOffset": [class Function],
2222
+ "interpolate": [class Function],
2223
+ "removeAllListeners": [class Function],
2224
+ "removeListener": [class Function],
2225
+ "resetAnimation": [class Function],
2226
+ "setOffset": [class Function],
2227
+ "setValue": [class Function],
2228
+ "stopAnimation": [class Function],
2229
+ "stopTracking": [class Function],
2230
+ "track": [class Function],
2231
+ },
2232
+ },
2233
+ ],
2234
+ "zIndex": 11,
2235
+ },
2236
+ ],
2237
+ "testID": undefined,
2238
+ },
2239
+ "type": "View",
2240
+ },
2241
+ ],
2242
+ "props": {
2243
+ "style": {
2244
+ "width": "100%",
2245
+ },
2246
+ "testID": undefined,
2247
+ },
2248
+ "type": "View",
2249
+ },
2250
+ ],
2251
+ "props": {
2252
+ "bounces": false,
2253
+ "contentContainerStyle": {
2254
+ "width": 375,
2255
+ },
2256
+ "keyboardShouldPersistTaps": undefined,
2257
+ "onMomentumScrollBegin": [Function: AsyncFunction],
2258
+ "onMomentumScrollEnd": [Function: AsyncFunction],
2259
+ "onScroll": [Function],
2260
+ "onScrollBeginDrag": [Function: AsyncFunction],
2261
+ "onTouchEnd": [Function],
2262
+ "ref": {
2263
+ "current": null,
2264
+ },
2265
+ "scrollEnabled": false,
2266
+ "scrollEventThrottle": 5,
2267
+ "scrollsToTop": false,
2268
+ "showsVerticalScrollIndicator": false,
2269
+ "style": [
2270
+ {
2271
+ "backgroundColor": "transparent",
2272
+ "height": "100%",
2273
+ "width": "100%",
2274
+ },
2275
+ {
2276
+ "width": 375,
2277
+ },
2278
+ ],
2279
+ },
2280
+ "type": "FlatList",
2281
+ },
2282
+ ],
2283
+ "props": {
2284
+ "onLayout": [Function: AsyncFunction],
2285
+ "style": [
2286
+ {
2287
+ "alignItems": "center",
2288
+ "height": "100%",
2289
+ "justifyContent": "center",
2290
+ "width": "100%",
2291
+ },
2292
+ {
2293
+ "opacity": Value {
2294
+ "_value": 0,
2295
+ "addListener": [class Function],
2296
+ "animate": [class Function],
2297
+ "extractOffset": [class Function],
2298
+ "flattenOffset": [class Function],
2299
+ "interpolate": [class Function],
2300
+ "removeAllListeners": [class Function],
2301
+ "removeListener": [class Function],
2302
+ "resetAnimation": [class Function],
2303
+ "setOffset": [class Function],
2304
+ "setValue": [class Function],
2305
+ "stopAnimation": [class Function],
2306
+ "stopTracking": [class Function],
2307
+ "track": [class Function],
2308
+ },
2309
+ "width": 375,
2310
+ },
2311
+ ],
2312
+ "testID": undefined,
2313
+ },
2314
+ "type": "View",
2315
+ },
2316
+ ],
2317
+ "props": {
2318
+ "animationType": "none",
2319
+ "onRequestClose": [Function],
2320
+ "onShow": undefined,
2321
+ "statusBarTranslucent": true,
2322
+ "supportedOrientations": [
2323
+ "portrait",
2324
+ "portrait-upside-down",
2325
+ "landscape",
2326
+ "landscape-left",
2327
+ "landscape-right",
2328
+ ],
2329
+ "transparent": true,
2330
+ "visible": false,
2331
+ },
2332
+ "type": "Modal",
2333
+ }
2334
+ `;
2335
+
2336
+ exports[`ActionSheet renders with custom containerStyle 1`] = `
2337
+ {
2338
+ "$$typeof": Symbol(react.test.json),
2339
+ "children": [
2340
+ {
2341
+ "$$typeof": Symbol(react.test.json),
2342
+ "children": [
2343
+ {
2344
+ "$$typeof": Symbol(react.test.json),
2345
+ "children": [
2346
+ {
2347
+ "$$typeof": Symbol(react.test.json),
2348
+ "children": null,
2349
+ "props": {
2350
+ "style": undefined,
2351
+ "testID": undefined,
2352
+ },
2353
+ "type": "View",
2354
+ },
2355
+ ],
2356
+ "props": {
2357
+ "ref": {
2358
+ "current": null,
2359
+ },
2360
+ "style": {
2361
+ "left": 999999,
2362
+ "position": "absolute",
2363
+ "top": 999999,
2364
+ },
2365
+ },
2366
+ "type": "SafeAreaView",
2367
+ },
2368
+ {
2369
+ "$$typeof": Symbol(react.test.json),
2370
+ "children": [
2371
+ {
2372
+ "$$typeof": Symbol(react.test.json),
2373
+ "children": [
2374
+ {
2375
+ "$$typeof": Symbol(react.test.json),
2376
+ "children": null,
2377
+ "props": {
2378
+ "onTouchEnd": [Function],
2379
+ "onTouchMove": [Function],
2380
+ "onTouchStart": [Function],
2381
+ "style": {
2382
+ "backgroundColor": "black",
2383
+ "height": "100%",
2384
+ "opacity": 0.3,
2385
+ "position": "absolute",
2386
+ "width": "100%",
2387
+ "zIndex": 1,
2388
+ },
2389
+ "testID": undefined,
2390
+ },
2391
+ "type": "View",
2392
+ },
2393
+ {
2394
+ "$$typeof": Symbol(react.test.json),
2395
+ "children": [
2396
+ {
2397
+ "$$typeof": Symbol(react.test.json),
2398
+ "children": null,
2399
+ "props": {
2400
+ "aria-role": "button",
2401
+ "onLongPress": [Function],
2402
+ "onPress": [Function],
2403
+ "style": {
2404
+ "height": 933.8,
2405
+ "width": "100%",
2406
+ },
2407
+ },
2408
+ "type": "Pressable",
2409
+ },
2410
+ ],
2411
+ "props": {
2412
+ "onTouchEnd": [Function],
2413
+ "onTouchMove": [Function],
2414
+ "onTouchStart": [Function],
2415
+ "style": {
2416
+ "height": 933.8,
2417
+ "width": "100%",
2418
+ "zIndex": 10,
2419
+ },
2420
+ "testID": undefined,
2421
+ },
2422
+ "type": "View",
2423
+ },
2424
+ {
2425
+ "$$typeof": Symbol(react.test.json),
2426
+ "children": [
2427
+ {
2428
+ "$$typeof": Symbol(react.test.json),
2429
+ "children": [
2430
+ {
2431
+ "$$typeof": Symbol(react.test.json),
2432
+ "children": [
2433
+ "Styled",
2434
+ ],
2435
+ "props": {
2436
+ "style": undefined,
2437
+ },
2438
+ "type": "Text",
2439
+ },
2440
+ ],
2441
+ "props": {
2442
+ "style": {
2443
+ "marginTop": 0,
2444
+ "maxHeight": 812,
2445
+ "transform": [
2446
+ {
2447
+ "translateY": Value {
2448
+ "_value": 0,
2449
+ "addListener": [class Function],
2450
+ "animate": [class Function],
2451
+ "extractOffset": [class Function],
2452
+ "flattenOffset": [class Function],
2453
+ "interpolate": [class Function],
2454
+ "removeAllListeners": [class Function],
2455
+ "removeListener": [class Function],
2456
+ "resetAnimation": [class Function],
2457
+ "setOffset": [class Function],
2458
+ "setValue": [class Function],
2459
+ "stopAnimation": [class Function],
2460
+ "stopTracking": [class Function],
2461
+ "track": [class Function],
2462
+ },
2463
+ },
2464
+ ],
2465
+ },
2466
+ "testID": undefined,
2467
+ },
2468
+ "type": "View",
2469
+ },
2470
+ ],
2471
+ "props": {
2472
+ "onLayout": [Function: AsyncFunction],
2473
+ "style": [
2474
+ {
2475
+ "alignSelf": "center",
2476
+ "backgroundColor": "white",
2477
+ "width": "100%",
2478
+ },
2479
+ {
2480
+ "borderRadius": 10,
2481
+ },
2482
+ {
2483
+ "backgroundColor": "blue",
2484
+ },
2485
+ {
2486
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
2487
+ "elevation": 5,
2488
+ "maxHeight": 812,
2489
+ "opacity": Value {
2490
+ "_value": 0,
2491
+ "addListener": [class Function],
2492
+ "animate": [class Function],
2493
+ "extractOffset": [class Function],
2494
+ "flattenOffset": [class Function],
2495
+ "interpolate": [class Function],
2496
+ "removeAllListeners": [class Function],
2497
+ "removeListener": [class Function],
2498
+ "resetAnimation": [class Function],
2499
+ "setOffset": [class Function],
2500
+ "setValue": [class Function],
2501
+ "stopAnimation": [class Function],
2502
+ "stopTracking": [class Function],
2503
+ "track": [class Function],
2504
+ },
2505
+ "transform": [
2506
+ {
2507
+ "translateY": Value {
2508
+ "_value": 0,
2509
+ "addListener": [class Function],
2510
+ "animate": [class Function],
2511
+ "extractOffset": [class Function],
2512
+ "flattenOffset": [class Function],
2513
+ "interpolate": [class Function],
2514
+ "removeAllListeners": [class Function],
2515
+ "removeListener": [class Function],
2516
+ "resetAnimation": [class Function],
2517
+ "setOffset": [class Function],
2518
+ "setValue": [class Function],
2519
+ "stopAnimation": [class Function],
2520
+ "stopTracking": [class Function],
2521
+ "track": [class Function],
2522
+ },
2523
+ },
2524
+ ],
2525
+ "zIndex": 11,
2526
+ },
2527
+ ],
2528
+ "testID": undefined,
2529
+ },
2530
+ "type": "View",
2531
+ },
2532
+ ],
2533
+ "props": {
2534
+ "style": {
2535
+ "width": "100%",
2536
+ },
2537
+ "testID": undefined,
2538
+ },
2539
+ "type": "View",
2540
+ },
2541
+ ],
2542
+ "props": {
2543
+ "bounces": false,
2544
+ "contentContainerStyle": {
2545
+ "width": 375,
2546
+ },
2547
+ "keyboardShouldPersistTaps": undefined,
2548
+ "onMomentumScrollBegin": [Function: AsyncFunction],
2549
+ "onMomentumScrollEnd": [Function: AsyncFunction],
2550
+ "onScroll": [Function],
2551
+ "onScrollBeginDrag": [Function: AsyncFunction],
2552
+ "onTouchEnd": [Function],
2553
+ "ref": {
2554
+ "current": null,
2555
+ },
2556
+ "scrollEnabled": false,
2557
+ "scrollEventThrottle": 5,
2558
+ "scrollsToTop": false,
2559
+ "showsVerticalScrollIndicator": false,
2560
+ "style": [
2561
+ {
2562
+ "backgroundColor": "transparent",
2563
+ "height": "100%",
2564
+ "width": "100%",
2565
+ },
2566
+ {
2567
+ "width": 375,
2568
+ },
2569
+ ],
2570
+ },
2571
+ "type": "FlatList",
2572
+ },
2573
+ ],
2574
+ "props": {
2575
+ "onLayout": [Function: AsyncFunction],
2576
+ "style": [
2577
+ {
2578
+ "alignItems": "center",
2579
+ "height": "100%",
2580
+ "justifyContent": "center",
2581
+ "width": "100%",
2582
+ },
2583
+ {
2584
+ "opacity": Value {
2585
+ "_value": 0,
2586
+ "addListener": [class Function],
2587
+ "animate": [class Function],
2588
+ "extractOffset": [class Function],
2589
+ "flattenOffset": [class Function],
2590
+ "interpolate": [class Function],
2591
+ "removeAllListeners": [class Function],
2592
+ "removeListener": [class Function],
2593
+ "resetAnimation": [class Function],
2594
+ "setOffset": [class Function],
2595
+ "setValue": [class Function],
2596
+ "stopAnimation": [class Function],
2597
+ "stopTracking": [class Function],
2598
+ "track": [class Function],
2599
+ },
2600
+ "width": 375,
2601
+ },
2602
+ ],
2603
+ "testID": undefined,
2604
+ },
2605
+ "type": "View",
2606
+ },
2607
+ ],
2608
+ "props": {
2609
+ "animationType": "none",
2610
+ "onRequestClose": [Function],
2611
+ "onShow": undefined,
2612
+ "statusBarTranslucent": true,
2613
+ "supportedOrientations": [
2614
+ "portrait",
2615
+ "portrait-upside-down",
2616
+ "landscape",
2617
+ "landscape-left",
2618
+ "landscape-right",
2619
+ ],
2620
+ "transparent": true,
2621
+ "visible": false,
2622
+ },
2623
+ "type": "Modal",
2624
+ }
2625
+ `;