@ornikar/bumper 2.7.2-canary.1768566928.e85c568dc49c9180e37b7aec8792b1e8d45968a6.0 → 2.8.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 (93) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/CLAUDE.md +45 -0
  3. package/dist/definitions/system/core/breakpoints/hooks/useCurrentBreakpointName.d.ts +1 -1
  4. package/dist/definitions/system/core/breakpoints/hooks/useCurrentBreakpointName.d.ts.map +1 -1
  5. package/dist/definitions/system/core/breakpoints/utils/breakpointsUtils.d.ts +1 -1
  6. package/dist/definitions/system/core/breakpoints/utils/breakpointsUtils.d.ts.map +1 -1
  7. package/dist/definitions/system/core/primitives/Pressable.d.ts +0 -9
  8. package/dist/definitions/system/core/primitives/Pressable.d.ts.map +1 -1
  9. package/dist/definitions/system/core/{breakpoints/constants.d.ts → tokens/breakpoints.d.ts} +1 -1
  10. package/dist/definitions/system/core/tokens/breakpoints.d.ts.map +1 -0
  11. package/dist/definitions/tamagui.config.d.ts +2 -28
  12. package/dist/definitions/tamagui.config.d.ts.map +1 -1
  13. package/dist/index-metro.es.android.js +42 -26
  14. package/dist/index-metro.es.android.js.map +1 -1
  15. package/dist/index-metro.es.ios.js +42 -26
  16. package/dist/index-metro.es.ios.js.map +1 -1
  17. package/dist/index-node-22.22.cjs.js +42 -26
  18. package/dist/index-node-22.22.cjs.js.map +1 -1
  19. package/dist/index-node-22.22.cjs.web.js +42 -26
  20. package/dist/index-node-22.22.cjs.web.js.map +1 -1
  21. package/dist/index-node-22.22.es.mjs +42 -26
  22. package/dist/index-node-22.22.es.mjs.map +1 -1
  23. package/dist/index-node-22.22.es.web.mjs +42 -26
  24. package/dist/index-node-22.22.es.web.mjs.map +1 -1
  25. package/dist/index.es.js +36 -20
  26. package/dist/index.es.js.map +1 -1
  27. package/dist/index.es.web.js +36 -20
  28. package/dist/index.es.web.js.map +1 -1
  29. package/dist/tsbuildinfo +1 -1
  30. package/package.json +9 -9
  31. package/src/system/content/typography/Typography.features.stories.tsx +156 -0
  32. package/src/system/content/typography/Typography.stories.tsx +72 -166
  33. package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +826 -0
  34. package/src/system/content/typography/__snapshots__/Typography.stories.tsx.snap +10 -1990
  35. package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +501 -0
  36. package/src/system/content/typography/__snapshots_web__/Typography.stories.tsx.snap +7 -808
  37. package/src/system/core/breakpoints/hooks/useBreakpointValue.test.ts +1 -1
  38. package/src/system/core/breakpoints/hooks/useCurrentBreakpointName.test.ts +1 -1
  39. package/src/system/core/breakpoints/hooks/useCurrentBreakpointName.ts +1 -1
  40. package/src/system/core/breakpoints/utils/breakpointsUtils.test.ts +1 -1
  41. package/src/system/core/breakpoints/utils/breakpointsUtils.ts +1 -1
  42. package/src/system/core/primitives/Center.features.stories.tsx +63 -0
  43. package/src/system/core/primitives/Center.stories.tsx +111 -12
  44. package/src/system/core/primitives/Pressable.features.stories.tsx +171 -0
  45. package/src/system/core/primitives/Pressable.stories.tsx +82 -20
  46. package/src/system/core/primitives/Pressable.tsx +0 -9
  47. package/src/system/core/primitives/Stack.features.stories.tsx +179 -0
  48. package/src/system/core/primitives/Stack.stories.tsx +74 -44
  49. package/src/system/core/primitives/View.features.stories.tsx +452 -0
  50. package/src/system/core/primitives/View.stories.tsx +122 -9
  51. package/src/system/core/primitives/__snapshots__/Center.features.stories.tsx.snap +208 -0
  52. package/src/system/core/primitives/__snapshots__/Center.stories.tsx.snap +13 -8
  53. package/src/system/core/primitives/__snapshots__/Pressable.features.stories.tsx.snap +470 -0
  54. package/src/system/core/primitives/__snapshots__/Pressable.stories.tsx.snap +11 -10
  55. package/src/system/core/primitives/__snapshots__/Stack.features.stories.tsx.snap +1234 -0
  56. package/src/system/core/primitives/__snapshots__/Stack.stories.tsx.snap +63 -84
  57. package/src/system/core/primitives/__snapshots__/View.features.stories.tsx.snap +2338 -0
  58. package/src/system/core/primitives/__snapshots__/View.stories.tsx.snap +6 -4
  59. package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +107 -0
  60. package/src/system/core/primitives/__snapshots_web__/Center.stories.tsx.snap +9 -6
  61. package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +193 -0
  62. package/src/system/core/primitives/__snapshots_web__/Pressable.stories.tsx.snap +5 -5
  63. package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +515 -0
  64. package/src/system/core/primitives/__snapshots_web__/Stack.stories.tsx.snap +30 -22
  65. package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +941 -0
  66. package/src/system/core/primitives/__snapshots_web__/View.stories.tsx.snap +3 -3
  67. package/src/system/core/themes/__snapshots__/light.stories.tsx.snap +3822 -2233
  68. package/src/system/core/themes/__snapshots_web__/light.stories.tsx.snap +1244 -992
  69. package/src/system/core/themes/light.stories.tsx +61 -28
  70. package/src/system/core/tokens/__snapshots__/breakpoints.stories.tsx.snap +423 -0
  71. package/src/system/core/tokens/__snapshots__/fonts.stories.tsx.snap +1635 -0
  72. package/src/system/core/tokens/__snapshots__/radius.stories.tsx.snap +383 -0
  73. package/src/system/core/tokens/__snapshots__/size.stories.tsx.snap +864 -0
  74. package/src/system/core/tokens/__snapshots__/space.stories.tsx.snap +945 -0
  75. package/src/system/core/tokens/__snapshots_web__/breakpoints.stories.tsx.snap +194 -0
  76. package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +729 -0
  77. package/src/system/core/tokens/__snapshots_web__/radius.stories.tsx.snap +174 -0
  78. package/src/system/core/tokens/__snapshots_web__/size.stories.tsx.snap +363 -0
  79. package/src/system/core/tokens/__snapshots_web__/space.stories.tsx.snap +396 -0
  80. package/src/system/core/tokens/breakpoints.stories.tsx +46 -0
  81. package/src/system/core/tokens/fonts.stories.tsx +39 -0
  82. package/src/system/core/tokens/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +4337 -2747
  83. package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +1525 -1257
  84. package/src/system/core/tokens/palettes/deepPurpleColorPalette.stories.tsx +42 -28
  85. package/src/system/core/tokens/radius.stories.tsx +39 -0
  86. package/src/system/core/tokens/size.stories.tsx +39 -0
  87. package/src/system/core/tokens/space.stories.tsx +40 -0
  88. package/src/tamagui.config.ts +3 -3
  89. package/dist/definitions/system/core/breakpoints/constants.d.ts.map +0 -1
  90. package/src/system/core/breakpoints/__snapshots__/breakpoints.stories.tsx.snap +0 -49
  91. package/src/system/core/breakpoints/__snapshots_web__/breakpoints.stories.tsx.snap +0 -43
  92. package/src/system/core/breakpoints/breakpoints.stories.tsx +0 -45
  93. /package/src/system/core/{breakpoints/constants.ts → tokens/breakpoints.ts} +0 -0
