@ornikar/bumper 1.1.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/.eslintrc.json +3 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +20 -0
- package/dist/definitions/components/breakpoints/SwitchBreakpoins.d.ts +5 -0
- package/dist/definitions/components/breakpoints/SwitchBreakpoins.d.ts.map +1 -0
- package/dist/definitions/components/breakpoints/hooks/useBreakpointValue.d.ts +3 -0
- package/dist/definitions/components/breakpoints/hooks/useBreakpointValue.d.ts.map +1 -0
- package/dist/definitions/components/breakpoints/hooks/useCurrentBreakpointName.d.ts +3 -0
- package/dist/definitions/components/breakpoints/hooks/useCurrentBreakpointName.d.ts.map +1 -0
- package/dist/definitions/components/breakpoints/hooks/useWindowSize.d.ts +2 -0
- package/dist/definitions/components/breakpoints/hooks/useWindowSize.d.ts.map +1 -0
- package/dist/definitions/components/breakpoints/utils/breakpointsUtils.d.ts +10 -0
- package/dist/definitions/components/breakpoints/utils/breakpointsUtils.d.ts.map +1 -0
- package/dist/definitions/components/primitives/Stacks.d.ts +9 -0
- package/dist/definitions/components/primitives/Stacks.d.ts.map +1 -0
- package/dist/definitions/components/primitives/View.d.ts +5 -0
- package/dist/definitions/components/primitives/View.d.ts.map +1 -0
- package/dist/definitions/components/typography/Typograhy.d.ts +40 -0
- package/dist/definitions/components/typography/Typograhy.d.ts.map +1 -0
- package/dist/definitions/components/typography/utils/getTypeAndWeightValues.d.ts +9 -0
- package/dist/definitions/components/typography/utils/getTypeAndWeightValues.d.ts.map +1 -0
- package/dist/definitions/core/BumperDecorator.d.ts +2 -0
- package/dist/definitions/core/BumperDecorator.d.ts.map +1 -0
- package/dist/definitions/core/BumperProvider.d.ts +6 -0
- package/dist/definitions/core/BumperProvider.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +10 -0
- package/dist/definitions/index.d.ts.map +1 -0
- package/dist/definitions/story-components/StorySection.d.ts +20 -0
- package/dist/definitions/story-components/StorySection.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryTitle.d.ts +6 -0
- package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -0
- package/dist/definitions/tamagui.config.d.ts +148 -0
- package/dist/definitions/tamagui.config.d.ts.map +1 -0
- package/dist/definitions/themes/light.d.ts +53 -0
- package/dist/definitions/themes/light.d.ts.map +1 -0
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts +86 -0
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts.map +1 -0
- package/dist/definitions/themes/utils/breakpoints.d.ts +15 -0
- package/dist/definitions/themes/utils/breakpoints.d.ts.map +1 -0
- package/dist/definitions/tokens/fonts.d.ts +18 -0
- package/dist/definitions/tokens/fonts.d.ts.map +1 -0
- package/dist/definitions/tokens/size.d.ts +11 -0
- package/dist/definitions/tokens/size.d.ts.map +1 -0
- package/dist/definitions/tokens/space.d.ts +16 -0
- package/dist/definitions/tokens/space.d.ts.map +1 -0
- package/dist/index-metro.es.android.js +396 -0
- package/dist/index-metro.es.android.js.map +1 -0
- package/dist/index-metro.es.ios.js +396 -0
- package/dist/index-metro.es.ios.js.map +1 -0
- package/dist/index-node-22.17.cjs.js +405 -0
- package/dist/index-node-22.17.cjs.js.map +1 -0
- package/dist/index-node-22.17.cjs.web.js +405 -0
- package/dist/index-node-22.17.cjs.web.js.map +1 -0
- package/dist/index-node-22.17.es.mjs +395 -0
- package/dist/index-node-22.17.es.mjs.map +1 -0
- package/dist/index-node-22.17.es.web.mjs +395 -0
- package/dist/index-node-22.17.es.web.mjs.map +1 -0
- package/dist/index.es.js +392 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.es.web.js +392 -0
- package/dist/index.es.web.js.map +1 -0
- package/dist/tsbuildinfo +1 -0
- package/package.json +79 -0
- package/src/.eslintrc.json +20 -0
- package/src/components/breakpoints/SwitchBreakpoins.tsx +12 -0
- package/src/components/breakpoints/__snapshots__/breakpoints.stories.tsx.snap +49 -0
- package/src/components/breakpoints/__snapshots_web__/breakpoints.stories.tsx.snap +43 -0
- package/src/components/breakpoints/breakpoints.stories.tsx +45 -0
- package/src/components/breakpoints/hooks/useBreakpointValue.ts +12 -0
- package/src/components/breakpoints/hooks/useCurrentBreakpointName.ts +20 -0
- package/src/components/breakpoints/hooks/useWindowSize.ts +1 -0
- package/src/components/breakpoints/utils/breakpointsUtils.test.ts +85 -0
- package/src/components/breakpoints/utils/breakpointsUtils.ts +28 -0
- package/src/components/primitives/Stack.stories.tsx +62 -0
- package/src/components/primitives/Stacks.ts +19 -0
- package/src/components/primitives/View.stories.tsx +13 -0
- package/src/components/primitives/View.ts +5 -0
- package/src/components/primitives/__snapshots__/Stack.stories.tsx.snap +376 -0
- package/src/components/primitives/__snapshots__/View.stories.tsx.snap +25 -0
- package/src/components/primitives/__snapshots_web__/Stack.stories.tsx.snap +190 -0
- package/src/components/primitives/__snapshots_web__/View.stories.tsx.snap +28 -0
- package/src/components/typography/Typograhy.tsx +130 -0
- package/src/components/typography/Typography.stories.tsx +144 -0
- package/src/components/typography/__snapshots__/Typography.stories.tsx.snap +1471 -0
- package/src/components/typography/__snapshots_web__/Typography.stories.tsx.snap +605 -0
- package/src/components/typography/utils/getTypeAndWeightValues.test.tsx +147 -0
- package/src/components/typography/utils/getTypeAndWeightValues.tsx +32 -0
- package/src/core/BumperDecorator.tsx +11 -0
- package/src/core/BumperProvider.tsx +15 -0
- package/src/index.ts +11 -0
- package/src/story-components/StorySection.tsx +70 -0
- package/src/story-components/StoryTitle.tsx +16 -0
- package/src/tamagui.config.ts +43 -0
- package/src/themes/__snapshots__/light.stories.tsx.snap +2192 -0
- package/src/themes/__snapshots_web__/light.stories.tsx.snap +985 -0
- package/src/themes/light.stories.tsx +38 -0
- package/src/themes/light.ts +59 -0
- package/src/themes/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +2770 -0
- package/src/themes/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +1213 -0
- package/src/themes/palettes/deepPurpleColorPalette.stories.tsx +37 -0
- package/src/themes/palettes/deepPurpleColorPalette.ts +147 -0
- package/src/themes/utils/breakpoints.ts +15 -0
- package/src/tokens/fonts.ts +95 -0
- package/src/tokens/size.ts +10 -0
- package/src/tokens/space.ts +15 -0
- package/tsconfig.build.json +25 -0
- package/tsconfig.eslint.json +6 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`bumper/Primitives/Stacks Stacks 1`] = `
|
|
4
|
+
<RNCSafeAreaProvider
|
|
5
|
+
onInsetsChange={[Function]}
|
|
6
|
+
style={
|
|
7
|
+
[
|
|
8
|
+
{
|
|
9
|
+
"flex": 1,
|
|
10
|
+
},
|
|
11
|
+
undefined,
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
>
|
|
15
|
+
<Text
|
|
16
|
+
suppressHighlighting={true}
|
|
17
|
+
>
|
|
18
|
+
- space is deprecated, use gap instead - direction from NB is now flexDirection- reversed from NB is now direction (rtl/ltr)
|
|
19
|
+
</Text>
|
|
20
|
+
<View
|
|
21
|
+
style={
|
|
22
|
+
{
|
|
23
|
+
"flexDirection": "column",
|
|
24
|
+
"paddingBottom": 4,
|
|
25
|
+
"paddingLeft": 4,
|
|
26
|
+
"paddingRight": 4,
|
|
27
|
+
"paddingTop": 4,
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
>
|
|
31
|
+
<Text
|
|
32
|
+
style={
|
|
33
|
+
{
|
|
34
|
+
"fontFamily": "GTStandardSemibold",
|
|
35
|
+
"fontSize": 38,
|
|
36
|
+
"letterSpacing": 0,
|
|
37
|
+
"lineHeight": 48,
|
|
38
|
+
"marginBottom": 4,
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
suppressHighlighting={true}
|
|
42
|
+
>
|
|
43
|
+
Stack
|
|
44
|
+
</Text>
|
|
45
|
+
<View
|
|
46
|
+
style={
|
|
47
|
+
{
|
|
48
|
+
"flexDirection": "column",
|
|
49
|
+
"paddingBottom": 4,
|
|
50
|
+
"paddingLeft": 4,
|
|
51
|
+
"paddingRight": 4,
|
|
52
|
+
"paddingTop": 4,
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
>
|
|
56
|
+
<Text
|
|
57
|
+
style={
|
|
58
|
+
{
|
|
59
|
+
"fontFamily": "GTStandardSemibold",
|
|
60
|
+
"fontSize": 24,
|
|
61
|
+
"letterSpacing": 0,
|
|
62
|
+
"lineHeight": 32,
|
|
63
|
+
"marginBottom": 4,
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
suppressHighlighting={true}
|
|
67
|
+
>
|
|
68
|
+
Demo
|
|
69
|
+
</Text>
|
|
70
|
+
<View
|
|
71
|
+
style={
|
|
72
|
+
{
|
|
73
|
+
"flexDirection": "column-reverse",
|
|
74
|
+
"gap": 2,
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
>
|
|
78
|
+
<Text
|
|
79
|
+
style={
|
|
80
|
+
{
|
|
81
|
+
"fontFamily": "GTStandard",
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
suppressHighlighting={true}
|
|
85
|
+
>
|
|
86
|
+
1
|
|
87
|
+
</Text>
|
|
88
|
+
<Text
|
|
89
|
+
style={
|
|
90
|
+
{
|
|
91
|
+
"fontFamily": "GTStandard",
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
suppressHighlighting={true}
|
|
95
|
+
>
|
|
96
|
+
2
|
|
97
|
+
</Text>
|
|
98
|
+
</View>
|
|
99
|
+
</View>
|
|
100
|
+
</View>
|
|
101
|
+
<View
|
|
102
|
+
style={
|
|
103
|
+
{
|
|
104
|
+
"flexDirection": "column",
|
|
105
|
+
"paddingBottom": 4,
|
|
106
|
+
"paddingLeft": 4,
|
|
107
|
+
"paddingRight": 4,
|
|
108
|
+
"paddingTop": 4,
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
>
|
|
112
|
+
<Text
|
|
113
|
+
style={
|
|
114
|
+
{
|
|
115
|
+
"fontFamily": "GTStandardSemibold",
|
|
116
|
+
"fontSize": 38,
|
|
117
|
+
"letterSpacing": 0,
|
|
118
|
+
"lineHeight": 48,
|
|
119
|
+
"marginBottom": 4,
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
suppressHighlighting={true}
|
|
123
|
+
>
|
|
124
|
+
HStack
|
|
125
|
+
</Text>
|
|
126
|
+
<View
|
|
127
|
+
style={
|
|
128
|
+
{
|
|
129
|
+
"flexDirection": "column",
|
|
130
|
+
"paddingBottom": 4,
|
|
131
|
+
"paddingLeft": 4,
|
|
132
|
+
"paddingRight": 4,
|
|
133
|
+
"paddingTop": 4,
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
>
|
|
137
|
+
<Text
|
|
138
|
+
style={
|
|
139
|
+
{
|
|
140
|
+
"fontFamily": "GTStandardSemibold",
|
|
141
|
+
"fontSize": 24,
|
|
142
|
+
"letterSpacing": 0,
|
|
143
|
+
"lineHeight": 32,
|
|
144
|
+
"marginBottom": 4,
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
suppressHighlighting={true}
|
|
148
|
+
>
|
|
149
|
+
Default
|
|
150
|
+
</Text>
|
|
151
|
+
<View
|
|
152
|
+
style={
|
|
153
|
+
{
|
|
154
|
+
"flexDirection": "row",
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
>
|
|
158
|
+
<Text
|
|
159
|
+
style={
|
|
160
|
+
{
|
|
161
|
+
"fontFamily": "GTStandard",
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
suppressHighlighting={true}
|
|
165
|
+
>
|
|
166
|
+
1
|
|
167
|
+
</Text>
|
|
168
|
+
<Text
|
|
169
|
+
style={
|
|
170
|
+
{
|
|
171
|
+
"fontFamily": "GTStandard",
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
suppressHighlighting={true}
|
|
175
|
+
>
|
|
176
|
+
2
|
|
177
|
+
</Text>
|
|
178
|
+
</View>
|
|
179
|
+
</View>
|
|
180
|
+
<View
|
|
181
|
+
style={
|
|
182
|
+
{
|
|
183
|
+
"flexDirection": "column",
|
|
184
|
+
"paddingBottom": 4,
|
|
185
|
+
"paddingLeft": 4,
|
|
186
|
+
"paddingRight": 4,
|
|
187
|
+
"paddingTop": 4,
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
>
|
|
191
|
+
<Text
|
|
192
|
+
style={
|
|
193
|
+
{
|
|
194
|
+
"fontFamily": "GTStandardSemibold",
|
|
195
|
+
"fontSize": 24,
|
|
196
|
+
"letterSpacing": 0,
|
|
197
|
+
"lineHeight": 32,
|
|
198
|
+
"marginBottom": 4,
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
suppressHighlighting={true}
|
|
202
|
+
>
|
|
203
|
+
With gap (space)
|
|
204
|
+
</Text>
|
|
205
|
+
<View
|
|
206
|
+
style={
|
|
207
|
+
{
|
|
208
|
+
"flexDirection": "row",
|
|
209
|
+
"gap": 2,
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
>
|
|
213
|
+
<Text
|
|
214
|
+
style={
|
|
215
|
+
{
|
|
216
|
+
"backgroundColor": "#563B56",
|
|
217
|
+
"fontFamily": "GTStandard",
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
suppressHighlighting={true}
|
|
221
|
+
>
|
|
222
|
+
1
|
|
223
|
+
</Text>
|
|
224
|
+
<Text
|
|
225
|
+
style={
|
|
226
|
+
{
|
|
227
|
+
"backgroundColor": "#563B56",
|
|
228
|
+
"fontFamily": "GTStandard",
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
suppressHighlighting={true}
|
|
232
|
+
>
|
|
233
|
+
2
|
|
234
|
+
</Text>
|
|
235
|
+
</View>
|
|
236
|
+
</View>
|
|
237
|
+
</View>
|
|
238
|
+
<View
|
|
239
|
+
style={
|
|
240
|
+
{
|
|
241
|
+
"flexDirection": "column",
|
|
242
|
+
"paddingBottom": 4,
|
|
243
|
+
"paddingLeft": 4,
|
|
244
|
+
"paddingRight": 4,
|
|
245
|
+
"paddingTop": 4,
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
>
|
|
249
|
+
<Text
|
|
250
|
+
style={
|
|
251
|
+
{
|
|
252
|
+
"fontFamily": "GTStandardSemibold",
|
|
253
|
+
"fontSize": 38,
|
|
254
|
+
"letterSpacing": 0,
|
|
255
|
+
"lineHeight": 48,
|
|
256
|
+
"marginBottom": 4,
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
suppressHighlighting={true}
|
|
260
|
+
>
|
|
261
|
+
VStack
|
|
262
|
+
</Text>
|
|
263
|
+
<View
|
|
264
|
+
style={
|
|
265
|
+
{
|
|
266
|
+
"flexDirection": "column",
|
|
267
|
+
"paddingBottom": 4,
|
|
268
|
+
"paddingLeft": 4,
|
|
269
|
+
"paddingRight": 4,
|
|
270
|
+
"paddingTop": 4,
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
>
|
|
274
|
+
<Text
|
|
275
|
+
style={
|
|
276
|
+
{
|
|
277
|
+
"fontFamily": "GTStandardSemibold",
|
|
278
|
+
"fontSize": 24,
|
|
279
|
+
"letterSpacing": 0,
|
|
280
|
+
"lineHeight": 32,
|
|
281
|
+
"marginBottom": 4,
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
suppressHighlighting={true}
|
|
285
|
+
>
|
|
286
|
+
Default
|
|
287
|
+
</Text>
|
|
288
|
+
<View
|
|
289
|
+
style={
|
|
290
|
+
{
|
|
291
|
+
"flexDirection": "column",
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
>
|
|
295
|
+
<Text
|
|
296
|
+
style={
|
|
297
|
+
{
|
|
298
|
+
"fontFamily": "GTStandard",
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
suppressHighlighting={true}
|
|
302
|
+
>
|
|
303
|
+
1
|
|
304
|
+
</Text>
|
|
305
|
+
<Text
|
|
306
|
+
style={
|
|
307
|
+
{
|
|
308
|
+
"fontFamily": "GTStandard",
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
suppressHighlighting={true}
|
|
312
|
+
>
|
|
313
|
+
2
|
|
314
|
+
</Text>
|
|
315
|
+
</View>
|
|
316
|
+
</View>
|
|
317
|
+
<View
|
|
318
|
+
style={
|
|
319
|
+
{
|
|
320
|
+
"flexDirection": "column",
|
|
321
|
+
"paddingBottom": 4,
|
|
322
|
+
"paddingLeft": 4,
|
|
323
|
+
"paddingRight": 4,
|
|
324
|
+
"paddingTop": 4,
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
>
|
|
328
|
+
<Text
|
|
329
|
+
style={
|
|
330
|
+
{
|
|
331
|
+
"fontFamily": "GTStandardSemibold",
|
|
332
|
+
"fontSize": 24,
|
|
333
|
+
"letterSpacing": 0,
|
|
334
|
+
"lineHeight": 32,
|
|
335
|
+
"marginBottom": 4,
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
suppressHighlighting={true}
|
|
339
|
+
>
|
|
340
|
+
With gap (space)
|
|
341
|
+
</Text>
|
|
342
|
+
<View
|
|
343
|
+
style={
|
|
344
|
+
{
|
|
345
|
+
"flexDirection": "column",
|
|
346
|
+
"gap": 2,
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
>
|
|
350
|
+
<Text
|
|
351
|
+
style={
|
|
352
|
+
{
|
|
353
|
+
"backgroundColor": "#563B56",
|
|
354
|
+
"fontFamily": "GTStandard",
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
suppressHighlighting={true}
|
|
358
|
+
>
|
|
359
|
+
1
|
|
360
|
+
</Text>
|
|
361
|
+
<Text
|
|
362
|
+
style={
|
|
363
|
+
{
|
|
364
|
+
"backgroundColor": "#563B56",
|
|
365
|
+
"fontFamily": "GTStandard",
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
suppressHighlighting={true}
|
|
369
|
+
>
|
|
370
|
+
2
|
|
371
|
+
</Text>
|
|
372
|
+
</View>
|
|
373
|
+
</View>
|
|
374
|
+
</View>
|
|
375
|
+
</RNCSafeAreaProvider>
|
|
376
|
+
`;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`bumper/Primitives/View View 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
|
+
"height": 500,
|
|
20
|
+
"width": 50,
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/>
|
|
24
|
+
</RNCSafeAreaProvider>
|
|
25
|
+
`;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`bumper/Primitives/Stacks Stacks 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<div
|
|
6
|
+
class="css-view-175oi2r r-flex-13awgt0"
|
|
7
|
+
>
|
|
8
|
+
<span
|
|
9
|
+
class=""
|
|
10
|
+
style="display: contents;"
|
|
11
|
+
>
|
|
12
|
+
<span
|
|
13
|
+
class=" "
|
|
14
|
+
style="display: contents;"
|
|
15
|
+
>
|
|
16
|
+
<span
|
|
17
|
+
class=" t_light is_Theme"
|
|
18
|
+
style="display: contents;"
|
|
19
|
+
>
|
|
20
|
+
<span
|
|
21
|
+
class="font_unset _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px"
|
|
22
|
+
>
|
|
23
|
+
- space is deprecated, use gap instead - direction from NB is now flexDirection- reversed from NB is now direction (rtl/ltr)
|
|
24
|
+
</span>
|
|
25
|
+
<div
|
|
26
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
27
|
+
>
|
|
28
|
+
<span
|
|
29
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347201 _lineHeight-f-lineHeigh1544154440 _letterSpacing-f-letterSpa1195674547 _fontWeight-f-weight-se1074390495"
|
|
30
|
+
data-disable-theme="true"
|
|
31
|
+
>
|
|
32
|
+
Stack
|
|
33
|
+
</span>
|
|
34
|
+
<div
|
|
35
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
36
|
+
>
|
|
37
|
+
<span
|
|
38
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
39
|
+
data-disable-theme="true"
|
|
40
|
+
>
|
|
41
|
+
Demo
|
|
42
|
+
</span>
|
|
43
|
+
<div
|
|
44
|
+
class="_display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column-reve113220 _gap-t-space-2"
|
|
45
|
+
>
|
|
46
|
+
<span
|
|
47
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
48
|
+
data-disable-theme="true"
|
|
49
|
+
>
|
|
50
|
+
1
|
|
51
|
+
</span>
|
|
52
|
+
<span
|
|
53
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
54
|
+
data-disable-theme="true"
|
|
55
|
+
>
|
|
56
|
+
2
|
|
57
|
+
</span>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div
|
|
62
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
63
|
+
>
|
|
64
|
+
<span
|
|
65
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347201 _lineHeight-f-lineHeigh1544154440 _letterSpacing-f-letterSpa1195674547 _fontWeight-f-weight-se1074390495"
|
|
66
|
+
data-disable-theme="true"
|
|
67
|
+
>
|
|
68
|
+
HStack
|
|
69
|
+
</span>
|
|
70
|
+
<div
|
|
71
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
72
|
+
>
|
|
73
|
+
<span
|
|
74
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
75
|
+
data-disable-theme="true"
|
|
76
|
+
>
|
|
77
|
+
Default
|
|
78
|
+
</span>
|
|
79
|
+
<div
|
|
80
|
+
class="is_HStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-row"
|
|
81
|
+
>
|
|
82
|
+
<span
|
|
83
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
84
|
+
data-disable-theme="true"
|
|
85
|
+
>
|
|
86
|
+
1
|
|
87
|
+
</span>
|
|
88
|
+
<span
|
|
89
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
90
|
+
data-disable-theme="true"
|
|
91
|
+
>
|
|
92
|
+
2
|
|
93
|
+
</span>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
<div
|
|
97
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
98
|
+
>
|
|
99
|
+
<span
|
|
100
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
101
|
+
data-disable-theme="true"
|
|
102
|
+
>
|
|
103
|
+
With gap (space)
|
|
104
|
+
</span>
|
|
105
|
+
<div
|
|
106
|
+
class="is_HStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-row _gap-t-space-2"
|
|
107
|
+
>
|
|
108
|
+
<span
|
|
109
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _backgroundColor-bg--accent-1633109644"
|
|
110
|
+
data-disable-theme="true"
|
|
111
|
+
>
|
|
112
|
+
1
|
|
113
|
+
</span>
|
|
114
|
+
<span
|
|
115
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _backgroundColor-bg--accent-1633109644"
|
|
116
|
+
data-disable-theme="true"
|
|
117
|
+
>
|
|
118
|
+
2
|
|
119
|
+
</span>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
<div
|
|
124
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
125
|
+
>
|
|
126
|
+
<span
|
|
127
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347201 _lineHeight-f-lineHeigh1544154440 _letterSpacing-f-letterSpa1195674547 _fontWeight-f-weight-se1074390495"
|
|
128
|
+
data-disable-theme="true"
|
|
129
|
+
>
|
|
130
|
+
VStack
|
|
131
|
+
</span>
|
|
132
|
+
<div
|
|
133
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
134
|
+
>
|
|
135
|
+
<span
|
|
136
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
137
|
+
data-disable-theme="true"
|
|
138
|
+
>
|
|
139
|
+
Default
|
|
140
|
+
</span>
|
|
141
|
+
<div
|
|
142
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column"
|
|
143
|
+
>
|
|
144
|
+
<span
|
|
145
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
146
|
+
data-disable-theme="true"
|
|
147
|
+
>
|
|
148
|
+
1
|
|
149
|
+
</span>
|
|
150
|
+
<span
|
|
151
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
152
|
+
data-disable-theme="true"
|
|
153
|
+
>
|
|
154
|
+
2
|
|
155
|
+
</span>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
<div
|
|
159
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
160
|
+
>
|
|
161
|
+
<span
|
|
162
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
163
|
+
data-disable-theme="true"
|
|
164
|
+
>
|
|
165
|
+
With gap (space)
|
|
166
|
+
</span>
|
|
167
|
+
<div
|
|
168
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _gap-t-space-2"
|
|
169
|
+
>
|
|
170
|
+
<span
|
|
171
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _backgroundColor-bg--accent-1633109644"
|
|
172
|
+
data-disable-theme="true"
|
|
173
|
+
>
|
|
174
|
+
1
|
|
175
|
+
</span>
|
|
176
|
+
<span
|
|
177
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _backgroundColor-bg--accent-1633109644"
|
|
178
|
+
data-disable-theme="true"
|
|
179
|
+
>
|
|
180
|
+
2
|
|
181
|
+
</span>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
</span>
|
|
186
|
+
</span>
|
|
187
|
+
</span>
|
|
188
|
+
</div>
|
|
189
|
+
</DocumentFragment>
|
|
190
|
+
`;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`bumper/Primitives/View View 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<div
|
|
6
|
+
class="css-view-175oi2r r-flex-13awgt0"
|
|
7
|
+
>
|
|
8
|
+
<span
|
|
9
|
+
class=""
|
|
10
|
+
style="display: contents;"
|
|
11
|
+
>
|
|
12
|
+
<span
|
|
13
|
+
class=" "
|
|
14
|
+
style="display: contents;"
|
|
15
|
+
>
|
|
16
|
+
<span
|
|
17
|
+
class=" t_light is_Theme"
|
|
18
|
+
style="display: contents;"
|
|
19
|
+
>
|
|
20
|
+
<div
|
|
21
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-50px _height-500px _backgroundColor-bg--base--m757972454"
|
|
22
|
+
/>
|
|
23
|
+
</span>
|
|
24
|
+
</span>
|
|
25
|
+
</span>
|
|
26
|
+
</div>
|
|
27
|
+
</DocumentFragment>
|
|
28
|
+
`;
|