@terreno/ui 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/AIRequestExplorer.js +6 -1
  2. package/dist/AIRequestExplorer.js.map +1 -1
  3. package/dist/ActionSheet.d.ts +1 -0
  4. package/dist/ActionSheet.js +3 -0
  5. package/dist/ActionSheet.js.map +1 -1
  6. package/dist/Common.d.ts +16 -0
  7. package/dist/Common.js.map +1 -1
  8. package/dist/CustomSelectField.js +2 -2
  9. package/dist/CustomSelectField.js.map +1 -1
  10. package/dist/FilePickerButton.js +2 -1
  11. package/dist/FilePickerButton.js.map +1 -1
  12. package/dist/PickerSelect.d.ts +10 -2
  13. package/dist/PickerSelect.js +91 -17
  14. package/dist/PickerSelect.js.map +1 -1
  15. package/dist/SelectBadge.js +1 -1
  16. package/dist/SelectBadge.js.map +1 -1
  17. package/dist/SelectField.js +9 -9
  18. package/dist/SelectField.js.map +1 -1
  19. package/dist/WebDropdownMenu.d.ts +36 -5
  20. package/dist/WebDropdownMenu.js +211 -29
  21. package/dist/WebDropdownMenu.js.map +1 -1
  22. package/dist/createWebPortal.d.ts +7 -0
  23. package/dist/createWebPortal.js +3 -0
  24. package/dist/createWebPortal.js.map +1 -0
  25. package/dist/createWebPortal.native.d.ts +7 -0
  26. package/dist/createWebPortal.native.js +2 -0
  27. package/dist/createWebPortal.native.js.map +1 -0
  28. package/dist/fieldElements/FieldHelperText.js +1 -1
  29. package/dist/fieldElements/FieldHelperText.js.map +1 -1
  30. package/package.json +2 -2
  31. package/src/AIRequestExplorer.tsx +6 -1
  32. package/src/ActionSheet.test.tsx +103 -3
  33. package/src/ActionSheet.tsx +4 -0
  34. package/src/Common.ts +19 -0
  35. package/src/CustomSelectField.test.tsx +13 -3
  36. package/src/CustomSelectField.tsx +2 -0
  37. package/src/EmojiSelector.test.tsx +153 -0
  38. package/src/FilePickerButton.tsx +2 -1
  39. package/src/Modal.test.tsx +47 -0
  40. package/src/PickerSelect.test.tsx +253 -14
  41. package/src/PickerSelect.tsx +206 -49
  42. package/src/SelectBadge.tsx +1 -0
  43. package/src/SelectBadge.web.test.tsx +10 -0
  44. package/src/SelectField.tsx +19 -15
  45. package/src/WebDropdownMenu.test.tsx +449 -0
  46. package/src/WebDropdownMenu.tsx +405 -60
  47. package/src/__snapshots__/AddressField.test.tsx.snap +2088 -665
  48. package/src/__snapshots__/CustomSelectField.test.tsx.snap +2118 -1369
  49. package/src/__snapshots__/Field.test.tsx.snap +3787 -1806
  50. package/src/__snapshots__/HeightField.test.tsx.snap +3 -0
  51. package/src/__snapshots__/PickerSelect.test.tsx.snap +7 -7
  52. package/src/__snapshots__/SelectField.test.tsx.snap +1548 -1102
  53. package/src/__snapshots__/Slider.test.tsx.snap +3 -0
  54. package/src/__snapshots__/TextArea.test.tsx.snap +3 -0
  55. package/src/__snapshots__/TextField.test.tsx.snap +3 -0
  56. package/src/__snapshots__/TimezonePicker.test.tsx.snap +2499 -1353
  57. package/src/createWebPortal.native.ts +8 -0
  58. package/src/createWebPortal.test.tsx +13 -0
  59. package/src/createWebPortal.ts +10 -0
  60. package/src/fieldElements/FieldHelperText.tsx +4 -2
  61. package/src/fieldElements/__snapshots__/FieldHelperText.test.tsx.snap +3 -0
  62. package/src/table/TableBadge.test.tsx +19 -11
  63. package/src/table/__snapshots__/TableBadge.test.tsx.snap +226 -175
  64. package/src/types/react-dom.d.ts +5 -0
@@ -21,71 +21,36 @@ exports[`CustomSelectField renders correctly with default props 1`] = `
21
21
  "children": [
22
22
  {
23
23
  "$$typeof": Symbol(react.test.json),
24
- "children": null,
24
+ "children": [
25
+ "Please select an option.",
26
+ ],
25
27
  "props": {
26
- "editable": false,
27
- "multiline": true,
28
+ "numberOfLines": 1,
28
29
  "style": {
29
30
  "color": "#1C1C1C",
30
31
  "flex": 1,
32
+ "fontFamily": "text",
33
+ "fontSize": 16,
34
+ "paddingRight": 8,
31
35
  },
32
36
  "testID": "text_input",
33
- "value": "Please select an option.",
34
- },
35
- "type": "TextInput",
36
- },
37
- {
38
- "$$typeof": Symbol(react.test.json),
39
- "children": null,
40
- "props": {
41
- "style": {
42
- "pointerEvents": "none",
43
- },
44
- "testID": "icon_container",
45
37
  },
46
- "type": "View",
38
+ "type": "Text",
47
39
  },
48
40
  ],
49
41
  "props": {
42
+ "aria-role": "button",
43
+ "disabled": false,
44
+ "onPress": [Function],
50
45
  "style": {
51
46
  "alignItems": "center",
52
47
  "flexDirection": "row",
53
- "pointerEvents": "box-only",
48
+ "justifyContent": "space-between",
49
+ "minHeight": 40,
50
+ "paddingHorizontal": 8,
54
51
  "width": "100%",
55
52
  },
56
- "testID": undefined,
57
- },
58
- "type": "View",
59
- },
60
- ],
61
- "props": {
62
- "disabled": false,
63
- "onPress": [Function],
64
- "style": {
65
- "alignItems": "center",
66
- "flexDirection": "row",
67
- "justifyContent": "center",
68
- "minHeight": 40,
69
- "paddingHorizontal": 8,
70
- "width": "100%",
71
- },
72
- "testID": "ios_touchable_wrapper",
73
- },
74
- "type": "Pressable",
75
- },
76
- {
77
- "$$typeof": Symbol(react.test.json),
78
- "children": [
79
- {
80
- "$$typeof": Symbol(react.test.json),
81
- "children": null,
82
- "props": {
83
- "aria-role": "button",
84
- "onPress": [Function],
85
- "style": {
86
- "flex": 1,
87
- },
88
- "testID": "ios_modal_top",
53
+ "testID": "web_picker",
89
54
  },
90
55
  "type": "Pressable",
91
56
  },
@@ -96,12 +61,15 @@ exports[`CustomSelectField renders correctly with default props 1`] = `
96
61
  "$$typeof": Symbol(react.test.json),
97
62
  "children": null,
98
63
  "props": {
64
+ "aria-role": "button",
65
+ "onPress": [Function],
99
66
  "style": {
100
- "flexDirection": "row",
67
+ "flex": 1,
68
+ "zIndex": 0,
101
69
  },
102
- "testID": undefined,
70
+ "testID": "web_dropdown_backdrop",
103
71
  },
104
- "type": "View",
72
+ "type": "Pressable",
105
73
  },
106
74
  {
107
75
  "$$typeof": Symbol(react.test.json),
@@ -111,176 +79,314 @@ exports[`CustomSelectField renders correctly with default props 1`] = `
111
79
  "children": [
112
80
  {
113
81
  "$$typeof": Symbol(react.test.json),
114
- "children": [
115
- "Done",
116
- ],
82
+ "children": null,
117
83
  "props": {
118
- "allowFontScaling": false,
119
- "style": [
120
- {
121
- "color": "#007aff",
122
- "fontSize": 17,
123
- "fontWeight": "600",
124
- "paddingRight": 11,
125
- "paddingTop": 1,
126
- },
127
- {},
128
- ],
129
- "testID": "done_text",
84
+ "autoFocus": true,
85
+ "onChangeText": [Function: dispatchSetState],
86
+ "placeholder": "Search...",
87
+ "placeholderTextColor": "#686868",
88
+ "ref": {
89
+ "current": null,
90
+ },
91
+ "style": {
92
+ "borderColor": "#9A9A9A",
93
+ "borderRadius": 4,
94
+ "borderWidth": 1,
95
+ "color": "#1C1C1C",
96
+ "fontSize": 14,
97
+ "paddingHorizontal": 8,
98
+ "paddingVertical": 4,
99
+ },
100
+ "testID": "web_dropdown_search",
101
+ "value": "",
130
102
  },
131
- "type": "Text",
103
+ "type": "TextInput",
132
104
  },
133
105
  ],
134
106
  "props": {
135
- "style": undefined,
136
- "testID": "needed_for_touchable",
107
+ "style": {
108
+ "borderBottomColor": "#CDCDCD",
109
+ "borderBottomWidth": 1,
110
+ "paddingHorizontal": 8,
111
+ "paddingVertical": 6,
112
+ },
113
+ "testID": undefined,
137
114
  },
138
115
  "type": "View",
139
116
  },
140
- ],
141
- "props": {
142
- "hitSlop": {
143
- "bottom": 4,
144
- "left": 4,
145
- "right": 4,
146
- "top": 4,
147
- },
148
- "onPress": [Function],
149
- "onPressIn": [Function],
150
- "onPressOut": [Function],
151
- "testID": "done_button",
152
- },
153
- "type": "Pressable",
154
- },
155
- ],
156
- "props": {
157
- "style": {
158
- "alignItems": "center",
159
- "backgroundColor": "#f8f8f8",
160
- "borderTopColor": "#dedede",
161
- "borderTopWidth": 1,
162
- "flexDirection": "row",
163
- "height": 45,
164
- "justifyContent": "space-between",
165
- "paddingHorizontal": 10,
166
- "zIndex": 2,
167
- },
168
- "testID": "input_accessory_view",
169
- },
170
- "type": "View",
171
- },
172
- {
173
- "$$typeof": Symbol(react.test.json),
174
- "children": [
175
- {
176
- "$$typeof": Symbol(react.test.json),
177
- "children": [
178
- {
179
- "$$typeof": Symbol(react.test.json),
180
- "children": null,
181
- "props": {
182
- "color": undefined,
183
- "label": "Please select an option.",
184
- "value": "",
185
- },
186
- "type": "Picker.Item",
187
- },
188
- {
189
- "$$typeof": Symbol(react.test.json),
190
- "children": null,
191
- "props": {
192
- "color": undefined,
193
- "label": "Option A",
194
- "value": "a",
195
- },
196
- "type": "Picker.Item",
197
- },
198
- {
199
- "$$typeof": Symbol(react.test.json),
200
- "children": null,
201
- "props": {
202
- "color": undefined,
203
- "label": "Option B",
204
- "value": "b",
205
- },
206
- "type": "Picker.Item",
207
- },
208
- {
209
- "$$typeof": Symbol(react.test.json),
210
- "children": null,
211
- "props": {
212
- "color": undefined,
213
- "label": "Option C",
214
- "value": "c",
215
- },
216
- "type": "Picker.Item",
217
- },
218
117
  {
219
118
  "$$typeof": Symbol(react.test.json),
220
- "children": null,
119
+ "children": [
120
+ {
121
+ "$$typeof": Symbol(react.test.json),
122
+ "children": [
123
+ {
124
+ "$$typeof": Symbol(react.test.json),
125
+ "children": [
126
+ {
127
+ "$$typeof": Symbol(react.test.json),
128
+ "children": [
129
+ "Please select an option.",
130
+ ],
131
+ "props": {
132
+ "style": {
133
+ "color": "#1C1C1C",
134
+ "fontWeight": "600",
135
+ },
136
+ },
137
+ "type": "Text",
138
+ },
139
+ ],
140
+ "props": {
141
+ "style": {
142
+ "alignSelf": "stretch",
143
+ },
144
+ "testID": undefined,
145
+ },
146
+ "type": "View",
147
+ },
148
+ ],
149
+ "props": {
150
+ "aria-role": "button",
151
+ "onLayout": [Function],
152
+ "onPress": [Function],
153
+ "style": [Function],
154
+ "testID": "web_dropdown_option_",
155
+ },
156
+ "type": "Pressable",
157
+ },
158
+ {
159
+ "$$typeof": Symbol(react.test.json),
160
+ "children": [
161
+ {
162
+ "$$typeof": Symbol(react.test.json),
163
+ "children": [
164
+ {
165
+ "$$typeof": Symbol(react.test.json),
166
+ "children": [
167
+ "Option A",
168
+ ],
169
+ "props": {
170
+ "style": {
171
+ "color": "#1C1C1C",
172
+ "fontWeight": "400",
173
+ },
174
+ },
175
+ "type": "Text",
176
+ },
177
+ ],
178
+ "props": {
179
+ "style": {
180
+ "alignSelf": "stretch",
181
+ },
182
+ "testID": undefined,
183
+ },
184
+ "type": "View",
185
+ },
186
+ ],
187
+ "props": {
188
+ "aria-role": "button",
189
+ "onLayout": [Function],
190
+ "onPress": [Function],
191
+ "style": [Function],
192
+ "testID": "web_dropdown_option_a",
193
+ },
194
+ "type": "Pressable",
195
+ },
196
+ {
197
+ "$$typeof": Symbol(react.test.json),
198
+ "children": [
199
+ {
200
+ "$$typeof": Symbol(react.test.json),
201
+ "children": [
202
+ {
203
+ "$$typeof": Symbol(react.test.json),
204
+ "children": [
205
+ "Option B",
206
+ ],
207
+ "props": {
208
+ "style": {
209
+ "color": "#1C1C1C",
210
+ "fontWeight": "400",
211
+ },
212
+ },
213
+ "type": "Text",
214
+ },
215
+ ],
216
+ "props": {
217
+ "style": {
218
+ "alignSelf": "stretch",
219
+ },
220
+ "testID": undefined,
221
+ },
222
+ "type": "View",
223
+ },
224
+ ],
225
+ "props": {
226
+ "aria-role": "button",
227
+ "onLayout": [Function],
228
+ "onPress": [Function],
229
+ "style": [Function],
230
+ "testID": "web_dropdown_option_b",
231
+ },
232
+ "type": "Pressable",
233
+ },
234
+ {
235
+ "$$typeof": Symbol(react.test.json),
236
+ "children": [
237
+ {
238
+ "$$typeof": Symbol(react.test.json),
239
+ "children": [
240
+ {
241
+ "$$typeof": Symbol(react.test.json),
242
+ "children": [
243
+ "Option C",
244
+ ],
245
+ "props": {
246
+ "style": {
247
+ "color": "#1C1C1C",
248
+ "fontWeight": "400",
249
+ },
250
+ },
251
+ "type": "Text",
252
+ },
253
+ ],
254
+ "props": {
255
+ "style": {
256
+ "alignSelf": "stretch",
257
+ },
258
+ "testID": undefined,
259
+ },
260
+ "type": "View",
261
+ },
262
+ ],
263
+ "props": {
264
+ "aria-role": "button",
265
+ "onLayout": [Function],
266
+ "onPress": [Function],
267
+ "style": [Function],
268
+ "testID": "web_dropdown_option_c",
269
+ },
270
+ "type": "Pressable",
271
+ },
272
+ {
273
+ "$$typeof": Symbol(react.test.json),
274
+ "children": [
275
+ {
276
+ "$$typeof": Symbol(react.test.json),
277
+ "children": [
278
+ {
279
+ "$$typeof": Symbol(react.test.json),
280
+ "children": [
281
+ "Custom",
282
+ ],
283
+ "props": {
284
+ "style": {
285
+ "color": "#1C1C1C",
286
+ "fontWeight": "400",
287
+ },
288
+ },
289
+ "type": "Text",
290
+ },
291
+ ],
292
+ "props": {
293
+ "style": {
294
+ "alignSelf": "stretch",
295
+ },
296
+ "testID": undefined,
297
+ },
298
+ "type": "View",
299
+ },
300
+ ],
301
+ "props": {
302
+ "aria-role": "button",
303
+ "onLayout": [Function],
304
+ "onPress": [Function],
305
+ "style": [Function],
306
+ "testID": "web_dropdown_option_custom",
307
+ },
308
+ "type": "Pressable",
309
+ },
310
+ ],
221
311
  "props": {
222
- "color": undefined,
223
- "label": "Custom",
224
- "value": "custom",
312
+ "keyboardShouldPersistTaps": "handled",
313
+ "onLayout": [Function],
314
+ "ref": {
315
+ "current": null,
316
+ },
225
317
  },
226
- "type": "Picker.Item",
318
+ "type": "ScrollView",
227
319
  },
228
320
  ],
229
321
  "props": {
230
- "onValueChange": [Function],
231
- "selectedValue": "",
232
- "testID": "ios_picker",
322
+ "style": {
323
+ "backgroundColor": "#FFFFFF",
324
+ "borderColor": "#9A9A9A",
325
+ "borderRadius": 4,
326
+ "borderWidth": 1,
327
+ "left": 0,
328
+ "maxHeight": 300,
329
+ "minWidth": undefined,
330
+ "overflow": "hidden",
331
+ "position": "absolute",
332
+ "shadowColor": "#000",
333
+ "shadowOffset": {
334
+ "height": 2,
335
+ "width": 0,
336
+ },
337
+ "shadowOpacity": 0.15,
338
+ "shadowRadius": 8,
339
+ "top": 4,
340
+ "width": 0,
341
+ "zIndex": 1,
342
+ },
343
+ "testID": "web_dropdown_menu",
233
344
  },
234
- "type": "Picker",
345
+ "type": "View",
235
346
  },
236
347
  ],
237
348
  "props": {
238
- "style": [
239
- {
240
- "backgroundColor": "#d0d4da",
241
- "justifyContent": "center",
242
- },
243
- {
244
- "height": 215,
245
- },
246
- ],
247
- "testID": undefined,
349
+ "animationType": "fade",
350
+ "onRequestClose": [Function],
351
+ "testID": "web_dropdown_modal",
352
+ "transparent": true,
353
+ "visible": false,
248
354
  },
249
- "type": "View",
355
+ "type": "Modal",
250
356
  },
251
357
  ],
252
358
  "props": {
253
- "animationType": undefined,
254
- "onOrientationChange": [Function],
255
- "supportedOrientations": [
256
- "portrait",
257
- "landscape",
359
+ "ref": {
360
+ "current": null,
361
+ },
362
+ "style": [
363
+ {
364
+ "alignItems": "center",
365
+ "alignSelf": "stretch",
366
+ "borderRadius": 4,
367
+ "borderWidth": 1,
368
+ "flexDirection": "row",
369
+ "justifyContent": "flex-start",
370
+ "minHeight": 40,
371
+ "width": "100%",
372
+ },
373
+ {
374
+ "backgroundColor": "#FFFFFF",
375
+ "borderColor": "#9A9A9A",
376
+ },
377
+ false,
258
378
  ],
259
- "testID": "ios_modal",
260
- "transparent": true,
261
- "visible": false,
379
+ "testID": undefined,
262
380
  },
263
- "type": "Modal",
381
+ "type": "View",
264
382
  },
265
383
  ],
266
384
  "props": {
267
- "style": [
268
- {
269
- "alignItems": "center",
270
- "alignSelf": "stretch",
271
- "borderRadius": 4,
272
- "borderWidth": 1,
273
- "flexDirection": "row",
274
- "justifyContent": "center",
275
- "minHeight": 40,
276
- "width": "100%",
277
- },
278
- {
279
- "backgroundColor": "#FFFFFF",
280
- "borderColor": "#9A9A9A",
281
- },
282
- false,
283
- ],
385
+ "style": {
386
+ "alignSelf": "stretch",
387
+ "minWidth": 0,
388
+ "width": "100%",
389
+ },
284
390
  "testID": undefined,
285
391
  },
286
392
  "type": "View",
@@ -288,6 +394,7 @@ exports[`CustomSelectField renders correctly with default props 1`] = `
288
394
  ],
