@terreno/ui 0.6.0 → 0.7.1

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 (52) hide show
  1. package/README.md +5 -5
  2. package/dist/AiSuggestionBox.d.ts +6 -0
  3. package/dist/AiSuggestionBox.js +87 -0
  4. package/dist/AiSuggestionBox.js.map +1 -0
  5. package/dist/Common.d.ts +13 -0
  6. package/dist/Common.js.map +1 -1
  7. package/dist/CommonIconTypes.d.ts +1 -1
  8. package/dist/FlatList.js.map +1 -1
  9. package/dist/GPTChat.d.ts +2 -1
  10. package/dist/GPTChat.js +14 -4
  11. package/dist/GPTChat.js.map +1 -1
  12. package/dist/Page.js +2 -1
  13. package/dist/Page.js.map +1 -1
  14. package/dist/ScrollView.js.map +1 -1
  15. package/dist/TextField.js +46 -41
  16. package/dist/TextField.js.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.js +1 -0
  19. package/dist/index.js.map +1 -1
  20. package/dist/login/LoginScreen.js +1 -1
  21. package/dist/login/LoginScreen.js.map +1 -1
  22. package/dist/signUp/SignUpScreen.js +1 -1
  23. package/dist/signUp/SignUpScreen.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/AiSuggestionBox.test.tsx +373 -0
  26. package/src/AiSuggestionBox.tsx +233 -0
  27. package/src/Common.ts +15 -0
  28. package/src/CommonIconTypes.ts +1 -1
  29. package/src/FlatList.tsx +1 -0
  30. package/src/GPTChat.tsx +40 -2
  31. package/src/Page.tsx +20 -9
  32. package/src/ScrollView.tsx +1 -0
  33. package/src/TextField.tsx +88 -69
  34. package/src/__snapshots__/AddressField.test.tsx.snap +208 -152
  35. package/src/__snapshots__/AiSuggestionBox.test.tsx.snap +1031 -0
  36. package/src/__snapshots__/CustomSelectField.test.tsx.snap +51 -37
  37. package/src/__snapshots__/EmailField.test.tsx.snap +111 -83
  38. package/src/__snapshots__/Field.test.tsx.snap +616 -448
  39. package/src/__snapshots__/MobileAddressAutoComplete.test.tsx.snap +51 -37
  40. package/src/__snapshots__/NumberField.test.tsx.snap +51 -37
  41. package/src/__snapshots__/Page.test.tsx.snap +15 -20
  42. package/src/__snapshots__/PhoneNumberField.test.tsx.snap +264 -194
  43. package/src/__snapshots__/TapToEdit.test.tsx.snap +51 -37
  44. package/src/__snapshots__/TextArea.test.tsx.snap +255 -185
  45. package/src/__snapshots__/TextField.test.tsx.snap +264 -194
  46. package/src/__snapshots__/UnifiedAddressAutoComplete.test.tsx.snap +204 -148
  47. package/src/__snapshots__/WebAddressAutocomplete.test.tsx.snap +153 -111
  48. package/src/index.tsx +1 -0
  49. package/src/login/LoginScreen.tsx +1 -0
  50. package/src/login/__snapshots__/LoginScreen.test.tsx.snap +104 -76
  51. package/src/signUp/SignUpScreen.tsx +1 -0
  52. package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +156 -114
