@ornikar/bumper 2.7.2-canary.1768566928.e85c568dc49c9180e37b7aec8792b1e8d45968a6.0 → 2.8.1-canary.1768839311.501438316959a9593513e74c70cb87b0597f2db6.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 (114) hide show
  1. package/CHANGELOG.md +19 -4
  2. package/CLAUDE.md +45 -0
  3. package/dist/definitions/index.d.ts +2 -0
  4. package/dist/definitions/index.d.ts.map +1 -1
  5. package/dist/definitions/system/content/icon/Icon.d.ts +21 -0
  6. package/dist/definitions/system/content/icon/Icon.d.ts.map +1 -0
  7. package/dist/definitions/system/core/breakpoints/hooks/useCurrentBreakpointName.d.ts +1 -1
  8. package/dist/definitions/system/core/breakpoints/hooks/useCurrentBreakpointName.d.ts.map +1 -1
  9. package/dist/definitions/system/core/breakpoints/utils/breakpointsUtils.d.ts +1 -1
  10. package/dist/definitions/system/core/breakpoints/utils/breakpointsUtils.d.ts.map +1 -1
  11. package/dist/definitions/system/core/primitives/Pressable.d.ts +0 -9
  12. package/dist/definitions/system/core/primitives/Pressable.d.ts.map +1 -1
  13. package/dist/definitions/system/core/primitives/ScrollView/ScrollView.d.ts +3 -0
  14. package/dist/definitions/system/core/primitives/ScrollView/ScrollView.d.ts.map +1 -0
  15. package/dist/definitions/system/core/{breakpoints/constants.d.ts → tokens/breakpoints.d.ts} +1 -1
  16. package/dist/definitions/system/core/tokens/breakpoints.d.ts.map +1 -0
  17. package/dist/definitions/tamagui.config.d.ts +2 -28
  18. package/dist/definitions/tamagui.config.d.ts.map +1 -1
  19. package/dist/index-metro.es.android.js +43 -26
  20. package/dist/index-metro.es.android.js.map +1 -1
  21. package/dist/index-metro.es.ios.js +43 -26
  22. package/dist/index-metro.es.ios.js.map +1 -1
  23. package/dist/index-node-22.22.cjs.js +44 -26
  24. package/dist/index-node-22.22.cjs.js.map +1 -1
  25. package/dist/index-node-22.22.cjs.web.js +44 -26
  26. package/dist/index-node-22.22.cjs.web.js.map +1 -1
  27. package/dist/index-node-22.22.es.mjs +43 -26
  28. package/dist/index-node-22.22.es.mjs.map +1 -1
  29. package/dist/index-node-22.22.es.web.mjs +43 -26
  30. package/dist/index-node-22.22.es.web.mjs.map +1 -1
  31. package/dist/index.es.js +37 -20
  32. package/dist/index.es.js.map +1 -1
  33. package/dist/index.es.web.js +37 -20
  34. package/dist/index.es.web.js.map +1 -1
  35. package/dist/tsbuildinfo +1 -1
  36. package/package.json +5 -2
  37. package/src/index.ts +2 -0
  38. package/src/system/content/icon/Icon.features.stories.tsx +116 -0
  39. package/src/system/content/icon/Icon.stories.tsx +44 -0
  40. package/src/system/content/icon/Icon.tsx +53 -0
  41. package/src/system/content/icon/__snapshots__/Icon.features.stories.tsx.snap +569 -0
  42. package/src/system/content/icon/__snapshots__/Icon.stories.tsx.snap +29 -0
  43. package/src/system/content/icon/__snapshots_web__/Icon.features.stories.tsx.snap +309 -0
  44. package/src/system/content/icon/__snapshots_web__/Icon.stories.tsx.snap +33 -0
  45. package/src/system/content/typography/Typography.features.stories.tsx +156 -0
  46. package/src/system/content/typography/Typography.stories.tsx +72 -166
  47. package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +826 -0
  48. package/src/system/content/typography/__snapshots__/Typography.stories.tsx.snap +10 -1990
  49. package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +501 -0
  50. package/src/system/content/typography/__snapshots_web__/Typography.stories.tsx.snap +6 -807
  51. package/src/system/core/breakpoints/hooks/useBreakpointValue.test.ts +1 -1
  52. package/src/system/core/breakpoints/hooks/useCurrentBreakpointName.test.ts +1 -1
  53. package/src/system/core/breakpoints/hooks/useCurrentBreakpointName.ts +1 -1
  54. package/src/system/core/breakpoints/utils/breakpointsUtils.test.ts +1 -1
  55. package/src/system/core/breakpoints/utils/breakpointsUtils.ts +1 -1
  56. package/src/system/core/primitives/Center.features.stories.tsx +63 -0
  57. package/src/system/core/primitives/Center.stories.tsx +111 -12
  58. package/src/system/core/primitives/Pressable.features.stories.tsx +171 -0
  59. package/src/system/core/primitives/Pressable.stories.tsx +82 -20
  60. package/src/system/core/primitives/Pressable.tsx +0 -9
  61. package/src/system/core/primitives/ScrollView/ScrollView.features.stories.tsx +84 -0
  62. package/src/system/core/primitives/ScrollView/ScrollView.stories.tsx +63 -0
  63. package/src/system/core/primitives/ScrollView/ScrollView.ts +2 -0
  64. package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.features.stories.tsx.snap +1245 -0
  65. package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.stories.tsx.snap +334 -0
  66. package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.features.stories.tsx.snap +503 -0
  67. package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.stories.tsx.snap +138 -0
  68. package/src/system/core/primitives/Stack.features.stories.tsx +179 -0
  69. package/src/system/core/primitives/Stack.stories.tsx +74 -44
  70. package/src/system/core/primitives/View.features.stories.tsx +452 -0
  71. package/src/system/core/primitives/View.stories.tsx +122 -9
  72. package/src/system/core/primitives/__snapshots__/Center.features.stories.tsx.snap +208 -0
  73. package/src/system/core/primitives/__snapshots__/Center.stories.tsx.snap +13 -8
  74. package/src/system/core/primitives/__snapshots__/Pressable.features.stories.tsx.snap +470 -0
  75. package/src/system/core/primitives/__snapshots__/Pressable.stories.tsx.snap +11 -10
  76. package/src/system/core/primitives/__snapshots__/Stack.features.stories.tsx.snap +1234 -0
  77. package/src/system/core/primitives/__snapshots__/Stack.stories.tsx.snap +63 -84
  78. package/src/system/core/primitives/__snapshots__/View.features.stories.tsx.snap +2338 -0
  79. package/src/system/core/primitives/__snapshots__/View.stories.tsx.snap +6 -4
  80. package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +107 -0
  81. package/src/system/core/primitives/__snapshots_web__/Center.stories.tsx.snap +8 -5
  82. package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +193 -0
  83. package/src/system/core/primitives/__snapshots_web__/Pressable.stories.tsx.snap +4 -4
  84. package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +515 -0
  85. package/src/system/core/primitives/__snapshots_web__/Stack.stories.tsx.snap +29 -21
  86. package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +941 -0
  87. package/src/system/core/primitives/__snapshots_web__/View.stories.tsx.snap +2 -2
  88. package/src/system/core/themes/__snapshots__/light.stories.tsx.snap +3822 -2233
  89. package/src/system/core/themes/__snapshots_web__/light.stories.tsx.snap +1243 -991
  90. package/src/system/core/themes/light.stories.tsx +61 -28
  91. package/src/system/core/tokens/__snapshots__/breakpoints.stories.tsx.snap +423 -0
  92. package/src/system/core/tokens/__snapshots__/fonts.stories.tsx.snap +1635 -0
  93. package/src/system/core/tokens/__snapshots__/radius.stories.tsx.snap +383 -0
  94. package/src/system/core/tokens/__snapshots__/size.stories.tsx.snap +864 -0
  95. package/src/system/core/tokens/__snapshots__/space.stories.tsx.snap +945 -0
  96. package/src/system/core/tokens/__snapshots_web__/breakpoints.stories.tsx.snap +194 -0
  97. package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +729 -0
  98. package/src/system/core/tokens/__snapshots_web__/radius.stories.tsx.snap +174 -0
  99. package/src/system/core/tokens/__snapshots_web__/size.stories.tsx.snap +363 -0
  100. package/src/system/core/tokens/__snapshots_web__/space.stories.tsx.snap +396 -0
  101. package/src/system/core/tokens/breakpoints.stories.tsx +46 -0
  102. package/src/system/core/tokens/fonts.stories.tsx +39 -0
  103. package/src/system/core/tokens/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +4337 -2747
  104. package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +1524 -1256
  105. package/src/system/core/tokens/palettes/deepPurpleColorPalette.stories.tsx +42 -28
  106. package/src/system/core/tokens/radius.stories.tsx +39 -0
  107. package/src/system/core/tokens/size.stories.tsx +39 -0
  108. package/src/system/core/tokens/space.stories.tsx +40 -0
  109. package/src/tamagui.config.ts +3 -3
  110. package/dist/definitions/system/core/breakpoints/constants.d.ts.map +0 -1
  111. package/src/system/core/breakpoints/__snapshots__/breakpoints.stories.tsx.snap +0 -49
  112. package/src/system/core/breakpoints/__snapshots_web__/breakpoints.stories.tsx.snap +0 -43
  113. package/src/system/core/breakpoints/breakpoints.stories.tsx +0 -45
  114. /package/src/system/core/{breakpoints/constants.ts → tokens/breakpoints.ts} +0 -0
