@terreno/ui 0.0.14 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/README.md +1 -1
  2. package/dist/Card.d.ts +1 -1
  3. package/dist/Card.js +2 -2
  4. package/dist/Card.js.map +1 -1
  5. package/dist/DateUtilities.js +2 -2
  6. package/package.json +1 -1
  7. package/src/ActionSheet.test.tsx +77 -0
  8. package/src/Banner.test.tsx +106 -0
  9. package/src/Body.test.tsx +79 -0
  10. package/src/BooleanField.test.tsx +84 -0
  11. package/src/Button.test.tsx +160 -0
  12. package/src/Card.test.tsx +61 -0
  13. package/src/Card.tsx +1 -2
  14. package/src/CheckBox.test.tsx +53 -0
  15. package/src/CustomSelectField.test.tsx +85 -0
  16. package/src/DataTable.test.tsx +133 -0
  17. package/src/DateTimeActionSheet.test.tsx +16 -0
  18. package/src/DateUtilities.tsx +2 -2
  19. package/src/DecimalRangeActionSheet.test.tsx +46 -0
  20. package/src/DismissButton.test.tsx +49 -0
  21. package/src/EmailField.test.tsx +106 -0
  22. package/src/ErrorBoundary.test.tsx +44 -0
  23. package/src/ErrorPage.test.tsx +44 -0
  24. package/src/Field.test.tsx +128 -0
  25. package/src/Heading.test.tsx +66 -0
  26. package/src/HeightActionSheet.test.tsx +34 -0
  27. package/src/Hyperlink.test.tsx +52 -0
  28. package/src/Icon.test.tsx +61 -0
  29. package/src/IconButton.test.tsx +145 -0
  30. package/src/Image.test.tsx +65 -0
  31. package/src/ImageBackground.test.tsx +46 -0
  32. package/src/InfoModalIcon.test.tsx +54 -0
  33. package/src/InfoTooltipButton.test.tsx +22 -0
  34. package/src/Link.test.tsx +64 -0
  35. package/src/MarkdownView.test.tsx +50 -0
  36. package/src/MobileAddressAutoComplete.test.tsx +15 -0
  37. package/src/Modal.test.tsx +169 -0
  38. package/src/ModalSheet.test.tsx +20 -0
  39. package/src/MultiselectField.test.tsx +134 -0
  40. package/src/NumberField.test.tsx +133 -0
  41. package/src/NumberPickerActionSheet.test.tsx +46 -0
  42. package/src/OpenAPIContext.test.tsx +36 -0
  43. package/src/Page.test.tsx +128 -0
  44. package/src/Pagination.test.tsx +86 -0
  45. package/src/PasswordField.test.tsx +17 -0
  46. package/src/PhoneNumberField.test.tsx +79 -0
  47. package/src/PickerSelect.test.tsx +16 -0
  48. package/src/Radio.test.tsx +30 -0
  49. package/src/RadioField.test.tsx +89 -0
  50. package/src/SectionDivider.test.tsx +17 -0
  51. package/src/SegmentedControl.test.tsx +84 -0
  52. package/src/SelectBadge.test.tsx +103 -0
  53. package/src/SelectField.test.tsx +84 -0
  54. package/src/SideDrawer.test.tsx +99 -0
  55. package/src/Signature.test.tsx +15 -0
  56. package/src/SignatureField.test.tsx +16 -0
  57. package/src/Spinner.test.tsx +74 -0
  58. package/src/SplitPage.test.tsx +15 -0
  59. package/src/TapToEdit.test.tsx +147 -0
  60. package/src/TerrenoProvider.test.tsx +36 -0
  61. package/src/Text.test.tsx +147 -0
  62. package/src/Theme.test.tsx +153 -0
  63. package/src/TimezonePicker.test.tsx +57 -0
  64. package/src/Toast.test.tsx +82 -0
  65. package/src/Tooltip.test.tsx +89 -0
  66. package/src/UnifiedAddressAutoComplete.test.tsx +15 -0
  67. package/src/Utilities.test.tsx +237 -0
  68. package/src/WebAddressAutocomplete.test.tsx +15 -0
  69. package/src/__snapshots__/ActionSheet.test.tsx.snap +889 -0
  70. package/src/__snapshots__/Banner.test.tsx.snap +546 -0
  71. package/src/__snapshots__/Body.test.tsx.snap +685 -0
  72. package/src/__snapshots__/BooleanField.test.tsx.snap +553 -0
  73. package/src/__snapshots__/Button.test.tsx.snap +1281 -0
  74. package/src/__snapshots__/Card.test.tsx.snap +195 -0
  75. package/src/__snapshots__/CheckBox.test.tsx.snap +190 -0
  76. package/src/__snapshots__/CustomSelectField.test.tsx.snap +2299 -0
  77. package/src/__snapshots__/DataTable.test.tsx.snap +9614 -0
  78. package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +1719 -0
  79. package/src/__snapshots__/DismissButton.test.tsx.snap +91 -0
  80. package/src/__snapshots__/EmailField.test.tsx.snap +168 -0
  81. package/src/__snapshots__/ErrorBoundary.test.tsx.snap +57 -0
  82. package/src/__snapshots__/ErrorPage.test.tsx.snap +195 -0
  83. package/src/__snapshots__/Field.test.tsx.snap +4510 -0
  84. package/src/__snapshots__/Heading.test.tsx.snap +193 -0
  85. package/src/__snapshots__/HeightActionSheet.test.tsx.snap +1269 -0
  86. package/src/__snapshots__/Hyperlink.test.tsx.snap +81 -0
  87. package/src/__snapshots__/Icon.test.tsx.snap +47 -0
  88. package/src/__snapshots__/IconButton.test.tsx.snap +29 -0
  89. package/src/__snapshots__/Image.test.tsx.snap +282 -0
  90. package/src/__snapshots__/ImageBackground.test.tsx.snap +120 -0
  91. package/src/__snapshots__/InfoModalIcon.test.tsx.snap +1229 -0
  92. package/src/__snapshots__/InfoTooltipButton.test.tsx.snap +7 -0
  93. package/src/__snapshots__/Link.test.tsx.snap +41 -0
  94. package/src/__snapshots__/MarkdownView.test.tsx.snap +965 -0
  95. package/src/__snapshots__/Modal.test.tsx.snap +1477 -0
  96. package/src/__snapshots__/MultiselectField.test.tsx.snap +1454 -0
  97. package/src/__snapshots__/NumberField.test.tsx.snap +80 -0
  98. package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +5359 -0
  99. package/src/__snapshots__/OpenAPIContext.test.tsx.snap +14 -0
  100. package/src/__snapshots__/Page.test.tsx.snap +1647 -0
  101. package/src/__snapshots__/Pagination.test.tsx.snap +1913 -0
  102. package/src/__snapshots__/PasswordField.test.tsx.snap +15 -0
  103. package/src/__snapshots__/PhoneNumberField.test.tsx.snap +405 -0
  104. package/src/__snapshots__/PickerSelect.test.tsx.snap +266 -0
  105. package/src/__snapshots__/Radio.test.tsx.snap +111 -0
  106. package/src/__snapshots__/RadioField.test.tsx.snap +944 -0
  107. package/src/__snapshots__/SectionDivider.test.tsx.snap +37 -0
  108. package/src/__snapshots__/SegmentedControl.test.tsx.snap +1422 -0
  109. package/src/__snapshots__/SelectBadge.test.tsx.snap +2377 -0
  110. package/src/__snapshots__/SelectField.test.tsx.snap +1658 -0
  111. package/src/__snapshots__/SideDrawer.test.tsx.snap +1857 -0
  112. package/src/__snapshots__/SignatureField.test.tsx.snap +133 -0
  113. package/src/__snapshots__/Spinner.test.tsx.snap +73 -0
  114. package/src/__snapshots__/TapToEdit.test.tsx.snap +839 -0
  115. package/src/__snapshots__/TerrenoProvider.test.tsx.snap +203 -0
  116. package/src/__snapshots__/Text.test.tsx.snap +558 -0
  117. package/src/__snapshots__/TimezonePicker.test.tsx.snap +6676 -0
  118. package/src/__snapshots__/Toast.test.tsx.snap +1982 -0
  119. package/src/__snapshots__/Tooltip.test.tsx.snap +456 -0
  120. package/src/bunSetup.ts +101 -8
  121. package/src/fieldElements/FieldError.test.tsx +40 -0
  122. package/src/fieldElements/FieldHelperText.test.tsx +34 -0
  123. package/src/fieldElements/FieldTitle.test.tsx +30 -0
  124. package/src/fieldElements/__snapshots__/FieldError.test.tsx.snap +85 -0
  125. package/src/fieldElements/__snapshots__/FieldHelperText.test.tsx.snap +30 -0
  126. package/src/fieldElements/__snapshots__/FieldTitle.test.tsx.snap +19 -0
  127. package/src/icons/MobileIcon.test.tsx +21 -0
  128. package/src/icons/OfflineIcon.test.tsx +21 -0
  129. package/src/icons/OnlineIcon.test.tsx +21 -0
  130. package/src/icons/OutOfficeIcon.test.tsx +21 -0
  131. package/src/icons/__snapshots__/MobileIcon.test.tsx.snap +160 -0
  132. package/src/icons/__snapshots__/OfflineIcon.test.tsx.snap +133 -0
  133. package/src/icons/__snapshots__/OnlineIcon.test.tsx.snap +124 -0
  134. package/src/icons/__snapshots__/OutOfficeIcon.test.tsx.snap +160 -0
  135. package/src/table/Table.test.tsx +107 -0
  136. package/src/table/TableBadge.test.tsx +53 -0
  137. package/src/table/TableBoolean.test.tsx +38 -0
  138. package/src/table/TableDate.test.tsx +27 -0
  139. package/src/table/TableHeader.test.tsx +67 -0
  140. package/src/table/TableHeaderCell.test.tsx +113 -0
  141. package/src/table/TableIconButton.test.tsx +51 -0
  142. package/src/table/TableNumber.test.tsx +45 -0
  143. package/src/table/TableRow.test.tsx +83 -0
  144. package/src/table/TableText.test.tsx +30 -0
  145. package/src/table/TableTitle.test.tsx +30 -0
  146. package/src/table/__snapshots__/Table.test.tsx.snap +2090 -0
  147. package/src/table/__snapshots__/TableBadge.test.tsx.snap +710 -0
  148. package/src/table/__snapshots__/TableBoolean.test.tsx.snap +231 -0
  149. package/src/table/__snapshots__/TableDate.test.tsx.snap +61 -0
  150. package/src/table/__snapshots__/TableHeader.test.tsx.snap +1089 -0
  151. package/src/table/__snapshots__/TableHeaderCell.test.tsx.snap +1773 -0
  152. package/src/table/__snapshots__/TableIconButton.test.tsx.snap +81 -0
  153. package/src/table/__snapshots__/TableNumber.test.tsx.snap +91 -0
  154. package/src/table/__snapshots__/TableRow.test.tsx.snap +1391 -0
  155. package/src/table/__snapshots__/TableText.test.tsx.snap +73 -0
  156. package/src/table/__snapshots__/TableTitle.test.tsx.snap +109 -0
