@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,1857 @@
1
+ // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
+
3
+ exports[`SideDrawer renders correctly when closed 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
+ "Drawer content",
20
+ ],
21
+ "props": {
22
+ "numberOfLines": 0,
23
+ "selectable": undefined,
24
+ "style": {
25
+ "color": "#1C1C1C",
26
+ "fontFamily": "text-regular",
27
+ "fontSize": 14,
28
+ "textAlign": "left",
29
+ },
30
+ "testID": undefined,
31
+ },
32
+ "type": "Text",
33
+ },
34
+ ],
35
+ "props": {},
36
+ "type": "View",
37
+ },
38
+ ],
39
+ "props": {},
40
+ "type": "SafeAreaView",
41
+ },
42
+ ],
43
+ "props": {
44
+ "ref": {
45
+ "current": null,
46
+ },
47
+ "style": [
48
+ {
49
+ "backgroundColor": "white",
50
+ "bottom": 0,
51
+ "maxWidth": "100%",
52
+ "top": 0,
53
+ },
54
+ {
55
+ "position": "absolute",
56
+ "zIndex": 1,
57
+ },
58
+ {
59
+ "width": "95%",
60
+ },
61
+ {
62
+ "left": "calc(95% * -1)",
63
+ },
64
+ {
65
+ "transform": "translateX(0)",
66
+ "transition": "transform 0.3s",
67
+ },
68
+ [
69
+ {
70
+ "borderColor": "gray",
71
+ "borderWidth": 1,
72
+ "height": "100%",
73
+ "width": "95%",
74
+ },
75
+ {
76
+ "backgroundColor": "#D9D9D9",
77
+ },
78
+ {},
79
+ {},
80
+ ],
81
+ ],
82
+ "testID": undefined,
83
+ },
84
+ "type": "View",
85
+ },
86
+ {
87
+ "$$typeof": Symbol(react.test.json),
88
+ "children": [
89
+ {
90
+ "$$typeof": Symbol(react.test.json),
91
+ "children": [
92
+ {
93
+ "$$typeof": Symbol(react.test.json),
94
+ "children": [
95
+ {
96
+ "$$typeof": Symbol(react.test.json),
97
+ "children": [
98
+ "Main content",
99
+ ],
100
+ "props": {
101
+ "numberOfLines": 0,
102
+ "selectable": undefined,
103
+ "style": {
104
+ "color": "#1C1C1C",
105
+ "fontFamily": "text-regular",
106
+ "fontSize": 14,
107
+ "textAlign": "left",
108
+ },
109
+ "testID": undefined,
110
+ },
111
+ "type": "Text",
112
+ },
113
+ ],
114
+ "props": {},
115
+ "type": "View",
116
+ },
117
+ ],
118
+ "props": {
119
+ "aria-hidden": false,
120
+ "style": {
121
+ "flex": 1,
122
+ },
123
+ "testID": undefined,
124
+ },
125
+ "type": "View",
126
+ },
127
+ {
128
+ "$$typeof": Symbol(react.test.json),
129
+ "children": [
130
+ {
131
+ "$$typeof": Symbol(react.test.json),
132
+ "children": null,
133
+ "props": {
134
+ "aria-label": "Close drawer",
135
+ "onPress": [Function],
136
+ "role": "button",
137
+ "style": [
138
+ {
139
+ "flex": 1,
140
+ },
141
+ {
142
+ "pointerEvents": "none",
143
+ },
144
+ ],
145
+ },
146
+ "type": "Pressable",
147
+ },
148
+ ],
149
+ "props": {
150
+ "aria-hidden": true,
151
+ "progress": FakeSharedValue {
152
+ "_isReanimatedSharedValue": true,
153
+ "_listeners": Map {},
154
+ "_value": 0,
155
+ },
156
+ "style": [
157
+ {
158
+ "bottom": 0,
159
+ "left": 0,
160
+ "position": "absolute",
161
+ "right": 0,
162
+ "top": 0,
163
+ },
164
+ {
165
+ "WebkitTapHighlightColor": "transparent",
166
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
167
+ "transition": "opacity 0.3s",
168
+ },
169
+ {
170
+ "opacity": 0,
171
+ "pointerEvents": "none",
172
+ },
173
+ undefined,
174
+ ],
175
+ "testID": undefined,
176
+ },
177
+ "type": "View",
178
+ },
179
+ ],
180
+ "props": {
181
+ "style": [
182
+ {
183
+ "flex": 1,
184
+ },
185
+ {
186
+ "transform": "translateX(0)",
187
+ "transition": "transform 0.3s",
188
+ },
189
+ ],
190
+ "testID": undefined,
191
+ },
192
+ "type": "View",
193
+ },
194
+ ],
195
+ "props": {
196
+ "style": [
197
+ {
198
+ "flex": 1,
199
+ "flexDirection": "row",
200
+ },
201
+ undefined,
202
+ ],
203
+ "testID": undefined,
204
+ },
205
+ "type": "View",
206
+ }
207
+ `;
208
+
209
+ exports[`SideDrawer renders correctly when open 1`] = `
210
+ {
211
+ "$$typeof": Symbol(react.test.json),
212
+ "children": [
213
+ {
214
+ "$$typeof": Symbol(react.test.json),
215
+ "children": [
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
+ "Drawer content",
226
+ ],
227
+ "props": {
228
+ "numberOfLines": 0,
229
+ "selectable": undefined,
230
+ "style": {
231
+ "color": "#1C1C1C",
232
+ "fontFamily": "text-regular",
233
+ "fontSize": 14,
234
+ "textAlign": "left",
235
+ },
236
+ "testID": undefined,
237
+ },
238
+ "type": "Text",
239
+ },
240
+ ],
241
+ "props": {},
242
+ "type": "View",
243
+ },
244
+ ],
245
+ "props": {},
246
+ "type": "SafeAreaView",
247
+ },
248
+ ],
249
+ "props": {
250
+ "ref": {
251
+ "current": null,
252
+ },
253
+ "style": [
254
+ {
255
+ "backgroundColor": "white",
256
+ "bottom": 0,
257
+ "maxWidth": "100%",
258
+ "top": 0,
259
+ },
260
+ {
261
+ "position": "absolute",
262
+ "zIndex": 1,
263
+ },
264
+ {
265
+ "width": "95%",
266
+ },
267
+ {
268
+ "left": "calc(95% * -1)",
269
+ },
270
+ {
271
+ "transform": "translateX(100%)",
272
+ "transition": "transform 0.3s",
273
+ },
274
+ [
275
+ {
276
+ "borderColor": "gray",
277
+ "borderWidth": 1,
278
+ "height": "100%",
279
+ "width": "95%",
280
+ },
281
+ {
282
+ "backgroundColor": "#D9D9D9",
283
+ },
284
+ {},
285
+ {},
286
+ ],
287
+ ],
288
+ "testID": undefined,
289
+ },
290
+ "type": "View",
291
+ },
292
+ {
293
+ "$$typeof": Symbol(react.test.json),
294
+ "children": [
295
+ {
296
+ "$$typeof": Symbol(react.test.json),
297
+ "children": [
298
+ {
299
+ "$$typeof": Symbol(react.test.json),
300
+ "children": [
301
+ {
302
+ "$$typeof": Symbol(react.test.json),
303
+ "children": [
304
+ "Main content",
305
+ ],
306
+ "props": {
307
+ "numberOfLines": 0,
308
+ "selectable": undefined,
309
+ "style": {
310
+ "color": "#1C1C1C",
311
+ "fontFamily": "text-regular",
312
+ "fontSize": 14,
313
+ "textAlign": "left",
314
+ },
315
+ "testID": undefined,
316
+ },
317
+ "type": "Text",
318
+ },
319
+ ],
320
+ "props": {},
321
+ "type": "View",
322
+ },
323
+ ],
324
+ "props": {
325
+ "aria-hidden": true,
326
+ "style": {
327
+ "flex": 1,
328
+ },
329
+ "testID": undefined,
330
+ },
331
+ "type": "View",
332
+ },
333
+ {
334
+ "$$typeof": Symbol(react.test.json),
335
+ "children": [
336
+ {
337
+ "$$typeof": Symbol(react.test.json),
338
+ "children": null,
339
+ "props": {
340
+ "aria-label": "Close drawer",
341
+ "onPress": [Function],
342
+ "role": "button",
343
+ "style": [
344
+ {
345
+ "flex": 1,
346
+ },
347
+ {
348
+ "pointerEvents": "auto",
349
+ },
350
+ ],
351
+ },
352
+ "type": "Pressable",
353
+ },
354
+ ],
355
+ "props": {
356
+ "aria-hidden": false,
357
+ "progress": FakeSharedValue {
358
+ "_isReanimatedSharedValue": true,
359
+ "_listeners": Map {},
360
+ "_value": 1,
361
+ },
362
+ "style": [
363
+ {
364
+ "bottom": 0,
365
+ "left": 0,
366
+ "position": "absolute",
367
+ "right": 0,
368
+ "top": 0,
369
+ },
370
+ {
371
+ "WebkitTapHighlightColor": "transparent",
372
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
373
+ "transition": "opacity 0.3s",
374
+ },
375
+ {
376
+ "opacity": 1,
377
+ "pointerEvents": "auto",
378
+ },
379
+ undefined,
380
+ ],
381
+ "testID": undefined,
382
+ },
383
+ "type": "View",
384
+ },
385
+ ],
386
+ "props": {
387
+ "style": [
388
+ {
389
+ "flex": 1,
390
+ },
391
+ {
392
+ "transform": "translateX(0)",
393
+ "transition": "transform 0.3s",
394
+ },
395
+ ],
396
+ "testID": undefined,
397
+ },
398
+ "type": "View",
399
+ },
400
+ ],
401
+ "props": {
402
+ "style": [
403
+ {
404
+ "flex": 1,
405
+ "flexDirection": "row",
406
+ },
407
+ undefined,
408
+ ],
409
+ "testID": undefined,
410
+ },
411
+ "type": "View",
412
+ }
413
+ `;
414
+
415
+ exports[`SideDrawer renders with left position (default) 1`] = `
416
+ {
417
+ "$$typeof": Symbol(react.test.json),
418
+ "children": [
419
+ {
420
+ "$$typeof": Symbol(react.test.json),
421
+ "children": [
422
+ {
423
+ "$$typeof": Symbol(react.test.json),
424
+ "children": [
425
+ {
426
+ "$$typeof": Symbol(react.test.json),
427
+ "children": [
428
+ {
429
+ "$$typeof": Symbol(react.test.json),
430
+ "children": [
431
+ "Left drawer",
432
+ ],
433
+ "props": {
434
+ "numberOfLines": 0,
435
+ "selectable": undefined,
436
+ "style": {
437
+ "color": "#1C1C1C",
438
+ "fontFamily": "text-regular",
439
+ "fontSize": 14,
440
+ "textAlign": "left",
441
+ },
442
+ "testID": undefined,
443
+ },
444
+ "type": "Text",
445
+ },
446
+ ],
447
+ "props": {},
448
+ "type": "View",
449
+ },
450
+ ],
451
+ "props": {},
452
+ "type": "SafeAreaView",
453
+ },
454
+ ],
455
+ "props": {
456
+ "ref": {
457
+ "current": null,
458
+ },
459
+ "style": [
460
+ {
461
+ "backgroundColor": "white",
462
+ "bottom": 0,
463
+ "maxWidth": "100%",
464
+ "top": 0,
465
+ },
466
+ {
467
+ "position": "absolute",
468
+ "zIndex": 1,
469
+ },
470
+ {
471
+ "width": "95%",
472
+ },
473
+ {
474
+ "left": "calc(95% * -1)",
475
+ },
476
+ {
477
+ "transform": "translateX(100%)",
478
+ "transition": "transform 0.3s",
479
+ },
480
+ [
481
+ {
482
+ "borderColor": "gray",
483
+ "borderWidth": 1,
484
+ "height": "100%",
485
+ "width": "95%",
486
+ },
487
+ {
488
+ "backgroundColor": "#D9D9D9",
489
+ },
490
+ {},
491
+ {},
492
+ ],
493
+ ],
494
+ "testID": undefined,
495
+ },
496
+ "type": "View",
497
+ },
498
+ {
499
+ "$$typeof": Symbol(react.test.json),
500
+ "children": [
501
+ {
502
+ "$$typeof": Symbol(react.test.json),
503
+ "children": [
504
+ {
505
+ "$$typeof": Symbol(react.test.json),
506
+ "children": [
507
+ {
508
+ "$$typeof": Symbol(react.test.json),
509
+ "children": [
510
+ "Content",
511
+ ],
512
+ "props": {
513
+ "numberOfLines": 0,
514
+ "selectable": undefined,
515
+ "style": {
516
+ "color": "#1C1C1C",
517
+ "fontFamily": "text-regular",
518
+ "fontSize": 14,
519
+ "textAlign": "left",
520
+ },
521
+ "testID": undefined,
522
+ },
523
+ "type": "Text",
524
+ },
525
+ ],
526
+ "props": {},
527
+ "type": "View",
528
+ },
529
+ ],
530
+ "props": {
531
+ "aria-hidden": true,
532
+ "style": {
533
+ "flex": 1,
534
+ },
535
+ "testID": undefined,
536
+ },
537
+ "type": "View",
538
+ },
539
+ {
540
+ "$$typeof": Symbol(react.test.json),
541
+ "children": [
542
+ {
543
+ "$$typeof": Symbol(react.test.json),
544
+ "children": null,
545
+ "props": {
546
+ "aria-label": "Close drawer",
547
+ "onPress": [Function],
548
+ "role": "button",
549
+ "style": [
550
+ {
551
+ "flex": 1,
552
+ },
553
+ {
554
+ "pointerEvents": "auto",
555
+ },
556
+ ],
557
+ },
558
+ "type": "Pressable",
559
+ },
560
+ ],
561
+ "props": {
562
+ "aria-hidden": false,
563
+ "progress": FakeSharedValue {
564
+ "_isReanimatedSharedValue": true,
565
+ "_listeners": Map {},
566
+ "_value": 1,
567
+ },
568
+ "style": [
569
+ {
570
+ "bottom": 0,
571
+ "left": 0,
572
+ "position": "absolute",
573
+ "right": 0,
574
+ "top": 0,
575
+ },
576
+ {
577
+ "WebkitTapHighlightColor": "transparent",
578
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
579
+ "transition": "opacity 0.3s",
580
+ },
581
+ {
582
+ "opacity": 1,
583
+ "pointerEvents": "auto",
584
+ },
585
+ undefined,
586
+ ],
587
+ "testID": undefined,
588
+ },
589
+ "type": "View",
590
+ },
591
+ ],
592
+ "props": {
593
+ "style": [
594
+ {
595
+ "flex": 1,
596
+ },
597
+ {
598
+ "transform": "translateX(0)",
599
+ "transition": "transform 0.3s",
600
+ },
601
+ ],
602
+ "testID": undefined,
603
+ },
604
+ "type": "View",
605
+ },
606
+ ],
607
+ "props": {
608
+ "style": [
609
+ {
610
+ "flex": 1,
611
+ "flexDirection": "row",
612
+ },
613
+ undefined,
614
+ ],
615
+ "testID": undefined,
616
+ },
617
+ "type": "View",
618
+ }
619
+ `;
620
+
621
+ exports[`SideDrawer renders with right position 1`] = `
622
+ {
623
+ "$$typeof": Symbol(react.test.json),
624
+ "children": [
625
+ {
626
+ "$$typeof": Symbol(react.test.json),
627
+ "children": [
628
+ {
629
+ "$$typeof": Symbol(react.test.json),
630
+ "children": [
631
+ {
632
+ "$$typeof": Symbol(react.test.json),
633
+ "children": [
634
+ {
635
+ "$$typeof": Symbol(react.test.json),
636
+ "children": [
637
+ "Content",
638
+ ],
639
+ "props": {
640
+ "numberOfLines": 0,
641
+ "selectable": undefined,
642
+ "style": {
643
+ "color": "#1C1C1C",
644
+ "fontFamily": "text-regular",
645
+ "fontSize": 14,
646
+ "textAlign": "left",
647
+ },
648
+ "testID": undefined,
649
+ },
650
+ "type": "Text",
651
+ },
652
+ ],
653
+ "props": {},
654
+ "type": "View",
655
+ },
656
+ ],
657
+ "props": {
658
+ "aria-hidden": true,
659
+ "style": {
660
+ "flex": 1,
661
+ },
662
+ "testID": undefined,
663
+ },
664
+ "type": "View",
665
+ },
666
+ {
667
+ "$$typeof": Symbol(react.test.json),
668
+ "children": [
669
+ {
670
+ "$$typeof": Symbol(react.test.json),
671
+ "children": null,
672
+ "props": {
673
+ "aria-label": "Close drawer",
674
+ "onPress": [Function],
675
+ "role": "button",
676
+ "style": [
677
+ {
678
+ "flex": 1,
679
+ },
680
+ {
681
+ "pointerEvents": "auto",
682
+ },
683
+ ],
684
+ },
685
+ "type": "Pressable",
686
+ },
687
+ ],
688
+ "props": {
689
+ "aria-hidden": false,
690
+ "progress": FakeSharedValue {
691
+ "_isReanimatedSharedValue": true,
692
+ "_listeners": Map {},
693
+ "_value": 1,
694
+ },
695
+ "style": [
696
+ {
697
+ "bottom": 0,
698
+ "left": 0,
699
+ "position": "absolute",
700
+ "right": 0,
701
+ "top": 0,
702
+ },
703
+ {
704
+ "WebkitTapHighlightColor": "transparent",
705
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
706
+ "transition": "opacity 0.3s",
707
+ },
708
+ {
709
+ "opacity": 1,
710
+ "pointerEvents": "auto",
711
+ },
712
+ undefined,
713
+ ],
714
+ "testID": undefined,
715
+ },
716
+ "type": "View",
717
+ },
718
+ ],
719
+ "props": {
720
+ "style": [
721
+ {
722
+ "flex": 1,
723
+ },
724
+ {
725
+ "transform": "translateX(0)",
726
+ "transition": "transform 0.3s",
727
+ },
728
+ ],
729
+ "testID": undefined,
730
+ },
731
+ "type": "View",
732
+ },
733
+ {
734
+ "$$typeof": Symbol(react.test.json),
735
+ "children": [
736
+ {
737
+ "$$typeof": Symbol(react.test.json),
738
+ "children": [
739
+ {
740
+ "$$typeof": Symbol(react.test.json),
741
+ "children": [
742
+ {
743
+ "$$typeof": Symbol(react.test.json),
744
+ "children": [
745
+ "Right drawer",
746
+ ],
747
+ "props": {
748
+ "numberOfLines": 0,
749
+ "selectable": undefined,
750
+ "style": {
751
+ "color": "#1C1C1C",
752
+ "fontFamily": "text-regular",
753
+ "fontSize": 14,
754
+ "textAlign": "left",
755
+ },
756
+ "testID": undefined,
757
+ },
758
+ "type": "Text",
759
+ },
760
+ ],
761
+ "props": {},
762
+ "type": "View",
763
+ },
764
+ ],
765
+ "props": {},
766
+ "type": "SafeAreaView",
767
+ },
768
+ ],
769
+ "props": {
770
+ "ref": {
771
+ "current": null,
772
+ },
773
+ "style": [
774
+ {
775
+ "backgroundColor": "white",
776
+ "bottom": 0,
777
+ "maxWidth": "100%",
778
+ "top": 0,
779
+ },
780
+ {
781
+ "position": "absolute",
782
+ "zIndex": 1,
783
+ },
784
+ {
785
+ "width": "95%",
786
+ },
787
+ {
788
+ "right": "calc(95% * -1)",
789
+ },
790
+ {
791
+ "transform": "translateX(-100%)",
792
+ "transition": "transform 0.3s",
793
+ },
794
+ [
795
+ {
796
+ "borderColor": "gray",
797
+ "borderWidth": 1,
798
+ "height": "100%",
799
+ "width": "95%",
800
+ },
801
+ {
802
+ "backgroundColor": "#D9D9D9",
803
+ },
804
+ {},
805
+ {},
806
+ ],
807
+ ],
808
+ "testID": undefined,
809
+ },
810
+ "type": "View",
811
+ },
812
+ ],
813
+ "props": {
814
+ "style": [
815
+ {
816
+ "flex": 1,
817
+ "flexDirection": "row",
818
+ },
819
+ undefined,
820
+ ],
821
+ "testID": undefined,
822
+ },
823
+ "type": "View",
824
+ }
825
+ `;
826
+
827
+ exports[`SideDrawer renders with front drawer type (default) 1`] = `
828
+ {
829
+ "$$typeof": Symbol(react.test.json),
830
+ "children": [
831
+ {
832
+ "$$typeof": Symbol(react.test.json),
833
+ "children": [
834
+ {
835
+ "$$typeof": Symbol(react.test.json),
836
+ "children": [
837
+ {
838
+ "$$typeof": Symbol(react.test.json),
839
+ "children": [
840
+ {
841
+ "$$typeof": Symbol(react.test.json),
842
+ "children": [
843
+ "Front drawer",
844
+ ],
845
+ "props": {
846
+ "numberOfLines": 0,
847
+ "selectable": undefined,
848
+ "style": {
849
+ "color": "#1C1C1C",
850
+ "fontFamily": "text-regular",
851
+ "fontSize": 14,
852
+ "textAlign": "left",
853
+ },
854
+ "testID": undefined,
855
+ },
856
+ "type": "Text",
857
+ },
858
+ ],
859
+ "props": {},
860
+ "type": "View",
861
+ },
862
+ ],
863
+ "props": {},
864
+ "type": "SafeAreaView",
865
+ },
866
+ ],
867
+ "props": {
868
+ "ref": {
869
+ "current": null,
870
+ },
871
+ "style": [
872
+ {
873
+ "backgroundColor": "white",
874
+ "bottom": 0,
875
+ "maxWidth": "100%",
876
+ "top": 0,
877
+ },
878
+ {
879
+ "position": "absolute",
880
+ "zIndex": 1,
881
+ },
882
+ {
883
+ "width": "95%",
884
+ },
885
+ {
886
+ "left": "calc(95% * -1)",
887
+ },
888
+ {
889
+ "transform": "translateX(100%)",
890
+ "transition": "transform 0.3s",
891
+ },
892
+ [
893
+ {
894
+ "borderColor": "gray",
895
+ "borderWidth": 1,
896
+ "height": "100%",
897
+ "width": "95%",
898
+ },
899
+ {
900
+ "backgroundColor": "#D9D9D9",
901
+ },
902
+ {},
903
+ {},
904
+ ],
905
+ ],
906
+ "testID": undefined,
907
+ },
908
+ "type": "View",
909
+ },
910
+ {
911
+ "$$typeof": Symbol(react.test.json),
912
+ "children": [
913
+ {
914
+ "$$typeof": Symbol(react.test.json),
915
+ "children": [
916
+ {
917
+ "$$typeof": Symbol(react.test.json),
918
+ "children": [
919
+ {
920
+ "$$typeof": Symbol(react.test.json),
921
+ "children": [
922
+ "Content",
923
+ ],
924
+ "props": {
925
+ "numberOfLines": 0,
926
+ "selectable": undefined,
927
+ "style": {
928
+ "color": "#1C1C1C",
929
+ "fontFamily": "text-regular",
930
+ "fontSize": 14,
931
+ "textAlign": "left",
932
+ },
933
+ "testID": undefined,
934
+ },
935
+ "type": "Text",
936
+ },
937
+ ],
938
+ "props": {},
939
+ "type": "View",
940
+ },
941
+ ],
942
+ "props": {
943
+ "aria-hidden": true,
944
+ "style": {
945
+ "flex": 1,
946
+ },
947
+ "testID": undefined,
948
+ },
949
+ "type": "View",
950
+ },
951
+ {
952
+ "$$typeof": Symbol(react.test.json),
953
+ "children": [
954
+ {
955
+ "$$typeof": Symbol(react.test.json),
956
+ "children": null,
957
+ "props": {
958
+ "aria-label": "Close drawer",
959
+ "onPress": [Function],
960
+ "role": "button",
961
+ "style": [
962
+ {
963
+ "flex": 1,
964
+ },
965
+ {
966
+ "pointerEvents": "auto",
967
+ },
968
+ ],
969
+ },
970
+ "type": "Pressable",
971
+ },
972
+ ],
973
+ "props": {
974
+ "aria-hidden": false,
975
+ "progress": FakeSharedValue {
976
+ "_isReanimatedSharedValue": true,
977
+ "_listeners": Map {},
978
+ "_value": 1,
979
+ },
980
+ "style": [
981
+ {
982
+ "bottom": 0,
983
+ "left": 0,
984
+ "position": "absolute",
985
+ "right": 0,
986
+ "top": 0,
987
+ },
988
+ {
989
+ "WebkitTapHighlightColor": "transparent",
990
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
991
+ "transition": "opacity 0.3s",
992
+ },
993
+ {
994
+ "opacity": 1,
995
+ "pointerEvents": "auto",
996
+ },
997
+ undefined,
998
+ ],
999
+ "testID": undefined,
1000
+ },
1001
+ "type": "View",
1002
+ },
1003
+ ],
1004
+ "props": {
1005
+ "style": [
1006
+ {
1007
+ "flex": 1,
1008
+ },
1009
+ {
1010
+ "transform": "translateX(0)",
1011
+ "transition": "transform 0.3s",
1012
+ },
1013
+ ],
1014
+ "testID": undefined,
1015
+ },
1016
+ "type": "View",
1017
+ },
1018
+ ],
1019
+ "props": {
1020
+ "style": [
1021
+ {
1022
+ "flex": 1,
1023
+ "flexDirection": "row",
1024
+ },
1025
+ undefined,
1026
+ ],
1027
+ "testID": undefined,
1028
+ },
1029
+ "type": "View",
1030
+ }
1031
+ `;
1032
+
1033
+ exports[`SideDrawer renders with back drawer type 1`] = `
1034
+ {
1035
+ "$$typeof": Symbol(react.test.json),
1036
+ "children": [
1037
+ {
1038
+ "$$typeof": Symbol(react.test.json),
1039
+ "children": [
1040
+ {
1041
+ "$$typeof": Symbol(react.test.json),
1042
+ "children": [
1043
+ {
1044
+ "$$typeof": Symbol(react.test.json),
1045
+ "children": [
1046
+ {
1047
+ "$$typeof": Symbol(react.test.json),
1048
+ "children": [
1049
+ "Back drawer",
1050
+ ],
1051
+ "props": {
1052
+ "numberOfLines": 0,
1053
+ "selectable": undefined,
1054
+ "style": {
1055
+ "color": "#1C1C1C",
1056
+ "fontFamily": "text-regular",
1057
+ "fontSize": 14,
1058
+ "textAlign": "left",
1059
+ },
1060
+ "testID": undefined,
1061
+ },
1062
+ "type": "Text",
1063
+ },
1064
+ ],
1065
+ "props": {},
1066
+ "type": "View",
1067
+ },
1068
+ ],
1069
+ "props": {},
1070
+ "type": "SafeAreaView",
1071
+ },
1072
+ ],
1073
+ "props": {
1074
+ "ref": {
1075
+ "current": null,
1076
+ },
1077
+ "style": [
1078
+ {
1079
+ "backgroundColor": "white",
1080
+ "bottom": 0,
1081
+ "maxWidth": "100%",
1082
+ "top": 0,
1083
+ },
1084
+ {
1085
+ "position": "absolute",
1086
+ "zIndex": -1,
1087
+ },
1088
+ {
1089
+ "width": "95%",
1090
+ },
1091
+ {
1092
+ "left": "calc(95% * -1)",
1093
+ },
1094
+ {
1095
+ "transform": "translateX(100%)",
1096
+ "transition": "transform 0.3s",
1097
+ },
1098
+ [
1099
+ {
1100
+ "borderColor": "gray",
1101
+ "borderWidth": 1,
1102
+ "height": "100%",
1103
+ "width": "95%",
1104
+ },
1105
+ {
1106
+ "backgroundColor": "#D9D9D9",
1107
+ },
1108
+ {},
1109
+ {},
1110
+ ],
1111
+ ],
1112
+ "testID": undefined,
1113
+ },
1114
+ "type": "View",
1115
+ },
1116
+ {
1117
+ "$$typeof": Symbol(react.test.json),
1118
+ "children": [
1119
+ {
1120
+ "$$typeof": Symbol(react.test.json),
1121
+ "children": [
1122
+ {
1123
+ "$$typeof": Symbol(react.test.json),
1124
+ "children": [
1125
+ {
1126
+ "$$typeof": Symbol(react.test.json),
1127
+ "children": [
1128
+ "Content",
1129
+ ],
1130
+ "props": {
1131
+ "numberOfLines": 0,
1132
+ "selectable": undefined,
1133
+ "style": {
1134
+ "color": "#1C1C1C",
1135
+ "fontFamily": "text-regular",
1136
+ "fontSize": 14,
1137
+ "textAlign": "left",
1138
+ },
1139
+ "testID": undefined,
1140
+ },
1141
+ "type": "Text",
1142
+ },
1143
+ ],
1144
+ "props": {},
1145
+ "type": "View",
1146
+ },
1147
+ ],
1148
+ "props": {
1149
+ "aria-hidden": true,
1150
+ "style": {
1151
+ "flex": 1,
1152
+ },
1153
+ "testID": undefined,
1154
+ },
1155
+ "type": "View",
1156
+ },
1157
+ {
1158
+ "$$typeof": Symbol(react.test.json),
1159
+ "children": [
1160
+ {
1161
+ "$$typeof": Symbol(react.test.json),
1162
+ "children": null,
1163
+ "props": {
1164
+ "aria-label": "Close drawer",
1165
+ "onPress": [Function],
1166
+ "role": "button",
1167
+ "style": [
1168
+ {
1169
+ "flex": 1,
1170
+ },
1171
+ {
1172
+ "pointerEvents": "auto",
1173
+ },
1174
+ ],
1175
+ },
1176
+ "type": "Pressable",
1177
+ },
1178
+ ],
1179
+ "props": {
1180
+ "aria-hidden": false,
1181
+ "progress": FakeSharedValue {
1182
+ "_isReanimatedSharedValue": true,
1183
+ "_listeners": Map {},
1184
+ "_value": 1,
1185
+ },
1186
+ "style": [
1187
+ {
1188
+ "bottom": 0,
1189
+ "left": 0,
1190
+ "position": "absolute",
1191
+ "right": 0,
1192
+ "top": 0,
1193
+ },
1194
+ {
1195
+ "WebkitTapHighlightColor": "transparent",
1196
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
1197
+ "transition": "opacity 0.3s",
1198
+ },
1199
+ {
1200
+ "opacity": 1,
1201
+ "pointerEvents": "auto",
1202
+ },
1203
+ undefined,
1204
+ ],
1205
+ "testID": undefined,
1206
+ },
1207
+ "type": "View",
1208
+ },
1209
+ ],
1210
+ "props": {
1211
+ "style": [
1212
+ {
1213
+ "flex": 1,
1214
+ },
1215
+ {
1216
+ "transform": "translateX(calc(95% * 1))",
1217
+ "transition": "transform 0.3s",
1218
+ },
1219
+ ],
1220
+ "testID": undefined,
1221
+ },
1222
+ "type": "View",
1223
+ },
1224
+ ],
1225
+ "props": {
1226
+ "style": [
1227
+ {
1228
+ "flex": 1,
1229
+ "flexDirection": "row",
1230
+ },
1231
+ undefined,
1232
+ ],
1233
+ "testID": undefined,
1234
+ },
1235
+ "type": "View",
1236
+ }
1237
+ `;
1238
+
1239
+ exports[`SideDrawer renders with slide drawer type 1`] = `
1240
+ {
1241
+ "$$typeof": Symbol(react.test.json),
1242
+ "children": [
1243
+ {
1244
+ "$$typeof": Symbol(react.test.json),
1245
+ "children": [
1246
+ {
1247
+ "$$typeof": Symbol(react.test.json),
1248
+ "children": [
1249
+ {
1250
+ "$$typeof": Symbol(react.test.json),
1251
+ "children": [
1252
+ {
1253
+ "$$typeof": Symbol(react.test.json),
1254
+ "children": [
1255
+ "Slide drawer",
1256
+ ],
1257
+ "props": {
1258
+ "numberOfLines": 0,
1259
+ "selectable": undefined,
1260
+ "style": {
1261
+ "color": "#1C1C1C",
1262
+ "fontFamily": "text-regular",
1263
+ "fontSize": 14,
1264
+ "textAlign": "left",
1265
+ },
1266
+ "testID": undefined,
1267
+ },
1268
+ "type": "Text",
1269
+ },
1270
+ ],
1271
+ "props": {},
1272
+ "type": "View",
1273
+ },
1274
+ ],
1275
+ "props": {},
1276
+ "type": "SafeAreaView",
1277
+ },
1278
+ ],
1279
+ "props": {
1280
+ "ref": {
1281
+ "current": null,
1282
+ },
1283
+ "style": [
1284
+ {
1285
+ "backgroundColor": "white",
1286
+ "bottom": 0,
1287
+ "maxWidth": "100%",
1288
+ "top": 0,
1289
+ },
1290
+ {
1291
+ "position": "absolute",
1292
+ "zIndex": 1,
1293
+ },
1294
+ {
1295
+ "width": "95%",
1296
+ },
1297
+ {
1298
+ "left": "calc(95% * -1)",
1299
+ },
1300
+ {
1301
+ "transform": "translateX(100%)",
1302
+ "transition": "transform 0.3s",
1303
+ },
1304
+ [
1305
+ {
1306
+ "borderColor": "gray",
1307
+ "borderWidth": 1,
1308
+ "height": "100%",
1309
+ "width": "95%",
1310
+ },
1311
+ {
1312
+ "backgroundColor": "#D9D9D9",
1313
+ },
1314
+ {},
1315
+ {},
1316
+ ],
1317
+ ],
1318
+ "testID": undefined,
1319
+ },
1320
+ "type": "View",
1321
+ },
1322
+ {
1323
+ "$$typeof": Symbol(react.test.json),
1324
+ "children": [
1325
+ {
1326
+ "$$typeof": Symbol(react.test.json),
1327
+ "children": [
1328
+ {
1329
+ "$$typeof": Symbol(react.test.json),
1330
+ "children": [
1331
+ {
1332
+ "$$typeof": Symbol(react.test.json),
1333
+ "children": [
1334
+ "Content",
1335
+ ],
1336
+ "props": {
1337
+ "numberOfLines": 0,
1338
+ "selectable": undefined,
1339
+ "style": {
1340
+ "color": "#1C1C1C",
1341
+ "fontFamily": "text-regular",
1342
+ "fontSize": 14,
1343
+ "textAlign": "left",
1344
+ },
1345
+ "testID": undefined,
1346
+ },
1347
+ "type": "Text",
1348
+ },
1349
+ ],
1350
+ "props": {},
1351
+ "type": "View",
1352
+ },
1353
+ ],
1354
+ "props": {
1355
+ "aria-hidden": true,
1356
+ "style": {
1357
+ "flex": 1,
1358
+ },
1359
+ "testID": undefined,
1360
+ },
1361
+ "type": "View",
1362
+ },
1363
+ {
1364
+ "$$typeof": Symbol(react.test.json),
1365
+ "children": [
1366
+ {
1367
+ "$$typeof": Symbol(react.test.json),
1368
+ "children": null,
1369
+ "props": {
1370
+ "aria-label": "Close drawer",
1371
+ "onPress": [Function],
1372
+ "role": "button",
1373
+ "style": [
1374
+ {
1375
+ "flex": 1,
1376
+ },
1377
+ {
1378
+ "pointerEvents": "auto",
1379
+ },
1380
+ ],
1381
+ },
1382
+ "type": "Pressable",
1383
+ },
1384
+ ],
1385
+ "props": {
1386
+ "aria-hidden": false,
1387
+ "progress": FakeSharedValue {
1388
+ "_isReanimatedSharedValue": true,
1389
+ "_listeners": Map {},
1390
+ "_value": 1,
1391
+ },
1392
+ "style": [
1393
+ {
1394
+ "bottom": 0,
1395
+ "left": 0,
1396
+ "position": "absolute",
1397
+ "right": 0,
1398
+ "top": 0,
1399
+ },
1400
+ {
1401
+ "WebkitTapHighlightColor": "transparent",
1402
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
1403
+ "transition": "opacity 0.3s",
1404
+ },
1405
+ {
1406
+ "opacity": 1,
1407
+ "pointerEvents": "auto",
1408
+ },
1409
+ undefined,
1410
+ ],
1411
+ "testID": undefined,
1412
+ },
1413
+ "type": "View",
1414
+ },
1415
+ ],
1416
+ "props": {
1417
+ "style": [
1418
+ {
1419
+ "flex": 1,
1420
+ },
1421
+ {
1422
+ "transform": "translateX(calc(95% * 1))",
1423
+ "transition": "transform 0.3s",
1424
+ },
1425
+ ],
1426
+ "testID": undefined,
1427
+ },
1428
+ "type": "View",
1429
+ },
1430
+ ],
1431
+ "props": {
1432
+ "style": [
1433
+ {
1434
+ "flex": 1,
1435
+ "flexDirection": "row",
1436
+ },
1437
+ undefined,
1438
+ ],
1439
+ "testID": undefined,
1440
+ },
1441
+ "type": "View",
1442
+ }
1443
+ `;
1444
+
1445
+ exports[`SideDrawer renders with custom drawer styles 1`] = `
1446
+ {
1447
+ "$$typeof": Symbol(react.test.json),
1448
+ "children": [
1449
+ {
1450
+ "$$typeof": Symbol(react.test.json),
1451
+ "children": [
1452
+ {
1453
+ "$$typeof": Symbol(react.test.json),
1454
+ "children": [
1455
+ {
1456
+ "$$typeof": Symbol(react.test.json),
1457
+ "children": [
1458
+ {
1459
+ "$$typeof": Symbol(react.test.json),
1460
+ "children": [
1461
+ "Styled drawer",
1462
+ ],
1463
+ "props": {
1464
+ "numberOfLines": 0,
1465
+ "selectable": undefined,
1466
+ "style": {
1467
+ "color": "#1C1C1C",
1468
+ "fontFamily": "text-regular",
1469
+ "fontSize": 14,
1470
+ "textAlign": "left",
1471
+ },
1472
+ "testID": undefined,
1473
+ },
1474
+ "type": "Text",
1475
+ },
1476
+ ],
1477
+ "props": {},
1478
+ "type": "View",
1479
+ },
1480
+ ],
1481
+ "props": {},
1482
+ "type": "SafeAreaView",
1483
+ },
1484
+ ],
1485
+ "props": {
1486
+ "ref": {
1487
+ "current": null,
1488
+ },
1489
+ "style": [
1490
+ {
1491
+ "backgroundColor": "white",
1492
+ "bottom": 0,
1493
+ "maxWidth": "100%",
1494
+ "top": 0,
1495
+ },
1496
+ {
1497
+ "position": "absolute",
1498
+ "zIndex": 1,
1499
+ },
1500
+ {
1501
+ "width": "50%",
1502
+ },
1503
+ {
1504
+ "left": "calc(50% * -1)",
1505
+ },
1506
+ {
1507
+ "transform": "translateX(100%)",
1508
+ "transition": "transform 0.3s",
1509
+ },
1510
+ [
1511
+ {
1512
+ "borderColor": "gray",
1513
+ "borderWidth": 1,
1514
+ "height": "100%",
1515
+ "width": "95%",
1516
+ },
1517
+ {
1518
+ "backgroundColor": "#D9D9D9",
1519
+ },
1520
+ {
1521
+ "width": "50%",
1522
+ },
1523
+ {},
1524
+ ],
1525
+ ],
1526
+ "testID": undefined,
1527
+ },
1528
+ "type": "View",
1529
+ },
1530
+ {
1531
+ "$$typeof": Symbol(react.test.json),
1532
+ "children": [
1533
+ {
1534
+ "$$typeof": Symbol(react.test.json),
1535
+ "children": [
1536
+ {
1537
+ "$$typeof": Symbol(react.test.json),
1538
+ "children": [
1539
+ {
1540
+ "$$typeof": Symbol(react.test.json),
1541
+ "children": [
1542
+ "Content",
1543
+ ],
1544
+ "props": {
1545
+ "numberOfLines": 0,
1546
+ "selectable": undefined,
1547
+ "style": {
1548
+ "color": "#1C1C1C",
1549
+ "fontFamily": "text-regular",
1550
+ "fontSize": 14,
1551
+ "textAlign": "left",
1552
+ },
1553
+ "testID": undefined,
1554
+ },
1555
+ "type": "Text",
1556
+ },
1557
+ ],
1558
+ "props": {},
1559
+ "type": "View",
1560
+ },
1561
+ ],
1562
+ "props": {
1563
+ "aria-hidden": true,
1564
+ "style": {
1565
+ "flex": 1,
1566
+ },
1567
+ "testID": undefined,
1568
+ },
1569
+ "type": "View",
1570
+ },
1571
+ {
1572
+ "$$typeof": Symbol(react.test.json),
1573
+ "children": [
1574
+ {
1575
+ "$$typeof": Symbol(react.test.json),
1576
+ "children": null,
1577
+ "props": {
1578
+ "aria-label": "Close drawer",
1579
+ "onPress": [Function],
1580
+ "role": "button",
1581
+ "style": [
1582
+ {
1583
+ "flex": 1,
1584
+ },
1585
+ {
1586
+ "pointerEvents": "auto",
1587
+ },
1588
+ ],
1589
+ },
1590
+ "type": "Pressable",
1591
+ },
1592
+ ],
1593
+ "props": {
1594
+ "aria-hidden": false,
1595
+ "progress": FakeSharedValue {
1596
+ "_isReanimatedSharedValue": true,
1597
+ "_listeners": Map {},
1598
+ "_value": 1,
1599
+ },
1600
+ "style": [
1601
+ {
1602
+ "bottom": 0,
1603
+ "left": 0,
1604
+ "position": "absolute",
1605
+ "right": 0,
1606
+ "top": 0,
1607
+ },
1608
+ {
1609
+ "WebkitTapHighlightColor": "transparent",
1610
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
1611
+ "transition": "opacity 0.3s",
1612
+ },
1613
+ {
1614
+ "opacity": 1,
1615
+ "pointerEvents": "auto",
1616
+ },
1617
+ undefined,
1618
+ ],
1619
+ "testID": undefined,
1620
+ },
1621
+ "type": "View",
1622
+ },
1623
+ ],
1624
+ "props": {
1625
+ "style": [
1626
+ {
1627
+ "flex": 1,
1628
+ },
1629
+ {
1630
+ "transform": "translateX(0)",
1631
+ "transition": "transform 0.3s",
1632
+ },
1633
+ ],
1634
+ "testID": undefined,
1635
+ },
1636
+ "type": "View",
1637
+ },
1638
+ ],
1639
+ "props": {
1640
+ "style": [
1641
+ {
1642
+ "flex": 1,
1643
+ "flexDirection": "row",
1644
+ },
1645
+ undefined,
1646
+ ],
1647
+ "testID": undefined,
1648
+ },
1649
+ "type": "View",
1650
+ }
1651
+ `;
1652
+
1653
+ exports[`SideDrawer accepts onOpen and onClose callbacks 1`] = `
1654
+ {
1655
+ "$$typeof": Symbol(react.test.json),
1656
+ "children": [
1657
+ {
1658
+ "$$typeof": Symbol(react.test.json),
1659
+ "children": [
1660
+ {
1661
+ "$$typeof": Symbol(react.test.json),
1662
+ "children": [
1663
+ {
1664
+ "$$typeof": Symbol(react.test.json),
1665
+ "children": [
1666
+ {
1667
+ "$$typeof": Symbol(react.test.json),
1668
+ "children": [
1669
+ "Drawer",
1670
+ ],
1671
+ "props": {
1672
+ "numberOfLines": 0,
1673
+ "selectable": undefined,
1674
+ "style": {
1675
+ "color": "#1C1C1C",
1676
+ "fontFamily": "text-regular",
1677
+ "fontSize": 14,
1678
+ "textAlign": "left",
1679
+ },
1680
+ "testID": undefined,
1681
+ },
1682
+ "type": "Text",
1683
+ },
1684
+ ],
1685
+ "props": {},
1686
+ "type": "View",
1687
+ },
1688
+ ],
1689
+ "props": {},
1690
+ "type": "SafeAreaView",
1691
+ },
1692
+ ],
1693
+ "props": {
1694
+ "ref": {
1695
+ "current": null,
1696
+ },
1697
+ "style": [
1698
+ {
1699
+ "backgroundColor": "white",
1700
+ "bottom": 0,
1701
+ "maxWidth": "100%",
1702
+ "top": 0,
1703
+ },
1704
+ {
1705
+ "position": "absolute",
1706
+ "zIndex": 1,
1707
+ },
1708
+ {
1709
+ "width": "95%",
1710
+ },
1711
+ {
1712
+ "left": "calc(95% * -1)",
1713
+ },
1714
+ {
1715
+ "transform": "translateX(0)",
1716
+ "transition": "transform 0.3s",
1717
+ },
1718
+ [
1719
+ {
1720
+ "borderColor": "gray",
1721
+ "borderWidth": 1,
1722
+ "height": "100%",
1723
+ "width": "95%",
1724
+ },
1725
+ {
1726
+ "backgroundColor": "#D9D9D9",
1727
+ },
1728
+ {},
1729
+ {},
1730
+ ],
1731
+ ],
1732
+ "testID": undefined,
1733
+ },
1734
+ "type": "View",
1735
+ },
1736
+ {
1737
+ "$$typeof": Symbol(react.test.json),
1738
+ "children": [
1739
+ {
1740
+ "$$typeof": Symbol(react.test.json),
1741
+ "children": [
1742
+ {
1743
+ "$$typeof": Symbol(react.test.json),
1744
+ "children": [
1745
+ {
1746
+ "$$typeof": Symbol(react.test.json),
1747
+ "children": [
1748
+ "Content",
1749
+ ],
1750
+ "props": {
1751
+ "numberOfLines": 0,
1752
+ "selectable": undefined,
1753
+ "style": {
1754
+ "color": "#1C1C1C",
1755
+ "fontFamily": "text-regular",
1756
+ "fontSize": 14,
1757
+ "textAlign": "left",
1758
+ },
1759
+ "testID": undefined,
1760
+ },
1761
+ "type": "Text",
1762
+ },
1763
+ ],
1764
+ "props": {},
1765
+ "type": "View",
1766
+ },
1767
+ ],
1768
+ "props": {
1769
+ "aria-hidden": false,
1770
+ "style": {
1771
+ "flex": 1,
1772
+ },
1773
+ "testID": undefined,
1774
+ },
1775
+ "type": "View",
1776
+ },
1777
+ {
1778
+ "$$typeof": Symbol(react.test.json),
1779
+ "children": [
1780
+ {
1781
+ "$$typeof": Symbol(react.test.json),
1782
+ "children": null,
1783
+ "props": {
1784
+ "aria-label": "Close drawer",
1785
+ "onPress": [Function],
1786
+ "role": "button",
1787
+ "style": [
1788
+ {
1789
+ "flex": 1,
1790
+ },
1791
+ {
1792
+ "pointerEvents": "none",
1793
+ },
1794
+ ],
1795
+ },
1796
+ "type": "Pressable",
1797
+ },
1798
+ ],
1799
+ "props": {
1800
+ "aria-hidden": true,
1801
+ "progress": FakeSharedValue {
1802
+ "_isReanimatedSharedValue": true,
1803
+ "_listeners": Map {},
1804
+ "_value": 0,
1805
+ },
1806
+ "style": [
1807
+ {
1808
+ "bottom": 0,
1809
+ "left": 0,
1810
+ "position": "absolute",
1811
+ "right": 0,
1812
+ "top": 0,
1813
+ },
1814
+ {
1815
+ "WebkitTapHighlightColor": "transparent",
1816
+ "backgroundColor": "rgba(0, 0, 0, 0.5)",
1817
+ "transition": "opacity 0.3s",
1818
+ },
1819
+ {
1820
+ "opacity": 0,
1821
+ "pointerEvents": "none",
1822
+ },
1823
+ undefined,
1824
+ ],
1825
+ "testID": undefined,
1826
+ },
1827
+ "type": "View",
1828
+ },
1829
+ ],
1830
+ "props": {
1831
+ "style": [
1832
+ {
1833
+ "flex": 1,
1834
+ },
1835
+ {
1836
+ "transform": "translateX(0)",
1837
+ "transition": "transform 0.3s",
1838
+ },
1839
+ ],
1840
+ "testID": undefined,
1841
+ },
1842
+ "type": "View",
1843
+ },
1844
+ ],
1845
+ "props": {
1846
+ "style": [
1847
+ {
1848
+ "flex": 1,
1849
+ "flexDirection": "row",
1850
+ },
1851
+ undefined,
1852
+ ],
1853
+ "testID": undefined,
1854
+ },
1855
+ "type": "View",
1856
+ }
1857
+ `;