289
395
  "props": {
290
396
  "style": {
397
+ "minWidth": 0,
291
398
  "width": "100%",
292
399
  },
293
400
  "testID": undefined,
@@ -354,71 +461,36 @@ exports[`CustomSelectField renders with title 1`] = `
354
461
  "children": [
355
462
  {
356
463
  "$$typeof": Symbol(react.test.json),
357
- "children": null,
464
+ "children": [
465
+ "Please select an option.",
466
+ ],
358
467
  "props": {
359
- "editable": false,
360
- "multiline": true,
468
+ "numberOfLines": 1,
361
469
  "style": {
362
470
  "color": "#1C1C1C",
363
471
  "flex": 1,
472
+ "fontFamily": "text",
473
+ "fontSize": 16,
474
+ "paddingRight": 8,
364
475
  },
365
476
  "testID": "text_input",
366
- "value": "Please select an option.",
367
- },
368
- "type": "TextInput",
369
- },
370
- {
371
- "$$typeof": Symbol(react.test.json),
372
- "children": null,
373
- "props": {
374
- "style": {
375
- "pointerEvents": "none",
376
- },
377
- "testID": "icon_container",
378
477
  },
379
- "type": "View",
478
+ "type": "Text",
380
479
  },
381
480
  ],
382
481
  "props": {
482
+ "aria-role": "button",
483
+ "disabled": false,
484
+ "onPress": [Function],
383
485
  "style": {
384
486
  "alignItems": "center",
385
487
  "flexDirection": "row",
386
- "pointerEvents": "box-only",
488
+ "justifyContent": "space-between",
489
+ "minHeight": 40,
490
+ "paddingHorizontal": 8,
387
491
  "width": "100%",
388
492
  },
389
- "testID": undefined,
390
- },
391
- "type": "View",
392
- },
393
- ],
394
- "props": {
395
- "disabled": false,
396
- "onPress": [Function],
397
- "style": {
398
- "alignItems": "center",
399
- "flexDirection": "row",
400
- "justifyContent": "center",
401
- "minHeight": 40,
402
- "paddingHorizontal": 8,
403
- "width": "100%",
404
- },
405
- "testID": "ios_touchable_wrapper",
406
- },
407
- "type": "Pressable",
408
- },
409
- {
410
- "$$typeof": Symbol(react.test.json),
411
- "children": [
412
- {
413
- "$$typeof": Symbol(react.test.json),
414
- "children": null,
415
- "props": {
416
- "aria-role": "button",
417
- "onPress": [Function],
418
- "style": {
419
- "flex": 1,
420
- },
421
- "testID": "ios_modal_top",
493
+ "testID": "web_picker",
422
494
  },
423
495
  "type": "Pressable",
424
496
  },
@@ -429,12 +501,15 @@ exports[`CustomSelectField renders with title 1`] = `
429
501
  "$$typeof": Symbol(react.test.json),
430
502
  "children": null,
431
503
  "props": {
504
+ "aria-role": "button",
505
+ "onPress": [Function],
432
506
  "style": {
433
- "flexDirection": "row",
507
+ "flex": 1,
508
+ "zIndex": 0,
434
509
  },
435
- "testID": undefined,
510
+ "testID": "web_dropdown_backdrop",
436
511
  },
437
- "type": "View",
512
+ "type": "Pressable",
438
513
  },
439
514
  {
440
515
  "$$typeof": Symbol(react.test.json),
@@ -442,178 +517,316 @@ exports[`CustomSelectField renders with title 1`] = `
442
517
  {
443
518
  "$$typeof": Symbol(react.test.json),
444
519
  "children": [
520
+ {
521
+ "$$typeof": Symbol(react.test.json),
522
+ "children": null,
523
+ "props": {
524
+ "autoFocus": true,
525
+ "onChangeText": [Function: dispatchSetState],
526
+ "placeholder": "Search...",
527
+ "placeholderTextColor": "#686868",
528
+ "ref": {
529
+ "current": null,
530
+ },
531
+ "style": {
532
+ "borderColor": "#9A9A9A",
533
+ "borderRadius": 4,
534
+ "borderWidth": 1,
535
+ "color": "#1C1C1C",
536
+ "fontSize": 14,
537
+ "paddingHorizontal": 8,
538
+ "paddingVertical": 4,
539
+ },
540
+ "testID": "web_dropdown_search",
541
+ "value": "",
542
+ },
543
+ "type": "TextInput",
544
+ },
545
+ ],
546
+ "props": {
547
+ "style": {
548
+ "borderBottomColor": "#CDCDCD",
549
+ "borderBottomWidth": 1,
550
+ "paddingHorizontal": 8,
551
+ "paddingVertical": 6,
552
+ },
553
+ "testID": undefined,
554
+ },
555
+ "type": "View",
556
+ },
557
+ {
558
+ "$$typeof": Symbol(react.test.json),
559
+ "children": [
560
+ {
561
+ "$$typeof": Symbol(react.test.json),
562
+ "children": [
563
+ {
564
+ "$$typeof": Symbol(react.test.json),
565
+ "children": [
566
+ {
567
+ "$$typeof": Symbol(react.test.json),
568
+ "children": [
569
+ "Please select an option.",
570
+ ],
571
+ "props": {
572
+ "style": {
573
+ "color": "#1C1C1C",
574
+ "fontWeight": "600",
575
+ },
576
+ },
577
+ "type": "Text",
578
+ },
579
+ ],
580
+ "props": {
581
+ "style": {
582
+ "alignSelf": "stretch",
583
+ },
584
+ "testID": undefined,
585
+ },
586
+ "type": "View",
587
+ },
588
+ ],
589
+ "props": {
590
+ "aria-role": "button",
591
+ "onLayout": [Function],
592
+ "onPress": [Function],
593
+ "style": [Function],
594
+ "testID": "web_dropdown_option_",
595
+ },
596
+ "type": "Pressable",
597
+ },
598
+ {
599
+ "$$typeof": Symbol(react.test.json),
600
+ "children": [
601
+ {
602
+ "$$typeof": Symbol(react.test.json),
603
+ "children": [
604
+ {
605
+ "$$typeof": Symbol(react.test.json),
606
+ "children": [
607
+ "Option A",
608
+ ],
609
+ "props": {
610
+ "style": {
611
+ "color": "#1C1C1C",
612
+ "fontWeight": "400",
613
+ },
614
+ },
615
+ "type": "Text",
616
+ },
617
+ ],
618
+ "props": {
619
+ "style": {
620
+ "alignSelf": "stretch",
621
+ },
622
+ "testID": undefined,
623
+ },
624
+ "type": "View",
625
+ },
626
+ ],
627
+ "props": {
628
+ "aria-role": "button",
629
+ "onLayout": [Function],
630
+ "onPress": [Function],
631
+ "style": [Function],
632
+ "testID": "web_dropdown_option_a",
633
+ },
634
+ "type": "Pressable",
635
+ },
636
+ {
637
+ "$$typeof": Symbol(react.test.json),
638
+ "children": [
639
+ {
640
+ "$$typeof": Symbol(react.test.json),
641
+ "children": [
642
+ {
643
+ "$$typeof": Symbol(react.test.json),
644
+ "children": [
645
+ "Option B",
646
+ ],
647
+ "props": {
648
+ "style": {
649
+ "color": "#1C1C1C",
650
+ "fontWeight": "400",
651
+ },
652
+ },
653
+ "type": "Text",
654
+ },
655
+ ],
656
+ "props": {
657
+ "style": {
658
+ "alignSelf": "stretch",
659
+ },
660
+ "testID": undefined,
661
+ },
662
+ "type": "View",
663
+ },
664
+ ],
665
+ "props": {
666
+ "aria-role": "button",
667
+ "onLayout": [Function],
668
+ "onPress": [Function],
669
+ "style": [Function],
670
+ "testID": "web_dropdown_option_b",
671
+ },
672
+ "type": "Pressable",
673
+ },
445
674
  {
446
675
  "$$typeof": Symbol(react.test.json),
447
676
  "children": [
448
- "Done",
677
+ {
678
+ "$$typeof": Symbol(react.test.json),
679
+ "children": [
680
+ {
681
+ "$$typeof": Symbol(react.test.json),
682
+ "children": [
683
+ "Option C",
684
+ ],
685
+ "props": {
686
+ "style": {
687
+ "color": "#1C1C1C",
688
+ "fontWeight": "400",
689
+ },
690
+ },
691
+ "type": "Text",
692
+ },
693
+ ],
694
+ "props": {
695
+ "style": {
696
+ "alignSelf": "stretch",
697
+ },
698
+ "testID": undefined,
699
+ },
700
+ "type": "View",
701
+ },
449
702
  ],
450
703
  "props": {
451
- "allowFontScaling": false,
452
- "style": [
453
- {
454
- "color": "#007aff",
455
- "fontSize": 17,
456
- "fontWeight": "600",
457
- "paddingRight": 11,
458
- "paddingTop": 1,
704
+ "aria-role": "button",
705
+ "onLayout": [Function],
706
+ "onPress": [Function],
707
+ "style": [Function],
708
+ "testID": "web_dropdown_option_c",
709
+ },
710
+ "type": "Pressable",
711
+ },
712
+ {
713
+ "$$typeof": Symbol(react.test.json),
714
+ "children": [
715
+ {
716
+ "$$typeof": Symbol(react.test.json),
717
+ "children": [
718
+ {
719
+ "$$typeof": Symbol(react.test.json),
720
+ "children": [
721
+ "Custom",
722
+ ],
723
+ "props": {
724
+ "style": {
725
+ "color": "#1C1C1C",
726
+ "fontWeight": "400",
727
+ },
728
+ },
729
+ "type": "Text",
730
+ },
731
+ ],
732
+ "props": {
733
+ "style": {
734
+ "alignSelf": "stretch",
735
+ },
736
+ "testID": undefined,
459
737
  },
460
- {},
461
- ],
462
- "testID": "done_text",
738
+ "type": "View",
739
+ },
740
+ ],
741
+ "props": {
742
+ "aria-role": "button",
743
+ "onLayout": [Function],
744
+ "onPress": [Function],
745
+ "style": [Function],
746
+ "testID": "web_dropdown_option_custom",
463
747
  },
464
- "type": "Text",
748
+ "type": "Pressable",
465
749
  },
466
750
  ],
467
751
  "props": {
468
- "style": undefined,
469
- "testID": "needed_for_touchable",
752
+ "keyboardShouldPersistTaps": "handled",
753
+ "onLayout": [Function],
754
+ "ref": {
755
+ "current": null,
756
+ },
470
757
  },
471
- "type": "View",
758
+ "type": "ScrollView",
472
759
  },
473
760
  ],
474
761
  "props": {
475
- "hitSlop": {
476
- "bottom": 4,
477
- "left": 4,
478
- "right": 4,
762
+ "style": {
763
+ "backgroundColor": "#FFFFFF",
764
+ "borderColor": "#9A9A9A",
765
+ "borderRadius": 4,
766
+ "borderWidth": 1,
767
+ "left": 0,
768
+ "maxHeight": 300,
769
+ "minWidth": undefined,
770
+ "overflow": "hidden",
771
+ "position": "absolute",
772
+ "shadowColor": "#000",
773
+ "shadowOffset": {
774
+ "height": 2,
775
+ "width": 0,
776
+ },
777
+ "shadowOpacity": 0.15,
778
+ "shadowRadius": 8,
479
779
  "top": 4,
780
+ "width": 0,
781
+ "zIndex": 1,
480
782
  },
481
- "onPress": [Function],
482
- "onPressIn": [Function],
483
- "onPressOut": [Function],
484
- "testID": "done_button",
783
+ "testID": "web_dropdown_menu",
485
784
  },
486
- "type": "Pressable",
785
+ "type": "View",
487
786
  },
488
787
  ],
489
788
  "props": {
490
- "style": {
491
- "alignItems": "center",
492
- "backgroundColor": "#f8f8f8",
493
- "borderTopColor": "#dedede",
494
- "borderTopWidth": 1,
495
- "flexDirection": "row",
496
- "height": 45,
497
- "justifyContent": "space-between",
498
- "paddingHorizontal": 10,
499
- "zIndex": 2,
500
- },
501
- "testID": "input_accessory_view",
789
+ "animationType": "fade",
790
+ "onRequestClose": [Function],
791
+ "testID": "web_dropdown_modal",
792
+ "transparent": true,
793
+ "visible": false,
502
794
  },
503
- "type": "View",
504
- },
505
- {
506
- "$$typeof": Symbol(react.test.json),
507
- "children": [
508
- {
509
- "$$typeof": Symbol(react.test.json),
510
- "children": [
511
- {
512
- "$$typeof": Symbol(react.test.json),
513
- "children": null,
514
- "props": {
515
- "color": undefined,
516
- "label": "Please select an option.",
517
- "value": "",
518
- },
519
- "type": "Picker.Item",
520
- },
521
- {
522
- "$$typeof": Symbol(react.test.json),
523
- "children": null,
524
- "props": {
525
- "color": undefined,
526
- "label": "Option A",
527
- "value": "a",
528
- },
529
- "type": "Picker.Item",
530
- },
531
- {
532
- "$$typeof": Symbol(react.test.json),
533
- "children": null,
534
- "props": {
535
- "color": undefined,
536
- "label": "Option B",
537
- "value": "b",
538
- },
539
- "type": "Picker.Item",
540
- },
541
- {
542
- "$$typeof": Symbol(react.test.json),
543
- "children": null,
544
- "props": {
545
- "color": undefined,
546
- "label": "Option C",
547
- "value": "c",
548
- },
549
- "type": "Picker.Item",
550
- },
551
- {
552
- "$$typeof": Symbol(react.test.json),
553
- "children": null,
554
- "props": {
555
- "color": undefined,
556
- "label": "Custom",
557
- "value": "custom",
558
- },
559
- "type": "Picker.Item",
560
- },
561
- ],
562
- "props": {
563
- "onValueChange": [Function],
564
- "selectedValue": "",
565
- "testID": "ios_picker",
566
- },
567
- "type": "Picker",
568
- },
569
- ],
570
- "props": {
571
- "style": [
572
- {
573
- "backgroundColor": "#d0d4da",
574
- "justifyContent": "center",
575
- },
576
- {
577
- "height": 215,
578
- },
579
- ],
580
- "testID": undefined,
581
- },
582
- "type": "View",
795
+ "type": "Modal",
583
796
  },
584
797
  ],
585
798
  "props": {
586
- "animationType": undefined,
587
- "onOrientationChange": [Function],
588
- "supportedOrientations": [
589
- "portrait",
590
- "landscape",
799
+ "ref": {
800
+ "current": null,
801
+ },
802
+ "style": [
803
+ {
804
+ "alignItems": "center",
805
+ "alignSelf": "stretch",
806
+ "borderRadius": 4,
807
+ "borderWidth": 1,
808
+ "flexDirection": "row",
809
+ "justifyContent": "flex-start",
810
+ "minHeight": 40,
811
+ "width": "100%",
812
+ },
813
+ {
814
+ "backgroundColor": "#FFFFFF",
815
+ "borderColor": "#9A9A9A",
816
+ },
817
+ false,
591
818
  ],
592
- "testID": "ios_modal",
593
- "transparent": true,
594
- "visible": false,
819
+ "testID": undefined,
595
820
  },
596
- "type": "Modal",
821
+ "type": "View",
597
822
  },
598
823
  ],
599
824
  "props": {
600
- "style": [
601
- {
602
- "alignItems": "center",
603
- "alignSelf": "stretch",
604
- "borderRadius": 4,
605
- "borderWidth": 1,
606
- "flexDirection": "row",
607
- "justifyContent": "center",
608
- "minHeight": 40,
609
- "width": "100%",
610
- },
611
- {
612
- "backgroundColor": "#FFFFFF",
613
- "borderColor": "#9A9A9A",
614
- },
615
- false,
616
- ],
825
+ "style": {
826
+ "alignSelf": "stretch",
827
+ "minWidth": 0,
828
+ "width": "100%",
829
+ },
617
830
  "testID": undefined,
618
831
  },
619
832
  "type": "View",
@@ -621,6 +834,7 @@ exports[`CustomSelectField renders with title 1`] = `
621
834
  ],
