@terreno/ui 0.0.15 → 0.0.17

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 (173) hide show
  1. package/dist/Button.js +7 -9
  2. package/dist/Button.js.map +1 -1
  3. package/dist/Common.d.ts +39 -0
  4. package/dist/DateUtilities.js +2 -2
  5. package/dist/UserInactivity.d.ts +28 -0
  6. package/dist/UserInactivity.js +100 -0
  7. package/dist/UserInactivity.js.map +1 -0
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +1 -0
  10. package/dist/index.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/ActionSheet.test.tsx +77 -0
  13. package/src/Banner.test.tsx +106 -0
  14. package/src/Body.test.tsx +79 -0
  15. package/src/BooleanField.test.tsx +84 -0
  16. package/src/Button.test.tsx +160 -0
  17. package/src/Button.tsx +20 -37
  18. package/src/Card.test.tsx +61 -0
  19. package/src/CheckBox.test.tsx +53 -0
  20. package/src/Common.ts +45 -0
  21. package/src/CustomSelectField.test.tsx +85 -0
  22. package/src/DataTable.test.tsx +133 -0
  23. package/src/DateTimeActionSheet.test.tsx +65 -0
  24. package/src/DateUtilities.tsx +2 -2
  25. package/src/DecimalRangeActionSheet.test.tsx +46 -0
  26. package/src/DismissButton.test.tsx +49 -0
  27. package/src/EmailField.test.tsx +106 -0
  28. package/src/ErrorBoundary.test.tsx +44 -0
  29. package/src/ErrorPage.test.tsx +44 -0
  30. package/src/Field.test.tsx +128 -0
  31. package/src/Heading.test.tsx +66 -0
  32. package/src/HeightActionSheet.test.tsx +34 -0
  33. package/src/Hyperlink.test.tsx +52 -0
  34. package/src/Icon.test.tsx +61 -0
  35. package/src/IconButton.test.tsx +145 -0
  36. package/src/Image.test.tsx +65 -0
  37. package/src/ImageBackground.test.tsx +46 -0
  38. package/src/InfoModalIcon.test.tsx +54 -0
  39. package/src/InfoTooltipButton.test.tsx +22 -0
  40. package/src/Link.test.tsx +64 -0
  41. package/src/MarkdownView.test.tsx +50 -0
  42. package/src/MobileAddressAutoComplete.test.tsx +58 -0
  43. package/src/Modal.test.tsx +169 -0
  44. package/src/ModalSheet.test.tsx +52 -0
  45. package/src/MultiselectField.test.tsx +134 -0
  46. package/src/NumberField.test.tsx +133 -0
  47. package/src/NumberPickerActionSheet.test.tsx +46 -0
  48. package/src/OpenAPIContext.test.tsx +36 -0
  49. package/src/Page.test.tsx +128 -0
  50. package/src/Pagination.test.tsx +86 -0
  51. package/src/PasswordField.test.tsx +17 -0
  52. package/src/PhoneNumberField.test.tsx +79 -0
  53. package/src/PickerSelect.test.tsx +52 -0
  54. package/src/Radio.test.tsx +30 -0
  55. package/src/RadioField.test.tsx +89 -0
  56. package/src/SectionDivider.test.tsx +17 -0
  57. package/src/SegmentedControl.test.tsx +84 -0
  58. package/src/SelectBadge.test.tsx +103 -0
  59. package/src/SelectField.test.tsx +84 -0
  60. package/src/SideDrawer.test.tsx +99 -0
  61. package/src/Signature.test.tsx +32 -0
  62. package/src/SignatureField.test.tsx +60 -0
  63. package/src/Spinner.test.tsx +74 -0
  64. package/src/SplitPage.test.tsx +82 -0
  65. package/src/TapToEdit.test.tsx +147 -0
  66. package/src/TerrenoProvider.test.tsx +36 -0
  67. package/src/Text.test.tsx +147 -0
  68. package/src/Theme.test.tsx +153 -0
  69. package/src/TimezonePicker.test.tsx +57 -0
  70. package/src/Toast.test.tsx +82 -0
  71. package/src/Tooltip.test.tsx +89 -0
  72. package/src/UnifiedAddressAutoComplete.test.tsx +53 -0
  73. package/src/UserInactivity.test.tsx +96 -0
  74. package/src/UserInactivity.tsx +129 -0
  75. package/src/Utilities.test.tsx +237 -0
  76. package/src/WebAddressAutocomplete.test.tsx +33 -0
  77. package/src/__snapshots__/ActionSheet.test.tsx.snap +889 -0
  78. package/src/__snapshots__/Banner.test.tsx.snap +546 -0
  79. package/src/__snapshots__/Body.test.tsx.snap +685 -0
  80. package/src/__snapshots__/BooleanField.test.tsx.snap +553 -0
  81. package/src/__snapshots__/Button.test.tsx.snap +934 -0
  82. package/src/__snapshots__/Card.test.tsx.snap +195 -0
  83. package/src/__snapshots__/CheckBox.test.tsx.snap +190 -0
  84. package/src/__snapshots__/CustomSelectField.test.tsx.snap +2299 -0
  85. package/src/__snapshots__/DataTable.test.tsx.snap +9614 -0
  86. package/src/__snapshots__/DateTimeActionSheet.test.tsx.snap +11 -0
  87. package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +1719 -0
  88. package/src/__snapshots__/DismissButton.test.tsx.snap +91 -0
  89. package/src/__snapshots__/EmailField.test.tsx.snap +168 -0
  90. package/src/__snapshots__/ErrorBoundary.test.tsx.snap +57 -0
  91. package/src/__snapshots__/ErrorPage.test.tsx.snap +195 -0
  92. package/src/__snapshots__/Field.test.tsx.snap +4510 -0
  93. package/src/__snapshots__/Heading.test.tsx.snap +193 -0
  94. package/src/__snapshots__/HeightActionSheet.test.tsx.snap +1269 -0
  95. package/src/__snapshots__/Hyperlink.test.tsx.snap +81 -0
  96. package/src/__snapshots__/Icon.test.tsx.snap +47 -0
  97. package/src/__snapshots__/IconButton.test.tsx.snap +29 -0
  98. package/src/__snapshots__/Image.test.tsx.snap +282 -0
  99. package/src/__snapshots__/ImageBackground.test.tsx.snap +120 -0
  100. package/src/__snapshots__/InfoModalIcon.test.tsx.snap +1229 -0
  101. package/src/__snapshots__/InfoTooltipButton.test.tsx.snap +7 -0
  102. package/src/__snapshots__/Link.test.tsx.snap +41 -0
  103. package/src/__snapshots__/MarkdownView.test.tsx.snap +965 -0
  104. package/src/__snapshots__/MobileAddressAutoComplete.test.tsx.snap +230 -0
  105. package/src/__snapshots__/Modal.test.tsx.snap +1477 -0
  106. package/src/__snapshots__/ModalSheet.test.tsx.snap +37 -0
  107. package/src/__snapshots__/MultiselectField.test.tsx.snap +1454 -0
  108. package/src/__snapshots__/NumberField.test.tsx.snap +80 -0
  109. package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +5359 -0
  110. package/src/__snapshots__/OpenAPIContext.test.tsx.snap +14 -0
  111. package/src/__snapshots__/Page.test.tsx.snap +1647 -0
  112. package/src/__snapshots__/Pagination.test.tsx.snap +1913 -0
  113. package/src/__snapshots__/PasswordField.test.tsx.snap +15 -0
  114. package/src/__snapshots__/PhoneNumberField.test.tsx.snap +405 -0
  115. package/src/__snapshots__/PickerSelect.test.tsx.snap +1053 -0
  116. package/src/__snapshots__/Radio.test.tsx.snap +111 -0
  117. package/src/__snapshots__/RadioField.test.tsx.snap +944 -0
  118. package/src/__snapshots__/SectionDivider.test.tsx.snap +37 -0
  119. package/src/__snapshots__/SegmentedControl.test.tsx.snap +1422 -0
  120. package/src/__snapshots__/SelectBadge.test.tsx.snap +2377 -0
  121. package/src/__snapshots__/SelectField.test.tsx.snap +1658 -0
  122. package/src/__snapshots__/SideDrawer.test.tsx.snap +1857 -0
  123. package/src/__snapshots__/Signature.test.tsx.snap +67 -0
  124. package/src/__snapshots__/SignatureField.test.tsx.snap +241 -0
  125. package/src/__snapshots__/Spinner.test.tsx.snap +73 -0
  126. package/src/__snapshots__/SplitPage.test.tsx.snap +686 -0
  127. package/src/__snapshots__/TapToEdit.test.tsx.snap +839 -0
  128. package/src/__snapshots__/TerrenoProvider.test.tsx.snap +203 -0
  129. package/src/__snapshots__/Text.test.tsx.snap +558 -0
  130. package/src/__snapshots__/TimezonePicker.test.tsx.snap +6676 -0
  131. package/src/__snapshots__/Toast.test.tsx.snap +1982 -0
  132. package/src/__snapshots__/Tooltip.test.tsx.snap +456 -0
  133. package/src/__snapshots__/UnifiedAddressAutoComplete.test.tsx.snap +377 -0
  134. package/src/__snapshots__/UserInactivity.test.tsx.snap +108 -0
  135. package/src/__snapshots__/WebAddressAutocomplete.test.tsx.snap +238 -0
  136. package/src/bunSetup.ts +101 -8
  137. package/src/fieldElements/FieldError.test.tsx +40 -0
  138. package/src/fieldElements/FieldHelperText.test.tsx +34 -0
  139. package/src/fieldElements/FieldTitle.test.tsx +30 -0
  140. package/src/fieldElements/__snapshots__/FieldError.test.tsx.snap +85 -0
  141. package/src/fieldElements/__snapshots__/FieldHelperText.test.tsx.snap +30 -0
  142. package/src/fieldElements/__snapshots__/FieldTitle.test.tsx.snap +19 -0
  143. package/src/icons/MobileIcon.test.tsx +21 -0
  144. package/src/icons/OfflineIcon.test.tsx +21 -0
  145. package/src/icons/OnlineIcon.test.tsx +21 -0
  146. package/src/icons/OutOfficeIcon.test.tsx +21 -0
  147. package/src/icons/__snapshots__/MobileIcon.test.tsx.snap +160 -0
  148. package/src/icons/__snapshots__/OfflineIcon.test.tsx.snap +133 -0
  149. package/src/icons/__snapshots__/OnlineIcon.test.tsx.snap +124 -0
  150. package/src/icons/__snapshots__/OutOfficeIcon.test.tsx.snap +160 -0
  151. package/src/index.tsx +1 -0
  152. package/src/table/Table.test.tsx +107 -0
  153. package/src/table/TableBadge.test.tsx +53 -0
  154. package/src/table/TableBoolean.test.tsx +38 -0
  155. package/src/table/TableDate.test.tsx +27 -0
  156. package/src/table/TableHeader.test.tsx +67 -0
  157. package/src/table/TableHeaderCell.test.tsx +113 -0
  158. package/src/table/TableIconButton.test.tsx +51 -0
  159. package/src/table/TableNumber.test.tsx +45 -0
  160. package/src/table/TableRow.test.tsx +83 -0
  161. package/src/table/TableText.test.tsx +30 -0
  162. package/src/table/TableTitle.test.tsx +30 -0
  163. package/src/table/__snapshots__/Table.test.tsx.snap +2090 -0
  164. package/src/table/__snapshots__/TableBadge.test.tsx.snap +710 -0
  165. package/src/table/__snapshots__/TableBoolean.test.tsx.snap +231 -0
  166. package/src/table/__snapshots__/TableDate.test.tsx.snap +61 -0
  167. package/src/table/__snapshots__/TableHeader.test.tsx.snap +1089 -0
  168. package/src/table/__snapshots__/TableHeaderCell.test.tsx.snap +1773 -0
  169. package/src/table/__snapshots__/TableIconButton.test.tsx.snap +81 -0
  170. package/src/table/__snapshots__/TableNumber.test.tsx.snap +91 -0
  171. package/src/table/__snapshots__/TableRow.test.tsx.snap +1391 -0
  172. package/src/table/__snapshots__/TableText.test.tsx.snap +73 -0
  173. package/src/table/__snapshots__/TableTitle.test.tsx.snap +109 -0
