@terreno/ui 0.0.15 → 0.0.16

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 (151) hide show
  1. package/dist/DateUtilities.js +2 -2
  2. package/package.json +1 -1
  3. package/src/ActionSheet.test.tsx +77 -0
  4. package/src/Banner.test.tsx +106 -0
  5. package/src/Body.test.tsx +79 -0
  6. package/src/BooleanField.test.tsx +84 -0
  7. package/src/Button.test.tsx +160 -0
  8. package/src/Card.test.tsx +61 -0
  9. package/src/CheckBox.test.tsx +53 -0
  10. package/src/CustomSelectField.test.tsx +85 -0
  11. package/src/DataTable.test.tsx +133 -0
  12. package/src/DateTimeActionSheet.test.tsx +16 -0
  13. package/src/DateUtilities.tsx +2 -2
  14. package/src/DecimalRangeActionSheet.test.tsx +46 -0
  15. package/src/DismissButton.test.tsx +49 -0
  16. package/src/EmailField.test.tsx +106 -0
  17. package/src/ErrorBoundary.test.tsx +44 -0
  18. package/src/ErrorPage.test.tsx +44 -0
  19. package/src/Field.test.tsx +128 -0
  20. package/src/Heading.test.tsx +66 -0
  21. package/src/HeightActionSheet.test.tsx +34 -0
  22. package/src/Hyperlink.test.tsx +52 -0
  23. package/src/Icon.test.tsx +61 -0
  24. package/src/IconButton.test.tsx +145 -0
  25. package/src/Image.test.tsx +65 -0
  26. package/src/ImageBackground.test.tsx +46 -0
  27. package/src/InfoModalIcon.test.tsx +54 -0
  28. package/src/InfoTooltipButton.test.tsx +22 -0
  29. package/src/Link.test.tsx +64 -0
  30. package/src/MarkdownView.test.tsx +50 -0
  31. package/src/MobileAddressAutoComplete.test.tsx +15 -0
  32. package/src/Modal.test.tsx +169 -0
  33. package/src/ModalSheet.test.tsx +20 -0
  34. package/src/MultiselectField.test.tsx +134 -0
  35. package/src/NumberField.test.tsx +133 -0
  36. package/src/NumberPickerActionSheet.test.tsx +46 -0
  37. package/src/OpenAPIContext.test.tsx +36 -0
  38. package/src/Page.test.tsx +128 -0
  39. package/src/Pagination.test.tsx +86 -0
  40. package/src/PasswordField.test.tsx +17 -0
  41. package/src/PhoneNumberField.test.tsx +79 -0
  42. package/src/PickerSelect.test.tsx +16 -0
  43. package/src/Radio.test.tsx +30 -0
  44. package/src/RadioField.test.tsx +89 -0
  45. package/src/SectionDivider.test.tsx +17 -0
  46. package/src/SegmentedControl.test.tsx +84 -0
  47. package/src/SelectBadge.test.tsx +103 -0
  48. package/src/SelectField.test.tsx +84 -0
  49. package/src/SideDrawer.test.tsx +99 -0
  50. package/src/Signature.test.tsx +15 -0
  51. package/src/SignatureField.test.tsx +16 -0
  52. package/src/Spinner.test.tsx +74 -0
  53. package/src/SplitPage.test.tsx +15 -0
  54. package/src/TapToEdit.test.tsx +147 -0
  55. package/src/TerrenoProvider.test.tsx +36 -0
  56. package/src/Text.test.tsx +147 -0
  57. package/src/Theme.test.tsx +153 -0
  58. package/src/TimezonePicker.test.tsx +57 -0
  59. package/src/Toast.test.tsx +82 -0
  60. package/src/Tooltip.test.tsx +89 -0
  61. package/src/UnifiedAddressAutoComplete.test.tsx +15 -0
  62. package/src/Utilities.test.tsx +237 -0
  63. package/src/WebAddressAutocomplete.test.tsx +15 -0
  64. package/src/__snapshots__/ActionSheet.test.tsx.snap +889 -0
  65. package/src/__snapshots__/Banner.test.tsx.snap +546 -0
  66. package/src/__snapshots__/Body.test.tsx.snap +685 -0
  67. package/src/__snapshots__/BooleanField.test.tsx.snap +553 -0
  68. package/src/__snapshots__/Button.test.tsx.snap +1281 -0
  69. package/src/__snapshots__/Card.test.tsx.snap +195 -0
  70. package/src/__snapshots__/CheckBox.test.tsx.snap +190 -0
  71. package/src/__snapshots__/CustomSelectField.test.tsx.snap +2299 -0
  72. package/src/__snapshots__/DataTable.test.tsx.snap +9614 -0
  73. package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +1719 -0
  74. package/src/__snapshots__/DismissButton.test.tsx.snap +91 -0
  75. package/src/__snapshots__/EmailField.test.tsx.snap +168 -0
  76. package/src/__snapshots__/ErrorBoundary.test.tsx.snap +57 -0
  77. package/src/__snapshots__/ErrorPage.test.tsx.snap +195 -0
  78. package/src/__snapshots__/Field.test.tsx.snap +4510 -0
  79. package/src/__snapshots__/Heading.test.tsx.snap +193 -0
  80. package/src/__snapshots__/HeightActionSheet.test.tsx.snap +1269 -0
  81. package/src/__snapshots__/Hyperlink.test.tsx.snap +81 -0
  82. package/src/__snapshots__/Icon.test.tsx.snap +47 -0
  83. package/src/__snapshots__/IconButton.test.tsx.snap +29 -0
  84. package/src/__snapshots__/Image.test.tsx.snap +282 -0
  85. package/src/__snapshots__/ImageBackground.test.tsx.snap +120 -0
  86. package/src/__snapshots__/InfoModalIcon.test.tsx.snap +1229 -0
  87. package/src/__snapshots__/InfoTooltipButton.test.tsx.snap +7 -0
  88. package/src/__snapshots__/Link.test.tsx.snap +41 -0
  89. package/src/__snapshots__/MarkdownView.test.tsx.snap +965 -0
  90. package/src/__snapshots__/Modal.test.tsx.snap +1477 -0
  91. package/src/__snapshots__/MultiselectField.test.tsx.snap +1454 -0
  92. package/src/__snapshots__/NumberField.test.tsx.snap +80 -0
  93. package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +5359 -0
  94. package/src/__snapshots__/OpenAPIContext.test.tsx.snap +14 -0
  95. package/src/__snapshots__/Page.test.tsx.snap +1647 -0
  96. package/src/__snapshots__/Pagination.test.tsx.snap +1913 -0
  97. package/src/__snapshots__/PasswordField.test.tsx.snap +15 -0
  98. package/src/__snapshots__/PhoneNumberField.test.tsx.snap +405 -0
  99. package/src/__snapshots__/PickerSelect.test.tsx.snap +266 -0
  100. package/src/__snapshots__/Radio.test.tsx.snap +111 -0
  101. package/src/__snapshots__/RadioField.test.tsx.snap +944 -0
  102. package/src/__snapshots__/SectionDivider.test.tsx.snap +37 -0
  103. package/src/__snapshots__/SegmentedControl.test.tsx.snap +1422 -0
  104. package/src/__snapshots__/SelectBadge.test.tsx.snap +2377 -0
  105. package/src/__snapshots__/SelectField.test.tsx.snap +1658 -0
  106. package/src/__snapshots__/SideDrawer.test.tsx.snap +1857 -0
  107. package/src/__snapshots__/SignatureField.test.tsx.snap +133 -0
  108. package/src/__snapshots__/Spinner.test.tsx.snap +73 -0
  109. package/src/__snapshots__/TapToEdit.test.tsx.snap +839 -0
  110. package/src/__snapshots__/TerrenoProvider.test.tsx.snap +203 -0
  111. package/src/__snapshots__/Text.test.tsx.snap +558 -0
  112. package/src/__snapshots__/TimezonePicker.test.tsx.snap +6676 -0
  113. package/src/__snapshots__/Toast.test.tsx.snap +1982 -0
  114. package/src/__snapshots__/Tooltip.test.tsx.snap +456 -0
  115. package/src/bunSetup.ts +101 -8
  116. package/src/fieldElements/FieldError.test.tsx +40 -0
  117. package/src/fieldElements/FieldHelperText.test.tsx +34 -0
  118. package/src/fieldElements/FieldTitle.test.tsx +30 -0
  119. package/src/fieldElements/__snapshots__/FieldError.test.tsx.snap +85 -0
  120. package/src/fieldElements/__snapshots__/FieldHelperText.test.tsx.snap +30 -0
  121. package/src/fieldElements/__snapshots__/FieldTitle.test.tsx.snap +19 -0
  122. package/src/icons/MobileIcon.test.tsx +21 -0
  123. package/src/icons/OfflineIcon.test.tsx +21 -0
  124. package/src/icons/OnlineIcon.test.tsx +21 -0
  125. package/src/icons/OutOfficeIcon.test.tsx +21 -0
  126. package/src/icons/__snapshots__/MobileIcon.test.tsx.snap +160 -0
  127. package/src/icons/__snapshots__/OfflineIcon.test.tsx.snap +133 -0
  128. package/src/icons/__snapshots__/OnlineIcon.test.tsx.snap +124 -0
  129. package/src/icons/__snapshots__/OutOfficeIcon.test.tsx.snap +160 -0
  130. package/src/table/Table.test.tsx +107 -0
  131. package/src/table/TableBadge.test.tsx +53 -0
  132. package/src/table/TableBoolean.test.tsx +38 -0
  133. package/src/table/TableDate.test.tsx +27 -0
  134. package/src/table/TableHeader.test.tsx +67 -0
  135. package/src/table/TableHeaderCell.test.tsx +113 -0
  136. package/src/table/TableIconButton.test.tsx +51 -0
  137. package/src/table/TableNumber.test.tsx +45 -0
  138. package/src/table/TableRow.test.tsx +83 -0
  139. package/src/table/TableText.test.tsx +30 -0
  140. package/src/table/TableTitle.test.tsx +30 -0
  141. package/src/table/__snapshots__/Table.test.tsx.snap +2090 -0
  142. package/src/table/__snapshots__/TableBadge.test.tsx.snap +710 -0
  143. package/src/table/__snapshots__/TableBoolean.test.tsx.snap +231 -0
  144. package/src/table/__snapshots__/TableDate.test.tsx.snap +61 -0
  145. package/src/table/__snapshots__/TableHeader.test.tsx.snap +1089 -0
  146. package/src/table/__snapshots__/TableHeaderCell.test.tsx.snap +1773 -0
  147. package/src/table/__snapshots__/TableIconButton.test.tsx.snap +81 -0
  148. package/src/table/__snapshots__/TableNumber.test.tsx.snap +91 -0
  149. package/src/table/__snapshots__/TableRow.test.tsx.snap +1391 -0
  150. package/src/table/__snapshots__/TableText.test.tsx.snap +73 -0
  151. package/src/table/__snapshots__/TableTitle.test.tsx.snap +109 -0