622
835
  "props": {
623
836
  "style": {
837
+ "minWidth": 0,
624
838
  "width": "100%",
625
839
  },
626
840
  "testID": undefined,
@@ -672,71 +886,36 @@ exports[`CustomSelectField renders with placeholder 1`] = `
672
886
  "children": [
673
887
  {
674
888
  "$$typeof": Symbol(react.test.json),
675
- "children": null,
889
+ "children": [
890
+ "Choose one...",
891
+ ],
676
892
  "props": {
677
- "editable": false,
678
- "multiline": true,
893
+ "numberOfLines": 1,
679
894
  "style": {
680
895
  "color": "#1C1C1C",
681
896
  "flex": 1,
897
+ "fontFamily": "text",
898
+ "fontSize": 16,
899
+ "paddingRight": 8,
682
900
  },
683
901
  "testID": "text_input",
684
- "value": "Choose one...",
685
- },
686
- "type": "TextInput",
687
- },
688
- {
689
- "$$typeof": Symbol(react.test.json),
690
- "children": null,
691
- "props": {
692
- "style": {
693
- "pointerEvents": "none",
694
- },
695
- "testID": "icon_container",
696
902
  },
697
- "type": "View",
903
+ "type": "Text",
698
904
  },
699
905
  ],
700
906
  "props": {
907
+ "aria-role": "button",
908
+ "disabled": false,
909
+ "onPress": [Function],
701
910
  "style": {
702
911
  "alignItems": "center",
703
912
  "flexDirection": "row",
704
- "pointerEvents": "box-only",
913
+ "justifyContent": "space-between",
914
+ "minHeight": 40,
915
+ "paddingHorizontal": 8,
705
916
  "width": "100%",
706
917
  },
707
- "testID": undefined,
708
- },
709
- "type": "View",
710
- },
711
- ],
712
- "props": {
713
- "disabled": false,
714
- "onPress": [Function],
715
- "style": {
716
- "alignItems": "center",
717
- "flexDirection": "row",
718
- "justifyContent": "center",
719
- "minHeight": 40,
720
- "paddingHorizontal": 8,
721
- "width": "100%",
722
- },
723
- "testID": "ios_touchable_wrapper",
724
- },
725
- "type": "Pressable",
726
- },
727
- {
728
- "$$typeof": Symbol(react.test.json),
729
- "children": [
730
- {
731
- "$$typeof": Symbol(react.test.json),
732
- "children": null,
733
- "props": {
734
- "aria-role": "button",
735
- "onPress": [Function],
736
- "style": {
737
- "flex": 1,
738
- },
739
- "testID": "ios_modal_top",
918
+ "testID": "web_picker",
740
919
  },
741
920
  "type": "Pressable",
742
921
  },
@@ -747,12 +926,15 @@ exports[`CustomSelectField renders with placeholder 1`] = `
747
926
  "$$typeof": Symbol(react.test.json),
748
927
  "children": null,
749
928
  "props": {
929
+ "aria-role": "button",
930
+ "onPress": [Function],
750
931
  "style": {
751
- "flexDirection": "row",
932
+ "flex": 1,
933
+ "zIndex": 0,
752
934
  },
753
- "testID": undefined,
935
+ "testID": "web_dropdown_backdrop",
754
936
  },
755
- "type": "View",
937
+ "type": "Pressable",
756
938
  },
757
939
  {
758
940
  "$$typeof": Symbol(react.test.json),
@@ -762,176 +944,314 @@ exports[`CustomSelectField renders with placeholder 1`] = `
762
944
  "children": [
763
945
  {
764
946
  "$$typeof": Symbol(react.test.json),
765
- "children": [
766
- "Done",
767
- ],
947
+ "children": null,
768
948
  "props": {
769
- "allowFontScaling": false,
770
- "style": [
771
- {
772
- "color": "#007aff",
773
- "fontSize": 17,
774
- "fontWeight": "600",
775
- "paddingRight": 11,
776
- "paddingTop": 1,
777
- },
778
- {},
779
- ],
780
- "testID": "done_text",
949
+ "autoFocus": true,
950
+ "onChangeText": [Function: dispatchSetState],
951
+ "placeholder": "Search...",
952
+ "placeholderTextColor": "#686868",
953
+ "ref": {
954
+ "current": null,
955
+ },
956
+ "style": {
957
+ "borderColor": "#9A9A9A",
958
+ "borderRadius": 4,
959
+ "borderWidth": 1,
960
+ "color": "#1C1C1C",
961
+ "fontSize": 14,
962
+ "paddingHorizontal": 8,
963
+ "paddingVertical": 4,
964
+ },
965
+ "testID": "web_dropdown_search",
966
+ "value": "",
781
967
  },
782
- "type": "Text",
968
+ "type": "TextInput",
783
969
  },
784
970
  ],
785
971
  "props": {
786
- "style": undefined,
787
- "testID": "needed_for_touchable",
972
+ "style": {
973
+ "borderBottomColor": "#CDCDCD",
974
+ "borderBottomWidth": 1,
975
+ "paddingHorizontal": 8,
976
+ "paddingVertical": 6,
977
+ },
978
+ "testID": undefined,
788
979
  },
789
980
  "type": "View",
790
981
  },
791
- ],
792
- "props": {
793
- "hitSlop": {
794
- "bottom": 4,
795
- "left": 4,
796
- "right": 4,
797
- "top": 4,
798
- },
799
- "onPress": [Function],
800
- "onPressIn": [Function],
801
- "onPressOut": [Function],
802
- "testID": "done_button",
803
- },
804
- "type": "Pressable",
805
- },
806
- ],
807
- "props": {
808
- "style": {
809
- "alignItems": "center",
810
- "backgroundColor": "#f8f8f8",
811
- "borderTopColor": "#dedede",
812
- "borderTopWidth": 1,
813
- "flexDirection": "row",
814
- "height": 45,
815
- "justifyContent": "space-between",
816
- "paddingHorizontal": 10,
817
- "zIndex": 2,
818
- },
819
- "testID": "input_accessory_view",
820
- },
821
- "type": "View",
822
- },
823
- {
824
- "$$typeof": Symbol(react.test.json),
825
- "children": [
826
- {
827
- "$$typeof": Symbol(react.test.json),
828
- "children": [
829
- {
830
- "$$typeof": Symbol(react.test.json),
831
- "children": null,
832
- "props": {
833
- "color": undefined,
834
- "label": "Choose one...",
835
- "value": "",
836
- },
837
- "type": "Picker.Item",
838
- },
839
- {
840
- "$$typeof": Symbol(react.test.json),
841
- "children": null,
842
- "props": {
843
- "color": undefined,
844
- "label": "Option A",
845
- "value": "a",
846
- },
847
- "type": "Picker.Item",
848
- },
849
- {
850
- "$$typeof": Symbol(react.test.json),
851
- "children": null,
852
- "props": {
853
- "color": undefined,
854
- "label": "Option B",
855
- "value": "b",
856
- },
857
- "type": "Picker.Item",
858
- },
859
982
  {
860
983
  "$$typeof": Symbol(react.test.json),
861
- "children": null,
862
- "props": {
863
- "color": undefined,
864
- "label": "Option C",
865
- "value": "c",
866
- },
867
- "type": "Picker.Item",
868
- },
869
- {
870
- "$$typeof": Symbol(react.test.json),
871
- "children": null,
984
+ "children": [
985
+ {
986
+ "$$typeof": Symbol(react.test.json),
987
+ "children": [
988
+ {
989
+ "$$typeof": Symbol(react.test.json),
990
+ "children": [
991
+ {
992
+ "$$typeof": Symbol(react.test.json),
993
+ "children": [
994
+ "Choose one...",
995
+ ],
996
+ "props": {
997
+ "style": {
998
+ "color": "#1C1C1C",
999
+ "fontWeight": "600",
1000
+ },
1001
+ },
1002
+ "type": "Text",
1003
+ },
1004
+ ],
1005
+ "props": {
1006
+ "style": {
1007
+ "alignSelf": "stretch",
1008
+ },
1009
+ "testID": undefined,
1010
+ },
1011
+ "type": "View",
1012
+ },
1013
+ ],
1014
+ "props": {
1015
+ "aria-role": "button",
1016
+ "onLayout": [Function],
1017
+ "onPress": [Function],
1018
+ "style": [Function],
1019
+ "testID": "web_dropdown_option_",
1020
+ },
1021
+ "type": "Pressable",
1022
+ },
1023
+ {
1024
+ "$$typeof": Symbol(react.test.json),
1025
+ "children": [
1026
+ {
1027
+ "$$typeof": Symbol(react.test.json),
1028
+ "children": [
1029
+ {
1030
+ "$$typeof": Symbol(react.test.json),
1031
+ "children": [
1032
+ "Option A",
1033
+ ],
1034
+ "props": {
1035
+ "style": {
1036
+ "color": "#1C1C1C",
1037
+ "fontWeight": "400",
1038
+ },
1039
+ },
1040
+ "type": "Text",
1041
+ },
1042
+ ],
1043
+ "props": {
1044
+ "style": {
1045
+ "alignSelf": "stretch",
1046
+ },
1047
+ "testID": undefined,
1048
+ },
1049
+ "type": "View",
1050
+ },
1051
+ ],
1052
+ "props": {
1053
+ "aria-role": "button",
1054
+ "onLayout": [Function],
1055
+ "onPress": [Function],
1056
+ "style": [Function],
1057
+ "testID": "web_dropdown_option_a",
1058
+ },
1059
+ "type": "Pressable",
1060
+ },
1061
+ {
1062
+ "$$typeof": Symbol(react.test.json),
1063
+ "children": [
1064
+ {
1065
+ "$$typeof": Symbol(react.test.json),
1066
+ "children": [
1067
+ {
1068
+ "$$typeof": Symbol(react.test.json),
1069
+ "children": [
1070
+ "Option B",
1071
+ ],
1072
+ "props": {
1073
+ "style": {
1074
+ "color": "#1C1C1C",
1075
+ "fontWeight": "400",
1076
+ },
1077
+ },
1078
+ "type": "Text",
1079
+ },
1080
+ ],
1081
+ "props": {
1082
+ "style": {
1083
+ "alignSelf": "stretch",
1084
+ },
1085
+ "testID": undefined,
1086
+ },
1087
+ "type": "View",
1088
+ },
1089
+ ],
1090
+ "props": {
1091
+ "aria-role": "button",
1092
+ "onLayout": [Function],
1093
+ "onPress": [Function],
1094
+ "style": [Function],
1095
+ "testID": "web_dropdown_option_b",
1096
+ },
1097
+ "type": "Pressable",
1098
+ },
1099
+ {
1100
+ "$$typeof": Symbol(react.test.json),
1101
+ "children": [
1102
+ {
1103
+ "$$typeof": Symbol(react.test.json),
1104
+ "children": [
1105
+ {
1106
+ "$$typeof": Symbol(react.test.json),
1107
+ "children": [
1108
+ "Option C",
1109
+ ],
1110
+ "props": {
1111
+ "style": {
1112
+ "color": "#1C1C1C",
1113
+ "fontWeight": "400",
1114
+ },
1115
+ },
1116
+ "type": "Text",
1117
+ },
1118
+ ],
1119
+ "props": {
1120
+ "style": {
1121
+ "alignSelf": "stretch",
1122
+ },
1123
+ "testID": undefined,
1124
+ },
1125
+ "type": "View",
1126
+ },
1127
+ ],
1128
+ "props": {
1129
+ "aria-role": "button",
1130
+ "onLayout": [Function],
1131
+ "onPress": [Function],
1132
+ "style": [Function],
1133
+ "testID": "web_dropdown_option_c",
1134
+ },
1135
+ "type": "Pressable",
1136
+ },
1137
+ {
1138
+ "$$typeof": Symbol(react.test.json),
1139
+ "children": [
1140
+ {
1141
+ "$$typeof": Symbol(react.test.json),
1142
+ "children": [
1143
+ {
1144
+ "$$typeof": Symbol(react.test.json),
1145
+ "children": [
1146
+ "Custom",
1147
+ ],
1148
+ "props": {
1149
+ "style": {
1150
+ "color": "#1C1C1C",
1151
+ "fontWeight": "400",
1152
+ },
1153
+ },
1154
+ "type": "Text",
1155
+ },
1156
+ ],
1157
+ "props": {
1158
+ "style": {
1159
+ "alignSelf": "stretch",
1160
+ },
1161
+ "testID": undefined,
1162
+ },
1163
+ "type": "View",
1164
+ },
1165
+ ],
1166
+ "props": {
1167
+ "aria-role": "button",
1168
+ "onLayout": [Function],
1169
+ "onPress": [Function],
1170
+ "style": [Function],
1171
+ "testID": "web_dropdown_option_custom",
1172
+ },
1173
+ "type": "Pressable",
1174
+ },
1175
+ ],
872
1176
  "props": {
873
- "color": undefined,
874
- "label": "Custom",
875
- "value": "custom",
1177
+ "keyboardShouldPersistTaps": "handled",
1178
+ "onLayout": [Function],
1179
+ "ref": {
1180
+ "current": null,
1181
+ },
876
1182
  },
877
- "type": "Picker.Item",
1183
+ "type": "ScrollView",
878
1184
  },
879
1185
  ],
880
1186
  "props": {
881
- "onValueChange": [Function],
882
- "selectedValue": "",
883
- "testID": "ios_picker",
1187
+ "style": {
1188
+ "backgroundColor": "#FFFFFF",
1189
+ "borderColor": "#9A9A9A",
1190
+ "borderRadius": 4,
1191
+ "borderWidth": 1,
1192
+ "left": 0,
1193
+ "maxHeight": 300,
1194
+ "minWidth": undefined,
1195
+ "overflow": "hidden",
1196
+ "position": "absolute",
1197
+ "shadowColor": "#000",
1198
+ "shadowOffset": {
1199
+ "height": 2,
1200
+ "width": 0,
1201
+ },
1202
+ "shadowOpacity": 0.15,
1203
+ "shadowRadius": 8,
1204
+ "top": 4,
1205
+ "width": 0,
1206
+ "zIndex": 1,
1207
+ },
1208
+ "testID": "web_dropdown_menu",
884
1209
  },
885
- "type": "Picker",
1210
+ "type": "View",
886
1211
  },
887
1212
  ],
888
1213
  "props": {
889
- "style": [
890
- {
891
- "backgroundColor": "#d0d4da",
892
- "justifyContent": "center",
893
- },
894
- {
895
- "height": 215,
896
- },
897
- ],
898
- "testID": undefined,
1214
+ "animationType": "fade",
1215
+ "onRequestClose": [Function],
1216
+ "testID": "web_dropdown_modal",
1217
+ "transparent": true,
1218
+ "visible": false,
899
1219
  },
900
- "type": "View",
1220
+ "type": "Modal",
901
1221
  },
902
1222
  ],
903
1223
  "props": {
904
- "animationType": undefined,
905
- "onOrientationChange": [Function],
906
- "supportedOrientations": [
907
- "portrait",
908
- "landscape",
1224
+ "ref": {
1225
+ "current": null,
1226
+ },
1227
+ "style": [
1228
+ {
1229
+ "alignItems": "center",
1230
+ "alignSelf": "stretch",
1231
+ "borderRadius": 4,
1232
+ "borderWidth": 1,
1233
+ "flexDirection": "row",
1234
+ "justifyContent": "flex-start",
1235
+ "minHeight": 40,
1236
+ "width": "100%",
1237
+ },
1238
+ {
1239
+ "backgroundColor": "#FFFFFF",
1240
+ "borderColor": "#9A9A9A",
1241
+ },
1242
+ false,
909
1243
  ],
910
- "testID": "ios_modal",
911
- "transparent": true,
912
- "visible": false,
1244
+ "testID": undefined,
913
1245
  },
914
- "type": "Modal",
1246
+ "type": "View",
915
1247
  },
916
1248
  ],
917
1249
  "props": {
918
- "style": [
919
- {
920
- "alignItems": "center",
921
- "alignSelf": "stretch",
922
- "borderRadius": 4,
923
- "borderWidth": 1,
924
- "flexDirection": "row",
925
- "justifyContent": "center",
926
- "minHeight": 40,
927
- "width": "100%",
928
- },
929
- {
930
- "backgroundColor": "#FFFFFF",
931
- "borderColor": "#9A9A9A",
932
- },
933
- false,
934
- ],
1250
+ "style": {
1251
+ "alignSelf": "stretch",
1252
+ "minWidth": 0,
1253
+ "width": "100%",
1254
+ },
935
1255
  "testID": undefined,
936
1256
  },
937
1257
  "type": "View",
@@ -939,6 +1259,7 @@ exports[`CustomSelectField renders with placeholder 1`] = `
939
1259
  ],