@@ -0,0 +1,383 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`Bumper/Core/Tokens Radius 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
+ "flexDirection": "column",
19
+ "gap": 24,
20
+ }
21
+ }
22
+ >
23
+ <Text
24
+ style={
25
+ {
26
+ "color": "#505050",
27
+ "fontFamily": "GTStandard",
28
+ "fontSize": 16,
29
+ "letterSpacing": 0.3,
30
+ "lineHeight": 24,
31
+ }
32
+ }
33
+ suppressHighlighting={true}
34
+ >
35
+ Radius tokens define consistent border-radius values for rounded corners.
36
+ </Text>
37
+ <View
38
+ style={
39
+ {
40
+ "flexDirection": "column",
41
+ "gap": 8,
42
+ }
43
+ }
44
+ >
45
+ <View
46
+ style={
47
+ {
48
+ "alignItems": "center",
49
+ "flexDirection": "row",
50
+ "gap": 16,
51
+ }
52
+ }
53
+ >
54
+ <View
55
+ style={
56
+ {
57
+ "width": 150,
58
+ }
59
+ }
60
+ >
61
+ <Text
62
+ style={
63
+ {
64
+ "fontFamily": "GTStandardBold",
65
+ "fontSize": 14,
66
+ "letterSpacing": 0.3,
67
+ "lineHeight": 20,
68
+ }
69
+ }
70
+ suppressHighlighting={true}
71
+ >
72
+ $
73
+ radius.none
74
+ </Text>
75
+ </View>
76
+ <View
77
+ style={
78
+ {
79
+ "width": 80,
80
+ }
81
+ }
82
+ >
83
+ <Text
84
+ style={
85
+ {
86
+ "color": "#505050",
87
+ "fontFamily": "GTStandard",
88
+ "fontSize": 14,
89
+ "letterSpacing": 0.3,
90
+ "lineHeight": 20,
91
+ }
92
+ }
93
+ suppressHighlighting={true}
94
+ >
95
+ 0px
96
+ </Text>
97
+ </View>
98
+ <View
99
+ style={
100
+ {
101
+ "backgroundColor": "#563B56",
102
+ "borderBottomLeftRadius": 0,
103
+ "borderBottomRightRadius": 0,
104
+ "borderTopLeftRadius": 0,
105
+ "borderTopRightRadius": 0,
106
+ "height": 64,
107
+ "width": 64,
108
+ }
109
+ }
110
+ />
111
+ </View>
112
+ <View
113
+ style={
114
+ {
115
+ "alignItems": "center",
116
+ "flexDirection": "row",
117
+ "gap": 16,
118
+ }
119
+ }
120
+ >
121
+ <View
122
+ style={
123
+ {
124
+ "width": 150,
125
+ }
126
+ }
127
+ >
128
+ <Text
129
+ style={
130
+ {
131
+ "fontFamily": "GTStandardBold",
132
+ "fontSize": 14,
133
+ "letterSpacing": 0.3,
134
+ "lineHeight": 20,
135
+ }
136
+ }
137
+ suppressHighlighting={true}
138
+ >
139
+ $
140
+ radius.s
141
+ </Text>
142
+ </View>
143
+ <View
144
+ style={
145
+ {
146
+ "width": 80,
147
+ }
148
+ }
149
+ >
150
+ <Text
151
+ style={
152
+ {
153
+ "color": "#505050",
154
+ "fontFamily": "GTStandard",
155
+ "fontSize": 14,
156
+ "letterSpacing": 0.3,
157
+ "lineHeight": 20,
158
+ }
159
+ }
160
+ suppressHighlighting={true}
161
+ >
162
+ 2px
163
+ </Text>
164
+ </View>
165
+ <View
166
+ style={
167
+ {
168
+ "backgroundColor": "#563B56",
169
+ "borderBottomLeftRadius": 2,
170
+ "borderBottomRightRadius": 2,
171
+ "borderTopLeftRadius": 2,
172
+ "borderTopRightRadius": 2,
173
+ "height": 64,
174
+ "width": 64,
175
+ }
176
+ }
177
+ />
178
+ </View>
179
+ <View
180
+ style={
181
+ {
182
+ "alignItems": "center",
183
+ "flexDirection": "row",
184
+ "gap": 16,
185
+ }
186
+ }
187
+ >
188
+ <View
189
+ style={
190
+ {
191
+ "width": 150,
192
+ }
193
+ }
194
+ >
195
+ <Text
196
+ style={
197
+ {
198
+ "fontFamily": "GTStandardBold",
199
+ "fontSize": 14,
200
+ "letterSpacing": 0.3,
201
+ "lineHeight": 20,
202
+ }
203
+ }
204
+ suppressHighlighting={true}
205
+ >
206
+ $
207
+ radius.m
208
+ </Text>
209
+ </View>
210
+ <View
211
+ style={
212
+ {
213
+ "width": 80,
214
+ }
215
+ }
216
+ >
217
+ <Text
218
+ style={
219
+ {
220
+ "color": "#505050",
221
+ "fontFamily": "GTStandard",
222
+ "fontSize": 14,
223
+ "letterSpacing": 0.3,
224
+ "lineHeight": 20,
225
+ }
226
+ }
227
+ suppressHighlighting={true}
228
+ >
229
+ 4px
230
+ </Text>
231
+ </View>
232
+ <View
233
+ style={
234
+ {
235
+ "backgroundColor": "#563B56",
236
+ "borderBottomLeftRadius": 4,
237
+ "borderBottomRightRadius": 4,
238
+ "borderTopLeftRadius": 4,
239
+ "borderTopRightRadius": 4,
240
+ "height": 64,
241
+ "width": 64,
242
+ }
243
+ }
244
+ />
245
+ </View>
246
+ <View
247
+ style={
248
+ {
249
+ "alignItems": "center",
250
+ "flexDirection": "row",
251
+ "gap": 16,
252
+ }
253
+ }
254
+ >
255
+ <View
256
+ style={
257
+ {
258
+ "width": 150,
259
+ }
260
+ }
261
+ >
262
+ <Text
263
+ style={
264
+ {
265
+ "fontFamily": "GTStandardBold",
266
+ "fontSize": 14,
267
+ "letterSpacing": 0.3,
268
+ "lineHeight": 20,
269
+ }
270
+ }
271
+ suppressHighlighting={true}
272
+ >
273
+ $
274
+ radius.l
275
+ </Text>
276
+ </View>
277
+ <View
278
+ style={
279
+ {
280
+ "width": 80,
281
+ }
282
+ }
283
+ >
284
+ <Text
285
+ style={
286
+ {
287
+ "color": "#505050",
288
+ "fontFamily": "GTStandard",
289
+ "fontSize": 14,
290
+ "letterSpacing": 0.3,
291
+ "lineHeight": 20,
292
+ }
293
+ }
294
+ suppressHighlighting={true}
295
+ >
296
+ 8px
297
+ </Text>
298
+ </View>
299
+ <View
300
+ style={
301
+ {
302
+ "backgroundColor": "#563B56",
303
+ "borderBottomLeftRadius": 8,
304
+ "borderBottomRightRadius": 8,
305
+ "borderTopLeftRadius": 8,
306
+ "borderTopRightRadius": 8,
307
+ "height": 64,
308
+ "width": 64,
309
+ }
310
+ }
311
+ />
312
+ </View>
313
+ <View
314
+ style={
315
+ {
316
+ "alignItems": "center",
317
+ "flexDirection": "row",
318
+ "gap": 16,
319
+ }
320
+ }
321
+ >
322
+ <View
323
+ style={
324
+ {
325
+ "width": 150,
326
+ }
327
+ }
328
+ >
329
+ <Text
330
+ style={
331
+ {
332
+ "fontFamily": "GTStandardBold",
333
+ "fontSize": 14,
334
+ "letterSpacing": 0.3,
335
+ "lineHeight": 20,
336
+ }
337
+ }
338
+ suppressHighlighting={true}
339
+ >
340
+ $
341
+ radius.circle
342
+ </Text>
343
+ </View>
344
+ <View
345
+ style={
346
+ {
347
+ "width": 80,
348
+ }
349
+ }
350
+ >
351
+ <Text
352
+ style={
353
+ {
354
+ "color": "#505050",
355
+ "fontFamily": "GTStandard",
356
+ "fontSize": 14,
357
+ "letterSpacing": 0.3,
358
+ "lineHeight": 20,
359
+ }
360
+ }
361
+ suppressHighlighting={true}
362
+ >
363
+ circle
364
+ </Text>
365
+ </View>
366
+ <View
367
+ style={
368
+ {
369
+ "backgroundColor": "#563B56",
370
+ "borderBottomLeftRadius": 1000,
371
+ "borderBottomRightRadius": 1000,
372
+ "borderTopLeftRadius": 1000,
373
+ "borderTopRightRadius": 1000,
374
+ "height": 64,
375
+ "width": 64,
376
+ }
377
+ }
378
+ />
379
+ </View>
380
+ </View>
381
+ </View>
382
+ </RNCSafeAreaProvider>
383
+ `;