@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.
- package/CHANGELOG.md +4 -4
- package/CLAUDE.md +45 -0
- package/dist/definitions/system/core/breakpoints/hooks/useCurrentBreakpointName.d.ts +1 -1
- package/dist/definitions/system/core/breakpoints/hooks/useCurrentBreakpointName.d.ts.map +1 -1
- package/dist/definitions/system/core/breakpoints/utils/breakpointsUtils.d.ts +1 -1
- package/dist/definitions/system/core/breakpoints/utils/breakpointsUtils.d.ts.map +1 -1
- package/dist/definitions/system/core/primitives/Pressable.d.ts +0 -9
- package/dist/definitions/system/core/primitives/Pressable.d.ts.map +1 -1
- package/dist/definitions/system/core/{breakpoints/constants.d.ts → tokens/breakpoints.d.ts} +1 -1
- package/dist/definitions/system/core/tokens/breakpoints.d.ts.map +1 -0
- package/dist/definitions/tamagui.config.d.ts +2 -28
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +42 -26
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +42 -26
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +42 -26
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +42 -26
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +42 -26
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +42 -26
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +36 -20
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +36 -20
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/system/content/typography/Typography.features.stories.tsx +156 -0
- package/src/system/content/typography/Typography.stories.tsx +72 -166
- package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +826 -0
- package/src/system/content/typography/__snapshots__/Typography.stories.tsx.snap +10 -1990
- package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +501 -0
- package/src/system/content/typography/__snapshots_web__/Typography.stories.tsx.snap +7 -808
- package/src/system/core/breakpoints/hooks/useBreakpointValue.test.ts +1 -1
- package/src/system/core/breakpoints/hooks/useCurrentBreakpointName.test.ts +1 -1
- package/src/system/core/breakpoints/hooks/useCurrentBreakpointName.ts +1 -1
- package/src/system/core/breakpoints/utils/breakpointsUtils.test.ts +1 -1
- package/src/system/core/breakpoints/utils/breakpointsUtils.ts +1 -1
- package/src/system/core/primitives/Center.features.stories.tsx +63 -0
- package/src/system/core/primitives/Center.stories.tsx +111 -12
- package/src/system/core/primitives/Pressable.features.stories.tsx +171 -0
- package/src/system/core/primitives/Pressable.stories.tsx +82 -20
- package/src/system/core/primitives/Pressable.tsx +0 -9
- package/src/system/core/primitives/Stack.features.stories.tsx +179 -0
- package/src/system/core/primitives/Stack.stories.tsx +74 -44
- package/src/system/core/primitives/View.features.stories.tsx +452 -0
- package/src/system/core/primitives/View.stories.tsx +122 -9
- package/src/system/core/primitives/__snapshots__/Center.features.stories.tsx.snap +208 -0
- package/src/system/core/primitives/__snapshots__/Center.stories.tsx.snap +13 -8
- package/src/system/core/primitives/__snapshots__/Pressable.features.stories.tsx.snap +470 -0
- package/src/system/core/primitives/__snapshots__/Pressable.stories.tsx.snap +11 -10
- package/src/system/core/primitives/__snapshots__/Stack.features.stories.tsx.snap +1234 -0
- package/src/system/core/primitives/__snapshots__/Stack.stories.tsx.snap +63 -84
- package/src/system/core/primitives/__snapshots__/View.features.stories.tsx.snap +2338 -0
- package/src/system/core/primitives/__snapshots__/View.stories.tsx.snap +6 -4
- package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +107 -0
- package/src/system/core/primitives/__snapshots_web__/Center.stories.tsx.snap +9 -6
- package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +193 -0
- package/src/system/core/primitives/__snapshots_web__/Pressable.stories.tsx.snap +5 -5
- package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +515 -0
- package/src/system/core/primitives/__snapshots_web__/Stack.stories.tsx.snap +30 -22
- package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +941 -0
- package/src/system/core/primitives/__snapshots_web__/View.stories.tsx.snap +3 -3
- package/src/system/core/themes/__snapshots__/light.stories.tsx.snap +3822 -2233
- package/src/system/core/themes/__snapshots_web__/light.stories.tsx.snap +1244 -992
- package/src/system/core/themes/light.stories.tsx +61 -28
- package/src/system/core/tokens/__snapshots__/breakpoints.stories.tsx.snap +423 -0
- package/src/system/core/tokens/__snapshots__/fonts.stories.tsx.snap +1635 -0
- package/src/system/core/tokens/__snapshots__/radius.stories.tsx.snap +383 -0
- package/src/system/core/tokens/__snapshots__/size.stories.tsx.snap +864 -0
- package/src/system/core/tokens/__snapshots__/space.stories.tsx.snap +945 -0
- package/src/system/core/tokens/__snapshots_web__/breakpoints.stories.tsx.snap +194 -0
- package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +729 -0
- package/src/system/core/tokens/__snapshots_web__/radius.stories.tsx.snap +174 -0
- package/src/system/core/tokens/__snapshots_web__/size.stories.tsx.snap +363 -0
- package/src/system/core/tokens/__snapshots_web__/space.stories.tsx.snap +396 -0
- package/src/system/core/tokens/breakpoints.stories.tsx +46 -0
- package/src/system/core/tokens/fonts.stories.tsx +39 -0
- package/src/system/core/tokens/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +4337 -2747
- package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +1525 -1257
- package/src/system/core/tokens/palettes/deepPurpleColorPalette.stories.tsx +42 -28
- package/src/system/core/tokens/radius.stories.tsx +39 -0
- package/src/system/core/tokens/size.stories.tsx +39 -0
- package/src/system/core/tokens/space.stories.tsx +40 -0
- package/src/tamagui.config.ts +3 -3
- package/dist/definitions/system/core/breakpoints/constants.d.ts.map +0 -1
- package/src/system/core/breakpoints/__snapshots__/breakpoints.stories.tsx.snap +0 -49
- package/src/system/core/breakpoints/__snapshots_web__/breakpoints.stories.tsx.snap +0 -43
- package/src/system/core/breakpoints/breakpoints.stories.tsx +0 -45
- /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
|
+
`;
|