940
1260
  "props": {
941
1261
  "style": {
1262
+ "minWidth": 0,
942
1263
  "width": "100%",
943
1264
  },
944
1265
  "testID": undefined,
@@ -990,71 +1311,36 @@ exports[`CustomSelectField renders with selected value 1`] = `
990
1311
  "children": [
991
1312
  {
992
1313
  "$$typeof": Symbol(react.test.json),
993
- "children": null,
1314
+ "children": [
1315
+ "Option B",
1316
+ ],
994
1317
  "props": {
995
- "editable": false,
996
- "multiline": true,
1318
+ "numberOfLines": 1,
997
1319
  "style": {
998
1320
  "color": "#1C1C1C",
999
1321
  "flex": 1,
1322
+ "fontFamily": "text",
1323
+ "fontSize": 16,
1324
+ "paddingRight": 8,
1000
1325
  },
1001
1326
  "testID": "text_input",
1002
- "value": "Option B",
1003
- },
1004
- "type": "TextInput",
1005
- },
1006
- {
1007
- "$$typeof": Symbol(react.test.json),
1008
- "children": null,
1009
- "props": {
1010
- "style": {
1011
- "pointerEvents": "none",
1012
- },
1013
- "testID": "icon_container",
1014
1327
  },
1015
- "type": "View",
1328
+ "type": "Text",
1016
1329
  },
1017
1330
  ],
1018
1331
  "props": {
1332
+ "aria-role": "button",
1333
+ "disabled": false,
1334
+ "onPress": [Function],
1019
1335
  "style": {
1020
1336
  "alignItems": "center",
1021
1337
  "flexDirection": "row",
1022
- "pointerEvents": "box-only",
1338
+ "justifyContent": "space-between",
1339
+ "minHeight": 40,
1340
+ "paddingHorizontal": 8,
1023
1341
  "width": "100%",
1024
1342
  },
1025
- "testID": undefined,
1026
- },
1027
- "type": "View",
1028
- },
1029
- ],
1030
- "props": {
1031
- "disabled": false,
1032
- "onPress": [Function],
1033
- "style": {
1034
- "alignItems": "center",
1035
- "flexDirection": "row",
1036
- "justifyContent": "center",
1037
- "minHeight": 40,
1038
- "paddingHorizontal": 8,
1039
- "width": "100%",
1040
- },
1041
- "testID": "ios_touchable_wrapper",
1042
- },
1043
- "type": "Pressable",
1044
- },
1045
- {
1046
- "$$typeof": Symbol(react.test.json),
1047
- "children": [
1048
- {
1049
- "$$typeof": Symbol(react.test.json),
1050
- "children": null,
1051
- "props": {
1052
- "aria-role": "button",
1053
- "onPress": [Function],
1054
- "style": {
1055
- "flex": 1,
1056
- },
1057
- "testID": "ios_modal_top",
1343
+ "testID": "web_picker",
1058
1344
  },
1059
1345
  "type": "Pressable",
1060
1346
  },
@@ -1065,12 +1351,15 @@ exports[`CustomSelectField renders with selected value 1`] = `
1065
1351
  "$$typeof": Symbol(react.test.json),
1066
1352
  "children": null,
1067
1353
  "props": {
1354
+ "aria-role": "button",
1355
+ "onPress": [Function],
1068
1356
  "style": {
1069
- "flexDirection": "row",
1357
+ "flex": 1,
1358
+ "zIndex": 0,
1070
1359
  },
1071
- "testID": undefined,
1360
+ "testID": "web_dropdown_backdrop",
1072
1361
  },
1073
- "type": "View",
1362
+ "type": "Pressable",
1074
1363
  },
