@terreno/ui 0.0.14 → 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 (156) hide show
  1. package/README.md +1 -1
  2. package/dist/Card.d.ts +1 -1
  3. package/dist/Card.js +2 -2
  4. package/dist/Card.js.map +1 -1
  5. package/dist/DateUtilities.js +2 -2
  6. package/package.json +1 -1
  7. package/src/ActionSheet.test.tsx +77 -0
  8. package/src/Banner.test.tsx +106 -0
  9. package/src/Body.test.tsx +79 -0
  10. package/src/BooleanField.test.tsx +84 -0
  11. package/src/Button.test.tsx +160 -0
  12. package/src/Card.test.tsx +61 -0
  13. package/src/Card.tsx +1 -2
  14. package/src/CheckBox.test.tsx +53 -0
  15. package/src/CustomSelectField.test.tsx +85 -0
  16. package/src/DataTable.test.tsx +133 -0
  17. package/src/DateTimeActionSheet.test.tsx +16 -0
  18. package/src/DateUtilities.tsx +2 -2
  19. package/src/DecimalRangeActionSheet.test.tsx +46 -0
  20. package/src/DismissButton.test.tsx +49 -0
  21. package/src/EmailField.test.tsx +106 -0
  22. package/src/ErrorBoundary.test.tsx +44 -0
  23. package/src/ErrorPage.test.tsx +44 -0
  24. package/src/Field.test.tsx +128 -0
  25. package/src/Heading.test.tsx +66 -0
  26. package/src/HeightActionSheet.test.tsx +34 -0
  27. package/src/Hyperlink.test.tsx +52 -0
  28. package/src/Icon.test.tsx +61 -0
  29. package/src/IconButton.test.tsx +145 -0
  30. package/src/Image.test.tsx +65 -0
  31. package/src/ImageBackground.test.tsx +46 -0
  32. package/src/InfoModalIcon.test.tsx +54 -0
  33. package/src/InfoTooltipButton.test.tsx +22 -0
  34. package/src/Link.test.tsx +64 -0
  35. package/src/MarkdownView.test.tsx +50 -0
  36. package/src/MobileAddressAutoComplete.test.tsx +15 -0
  37. package/src/Modal.test.tsx +169 -0
  38. package/src/ModalSheet.test.tsx +20 -0
  39. package/src/MultiselectField.test.tsx +134 -0
  40. package/src/NumberField.test.tsx +133 -0
  41. package/src/NumberPickerActionSheet.test.tsx +46 -0
  42. package/src/OpenAPIContext.test.tsx +36 -0
  43. package/src/Page.test.tsx +128 -0
  44. package/src/Pagination.test.tsx +86 -0
  45. package/src/PasswordField.test.tsx +17 -0
  46. package/src/PhoneNumberField.test.tsx +79 -0
  47. package/src/PickerSelect.test.tsx +16 -0
  48. package/src/Radio.test.tsx +30 -0
  49. package/src/RadioField.test.tsx +89 -0
  50. package/src/SectionDivider.test.tsx +17 -0
  51. package/src/SegmentedControl.test.tsx +84 -0
  52. package/src/SelectBadge.test.tsx +103 -0
  53. package/src/SelectField.test.tsx +84 -0
  54. package/src/SideDrawer.test.tsx +99 -0
  55. package/src/Signature.test.tsx +15 -0
  56. package/src/SignatureField.test.tsx +16 -0
  57. package/src/Spinner.test.tsx +74 -0
  58. package/src/SplitPage.test.tsx +15 -0
  59. package/src/TapToEdit.test.tsx +147 -0
  60. package/src/TerrenoProvider.test.tsx +36 -0
  61. package/src/Text.test.tsx +147 -0
  62. package/src/Theme.test.tsx +153 -0
  63. package/src/TimezonePicker.test.tsx +57 -0
  64. package/src/Toast.test.tsx +82 -0
  65. package/src/Tooltip.test.tsx +89 -0
  66. package/src/UnifiedAddressAutoComplete.test.tsx +15 -0
  67. package/src/Utilities.test.tsx +237 -0
  68. package/src/WebAddressAutocomplete.test.tsx +15 -0
  69. package/src/__snapshots__/ActionSheet.test.tsx.snap +889 -0
  70. package/src/__snapshots__/Banner.test.tsx.snap +546 -0
  71. package/src/__snapshots__/Body.test.tsx.snap +685 -0
  72. package/src/__snapshots__/BooleanField.test.tsx.snap +553 -0
  73. package/src/__snapshots__/Button.test.tsx.snap +1281 -0
  74. package/src/__snapshots__/Card.test.tsx.snap +195 -0
  75. package/src/__snapshots__/CheckBox.test.tsx.snap +190 -0
  76. package/src/__snapshots__/CustomSelectField.test.tsx.snap +2299 -0
  77. package/src/__snapshots__/DataTable.test.tsx.snap +9614 -0
  78. package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +1719 -0
  79. package/src/__snapshots__/DismissButton.test.tsx.snap +91 -0
  80. package/src/__snapshots__/EmailField.test.tsx.snap +168 -0
  81. package/src/__snapshots__/ErrorBoundary.test.tsx.snap +57 -0
  82. package/src/__snapshots__/ErrorPage.test.tsx.snap +195 -0
  83. package/src/__snapshots__/Field.test.tsx.snap +4510 -0
  84. package/src/__snapshots__/Heading.test.tsx.snap +193 -0
  85. package/src/__snapshots__/HeightActionSheet.test.tsx.snap +1269 -0
  86. package/src/__snapshots__/Hyperlink.test.tsx.snap +81 -0
  87. package/src/__snapshots__/Icon.test.tsx.snap +47 -0
  88. package/src/__snapshots__/IconButton.test.tsx.snap +29 -0
  89. package/src/__snapshots__/Image.test.tsx.snap +282 -0
  90. package/src/__snapshots__/ImageBackground.test.tsx.snap +120 -0
  91. package/src/__snapshots__/InfoModalIcon.test.tsx.snap +1229 -0
  92. package/src/__snapshots__/InfoTooltipButton.test.tsx.snap +7 -0
  93. package/src/__snapshots__/Link.test.tsx.snap +41 -0
  94. package/src/__snapshots__/MarkdownView.test.tsx.snap +965 -0
  95. package/src/__snapshots__/Modal.test.tsx.snap +1477 -0
  96. package/src/__snapshots__/MultiselectField.test.tsx.snap +1454 -0
  97. package/src/__snapshots__/NumberField.test.tsx.snap +80 -0
  98. package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +5359 -0
  99. package/src/__snapshots__/OpenAPIContext.test.tsx.snap +14 -0
  100. package/src/__snapshots__/Page.test.tsx.snap +1647 -0
  101. package/src/__snapshots__/Pagination.test.tsx.snap +1913 -0
  102. package/src/__snapshots__/PasswordField.test.tsx.snap +15 -0
  103. package/src/__snapshots__/PhoneNumberField.test.tsx.snap +405 -0
  104. package/src/__snapshots__/PickerSelect.test.tsx.snap +266 -0
  105. package/src/__snapshots__/Radio.test.tsx.snap +111 -0
  106. package/src/__snapshots__/RadioField.test.tsx.snap +944 -0
  107. package/src/__snapshots__/SectionDivider.test.tsx.snap +37 -0
  108. package/src/__snapshots__/SegmentedControl.test.tsx.snap +1422 -0
  109. package/src/__snapshots__/SelectBadge.test.tsx.snap +2377 -0
  110. package/src/__snapshots__/SelectField.test.tsx.snap +1658 -0
  111. package/src/__snapshots__/SideDrawer.test.tsx.snap +1857 -0
  112. package/src/__snapshots__/SignatureField.test.tsx.snap +133 -0
  113. package/src/__snapshots__/Spinner.test.tsx.snap +73 -0
  114. package/src/__snapshots__/TapToEdit.test.tsx.snap +839 -0
  115. package/src/__snapshots__/TerrenoProvider.test.tsx.snap +203 -0
  116. package/src/__snapshots__/Text.test.tsx.snap +558 -0
  117. package/src/__snapshots__/TimezonePicker.test.tsx.snap +6676 -0
  118. package/src/__snapshots__/Toast.test.tsx.snap +1982 -0
  119. package/src/__snapshots__/Tooltip.test.tsx.snap +456 -0
  120. package/src/bunSetup.ts +101 -8
  121. package/src/fieldElements/FieldError.test.tsx +40 -0
  122. package/src/fieldElements/FieldHelperText.test.tsx +34 -0
  123. package/src/fieldElements/FieldTitle.test.tsx +30 -0
  124. package/src/fieldElements/__snapshots__/FieldError.test.tsx.snap +85 -0
  125. package/src/fieldElements/__snapshots__/FieldHelperText.test.tsx.snap +30 -0
  126. package/src/fieldElements/__snapshots__/FieldTitle.test.tsx.snap +19 -0
  127. package/src/icons/MobileIcon.test.tsx +21 -0
  128. package/src/icons/OfflineIcon.test.tsx +21 -0
  129. package/src/icons/OnlineIcon.test.tsx +21 -0
  130. package/src/icons/OutOfficeIcon.test.tsx +21 -0
  131. package/src/icons/__snapshots__/MobileIcon.test.tsx.snap +160 -0
  132. package/src/icons/__snapshots__/OfflineIcon.test.tsx.snap +133 -0
  133. package/src/icons/__snapshots__/OnlineIcon.test.tsx.snap +124 -0
  134. package/src/icons/__snapshots__/OutOfficeIcon.test.tsx.snap +160 -0
  135. package/src/table/Table.test.tsx +107 -0
  136. package/src/table/TableBadge.test.tsx +53 -0
  137. package/src/table/TableBoolean.test.tsx +38 -0
  138. package/src/table/TableDate.test.tsx +27 -0
  139. package/src/table/TableHeader.test.tsx +67 -0
  140. package/src/table/TableHeaderCell.test.tsx +113 -0
  141. package/src/table/TableIconButton.test.tsx +51 -0
  142. package/src/table/TableNumber.test.tsx +45 -0
  143. package/src/table/TableRow.test.tsx +83 -0
  144. package/src/table/TableText.test.tsx +30 -0
  145. package/src/table/TableTitle.test.tsx +30 -0
  146. package/src/table/__snapshots__/Table.test.tsx.snap +2090 -0
  147. package/src/table/__snapshots__/TableBadge.test.tsx.snap +710 -0
  148. package/src/table/__snapshots__/TableBoolean.test.tsx.snap +231 -0
  149. package/src/table/__snapshots__/TableDate.test.tsx.snap +61 -0
  150. package/src/table/__snapshots__/TableHeader.test.tsx.snap +1089 -0
  151. package/src/table/__snapshots__/TableHeaderCell.test.tsx.snap +1773 -0
  152. package/src/table/__snapshots__/TableIconButton.test.tsx.snap +81 -0
  153. package/src/table/__snapshots__/TableNumber.test.tsx.snap +91 -0
  154. package/src/table/__snapshots__/TableRow.test.tsx.snap +1391 -0
  155. package/src/table/__snapshots__/TableText.test.tsx.snap +73 -0
  156. package/src/table/__snapshots__/TableTitle.test.tsx.snap +109 -0