@@ -0,0 +1,889 @@
1
+ // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
+
3
+ exports[`ActionSheet renders correctly 1`] = `
4
+ {
5
+ "$$typeof": Symbol(react.test.json),
6
+ "children": [
7
+ {
8
+ "$$typeof": Symbol(react.test.json),
9
+ "children": [
10
+ {
11
+ "$$typeof": Symbol(react.test.json),
12
+ "children": [
13
+ {
14
+ "$$typeof": Symbol(react.test.json),
15
+ "children": null,
16
+ "props": {
17
+ "style": undefined,
18
+ "testID": undefined,
19
+ },
20
+ "type": "View",
21
+ },
22
+ ],
23
+ "props": {
24
+ "ref": {
25
+ "current": null,
26
+ },
27
+ "style": {
28
+ "left": 999999,
29
+ "position": "absolute",
30
+ "top": 999999,
31
+ },
32
+ },
33
+ "type": "SafeAreaView",
34
+ },
35
+ {
36
+ "$$typeof": Symbol(react.test.json),
37
+ "children": [
38
+ {
39
+ "$$typeof": Symbol(react.test.json),
40
+ "children": [
41
+ {
42
+ "$$typeof": Symbol(react.test.json),
43
+ "children": null,
44
+ "props": {
45
+ "onTouchEnd": [Function],
46
+ "onTouchMove": [Function],
47
+ "onTouchStart": [Function],
48
+ "style": {
49
+ "backgroundColor": "black",
50
+ "height": "100%",
51
+ "opacity": 0.3,
52
+ "position": "absolute",
53
+ "width": "100%",
54
+ "zIndex": 1,
55
+ },
56
+ "testID": undefined,
57
+ },
58
+ "type": "View",
59
+ },
60
+ {
61
+ "$$typeof": Symbol(react.test.json),
62
+ "children": [
63
+ {
64
+ "$$typeof": Symbol(react.test.json),
65
+ "children": null,
66
+ "props": {
67
+ "aria-role": "button",
68
+ "onLongPress": [Function],
69
+ "onPress": [Function],
70
+ "style": {
71
+ "height": 933.8,
72
+ "width": "100%",
73
+ },
74
+ },
75
+ "type": "Pressable",
76
+ },
77
+ ],
78
+ "props": {
79
+ "onTouchEnd": [Function],
80
+ "onTouchMove": [Function],
81
+ "onTouchStart": [Function],
82
+ "style": {
83
+ "height": 933.8,
84
+ "width": "100%",
85
+ "zIndex": 10,
86
+ },
87
+ "testID": undefined,
88
+ },
89
+ "type": "View",
90
+ },
91
+ {
92
+ "$$typeof": Symbol(react.test.json),
93
+ "children": [
94
+ {
95
+ "$$typeof": Symbol(react.test.json),
96
+ "children": [
97
+ {
98
+ "$$typeof": Symbol(react.test.json),
99
+ "children": [
100
+ "Test content",
101
+ ],
102
+ "props": {
103
+ "style": undefined,
104
+ },
105
+ "type": "Text",
106
+ },
107
+ ],
108
+ "props": {
109
+ "style": {
110
+ "marginTop": 0,
111
+ "maxHeight": 812,
112
+ "transform": [
113
+ {
114
+ "translateY": Value {
115
+ "_value": 0,
116
+ "addListener": [class Function],
117
+ "animate": [class Function],
118
+ "extractOffset": [class Function],
119
+ "flattenOffset": [class Function],
120
+ "interpolate": [class Function],
121
+ "removeAllListeners": [class Function],
122
+ "removeListener": [class Function],
123
+ "resetAnimation": [class Function],
124
+ "setOffset": [class Function],
125
+ "setValue": [class Function],
126
+ "stopAnimation": [class Function],
127
+ "stopTracking": [class Function],
128
+ "track": [class Function],
129
+ },
130
+ },
131
+ ],
132
+ },
133
+ "testID": undefined,
134
+ },
135
+ "type": "View",
136
+ },
137
+ ],
138
+ "props": {
139
+ "onLayout": [Function: AsyncFunction],
140
+ "style": [
141
+ {
142
+ "alignSelf": "center",
143
+ "backgroundColor": "white",
144
+ "width": "100%",
145
+ },
146
+ {
147
+ "borderRadius": 10,
148
+ },
149
+ undefined,
150
+ {
151
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
152
+ "elevation": 5,
153
+ "maxHeight": 812,
154
+ "opacity": Value {
155
+ "_value": 0,
156
+ "addListener": [class Function],
157
+ "animate": [class Function],
158
+ "extractOffset": [class Function],
159
+ "flattenOffset": [class Function],
160
+ "interpolate": [class Function],
161
+ "removeAllListeners": [class Function],
162
+ "removeListener": [class Function],
163
+ "resetAnimation": [class Function],
164
+ "setOffset": [class Function],
165
+ "setValue": [class Function],
166
+ "stopAnimation": [class Function],
167
+ "stopTracking": [class Function],
168
+ "track": [class Function],
169
+ },
170
+ "transform": [
171
+ {
172
+ "translateY": Value {
173
+ "_value": 0,
174
+ "addListener": [class Function],
175
+ "animate": [class Function],
176
+ "extractOffset": [class Function],
177
+ "flattenOffset": [class Function],
178
+ "interpolate": [class Function],
179
+ "removeAllListeners": [class Function],
180
+ "removeListener": [class Function],
181
+ "resetAnimation": [class Function],
182
+ "setOffset": [class Function],
183
+ "setValue": [class Function],
184
+ "stopAnimation": [class Function],
185
+ "stopTracking": [class Function],
186
+ "track": [class Function],
187
+ },
188
+ },
189
+ ],
190
+ "zIndex": 11,
191
+ },
192
+ ],
193
+ "testID": undefined,
194
+ },
195
+ "type": "View",
196
+ },
197
+ ],
198
+ "props": {
199
+ "style": {
200
+ "width": "100%",
201
+ },
202
+ "testID": undefined,
203
+ },
204
+ "type": "View",
205
+ },
206
+ ],
207
+ "props": {
208
+ "bounces": false,
209
+ "contentContainerStyle": {
210
+ "width": 375,
211
+ },
212
+ "keyboardShouldPersistTaps": undefined,
213
+ "onMomentumScrollBegin": [Function: AsyncFunction],
214
+ "onMomentumScrollEnd": [Function: AsyncFunction],
215
+ "onScroll": [Function],
216
+ "onScrollBeginDrag": [Function: AsyncFunction],
217
+ "onTouchEnd": [Function],
218
+ "ref": {
219
+ "current": null,
220
+ },
221
+ "scrollEnabled": false,
222
+ "scrollEventThrottle": 5,
223
+ "scrollsToTop": false,
224
+ "showsVerticalScrollIndicator": false,
225
+ "style": [
226
+ {
227
+ "backgroundColor": "transparent",
228
+ "height": "100%",
229
+ "width": "100%",
230
+ },
231
+ {
232
+ "width": 375,
233
+ },
234
+ ],
235
+ },
236
+ "type": "FlatList",
237
+ },
238
+ ],
239
+ "props": {
240
+ "onLayout": [Function: AsyncFunction],
241
+ "style": [
242
+ {
243
+ "alignItems": "center",
244
+ "height": "100%",
245
+ "justifyContent": "center",
246
+ "width": "100%",
247
+ },
248
+ {
249
+ "opacity": Value {
250
+ "_value": 0,
251
+ "addListener": [class Function],
252
+ "animate": [class Function],
253
+ "extractOffset": [class Function],
254
+ "flattenOffset": [class Function],
255
+ "interpolate": [class Function],
256
+ "removeAllListeners": [class Function],
257
+ "removeListener": [class Function],
258
+ "resetAnimation": [class Function],
259
+ "setOffset": [class Function],
260
+ "setValue": [class Function],
261
+ "stopAnimation": [class Function],
262
+ "stopTracking": [class Function],
263
+ "track": [class Function],
264
+ },
265
+ "width": 375,
266
+ },
267
+ ],
268
+ "testID": undefined,
269
+ },
270
+ "type": "View",
271
+ },
272
+ ],
273
+ "props": {
274
+ "animationType": "none",
275
+ "onRequestClose": [Function],
276
+ "onShow": undefined,
277
+ "statusBarTranslucent": true,
278
+ "supportedOrientations": [
279
+ "portrait",
280
+ "portrait-upside-down",
281
+ "landscape",
282
+ "landscape-left",
283
+ "landscape-right",
284
+ ],
285
+ "transparent": true,
286
+ "visible": false,
287
+ },
288
+ "type": "Modal",
289
+ }
290
+ `;
291
+
292
+ exports[`ActionSheet renders with custom overlay color 1`] = `
293
+ {
294
+ "$$typeof": Symbol(react.test.json),
295
+ "children": [
296
+ {
297
+ "$$typeof": Symbol(react.test.json),
298
+ "children": [
299
+ {
300
+ "$$typeof": Symbol(react.test.json),
301
+ "children": [
302
+ {
303
+ "$$typeof": Symbol(react.test.json),
304
+ "children": null,
305
+ "props": {
306
+ "style": undefined,
307
+ "testID": undefined,
308
+ },
309
+ "type": "View",
310
+ },
311
+ ],
312
+ "props": {
313
+ "ref": {
314
+ "current": null,
315
+ },
316
+ "style": {
317
+ "left": 999999,
318
+ "position": "absolute",
319
+ "top": 999999,
320
+ },
321
+ },
322
+ "type": "SafeAreaView",
323
+ },
324
+ {
325
+ "$$typeof": Symbol(react.test.json),
326
+ "children": [
327
+ {
328
+ "$$typeof": Symbol(react.test.json),
329
+ "children": [
330
+ {
331
+ "$$typeof": Symbol(react.test.json),
332
+ "children": null,
333
+ "props": {
334
+ "onTouchEnd": [Function],
335
+ "onTouchMove": [Function],
336
+ "onTouchStart": [Function],
337
+ "style": {
338
+ "backgroundColor": "rgba(0,0,0,0.5)",
339
+ "height": "100%",
340
+ "opacity": 0.3,
341
+ "position": "absolute",
342
+ "width": "100%",
343
+ "zIndex": 1,
344
+ },
345
+ "testID": undefined,
346
+ },
347
+ "type": "View",
348
+ },
349
+ {
350
+ "$$typeof": Symbol(react.test.json),
351
+ "children": [
352
+ {
353
+ "$$typeof": Symbol(react.test.json),
354
+ "children": null,
355
+ "props": {
356
+ "aria-role": "button",
357
+ "onLongPress": [Function],
358
+ "onPress": [Function],
359
+ "style": {
360
+ "height": 933.8,
361
+ "width": "100%",
362
+ },
363
+ },
364
+ "type": "Pressable",
365
+ },
366
+ ],
367
+ "props": {
368
+ "onTouchEnd": [Function],
369
+ "onTouchMove": [Function],
370
+ "onTouchStart": [Function],
371
+ "style": {
372
+ "height": 933.8,
373
+ "width": "100%",
374
+ "zIndex": 10,
375
+ },
376
+ "testID": undefined,
377
+ },
378
+ "type": "View",
379
+ },
380
+ {
381
+ "$$typeof": Symbol(react.test.json),
382
+ "children": [
383
+ {
384
+ "$$typeof": Symbol(react.test.json),
385
+ "children": [
386
+ {
387
+ "$$typeof": Symbol(react.test.json),
388
+ "children": [
389
+ "Content",
390
+ ],
391
+ "props": {
392
+ "style": undefined,
393
+ },
394
+ "type": "Text",
395
+ },
396
+ ],
397
+ "props": {
398
+ "style": {
399
+ "marginTop": 0,
400
+ "maxHeight": 812,
401
+ "transform": [
402
+ {
403
+ "translateY": Value {
404
+ "_value": 0,
405
+ "addListener": [class Function],
406
+ "animate": [class Function],
407
+ "extractOffset": [class Function],
408
+ "flattenOffset": [class Function],
409
+ "interpolate": [class Function],
410
+ "removeAllListeners": [class Function],
411
+ "removeListener": [class Function],
412
+ "resetAnimation": [class Function],
413
+ "setOffset": [class Function],
414
+ "setValue": [class Function],
415
+ "stopAnimation": [class Function],
416
+ "stopTracking": [class Function],
417
+ "track": [class Function],
418
+ },
419
+ },
420
+ ],
421
+ },
422
+ "testID": undefined,
423
+ },
424
+ "type": "View",
425
+ },
426
+ ],
427
+ "props": {
428
+ "onLayout": [Function: AsyncFunction],
429
+ "style": [
430
+ {
431
+ "alignSelf": "center",
432
+ "backgroundColor": "white",
433
+ "width": "100%",
434
+ },
435
+ {
436
+ "borderRadius": 10,
437
+ },
438
+ undefined,
439
+ {
440
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
441
+ "elevation": 5,
442
+ "maxHeight": 812,
443
+ "opacity": Value {
444
+ "_value": 0,
445
+ "addListener": [class Function],
446
+ "animate": [class Function],
447
+ "extractOffset": [class Function],
448
+ "flattenOffset": [class Function],
449
+ "interpolate": [class Function],
450
+ "removeAllListeners": [class Function],
451
+ "removeListener": [class Function],
452
+ "resetAnimation": [class Function],
453
+ "setOffset": [class Function],
454
+ "setValue": [class Function],
455
+ "stopAnimation": [class Function],
456
+ "stopTracking": [class Function],
457
+ "track": [class Function],
458
+ },
459
+ "transform": [
460
+ {
461
+ "translateY": Value {
462
+ "_value": 0,
463
+ "addListener": [class Function],
464
+ "animate": [class Function],
465
+ "extractOffset": [class Function],
466
+ "flattenOffset": [class Function],
467
+ "interpolate": [class Function],
468
+ "removeAllListeners": [class Function],
469
+ "removeListener": [class Function],
470
+ "resetAnimation": [class Function],
471
+ "setOffset": [class Function],
472
+ "setValue": [class Function],
473
+ "stopAnimation": [class Function],
474
+ "stopTracking": [class Function],
475
+ "track": [class Function],
476
+ },
477
+ },
478
+ ],
479
+ "zIndex": 11,
480
+ },
481
+ ],
482
+ "testID": undefined,
483
+ },
484
+ "type": "View",
485
+ },
486
+ ],
487
+ "props": {
488
+ "style": {
489
+ "width": "100%",
490
+ },
491
+ "testID": undefined,
492
+ },
493
+ "type": "View",
494
+ },
495
+ ],
496
+ "props": {
497
+ "bounces": false,
498
+ "contentContainerStyle": {
499
+ "width": 375,
500
+ },
501
+ "keyboardShouldPersistTaps": undefined,
502
+ "onMomentumScrollBegin": [Function: AsyncFunction],
503
+ "onMomentumScrollEnd": [Function: AsyncFunction],
504
+ "onScroll": [Function],
505
+ "onScrollBeginDrag": [Function: AsyncFunction],
506
+ "onTouchEnd": [Function],
507
+ "ref": {
508
+ "current": null,
509
+ },
510
+ "scrollEnabled": false,
511
+ "scrollEventThrottle": 5,
512
+ "scrollsToTop": false,
513
+ "showsVerticalScrollIndicator": false,
514
+ "style": [
515
+ {
516
+ "backgroundColor": "transparent",
517
+ "height": "100%",
518
+ "width": "100%",
519
+ },
520
+ {
521
+ "width": 375,
522
+ },
523
+ ],
524
+ },
525
+ "type": "FlatList",
526
+ },
527
+ ],
528
+ "props": {
529
+ "onLayout": [Function: AsyncFunction],
530
+ "style": [
531
+ {
532
+ "alignItems": "center",
533
+ "height": "100%",
534
+ "justifyContent": "center",
535
+ "width": "100%",
536
+ },
537
+ {
538
+ "opacity": Value {
539
+ "_value": 0,
540
+ "addListener": [class Function],
541
+ "animate": [class Function],
542
+ "extractOffset": [class Function],
543
+ "flattenOffset": [class Function],
544
+ "interpolate": [class Function],
545
+ "removeAllListeners": [class Function],
546
+ "removeListener": [class Function],
547
+ "resetAnimation": [class Function],
548
+ "setOffset": [class Function],
549
+ "setValue": [class Function],
550
+ "stopAnimation": [class Function],
551
+ "stopTracking": [class Function],
552
+ "track": [class Function],
553
+ },
554
+ "width": 375,
555
+ },
556
+ ],
557
+ "testID": undefined,
558
+ },
559
+ "type": "View",
560
+ },
561
+ ],
562
+ "props": {
563
+ "animationType": "none",
564
+ "onRequestClose": [Function],
565
+ "onShow": undefined,
566
+ "statusBarTranslucent": true,
567
+ "supportedOrientations": [
568
+ "portrait",
569
+ "portrait-upside-down",
570
+ "landscape",
571
+ "landscape-left",
572
+ "landscape-right",
573
+ ],
574
+ "transparent": true,
575
+ "visible": false,
576
+ },
577
+ "type": "Modal",
578
+ }
579
+ `;
580
+
581
+ exports[`ActionSheet renders with gesture enabled 1`] = `
582
+ {
583
+ "$$typeof": Symbol(react.test.json),
584
+ "children": [
585
+ {
586
+ "$$typeof": Symbol(react.test.json),
587
+ "children": [
588
+ {
589
+ "$$typeof": Symbol(react.test.json),
590
+ "children": [
591
+ {
592
+ "$$typeof": Symbol(react.test.json),
593
+ "children": null,
594
+ "props": {
595
+ "style": undefined,
596
+ "testID": undefined,
597
+ },
598
+ "type": "View",
599
+ },
600
+ ],
601
+ "props": {
602
+ "ref": {
603
+ "current": null,
604
+ },
605
+ "style": {
606
+ "left": 999999,
607
+ "position": "absolute",
608
+ "top": 999999,
609
+ },
610
+ },
611
+ "type": "SafeAreaView",
612
+ },
613
+ {
614
+ "$$typeof": Symbol(react.test.json),
615
+ "children": [
616
+ {
617
+ "$$typeof": Symbol(react.test.json),
618
+ "children": [
619
+ {
620
+ "$$typeof": Symbol(react.test.json),
621
+ "children": null,
622
+ "props": {
623
+ "onTouchEnd": [Function],
624
+ "onTouchMove": [Function],
625
+ "onTouchStart": [Function],
626
+ "style": {
627
+ "backgroundColor": "black",
628
+ "height": "100%",
629
+ "opacity": 0.3,
630
+ "position": "absolute",
631
+ "width": "100%",
632
+ "zIndex": 1,
633
+ },
634
+ "testID": undefined,
635
+ },
636
+ "type": "View",
637
+ },
638
+ {
639
+ "$$typeof": Symbol(react.test.json),
640
+ "children": [
641
+ {
642
+ "$$typeof": Symbol(react.test.json),
643
+ "children": null,
644
+ "props": {
645
+ "aria-role": "button",
646
+ "onLongPress": [Function],
647
+ "onPress": [Function],
648
+ "style": {
649
+ "height": 933.8,
650
+ "width": "100%",
651
+ },
652
+ },
653
+ "type": "Pressable",
654
+ },
655
+ ],
656
+ "props": {
657
+ "onTouchEnd": [Function],
658
+ "onTouchMove": [Function],
659
+ "onTouchStart": [Function],
660
+ "style": {
661
+ "height": 933.8,
662
+ "width": "100%",
663
+ "zIndex": 10,
664
+ },
665
+ "testID": undefined,
666
+ },
667
+ "type": "View",
668
+ },
669
+ {
670
+ "$$typeof": Symbol(react.test.json),
671
+ "children": [
672
+ {
673
+ "$$typeof": Symbol(react.test.json),
674
+ "children": [
675
+ {
676
+ "$$typeof": Symbol(react.test.json),
677
+ "children": null,
678
+ "props": {
679
+ "style": [
680
+ {
681
+ "alignSelf": "center",
682
+ "backgroundColor": "#f0f0f0",
683
+ "borderRadius": 100,
684
+ "height": 6,
685
+ "marginVertical": 5,
686
+ "width": 45,
687
+ },
688
+ {
689
+ "backgroundColor": "#f0f0f0",
690
+ },
691
+ ],
692
+ "testID": undefined,
693
+ },
694
+ "type": "View",
695
+ },
696
+ {
697
+ "$$typeof": Symbol(react.test.json),
698
+ "children": [
699
+ "Gesture content",
700
+ ],
701
+ "props": {
702
+ "style": undefined,
703
+ },
704
+ "type": "Text",
705
+ },
706
+ ],
707
+ "props": {
708
+ "style": {
709
+ "marginTop": 0,
710
+ "maxHeight": 812,
711
+ "transform": [
712
+ {
713
+ "translateY": Value {
714
+ "_value": 0,
715
+ "addListener": [class Function],
716
+ "animate": [class Function],
717
+ "extractOffset": [class Function],
718
+ "flattenOffset": [class Function],
719
+ "interpolate": [class Function],
720
+ "removeAllListeners": [class Function],
721
+ "removeListener": [class Function],
722
+ "resetAnimation": [class Function],
723
+ "setOffset": [class Function],
724
+ "setValue": [class Function],
725
+ "stopAnimation": [class Function],
726
+ "stopTracking": [class Function],
727
+ "track": [class Function],
728
+ },
729
+ },
730
+ ],
731
+ },
732
+ "testID": undefined,
733
+ },
734
+ "type": "View",
735
+ },
736
+ ],
737
+ "props": {
738
+ "onLayout": [Function: AsyncFunction],
739
+ "style": [
740
+ {
741
+ "alignSelf": "center",
742
+ "backgroundColor": "white",
743
+ "width": "100%",
744
+ },
745
+ {
746
+ "borderRadius": 10,
747
+ },
748
+ undefined,
749
+ {
750
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
751
+ "elevation": 5,
752
+ "maxHeight": 812,
753
+ "opacity": Value {
754
+ "_value": 0,
755
+ "addListener": [class Function],
756
+ "animate": [class Function],
757
+ "extractOffset": [class Function],
758
+ "flattenOffset": [class Function],
759
+ "interpolate": [class Function],
760
+ "removeAllListeners": [class Function],
761
+ "removeListener": [class Function],
762
+ "resetAnimation": [class Function],
763
+ "setOffset": [class Function],
764
+ "setValue": [class Function],
765
+ "stopAnimation": [class Function],
766
+ "stopTracking": [class Function],
767
+ "track": [class Function],
768
+ },
769
+ "transform": [
770
+ {
771
+ "translateY": Value {
772
+ "_value": 0,
773
+ "addListener": [class Function],
774
+ "animate": [class Function],
775
+ "extractOffset": [class Function],
776
+ "flattenOffset": [class Function],
777
+ "interpolate": [class Function],
778
+ "removeAllListeners": [class Function],
779
+ "removeListener": [class Function],
780
+ "resetAnimation": [class Function],
781
+ "setOffset": [class Function],
782
+ "setValue": [class Function],
783
+ "stopAnimation": [class Function],
784
+ "stopTracking": [class Function],
785
+ "track": [class Function],
786
+ },
787
+ },
788
+ ],
789
+ "zIndex": 11,
790
+ },
791
+ ],
792
+ "testID": undefined,
793
+ },
794
+ "type": "View",
795
+ },
796
+ ],
797
+ "props": {
798
+ "style": {
799
+ "width": "100%",
800
+ },
801
+ "testID": undefined,
802
+ },
803
+ "type": "View",
804
+ },
805
+ ],
806
+ "props": {
807
+ "bounces": false,
808
+ "contentContainerStyle": {
809
+ "width": 375,
810
+ },
811
+ "keyboardShouldPersistTaps": undefined,
812
+ "onMomentumScrollBegin": [Function: AsyncFunction],
813
+ "onMomentumScrollEnd": [Function: AsyncFunction],
814
+ "onScroll": [Function],
815
+ "onScrollBeginDrag": [Function: AsyncFunction],
816
+ "onTouchEnd": [Function],
817
+ "ref": {
818
+ "current": null,
819
+ },
820
+ "scrollEnabled": false,
821
+ "scrollEventThrottle": 5,
822
+ "scrollsToTop": false,
823
+ "showsVerticalScrollIndicator": false,
824
+ "style": [
825
+ {
826
+ "backgroundColor": "transparent",
827
+ "height": "100%",
828
+ "width": "100%",
829
+ },
830
+ {
831
+ "width": 375,
832
+ },
833
+ ],
834
+ },
835
+ "type": "FlatList",
836
+ },
837
+ ],
838
+ "props": {
839
+ "onLayout": [Function: AsyncFunction],
840
+ "style": [
841
+ {
842
+ "alignItems": "center",
843
+ "height": "100%",
844
+ "justifyContent": "center",
845
+ "width": "100%",
846
+ },
847
+ {
848
+ "opacity": Value {
849
+ "_value": 0,
850
+ "addListener": [class Function],
851
+ "animate": [class Function],
852
+ "extractOffset": [class Function],
853
+ "flattenOffset": [class Function],
854
+ "interpolate": [class Function],
855
+ "removeAllListeners": [class Function],
856
+ "removeListener": [class Function],
857
+ "resetAnimation": [class Function],
858
+ "setOffset": [class Function],
859
+ "setValue": [class Function],
860
+ "stopAnimation": [class Function],
861
+ "stopTracking": [class Function],
862
+ "track": [class Function],
863
+ },
864
+ "width": 375,
865
+ },
866
+ ],
867
+ "testID": undefined,
868
+ },
869
+ "type": "View",
870
+ },
871
+ ],
872
+ "props": {
873
+ "animationType": "none",
874
+ "onRequestClose": [Function],
875
+ "onShow": undefined,
876
+ "statusBarTranslucent": true,
877
+ "supportedOrientations": [
878
+ "portrait",
879
+ "portrait-upside-down",
880
+ "landscape",
881
+ "landscape-left",
882
+ "landscape-right",
883
+ ],
884
+ "transparent": true,
885
+ "visible": false,
886
+ },
887
+ "type": "Modal",
888
+ }
889
+ `;