1075
1364
  {
1076
1365
  "$$typeof": Symbol(react.test.json),
@@ -1080,176 +1369,314 @@ exports[`CustomSelectField renders with selected value 1`] = `
1080
1369
  "children": [
1081
1370
  {
1082
1371
  "$$typeof": Symbol(react.test.json),
1083
- "children": [
1084
- "Done",
1085
- ],
1372
+ "children": null,
1086
1373
  "props": {
1087
- "allowFontScaling": false,
1088
- "style": [
1089
- {
1090
- "color": "#007aff",
1091
- "fontSize": 17,
1092
- "fontWeight": "600",
1093
- "paddingRight": 11,
1094
- "paddingTop": 1,
1095
- },
1096
- {},
1097
- ],
1098
- "testID": "done_text",
1374
+ "autoFocus": true,
1375
+ "onChangeText": [Function: dispatchSetState],
1376
+ "placeholder": "Search...",
1377
+ "placeholderTextColor": "#686868",
1378
+ "ref": {
1379
+ "current": null,
1380
+ },
1381
+ "style": {
1382
+ "borderColor": "#9A9A9A",
1383
+ "borderRadius": 4,
1384
+ "borderWidth": 1,
1385
+ "color": "#1C1C1C",
1386
+ "fontSize": 14,
1387
+ "paddingHorizontal": 8,
1388
+ "paddingVertical": 4,
1389
+ },
1390
+ "testID": "web_dropdown_search",
1391
+ "value": "",
1099
1392
  },
1100
- "type": "Text",
1393
+ "type": "TextInput",
1101
1394
  },
1102
1395
  ],
1103
1396
  "props": {
1104
- "style": undefined,
1105
- "testID": "needed_for_touchable",
1397
+ "style": {
1398
+ "borderBottomColor": "#CDCDCD",
1399
+ "borderBottomWidth": 1,
1400
+ "paddingHorizontal": 8,
1401
+ "paddingVertical": 6,
1402
+ },
1403
+ "testID": undefined,
1106
1404
  },
1107
1405
  "type": "View",
1108
1406
  },
1109
- ],
1110
- "props": {
1111
- "hitSlop": {
1112
- "bottom": 4,
1113
- "left": 4,
1114
- "right": 4,
1115
- "top": 4,
1116
- },
1117
- "onPress": [Function],
1118
- "onPressIn": [Function],
1119
- "onPressOut": [Function],
1120
- "testID": "done_button",
1121
- },
1122
- "type": "Pressable",
1123
- },
1124
- ],
1125
- "props": {
1126
- "style": {
1127
- "alignItems": "center",
1128
- "backgroundColor": "#f8f8f8",
1129
- "borderTopColor": "#dedede",
1130
- "borderTopWidth": 1,
1131
- "flexDirection": "row",
1132
- "height": 45,
1133
- "justifyContent": "space-between",
1134
- "paddingHorizontal": 10,
1135
- "zIndex": 2,
1136
- },
1137
- "testID": "input_accessory_view",
1138
- },
1139
- "type": "View",
1140
- },
1141
- {
1142
- "$$typeof": Symbol(react.test.json),
1143
- "children": [
1144
- {
1145
- "$$typeof": Symbol(react.test.json),
1146
- "children": [
1147
- {
1148
- "$$typeof": Symbol(react.test.json),
1149
- "children": null,
1150
- "props": {
1151
- "color": undefined,
1152
- "label": "Please select an option.",
1153
- "value": "",
1154
- },
1155
- "type": "Picker.Item",
1156
- },
1157
- {
1158
- "$$typeof": Symbol(react.test.json),
1159
- "children": null,
1160
- "props": {
1161
- "color": undefined,
1162
- "label": "Option A",
1163
- "value": "a",
1164
- },
1165
- "type": "Picker.Item",
1166
- },
1167
1407
  {
1168
1408
  "$$typeof": Symbol(react.test.json),
1169
- "children": null,
1170
- "props": {
1171
- "color": undefined,
1172
- "label": "Option B",
1173
- "value": "b",
1174
- },
1175
- "type": "Picker.Item",
1176
- },
1177
- {
1178
- "$$typeof": Symbol(react.test.json),
1179
- "children": null,
1180
- "props": {
1181
- "color": undefined,
1182
- "label": "Option C",
1183
- "value": "c",
1184
- },
1185
- "type": "Picker.Item",
1186
- },
1187
- {
1188
- "$$typeof": Symbol(react.test.json),
1189
- "children": null,
1409
+ "children": [
1410
+ {
1411
+ "$$typeof": Symbol(react.test.json),
1412
+ "children": [
1413
+ {
1414
+ "$$typeof": Symbol(react.test.json),
1415
+ "children": [
1416
+ {
1417
+ "$$typeof": Symbol(react.test.json),
1418
+ "children": [
1419
+ "Please select an option.",
1420
+ ],
1421
+ "props": {
1422
+ "style": {
1423
+ "color": "#1C1C1C",
1424
+ "fontWeight": "400",
1425
+ },
1426
+ },
1427
+ "type": "Text",
1428
+ },
1429
+ ],
1430
+ "props": {
1431
+ "style": {
1432
+ "alignSelf": "stretch",
1433
+ },
1434
+ "testID": undefined,
1435
+ },
1436
+ "type": "View",
1437
+ },
1438
+ ],
1439
+ "props": {
1440
+ "aria-role": "button",
1441
+ "onLayout": [Function],
1442
+ "onPress": [Function],
1443
+ "style": [Function],
1444
+ "testID": "web_dropdown_option_",
1445
+ },
1446
+ "type": "Pressable",
1447
+ },
1448
+ {
1449
+ "$$typeof": Symbol(react.test.json),
1450
+ "children": [
1451
+ {
1452
+ "$$typeof": Symbol(react.test.json),
1453
+ "children": [
1454
+ {
1455
+ "$$typeof": Symbol(react.test.json),
1456
+ "children": [
1457
+ "Option A",
1458
+ ],
1459
+ "props": {
1460
+ "style": {
1461
+ "color": "#1C1C1C",
1462
+ "fontWeight": "400",
1463
+ },
1464
+ },
1465
+ "type": "Text",
1466
+ },
1467
+ ],
1468
+ "props": {
1469
+ "style": {
1470
+ "alignSelf": "stretch",
1471
+ },
1472
+ "testID": undefined,
1473
+ },
1474
+ "type": "View",
1475
+ },
1476
+ ],
1477
+ "props": {
1478
+ "aria-role": "button",
1479
+ "onLayout": [Function],
1480
+ "onPress": [Function],
1481
+ "style": [Function],
1482
+ "testID": "web_dropdown_option_a",
1483
+ },
1484
+ "type": "Pressable",
1485
+ },
1486
+ {
1487
+ "$$typeof": Symbol(react.test.json),
1488
+ "children": [
1489
+ {
1490
+ "$$typeof": Symbol(react.test.json),
1491
+ "children": [
1492
+ {
1493
+ "$$typeof": Symbol(react.test.json),
1494
+ "children": [
1495
+ "Option B",
1496
+ ],
1497
+ "props": {
1498
+ "style": {
1499
+ "color": "#1C1C1C",
1500
+ "fontWeight": "600",
1501
+ },
1502
+ },
1503
+ "type": "Text",
1504
+ },
1505
+ ],
1506
+ "props": {
1507
+ "style": {
1508
+ "alignSelf": "stretch",
1509
+ },
1510
+ "testID": undefined,
1511
+ },
1512
+ "type": "View",
1513
+ },
1514
+ ],
1515
+ "props": {
1516
+ "aria-role": "button",
1517
+ "onLayout": [Function],
1518
+ "onPress": [Function],
1519
+ "style": [Function],
1520
+ "testID": "web_dropdown_option_b",
1521
+ },
1522
+ "type": "Pressable",
1523
+ },
1524
+ {
1525
+ "$$typeof": Symbol(react.test.json),
1526
+ "children": [
1527
+ {
1528
+ "$$typeof": Symbol(react.test.json),
1529
+ "children": [
1530
+ {
1531
+ "$$typeof": Symbol(react.test.json),
1532
+ "children": [
1533
+ "Option C",
1534
+ ],
1535
+ "props": {
1536
+ "style": {
1537
+ "color": "#1C1C1C",
1538
+ "fontWeight": "400",
1539
+ },
1540
+ },
1541
+ "type": "Text",
1542
+ },
1543
+ ],
1544
+ "props": {
1545
+ "style": {
1546
+ "alignSelf": "stretch",
1547
+ },
1548
+ "testID": undefined,
1549
+ },
1550
+ "type": "View",
1551
+ },
1552
+ ],
1553
+ "props": {
1554
+ "aria-role": "button",
1555
+ "onLayout": [Function],
1556
+ "onPress": [Function],
1557
+ "style": [Function],
1558
+ "testID": "web_dropdown_option_c",
1559
+ },
1560
+ "type": "Pressable",
1561
+ },
1562
+ {
1563
+ "$$typeof": Symbol(react.test.json),
1564
+ "children": [
1565
+ {
1566
+ "$$typeof": Symbol(react.test.json),
1567
+ "children": [
1568
+ {
1569
+ "$$typeof": Symbol(react.test.json),
1570
+ "children": [
1571
+ "Custom",
1572
+ ],
1573
+ "props": {
1574
+ "style": {
1575
+ "color": "#1C1C1C",
1576
+ "fontWeight": "400",
1577
+ },
1578
+ },
1579
+ "type": "Text",
1580
+ },
1581
+ ],
1582
+ "props": {
1583
+ "style": {
1584
+ "alignSelf": "stretch",
1585
+ },
1586
+ "testID": undefined,
1587
+ },
1588
+ "type": "View",
1589
+ },
1590
+ ],
1591
+ "props": {
1592
+ "aria-role": "button",
1593
+ "onLayout": [Function],
1594
+ "onPress": [Function],
1595
+ "style": [Function],
1596
+ "testID": "web_dropdown_option_custom",
1597
+ },
1598
+ "type": "Pressable",
1599
+ },
1600
+ ],
1190
1601
  "props": {
1191
- "color": undefined,
1192
- "label": "Custom",
1193
- "value": "custom",
1602
+ "keyboardShouldPersistTaps": "handled",
1603
+ "onLayout": [Function],
1604
+ "ref": {
1605
+ "current": null,
1606
+ },
1194
1607
  },
1195
- "type": "Picker.Item",
1608
+ "type": "ScrollView",
1196
1609
  },
1197
1610
  ],
1198
1611
  "props": {
1199
- "onValueChange": [Function],
1200
- "selectedValue": "b",
1201
- "testID": "ios_picker",
1612
+ "style": {
1613
+ "backgroundColor": "#FFFFFF",
1614
+ "borderColor": "#9A9A9A",
1615
+ "borderRadius": 4,
1616
+ "borderWidth": 1,
1617
+ "left": 0,
1618
+ "maxHeight": 300,
1619
+ "minWidth": undefined,
1620
+ "overflow": "hidden",
1621
+ "position": "absolute",
1622
+ "shadowColor": "#000",
1623
+ "shadowOffset": {
1624
+ "height": 2,
1625
+ "width": 0,
1626
+ },
1627
+ "shadowOpacity": 0.15,
1628
+ "shadowRadius": 8,
1629
+ "top": 4,
1630
+ "width": 0,
1631
+ "zIndex": 1,
1632
+ },
1633
+ "testID": "web_dropdown_menu",
1202
1634
  },
1203
- "type": "Picker",
1635
+ "type": "View",
1204
1636
  },
1205
1637
  ],
1206
1638
  "props": {
1207
- "style": [
1208
- {
1209
- "backgroundColor": "#d0d4da",
1210
- "justifyContent": "center",
1211
- },
1212
- {
1213
- "height": 215,
1214
- },
1215
- ],
1216
- "testID": undefined,
1639
+ "animationType": "fade",
1640
+ "onRequestClose": [Function],
1641
+ "testID": "web_dropdown_modal",
1642
+ "transparent": true,
1643
+ "visible": false,
1217
1644
  },
1218
- "type": "View",
1645
+ "type": "Modal",
1219
1646
  },
1220
1647
  ],
1221
1648
  "props": {
1222
- "animationType": undefined,
1223
- "onOrientationChange": [Function],
1224
- "supportedOrientations": [
1225
- "portrait",
1226
- "landscape",
1649
+ "ref": {
1650
+ "current": null,
1651
+ },
1652
+ "style": [
1653
+ {
1654
+ "alignItems": "center",
1655
+ "alignSelf": "stretch",
1656
+ "borderRadius": 4,
1657
+ "borderWidth": 1,
1658
+ "flexDirection": "row",
1659
+ "justifyContent": "flex-start",
1660
+ "minHeight": 40,
1661
+ "width": "100%",
1662
+ },
1663
+ {
1664
+ "backgroundColor": "#FFFFFF",
1665
+ "borderColor": "#9A9A9A",
1666
+ },
1667
+ false,
1227
1668
  ],
1228
- "testID": "ios_modal",
1229
- "transparent": true,
1230
- "visible": false,
1669
+ "testID": undefined,
1231
1670
  },
1232
- "type": "Modal",
1671
+ "type": "View",
1233
1672
  },
1234
1673
  ],
1235
1674
  "props": {
1236
- "style": [
1237
- {
1238
- "alignItems": "center",
1239
- "alignSelf": "stretch",
1240
- "borderRadius": 4,
1241
- "borderWidth": 1,
1242
- "flexDirection": "row",
1243
- "justifyContent": "center",
1244
- "minHeight": 40,
1245
- "width": "100%",
1246
- },
1247
- {
1248
- "backgroundColor": "#FFFFFF",
1249
- "borderColor": "#9A9A9A",
1250
- },
1251
- false,
1252
- ],
1675
+ "style": {
1676
+ "alignSelf": "stretch",
1677
+ "minWidth": 0,
1678
+ "width": "100%",
1679
+ },
1253
1680
  "testID": undefined,
1254
1681
  },
1255
1682
  "type": "View",
@@ -1257,6 +1684,7 @@ exports[`CustomSelectField renders with selected value 1`] = `
1257
1684
  ],
1258
1685
  "props": {
1259
1686
  "style": {
1687
+ "minWidth": 0,
1260
1688
  "width": "100%",
1261
1689
  },
1262
1690
  "testID": undefined,
@@ -1308,71 +1736,36 @@ exports[`CustomSelectField renders with custom value (not in options) 1`] = `
1308
1736
  "children": [
1309
1737
  {
1310
1738
  "$$typeof": Symbol(react.test.json),
1311
- "children": null,
1739
+ "children": [
1740
+ "Custom",
1741
+ ],
1312
1742
  "props": {
1313
- "editable": false,
1314
- "multiline": true,
1743
+ "numberOfLines": 1,
1315
1744
  "style": {
1316
1745
  "color": "#1C1C1C",
1317
1746
  "flex": 1,
1747
+ "fontFamily": "text",
1748
+ "fontSize": 16,
1749
+ "paddingRight": 8,
1318
1750
  },
1319
1751
  "testID": "text_input",
1320
- "value": "Custom",
1321
- },
1322
- "type": "TextInput",
1323
- },
1324
- {
1325
- "$$typeof": Symbol(react.test.json),
1326
- "children": null,
1327
- "props": {
1328
- "style": {
1329
- "pointerEvents": "none",
1330
- },
1331
- "testID": "icon_container",
1332
1752
  },
1333
- "type": "View",
1753
+ "type": "Text",
1334
1754
  },
1335
1755
  ],
1336
1756
  "props": {
1757
+ "aria-role": "button",
1758
+ "disabled": false,
1759
+ "onPress": [Function],
1337
1760
  "style": {
1338
1761
  "alignItems": "center",
1339
1762
  "flexDirection": "row",
1340
- "pointerEvents": "box-only",
1763
+ "justifyContent": "space-between",
1764
+ "minHeight": 40,
1765
+ "paddingHorizontal": 8,
1341
1766
  "width": "100%",
1342
1767
  },
1343
- "testID": undefined,
1344
- },
1345
- "type": "View",
1346
- },
1347
- ],
1348
- "props": {
1349
- "disabled": false,
1350
- "onPress": [Function],
1351
- "style": {
1352
- "alignItems": "center",
1353
- "flexDirection": "row",
1354
- "justifyContent": "center",
1355
- "minHeight": 40,
1356
- "paddingHorizontal": 8,
1357
- "width": "100%",
1358
- },
1359
- "testID": "ios_touchable_wrapper",
1360
- },
1361
- "type": "Pressable",
1362
- },
1363
- {
1364
- "$$typeof": Symbol(react.test.json),
1365
- "children": [
1366
- {
1367
- "$$typeof": Symbol(react.test.json),
1368
- "children": null,
1369
- "props": {
1370
- "aria-role": "button",
1371
- "onPress": [Function],
1372
- "style": {
1373
- "flex": 1,
1374
- },
1375
- "testID": "ios_modal_top",
1768
+ "testID": "web_picker",
1376
1769
  },
1377
1770
  "type": "Pressable",
1378
1771
  },
@@ -1383,12 +1776,15 @@ exports[`CustomSelectField renders with custom value (not in options) 1`] = `
1383
1776
  "$$typeof": Symbol(react.test.json),
1384
1777
  "children": null,
1385
1778
  "props": {
1779
+ "aria-role": "button",
1780
+ "onPress": [Function],
1386
1781
  "style": {
1387
- "flexDirection": "row",
1782
+ "flex": 1,
1783
+ "zIndex": 0,
1388
1784
  },
1389
- "testID": undefined,
1785
+ "testID": "web_dropdown_backdrop",
1390
1786
  },
1391
- "type": "View",
1787
+ "type": "Pressable",
1392
1788
  },