@@ -0,0 +1,1031 @@
1
+ // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
+
3
+ exports[`AiSuggestionBox in TextArea snapshots should match snapshot for not-started state 1`] = `
4
+ {
5
+ "$$typeof": Symbol(react.test.json),
6
+ "children": [
7
+ {
8
+ "$$typeof": Symbol(react.test.json),
9
+ "children": [
10
+ {
11
+ "$$typeof": Symbol(react.test.json),
12
+ "children": [
13
+ {
14
+ "$$typeof": Symbol(react.test.json),
15
+ "children": [
16
+ {
17
+ "$$typeof": Symbol(react.test.json),
18
+ "children": [
19
+ {
20
+ "$$typeof": Symbol(react.test.json),
21
+ "children": [
22
+ {
23
+ "$$typeof": Symbol(react.test.json),
24
+ "children": [
25
+ "AI note will be generated once the session ends.",
26
+ ],
27
+ "props": {
28
+ "numberOfLines": 0,
29
+ "selectable": undefined,
30
+ "style": {
31
+ "color": "#092E3A",
32
+ "fontFamily": "text-regular",
33
+ "fontSize": 10,
34
+ "textAlign": "left",
35
+ },
36
+ "testID": undefined,
37
+ },
38
+ "type": "Text",
39
+ },
40
+ ],
41
+ "props": {},
42
+ "type": "View",
43
+ },
44
+ ],
45
+ "props": {
46
+ "style": {
47
+ "flex": 1,
48
+ },
49
+ "testID": undefined,
50
+ },
51
+ "type": "View",
52
+ },
53
+ ],
54
+ "props": {
55
+ "style": {
56
+ "alignItems": "center",
57
+ "flexDirection": "row",
58
+ "gap": 4,
59
+ "width": "100%",
60
+ },
61
+ "testID": undefined,
62
+ },
63
+ "type": "View",
64
+ },
65
+ ],
66
+ "props": {
67
+ "style": {
68
+ "backgroundColor": "#F2F2F2",
69
+ "borderColor": "#B6CDD5",
70
+ "borderRadius": 8,
71
+ "borderWidth": 1,
72
+ "gap": 8,
73
+ "padding": 8,
74
+ "width": "100%",
75
+ },
76
+ "testID": undefined,
77
+ },
78
+ "type": "View",
79
+ },
80
+ {
81
+ "$$typeof": Symbol(react.test.json),
82
+ "children": [
83
+ {
84
+ "$$typeof": Symbol(react.test.json),
85
+ "children": null,
86
+ "props": {
87
+ "accessibilityHint": "Enter text here",
88
+ "accessibilityState": {
89
+ "disabled": undefined,
90
+ },
91
+ "aria-label": "Text input field",
92
+ "autoCapitalize": "sentences",
93
+ "autoCorrect": true,
94
+ "blurOnSubmit": true,
95
+ "enterKeyHint": undefined,
96
+ "keyboardType": "default",
97
+ "multiline": true,
98
+ "nativeID": undefined,
99
+ "numberOfLines": 1,
100
+ "onBlur": [Function],
101
+ "onChangeText": [Function],
102
+ "onContentSizeChange": [Function],
103
+ "onFocus": [Function],
104
+ "onSubmitEditing": [Function],
105
+ "placeholder": undefined,
106
+ "placeholderTextColor": "#686868",
107
+ "readOnly": undefined,
108
+ "ref": [Function],
109
+ "secureTextEntry": false,
110
+ "style": {
111
+ "color": "#1C1C1C",
112
+ "flex": 1,
113
+ "fontFamily": "text",
114
+ "fontSize": 16,
115
+ "gap": 10,
116
+ "height": 40,
117
+ "paddingVertical": 0,
118
+ "width": "100%",
119
+ },
120
+ "testID": undefined,
121
+ "textContentType": "none",
122
+ "underlineColorAndroid": "transparent",
123
+ "value": "",
124
+ },
125
+ "type": "TextInput",
126
+ },
127
+ ],
128
+ "props": {
129
+ "style": {
130
+ "alignItems": "center",
131
+ "flexDirection": "row",
132
+ },
133
+ "testID": undefined,
134
+ },
135
+ "type": "View",
136
+ },
137
+ ],
138
+ "props": {
139
+ "style": {
140
+ "backgroundColor": "#FFFFFF",
141
+ "borderColor": "#9A9A9A",
142
+ "borderRadius": 4,
143
+ "borderWidth": 1,
144
+ "flexDirection": "column",
145
+ "gap": 10,
146
+ "overflow": "hidden",
147
+ "paddingHorizontal": 12,
148
+ "paddingVertical": 8,
149
+ },
150
+ "testID": undefined,
151
+ },
152
+ "type": "View",
153
+ },
154
+ ],
155
+ "props": {
156
+ "style": {
157
+ "flexDirection": "column",
158
+ "width": "100%",
159
+ },
160
+ "testID": undefined,
161
+ },
162
+ "type": "View",
163
+ }
164
+ `;
165
+
166
+ exports[`AiSuggestionBox in TextArea snapshots should match snapshot for generating state 1`] = `
167
+ {
168
+ "$$typeof": Symbol(react.test.json),
169
+ "children": [
170
+ {
171
+ "$$typeof": Symbol(react.test.json),
172
+ "children": [
173
+ {
174
+ "$$typeof": Symbol(react.test.json),
175
+ "children": [
176
+ {
177
+ "$$typeof": Symbol(react.test.json),
178
+ "children": [
179
+ {
180
+ "$$typeof": Symbol(react.test.json),
181
+ "children": [
182
+ {
183
+ "$$typeof": Symbol(react.test.json),
184
+ "children": [
185
+ {
186
+ "$$typeof": Symbol(react.test.json),
187
+ "children": [
188
+ "AI note generation in progress...",
189
+ ],
190
+ "props": {
191
+ "numberOfLines": 0,
192
+ "selectable": undefined,
193
+ "style": {
194
+ "color": "#092E3A",
195
+ "fontFamily": "text-regular",
196
+ "fontSize": 10,
197
+ "textAlign": "left",
198
+ },
199
+ "testID": undefined,
200
+ },
201
+ "type": "Text",
202
+ },
203
+ ],
204
+ "props": {},
205
+ "type": "View",
206
+ },
207
+ ],
208
+ "props": {
209
+ "style": {
210
+ "flex": 1,
211
+ },
212
+ "testID": undefined,
213
+ },
214
+ "type": "View",
215
+ },
216
+ ],
217
+ "props": {
218
+ "style": {
219
+ "alignItems": "center",
220
+ "flexDirection": "row",
221
+ "gap": 4,
222
+ "width": "100%",
223
+ },
224
+ "testID": undefined,
225
+ },
226
+ "type": "View",
227
+ },
228
+ ],
229
+ "props": {
230
+ "style": {
231
+ "backgroundColor": "#EBFAFF",
232
+ "borderColor": "#90D8F0",
233
+ "borderRadius": 8,
234
+ "borderWidth": 1,
235
+ "gap": 8,
236
+ "padding": 8,
237
+ "width": "100%",
238
+ },
239
+ "testID": undefined,
240
+ },
241
+ "type": "View",
242
+ },
243
+ {
244
+ "$$typeof": Symbol(react.test.json),
245
+ "children": [
246
+ {
247
+ "$$typeof": Symbol(react.test.json),
248
+ "children": null,
249
+ "props": {
250
+ "accessibilityHint": "Enter text here",
251
+ "accessibilityState": {
252
+ "disabled": undefined,
253
+ },
254
+ "aria-label": "Text input field",
255
+ "autoCapitalize": "sentences",
256
+ "autoCorrect": true,
257
+ "blurOnSubmit": true,
258
+ "enterKeyHint": undefined,
259
+ "keyboardType": "default",
260
+ "multiline": true,
261
+ "nativeID": undefined,
262
+ "numberOfLines": 1,
263
+ "onBlur": [Function],
264
+ "onChangeText": [Function],
265
+ "onContentSizeChange": [Function],
266
+ "onFocus": [Function],
267
+ "onSubmitEditing": [Function],
268
+ "placeholder": undefined,
269
+ "placeholderTextColor": "#686868",
270
+ "readOnly": undefined,
271
+ "ref": [Function],
272
+ "secureTextEntry": false,
273
+ "style": {
274
+ "color": "#1C1C1C",
275
+ "flex": 1,
276
+ "fontFamily": "text",
277
+ "fontSize": 16,
278
+ "gap": 10,
279
+ "height": 40,
280
+ "paddingVertical": 0,
281
+ "width": "100%",
282
+ },
283
+ "testID": undefined,
284
+ "textContentType": "none",
285
+ "underlineColorAndroid": "transparent",
286
+ "value": "",
287
+ },
288
+ "type": "TextInput",
289
+ },
290
+ ],
291
+ "props": {
292
+ "style": {
293
+ "alignItems": "center",
294
+ "flexDirection": "row",
295
+ },
296
+ "testID": undefined,
297
+ },
298
+ "type": "View",
299
+ },
300
+ ],
301
+ "props": {
302
+ "style": {
303
+ "backgroundColor": "#FFFFFF",
304
+ "borderColor": "#9A9A9A",
305
+ "borderRadius": 4,
306
+ "borderWidth": 1,
307
+ "flexDirection": "column",
308
+ "gap": 10,
309
+ "overflow": "hidden",
310
+ "paddingHorizontal": 12,
311
+ "paddingVertical": 8,
312
+ },
313
+ "testID": undefined,
314
+ },
315
+ "type": "View",
316
+ },
317
+ ],
318
+ "props": {
319
+ "style": {
320
+ "flexDirection": "column",
321
+ "width": "100%",
322
+ },
323
+ "testID": undefined,
324
+ },
325
+ "type": "View",
326
+ }
327
+ `;
328
+
329
+ exports[`AiSuggestionBox in TextArea snapshots should match snapshot for ready state 1`] = `
330
+ {
331
+ "$$typeof": Symbol(react.test.json),
332
+ "children": [
333
+ {
334
+ "$$typeof": Symbol(react.test.json),
335
+ "children": [
336
+ {
337
+ "$$typeof": Symbol(react.test.json),
338
+ "children": [
339
+ {
340
+ "$$typeof": Symbol(react.test.json),
341
+ "children": [
342
+ {
343
+ "$$typeof": Symbol(react.test.json),
344
+ "children": [
345
+ {
346
+ "$$typeof": Symbol(react.test.json),
347
+ "children": [
348
+ {
349
+ "$$typeof": Symbol(react.test.json),
350
+ "children": [
351
+ "AI-generated note",
352
+ ],
353
+ "props": {
354
+ "numberOfLines": 0,
355
+ "selectable": undefined,
356
+ "style": {
357
+ "color": "#092E3A",
358
+ "fontFamily": "text-regular",
359
+ "fontSize": 10,
360
+ "textAlign": "left",
361
+ },
362
+ "testID": undefined,
363
+ },
364
+ "type": "Text",
365
+ },
366
+ ],
367
+ "props": {},
368
+ "type": "View",
369
+ },
370
+ ],
371
+ "props": {
372
+ "style": {
373
+ "flex": 1,
374
+ },
375
+ "testID": undefined,
376
+ },
377
+ "type": "View",
378
+ },
379
+ {
380
+ "$$typeof": Symbol(react.test.json),
381
+ "children": [
382
+ {
383
+ "$$typeof": Symbol(react.test.json),
384
+ "children": null,
385
+ "props": {
386
+ "accessibilityLabel": "Thumbs up",
387
+ "accessibilityRole": "button",
388
+ "onPress": [Function],
389
+ "style": {
390
+ "alignItems": "center",
391
+ "height": 24,
392
+ "justifyContent": "center",
393
+ "width": 24,
394
+ },
395
+ "testID": "test-ai-suggestion-thumbs-up",
396
+ },
397
+ "type": "Pressable",
398
+ },
399
+ {
400
+ "$$typeof": Symbol(react.test.json),
401
+ "children": null,
402
+ "props": {
403
+ "accessibilityLabel": "Thumbs down",
404
+ "accessibilityRole": "button",
405
+ "onPress": [Function],
406
+ "style": {
407
+ "alignItems": "center",
408
+ "height": 24,
409
+ "justifyContent": "center",
410
+ "width": 24,
411
+ },
412
+ "testID": "test-ai-suggestion-thumbs-down",
413
+ },
414
+ "type": "Pressable",
415
+ },
416
+ ],
417
+ "props": {
418
+ "style": {
419
+ "alignItems": "center",
420
+ "flexDirection": "row",
421
+ },
422
+ "testID": "test-ai-suggestion-feedback",
423
+ },
424
+ "type": "View",
425
+ },
426
+ ],
427
+ "props": {
428
+ "style": {
429
+ "alignItems": "center",
430
+ "flexDirection": "row",
431
+ "gap": 4,
432
+ "width": "100%",
433
+ },
434
+ "testID": undefined,
435
+ },
436
+ "type": "View",
437
+ },
438
+ {
439
+ "$$typeof": Symbol(react.test.json),
440
+ "children": [
441
+ {
442
+ "$$typeof": Symbol(react.test.json),
443
+ "children": [
444
+ {
445
+ "$$typeof": Symbol(react.test.json),
446
+ "children": [
447
+ "AI-generated suggestion text.",
448
+ ],
449
+ "props": {
450
+ "numberOfLines": 0,
451
+ "selectable": undefined,
452
+ "style": {
453
+ "color": "#1C1C1C",
454
+ "fontFamily": "text-regular",
455
+ "fontSize": 14,
456
+ "textAlign": "left",
457
+ },
458
+ "testID": undefined,
459
+ },
460
+ "type": "Text",
461
+ },
462
+ ],
463
+ "props": {},
464
+ "type": "View",
465
+ },
466
+ ],
467
+ "props": {
468
+ "style": {
469
+ "paddingBottom": 4,
470
+ "width": "100%",
471
+ },
472
+ "testID": undefined,
473
+ },
474
+ "type": "View",
475
+ },
476
+ {
477
+ "$$typeof": Symbol(react.test.json),
478
+ "children": [
479
+ {
480
+ "$$typeof": Symbol(react.test.json),
481
+ "children": [
482
+ {
483
+ "$$typeof": Symbol(react.test.json),
484
+ "children": [
485
+ {
486
+ "$$typeof": Symbol(react.test.json),
487
+ "children": [
488
+ "Hide",
489
+ ],
490
+ "props": {
491
+ "numberOfLines": 0,
492
+ "selectable": undefined,
493
+ "style": {
494
+ "color": "#092E3A",
495
+ "fontFamily": "text-bold",
496
+ "fontSize": 10,
497
+ "textAlign": "left",
498
+ },
499
+ "testID": undefined,
500
+ },
501
+ "type": "Text",
502
+ },
503
+ ],
504
+ "props": {},
505
+ "type": "View",
506
+ },
507
+ ],
508
+ "props": {
509
+ "accessibilityLabel": "Hide suggestion",
510
+ "accessibilityRole": "button",
511
+ "onPress": [Function],
512
+ "style": {
513
+ "height": 28,
514
+ "justifyContent": "center",
515
+ "paddingHorizontal": 16,
516
+ },
517
+ "testID": "test-ai-suggestion-hide",
518
+ },
519
+ "type": "Pressable",
520
+ },
521
+ {
522
+ "$$typeof": Symbol(react.test.json),
523
+ "children": [
524
+ {
525
+ "$$typeof": Symbol(react.test.json),
526
+ "children": [
527
+ {
528
+ "$$typeof": Symbol(react.test.json),
529
+ "children": [
530
+ "Add to note",
531
+ ],
532
+ "props": {
533
+ "numberOfLines": 0,
534
+ "selectable": undefined,
535
+ "style": {
536
+ "color": "#FFFFFF",
537
+ "fontFamily": "text-bold",
538
+ "fontSize": 10,
539
+ "textAlign": "left",
540
+ },
541
+ "testID": undefined,
542
+ },
543
+ "type": "Text",
544
+ },
545
+ ],
546
+ "props": {},
547
+ "type": "View",
548
+ },
549
+ ],
550
+ "props": {
551
+ "accessibilityLabel": "Add to note",
552
+ "accessibilityRole": "button",
553
+ "onPress": [Function],
554
+ "style": {
555
+ "alignItems": "center",
556
+ "backgroundColor": "#2B6072",
557
+ "borderRadius": 360,
558
+ "height": 28,
559
+ "justifyContent": "center",
560
+ "paddingHorizontal": 16,
561
+ },
562
+ "testID": "test-ai-suggestion-add",
563
+ },
564
+ "type": "Pressable",
565
+ },
566
+ ],
567
+ "props": {
568
+ "style": {
569
+ "alignItems": "center",
570
+ "flexDirection": "row",
571
+ "gap": 8,
572
+ "justifyContent": "flex-end",
573
+ "width": "100%",
574
+ },
575
+ "testID": undefined,
576
+ },
577
+ "type": "View",
578
+ },
579
+ ],
580
+ "props": {
581
+ "style": {
582
+ "alignItems": "flex-end",
583
+ "backgroundColor": "#EBFAFF",
584
+ "borderColor": "#90D8F0",
585
+ "borderRadius": 8,
586
+ "borderWidth": 1,
587
+ "gap": 8,
588
+ "padding": 8,
589
+ "width": "100%",
590
+ },
591
+ "testID": "test-ai-suggestion",
592
+ },
593
+ "type": "View",
594
+ },
595
+ {
596
+ "$$typeof": Symbol(react.test.json),
597
+ "children": [
598
+ {
599
+ "$$typeof": Symbol(react.test.json),
600
+ "children": null,
601
+ "props": {
602
+ "accessibilityHint": "Enter text here",
603
+ "accessibilityState": {
604
+ "disabled": undefined,
605
+ },
606
+ "aria-label": "Text input field",
607
+ "autoCapitalize": "sentences",
608
+ "autoCorrect": true,
609
+ "blurOnSubmit": true,
610
+ "enterKeyHint": undefined,
611
+ "keyboardType": "default",
612
+ "multiline": true,
613
+ "nativeID": undefined,
614
+ "numberOfLines": 1,
615
+ "onBlur": [Function],
616
+ "onChangeText": [Function],
617
+ "onContentSizeChange": [Function],
618
+ "onFocus": [Function],
619
+ "onSubmitEditing": [Function],
620
+ "placeholder": undefined,
621
+ "placeholderTextColor": "#686868",
622
+ "readOnly": undefined,
623
+ "ref": [Function],
624
+ "secureTextEntry": false,
625
+ "style": {
626
+ "color": "#1C1C1C",
627
+ "flex": 1,
628
+ "fontFamily": "text",
629
+ "fontSize": 16,
630
+ "gap": 10,
631
+ "height": 40,
632
+ "paddingVertical": 0,
633
+ "width": "100%",
634
+ },
635
+ "testID": "test",
636
+ "textContentType": "none",
637
+ "underlineColorAndroid": "transparent",
638
+ "value": "",
639
+ },
640
+ "type": "TextInput",
641
+ },
642
+ ],
643
+ "props": {
644
+ "style": {
645
+ "alignItems": "center",
646
+ "flexDirection": "row",
647
+ },
648
+ "testID": undefined,
649
+ },
650
+ "type": "View",
651
+ },
652
+ ],
653
+ "props": {
654
+ "style": {
655
+ "backgroundColor": "#FFFFFF",
656
+ "borderColor": "#9A9A9A",
657
+ "borderRadius": 4,
658
+ "borderWidth": 1,
659
+ "flexDirection": "column",
660
+ "gap": 10,
661
+ "overflow": "hidden",
662
+ "paddingHorizontal": 12,
663
+ "paddingVertical": 8,
664
+ },
665
+ "testID": undefined,
666
+ },
667
+ "type": "View",
668
+ },
669
+ ],
670
+ "props": {
671
+ "style": {
672
+ "flexDirection": "column",
673
+ "width": "100%",
674
+ },
675
+ "testID": undefined,
676
+ },
677
+ "type": "View",
678
+ }
679
+ `;
680
+
681
+ exports[`AiSuggestionBox in TextArea snapshots should match snapshot for added state 1`] = `
682
+ {
683
+ "$$typeof": Symbol(react.test.json),
684
+ "children": [
685
+ {
686
+ "$$typeof": Symbol(react.test.json),
687
+ "children": [
688
+ {
689
+ "$$typeof": Symbol(react.test.json),
690
+ "children": [
691
+ {
692
+ "$$typeof": Symbol(react.test.json),
693
+ "children": [
694
+ {
695
+ "$$typeof": Symbol(react.test.json),
696
+ "children": [
697
+ {
698
+ "$$typeof": Symbol(react.test.json),
699
+ "children": [
700
+ {
701
+ "$$typeof": Symbol(react.test.json),
702
+ "children": [
703
+ "AI-generated note added!",
704
+ ],
705
+ "props": {
706
+ "numberOfLines": 0,
707
+ "selectable": undefined,
708
+ "style": {
709
+ "color": "#092E3A",
710
+ "fontFamily": "text-regular",
711
+ "fontSize": 10,
712
+ "textAlign": "left",
713
+ },
714
+ "testID": undefined,
715
+ },
716
+ "type": "Text",
717
+ },
718
+ ],
719
+ "props": {},
720
+ "type": "View",
721
+ },
722
+ ],
723
+ "props": {
724
+ "style": {
725
+ "flex": 1,
726
+ },
727
+ "testID": undefined,
728
+ },
729
+ "type": "View",
730
+ },
731
+ {
732
+ "$$typeof": Symbol(react.test.json),
733
+ "children": [
734
+ {
735
+ "$$typeof": Symbol(react.test.json),
736
+ "children": null,
737
+ "props": {
738
+ "accessibilityLabel": "Thumbs up",
739
+ "accessibilityRole": "button",
740
+ "onPress": [Function],
741
+ "style": {
742
+ "alignItems": "center",
743
+ "height": 24,
744
+ "justifyContent": "center",
745
+ "width": 24,
746
+ },
747
+ "testID": "test-ai-suggestion-thumbs-up",
748
+ },
749
+ "type": "Pressable",
750
+ },
751
+ {
752
+ "$$typeof": Symbol(react.test.json),
753
+ "children": null,
754
+ "props": {
755
+ "accessibilityLabel": "Thumbs down",
756
+ "accessibilityRole": "button",
757
+ "onPress": [Function],
758
+ "style": {
759
+ "alignItems": "center",
760
+ "height": 24,
761
+ "justifyContent": "center",
762
+ "width": 24,
763
+ },
764
+ "testID": "test-ai-suggestion-thumbs-down",
765
+ },
766
+ "type": "Pressable",
767
+ },
768
+ ],
769
+ "props": {
770
+ "style": {
771
+ "alignItems": "center",
772
+ "flexDirection": "row",
773
+ },
774
+ "testID": "test-ai-suggestion-feedback",
775
+ },
776
+ "type": "View",
777
+ },
778
+ ],
779
+ "props": {
780
+ "style": {
781
+ "alignItems": "center",
782
+ "flexDirection": "row",
783
+ "gap": 4,
784
+ "width": "100%",
785
+ },
786
+ "testID": undefined,
787
+ },
788
+ "type": "View",
789
+ },
790
+ {
791
+ "$$typeof": Symbol(react.test.json),
792
+ "children": [
793
+ {
794
+ "$$typeof": Symbol(react.test.json),
795
+ "children": [
796
+ {
797
+ "$$typeof": Symbol(react.test.json),
798
+ "children": [
799
+ "AI-generated suggestion text.",
800
+ ],
801
+ "props": {
802
+ "numberOfLines": 0,
803
+ "selectable": undefined,
804
+ "style": {
805
+ "color": "#1C1C1C",
806
+ "fontFamily": "text-regular",
807
+ "fontSize": 14,
808
+ "textAlign": "left",
809
+ },
810
+ "testID": undefined,
811
+ },
812
+ "type": "Text",
813
+ },
814
+ ],
815
+ "props": {},
816
+ "type": "View",
817
+ },
818
+ ],
819
+ "props": {
820
+ "style": {
821
+ "paddingBottom": 4,
822
+ "width": "100%",
823
+ },
824
+ "testID": undefined,
825
+ },
826
+ "type": "View",
827
+ },
828
+ {
829
+ "$$typeof": Symbol(react.test.json),
830
+ "children": [
831
+ {
832
+ "$$typeof": Symbol(react.test.json),
833
+ "children": [
834
+ {
835
+ "$$typeof": Symbol(react.test.json),
836
+ "children": [
837
+ {
838
+ "$$typeof": Symbol(react.test.json),
839
+ "children": [
840
+ "Hide",
841
+ ],
842
+ "props": {
843
+ "numberOfLines": 0,
844
+ "selectable": undefined,
845
+ "style": {
846
+ "color": "#092E3A",
847
+ "fontFamily": "text-bold",
848
+ "fontSize": 10,
849
+ "textAlign": "left",
850
+ },
851
+ "testID": undefined,
852
+ },
853
+ "type": "Text",
854
+ },
855
+ ],
856
+ "props": {},
857
+ "type": "View",
858
+ },
859
+ ],
860
+ "props": {
861
+ "accessibilityLabel": "Hide suggestion",
862
+ "accessibilityRole": "button",
863
+ "onPress": [Function],
864
+ "style": {
865
+ "height": 28,
866
+ "justifyContent": "center",
867
+ "paddingHorizontal": 16,
868
+ },
869
+ "testID": "test-ai-suggestion-hide",
870
+ },
871
+ "type": "Pressable",
872
+ },
873
+ {
874
+ "$$typeof": Symbol(react.test.json),
875
+ "children": [
876
+ {
877
+ "$$typeof": Symbol(react.test.json),
878
+ "children": [
879
+ {
880
+ "$$typeof": Symbol(react.test.json),
881
+ "children": [
882
+ "Add to note",
883
+ ],
884
+ "props": {
885
+ "numberOfLines": 0,
886
+ "selectable": undefined,
887
+ "style": {
888
+ "color": "#FFFFFF",
889
+ "fontFamily": "text-bold",
890
+ "fontSize": 10,
891
+ "textAlign": "left",
892
+ },
893
+ "testID": undefined,
894
+ },
895
+ "type": "Text",
896
+ },
897
+ ],
898
+ "props": {},
899
+ "type": "View",
900
+ },
901
+ ],
902
+ "props": {
903
+ "accessibilityLabel": "Add to note",
904
+ "accessibilityRole": "button",
905
+ "onPress": [Function],
906
+ "style": {
907
+ "alignItems": "center",
908
+ "backgroundColor": "#2B6072",
909
+ "borderRadius": 360,
910
+ "height": 28,
911
+ "justifyContent": "center",
912
+ "paddingHorizontal": 16,
913
+ },
914
+ "testID": "test-ai-suggestion-add",
915
+ },
916
+ "type": "Pressable",
917
+ },
918
+ ],
919
+ "props": {
920
+ "style": {
921
+ "alignItems": "center",
922
+ "flexDirection": "row",
923
+ "gap": 8,
924
+ "justifyContent": "flex-end",
925
+ "width": "100%",
926
+ },
927
+ "testID": undefined,
928
+ },
929
+ "type": "View",
930
+ },
931
+ ],
932
+ "props": {
933
+ "style": {
934
+ "alignItems": "flex-end",
935
+ "backgroundColor": "#DCF2E2",
936
+ "borderColor": "#9BE7B2",
937
+ "borderRadius": 8,
938
+ "borderWidth": 1,
939
+ "gap": 8,
940
+ "padding": 8,
941
+ "width": "100%",
942
+ },
943
+ "testID": "test-ai-suggestion",
944
+ },
945
+ "type": "View",
946
+ },
947
+ {
948
+ "$$typeof": Symbol(react.test.json),
949
+ "children": [
950
+ {
951
+ "$$typeof": Symbol(react.test.json),
952
+ "children": null,
953
+ "props": {
954
+ "accessibilityHint": "Enter text here",
955
+ "accessibilityState": {
956
+ "disabled": undefined,
957
+ },
958
+ "aria-label": "Text input field",
959
+ "autoCapitalize": "sentences",
960
+ "autoCorrect": true,
961
+ "blurOnSubmit": true,
962
+ "enterKeyHint": undefined,
963
+ "keyboardType": "default",
964
+ "multiline": true,
965
+ "nativeID": undefined,
966
+ "numberOfLines": 1,
967
+ "onBlur": [Function],
968
+ "onChangeText": [Function],
969
+ "onContentSizeChange": [Function],
970
+ "onFocus": [Function],
971
+ "onSubmitEditing": [Function],
972
+ "placeholder": undefined,
973
+ "placeholderTextColor": "#686868",
974
+ "readOnly": undefined,
975
+ "ref": [Function],
976
+ "secureTextEntry": false,
977
+ "style": {
978
+ "color": "#1C1C1C",
979
+ "flex": 1,
980
+ "fontFamily": "text",
981
+ "fontSize": 16,
982
+ "gap": 10,
983
+ "height": 40,
984
+ "paddingVertical": 0,
985
+ "width": "100%",
986
+ },
987
+ "testID": "test",
988
+ "textContentType": "none",
989
+ "underlineColorAndroid": "transparent",
990
+ "value": "",
991
+ },
992
+ "type": "TextInput",
993
+ },
994
+ ],
995
+ "props": {
996
+ "style": {
997
+ "alignItems": "center",
998
+ "flexDirection": "row",
999
+ },
1000
+ "testID": undefined,
1001
+ },
1002
+ "type": "View",
1003
+ },
1004
+ ],
1005
+ "props": {
1006
+ "style": {
1007
+ "backgroundColor": "#FFFFFF",
1008
+ "borderColor": "#9A9A9A",
1009
+ "borderRadius": 4,
1010
+ "borderWidth": 1,
1011
+ "flexDirection": "column",
1012
+ "gap": 10,
1013
+ "overflow": "hidden",
1014
+ "paddingHorizontal": 12,
1015
+ "paddingVertical": 8,
1016
+ },
1017
+ "testID": undefined,
1018
+ },
1019
+ "type": "View",
1020
+ },
1021
+ ],
1022
+ "props": {
1023
+ "style": {
1024
+ "flexDirection": "column",
1025
+ "width": "100%",
1026
+ },
1027
+ "testID": undefined,
1028
+ },
1029
+ "type": "View",
1030
+ }
1031
+ `;