@@ -0,0 +1,685 @@
1
+ // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
+
3
+ exports[`Body renders correctly with default props 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": [
16
+ {
17
+ "$$typeof": Symbol(react.test.json),
18
+ "children": [
19
+ {
20
+ "$$typeof": Symbol(react.test.json),
21
+ "children": [
22
+ {
23
+ "$$typeof": Symbol(react.test.json),
24
+ "children": [
25
+ "Body content",
26
+ ],
27
+ "props": {
28
+ "numberOfLines": 0,
29
+ "selectable": undefined,
30
+ "style": {
31
+ "color": "#1C1C1C",
32
+ "fontFamily": "text-regular",
33
+ "fontSize": 14,
34
+ "textAlign": "left",
35
+ },
36
+ "testID": undefined,
37
+ },
38
+ "type": "Text",
39
+ },
40
+ ],
41
+ "props": {},
42
+ "type": "View",
43
+ },
44
+ ],
45
+ "props": {
46
+ "onPointerEnter": [Function: AsyncFunction],
47
+ "onPointerLeave": [Function: AsyncFunction],
48
+ "style": {
49
+ "height": "100%",
50
+ "padding": 24,
51
+ },
52
+ "testID": undefined,
53
+ },
54
+ "type": "View",
55
+ },
56
+ ],
57
+ "props": {
58
+ "onPointerEnter": [Function: AsyncFunction],
59
+ "onPointerLeave": [Function: AsyncFunction],
60
+ "style": {
61
+ "avoidKeyboard": true,
62
+ "height": "100%",
63
+ "scroll": undefined,
64
+ },
65
+ "testID": undefined,
66
+ },
67
+ "type": "View",
68
+ },
69
+ ],
70
+ "props": {
71
+ "style": {
72
+ "display": "flex",
73
+ "flex": 1,
74
+ },
75
+ },
76
+ "type": "SafeAreaView",
77
+ },
78
+ ],
79
+ "props": {
80
+ "behavior": "padding",
81
+ "keyboardVerticalOffset": undefined,
82
+ "style": {
83
+ "display": "flex",
84
+ "flex": 1,
85
+ },
86
+ },
87
+ "type": "KeyboardAvoidingView",
88
+ },
89
+ ],
90
+ "props": {
91
+ "behavior": "position",
92
+ },
93
+ "type": "KeyboardAvoidingView",
94
+ }
95
+ `;
96
+
97
+ exports[`Body renders with scroll enabled 1`] = `
98
+ {
99
+ "$$typeof": Symbol(react.test.json),
100
+ "children": [
101
+ {
102
+ "$$typeof": Symbol(react.test.json),
103
+ "children": [
104
+ {
105
+ "$$typeof": Symbol(react.test.json),
106
+ "children": [
107
+ {
108
+ "$$typeof": Symbol(react.test.json),
109
+ "children": [
110
+ {
111
+ "$$typeof": Symbol(react.test.json),
112
+ "children": [
113
+ {
114
+ "$$typeof": Symbol(react.test.json),
115
+ "children": [
116
+ {
117
+ "$$typeof": Symbol(react.test.json),
118
+ "children": [
119
+ {
120
+ "$$typeof": Symbol(react.test.json),
121
+ "children": [
122
+ "Scrollable content",
123
+ ],
124
+ "props": {
125
+ "numberOfLines": 0,
126
+ "selectable": undefined,
127
+ "style": {
128
+ "color": "#1C1C1C",
129
+ "fontFamily": "text-regular",
130
+ "fontSize": 14,
131
+ "textAlign": "left",
132
+ },
133
+ "testID": undefined,
134
+ },
135
+ "type": "Text",
136
+ },
137
+ ],
138
+ "props": {},
139
+ "type": "View",
140
+ },
141
+ ],
142
+ "props": {
143
+ "onPointerEnter": [Function: AsyncFunction],
144
+ "onPointerLeave": [Function: AsyncFunction],
145
+ "style": {
146
+ "height": "100%",
147
+ "padding": 24,
148
+ },
149
+ "testID": undefined,
150
+ },
151
+ "type": "View",
152
+ },
153
+ ],
154
+ "props": {
155
+ "onPointerEnter": [Function: AsyncFunction],
156
+ "onPointerLeave": [Function: AsyncFunction],
157
+ "style": {
158
+ "avoidKeyboard": true,
159
+ "height": "100%",
160
+ "scroll": true,
161
+ },
162
+ "testID": undefined,
163
+ },
164
+ "type": "View",
165
+ },
166
+ ],
167
+ "props": {
168
+ "contentContainerStyle": {
169
+ "alignContent": undefined,
170
+ "alignItems": undefined,
171
+ "justifyContent": undefined,
172
+ },
173
+ "horizontal": false,
174
+ "keyboardShouldPersistTaps": "handled",
175
+ "nestedScrollEnabled": true,
176
+ "onScroll": [Function],
177
+ "ref": {
178
+ "current": null,
179
+ },
180
+ "scrollEventThrottle": 50,
181
+ "style": {
182
+ "avoidKeyboard": true,
183
+ "height": "100%",
184
+ "scroll": true,
185
+ },
186
+ },
187
+ "type": "ScrollView",
188
+ },
189
+ ],
190
+ "props": {
191
+ "style": {
192
+ "display": "flex",
193
+ "flex": 1,
194
+ },
195
+ },
196
+ "type": "SafeAreaView",
197
+ },
198
+ ],
199
+ "props": {
200
+ "behavior": "padding",
201
+ "keyboardVerticalOffset": undefined,
202
+ "style": {
203
+ "display": "flex",
204
+ "flex": 1,
205
+ },
206
+ },
207
+ "type": "KeyboardAvoidingView",
208
+ },
209
+ ],
210
+ "props": {
211
+ "behavior": "position",
212
+ },
213
+ "type": "KeyboardAvoidingView",
214
+ }
215
+ `;
216
+
217
+ exports[`Body renders with loading state 1`] = `
218
+ {
219
+ "$$typeof": Symbol(react.test.json),
220
+ "children": [
221
+ {
222
+ "$$typeof": Symbol(react.test.json),
223
+ "children": [
224
+ {
225
+ "$$typeof": Symbol(react.test.json),
226
+ "children": [
227
+ {
228
+ "$$typeof": Symbol(react.test.json),
229
+ "children": [
230
+ {
231
+ "$$typeof": Symbol(react.test.json),
232
+ "children": [
233
+ {
234
+ "$$typeof": Symbol(react.test.json),
235
+ "children": null,
236
+ "props": {
237
+ "color": "#1C1C1C",
238
+ "size": "large",
239
+ },
240
+ "type": "ActivityIndicator",
241
+ },
242
+ {
243
+ "$$typeof": Symbol(react.test.json),
244
+ "children": [
245
+ {
246
+ "$$typeof": Symbol(react.test.json),
247
+ "children": [
248
+ "Content",
249
+ ],
250
+ "props": {
251
+ "numberOfLines": 0,
252
+ "selectable": undefined,
253
+ "style": {
254
+ "color": "#1C1C1C",
255
+ "fontFamily": "text-regular",
256
+ "fontSize": 14,
257
+ "textAlign": "left",
258
+ },
259
+ "testID": undefined,
260
+ },
261
+ "type": "Text",
262
+ },
263
+ ],
264
+ "props": {},
265
+ "type": "View",
266
+ },
267
+ ],
268
+ "props": {
269
+ "onPointerEnter": [Function: AsyncFunction],
270
+ "onPointerLeave": [Function: AsyncFunction],
271
+ "style": {
272
+ "height": "100%",
273
+ "padding": 24,
274
+ },
275
+ "testID": undefined,
276
+ },
277
+ "type": "View",
278
+ },
279
+ ],
280
+ "props": {
281
+ "onPointerEnter": [Function: AsyncFunction],
282
+ "onPointerLeave": [Function: AsyncFunction],
283
+ "style": {
284
+ "avoidKeyboard": true,
285
+ "height": "100%",
286
+ "scroll": undefined,
287
+ },
288
+ "testID": undefined,
289
+ },
290
+ "type": "View",
291
+ },
292
+ ],
293
+ "props": {
294
+ "style": {
295
+ "display": "flex",
296
+ "flex": 1,
297
+ },
298
+ },
299
+ "type": "SafeAreaView",
300
+ },
301
+ ],
302
+ "props": {
303
+ "behavior": "padding",
304
+ "keyboardVerticalOffset": undefined,
305
+ "style": {
306
+ "display": "flex",
307
+ "flex": 1,
308
+ },
309
+ },
310
+ "type": "KeyboardAvoidingView",
311
+ },
312
+ ],
313
+ "props": {
314
+ "behavior": "position",
315
+ },
316
+ "type": "KeyboardAvoidingView",
317
+ }
318
+ `;
319
+
320
+ exports[`Body renders with custom padding 1`] = `
321
+ {
322
+ "$$typeof": Symbol(react.test.json),
323
+ "children": [
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": [
333
+ {
334
+ "$$typeof": Symbol(react.test.json),
335
+ "children": [
336
+ {
337
+ "$$typeof": Symbol(react.test.json),
338
+ "children": [
339
+ {
340
+ "$$typeof": Symbol(react.test.json),
341
+ "children": [
342
+ "Content",
343
+ ],
344
+ "props": {
345
+ "numberOfLines": 0,
346
+ "selectable": undefined,
347
+ "style": {
348
+ "color": "#1C1C1C",
349
+ "fontFamily": "text-regular",
350
+ "fontSize": 14,
351
+ "textAlign": "left",
352
+ },
353
+ "testID": undefined,
354
+ },
355
+ "type": "Text",
356
+ },
357
+ ],
358
+ "props": {},
359
+ "type": "View",
360
+ },
361
+ ],
362
+ "props": {
363
+ "onPointerEnter": [Function: AsyncFunction],
364
+ "onPointerLeave": [Function: AsyncFunction],
365
+ "style": {
366
+ "height": "100%",
367
+ "padding": 64,
368
+ },
369
+ "testID": undefined,
370
+ },
371
+ "type": "View",
372
+ },
373
+ ],
374
+ "props": {
375
+ "onPointerEnter": [Function: AsyncFunction],
376
+ "onPointerLeave": [Function: AsyncFunction],
377
+ "style": {
378
+ "avoidKeyboard": true,
379
+ "height": "100%",
380
+ "scroll": undefined,
381
+ },
382
+ "testID": undefined,
383
+ },
384
+ "type": "View",
385
+ },
386
+ ],
387
+ "props": {
388
+ "style": {
389
+ "display": "flex",
390
+ "flex": 1,
391
+ },
392
+ },
393
+ "type": "SafeAreaView",
394
+ },
395
+ ],
396
+ "props": {
397
+ "behavior": "padding",
398
+ "keyboardVerticalOffset": undefined,
399
+ "style": {
400
+ "display": "flex",
401
+ "flex": 1,
402
+ },
403
+ },
404
+ "type": "KeyboardAvoidingView",
405
+ },
406
+ ],
407
+ "props": {
408
+ "behavior": "position",
409
+ },
410
+ "type": "KeyboardAvoidingView",
411
+ }
412
+ `;
413
+
414
+ exports[`Body renders with custom height 1`] = `
415
+ {
416
+ "$$typeof": Symbol(react.test.json),
417
+ "children": [
418
+ {
419
+ "$$typeof": Symbol(react.test.json),
420
+ "children": [
421
+ {
422
+ "$$typeof": Symbol(react.test.json),
423
+ "children": [
424
+ {
425
+ "$$typeof": Symbol(react.test.json),
426
+ "children": [
427
+ {
428
+ "$$typeof": Symbol(react.test.json),
429
+ "children": [
430
+ {
431
+ "$$typeof": Symbol(react.test.json),
432
+ "children": [
433
+ {
434
+ "$$typeof": Symbol(react.test.json),
435
+ "children": [
436
+ "Content",
437
+ ],
438
+ "props": {
439
+ "numberOfLines": 0,
440
+ "selectable": undefined,
441
+ "style": {
442
+ "color": "#1C1C1C",
443
+ "fontFamily": "text-regular",
444
+ "fontSize": 14,
445
+ "textAlign": "left",
446
+ },
447
+ "testID": undefined,
448
+ },
449
+ "type": "Text",
450
+ },
451
+ ],
452
+ "props": {},
453
+ "type": "View",
454
+ },
455
+ ],
456
+ "props": {
457
+ "onPointerEnter": [Function: AsyncFunction],
458
+ "onPointerLeave": [Function: AsyncFunction],
459
+ "style": {
460
+ "height": 500,
461
+ "padding": 24,
462
+ },
463
+ "testID": undefined,
464
+ },
465
+ "type": "View",
466
+ },
467
+ ],
468
+ "props": {
469
+ "onPointerEnter": [Function: AsyncFunction],
470
+ "onPointerLeave": [Function: AsyncFunction],
471
+ "style": {
472
+ "avoidKeyboard": true,
473
+ "height": "100%",
474
+ "scroll": undefined,
475
+ },
476
+ "testID": undefined,
477
+ },
478
+ "type": "View",
479
+ },
480
+ ],
481
+ "props": {
482
+ "style": {
483
+ "display": "flex",
484
+ "flex": 1,
485
+ },
486
+ },
487
+ "type": "SafeAreaView",
488
+ },
489
+ ],
490
+ "props": {
491
+ "behavior": "padding",
492
+ "keyboardVerticalOffset": undefined,
493
+ "style": {
494
+ "display": "flex",
495
+ "flex": 1,
496
+ },
497
+ },
498
+ "type": "KeyboardAvoidingView",
499
+ },
500
+ ],
501
+ "props": {
502
+ "behavior": "position",
503
+ },
504
+ "type": "KeyboardAvoidingView",
505
+ }
506
+ `;
507
+
508
+ exports[`Body renders without keyboard avoiding when avoidKeyboard is false 1`] = `
509
+ {
510
+ "$$typeof": Symbol(react.test.json),
511
+ "children": [
512
+ {
513
+ "$$typeof": Symbol(react.test.json),
514
+ "children": [
515
+ {
516
+ "$$typeof": Symbol(react.test.json),
517
+ "children": [
518
+ {
519
+ "$$typeof": Symbol(react.test.json),
520
+ "children": [
521
+ {
522
+ "$$typeof": Symbol(react.test.json),
523
+ "children": [
524
+ {
525
+ "$$typeof": Symbol(react.test.json),
526
+ "children": [
527
+ "Content",
528
+ ],
529
+ "props": {
530
+ "numberOfLines": 0,
531
+ "selectable": undefined,
532
+ "style": {
533
+ "color": "#1C1C1C",
534
+ "fontFamily": "text-regular",
535
+ "fontSize": 14,
536
+ "textAlign": "left",
537
+ },
538
+ "testID": undefined,
539
+ },
540
+ "type": "Text",
541
+ },
542
+ ],
543
+ "props": {},
544
+ "type": "View",
545
+ },
546
+ ],
547
+ "props": {
548
+ "onPointerEnter": [Function: AsyncFunction],
549
+ "onPointerLeave": [Function: AsyncFunction],
550
+ "style": {
551
+ "height": "100%",
552
+ "padding": 24,
553
+ },
554
+ "testID": undefined,
555
+ },
556
+ "type": "View",
557
+ },
558
+ ],
559
+ "props": {
560
+ "onPointerEnter": [Function: AsyncFunction],
561
+ "onPointerLeave": [Function: AsyncFunction],
562
+ "style": {
563
+ "avoidKeyboard": true,
564
+ "height": "100%",
565
+ "scroll": undefined,
566
+ },
567
+ "testID": undefined,
568
+ },
569
+ "type": "View",
570
+ },
571
+ ],
572
+ "props": {
573
+ "style": {
574
+ "display": "flex",
575
+ "flex": 1,
576
+ },
577
+ },
578
+ "type": "SafeAreaView",
579
+ },
580
+ ],
581
+ "props": {
582
+ "behavior": "padding",
583
+ "keyboardVerticalOffset": undefined,
584
+ "style": {
585
+ "display": "flex",
586
+ "flex": 1,
587
+ },
588
+ },
589
+ "type": "KeyboardAvoidingView",
590
+ }
591
+ `;
592
+
593
+ exports[`Body renders with keyboard avoiding by default 1`] = `
594
+ {
595
+ "$$typeof": Symbol(react.test.json),
596
+ "children": [
597
+ {
598
+ "$$typeof": Symbol(react.test.json),
599
+ "children": [
600
+ {
601
+ "$$typeof": Symbol(react.test.json),
602
+ "children": [
603
+ {
604
+ "$$typeof": Symbol(react.test.json),
605
+ "children": [
606
+ {
607
+ "$$typeof": Symbol(react.test.json),
608
+ "children": [
609
+ {
610
+ "$$typeof": Symbol(react.test.json),
611
+ "children": [
612
+ {
613
+ "$$typeof": Symbol(react.test.json),
614
+ "children": [
615
+ "Content",
616
+ ],
617
+ "props": {
618
+ "numberOfLines": 0,
619
+ "selectable": undefined,
620
+ "style": {
621
+ "color": "#1C1C1C",
622
+ "fontFamily": "text-regular",
623
+ "fontSize": 14,
624
+ "textAlign": "left",
625
+ },
626
+ "testID": undefined,
627
+ },
628
+ "type": "Text",
629
+ },
630
+ ],
631
+ "props": {},
632
+ "type": "View",
633
+ },
634
+ ],
635
+ "props": {
636
+ "onPointerEnter": [Function: AsyncFunction],
637
+ "onPointerLeave": [Function: AsyncFunction],
638
+ "style": {
639
+ "height": "100%",
640
+ "padding": 24,
641
+ },
642
+ "testID": undefined,
643
+ },
644
+ "type": "View",
645
+ },
646
+ ],
647
+ "props": {
648
+ "onPointerEnter": [Function: AsyncFunction],
649
+ "onPointerLeave": [Function: AsyncFunction],
650
+ "style": {
651
+ "avoidKeyboard": true,
652
+ "height": "100%",
653
+ "scroll": undefined,
654
+ },
655
+ "testID": undefined,
656
+ },
657
+ "type": "View",
658
+ },
659
+ ],
660
+ "props": {
661
+ "style": {
662
+ "display": "flex",
663
+ "flex": 1,
664
+ },
665
+ },
666
+ "type": "SafeAreaView",
667
+ },
668
+ ],
669
+ "props": {
670
+ "behavior": "padding",
671
+ "keyboardVerticalOffset": undefined,
672
+ "style": {
673
+ "display": "flex",
674
+ "flex": 1,
675
+ },
676
+ },
677
+ "type": "KeyboardAvoidingView",
678
+ },
679
+ ],
680
+ "props": {
681
+ "behavior": "position",
682
+ },
683
+ "type": "KeyboardAvoidingView",
684
+ }
685
+ `;