1393
1789
  {
1394
1790
  "$$typeof": Symbol(react.test.json),
@@ -1398,176 +1794,314 @@ exports[`CustomSelectField renders with custom value (not in options) 1`] = `
1398
1794
  "children": [
1399
1795
  {
1400
1796
  "$$typeof": Symbol(react.test.json),
1401
- "children": [
1402
- "Done",
1403
- ],
1797
+ "children": null,
1404
1798
  "props": {
1405
- "allowFontScaling": false,
1406
- "style": [
1407
- {
1408
- "color": "#007aff",
1409
- "fontSize": 17,
1410
- "fontWeight": "600",
1411
- "paddingRight": 11,
1412
- "paddingTop": 1,
1413
- },
1414
- {},
1415
- ],
1416
- "testID": "done_text",
1799
+ "autoFocus": true,
1800
+ "onChangeText": [Function: dispatchSetState],
1801
+ "placeholder": "Search...",
1802
+ "placeholderTextColor": "#686868",
1803
+ "ref": {
1804
+ "current": null,
1805
+ },
1806
+ "style": {
1807
+ "borderColor": "#9A9A9A",
1808
+ "borderRadius": 4,
1809
+ "borderWidth": 1,
1810
+ "color": "#1C1C1C",
1811
+ "fontSize": 14,
1812
+ "paddingHorizontal": 8,
1813
+ "paddingVertical": 4,
1814
+ },
1815
+ "testID": "web_dropdown_search",
1816
+ "value": "",
1417
1817
  },
1418
- "type": "Text",
1818
+ "type": "TextInput",
1419
1819
  },
1420
1820
  ],
1421
1821
  "props": {
1422
- "style": undefined,
1423
- "testID": "needed_for_touchable",
1822
+ "style": {
1823
+ "borderBottomColor": "#CDCDCD",
1824
+ "borderBottomWidth": 1,
1825
+ "paddingHorizontal": 8,
1826
+ "paddingVertical": 6,
1827
+ },
1828
+ "testID": undefined,
1424
1829
  },
1425
1830
  "type": "View",
1426
1831
  },
1427
- ],
1428
- "props": {
1429
- "hitSlop": {
1430
- "bottom": 4,
1431
- "left": 4,
1432
- "right": 4,
1433
- "top": 4,
1434
- },
1435
- "onPress": [Function],
1436
- "onPressIn": [Function],
1437
- "onPressOut": [Function],
1438
- "testID": "done_button",
1439
- },
1440
- "type": "Pressable",
1441
- },
1442
- ],
1443
- "props": {
1444
- "style": {
1445
- "alignItems": "center",
1446
- "backgroundColor": "#f8f8f8",
1447
- "borderTopColor": "#dedede",
1448
- "borderTopWidth": 1,
1449
- "flexDirection": "row",
1450
- "height": 45,
1451
- "justifyContent": "space-between",
1452
- "paddingHorizontal": 10,
1453
- "zIndex": 2,
1454
- },
1455
- "testID": "input_accessory_view",
1456
- },
1457
- "type": "View",
1458
- },
1459
- {
1460
- "$$typeof": Symbol(react.test.json),
1461
- "children": [
1462
- {
1463
- "$$typeof": Symbol(react.test.json),
1464
- "children": [
1465
- {
1466
- "$$typeof": Symbol(react.test.json),
1467
- "children": null,
1468
- "props": {
1469
- "color": undefined,
1470
- "label": "Please select an option.",
1471
- "value": "",
1472
- },
1473
- "type": "Picker.Item",
1474
- },
1475
1832
  {
1476
1833
  "$$typeof": Symbol(react.test.json),
1477
- "children": null,
1478
- "props": {
1479
- "color": undefined,
1480
- "label": "Option A",
1481
- "value": "a",
1482
- },
1483
- "type": "Picker.Item",
1484
- },
1485
- {
1486
- "$$typeof": Symbol(react.test.json),
1487
- "children": null,
1488
- "props": {
1489
- "color": undefined,
1490
- "label": "Option B",
1491
- "value": "b",
1492
- },
1493
- "type": "Picker.Item",
1494
- },
1495
- {
1496
- "$$typeof": Symbol(react.test.json),
1497
- "children": null,
1498
- "props": {
1499
- "color": undefined,
1500
- "label": "Option C",
1501
- "value": "c",
1502
- },
1503
- "type": "Picker.Item",
1504
- },
1505
- {
1506
- "$$typeof": Symbol(react.test.json),
1507
- "children": null,
1834
+ "children": [
1835
+ {
1836
+ "$$typeof": Symbol(react.test.json),
1837
+ "children": [
1838
+ {
1839
+ "$$typeof": Symbol(react.test.json),
1840
+ "children": [
1841
+ {
1842
+ "$$typeof": Symbol(react.test.json),
1843
+ "children": [
1844
+ "Please select an option.",
1845
+ ],
1846
+ "props": {
1847
+ "style": {
1848
+ "color": "#1C1C1C",
1849
+ "fontWeight": "400",
1850
+ },
1851
+ },
1852
+ "type": "Text",
1853
+ },
1854
+ ],
1855
+ "props": {
1856
+ "style": {
1857
+ "alignSelf": "stretch",
1858
+ },
1859
+ "testID": undefined,
1860
+ },
1861
+ "type": "View",
1862
+ },
1863
+ ],
1864
+ "props": {
1865
+ "aria-role": "button",
1866
+ "onLayout": [Function],
1867
+ "onPress": [Function],
1868
+ "style": [Function],
1869
+ "testID": "web_dropdown_option_",
1870
+ },
1871
+ "type": "Pressable",
1872
+ },
1873
+ {
1874
+ "$$typeof": Symbol(react.test.json),
1875
+ "children": [
1876
+ {
1877
+ "$$typeof": Symbol(react.test.json),
1878
+ "children": [
1879
+ {
1880
+ "$$typeof": Symbol(react.test.json),
1881
+ "children": [
1882
+ "Option A",
1883
+ ],
1884
+ "props": {
1885
+ "style": {
1886
+ "color": "#1C1C1C",
1887
+ "fontWeight": "400",
1888
+ },
1889
+ },
1890
+ "type": "Text",
1891
+ },
1892
+ ],
1893
+ "props": {
1894
+ "style": {
1895
+ "alignSelf": "stretch",
1896
+ },
1897
+ "testID": undefined,
1898
+ },
1899
+ "type": "View",
1900
+ },
1901
+ ],
1902
+ "props": {
1903
+ "aria-role": "button",
1904
+ "onLayout": [Function],
1905
+ "onPress": [Function],
1906
+ "style": [Function],
1907
+ "testID": "web_dropdown_option_a",
1908
+ },
1909
+ "type": "Pressable",
1910
+ },
1911
+ {
1912
+ "$$typeof": Symbol(react.test.json),
1913
+ "children": [
1914
+ {
1915
+ "$$typeof": Symbol(react.test.json),
1916
+ "children": [
1917
+ {
1918
+ "$$typeof": Symbol(react.test.json),
1919
+ "children": [
1920
+ "Option B",
1921
+ ],
1922
+ "props": {
1923
+ "style": {
1924
+ "color": "#1C1C1C",
1925
+ "fontWeight": "400",
1926
+ },
1927
+ },
1928
+ "type": "Text",
1929
+ },
1930
+ ],
1931
+ "props": {
1932
+ "style": {
1933
+ "alignSelf": "stretch",
1934
+ },
1935
+ "testID": undefined,
1936
+ },
1937
+ "type": "View",
1938
+ },
1939
+ ],
1940
+ "props": {
1941
+ "aria-role": "button",
1942
+ "onLayout": [Function],
1943
+ "onPress": [Function],
1944
+ "style": [Function],
1945
+ "testID": "web_dropdown_option_b",
1946
+ },
1947
+ "type": "Pressable",
1948
+ },
1949
+ {
1950
+ "$$typeof": Symbol(react.test.json),
1951
+ "children": [
1952
+ {
1953
+ "$$typeof": Symbol(react.test.json),
1954
+ "children": [
1955
+ {
1956
+ "$$typeof": Symbol(react.test.json),
1957
+ "children": [
1958
+ "Option C",
1959
+ ],
1960
+ "props": {
1961
+ "style": {
1962
+ "color": "#1C1C1C",
1963
+ "fontWeight": "400",
1964
+ },
1965
+ },
1966
+ "type": "Text",
1967
+ },
1968
+ ],
1969
+ "props": {
1970
+ "style": {
1971
+ "alignSelf": "stretch",
1972
+ },
1973
+ "testID": undefined,
1974
+ },
1975
+ "type": "View",
1976
+ },
1977
+ ],
1978
+ "props": {
1979
+ "aria-role": "button",
1980
+ "onLayout": [Function],
1981
+ "onPress": [Function],
1982
+ "style": [Function],
1983
+ "testID": "web_dropdown_option_c",
1984
+ },
1985
+ "type": "Pressable",
1986
+ },
1987
+ {
1988
+ "$$typeof": Symbol(react.test.json),
1989
+ "children": [
1990
+ {
1991
+ "$$typeof": Symbol(react.test.json),
1992
+ "children": [
1993
+ {
1994
+ "$$typeof": Symbol(react.test.json),
1995
+ "children": [
1996
+ "Custom",
1997
+ ],
1998
+ "props": {
1999
+ "style": {
2000
+ "color": "#1C1C1C",
2001
+ "fontWeight": "600",
2002
+ },
2003
+ },
2004
+ "type": "Text",
2005
+ },
2006
+ ],
2007
+ "props": {
2008
+ "style": {
2009
+ "alignSelf": "stretch",
2010
+ },
2011
+ "testID": undefined,
2012
+ },
2013
+ "type": "View",
2014
+ },
2015
+ ],
2016
+ "props": {
2017
+ "aria-role": "button",
2018
+ "onLayout": [Function],
2019
+ "onPress": [Function],
2020
+ "style": [Function],
2021
+ "testID": "web_dropdown_option_custom",
2022
+ },
2023
+ "type": "Pressable",
2024
+ },
2025
+ ],
1508
2026
  "props": {
1509
- "color": undefined,
1510
- "label": "Custom",
1511
- "value": "custom",
2027
+ "keyboardShouldPersistTaps": "handled",
2028
+ "onLayout": [Function],
2029
+ "ref": {
2030
+ "current": null,
2031
+ },
1512
2032
  },
1513
- "type": "Picker.Item",
2033
+ "type": "ScrollView",
1514
2034
  },
1515
2035
  ],
1516
2036
  "props": {
1517
- "onValueChange": [Function],
1518
- "selectedValue": "custom",
1519
- "testID": "ios_picker",
2037
+ "style": {
2038
+ "backgroundColor": "#FFFFFF",
2039
+ "borderColor": "#9A9A9A",
2040
+ "borderRadius": 4,
2041
+ "borderWidth": 1,
2042
+ "left": 0,
2043
+ "maxHeight": 300,
2044
+ "minWidth": undefined,
2045
+ "overflow": "hidden",
2046
+ "position": "absolute",
2047
+ "shadowColor": "#000",
2048
+ "shadowOffset": {
2049
+ "height": 2,
2050
+ "width": 0,
2051
+ },
2052
+ "shadowOpacity": 0.15,
2053
+ "shadowRadius": 8,
2054
+ "top": 4,
2055
+ "width": 0,
2056
+ "zIndex": 1,
2057
+ },
2058
+ "testID": "web_dropdown_menu",
1520
2059
  },
1521
- "type": "Picker",
2060
+ "type": "View",
1522
2061
  },
1523
2062
  ],
1524
2063
  "props": {
1525
- "style": [
1526
- {
1527
- "backgroundColor": "#d0d4da",
1528
- "justifyContent": "center",
1529
- },
1530
- {
1531
- "height": 215,
1532
- },
1533
- ],
1534
- "testID": undefined,
2064
+ "animationType": "fade",
2065
+ "onRequestClose": [Function],
2066
+ "testID": "web_dropdown_modal",
2067
+ "transparent": true,
2068
+ "visible": false,
1535
2069
  },
1536
- "type": "View",
2070
+ "type": "Modal",
1537
2071
  },
1538
2072
  ],
1539
2073
  "props": {
1540
- "animationType": undefined,
1541
- "onOrientationChange": [Function],
1542
- "supportedOrientations": [
1543
- "portrait",
1544
- "landscape",
2074
+ "ref": {
2075
+ "current": null,
2076
+ },
2077
+ "style": [
2078
+ {
2079
+ "alignItems": "center",
2080
+ "alignSelf": "stretch",
2081
+ "borderRadius": 4,
2082
+ "borderWidth": 1,
2083
+ "flexDirection": "row",
2084
+ "justifyContent": "flex-start",
2085
+ "minHeight": 40,
2086
+ "width": "100%",
2087
+ },
2088
+ {
2089
+ "backgroundColor": "#FFFFFF",
2090
+ "borderColor": "#9A9A9A",
2091
+ },
2092
+ false,
1545
2093
  ],
1546
- "testID": "ios_modal",
1547
- "transparent": true,
1548
- "visible": false,
2094
+ "testID": undefined,
1549
2095
  },
1550
- "type": "Modal",
2096
+ "type": "View",
1551
2097
  },
1552
2098
  ],
1553
2099
  "props": {
1554
- "style": [
1555
- {
1556
- "alignItems": "center",
1557
- "alignSelf": "stretch",
1558
- "borderRadius": 4,
1559
- "borderWidth": 1,
1560
- "flexDirection": "row",
1561
- "justifyContent": "center",
1562
- "minHeight": 40,
1563
- "width": "100%",
1564
- },
1565
- {
1566
- "backgroundColor": "#FFFFFF",
1567
- "borderColor": "#9A9A9A",
1568
- },
1569
- false,
1570
- ],
2100
+ "style": {
2101
+ "alignSelf": "stretch",
2102
+ "minWidth": 0,
2103
+ "width": "100%",
2104
+ },
1571
2105
  "testID": undefined,
1572
2106
  },
1573
2107
  "type": "View",
@@ -1575,6 +2109,7 @@ exports[`CustomSelectField renders with custom value (not in options) 1`] = `
1575
2109
  ],
1576
2110
  "props": {
1577
2111
  "style": {
2112
+ "minWidth": 0,
1578
2113
  "width": "100%",
1579
2114
  },
1580
2115
  "testID": undefined,
@@ -1730,73 +2265,38 @@ exports[`CustomSelectField renders disabled state 1`] = `
1730
2265
  "children": [
1731
2266
  {
1732
2267
  "$$typeof": Symbol(react.test.json),
1733
- "children": null,
2268
+ "children": [
2269
+ "Option A",
2270
+ ],
1734
2271
  "props": {
1735
- "editable": false,
1736
- "multiline": true,
2272
+ "numberOfLines": undefined,
1737
2273
  "style": {
1738
2274
  "color": "#686868",
1739
2275
  "flex": 1,
2276
+ "fontFamily": "text",
2277
+ "fontSize": 16,
2278
+ "paddingRight": 8,
1740
2279
  },
1741
2280
  "testID": "text_input",
1742
- "value": "Option A",
1743
- },
1744
- "type": "TextInput",
1745
- },
1746
- {
1747
- "$$typeof": Symbol(react.test.json),
1748
- "children": null,
1749
- "props": {
1750
- "style": {
1751
- "pointerEvents": "none",
1752
- },
1753
- "testID": "icon_container",
1754
2281
  },
1755
- "type": "View",
2282
+ "type": "Text",
1756
2283
  },
1757
2284
  ],
1758
2285
  "props": {
2286
+ "aria-role": "button",
2287
+ "disabled": true,
2288
+ "onPress": [Function],
1759
2289
  "style": {
1760
2290
  "alignItems": "center",
1761
2291
  "flexDirection": "row",
1762
- "pointerEvents": "box-only",
2292
+ "justifyContent": "space-between",
2293
+ "minHeight": 40,
2294
+ "paddingHorizontal": 8,
1763
2295
  "width": "100%",
1764
2296
  },
1765
- "testID": undefined,
2297
+ "testID": "web_picker",
1766
2298
  },
1767
- "type": "View",
1768
- },
1769
- ],
1770
- "props": {
1771
- "disabled": true,
1772
- "onPress": [Function],
1773
- "style": {
1774
- "alignItems": "center",
1775
- "flexDirection": "row",
1776
- "justifyContent": "center",
1777
- "minHeight": 40,
1778
- "paddingHorizontal": 8,
1779
- "width": "100%",
1780
- },
1781
- "testID": "ios_touchable_wrapper",
1782
- },
1783
- "type": "Pressable",
1784
- },
1785
- {
1786
- "$$typeof": Symbol(react.test.json),
1787
- "children": [
1788
- {
1789
- "$$typeof": Symbol(react.test.json),
1790
- "children": null,
1791
- "props": {
1792
- "aria-role": "button",
1793
- "onPress": [Function],
1794
- "style": {
1795
- "flex": 1,
1796
- },
1797
- "testID": "ios_modal_top",
1798
- },
1799
- "type": "Pressable",
2299
+ "type": "Pressable",
1800
2300
  },
1801
2301
  {
1802
2302
  "$$typeof": Symbol(react.test.json),
@@ -1805,12 +2305,15 @@ exports[`CustomSelectField renders disabled state 1`] = `
1805
2305
  "$$typeof": Symbol(react.test.json),
1806
2306
  "children": null,
1807
2307
  "props": {
2308
+ "aria-role": "button",
2309
+ "onPress": [Function],
1808
2310
  "style": {
1809
- "flexDirection": "row",
2311
+ "flex": 1,
2312
+ "zIndex": 0,
1810
2313
  },
1811
- "testID": undefined,
2314
+ "testID": "web_dropdown_backdrop",
1812
2315
  },
1813
- "type": "View",
2316
+ "type": "Pressable",
1814
2317
  },