@@ -0,0 +1,1234 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`Bumper/Core/Primitives/Stack/Features FlexGrowExample 1`] = `
4
+ <RNCSafeAreaProvider
5
+ onInsetsChange={[Function]}
6
+ style={
7
+ [
8
+ {
9
+ "flex": 1,
10
+ },
11
+ undefined,
12
+ ]
13
+ }
14
+ >
15
+ <View
16
+ style={
17
+ {
18
+ "backgroundColor": "#F7F4EE",
19
+ "borderBottomLeftRadius": 4,
20
+ "borderBottomRightRadius": 4,
21
+ "borderTopLeftRadius": 4,
22
+ "borderTopRightRadius": 4,
23
+ "flexDirection": "row",
24
+ "gap": 8,
25
+ "height": 144,
26
+ "paddingBottom": 16,
27
+ "paddingLeft": 16,
28
+ "paddingRight": 16,
29
+ "paddingTop": 16,
30
+ }
31
+ }
32
+ >
33
+ <View
34
+ style={
35
+ {
36
+ "backgroundColor": "#E9F4FC",
37
+ "borderBottomLeftRadius": 2,
38
+ "borderBottomRightRadius": 2,
39
+ "borderTopLeftRadius": 2,
40
+ "borderTopRightRadius": 2,
41
+ "paddingBottom": 12,
42
+ "paddingLeft": 12,
43
+ "paddingRight": 12,
44
+ "paddingTop": 12,
45
+ }
46
+ }
47
+ >
48
+ <Text
49
+ style={
50
+ {
51
+ "fontFamily": "GTStandard",
52
+ "fontSize": 14,
53
+ "letterSpacing": 0.3,
54
+ "lineHeight": 20,
55
+ }
56
+ }
57
+ suppressHighlighting={true}
58
+ >
59
+ Fixed
60
+ </Text>
61
+ </View>
62
+ <View
63
+ style={
64
+ {
65
+ "backgroundColor": "#ECFEDD",
66
+ "borderBottomLeftRadius": 2,
67
+ "borderBottomRightRadius": 2,
68
+ "borderTopLeftRadius": 2,
69
+ "borderTopRightRadius": 2,
70
+ "flexGrow": 1,
71
+ "paddingBottom": 12,
72
+ "paddingLeft": 12,
73
+ "paddingRight": 12,
74
+ "paddingTop": 12,
75
+ }
76
+ }
77
+ >
78
+ <Text
79
+ style={
80
+ {
81
+ "fontFamily": "GTStandard",
82
+ "fontSize": 14,
83
+ "letterSpacing": 0.3,
84
+ "lineHeight": 20,
85
+ }
86
+ }
87
+ suppressHighlighting={true}
88
+ >
89
+ flexGrow: 1
90
+ </Text>
91
+ </View>
92
+ <View
93
+ style={
94
+ {
95
+ "backgroundColor": "#FDF8E7",
96
+ "borderBottomLeftRadius": 2,
97
+ "borderBottomRightRadius": 2,
98
+ "borderTopLeftRadius": 2,
99
+ "borderTopRightRadius": 2,
100
+ "flexGrow": 2,
101
+ "paddingBottom": 12,
102
+ "paddingLeft": 12,
103
+ "paddingRight": 12,
104
+ "paddingTop": 12,
105
+ }
106
+ }
107
+ >
108
+ <Text
109
+ style={
110
+ {
111
+ "fontFamily": "GTStandard",
112
+ "fontSize": 14,
113
+ "letterSpacing": 0.3,
114
+ "lineHeight": 20,
115
+ }
116
+ }
117
+ suppressHighlighting={true}
118
+ >
119
+ flexGrow: 2
120
+ </Text>
121
+ </View>
122
+ <View
123
+ style={
124
+ {
125
+ "backgroundColor": "#FDE4E3",
126
+ "borderBottomLeftRadius": 2,
127
+ "borderBottomRightRadius": 2,
128
+ "borderTopLeftRadius": 2,
129
+ "borderTopRightRadius": 2,
130
+ "paddingBottom": 12,
131
+ "paddingLeft": 12,
132
+ "paddingRight": 12,
133
+ "paddingTop": 12,
134
+ }
135
+ }
136
+ >
137
+ <Text
138
+ style={
139
+ {
140
+ "fontFamily": "GTStandard",
141
+ "fontSize": 14,
142
+ "letterSpacing": 0.3,
143
+ "lineHeight": 20,
144
+ }
145
+ }
146
+ suppressHighlighting={true}
147
+ >
148
+ Fixed
149
+ </Text>
150
+ </View>
151
+ </View>
152
+ </RNCSafeAreaProvider>
153
+ `;
154
+
155
+ exports[`Bumper/Core/Primitives/Stack/Features FlexWrap 1`] = `
156
+ <RNCSafeAreaProvider
157
+ onInsetsChange={[Function]}
158
+ style={
159
+ [
160
+ {
161
+ "flex": 1,
162
+ },
163
+ undefined,
164
+ ]
165
+ }
166
+ >
167
+ <View
168
+ style={
169
+ {
170
+ "backgroundColor": "#F7F4EE",
171
+ "borderBottomLeftRadius": 4,
172
+ "borderBottomRightRadius": 4,
173
+ "borderTopLeftRadius": 4,
174
+ "borderTopRightRadius": 4,
175
+ "flexDirection": "row",
176
+ "flexWrap": "wrap",
177
+ "gap": 8,
178
+ "maxWidth": 400,
179
+ "paddingBottom": 16,
180
+ "paddingLeft": 16,
181
+ "paddingRight": 16,
182
+ "paddingTop": 16,
183
+ }
184
+ }
185
+ >
186
+ <View
187
+ style={
188
+ {
189
+ "backgroundColor": "#563B56",
190
+ "borderBottomLeftRadius": 2,
191
+ "borderBottomRightRadius": 2,
192
+ "borderTopLeftRadius": 2,
193
+ "borderTopRightRadius": 2,
194
+ "paddingBottom": 12,
195
+ "paddingLeft": 12,
196
+ "paddingRight": 12,
197
+ "paddingTop": 12,
198
+ }
199
+ }
200
+ >
201
+ <Text
202
+ style={
203
+ {
204
+ "color": "#ffffff",
205
+ "fontFamily": "GTStandard",
206
+ "fontSize": 14,
207
+ "letterSpacing": 0.3,
208
+ "lineHeight": 20,
209
+ }
210
+ }
211
+ suppressHighlighting={true}
212
+ >
213
+ Item
214
+ 1
215
+ </Text>
216
+ </View>
217
+ <View
218
+ style={
219
+ {
220
+ "backgroundColor": "#563B56",
221
+ "borderBottomLeftRadius": 2,
222
+ "borderBottomRightRadius": 2,
223
+ "borderTopLeftRadius": 2,
224
+ "borderTopRightRadius": 2,
225
+ "paddingBottom": 12,
226
+ "paddingLeft": 12,
227
+ "paddingRight": 12,
228
+ "paddingTop": 12,
229
+ }
230
+ }
231
+ >
232
+ <Text
233
+ style={
234
+ {
235
+ "color": "#ffffff",
236
+ "fontFamily": "GTStandard",
237
+ "fontSize": 14,
238
+ "letterSpacing": 0.3,
239
+ "lineHeight": 20,
240
+ }
241
+ }
242
+ suppressHighlighting={true}
243
+ >
244
+ Item
245
+ 2
246
+ </Text>
247
+ </View>
248
+ <View
249
+ style={
250
+ {
251
+ "backgroundColor": "#563B56",
252
+ "borderBottomLeftRadius": 2,
253
+ "borderBottomRightRadius": 2,
254
+ "borderTopLeftRadius": 2,
255
+ "borderTopRightRadius": 2,
256
+ "paddingBottom": 12,
257
+ "paddingLeft": 12,
258
+ "paddingRight": 12,
259
+ "paddingTop": 12,
260
+ }
261
+ }
262
+ >
263
+ <Text
264
+ style={
265
+ {
266
+ "color": "#ffffff",
267
+ "fontFamily": "GTStandard",
268
+ "fontSize": 14,
269
+ "letterSpacing": 0.3,
270
+ "lineHeight": 20,
271
+ }
272
+ }
273
+ suppressHighlighting={true}
274
+ >
275
+ Item
276
+ 3
277
+ </Text>
278
+ </View>
279
+ <View
280
+ style={
281
+ {
282
+ "backgroundColor": "#563B56",
283
+ "borderBottomLeftRadius": 2,
284
+ "borderBottomRightRadius": 2,
285
+ "borderTopLeftRadius": 2,
286
+ "borderTopRightRadius": 2,
287
+ "paddingBottom": 12,
288
+ "paddingLeft": 12,
289
+ "paddingRight": 12,
290
+ "paddingTop": 12,
291
+ }
292
+ }
293
+ >
294
+ <Text
295
+ style={
296
+ {
297
+ "color": "#ffffff",
298
+ "fontFamily": "GTStandard",
299
+ "fontSize": 14,
300
+ "letterSpacing": 0.3,
301
+ "lineHeight": 20,
302
+ }
303
+ }
304
+ suppressHighlighting={true}
305
+ >
306
+ Item
307
+ 4
308
+ </Text>
309
+ </View>
310
+ <View
311
+ style={
312
+ {
313
+ "backgroundColor": "#563B56",
314
+ "borderBottomLeftRadius": 2,
315
+ "borderBottomRightRadius": 2,
316
+ "borderTopLeftRadius": 2,
317
+ "borderTopRightRadius": 2,
318
+ "paddingBottom": 12,
319
+ "paddingLeft": 12,
320
+ "paddingRight": 12,
321
+ "paddingTop": 12,
322
+ }
323
+ }
324
+ >
325
+ <Text
326
+ style={
327
+ {
328
+ "color": "#ffffff",
329
+ "fontFamily": "GTStandard",
330
+ "fontSize": 14,
331
+ "letterSpacing": 0.3,
332
+ "lineHeight": 20,
333
+ }
334
+ }
335
+ suppressHighlighting={true}
336
+ >
337
+ Item
338
+ 5
339
+ </Text>
340
+ </View>
341
+ <View
342
+ style={
343
+ {
344
+ "backgroundColor": "#563B56",
345
+ "borderBottomLeftRadius": 2,
346
+ "borderBottomRightRadius": 2,
347
+ "borderTopLeftRadius": 2,
348
+ "borderTopRightRadius": 2,
349
+ "paddingBottom": 12,
350
+ "paddingLeft": 12,
351
+ "paddingRight": 12,
352
+ "paddingTop": 12,
353
+ }
354
+ }
355
+ >
356
+ <Text
357
+ style={
358
+ {
359
+ "color": "#ffffff",
360
+ "fontFamily": "GTStandard",
361
+ "fontSize": 14,
362
+ "letterSpacing": 0.3,
363
+ "lineHeight": 20,
364
+ }
365
+ }
366
+ suppressHighlighting={true}
367
+ >
368
+ Item
369
+ 6
370
+ </Text>
371
+ </View>
372
+ <View
373
+ style={
374
+ {
375
+ "backgroundColor": "#563B56",
376
+ "borderBottomLeftRadius": 2,
377
+ "borderBottomRightRadius": 2,
378
+ "borderTopLeftRadius": 2,
379
+ "borderTopRightRadius": 2,
380
+ "paddingBottom": 12,
381
+ "paddingLeft": 12,
382
+ "paddingRight": 12,
383
+ "paddingTop": 12,
384
+ }
385
+ }
386
+ >
387
+ <Text
388
+ style={
389
+ {
390
+ "color": "#ffffff",
391
+ "fontFamily": "GTStandard",
392
+ "fontSize": 14,
393
+ "letterSpacing": 0.3,
394
+ "lineHeight": 20,
395
+ }
396
+ }
397
+ suppressHighlighting={true}
398
+ >
399
+ Item
400
+ 7
401
+ </Text>
402
+ </View>
403
+ <View
404
+ style={
405
+ {
406
+ "backgroundColor": "#563B56",
407
+ "borderBottomLeftRadius": 2,
408
+ "borderBottomRightRadius": 2,
409
+ "borderTopLeftRadius": 2,
410
+ "borderTopRightRadius": 2,
411
+ "paddingBottom": 12,
412
+ "paddingLeft": 12,
413
+ "paddingRight": 12,
414
+ "paddingTop": 12,
415
+ }
416
+ }
417
+ >
418
+ <Text
419
+ style={
420
+ {
421
+ "color": "#ffffff",
422
+ "fontFamily": "GTStandard",
423
+ "fontSize": 14,
424
+ "letterSpacing": 0.3,
425
+ "lineHeight": 20,
426
+ }
427
+ }
428
+ suppressHighlighting={true}
429
+ >
430
+ Item
431
+ 8
432
+ </Text>
433
+ </View>
434
+ <View
435
+ style={
436
+ {
437
+ "backgroundColor": "#563B56",
438
+ "borderBottomLeftRadius": 2,
439
+ "borderBottomRightRadius": 2,
440
+ "borderTopLeftRadius": 2,
441
+ "borderTopRightRadius": 2,
442
+ "paddingBottom": 12,
443
+ "paddingLeft": 12,
444
+ "paddingRight": 12,
445
+ "paddingTop": 12,
446
+ }
447
+ }
448
+ >
449
+ <Text
450
+ style={
451
+ {
452
+ "color": "#ffffff",
453
+ "fontFamily": "GTStandard",
454
+ "fontSize": 14,
455
+ "letterSpacing": 0.3,
456
+ "lineHeight": 20,
457
+ }
458
+ }
459
+ suppressHighlighting={true}
460
+ >
461
+ Item
462
+ 9
463
+ </Text>
464
+ </View>
465
+ <View
466
+ style={
467
+ {
468
+ "backgroundColor": "#563B56",
469
+ "borderBottomLeftRadius": 2,
470
+ "borderBottomRightRadius": 2,
471
+ "borderTopLeftRadius": 2,
472
+ "borderTopRightRadius": 2,
473
+ "paddingBottom": 12,
474
+ "paddingLeft": 12,
475
+ "paddingRight": 12,
476
+ "paddingTop": 12,
477
+ }
478
+ }
479
+ >
480
+ <Text
481
+ style={
482
+ {
483
+ "color": "#ffffff",
484
+ "fontFamily": "GTStandard",
485
+ "fontSize": 14,
486
+ "letterSpacing": 0.3,
487
+ "lineHeight": 20,
488
+ }
489
+ }
490
+ suppressHighlighting={true}
491
+ >
492
+ Item
493
+ 10
494
+ </Text>
495
+ </View>
496
+ </View>
497
+ </RNCSafeAreaProvider>
498
+ `;
499
+
500
+ exports[`Bumper/Core/Primitives/Stack/Features GridLikeLayout 1`] = `
501
+ <RNCSafeAreaProvider
502
+ onInsetsChange={[Function]}
503
+ style={
504
+ [
505
+ {
506
+ "flex": 1,
507
+ },
508
+ undefined,
509
+ ]
510
+ }
511
+ >
512
+ <View
513
+ style={
514
+ {
515
+ "backgroundColor": "#F7F4EE",
516
+ "borderBottomLeftRadius": 4,
517
+ "borderBottomRightRadius": 4,
518
+ "borderTopLeftRadius": 4,
519
+ "borderTopRightRadius": 4,
520
+ "flexDirection": "column",
521
+ "gap": 16,
522
+ "paddingBottom": 16,
523
+ "paddingLeft": 16,
524
+ "paddingRight": 16,
525
+ "paddingTop": 16,
526
+ }
527
+ }
528
+ >
529
+ <View
530
+ style={
531
+ {
532
+ "flexDirection": "row",
533
+ "gap": 16,
534
+ }
535
+ }
536
+ >
537
+ <View
538
+ style={
539
+ {
540
+ "backgroundColor": "#563B56",
541
+ "borderBottomLeftRadius": 2,
542
+ "borderBottomRightRadius": 2,
543
+ "borderTopLeftRadius": 2,
544
+ "borderTopRightRadius": 2,
545
+ "flexGrow": 1,
546
+ "paddingBottom": 24,
547
+ "paddingLeft": 24,
548
+ "paddingRight": 24,
549
+ "paddingTop": 24,
550
+ }
551
+ }
552
+ >
553
+ <Text
554
+ style={
555
+ {
556
+ "color": "#ffffff",
557
+ "fontFamily": "GTStandard",
558
+ "fontSize": 16,
559
+ "letterSpacing": 0.3,
560
+ "lineHeight": 24,
561
+ }
562
+ }
563
+ suppressHighlighting={true}
564
+ >
565
+ 1
566
+ </Text>
567
+ </View>
568
+ <View
569
+ style={
570
+ {
571
+ "backgroundColor": "#43390A",
572
+ "borderBottomLeftRadius": 2,
573
+ "borderBottomRightRadius": 2,
574
+ "borderTopLeftRadius": 2,
575
+ "borderTopRightRadius": 2,
576
+ "flexGrow": 1,
577
+ "paddingBottom": 24,
578
+ "paddingLeft": 24,
579
+ "paddingRight": 24,
580
+ "paddingTop": 24,
581
+ }
582
+ }
583
+ >
584
+ <Text
585
+ style={
586
+ {
587
+ "color": "#ffffff",
588
+ "fontFamily": "GTStandard",
589
+ "fontSize": 16,
590
+ "letterSpacing": 0.3,
591
+ "lineHeight": 24,
592
+ }
593
+ }
594
+ suppressHighlighting={true}
595
+ >
596
+ 2
597
+ </Text>
598
+ </View>
599
+ </View>
600
+ <View
601
+ style={
602
+ {
603
+ "flexDirection": "row",
604
+ "gap": 16,
605
+ }
606
+ }
607
+ >
608
+ <View
609
+ style={
610
+ {
611
+ "backgroundColor": "#1772AB",
612
+ "borderBottomLeftRadius": 2,
613
+ "borderBottomRightRadius": 2,
614
+ "borderTopLeftRadius": 2,
615
+ "borderTopRightRadius": 2,
616
+ "flexGrow": 1,
617
+ "paddingBottom": 24,
618
+ "paddingLeft": 24,
619
+ "paddingRight": 24,
620
+ "paddingTop": 24,
621
+ }
622
+ }
623
+ >
624
+ <Text
625
+ style={
626
+ {
627
+ "color": "#ffffff",
628
+ "fontFamily": "GTStandard",
629
+ "fontSize": 16,
630
+ "letterSpacing": 0.3,
631
+ "lineHeight": 24,
632
+ }
633
+ }
634
+ suppressHighlighting={true}
635
+ >
636
+ 3
637
+ </Text>
638
+ </View>
639
+ <View
640
+ style={
641
+ {
642
+ "backgroundColor": "#438D06",
643
+ "borderBottomLeftRadius": 2,
644
+ "borderBottomRightRadius": 2,
645
+ "borderTopLeftRadius": 2,
646
+ "borderTopRightRadius": 2,
647
+ "flexGrow": 1,
648
+ "paddingBottom": 24,
649
+ "paddingLeft": 24,
650
+ "paddingRight": 24,
651
+ "paddingTop": 24,
652
+ }
653
+ }
654
+ >
655
+ <Text
656
+ style={
657
+ {
658
+ "color": "#ffffff",
659
+ "fontFamily": "GTStandard",
660
+ "fontSize": 16,
661
+ "letterSpacing": 0.3,
662
+ "lineHeight": 24,
663
+ }
664
+ }
665
+ suppressHighlighting={true}
666
+ >
667
+ 4
668
+ </Text>
669
+ </View>
670
+ </View>
671
+ <View
672
+ style={
673
+ {
674
+ "flexDirection": "row",
675
+ "gap": 16,
676
+ }
677
+ }
678
+ >
679
+ <View
680
+ style={
681
+ {
682
+ "backgroundColor": "#EFC11F",
683
+ "borderBottomLeftRadius": 2,
684
+ "borderBottomRightRadius": 2,
685
+ "borderTopLeftRadius": 2,
686
+ "borderTopRightRadius": 2,
687
+ "flexGrow": 1,
688
+ "paddingBottom": 24,
689
+ "paddingLeft": 24,
690
+ "paddingRight": 24,
691
+ "paddingTop": 24,
692
+ }
693
+ }
694
+ >
695
+ <Text
696
+ style={
697
+ {
698
+ "color": "#ffffff",
699
+ "fontFamily": "GTStandard",
700
+ "fontSize": 16,
701
+ "letterSpacing": 0.3,
702
+ "lineHeight": 24,
703
+ }
704
+ }
705
+ suppressHighlighting={true}
706
+ >
707
+ 5
708
+ </Text>
709
+ </View>
710
+ <View
711
+ style={
712
+ {
713
+ "backgroundColor": "#E2483D",
714
+ "borderBottomLeftRadius": 2,
715
+ "borderBottomRightRadius": 2,
716
+ "borderTopLeftRadius": 2,
717
+ "borderTopRightRadius": 2,
718
+ "flexGrow": 1,
719
+ "paddingBottom": 24,
720
+ "paddingLeft": 24,
721
+ "paddingRight": 24,
722
+ "paddingTop": 24,
723
+ }
724
+ }
725
+ >
726
+ <Text
727
+ style={
728
+ {
729
+ "color": "#ffffff",
730
+ "fontFamily": "GTStandard",
731
+ "fontSize": 16,
732
+ "letterSpacing": 0.3,
733
+ "lineHeight": 24,
734
+ }
735
+ }
736
+ suppressHighlighting={true}
737
+ >
738
+ 6
739
+ </Text>
740
+ </View>
741
+ </View>
742
+ </View>
743
+ </RNCSafeAreaProvider>
744
+ `;
745
+
746
+ exports[`Bumper/Core/Primitives/Stack/Features HStackBasic 1`] = `
747
+ <RNCSafeAreaProvider
748
+ onInsetsChange={[Function]}
749
+ style={
750
+ [
751
+ {
752
+ "flex": 1,
753
+ },
754
+ undefined,
755
+ ]
756
+ }
757
+ >
758
+ <View
759
+ style={
760
+ {
761
+ "backgroundColor": "#F7F4EE",
762
+ "borderBottomLeftRadius": 4,
763
+ "borderBottomRightRadius": 4,
764
+ "borderTopLeftRadius": 4,
765
+ "borderTopRightRadius": 4,
766
+ "flexDirection": "row",
767
+ "gap": 16,
768
+ "paddingBottom": 16,
769
+ "paddingLeft": 16,
770
+ "paddingRight": 16,
771
+ "paddingTop": 16,
772
+ }
773
+ }
774
+ >
775
+ <View
776
+ style={
777
+ {
778
+ "backgroundColor": "#563B56",
779
+ "borderBottomLeftRadius": 2,
780
+ "borderBottomRightRadius": 2,
781
+ "borderTopLeftRadius": 2,
782
+ "borderTopRightRadius": 2,
783
+ "paddingBottom": 16,
784
+ "paddingLeft": 16,
785
+ "paddingRight": 16,
786
+ "paddingTop": 16,
787
+ }
788
+ }
789
+ >
790
+ <Text
791
+ style={
792
+ {
793
+ "color": "#ffffff",
794
+ "fontFamily": "GTStandard",
795
+ "fontSize": 16,
796
+ "letterSpacing": 0.3,
797
+ "lineHeight": 24,
798
+ }
799
+ }
800
+ suppressHighlighting={true}
801
+ >
802
+ HStack Item 1
803
+ </Text>
804
+ </View>
805
+ <View
806
+ style={
807
+ {
808
+ "backgroundColor": "#43390A",
809
+ "borderBottomLeftRadius": 2,
810
+ "borderBottomRightRadius": 2,
811
+ "borderTopLeftRadius": 2,
812
+ "borderTopRightRadius": 2,
813
+ "paddingBottom": 16,
814
+ "paddingLeft": 16,
815
+ "paddingRight": 16,
816
+ "paddingTop": 16,
817
+ }
818
+ }
819
+ >
820
+ <Text
821
+ style={
822
+ {
823
+ "color": "#ffffff",
824
+ "fontFamily": "GTStandard",
825
+ "fontSize": 16,
826
+ "letterSpacing": 0.3,
827
+ "lineHeight": 24,
828
+ }
829
+ }
830
+ suppressHighlighting={true}
831
+ >
832
+ HStack Item 2
833
+ </Text>
834
+ </View>
835
+ <View
836
+ style={
837
+ {
838
+ "backgroundColor": "#1772AB",
839
+ "borderBottomLeftRadius": 2,
840
+ "borderBottomRightRadius": 2,
841
+ "borderTopLeftRadius": 2,
842
+ "borderTopRightRadius": 2,
843
+ "paddingBottom": 16,
844
+ "paddingLeft": 16,
845
+ "paddingRight": 16,
846
+ "paddingTop": 16,
847
+ }
848
+ }
849
+ >
850
+ <Text
851
+ style={
852
+ {
853
+ "color": "#ffffff",
854
+ "fontFamily": "GTStandard",
855
+ "fontSize": 16,
856
+ "letterSpacing": 0.3,
857
+ "lineHeight": 24,
858
+ }
859
+ }
860
+ suppressHighlighting={true}
861
+ >
862
+ HStack Item 3
863
+ </Text>
864
+ </View>
865
+ </View>
866
+ </RNCSafeAreaProvider>
867
+ `;
868
+
869
+ exports[`Bumper/Core/Primitives/Stack/Features NestedStacks 1`] = `
870
+ <RNCSafeAreaProvider
871
+ onInsetsChange={[Function]}
872
+ style={
873
+ [
874
+ {
875
+ "flex": 1,
876
+ },
877
+ undefined,
878
+ ]
879
+ }
880
+ >
881
+ <View
882
+ style={
883
+ {
884
+ "backgroundColor": "#F1ECE4",
885
+ "borderBottomLeftRadius": 8,
886
+ "borderBottomRightRadius": 8,
887
+ "borderTopLeftRadius": 8,
888
+ "borderTopRightRadius": 8,
889
+ "flexDirection": "column",
890
+ "gap": 16,
891
+ "paddingBottom": 24,
892
+ "paddingLeft": 24,
893
+ "paddingRight": 24,
894
+ "paddingTop": 24,
895
+ }
896
+ }
897
+ >
898
+ <Text
899
+ style={
900
+ {
901
+ "fontFamily": "GTStandardSemibold",
902
+ "fontSize": 28,
903
+ "letterSpacing": 0,
904
+ "lineHeight": 32,
905
+ }
906
+ }
907
+ suppressHighlighting={true}
908
+ >
909
+ Nested Stacks Layout
910
+ </Text>
911
+ <View
912
+ style={
913
+ {
914
+ "backgroundColor": "#ffffff",
915
+ "borderBottomLeftRadius": 4,
916
+ "borderBottomRightRadius": 4,
917
+ "borderTopLeftRadius": 4,
918
+ "borderTopRightRadius": 4,
919
+ "flexDirection": "column",
920
+ "gap": 12,
921
+ "paddingBottom": 16,
922
+ "paddingLeft": 16,
923
+ "paddingRight": 16,
924
+ "paddingTop": 16,
925
+ }
926
+ }
927
+ >
928
+ <Text
929
+ style={
930
+ {
931
+ "fontFamily": "GTStandardSemibold",
932
+ "fontSize": 14,
933
+ "letterSpacing": 0,
934
+ "lineHeight": 18,
935
+ }
936
+ }
937
+ suppressHighlighting={true}
938
+ >
939
+ Section 1
940
+ </Text>
941
+ <View
942
+ style={
943
+ {
944
+ "flexDirection": "row",
945
+ "gap": 8,
946
+ }
947
+ }
948
+ >
949
+ <View
950
+ style={
951
+ {
952
+ "backgroundColor": "#E9F4FC",
953
+ "borderBottomLeftRadius": 2,
954
+ "borderBottomRightRadius": 2,
955
+ "borderTopLeftRadius": 2,
956
+ "borderTopRightRadius": 2,
957
+ "flexGrow": 1,
958
+ "paddingBottom": 12,
959
+ "paddingLeft": 12,
960
+ "paddingRight": 12,
961
+ "paddingTop": 12,
962
+ }
963
+ }
964
+ >
965
+ <Text
966
+ style={
967
+ {
968
+ "fontFamily": "GTStandard",
969
+ "fontSize": 14,
970
+ "letterSpacing": 0.3,
971
+ "lineHeight": 20,
972
+ }
973
+ }
974
+ suppressHighlighting={true}
975
+ >
976
+ Col 1
977
+ </Text>
978
+ </View>
979
+ <View
980
+ style={
981
+ {
982
+ "backgroundColor": "#ECFEDD",
983
+ "borderBottomLeftRadius": 2,
984
+ "borderBottomRightRadius": 2,
985
+ "borderTopLeftRadius": 2,
986
+ "borderTopRightRadius": 2,
987
+ "flexGrow": 1,
988
+ "paddingBottom": 12,
989
+ "paddingLeft": 12,
990
+ "paddingRight": 12,
991
+ "paddingTop": 12,
992
+ }
993
+ }
994
+ >
995
+ <Text
996
+ style={
997
+ {
998
+ "fontFamily": "GTStandard",
999
+ "fontSize": 14,
1000
+ "letterSpacing": 0.3,
1001
+ "lineHeight": 20,
1002
+ }
1003
+ }
1004
+ suppressHighlighting={true}
1005
+ >
1006
+ Col 2
1007
+ </Text>
1008
+ </View>
1009
+ </View>
1010
+ </View>
1011
+ <View
1012
+ style={
1013
+ {
1014
+ "backgroundColor": "#ffffff",
1015
+ "borderBottomLeftRadius": 4,
1016
+ "borderBottomRightRadius": 4,
1017
+ "borderTopLeftRadius": 4,
1018
+ "borderTopRightRadius": 4,
1019
+ "flexDirection": "column",
1020
+ "gap": 12,
1021
+ "paddingBottom": 16,
1022
+ "paddingLeft": 16,
1023
+ "paddingRight": 16,
1024
+ "paddingTop": 16,
1025
+ }
1026
+ }
1027
+ >
1028
+ <Text
1029
+ style={
1030
+ {
1031
+ "fontFamily": "GTStandardSemibold",
1032
+ "fontSize": 14,
1033
+ "letterSpacing": 0,
1034
+ "lineHeight": 18,
1035
+ }
1036
+ }
1037
+ suppressHighlighting={true}
1038
+ >
1039
+ Section 2
1040
+ </Text>
1041
+ <View
1042
+ style={
1043
+ {
1044
+ "flexDirection": "column",
1045
+ "gap": 8,
1046
+ }
1047
+ }
1048
+ >
1049
+ <View
1050
+ style={
1051
+ {
1052
+ "backgroundColor": "#FDF8E7",
1053
+ "borderBottomLeftRadius": 2,
1054
+ "borderBottomRightRadius": 2,
1055
+ "borderTopLeftRadius": 2,
1056
+ "borderTopRightRadius": 2,
1057
+ "paddingBottom": 12,
1058
+ "paddingLeft": 12,
1059
+ "paddingRight": 12,
1060
+ "paddingTop": 12,
1061
+ }
1062
+ }
1063
+ >
1064
+ <Text
1065
+ style={
1066
+ {
1067
+ "fontFamily": "GTStandard",
1068
+ "fontSize": 14,
1069
+ "letterSpacing": 0.3,
1070
+ "lineHeight": 20,
1071
+ }
1072
+ }
1073
+ suppressHighlighting={true}
1074
+ >
1075
+ Row 1
1076
+ </Text>
1077
+ </View>
1078
+ <View
1079
+ style={
1080
+ {
1081
+ "backgroundColor": "#FDE4E3",
1082
+ "borderBottomLeftRadius": 2,
1083
+ "borderBottomRightRadius": 2,
1084
+ "borderTopLeftRadius": 2,
1085
+ "borderTopRightRadius": 2,
1086
+ "paddingBottom": 12,
1087
+ "paddingLeft": 12,
1088
+ "paddingRight": 12,
1089
+ "paddingTop": 12,
1090
+ }
1091
+ }
1092
+ >
1093
+ <Text
1094
+ style={
1095
+ {
1096
+ "fontFamily": "GTStandard",
1097
+ "fontSize": 14,
1098
+ "letterSpacing": 0.3,
1099
+ "lineHeight": 20,
1100
+ }
1101
+ }
1102
+ suppressHighlighting={true}
1103
+ >
1104
+ Row 2
1105
+ </Text>
1106
+ </View>
1107
+ </View>
1108
+ </View>
1109
+ </View>
1110
+ </RNCSafeAreaProvider>
1111
+ `;
1112
+
1113
+ exports[`Bumper/Core/Primitives/Stack/Features VStackBasic 1`] = `
1114
+ <RNCSafeAreaProvider
1115
+ onInsetsChange={[Function]}
1116
+ style={
1117
+ [
1118
+ {
1119
+ "flex": 1,
1120
+ },
1121
+ undefined,
1122
+ ]
1123
+ }
1124
+ >
1125
+ <View
1126
+ style={
1127
+ {
1128
+ "backgroundColor": "#F7F4EE",
1129
+ "borderBottomLeftRadius": 4,
1130
+ "borderBottomRightRadius": 4,
1131
+ "borderTopLeftRadius": 4,
1132
+ "borderTopRightRadius": 4,
1133
+ "flexDirection": "column",
1134
+ "gap": 16,
1135
+ "paddingBottom": 16,
1136
+ "paddingLeft": 16,
1137
+ "paddingRight": 16,
1138
+ "paddingTop": 16,
1139
+ }
1140
+ }
1141
+ >
1142
+ <View
1143
+ style={
1144
+ {
1145
+ "backgroundColor": "#563B56",
1146
+ "borderBottomLeftRadius": 2,
1147
+ "borderBottomRightRadius": 2,
1148
+ "borderTopLeftRadius": 2,
1149
+ "borderTopRightRadius": 2,
1150
+ "paddingBottom": 16,
1151
+ "paddingLeft": 16,
1152
+ "paddingRight": 16,
1153
+ "paddingTop": 16,
1154
+ }
1155
+ }
1156
+ >
1157
+ <Text
1158
+ style={
1159
+ {
1160
+ "color": "#ffffff",
1161
+ "fontFamily": "GTStandard",
1162
+ "fontSize": 16,
1163
+ "letterSpacing": 0.3,
1164
+ "lineHeight": 24,
1165
+ }
1166
+ }
1167
+ suppressHighlighting={true}
1168
+ >
1169
+ VStack Item 1
1170
+ </Text>
1171
+ </View>
1172
+ <View
1173
+ style={
1174
+ {
1175
+ "backgroundColor": "#43390A",
1176
+ "borderBottomLeftRadius": 2,
1177
+ "borderBottomRightRadius": 2,
1178
+ "borderTopLeftRadius": 2,
1179
+ "borderTopRightRadius": 2,
1180
+ "paddingBottom": 16,
1181
+ "paddingLeft": 16,
1182
+ "paddingRight": 16,
1183
+ "paddingTop": 16,
1184
+ }
1185
+ }
1186
+ >
1187
+ <Text
1188
+ style={
1189
+ {
1190
+ "color": "#ffffff",
1191
+ "fontFamily": "GTStandard",
1192
+ "fontSize": 16,
1193
+ "letterSpacing": 0.3,
1194
+ "lineHeight": 24,
1195
+ }
1196
+ }
1197
+ suppressHighlighting={true}
1198
+ >
1199
+ VStack Item 2
1200
+ </Text>
1201
+ </View>
1202
+ <View
1203
+ style={
1204
+ {
1205
+ "backgroundColor": "#1772AB",
1206
+ "borderBottomLeftRadius": 2,
1207
+ "borderBottomRightRadius": 2,
1208
+ "borderTopLeftRadius": 2,
1209
+ "borderTopRightRadius": 2,
1210
+ "paddingBottom": 16,
1211
+ "paddingLeft": 16,
1212
+ "paddingRight": 16,
1213
+ "paddingTop": 16,
1214
+ }
1215
+ }
1216
+ >
1217
+ <Text
1218
+ style={
1219
+ {
1220
+ "color": "#ffffff",
1221
+ "fontFamily": "GTStandard",
1222
+ "fontSize": 16,
1223
+ "letterSpacing": 0.3,
1224
+ "lineHeight": 24,
1225
+ }
1226
+ }
1227
+ suppressHighlighting={true}
1228
+ >
1229
+ VStack Item 3
1230
+ </Text>
1231
+ </View>
1232
+ </View>
1233
+ </RNCSafeAreaProvider>
1234
+ `;