@@ -0,0 +1,1269 @@
1
+ // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
+
3
+ exports[`HeightActionSheet 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": null,
100
+ "props": {
101
+ "style": [
102
+ {
103
+ "alignSelf": "center",
104
+ "backgroundColor": "#f0f0f0",
105
+ "borderRadius": 100,
106
+ "height": 6,
107
+ "marginVertical": 5,
108
+ "width": 45,
109
+ },
110
+ {
111
+ "backgroundColor": "#f0f0f0",
112
+ },
113
+ ],
114
+ "testID": undefined,
115
+ },
116
+ "type": "View",
117
+ },
118
+ {
119
+ "$$typeof": Symbol(react.test.json),
120
+ "children": [
121
+ {
122
+ "$$typeof": Symbol(react.test.json),
123
+ "children": [
124
+ {
125
+ "$$typeof": Symbol(react.test.json),
126
+ "children": [
127
+ {
128
+ "$$typeof": Symbol(react.test.json),
129
+ "children": [
130
+ {
131
+ "$$typeof": Symbol(react.test.json),
132
+ "children": [
133
+ {
134
+ "$$typeof": Symbol(react.test.json),
135
+ "children": [
136
+ {
137
+ "$$typeof": Symbol(react.test.json),
138
+ "children": [
139
+ "Close",
140
+ ],
141
+ "props": {
142
+ "style": {
143
+ "color": "#FFFFFF",
144
+ "fontSize": 16,
145
+ "fontWeight": "700",
146
+ },
147
+ },
148
+ "type": "Text",
149
+ },
150
+ ],
151
+ "props": {
152
+ "style": {
153
+ "flexDirection": "row",
154
+ },
155
+ "testID": undefined,
156
+ },
157
+ "type": "View",
158
+ },
159
+ ],
160
+ "props": {
161
+ "style": {
162
+ "flexDirection": "row",
163
+ },
164
+ "testID": undefined,
165
+ },
166
+ "type": "View",
167
+ },
168
+ ],
169
+ "props": {
170
+ "accessibilityHint": "Press to perform action",
171
+ "aria-label": "Close",
172
+ "aria-role": "button",
173
+ "disabled": undefined,
174
+ "onPress": [Function: debounced],
175
+ "style": {
176
+ "alignItems": "center",
177
+ "alignSelf": undefined,
178
+ "backgroundColor": "#0E9DCD",
179
+ "borderColor": undefined,
180
+ "borderRadius": 360,
181
+ "borderWidth": undefined,
182
+ "flexDirection": "column",
183
+ "justifyContent": "center",
184
+ "paddingHorizontal": 20,
185
+ "paddingVertical": 8,
186
+ "width": "auto",
187
+ },
188
+ "testID": undefined,
189
+ },
190
+ "type": "Pressable",
191
+ },
192
+ ],
193
+ "props": {
194
+ "onPointerEnter": [Function: AsyncFunction],
195
+ "onPointerLeave": [Function: AsyncFunction],
196
+ "style": {
197
+ "width": "33%",
198
+ },
199
+ "testID": undefined,
200
+ },
201
+ "type": "View",
202
+ },
203
+ ],
204
+ "props": {
205
+ "onPointerEnter": [Function: AsyncFunction],
206
+ "onPointerLeave": [Function: AsyncFunction],
207
+ "style": {
208
+ "alignItems": "flex-end",
209
+ "flex": undefined,
210
+ "width": "100%",
211
+ },
212
+ "testID": undefined,
213
+ },
214
+ "type": "View",
215
+ },
216
+ {
217
+ "$$typeof": Symbol(react.test.json),
218
+ "children": [
219
+ {
220
+ "$$typeof": Symbol(react.test.json),
221
+ "children": [
222
+ {
223
+ "$$typeof": Symbol(react.test.json),
224
+ "children": [
225
+ {
226
+ "$$typeof": Symbol(react.test.json),
227
+ "children": null,
228
+ "props": {
229
+ "label": "4ft",
230
+ "value": "4",
231
+ },
232
+ "type": "Picker.Item",
233
+ },
234
+ {
235
+ "$$typeof": Symbol(react.test.json),
236
+ "children": null,
237
+ "props": {
238
+ "label": "5ft",
239
+ "value": "5",
240
+ },
241
+ "type": "Picker.Item",
242
+ },
243
+ {
244
+ "$$typeof": Symbol(react.test.json),
245
+ "children": null,
246
+ "props": {
247
+ "label": "6ft",
248
+ "value": "6",
249
+ },
250
+ "type": "Picker.Item",
251
+ },
252
+ {
253
+ "$$typeof": Symbol(react.test.json),
254
+ "children": null,
255
+ "props": {
256
+ "label": "7ft",
257
+ "value": "7",
258
+ },
259
+ "type": "Picker.Item",
260
+ },
261
+ ],
262
+ "props": {
263
+ "itemStyle": {
264
+ "height": 104,
265
+ },
266
+ "onValueChange": [Function],
267
+ "selectedValue": "6",
268
+ "style": {
269
+ "backgroundColor": "#FFFFFF",
270
+ "height": 104,
271
+ },
272
+ },
273
+ "type": "Picker",
274
+ },
275
+ ],
276
+ "props": {
277
+ "onPointerEnter": [Function: AsyncFunction],
278
+ "onPointerLeave": [Function: AsyncFunction],
279
+ "style": {
280
+ "width": "50%",
281
+ },
282
+ "testID": undefined,
283
+ },
284
+ "type": "View",
285
+ },
286
+ {
287
+ "$$typeof": Symbol(react.test.json),
288
+ "children": [
289
+ {
290
+ "$$typeof": Symbol(react.test.json),
291
+ "children": [
292
+ {
293
+ "$$typeof": Symbol(react.test.json),
294
+ "children": null,
295
+ "props": {
296
+ "label": "0in",
297
+ "value": "0",
298
+ },
299
+ "type": "Picker.Item",
300
+ },
301
+ {
302
+ "$$typeof": Symbol(react.test.json),
303
+ "children": null,
304
+ "props": {
305
+ "label": "1in",
306
+ "value": "1",
307
+ },
308
+ "type": "Picker.Item",
309
+ },
310
+ {
311
+ "$$typeof": Symbol(react.test.json),
312
+ "children": null,
313
+ "props": {
314
+ "label": "2in",
315
+ "value": "2",
316
+ },
317
+ "type": "Picker.Item",
318
+ },
319
+ {
320
+ "$$typeof": Symbol(react.test.json),
321
+ "children": null,
322
+ "props": {
323
+ "label": "3in",
324
+ "value": "3",
325
+ },
326
+ "type": "Picker.Item",
327
+ },
328
+ {
329
+ "$$typeof": Symbol(react.test.json),
330
+ "children": null,
331
+ "props": {
332
+ "label": "4in",
333
+ "value": "4",
334
+ },
335
+ "type": "Picker.Item",
336
+ },
337
+ {
338
+ "$$typeof": Symbol(react.test.json),
339
+ "children": null,
340
+ "props": {
341
+ "label": "5in",
342
+ "value": "5",
343
+ },
344
+ "type": "Picker.Item",
345
+ },
346
+ {
347
+ "$$typeof": Symbol(react.test.json),
348
+ "children": null,
349
+ "props": {
350
+ "label": "6in",
351
+ "value": "6",
352
+ },
353
+ "type": "Picker.Item",
354
+ },
355
+ {
356
+ "$$typeof": Symbol(react.test.json),
357
+ "children": null,
358
+ "props": {
359
+ "label": "7in",
360
+ "value": "7",
361
+ },
362
+ "type": "Picker.Item",
363
+ },
364
+ {
365
+ "$$typeof": Symbol(react.test.json),
366
+ "children": null,
367
+ "props": {
368
+ "label": "8in",
369
+ "value": "8",
370
+ },
371
+ "type": "Picker.Item",
372
+ },
373
+ {
374
+ "$$typeof": Symbol(react.test.json),
375
+ "children": null,
376
+ "props": {
377
+ "label": "9in",
378
+ "value": "9",
379
+ },
380
+ "type": "Picker.Item",
381
+ },
382
+ {
383
+ "$$typeof": Symbol(react.test.json),
384
+ "children": null,
385
+ "props": {
386
+ "label": "10in",
387
+ "value": "10",
388
+ },
389
+ "type": "Picker.Item",
390
+ },
391
+ {
392
+ "$$typeof": Symbol(react.test.json),
393
+ "children": null,
394
+ "props": {
395
+ "label": "11in",
396
+ "value": "11",
397
+ },
398
+ "type": "Picker.Item",
399
+ },
400
+ ],
401
+ "props": {
402
+ "itemStyle": {
403
+ "height": 104,
404
+ },
405
+ "onValueChange": [Function],
406
+ "selectedValue": "0",
407
+ "style": {
408
+ "backgroundColor": "#FFFFFF",
409
+ "height": 104,
410
+ },
411
+ },
412
+ "type": "Picker",
413
+ },
414
+ ],
415
+ "props": {
416
+ "onPointerEnter": [Function: AsyncFunction],
417
+ "onPointerLeave": [Function: AsyncFunction],
418
+ "style": {
419
+ "width": "50%",
420
+ },
421
+ "testID": undefined,
422
+ },
423
+ "type": "View",
424
+ },
425
+ ],
426
+ "props": {
427
+ "onPointerEnter": [Function: AsyncFunction],
428
+ "onPointerLeave": [Function: AsyncFunction],
429
+ "style": {
430
+ "display": "flex",
431
+ "flexDirection": "row",
432
+ "width": "100%",
433
+ },
434
+ "testID": undefined,
435
+ },
436
+ "type": "View",
437
+ },
438
+ ],
439
+ "props": {
440
+ "onPointerEnter": [Function: AsyncFunction],
441
+ "onPointerLeave": [Function: AsyncFunction],
442
+ "style": {
443
+ "marginBottom": 48,
444
+ "paddingLeft": 16,
445
+ "paddingRight": 16,
446
+ "width": "100%",
447
+ },
448
+ "testID": undefined,
449
+ },
450
+ "type": "View",
451
+ },
452
+ ],
453
+ "props": {
454
+ "style": {
455
+ "marginTop": 0,
456
+ "maxHeight": 812,
457
+ "transform": [
458
+ {
459
+ "translateY": Value {
460
+ "_value": 0,
461
+ "addListener": [class Function],
462
+ "animate": [class Function],
463
+ "extractOffset": [class Function],
464
+ "flattenOffset": [class Function],
465
+ "interpolate": [class Function],
466
+ "removeAllListeners": [class Function],
467
+ "removeListener": [class Function],
468
+ "resetAnimation": [class Function],
469
+ "setOffset": [class Function],
470
+ "setValue": [class Function],
471
+ "stopAnimation": [class Function],
472
+ "stopTracking": [class Function],
473
+ "track": [class Function],
474
+ },
475
+ },
476
+ ],
477
+ },
478
+ "testID": undefined,
479
+ },
480
+ "type": "View",
481
+ },
482
+ ],
483
+ "props": {
484
+ "onLayout": [Function: AsyncFunction],
485
+ "style": [
486
+ {
487
+ "alignSelf": "center",
488
+ "backgroundColor": "white",
489
+ "width": "100%",
490
+ },
491
+ {
492
+ "borderRadius": 10,
493
+ },
494
+ undefined,
495
+ {
496
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
497
+ "elevation": 5,
498
+ "maxHeight": 812,
499
+ "opacity": Value {
500
+ "_value": 0,
501
+ "addListener": [class Function],
502
+ "animate": [class Function],
503
+ "extractOffset": [class Function],
504
+ "flattenOffset": [class Function],
505
+ "interpolate": [class Function],
506
+ "removeAllListeners": [class Function],
507
+ "removeListener": [class Function],
508
+ "resetAnimation": [class Function],
509
+ "setOffset": [class Function],
510
+ "setValue": [class Function],
511
+ "stopAnimation": [class Function],
512
+ "stopTracking": [class Function],
513
+ "track": [class Function],
514
+ },
515
+ "transform": [
516
+ {
517
+ "translateY": Value {
518
+ "_value": 0,
519
+ "addListener": [class Function],
520
+ "animate": [class Function],
521
+ "extractOffset": [class Function],
522
+ "flattenOffset": [class Function],
523
+ "interpolate": [class Function],
524
+ "removeAllListeners": [class Function],
525
+ "removeListener": [class Function],
526
+ "resetAnimation": [class Function],
527
+ "setOffset": [class Function],
528
+ "setValue": [class Function],
529
+ "stopAnimation": [class Function],
530
+ "stopTracking": [class Function],
531
+ "track": [class Function],
532
+ },
533
+ },
534
+ ],
535
+ "zIndex": 11,
536
+ },
537
+ ],
538
+ "testID": undefined,
539
+ },
540
+ "type": "View",
541
+ },
542
+ ],
543
+ "props": {
544
+ "style": {
545
+ "width": "100%",
546
+ },
547
+ "testID": undefined,
548
+ },
549
+ "type": "View",
550
+ },
551
+ ],
552
+ "props": {
553
+ "bounces": false,
554
+ "contentContainerStyle": {
555
+ "width": 375,
556
+ },
557
+ "keyboardShouldPersistTaps": undefined,
558
+ "onMomentumScrollBegin": [Function: AsyncFunction],
559
+ "onMomentumScrollEnd": [Function: AsyncFunction],
560
+ "onScroll": [Function],
561
+ "onScrollBeginDrag": [Function: AsyncFunction],
562
+ "onTouchEnd": [Function],
563
+ "ref": {
564
+ "current": null,
565
+ },
566
+ "scrollEnabled": false,
567
+ "scrollEventThrottle": 5,
568
+ "scrollsToTop": false,
569
+ "showsVerticalScrollIndicator": false,
570
+ "style": [
571
+ {
572
+ "backgroundColor": "transparent",
573
+ "height": "100%",
574
+ "width": "100%",
575
+ },
576
+ {
577
+ "width": 375,
578
+ },
579
+ ],
580
+ },
581
+ "type": "FlatList",
582
+ },
583
+ ],
584
+ "props": {
585
+ "onLayout": [Function: AsyncFunction],
586
+ "style": [
587
+ {
588
+ "alignItems": "center",
589
+ "height": "100%",
590
+ "justifyContent": "center",
591
+ "width": "100%",
592
+ },
593
+ {
594
+ "opacity": Value {
595
+ "_value": 0,
596
+ "addListener": [class Function],
597
+ "animate": [class Function],
598
+ "extractOffset": [class Function],
599
+ "flattenOffset": [class Function],
600
+ "interpolate": [class Function],
601
+ "removeAllListeners": [class Function],
602
+ "removeListener": [class Function],
603
+ "resetAnimation": [class Function],
604
+ "setOffset": [class Function],
605
+ "setValue": [class Function],
606
+ "stopAnimation": [class Function],
607
+ "stopTracking": [class Function],
608
+ "track": [class Function],
609
+ },
610
+ "width": 375,
611
+ },
612
+ ],
613
+ "testID": undefined,
614
+ },
615
+ "type": "View",
616
+ },
617
+ ],
618
+ "props": {
619
+ "animationType": "none",
620
+ "onRequestClose": [Function],
621
+ "onShow": undefined,
622
+ "statusBarTranslucent": true,
623
+ "supportedOrientations": [
624
+ "portrait",
625
+ "portrait-upside-down",
626
+ "landscape",
627
+ "landscape-left",
628
+ "landscape-right",
629
+ ],
630
+ "transparent": true,
631
+ "visible": false,
632
+ },
633
+ "type": "Modal",
634
+ }
635
+ `;
636
+
637
+ exports[`HeightActionSheet renders with different height value 1`] = `
638
+ {
639
+ "$$typeof": Symbol(react.test.json),
640
+ "children": [
641
+ {
642
+ "$$typeof": Symbol(react.test.json),
643
+ "children": [
644
+ {
645
+ "$$typeof": Symbol(react.test.json),
646
+ "children": [
647
+ {
648
+ "$$typeof": Symbol(react.test.json),
649
+ "children": null,
650
+ "props": {
651
+ "style": undefined,
652
+ "testID": undefined,
653
+ },
654
+ "type": "View",
655
+ },
656
+ ],
657
+ "props": {
658
+ "ref": {
659
+ "current": null,
660
+ },
661
+ "style": {
662
+ "left": 999999,
663
+ "position": "absolute",
664
+ "top": 999999,
665
+ },
666
+ },
667
+ "type": "SafeAreaView",
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
+ "onTouchEnd": [Function],
680
+ "onTouchMove": [Function],
681
+ "onTouchStart": [Function],
682
+ "style": {
683
+ "backgroundColor": "black",
684
+ "height": "100%",
685
+ "opacity": 0.3,
686
+ "position": "absolute",
687
+ "width": "100%",
688
+ "zIndex": 1,
689
+ },
690
+ "testID": undefined,
691
+ },
692
+ "type": "View",
693
+ },
694
+ {
695
+ "$$typeof": Symbol(react.test.json),
696
+ "children": [
697
+ {
698
+ "$$typeof": Symbol(react.test.json),
699
+ "children": null,
700
+ "props": {
701
+ "aria-role": "button",
702
+ "onLongPress": [Function],
703
+ "onPress": [Function],
704
+ "style": {
705
+ "height": 933.8,
706
+ "width": "100%",
707
+ },
708
+ },
709
+ "type": "Pressable",
710
+ },
711
+ ],
712
+ "props": {
713
+ "onTouchEnd": [Function],
714
+ "onTouchMove": [Function],
715
+ "onTouchStart": [Function],
716
+ "style": {
717
+ "height": 933.8,
718
+ "width": "100%",
719
+ "zIndex": 10,
720
+ },
721
+ "testID": undefined,
722
+ },
723
+ "type": "View",
724
+ },
725
+ {
726
+ "$$typeof": Symbol(react.test.json),
727
+ "children": [
728
+ {
729
+ "$$typeof": Symbol(react.test.json),
730
+ "children": [
731
+ {
732
+ "$$typeof": Symbol(react.test.json),
733
+ "children": null,
734
+ "props": {
735
+ "style": [
736
+ {
737
+ "alignSelf": "center",
738
+ "backgroundColor": "#f0f0f0",
739
+ "borderRadius": 100,
740
+ "height": 6,
741
+ "marginVertical": 5,
742
+ "width": 45,
743
+ },
744
+ {
745
+ "backgroundColor": "#f0f0f0",
746
+ },
747
+ ],
748
+ "testID": undefined,
749
+ },
750
+ "type": "View",
751
+ },
752
+ {
753
+ "$$typeof": Symbol(react.test.json),
754
+ "children": [
755
+ {
756
+ "$$typeof": Symbol(react.test.json),
757
+ "children": [
758
+ {
759
+ "$$typeof": Symbol(react.test.json),
760
+ "children": [
761
+ {
762
+ "$$typeof": Symbol(react.test.json),
763
+ "children": [
764
+ {
765
+ "$$typeof": Symbol(react.test.json),
766
+ "children": [
767
+ {
768
+ "$$typeof": Symbol(react.test.json),
769
+ "children": [
770
+ {
771
+ "$$typeof": Symbol(react.test.json),
772
+ "children": [
773
+ "Close",
774
+ ],
775
+ "props": {
776
+ "style": {
777
+ "color": "#FFFFFF",
778
+ "fontSize": 16,
779
+ "fontWeight": "700",
780
+ },
781
+ },
782
+ "type": "Text",
783
+ },
784
+ ],
785
+ "props": {
786
+ "style": {
787
+ "flexDirection": "row",
788
+ },
789
+ "testID": undefined,
790
+ },
791
+ "type": "View",
792
+ },
793
+ ],
794
+ "props": {
795
+ "style": {
796
+ "flexDirection": "row",
797
+ },
798
+ "testID": undefined,
799
+ },
800
+ "type": "View",
801
+ },
802
+ ],
803
+ "props": {
804
+ "accessibilityHint": "Press to perform action",
805
+ "aria-label": "Close",
806
+ "aria-role": "button",
807
+ "disabled": undefined,
808
+ "onPress": [Function: debounced],
809
+ "style": {
810
+ "alignItems": "center",
811
+ "alignSelf": undefined,
812
+ "backgroundColor": "#0E9DCD",
813
+ "borderColor": undefined,
814
+ "borderRadius": 360,
815
+ "borderWidth": undefined,
816
+ "flexDirection": "column",
817
+ "justifyContent": "center",
818
+ "paddingHorizontal": 20,
819
+ "paddingVertical": 8,
820
+ "width": "auto",
821
+ },
822
+ "testID": undefined,
823
+ },
824
+ "type": "Pressable",
825
+ },
826
+ ],
827
+ "props": {
828
+ "onPointerEnter": [Function: AsyncFunction],
829
+ "onPointerLeave": [Function: AsyncFunction],
830
+ "style": {
831
+ "width": "33%",
832
+ },
833
+ "testID": undefined,
834
+ },
835
+ "type": "View",
836
+ },
837
+ ],
838
+ "props": {
839
+ "onPointerEnter": [Function: AsyncFunction],
840
+ "onPointerLeave": [Function: AsyncFunction],
841
+ "style": {
842
+ "alignItems": "flex-end",
843
+ "flex": undefined,
844
+ "width": "100%",
845
+ },
846
+ "testID": undefined,
847
+ },
848
+ "type": "View",
849
+ },
850
+ {
851
+ "$$typeof": Symbol(react.test.json),
852
+ "children": [
853
+ {
854
+ "$$typeof": Symbol(react.test.json),
855
+ "children": [
856
+ {
857
+ "$$typeof": Symbol(react.test.json),
858
+ "children": [
859
+ {
860
+ "$$typeof": Symbol(react.test.json),
861
+ "children": null,
862
+ "props": {
863
+ "label": "4ft",
864
+ "value": "4",
865
+ },
866
+ "type": "Picker.Item",
867
+ },
868
+ {
869
+ "$$typeof": Symbol(react.test.json),
870
+ "children": null,
871
+ "props": {
872
+ "label": "5ft",
873
+ "value": "5",
874
+ },
875
+ "type": "Picker.Item",
876
+ },
877
+ {
878
+ "$$typeof": Symbol(react.test.json),
879
+ "children": null,
880
+ "props": {
881
+ "label": "6ft",
882
+ "value": "6",
883
+ },
884
+ "type": "Picker.Item",
885
+ },
886
+ {
887
+ "$$typeof": Symbol(react.test.json),
888
+ "children": null,
889
+ "props": {
890
+ "label": "7ft",
891
+ "value": "7",
892
+ },
893
+ "type": "Picker.Item",
894
+ },
895
+ ],
896
+ "props": {
897
+ "itemStyle": {
898
+ "height": 104,
899
+ },
900
+ "onValueChange": [Function],
901
+ "selectedValue": "5",
902
+ "style": {
903
+ "backgroundColor": "#FFFFFF",
904
+ "height": 104,
905
+ },
906
+ },
907
+ "type": "Picker",
908
+ },
909
+ ],
910
+ "props": {
911
+ "onPointerEnter": [Function: AsyncFunction],
912
+ "onPointerLeave": [Function: AsyncFunction],
913
+ "style": {
914
+ "width": "50%",
915
+ },
916
+ "testID": undefined,
917
+ },
918
+ "type": "View",
919
+ },
920
+ {
921
+ "$$typeof": Symbol(react.test.json),
922
+ "children": [
923
+ {
924
+ "$$typeof": Symbol(react.test.json),
925
+ "children": [
926
+ {
927
+ "$$typeof": Symbol(react.test.json),
928
+ "children": null,
929
+ "props": {
930
+ "label": "0in",
931
+ "value": "0",
932
+ },
933
+ "type": "Picker.Item",
934
+ },
935
+ {
936
+ "$$typeof": Symbol(react.test.json),
937
+ "children": null,
938
+ "props": {
939
+ "label": "1in",
940
+ "value": "1",
941
+ },
942
+ "type": "Picker.Item",
943
+ },
944
+ {
945
+ "$$typeof": Symbol(react.test.json),
946
+ "children": null,
947
+ "props": {
948
+ "label": "2in",
949
+ "value": "2",
950
+ },
951
+ "type": "Picker.Item",
952
+ },
953
+ {
954
+ "$$typeof": Symbol(react.test.json),
955
+ "children": null,
956
+ "props": {
957
+ "label": "3in",
958
+ "value": "3",
959
+ },
960
+ "type": "Picker.Item",
961
+ },
962
+ {
963
+ "$$typeof": Symbol(react.test.json),
964
+ "children": null,
965
+ "props": {
966
+ "label": "4in",
967
+ "value": "4",
968
+ },
969
+ "type": "Picker.Item",
970
+ },
971
+ {
972
+ "$$typeof": Symbol(react.test.json),
973
+ "children": null,
974
+ "props": {
975
+ "label": "5in",
976
+ "value": "5",
977
+ },
978
+ "type": "Picker.Item",
979
+ },
980
+ {
981
+ "$$typeof": Symbol(react.test.json),
982
+ "children": null,
983
+ "props": {
984
+ "label": "6in",
985
+ "value": "6",
986
+ },
987
+ "type": "Picker.Item",
988
+ },
989
+ {
990
+ "$$typeof": Symbol(react.test.json),
991
+ "children": null,
992
+ "props": {
993
+ "label": "7in",
994
+ "value": "7",
995
+ },
996
+ "type": "Picker.Item",
997
+ },
998
+ {
999
+ "$$typeof": Symbol(react.test.json),
1000
+ "children": null,
1001
+ "props": {
1002
+ "label": "8in",
1003
+ "value": "8",
1004
+ },
1005
+ "type": "Picker.Item",
1006
+ },
1007
+ {
1008
+ "$$typeof": Symbol(react.test.json),
1009
+ "children": null,
1010
+ "props": {
1011
+ "label": "9in",
1012
+ "value": "9",
1013
+ },
1014
+ "type": "Picker.Item",
1015
+ },
1016
+ {
1017
+ "$$typeof": Symbol(react.test.json),
1018
+ "children": null,
1019
+ "props": {
1020
+ "label": "10in",
1021
+ "value": "10",
1022
+ },
1023
+ "type": "Picker.Item",
1024
+ },
1025
+ {
1026
+ "$$typeof": Symbol(react.test.json),
1027
+ "children": null,
1028
+ "props": {
1029
+ "label": "11in",
1030
+ "value": "11",
1031
+ },
1032
+ "type": "Picker.Item",
1033
+ },
1034
+ ],
1035
+ "props": {
1036
+ "itemStyle": {
1037
+ "height": 104,
1038
+ },
1039
+ "onValueChange": [Function],
1040
+ "selectedValue": "5",
1041
+ "style": {
1042
+ "backgroundColor": "#FFFFFF",
1043
+ "height": 104,
1044
+ },
1045
+ },
1046
+ "type": "Picker",
1047
+ },
1048
+ ],
1049
+ "props": {
1050
+ "onPointerEnter": [Function: AsyncFunction],
1051
+ "onPointerLeave": [Function: AsyncFunction],
1052
+ "style": {
1053
+ "width": "50%",
1054
+ },
1055
+ "testID": undefined,
1056
+ },
1057
+ "type": "View",
1058
+ },
1059
+ ],
1060
+ "props": {
1061
+ "onPointerEnter": [Function: AsyncFunction],
1062
+ "onPointerLeave": [Function: AsyncFunction],
1063
+ "style": {
1064
+ "display": "flex",
1065
+ "flexDirection": "row",
1066
+ "width": "100%",
1067
+ },
1068
+ "testID": undefined,
1069
+ },
1070
+ "type": "View",
1071
+ },
1072
+ ],
1073
+ "props": {
1074
+ "onPointerEnter": [Function: AsyncFunction],
1075
+ "onPointerLeave": [Function: AsyncFunction],
1076
+ "style": {
1077
+ "marginBottom": 48,
1078
+ "paddingLeft": 16,
1079
+ "paddingRight": 16,
1080
+ "width": "100%",
1081
+ },
1082
+ "testID": undefined,
1083
+ },
1084
+ "type": "View",
1085
+ },
1086
+ ],
1087
+ "props": {
1088
+ "style": {
1089
+ "marginTop": 0,
1090
+ "maxHeight": 812,
1091
+ "transform": [
1092
+ {
1093
+ "translateY": Value {
1094
+ "_value": 0,
1095
+ "addListener": [class Function],
1096
+ "animate": [class Function],
1097
+ "extractOffset": [class Function],
1098
+ "flattenOffset": [class Function],
1099
+ "interpolate": [class Function],
1100
+ "removeAllListeners": [class Function],
1101
+ "removeListener": [class Function],
1102
+ "resetAnimation": [class Function],
1103
+ "setOffset": [class Function],
1104
+ "setValue": [class Function],
1105
+ "stopAnimation": [class Function],
1106
+ "stopTracking": [class Function],
1107
+ "track": [class Function],
1108
+ },
1109
+ },
1110
+ ],
1111
+ },
1112
+ "testID": undefined,
1113
+ },
1114
+ "type": "View",
1115
+ },
1116
+ ],
1117
+ "props": {
1118
+ "onLayout": [Function: AsyncFunction],
1119
+ "style": [
1120
+ {
1121
+ "alignSelf": "center",
1122
+ "backgroundColor": "white",
1123
+ "width": "100%",
1124
+ },
1125
+ {
1126
+ "borderRadius": 10,
1127
+ },
1128
+ undefined,
1129
+ {
1130
+ "boxShadow": "1.5px 2.5px 3.5px rgba(0, 0, 0, 0.2)",
1131
+ "elevation": 5,
1132
+ "maxHeight": 812,
1133
+ "opacity": Value {
1134
+ "_value": 0,
1135
+ "addListener": [class Function],
1136
+ "animate": [class Function],
1137
+ "extractOffset": [class Function],
1138
+ "flattenOffset": [class Function],
1139
+ "interpolate": [class Function],
1140
+ "removeAllListeners": [class Function],
1141
+ "removeListener": [class Function],
1142
+ "resetAnimation": [class Function],
1143
+ "setOffset": [class Function],
1144
+ "setValue": [class Function],
1145
+ "stopAnimation": [class Function],
1146
+ "stopTracking": [class Function],
1147
+ "track": [class Function],
1148
+ },
1149
+ "transform": [
1150
+ {
1151
+ "translateY": Value {
1152
+ "_value": 0,
1153
+ "addListener": [class Function],
1154
+ "animate": [class Function],
1155
+ "extractOffset": [class Function],
1156
+ "flattenOffset": [class Function],
1157
+ "interpolate": [class Function],
1158
+ "removeAllListeners": [class Function],
1159
+ "removeListener": [class Function],
1160
+ "resetAnimation": [class Function],
1161
+ "setOffset": [class Function],
1162
+ "setValue": [class Function],
1163
+ "stopAnimation": [class Function],
1164
+ "stopTracking": [class Function],
1165
+ "track": [class Function],
1166
+ },
1167
+ },
1168
+ ],
1169
+ "zIndex": 11,
1170
+ },
1171
+ ],
1172
+ "testID": undefined,
1173
+ },
1174
+ "type": "View",
1175
+ },
1176
+ ],
1177
+ "props": {
1178
+ "style": {
1179
+ "width": "100%",
1180
+ },
1181
+ "testID": undefined,
1182
+ },
1183
+ "type": "View",
1184
+ },
1185
+ ],
1186
+ "props": {
1187
+ "bounces": false,
1188
+ "contentContainerStyle": {
1189
+ "width": 375,
1190
+ },
1191
+ "keyboardShouldPersistTaps": undefined,
1192
+ "onMomentumScrollBegin": [Function: AsyncFunction],
1193
+ "onMomentumScrollEnd": [Function: AsyncFunction],
1194
+ "onScroll": [Function],
1195
+ "onScrollBeginDrag": [Function: AsyncFunction],
1196
+ "onTouchEnd": [Function],
1197
+ "ref": {
1198
+ "current": null,
1199
+ },
1200
+ "scrollEnabled": false,
1201
+ "scrollEventThrottle": 5,
1202
+ "scrollsToTop": false,
1203
+ "showsVerticalScrollIndicator": false,
1204
+ "style": [
1205
+ {
1206
+ "backgroundColor": "transparent",
1207
+ "height": "100%",
1208
+ "width": "100%",
1209
+ },
1210
+ {
1211
+ "width": 375,
1212
+ },
1213
+ ],
1214
+ },
1215
+ "type": "FlatList",
1216
+ },
1217
+ ],
1218
+ "props": {
1219
+ "onLayout": [Function: AsyncFunction],
1220
+ "style": [
1221
+ {
1222
+ "alignItems": "center",
1223
+ "height": "100%",
1224
+ "justifyContent": "center",
1225
+ "width": "100%",
1226
+ },
1227
+ {
1228
+ "opacity": Value {
1229
+ "_value": 0,
1230
+ "addListener": [class Function],
1231
+ "animate": [class Function],
1232
+ "extractOffset": [class Function],
1233
+ "flattenOffset": [class Function],
1234
+ "interpolate": [class Function],
1235
+ "removeAllListeners": [class Function],
1236
+ "removeListener": [class Function],
1237
+ "resetAnimation": [class Function],
1238
+ "setOffset": [class Function],
1239
+ "setValue": [class Function],
1240
+ "stopAnimation": [class Function],
1241
+ "stopTracking": [class Function],
1242
+ "track": [class Function],
1243
+ },
1244
+ "width": 375,
1245
+ },
1246
+ ],
1247
+ "testID": undefined,
1248
+ },
1249
+ "type": "View",
1250
+ },
1251
+ ],
1252
+ "props": {
1253
+ "animationType": "none",
1254
+ "onRequestClose": [Function],
1255
+ "onShow": undefined,
1256
+ "statusBarTranslucent": true,
1257
+ "supportedOrientations": [
1258
+ "portrait",
1259
+ "portrait-upside-down",
1260
+ "landscape",
1261
+ "landscape-left",
1262
+ "landscape-right",
1263
+ ],
1264
+ "transparent": true,
1265
+ "visible": false,
1266
+ },
1267
+ "type": "Modal",
1268
+ }
1269
+ `;