1815
2318
  {
1816
2319
  "$$typeof": Symbol(react.test.json),
@@ -1820,178 +2323,316 @@ exports[`CustomSelectField renders disabled state 1`] = `
1820
2323
  "children": [
1821
2324
  {
1822
2325
  "$$typeof": Symbol(react.test.json),
1823
- "children": [
1824
- "Done",
1825
- ],
2326
+ "children": null,
1826
2327
  "props": {
1827
- "allowFontScaling": false,
1828
- "style": [
1829
- {
1830
- "color": "#007aff",
1831
- "fontSize": 17,
1832
- "fontWeight": "600",
1833
- "paddingRight": 11,
1834
- "paddingTop": 1,
1835
- },
1836
- {},
1837
- ],
1838
- "testID": "done_text",
2328
+ "autoFocus": true,
2329
+ "onChangeText": [Function: dispatchSetState],
2330
+ "placeholder": "Search...",
2331
+ "placeholderTextColor": "#686868",
2332
+ "ref": {
2333
+ "current": null,
2334
+ },
2335
+ "style": {
2336
+ "borderColor": "#9A9A9A",
2337
+ "borderRadius": 4,
2338
+ "borderWidth": 1,
2339
+ "color": "#1C1C1C",
2340
+ "fontSize": 14,
2341
+ "paddingHorizontal": 8,
2342
+ "paddingVertical": 4,
2343
+ },
2344
+ "testID": "web_dropdown_search",
2345
+ "value": "",
1839
2346
  },
1840
- "type": "Text",
2347
+ "type": "TextInput",
1841
2348
  },
1842
2349
  ],
1843
2350
  "props": {
1844
- "style": undefined,
1845
- "testID": "needed_for_touchable",
2351
+ "style": {
2352
+ "borderBottomColor": "#CDCDCD",
2353
+ "borderBottomWidth": 1,
2354
+ "paddingHorizontal": 8,
2355
+ "paddingVertical": 6,
2356
+ },
2357
+ "testID": undefined,
1846
2358
  },
1847
2359
  "type": "View",
1848
2360
  },
1849
- ],
1850
- "props": {
1851
- "hitSlop": {
1852
- "bottom": 4,
1853
- "left": 4,
1854
- "right": 4,
1855
- "top": 4,
1856
- },
1857
- "onPress": [Function],
1858
- "onPressIn": [Function],
1859
- "onPressOut": [Function],
1860
- "testID": "done_button",
1861
- },
1862
- "type": "Pressable",
1863
- },
1864
- ],
1865
- "props": {
1866
- "style": {
1867
- "alignItems": "center",
1868
- "backgroundColor": "#f8f8f8",
1869
- "borderTopColor": "#dedede",
1870
- "borderTopWidth": 1,
1871
- "flexDirection": "row",
1872
- "height": 45,
1873
- "justifyContent": "space-between",
1874
- "paddingHorizontal": 10,
1875
- "zIndex": 2,
1876
- },
1877
- "testID": "input_accessory_view",
1878
- },
1879
- "type": "View",
1880
- },
1881
- {
1882
- "$$typeof": Symbol(react.test.json),
1883
- "children": [
1884
- {
1885
- "$$typeof": Symbol(react.test.json),
1886
- "children": [
1887
2361
  {
1888
2362
  "$$typeof": Symbol(react.test.json),
1889
- "children": null,
1890
- "props": {
1891
- "color": undefined,
1892
- "label": "Please select an option.",
1893
- "value": "",
1894
- },
1895
- "type": "Picker.Item",
1896
- },
1897
- {
1898
- "$$typeof": Symbol(react.test.json),
1899
- "children": null,
1900
- "props": {
1901
- "color": undefined,
1902
- "label": "Option A",
1903
- "value": "a",
1904
- },
1905
- "type": "Picker.Item",
1906
- },
1907
- {
1908
- "$$typeof": Symbol(react.test.json),
1909
- "children": null,
1910
- "props": {
1911
- "color": undefined,
1912
- "label": "Option B",
1913
- "value": "b",
1914
- },
1915
- "type": "Picker.Item",
1916
- },
1917
- {
1918
- "$$typeof": Symbol(react.test.json),
1919
- "children": null,
1920
- "props": {
1921
- "color": undefined,
1922
- "label": "Option C",
1923
- "value": "c",
1924
- },
1925
- "type": "Picker.Item",
1926
- },
1927
- {
1928
- "$$typeof": Symbol(react.test.json),
1929
- "children": null,
2363
+ "children": [
2364
+ {
2365
+ "$$typeof": Symbol(react.test.json),
2366
+ "children": [
2367
+ {
2368
+ "$$typeof": Symbol(react.test.json),
2369
+ "children": [
2370
+ {
2371
+ "$$typeof": Symbol(react.test.json),
2372
+ "children": [
2373
+ "Please select an option.",
2374
+ ],
2375
+ "props": {
2376
+ "style": {
2377
+ "color": "#1C1C1C",
2378
+ "fontWeight": "400",
2379
+ },
2380
+ },
2381
+ "type": "Text",
2382
+ },
2383
+ ],
2384
+ "props": {
2385
+ "style": {
2386
+ "alignSelf": "stretch",
2387
+ },
2388
+ "testID": undefined,
2389
+ },
2390
+ "type": "View",
2391
+ },
2392
+ ],
2393
+ "props": {
2394
+ "aria-role": "button",
2395
+ "onLayout": [Function],
2396
+ "onPress": [Function],
2397
+ "style": [Function],
2398
+ "testID": "web_dropdown_option_",
2399
+ },
2400
+ "type": "Pressable",
2401
+ },
2402
+ {
2403
+ "$$typeof": Symbol(react.test.json),
2404
+ "children": [
2405
+ {
2406
+ "$$typeof": Symbol(react.test.json),
2407
+ "children": [
2408
+ {
2409
+ "$$typeof": Symbol(react.test.json),
2410
+ "children": [
2411
+ "Option A",
2412
+ ],
2413
+ "props": {
2414
+ "style": {
2415
+ "color": "#1C1C1C",
2416
+ "fontWeight": "600",
2417
+ },
2418
+ },
2419
+ "type": "Text",
2420
+ },
2421
+ ],
2422
+ "props": {
2423
+ "style": {
2424
+ "alignSelf": "stretch",
2425
+ },
2426
+ "testID": undefined,
2427
+ },
2428
+ "type": "View",
2429
+ },
2430
+ ],
2431
+ "props": {
2432
+ "aria-role": "button",
2433
+ "onLayout": [Function],
2434
+ "onPress": [Function],
2435
+ "style": [Function],
2436
+ "testID": "web_dropdown_option_a",
2437
+ },
2438
+ "type": "Pressable",
2439
+ },
2440
+ {
2441
+ "$$typeof": Symbol(react.test.json),
2442
+ "children": [
2443
+ {
2444
+ "$$typeof": Symbol(react.test.json),
2445
+ "children": [
2446
+ {
2447
+ "$$typeof": Symbol(react.test.json),
2448
+ "children": [
2449
+ "Option B",
2450
+ ],
2451
+ "props": {
2452
+ "style": {
2453
+ "color": "#1C1C1C",
2454
+ "fontWeight": "400",
2455
+ },
2456
+ },
2457
+ "type": "Text",
2458
+ },
2459
+ ],
2460
+ "props": {
2461
+ "style": {
2462
+ "alignSelf": "stretch",
2463
+ },
2464
+ "testID": undefined,
2465
+ },
2466
+ "type": "View",
2467
+ },
2468
+ ],
2469
+ "props": {
2470
+ "aria-role": "button",
2471
+ "onLayout": [Function],
2472
+ "onPress": [Function],
2473
+ "style": [Function],
2474
+ "testID": "web_dropdown_option_b",
2475
+ },
2476
+ "type": "Pressable",
2477
+ },
2478
+ {
2479
+ "$$typeof": Symbol(react.test.json),
2480
+ "children": [
2481
+ {
2482
+ "$$typeof": Symbol(react.test.json),
2483
+ "children": [
2484
+ {
2485
+ "$$typeof": Symbol(react.test.json),
2486
+ "children": [
2487
+ "Option C",
2488
+ ],
2489
+ "props": {
2490
+ "style": {
2491
+ "color": "#1C1C1C",
2492
+ "fontWeight": "400",
2493
+ },
2494
+ },
2495
+ "type": "Text",
2496
+ },
2497
+ ],
2498
+ "props": {
2499
+ "style": {
2500
+ "alignSelf": "stretch",
2501
+ },
2502
+ "testID": undefined,
2503
+ },
2504
+ "type": "View",
2505
+ },
2506
+ ],
2507
+ "props": {
2508
+ "aria-role": "button",
2509
+ "onLayout": [Function],
2510
+ "onPress": [Function],
2511
+ "style": [Function],
2512
+ "testID": "web_dropdown_option_c",
2513
+ },
2514
+ "type": "Pressable",
2515
+ },
2516
+ {
2517
+ "$$typeof": Symbol(react.test.json),
2518
+ "children": [
2519
+ {
2520
+ "$$typeof": Symbol(react.test.json),
2521
+ "children": [
2522
+ {
2523
+ "$$typeof": Symbol(react.test.json),
2524
+ "children": [
2525
+ "Custom",
2526
+ ],
2527
+ "props": {
2528
+ "style": {
2529
+ "color": "#1C1C1C",
2530
+ "fontWeight": "400",
2531
+ },
2532
+ },
2533
+ "type": "Text",
2534
+ },
2535
+ ],
2536
+ "props": {
2537
+ "style": {
2538
+ "alignSelf": "stretch",
2539
+ },
2540
+ "testID": undefined,
2541
+ },
2542
+ "type": "View",
2543
+ },
2544
+ ],
2545
+ "props": {
2546
+ "aria-role": "button",
2547
+ "onLayout": [Function],
2548
+ "onPress": [Function],
2549
+ "style": [Function],
2550
+ "testID": "web_dropdown_option_custom",
2551
+ },
2552
+ "type": "Pressable",
2553
+ },
2554
+ ],
1930
2555
  "props": {
1931
- "color": undefined,
1932
- "label": "Custom",
1933
- "value": "custom",
2556
+ "keyboardShouldPersistTaps": "handled",
2557
+ "onLayout": [Function],
2558
+ "ref": {
2559
+ "current": null,
2560
+ },
1934
2561
  },
1935
- "type": "Picker.Item",
2562
+ "type": "ScrollView",
1936
2563
  },
1937
2564
  ],
1938
2565
  "props": {
1939
- "onValueChange": [Function],
1940
- "selectedValue": "a",
1941
- "testID": "ios_picker",
2566
+ "style": {
2567
+ "backgroundColor": "#FFFFFF",
2568
+ "borderColor": "#9A9A9A",
2569
+ "borderRadius": 4,
2570
+ "borderWidth": 1,
2571
+ "left": 0,
2572
+ "maxHeight": 300,
2573
+ "minWidth": undefined,
2574
+ "overflow": "hidden",
2575
+ "position": "absolute",
2576
+ "shadowColor": "#000",
2577
+ "shadowOffset": {
2578
+ "height": 2,
2579
+ "width": 0,
2580
+ },
2581
+ "shadowOpacity": 0.15,
2582
+ "shadowRadius": 8,
2583
+ "top": 4,
2584
+ "width": 0,
2585
+ "zIndex": 1,
2586
+ },
2587
+ "testID": "web_dropdown_menu",
1942
2588
  },
1943
- "type": "Picker",
2589
+ "type": "View",
1944
2590
  },
1945
2591
  ],
1946
2592
  "props": {
1947
- "style": [
1948
- {
1949
- "backgroundColor": "#d0d4da",
1950
- "justifyContent": "center",
1951
- },
1952
- {
1953
- "height": 215,
1954
- },
1955
- ],
1956
- "testID": undefined,
2593
+ "animationType": "fade",
2594
+ "onRequestClose": [Function],
2595
+ "testID": "web_dropdown_modal",
2596
+ "transparent": true,
2597
+ "visible": false,
1957
2598
  },
1958
- "type": "View",
2599
+ "type": "Modal",
1959
2600
  },
1960
2601
  ],
1961
2602
  "props": {
1962
- "animationType": undefined,
1963
- "onOrientationChange": [Function],
1964
- "supportedOrientations": [
1965
- "portrait",
1966
- "landscape",
2603
+ "ref": {
2604
+ "current": null,
2605
+ },
2606
+ "style": [
2607
+ {
2608
+ "alignItems": "center",
2609
+ "alignSelf": "stretch",
2610
+ "borderRadius": 4,
2611
+ "borderWidth": 1,
2612
+ "flexDirection": "row",
2613
+ "justifyContent": "flex-start",
2614
+ "minHeight": 40,
2615
+ "width": "100%",
2616
+ },
2617
+ {
2618
+ "backgroundColor": "#FFFFFF",
2619
+ "borderColor": "#9A9A9A",
2620
+ },
2621
+ {
2622
+ "backgroundColor": "#D9D9D9",
2623
+ },
1967
2624
  ],
1968
- "testID": "ios_modal",
1969
- "transparent": true,
1970
- "visible": false,
2625
+ "testID": undefined,
1971
2626
  },
1972
- "type": "Modal",
2627
+ "type": "View",
1973
2628
  },
1974
2629
  ],
1975
2630
  "props": {
1976
- "style": [
1977
- {
1978
- "alignItems": "center",
1979
- "alignSelf": "stretch",
1980
- "borderRadius": 4,
1981
- "borderWidth": 1,
1982
- "flexDirection": "row",
1983
- "justifyContent": "center",
1984
- "minHeight": 40,
1985
- "width": "100%",
1986
- },
1987
- {
1988
- "backgroundColor": "#FFFFFF",
1989
- "borderColor": "#9A9A9A",
1990
- },
1991
- {
1992
- "backgroundColor": "#D9D9D9",
1993
- },
1994
- ],
2631
+ "style": {
2632
+ "alignSelf": "stretch",
2633
+ "minWidth": 0,
2634
+ "width": "100%",
2635
+ },
1995
2636
  "testID": undefined,
1996
2637
  },
1997
2638
  "type": "View",
@@ -1999,6 +2640,7 @@ exports[`CustomSelectField renders disabled state 1`] = `
1999
2640
  ],
2000
2641
  "props": {
2001
2642
  "style": {
2643
+ "minWidth": 0,
2002
2644
  "width": "100%",
2003
2645
  },
2004
2646
  "testID": undefined,
@@ -2050,71 +2692,36 @@ exports[`CustomSelectField includes custom option in dropdown 1`] = `
2050
2692
  "children": [
2051
2693
  {
2052
2694
  "$$typeof": Symbol(react.test.json),
2053
- "children": null,
2695
+ "children": [
2696
+ "Please select an option.",
2697
+ ],
2054
2698
  "props": {
2055
- "editable": false,
2056
- "multiline": true,
2699
+ "numberOfLines": 1,
2057
2700
  "style": {
2058
2701
  "color": "#1C1C1C",
2059
2702
  "flex": 1,
2703
+ "fontFamily": "text",
2704
+ "fontSize": 16,
2705
+ "paddingRight": 8,
2060
2706
  },
2061
2707
  "testID": "text_input",
2062
- "value": "Please select an option.",
2063
2708
  },
2064
- "type": "TextInput",
2065
- },
2066
- {
2067
- "$$typeof": Symbol(react.test.json),
2068
- "children": null,
2069
- "props": {
2070
- "style": {
2071
- "pointerEvents": "none",
2072
- },
2073
- "testID": "icon_container",
2074
- },
2075
- "type": "View",
2709
+ "type": "Text",
2076
2710
  },
2077
2711
  ],
2078
2712
  "props": {
2713
+ "aria-role": "button",
2714
+ "disabled": false,
2715
+ "onPress": [Function],
2079
2716
  "style": {
2080
2717
  "alignItems": "center",
2081
2718
  "flexDirection": "row",
2082
- "pointerEvents": "box-only",
2719
+ "justifyContent": "space-between",
2720
+ "minHeight": 40,
2721
+ "paddingHorizontal": 8,
2083
2722
  "width": "100%",
2084
2723
  },
2085
- "testID": undefined,
2086
- },
2087
- "type": "View",
2088
- },
2089
- ],
2090
- "props": {
2091
- "disabled": false,
2092
- "onPress": [Function],
2093
- "style": {
2094
- "alignItems": "center",
2095
- "flexDirection": "row",
2096
- "justifyContent": "center",
2097
- "minHeight": 40,
2098
- "paddingHorizontal": 8,
2099
- "width": "100%",
2100
- },
2101
- "testID": "ios_touchable_wrapper",
2102
- },
2103
- "type": "Pressable",
2104
- },
2105
- {
2106
- "$$typeof": Symbol(react.test.json),
2107
- "children": [
2108
- {
2109
- "$$typeof": Symbol(react.test.json),
2110
- "children": null,
2111
- "props": {
2112
- "aria-role": "button",
2113
- "onPress": [Function],
2114
- "style": {
2115
- "flex": 1,
2116
- },
2117
- "testID": "ios_modal_top",
2724
+ "testID": "web_picker",
2118
2725
  },
2119
2726
  "type": "Pressable",
2120
2727
  },
@@ -2125,12 +2732,15 @@ exports[`CustomSelectField includes custom option in dropdown 1`] = `
2125
2732
  "$$typeof": Symbol(react.test.json),
2126
2733
  "children": null,
2127
2734
  "props": {
2735
+ "aria-role": "button",
2736
+ "onPress": [Function],
2128
2737
  "style": {
2129
- "flexDirection": "row",
2738
+ "flex": 1,
2739
+ "zIndex": 0,
2130
2740
  },
2131
- "testID": undefined,
2741
+ "testID": "web_dropdown_backdrop",
2132
2742
  },
2133
- "type": "View",
2743
+ "type": "Pressable",
2134
2744
  },
