@ornikar/bumper 2.8.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.
- package/CHANGELOG.md +15 -0
- package/dist/definitions/index.d.ts +2 -0
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/system/content/icon/Icon.d.ts +21 -0
- package/dist/definitions/system/content/icon/Icon.d.ts.map +1 -0
- package/dist/definitions/system/core/primitives/ScrollView/ScrollView.d.ts +3 -0
- package/dist/definitions/system/core/primitives/ScrollView/ScrollView.d.ts.map +1 -0
- package/dist/index-metro.es.android.js +1 -0
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +1 -0
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +2 -0
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +2 -0
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +1 -0
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +1 -0
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +1 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +1 -0
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +12 -9
- package/src/index.ts +2 -0
- package/src/system/content/icon/Icon.features.stories.tsx +116 -0
- package/src/system/content/icon/Icon.stories.tsx +44 -0
- package/src/system/content/icon/Icon.tsx +53 -0
- package/src/system/content/icon/__snapshots__/Icon.features.stories.tsx.snap +569 -0
- package/src/system/content/icon/__snapshots__/Icon.stories.tsx.snap +29 -0
- package/src/system/content/icon/__snapshots_web__/Icon.features.stories.tsx.snap +309 -0
- package/src/system/content/icon/__snapshots_web__/Icon.stories.tsx.snap +33 -0
- package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +7 -7
- package/src/system/content/typography/__snapshots_web__/Typography.stories.tsx.snap +1 -1
- package/src/system/core/primitives/ScrollView/ScrollView.features.stories.tsx +84 -0
- package/src/system/core/primitives/ScrollView/ScrollView.stories.tsx +63 -0
- package/src/system/core/primitives/ScrollView/ScrollView.ts +2 -0
- package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.features.stories.tsx.snap +1245 -0
- package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.stories.tsx.snap +334 -0
- package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.features.stories.tsx.snap +503 -0
- package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.stories.tsx.snap +138 -0
- package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +2 -2
- package/src/system/core/primitives/__snapshots_web__/Center.stories.tsx.snap +1 -1
- package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +3 -3
- package/src/system/core/primitives/__snapshots_web__/Pressable.stories.tsx.snap +1 -1
- package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +6 -6
- package/src/system/core/primitives/__snapshots_web__/Stack.stories.tsx.snap +1 -1
- package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +11 -11
- package/src/system/core/primitives/__snapshots_web__/View.stories.tsx.snap +1 -1
- package/src/system/core/themes/__snapshots_web__/light.stories.tsx.snap +1 -1
- package/src/system/core/tokens/__snapshots_web__/breakpoints.stories.tsx.snap +1 -1
- package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +1 -1
- package/src/system/core/tokens/__snapshots_web__/radius.stories.tsx.snap +1 -1
- package/src/system/core/tokens/__snapshots_web__/size.stories.tsx.snap +1 -1
- package/src/system/core/tokens/__snapshots_web__/space.stories.tsx.snap +1 -1
- package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +1 -1
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`Bumper/Core/Primitives/ScrollView Default 1`] = `
|
|
4
|
+
<RNCSafeAreaProvider
|
|
5
|
+
onInsetsChange={[Function]}
|
|
6
|
+
style={
|
|
7
|
+
[
|
|
8
|
+
{
|
|
9
|
+
"flex": 1,
|
|
10
|
+
},
|
|
11
|
+
undefined,
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
>
|
|
15
|
+
<RCTScrollView
|
|
16
|
+
contentContainerStyle={
|
|
17
|
+
{
|
|
18
|
+
"gap": 8,
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
scrollEnabled={true}
|
|
22
|
+
showsVerticalScrollIndicator={true}
|
|
23
|
+
style={
|
|
24
|
+
{
|
|
25
|
+
"height": 176,
|
|
26
|
+
"width": 208,
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
>
|
|
30
|
+
<View>
|
|
31
|
+
<View
|
|
32
|
+
style={
|
|
33
|
+
{
|
|
34
|
+
"backgroundColor": "#E9F4FC",
|
|
35
|
+
"borderBottomLeftRadius": 4,
|
|
36
|
+
"borderBottomRightRadius": 4,
|
|
37
|
+
"borderTopLeftRadius": 4,
|
|
38
|
+
"borderTopRightRadius": 4,
|
|
39
|
+
"paddingBottom": 16,
|
|
40
|
+
"paddingLeft": 16,
|
|
41
|
+
"paddingRight": 16,
|
|
42
|
+
"paddingTop": 16,
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
>
|
|
46
|
+
<Text
|
|
47
|
+
style={
|
|
48
|
+
{
|
|
49
|
+
"fontFamily": "GTStandard",
|
|
50
|
+
"fontSize": 14,
|
|
51
|
+
"letterSpacing": 0.3,
|
|
52
|
+
"lineHeight": 20,
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
suppressHighlighting={true}
|
|
56
|
+
>
|
|
57
|
+
Item
|
|
58
|
+
1
|
|
59
|
+
</Text>
|
|
60
|
+
</View>
|
|
61
|
+
<View
|
|
62
|
+
style={
|
|
63
|
+
{
|
|
64
|
+
"backgroundColor": "#E9F4FC",
|
|
65
|
+
"borderBottomLeftRadius": 4,
|
|
66
|
+
"borderBottomRightRadius": 4,
|
|
67
|
+
"borderTopLeftRadius": 4,
|
|
68
|
+
"borderTopRightRadius": 4,
|
|
69
|
+
"paddingBottom": 16,
|
|
70
|
+
"paddingLeft": 16,
|
|
71
|
+
"paddingRight": 16,
|
|
72
|
+
"paddingTop": 16,
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
>
|
|
76
|
+
<Text
|
|
77
|
+
style={
|
|
78
|
+
{
|
|
79
|
+
"fontFamily": "GTStandard",
|
|
80
|
+
"fontSize": 14,
|
|
81
|
+
"letterSpacing": 0.3,
|
|
82
|
+
"lineHeight": 20,
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
suppressHighlighting={true}
|
|
86
|
+
>
|
|
87
|
+
Item
|
|
88
|
+
2
|
|
89
|
+
</Text>
|
|
90
|
+
</View>
|
|
91
|
+
<View
|
|
92
|
+
style={
|
|
93
|
+
{
|
|
94
|
+
"backgroundColor": "#E9F4FC",
|
|
95
|
+
"borderBottomLeftRadius": 4,
|
|
96
|
+
"borderBottomRightRadius": 4,
|
|
97
|
+
"borderTopLeftRadius": 4,
|
|
98
|
+
"borderTopRightRadius": 4,
|
|
99
|
+
"paddingBottom": 16,
|
|
100
|
+
"paddingLeft": 16,
|
|
101
|
+
"paddingRight": 16,
|
|
102
|
+
"paddingTop": 16,
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
>
|
|
106
|
+
<Text
|
|
107
|
+
style={
|
|
108
|
+
{
|
|
109
|
+
"fontFamily": "GTStandard",
|
|
110
|
+
"fontSize": 14,
|
|
111
|
+
"letterSpacing": 0.3,
|
|
112
|
+
"lineHeight": 20,
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
suppressHighlighting={true}
|
|
116
|
+
>
|
|
117
|
+
Item
|
|
118
|
+
3
|
|
119
|
+
</Text>
|
|
120
|
+
</View>
|
|
121
|
+
<View
|
|
122
|
+
style={
|
|
123
|
+
{
|
|
124
|
+
"backgroundColor": "#E9F4FC",
|
|
125
|
+
"borderBottomLeftRadius": 4,
|
|
126
|
+
"borderBottomRightRadius": 4,
|
|
127
|
+
"borderTopLeftRadius": 4,
|
|
128
|
+
"borderTopRightRadius": 4,
|
|
129
|
+
"paddingBottom": 16,
|
|
130
|
+
"paddingLeft": 16,
|
|
131
|
+
"paddingRight": 16,
|
|
132
|
+
"paddingTop": 16,
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
>
|
|
136
|
+
<Text
|
|
137
|
+
style={
|
|
138
|
+
{
|
|
139
|
+
"fontFamily": "GTStandard",
|
|
140
|
+
"fontSize": 14,
|
|
141
|
+
"letterSpacing": 0.3,
|
|
142
|
+
"lineHeight": 20,
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
suppressHighlighting={true}
|
|
146
|
+
>
|
|
147
|
+
Item
|
|
148
|
+
4
|
|
149
|
+
</Text>
|
|
150
|
+
</View>
|
|
151
|
+
<View
|
|
152
|
+
style={
|
|
153
|
+
{
|
|
154
|
+
"backgroundColor": "#E9F4FC",
|
|
155
|
+
"borderBottomLeftRadius": 4,
|
|
156
|
+
"borderBottomRightRadius": 4,
|
|
157
|
+
"borderTopLeftRadius": 4,
|
|
158
|
+
"borderTopRightRadius": 4,
|
|
159
|
+
"paddingBottom": 16,
|
|
160
|
+
"paddingLeft": 16,
|
|
161
|
+
"paddingRight": 16,
|
|
162
|
+
"paddingTop": 16,
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
>
|
|
166
|
+
<Text
|
|
167
|
+
style={
|
|
168
|
+
{
|
|
169
|
+
"fontFamily": "GTStandard",
|
|
170
|
+
"fontSize": 14,
|
|
171
|
+
"letterSpacing": 0.3,
|
|
172
|
+
"lineHeight": 20,
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
suppressHighlighting={true}
|
|
176
|
+
>
|
|
177
|
+
Item
|
|
178
|
+
5
|
|
179
|
+
</Text>
|
|
180
|
+
</View>
|
|
181
|
+
<View
|
|
182
|
+
style={
|
|
183
|
+
{
|
|
184
|
+
"backgroundColor": "#E9F4FC",
|
|
185
|
+
"borderBottomLeftRadius": 4,
|
|
186
|
+
"borderBottomRightRadius": 4,
|
|
187
|
+
"borderTopLeftRadius": 4,
|
|
188
|
+
"borderTopRightRadius": 4,
|
|
189
|
+
"paddingBottom": 16,
|
|
190
|
+
"paddingLeft": 16,
|
|
191
|
+
"paddingRight": 16,
|
|
192
|
+
"paddingTop": 16,
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
>
|
|
196
|
+
<Text
|
|
197
|
+
style={
|
|
198
|
+
{
|
|
199
|
+
"fontFamily": "GTStandard",
|
|
200
|
+
"fontSize": 14,
|
|
201
|
+
"letterSpacing": 0.3,
|
|
202
|
+
"lineHeight": 20,
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
suppressHighlighting={true}
|
|
206
|
+
>
|
|
207
|
+
Item
|
|
208
|
+
6
|
|
209
|
+
</Text>
|
|
210
|
+
</View>
|
|
211
|
+
<View
|
|
212
|
+
style={
|
|
213
|
+
{
|
|
214
|
+
"backgroundColor": "#E9F4FC",
|
|
215
|
+
"borderBottomLeftRadius": 4,
|
|
216
|
+
"borderBottomRightRadius": 4,
|
|
217
|
+
"borderTopLeftRadius": 4,
|
|
218
|
+
"borderTopRightRadius": 4,
|
|
219
|
+
"paddingBottom": 16,
|
|
220
|
+
"paddingLeft": 16,
|
|
221
|
+
"paddingRight": 16,
|
|
222
|
+
"paddingTop": 16,
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
>
|
|
226
|
+
<Text
|
|
227
|
+
style={
|
|
228
|
+
{
|
|
229
|
+
"fontFamily": "GTStandard",
|
|
230
|
+
"fontSize": 14,
|
|
231
|
+
"letterSpacing": 0.3,
|
|
232
|
+
"lineHeight": 20,
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
suppressHighlighting={true}
|
|
236
|
+
>
|
|
237
|
+
Item
|
|
238
|
+
7
|
|
239
|
+
</Text>
|
|
240
|
+
</View>
|
|
241
|
+
<View
|
|
242
|
+
style={
|
|
243
|
+
{
|
|
244
|
+
"backgroundColor": "#E9F4FC",
|
|
245
|
+
"borderBottomLeftRadius": 4,
|
|
246
|
+
"borderBottomRightRadius": 4,
|
|
247
|
+
"borderTopLeftRadius": 4,
|
|
248
|
+
"borderTopRightRadius": 4,
|
|
249
|
+
"paddingBottom": 16,
|
|
250
|
+
"paddingLeft": 16,
|
|
251
|
+
"paddingRight": 16,
|
|
252
|
+
"paddingTop": 16,
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
>
|
|
256
|
+
<Text
|
|
257
|
+
style={
|
|
258
|
+
{
|
|
259
|
+
"fontFamily": "GTStandard",
|
|
260
|
+
"fontSize": 14,
|
|
261
|
+
"letterSpacing": 0.3,
|
|
262
|
+
"lineHeight": 20,
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
suppressHighlighting={true}
|
|
266
|
+
>
|
|
267
|
+
Item
|
|
268
|
+
8
|
|
269
|
+
</Text>
|
|
270
|
+
</View>
|
|
271
|
+
<View
|
|
272
|
+
style={
|
|
273
|
+
{
|
|
274
|
+
"backgroundColor": "#E9F4FC",
|
|
275
|
+
"borderBottomLeftRadius": 4,
|
|
276
|
+
"borderBottomRightRadius": 4,
|
|
277
|
+
"borderTopLeftRadius": 4,
|
|
278
|
+
"borderTopRightRadius": 4,
|
|
279
|
+
"paddingBottom": 16,
|
|
280
|
+
"paddingLeft": 16,
|
|
281
|
+
"paddingRight": 16,
|
|
282
|
+
"paddingTop": 16,
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
>
|
|
286
|
+
<Text
|
|
287
|
+
style={
|
|
288
|
+
{
|
|
289
|
+
"fontFamily": "GTStandard",
|
|
290
|
+
"fontSize": 14,
|
|
291
|
+
"letterSpacing": 0.3,
|
|
292
|
+
"lineHeight": 20,
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
suppressHighlighting={true}
|
|
296
|
+
>
|
|
297
|
+
Item
|
|
298
|
+
9
|
|
299
|
+
</Text>
|
|
300
|
+
</View>
|
|
301
|
+
<View
|
|
302
|
+
style={
|
|
303
|
+
{
|
|
304
|
+
"backgroundColor": "#E9F4FC",
|
|
305
|
+
"borderBottomLeftRadius": 4,
|
|
306
|
+
"borderBottomRightRadius": 4,
|
|
307
|
+
"borderTopLeftRadius": 4,
|
|
308
|
+
"borderTopRightRadius": 4,
|
|
309
|
+
"paddingBottom": 16,
|
|
310
|
+
"paddingLeft": 16,
|
|
311
|
+
"paddingRight": 16,
|
|
312
|
+
"paddingTop": 16,
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
>
|
|
316
|
+
<Text
|
|
317
|
+
style={
|
|
318
|
+
{
|
|
319
|
+
"fontFamily": "GTStandard",
|
|
320
|
+
"fontSize": 14,
|
|
321
|
+
"letterSpacing": 0.3,
|
|
322
|
+
"lineHeight": 20,
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
suppressHighlighting={true}
|
|
326
|
+
>
|
|
327
|
+
Item
|
|
328
|
+
10
|
|
329
|
+
</Text>
|
|
330
|
+
</View>
|
|
331
|
+
</View>
|
|
332
|
+
</RCTScrollView>
|
|
333
|
+
</RNCSafeAreaProvider>
|
|
334
|
+
`;
|