@@ -0,0 +1,965 @@
1
+ // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
+
3
+ exports[`MarkdownView renders correctly with simple text 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
+ "Hello world",
17
+ ],
18
+ "props": {
19
+ "style": [
20
+ {
21
+ "color": "#1C1C1C",
22
+ "fontFamily": "text",
23
+ },
24
+ {},
25
+ ],
26
+ },
27
+ "type": "Text",
28
+ },
29
+ ],
30
+ "props": {
31
+ "style": {},
32
+ },
33
+ "type": "Text",
34
+ },
35
+ ],
36
+ "props": {
37
+ "style": {
38
+ "alignItems": "flex-start",
39
+ "flexDirection": "row",
40
+ "flexWrap": "wrap",
41
+ "justifyContent": "flex-start",
42
+ "marginBottom": 10,
43
+ "marginTop": 10,
44
+ "width": "100%",
45
+ },
46
+ "testID": undefined,
47
+ },
48
+ "type": "View",
49
+ },
50
+ ],
51
+ "props": {
52
+ "style": {},
53
+ "testID": undefined,
54
+ },
55
+ "type": "View",
56
+ }
57
+ `;
58
+
59
+ exports[`MarkdownView renders markdown headings 1`] = `
60
+ {
61
+ "$$typeof": Symbol(react.test.json),
62
+ "children": [
63
+ {
64
+ "$$typeof": Symbol(react.test.json),
65
+ "children": [
66
+ {
67
+ "$$typeof": Symbol(react.test.json),
68
+ "children": [
69
+ {
70
+ "$$typeof": Symbol(react.test.json),
71
+ "children": [
72
+ "Heading 1",
73
+ ],
74
+ "props": {
75
+ "style": [
76
+ {
77
+ "color": "#1C1C1C",
78
+ "fontFamily": "heading-bold",
79
+ "fontSize": 28,
80
+ },
81
+ {},
82
+ ],
83
+ },
84
+ "type": "Text",
85
+ },
86
+ ],
87
+ "props": {
88
+ "style": {},
89
+ },
90
+ "type": "Text",
91
+ },
92
+ ],
93
+ "props": {
94
+ "style": {
95
+ "flexDirection": "row",
96
+ },
97
+ "testID": undefined,
98
+ },
99
+ "type": "View",
100
+ },
101
+ {
102
+ "$$typeof": Symbol(react.test.json),
103
+ "children": [
104
+ {
105
+ "$$typeof": Symbol(react.test.json),
106
+ "children": [
107
+ {
108
+ "$$typeof": Symbol(react.test.json),
109
+ "children": [
110
+ "Heading 2",
111
+ ],
112
+ "props": {
113
+ "style": [
114
+ {
115
+ "color": "#1C1C1C",
116
+ "fontFamily": "heading-bold",
117
+ "fontSize": 20,
118
+ },
119
+ {},
120
+ ],
121
+ },
122
+ "type": "Text",
123
+ },
124
+ ],
125
+ "props": {
126
+ "style": {},
127
+ },
128
+ "type": "Text",
129
+ },
130
+ ],
131
+ "props": {
132
+ "style": {
133
+ "flexDirection": "row",
134
+ },
135
+ "testID": undefined,
136
+ },
137
+ "type": "View",
138
+ },
139
+ {
140
+ "$$typeof": Symbol(react.test.json),
141
+ "children": [
142
+ {
143
+ "$$typeof": Symbol(react.test.json),
144
+ "children": [
145
+ {
146
+ "$$typeof": Symbol(react.test.json),
147
+ "children": [
148
+ "Heading 3",
149
+ ],
150
+ "props": {
151
+ "style": [
152
+ {
153
+ "color": "#1C1C1C",
154
+ "fontFamily": "heading-bold",
155
+ "fontSize": 16,
156
+ },
157
+ {},
158
+ ],
159
+ },
160
+ "type": "Text",
161
+ },
162
+ ],
163
+ "props": {
164
+ "style": {},
165
+ },
166
+ "type": "Text",
167
+ },
168
+ ],
169
+ "props": {
170
+ "style": {
171
+ "flexDirection": "row",
172
+ },
173
+ "testID": undefined,
174
+ },
175
+ "type": "View",
176
+ },
177
+ ],
178
+ "props": {
179
+ "style": {},
180
+ "testID": undefined,
181
+ },
182
+ "type": "View",
183
+ }
184
+ `;
185
+
186
+ exports[`MarkdownView renders markdown bold and italic 1`] = `
187
+ {
188
+ "$$typeof": Symbol(react.test.json),
189
+ "children": [
190
+ {
191
+ "$$typeof": Symbol(react.test.json),
192
+ "children": [
193
+ {
194
+ "$$typeof": Symbol(react.test.json),
195
+ "children": [
196
+ {
197
+ "$$typeof": Symbol(react.test.json),
198
+ "children": [
199
+ {
200
+ "$$typeof": Symbol(react.test.json),
201
+ "children": [
202
+ "bold",
203
+ ],
204
+ "props": {
205
+ "style": [
206
+ {
207
+ "color": "#1C1C1C",
208
+ "fontFamily": "text",
209
+ "fontWeight": "bold",
210
+ },
211
+ {},
212
+ ],
213
+ },
214
+ "type": "Text",
215
+ },
216
+ ],
217
+ "props": {
218
+ "style": {
219
+ "fontWeight": "bold",
220
+ },
221
+ },
222
+ "type": "Text",
223
+ },
224
+ {
225
+ "$$typeof": Symbol(react.test.json),
226
+ "children": [
227
+ " and ",
228
+ ],
229
+ "props": {
230
+ "style": [
231
+ {
232
+ "color": "#1C1C1C",
233
+ "fontFamily": "text",
234
+ },
235
+ {},
236
+ ],
237
+ },
238
+ "type": "Text",
239
+ },
240
+ {
241
+ "$$typeof": Symbol(react.test.json),
242
+ "children": [
243
+ {
244
+ "$$typeof": Symbol(react.test.json),
245
+ "children": [
246
+ "italic",
247
+ ],
248
+ "props": {
249
+ "style": [
250
+ {
251
+ "color": "#1C1C1C",
252
+ "fontFamily": "text",
253
+ "fontStyle": "italic",
254
+ },
255
+ {},
256
+ ],
257
+ },
258
+ "type": "Text",
259
+ },
260
+ ],
261
+ "props": {
262
+ "style": {
263
+ "fontStyle": "italic",
264
+ },
265
+ },
266
+ "type": "Text",
267
+ },
268
+ {
269
+ "$$typeof": Symbol(react.test.json),
270
+ "children": [
271
+ " text",
272
+ ],
273
+ "props": {
274
+ "style": [
275
+ {
276
+ "color": "#1C1C1C",
277
+ "fontFamily": "text",
278
+ },
279
+ {},
280
+ ],
281
+ },
282
+ "type": "Text",
283
+ },
284
+ ],
285
+ "props": {
286
+ "style": {},
287
+ },
288
+ "type": "Text",
289
+ },
290
+ ],
291
+ "props": {
292
+ "style": {
293
+ "alignItems": "flex-start",
294
+ "flexDirection": "row",
295
+ "flexWrap": "wrap",
296
+ "justifyContent": "flex-start",
297
+ "marginBottom": 10,
298
+ "marginTop": 10,
299
+ "width": "100%",
300
+ },
301
+ "testID": undefined,
302
+ },
303
+ "type": "View",
304
+ },
305
+ ],
306
+ "props": {
307
+ "style": {},
308
+ "testID": undefined,
309
+ },
310
+ "type": "View",
311
+ }
312
+ `;
313
+
314
+ exports[`MarkdownView renders markdown lists 1`] = `
315
+ {
316
+ "$$typeof": Symbol(react.test.json),
317
+ "children": [
318
+ {
319
+ "$$typeof": Symbol(react.test.json),
320
+ "children": [
321
+ {
322
+ "$$typeof": Symbol(react.test.json),
323
+ "children": [
324
+ {
325
+ "$$typeof": Symbol(react.test.json),
326
+ "children": [
327
+ "·",
328
+ ],
329
+ "props": {
330
+ "accessible": false,
331
+ "style": [
332
+ {
333
+ "color": "#1C1C1C",
334
+ "fontFamily": "text",
335
+ },
336
+ {
337
+ "marginLeft": 10,
338
+ "marginRight": 10,
339
+ },
340
+ ],
341
+ },
342
+ "type": "Text",
343
+ },
344
+ {
345
+ "$$typeof": Symbol(react.test.json),
346
+ "children": [
347
+ {
348
+ "$$typeof": Symbol(react.test.json),
349
+ "children": [
350
+ {
351
+ "$$typeof": Symbol(react.test.json),
352
+ "children": [
353
+ "Item 1",
354
+ ],
355
+ "props": {
356
+ "style": [
357
+ {
358
+ "color": "#1C1C1C",
359
+ "fontFamily": "text",
360
+ },
361
+ {},
362
+ ],
363
+ },
364
+ "type": "Text",
365
+ },
366
+ ],
367
+ "props": {
368
+ "style": {},
369
+ },
370
+ "type": "Text",
371
+ },
372
+ ],
373
+ "props": {
374
+ "style": {
375
+ "flex": 1,
376
+ },
377
+ "testID": undefined,
378
+ },
379
+ "type": "View",
380
+ },
381
+ ],
382
+ "props": {
383
+ "style": {
384
+ "flexDirection": "row",
385
+ "justifyContent": "flex-start",
386
+ },
387
+ "testID": undefined,
388
+ },
389
+ "type": "View",
390
+ },
391
+ {
392
+ "$$typeof": Symbol(react.test.json),
393
+ "children": [
394
+ {
395
+ "$$typeof": Symbol(react.test.json),
396
+ "children": [
397
+ "·",
398
+ ],
399
+ "props": {
400
+ "accessible": false,
401
+ "style": [
402
+ {
403
+ "color": "#1C1C1C",
404
+ "fontFamily": "text",
405
+ },
406
+ {
407
+ "marginLeft": 10,
408
+ "marginRight": 10,
409
+ },
410
+ ],
411
+ },
412
+ "type": "Text",
413
+ },
414
+ {
415
+ "$$typeof": Symbol(react.test.json),
416
+ "children": [
417
+ {
418
+ "$$typeof": Symbol(react.test.json),
419
+ "children": [
420
+ {
421
+ "$$typeof": Symbol(react.test.json),
422
+ "children": [
423
+ "Item 2",
424
+ ],
425
+ "props": {
426
+ "style": [
427
+ {
428
+ "color": "#1C1C1C",
429
+ "fontFamily": "text",
430
+ },
431
+ {},
432
+ ],
433
+ },
434
+ "type": "Text",
435
+ },
436
+ ],
437
+ "props": {
438
+ "style": {},
439
+ },
440
+ "type": "Text",
441
+ },
442
+ ],
443
+ "props": {
444
+ "style": {
445
+ "flex": 1,
446
+ },
447
+ "testID": undefined,
448
+ },
449
+ "type": "View",
450
+ },
451
+ ],
452
+ "props": {
453
+ "style": {
454
+ "flexDirection": "row",
455
+ "justifyContent": "flex-start",
456
+ },
457
+ "testID": undefined,
458
+ },
459
+ "type": "View",
460
+ },
461
+ {
462
+ "$$typeof": Symbol(react.test.json),
463
+ "children": [
464
+ {
465
+ "$$typeof": Symbol(react.test.json),
466
+ "children": [
467
+ "·",
468
+ ],
469
+ "props": {
470
+ "accessible": false,
471
+ "style": [
472
+ {
473
+ "color": "#1C1C1C",
474
+ "fontFamily": "text",
475
+ },
476
+ {
477
+ "marginLeft": 10,
478
+ "marginRight": 10,
479
+ },
480
+ ],
481
+ },
482
+ "type": "Text",
483
+ },
484
+ {
485
+ "$$typeof": Symbol(react.test.json),
486
+ "children": [
487
+ {
488
+ "$$typeof": Symbol(react.test.json),
489
+ "children": [
490
+ {
491
+ "$$typeof": Symbol(react.test.json),
492
+ "children": [
493
+ "Item 3",
494
+ ],
495
+ "props": {
496
+ "style": [
497
+ {
498
+ "color": "#1C1C1C",
499
+ "fontFamily": "text",
500
+ },
501
+ {},
502
+ ],
503
+ },
504
+ "type": "Text",
505
+ },
506
+ ],
507
+ "props": {
508
+ "style": {},
509
+ },
510
+ "type": "Text",
511
+ },
512
+ ],
513
+ "props": {
514
+ "style": {
515
+ "flex": 1,
516
+ },
517
+ "testID": undefined,
518
+ },
519
+ "type": "View",
520
+ },
521
+ ],
522
+ "props": {
523
+ "style": {
524
+ "flexDirection": "row",
525
+ "justifyContent": "flex-start",
526
+ },
527
+ "testID": undefined,
528
+ },
529
+ "type": "View",
530
+ },
531
+ ],
532
+ "props": {
533
+ "style": {},
534
+ "testID": undefined,
535
+ },
536
+ "type": "View",
537
+ },
538
+ ],
539
+ "props": {
540
+ "style": {},
541
+ "testID": undefined,
542
+ },
543
+ "type": "View",
544
+ }
545
+ `;
546
+
547
+ exports[`MarkdownView renders with inverted colors 1`] = `
548
+ {
549
+ "$$typeof": Symbol(react.test.json),
550
+ "children": [
551
+ {
552
+ "$$typeof": Symbol(react.test.json),
553
+ "children": [
554
+ {
555
+ "$$typeof": Symbol(react.test.json),
556
+ "children": [
557
+ {
558
+ "$$typeof": Symbol(react.test.json),
559
+ "children": [
560
+ "Inverted text colors",
561
+ ],
562
+ "props": {
563
+ "style": [
564
+ {
565
+ "color": "#FFFFFF",
566
+ "fontFamily": "text",
567
+ },
568
+ {},
569
+ ],
570
+ },
571
+ "type": "Text",
572
+ },
573
+ ],
574
+ "props": {
575
+ "style": {},
576
+ },
577
+ "type": "Text",
578
+ },
579
+ ],
580
+ "props": {
581
+ "style": {
582
+ "alignItems": "flex-start",
583
+ "flexDirection": "row",
584
+ "flexWrap": "wrap",
585
+ "justifyContent": "flex-start",
586
+ "marginBottom": 10,
587
+ "marginTop": 10,
588
+ "width": "100%",
589
+ },
590
+ "testID": undefined,
591
+ },
592
+ "type": "View",
593
+ },
594
+ ],
595
+ "props": {
596
+ "style": {},
597
+ "testID": undefined,
598
+ },
599
+ "type": "View",
600
+ }
601
+ `;
602
+
603
+ exports[`MarkdownView renders numbered lists 1`] = `
604
+ {
605
+ "$$typeof": Symbol(react.test.json),
606
+ "children": [
607
+ {
608
+ "$$typeof": Symbol(react.test.json),
609
+ "children": [
610
+ {
611
+ "$$typeof": Symbol(react.test.json),
612
+ "children": [
613
+ {
614
+ "$$typeof": Symbol(react.test.json),
615
+ "children": [
616
+ "1",
617
+ ".",
618
+ ],
619
+ "props": {
620
+ "style": [
621
+ {
622
+ "color": "#1C1C1C",
623
+ "fontFamily": "text",
624
+ },
625
+ {
626
+ "marginLeft": 10,
627
+ "marginRight": 10,
628
+ },
629
+ ],
630
+ },
631
+ "type": "Text",
632
+ },
633
+ {
634
+ "$$typeof": Symbol(react.test.json),
635
+ "children": [
636
+ {
637
+ "$$typeof": Symbol(react.test.json),
638
+ "children": [
639
+ {
640
+ "$$typeof": Symbol(react.test.json),
641
+ "children": [
642
+ "First",
643
+ ],
644
+ "props": {
645
+ "style": [
646
+ {
647
+ "color": "#1C1C1C",
648
+ "fontFamily": "text",
649
+ },
650
+ {},
651
+ ],
652
+ },
653
+ "type": "Text",
654
+ },
655
+ ],
656
+ "props": {
657
+ "style": {},
658
+ },
659
+ "type": "Text",
660
+ },
661
+ ],
662
+ "props": {
663
+ "style": {
664
+ "flex": 1,
665
+ },
666
+ "testID": undefined,
667
+ },
668
+ "type": "View",
669
+ },
670
+ ],
671
+ "props": {
672
+ "style": {
673
+ "flexDirection": "row",
674
+ "justifyContent": "flex-start",
675
+ },
676
+ "testID": undefined,
677
+ },
678
+ "type": "View",
679
+ },
680
+ {
681
+ "$$typeof": Symbol(react.test.json),
682
+ "children": [
683
+ {
684
+ "$$typeof": Symbol(react.test.json),
685
+ "children": [
686
+ "2",
687
+ ".",
688
+ ],
689
+ "props": {
690
+ "style": [
691
+ {
692
+ "color": "#1C1C1C",
693
+ "fontFamily": "text",
694
+ },
695
+ {
696
+ "marginLeft": 10,
697
+ "marginRight": 10,
698
+ },
699
+ ],
700
+ },
701
+ "type": "Text",
702
+ },
703
+ {
704
+ "$$typeof": Symbol(react.test.json),
705
+ "children": [
706
+ {
707
+ "$$typeof": Symbol(react.test.json),
708
+ "children": [
709
+ {
710
+ "$$typeof": Symbol(react.test.json),
711
+ "children": [
712
+ "Second",
713
+ ],
714
+ "props": {
715
+ "style": [
716
+ {
717
+ "color": "#1C1C1C",
718
+ "fontFamily": "text",
719
+ },
720
+ {},
721
+ ],
722
+ },
723
+ "type": "Text",
724
+ },
725
+ ],
726
+ "props": {
727
+ "style": {},
728
+ },
729
+ "type": "Text",
730
+ },
731
+ ],
732
+ "props": {
733
+ "style": {
734
+ "flex": 1,
735
+ },
736
+ "testID": undefined,
737
+ },
738
+ "type": "View",
739
+ },
740
+ ],
741
+ "props": {
742
+ "style": {
743
+ "flexDirection": "row",
744
+ "justifyContent": "flex-start",
745
+ },
746
+ "testID": undefined,
747
+ },
748
+ "type": "View",
749
+ },
750
+ {
751
+ "$$typeof": Symbol(react.test.json),
752
+ "children": [
753
+ {
754
+ "$$typeof": Symbol(react.test.json),
755
+ "children": [
756
+ "3",
757
+ ".",
758
+ ],
759
+ "props": {
760
+ "style": [
761
+ {
762
+ "color": "#1C1C1C",
763
+ "fontFamily": "text",
764
+ },
765
+ {
766
+ "marginLeft": 10,
767
+ "marginRight": 10,
768
+ },
769
+ ],
770
+ },
771
+ "type": "Text",
772
+ },
773
+ {
774
+ "$$typeof": Symbol(react.test.json),
775
+ "children": [
776
+ {
777
+ "$$typeof": Symbol(react.test.json),
778
+ "children": [
779
+ {
780
+ "$$typeof": Symbol(react.test.json),
781
+ "children": [
782
+ "Third",
783
+ ],
784
+ "props": {
785
+ "style": [
786
+ {
787
+ "color": "#1C1C1C",
788
+ "fontFamily": "text",
789
+ },
790
+ {},
791
+ ],
792
+ },
793
+ "type": "Text",
794
+ },
795
+ ],
796
+ "props": {
797
+ "style": {},
798
+ },
799
+ "type": "Text",
800
+ },
801
+ ],
802
+ "props": {
803
+ "style": {
804
+ "flex": 1,
805
+ },
806
+ "testID": undefined,
807
+ },
808
+ "type": "View",
809
+ },
810
+ ],
811
+ "props": {
812
+ "style": {
813
+ "flexDirection": "row",
814
+ "justifyContent": "flex-start",
815
+ },
816
+ "testID": undefined,
817
+ },
818
+ "type": "View",
819
+ },
820
+ ],
821
+ "props": {
822
+ "style": {},
823
+ "testID": undefined,
824
+ },
825
+ "type": "View",
826
+ },
827
+ ],
828
+ "props": {
829
+ "style": {},
830
+ "testID": undefined,
831
+ },
832
+ "type": "View",
833
+ }
834
+ `;
835
+
836
+ exports[`MarkdownView renders code blocks 1`] = `
837
+ {
838
+ "$$typeof": Symbol(react.test.json),
839
+ "children": [
840
+ {
841
+ "$$typeof": Symbol(react.test.json),
842
+ "children": [
843
+ "code block",
844
+ ],
845
+ "props": {
846
+ "style": [
847
+ {
848
+ "color": "#1C1C1C",
849
+ "fontFamily": "text",
850
+ },
851
+ {
852
+ "backgroundColor": "#f5f5f5",
853
+ "borderColor": "#CCCCCC",
854
+ "borderRadius": 4,
855
+ "borderWidth": 1,
856
+ "fontFamily": "Courier",
857
+ "padding": 10,
858
+ },
859
+ ],
860
+ },
861
+ "type": "Text",
862
+ },
863
+ ],
864
+ "props": {
865
+ "style": {},
866
+ "testID": undefined,
867
+ },
868
+ "type": "View",
869
+ }
870
+ `;
871
+
872
+ exports[`MarkdownView renders inline code 1`] = `
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
+ {
883
+ "$$typeof": Symbol(react.test.json),
884
+ "children": [
885
+ "Use ",
886
+ ],
887
+ "props": {
888
+ "style": [
889
+ {
890
+ "color": "#1C1C1C",
891
+ "fontFamily": "text",
892
+ },
893
+ {},
894
+ ],
895
+ },
896
+ "type": "Text",
897
+ },
898
+ {
899
+ "$$typeof": Symbol(react.test.json),
900
+ "children": [
901
+ "inline code",
902
+ ],
903
+ "props": {
904
+ "style": [
905
+ {
906
+ "color": "#1C1C1C",
907
+ "fontFamily": "text",
908
+ },
909
+ {
910
+ "backgroundColor": "#f5f5f5",
911
+ "borderColor": "#CCCCCC",
912
+ "borderRadius": 4,
913
+ "borderWidth": 1,
914
+ "fontFamily": "Courier",
915
+ "padding": 10,
916
+ },
917
+ ],
918
+ },
919
+ "type": "Text",
920
+ },
921
+ {
922
+ "$$typeof": Symbol(react.test.json),
923
+ "children": [
924
+ " here",
925
+ ],
926
+ "props": {
927
+ "style": [
928
+ {
929
+ "color": "#1C1C1C",
930
+ "fontFamily": "text",
931
+ },
932
+ {},
933
+ ],
934
+ },
935
+ "type": "Text",
936
+ },
937
+ ],
938
+ "props": {
939
+ "style": {},
940
+ },
941
+ "type": "Text",
942
+ },
943
+ ],
944
+ "props": {
945
+ "style": {
946
+ "alignItems": "flex-start",
947
+ "flexDirection": "row",
948
+ "flexWrap": "wrap",
949
+ "justifyContent": "flex-start",
950
+ "marginBottom": 10,
951
+ "marginTop": 10,
952
+ "width": "100%",
953
+ },
954
+ "testID": undefined,
955
+ },
956
+ "type": "View",
957
+ },
958
+ ],
959
+ "props": {
960
+ "style": {},
961
+ "testID": undefined,
962
+ },
963
+ "type": "View",
964
+ }
965
+ `;