2135
2745
  {
2136
2746
  "$$typeof": Symbol(react.test.json),
@@ -2140,176 +2750,314 @@ exports[`CustomSelectField includes custom option in dropdown 1`] = `
2140
2750
  "children": [
2141
2751
  {
2142
2752
  "$$typeof": Symbol(react.test.json),
2143
- "children": [
2144
- "Done",
2145
- ],
2753
+ "children": null,
2146
2754
  "props": {
2147
- "allowFontScaling": false,
2148
- "style": [
2149
- {
2150
- "color": "#007aff",
2151
- "fontSize": 17,
2152
- "fontWeight": "600",
2153
- "paddingRight": 11,
2154
- "paddingTop": 1,
2155
- },
2156
- {},
2157
- ],
2158
- "testID": "done_text",
2755
+ "autoFocus": true,
2756
+ "onChangeText": [Function: dispatchSetState],
2757
+ "placeholder": "Search...",
2758
+ "placeholderTextColor": "#686868",
2759
+ "ref": {
2760
+ "current": null,
2761
+ },
2762
+ "style": {
2763
+ "borderColor": "#9A9A9A",
2764
+ "borderRadius": 4,
2765
+ "borderWidth": 1,
2766
+ "color": "#1C1C1C",
2767
+ "fontSize": 14,
2768
+ "paddingHorizontal": 8,
2769
+ "paddingVertical": 4,
2770
+ },
2771
+ "testID": "web_dropdown_search",
2772
+ "value": "",
2159
2773
  },
2160
- "type": "Text",
2774
+ "type": "TextInput",
2161
2775
  },
2162
2776
  ],
2163
2777
  "props": {
2164
- "style": undefined,
2165
- "testID": "needed_for_touchable",
2778
+ "style": {
2779
+ "borderBottomColor": "#CDCDCD",
2780
+ "borderBottomWidth": 1,
2781
+ "paddingHorizontal": 8,
2782
+ "paddingVertical": 6,
2783
+ },
2784
+ "testID": undefined,
2166
2785
  },
2167
2786
  "type": "View",
2168
2787
  },
2169
- ],
2170
- "props": {
2171
- "hitSlop": {
2172
- "bottom": 4,
2173
- "left": 4,
2174
- "right": 4,
2175
- "top": 4,
2176
- },
2177
- "onPress": [Function],
2178
- "onPressIn": [Function],
2179
- "onPressOut": [Function],
2180
- "testID": "done_button",
2181
- },
2182
- "type": "Pressable",
2183
- },
2184
- ],
2185
- "props": {
2186
- "style": {
2187
- "alignItems": "center",
2188
- "backgroundColor": "#f8f8f8",
2189
- "borderTopColor": "#dedede",
2190
- "borderTopWidth": 1,
2191
- "flexDirection": "row",
2192
- "height": 45,
2193
- "justifyContent": "space-between",
2194
- "paddingHorizontal": 10,
2195
- "zIndex": 2,
2196
- },
2197
- "testID": "input_accessory_view",
2198
- },
2199
- "type": "View",
2200
- },
2201
- {
2202
- "$$typeof": Symbol(react.test.json),
2203
- "children": [
2204
- {
2205
- "$$typeof": Symbol(react.test.json),
2206
- "children": [
2207
- {
2208
- "$$typeof": Symbol(react.test.json),
2209
- "children": null,
2210
- "props": {
2211
- "color": undefined,
2212
- "label": "Please select an option.",
2213
- "value": "",
2214
- },
2215
- "type": "Picker.Item",
2216
- },
2217
- {
2218
- "$$typeof": Symbol(react.test.json),
2219
- "children": null,
2220
- "props": {
2221
- "color": undefined,
2222
- "label": "Option A",
2223
- "value": "a",
2224
- },
2225
- "type": "Picker.Item",
2226
- },
2227
2788
  {
2228
2789
  "$$typeof": Symbol(react.test.json),
2229
- "children": null,
2230
- "props": {
2231
- "color": undefined,
2232
- "label": "Option B",
2233
- "value": "b",
2234
- },
2235
- "type": "Picker.Item",
2236
- },
2237
- {
2238
- "$$typeof": Symbol(react.test.json),
2239
- "children": null,
2240
- "props": {
2241
- "color": undefined,
2242
- "label": "Option C",
2243
- "value": "c",
2244
- },
2245
- "type": "Picker.Item",
2246
- },
2247
- {
2248
- "$$typeof": Symbol(react.test.json),
2249
- "children": null,
2790
+ "children": [
2791
+ {
2792
+ "$$typeof": Symbol(react.test.json),
2793
+ "children": [
2794
+ {
2795
+ "$$typeof": Symbol(react.test.json),
2796
+ "children": [
2797
+ {
2798
+ "$$typeof": Symbol(react.test.json),
2799
+ "children": [
2800
+ "Please select an option.",
2801
+ ],
2802
+ "props": {
2803
+ "style": {
2804
+ "color": "#1C1C1C",
2805
+ "fontWeight": "600",
2806
+ },
2807
+ },
2808
+ "type": "Text",
2809
+ },
2810
+ ],
2811
+ "props": {
2812
+ "style": {
2813
+ "alignSelf": "stretch",
2814
+ },
2815
+ "testID": undefined,
2816
+ },
2817
+ "type": "View",
2818
+ },
2819
+ ],
2820
+ "props": {
2821
+ "aria-role": "button",
2822
+ "onLayout": [Function],
2823
+ "onPress": [Function],
2824
+ "style": [Function],
2825
+ "testID": "web_dropdown_option_",
2826
+ },
2827
+ "type": "Pressable",
2828
+ },
2829
+ {
2830
+ "$$typeof": Symbol(react.test.json),
2831
+ "children": [
2832
+ {
2833
+ "$$typeof": Symbol(react.test.json),
2834
+ "children": [
2835
+ {
2836
+ "$$typeof": Symbol(react.test.json),
2837
+ "children": [
2838
+ "Option A",
2839
+ ],
2840
+ "props": {
2841
+ "style": {
2842
+ "color": "#1C1C1C",
2843
+ "fontWeight": "400",
2844
+ },
2845
+ },
2846
+ "type": "Text",
2847
+ },
2848
+ ],
2849
+ "props": {
2850
+ "style": {
2851
+ "alignSelf": "stretch",
2852
+ },
2853
+ "testID": undefined,
2854
+ },
2855
+ "type": "View",
2856
+ },
2857
+ ],
2858
+ "props": {
2859
+ "aria-role": "button",
2860
+ "onLayout": [Function],
2861
+ "onPress": [Function],
2862
+ "style": [Function],
2863
+ "testID": "web_dropdown_option_a",
2864
+ },
2865
+ "type": "Pressable",
2866
+ },
2867
+ {
2868
+ "$$typeof": Symbol(react.test.json),
2869
+ "children": [
2870
+ {
2871
+ "$$typeof": Symbol(react.test.json),
2872
+ "children": [
2873
+ {
2874
+ "$$typeof": Symbol(react.test.json),
2875
+ "children": [
2876
+ "Option B",
2877
+ ],
2878
+ "props": {
2879
+ "style": {
2880
+ "color": "#1C1C1C",
2881
+ "fontWeight": "400",
2882
+ },
2883
+ },
2884
+ "type": "Text",
2885
+ },
2886
+ ],
2887
+ "props": {
2888
+ "style": {
2889
+ "alignSelf": "stretch",
2890
+ },
2891
+ "testID": undefined,
2892
+ },
2893
+ "type": "View",
2894
+ },
2895
+ ],
2896
+ "props": {
2897
+ "aria-role": "button",
2898
+ "onLayout": [Function],
2899
+ "onPress": [Function],
2900
+ "style": [Function],
2901
+ "testID": "web_dropdown_option_b",
2902
+ },
2903
+ "type": "Pressable",
2904
+ },
2905
+ {
2906
+ "$$typeof": Symbol(react.test.json),
2907
+ "children": [
2908
+ {
2909
+ "$$typeof": Symbol(react.test.json),
2910
+ "children": [
2911
+ {
2912
+ "$$typeof": Symbol(react.test.json),
2913
+ "children": [
2914
+ "Option C",
2915
+ ],
2916
+ "props": {
2917
+ "style": {
2918
+ "color": "#1C1C1C",
2919
+ "fontWeight": "400",
2920
+ },
2921
+ },
2922
+ "type": "Text",
2923
+ },
2924
+ ],
2925
+ "props": {
2926
+ "style": {
2927
+ "alignSelf": "stretch",
2928
+ },
2929
+ "testID": undefined,
2930
+ },
2931
+ "type": "View",
2932
+ },
2933
+ ],
2934
+ "props": {
2935
+ "aria-role": "button",
2936
+ "onLayout": [Function],
2937
+ "onPress": [Function],
2938
+ "style": [Function],
2939
+ "testID": "web_dropdown_option_c",
2940
+ },
2941
+ "type": "Pressable",
2942
+ },
2943
+ {
2944
+ "$$typeof": Symbol(react.test.json),
2945
+ "children": [
2946
+ {
2947
+ "$$typeof": Symbol(react.test.json),
2948
+ "children": [
2949
+ {
2950
+ "$$typeof": Symbol(react.test.json),
2951
+ "children": [
2952
+ "Custom",
2953
+ ],
2954
+ "props": {
2955
+ "style": {
2956
+ "color": "#1C1C1C",
2957
+ "fontWeight": "400",
2958
+ },
2959
+ },
2960
+ "type": "Text",
2961
+ },
2962
+ ],
2963
+ "props": {
2964
+ "style": {
2965
+ "alignSelf": "stretch",
2966
+ },
2967
+ "testID": undefined,
2968
+ },
2969
+ "type": "View",
2970
+ },
2971
+ ],
2972
+ "props": {
2973
+ "aria-role": "button",
2974
+ "onLayout": [Function],
2975
+ "onPress": [Function],
2976
+ "style": [Function],
2977
+ "testID": "web_dropdown_option_custom",
2978
+ },
2979
+ "type": "Pressable",
2980
+ },
2981
+ ],
2250
2982
  "props": {
2251
- "color": undefined,
2252
- "label": "Custom",
2253
- "value": "custom",
2983
+ "keyboardShouldPersistTaps": "handled",
2984
+ "onLayout": [Function],
2985
+ "ref": {
2986
+ "current": null,
2987
+ },
2254
2988
  },
2255
- "type": "Picker.Item",
2989
+ "type": "ScrollView",
2256
2990
  },
2257
2991
  ],
2258
2992
  "props": {
2259
- "onValueChange": [Function],
2260
- "selectedValue": "",
2261
- "testID": "ios_picker",
2993
+ "style": {
2994
+ "backgroundColor": "#FFFFFF",
2995
+ "borderColor": "#9A9A9A",
2996
+ "borderRadius": 4,
2997
+ "borderWidth": 1,
2998
+ "left": 0,
2999
+ "maxHeight": 300,
3000
+ "minWidth": undefined,
3001
+ "overflow": "hidden",
3002
+ "position": "absolute",
3003
+ "shadowColor": "#000",
3004
+ "shadowOffset": {
3005
+ "height": 2,
3006
+ "width": 0,
3007
+ },
3008
+ "shadowOpacity": 0.15,
3009
+ "shadowRadius": 8,
3010
+ "top": 4,
3011
+ "width": 0,
3012
+ "zIndex": 1,
3013
+ },
3014
+ "testID": "web_dropdown_menu",
2262
3015
  },
2263
- "type": "Picker",
3016
+ "type": "View",
2264
3017
  },
2265
3018
  ],
2266
3019
  "props": {
2267
- "style": [
2268
- {
2269
- "backgroundColor": "#d0d4da",
2270
- "justifyContent": "center",
2271
- },
2272
- {
2273
- "height": 215,
2274
- },
2275
- ],
2276
- "testID": undefined,
3020
+ "animationType": "fade",
3021
+ "onRequestClose": [Function],
3022
+ "testID": "web_dropdown_modal",
3023
+ "transparent": true,
3024
+ "visible": false,
2277
3025
  },
2278
- "type": "View",
3026
+ "type": "Modal",
2279
3027
  },
2280
3028
  ],
2281
3029
  "props": {
2282
- "animationType": undefined,
2283
- "onOrientationChange": [Function],
2284
- "supportedOrientations": [
2285
- "portrait",
2286
- "landscape",
3030
+ "ref": {
3031
+ "current": null,
3032
+ },
3033
+ "style": [
3034
+ {
3035
+ "alignItems": "center",
3036
+ "alignSelf": "stretch",
3037
+ "borderRadius": 4,
3038
+ "borderWidth": 1,
3039
+ "flexDirection": "row",
3040
+ "justifyContent": "flex-start",
3041
+ "minHeight": 40,
3042
+ "width": "100%",
3043
+ },
3044
+ {
3045
+ "backgroundColor": "#FFFFFF",
3046
+ "borderColor": "#9A9A9A",
3047
+ },
3048
+ false,
2287
3049
  ],
2288
- "testID": "ios_modal",
2289
- "transparent": true,
2290
- "visible": false,
3050
+ "testID": undefined,
2291
3051
  },
2292
- "type": "Modal",
3052
+ "type": "View",
2293
3053
  },
2294
3054
  ],
2295
3055
  "props": {
2296
- "style": [
2297
- {
2298
- "alignItems": "center",
2299
- "alignSelf": "stretch",
2300
- "borderRadius": 4,
2301
- "borderWidth": 1,
2302
- "flexDirection": "row",
2303
- "justifyContent": "center",
2304
- "minHeight": 40,
2305
- "width": "100%",
2306
- },
2307
- {
2308
- "backgroundColor": "#FFFFFF",
2309
- "borderColor": "#9A9A9A",
2310
- },
2311
- false,
2312
- ],
3056
+ "style": {
3057
+ "alignSelf": "stretch",
3058
+ "minWidth": 0,
3059
+ "width": "100%",
3060
+ },
2313
3061
  "testID": undefined,
2314
3062
  },
2315
3063
  "type": "View",
@@ -2317,6 +3065,7 @@ exports[`CustomSelectField includes custom option in dropdown 1`] = `
2317
3065
  ],
2318
3066
  "props": {
2319
3067
  "style": {
3068
+ "minWidth": 0,
2320
3069
  "width": "100%",
2321
3070
  },
2322
3071
  "testID": undefined,