@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,208 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`Bumper/Core/Primitives/Center/Features CenteringText 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": "row",
19
+ "gap": 16,
20
+ }
21
+ }
22
+ >
23
+ <View
24
+ style={
25
+ {
26
+ "alignItems": "center",
27
+ "backgroundColor": "#563B56",
28
+ "borderBottomLeftRadius": 4,
29
+ "borderBottomRightRadius": 4,
30
+ "borderTopLeftRadius": 4,
31
+ "borderTopRightRadius": 4,
32
+ "height": 144,
33
+ "justifyContent": "center",
34
+ "paddingBottom": 24,
35
+ "paddingLeft": 24,
36
+ "paddingRight": 24,
37
+ "paddingTop": 24,
38
+ "width": 144,
39
+ }
40
+ }
41
+ >
42
+ <Text
43
+ style={
44
+ {
45
+ "color": "#ffffff",
46
+ "fontFamily": "GTStandardSemibold",
47
+ "fontSize": 24,
48
+ "letterSpacing": 0,
49
+ "lineHeight": 28,
50
+ }
51
+ }
52
+ suppressHighlighting={true}
53
+ >
54
+ Title
55
+ </Text>
56
+ </View>
57
+ <View
58
+ style={
59
+ {
60
+ "alignItems": "center",
61
+ "backgroundColor": "#43390A",
62
+ "borderBottomLeftRadius": 4,
63
+ "borderBottomRightRadius": 4,
64
+ "borderTopLeftRadius": 4,
65
+ "borderTopRightRadius": 4,
66
+ "height": 144,
67
+ "justifyContent": "center",
68
+ "paddingBottom": 24,
69
+ "paddingLeft": 24,
70
+ "paddingRight": 24,
71
+ "paddingTop": 24,
72
+ "width": 144,
73
+ }
74
+ }
75
+ >
76
+ <Text
77
+ style={
78
+ {
79
+ "color": "#ffffff",
80
+ "fontFamily": "GTStandard",
81
+ "fontSize": 16,
82
+ "letterSpacing": 0.3,
83
+ "lineHeight": 24,
84
+ "textAlign": "center",
85
+ }
86
+ }
87
+ suppressHighlighting={true}
88
+ >
89
+ Multi-line centered text content
90
+ </Text>
91
+ </View>
92
+ </View>
93
+ </RNCSafeAreaProvider>
94
+ `;
95
+
96
+ exports[`Bumper/Core/Primitives/Center/Features CircularCentering 1`] = `
97
+ <RNCSafeAreaProvider
98
+ onInsetsChange={[Function]}
99
+ style={
100
+ [
101
+ {
102
+ "flex": 1,
103
+ },
104
+ undefined,
105
+ ]
106
+ }
107
+ >
108
+ <View
109
+ style={
110
+ {
111
+ "flexDirection": "row",
112
+ "gap": 16,
113
+ }
114
+ }
115
+ >
116
+ <View
117
+ style={
118
+ {
119
+ "alignItems": "center",
120
+ "backgroundColor": "#563B56",
121
+ "borderBottomLeftRadius": 1000,
122
+ "borderBottomRightRadius": 1000,
123
+ "borderTopLeftRadius": 1000,
124
+ "borderTopRightRadius": 1000,
125
+ "height": 80,
126
+ "justifyContent": "center",
127
+ "width": 80,
128
+ }
129
+ }
130
+ >
131
+ <Text
132
+ style={
133
+ {
134
+ "color": "#ffffff",
135
+ "fontFamily": "GTStandardSemibold",
136
+ "fontSize": 38,
137
+ "letterSpacing": 0,
138
+ "lineHeight": 44,
139
+ }
140
+ }
141
+ suppressHighlighting={true}
142
+ >
143
+ 1
144
+ </Text>
145
+ </View>
146
+ <View
147
+ style={
148
+ {
149
+ "alignItems": "center",
150
+ "backgroundColor": "#43390A",
151
+ "borderBottomLeftRadius": 1000,
152
+ "borderBottomRightRadius": 1000,
153
+ "borderTopLeftRadius": 1000,
154
+ "borderTopRightRadius": 1000,
155
+ "height": 80,
156
+ "justifyContent": "center",
157
+ "width": 80,
158
+ }
159
+ }
160
+ >
161
+ <Text
162
+ style={
163
+ {
164
+ "color": "#ffffff",
165
+ "fontFamily": "GTStandardSemibold",
166
+ "fontSize": 38,
167
+ "letterSpacing": 0,
168
+ "lineHeight": 44,
169
+ }
170
+ }
171
+ suppressHighlighting={true}
172
+ >
173
+ 2
174
+ </Text>
175
+ </View>
176
+ <View
177
+ style={
178
+ {
179
+ "alignItems": "center",
180
+ "backgroundColor": "#1772AB",
181
+ "borderBottomLeftRadius": 1000,
182
+ "borderBottomRightRadius": 1000,
183
+ "borderTopLeftRadius": 1000,
184
+ "borderTopRightRadius": 1000,
185
+ "height": 80,
186
+ "justifyContent": "center",
187
+ "width": 80,
188
+ }
189
+ }
190
+ >
191
+ <Text
192
+ style={
193
+ {
194
+ "color": "#ffffff",
195
+ "fontFamily": "GTStandardSemibold",
196
+ "fontSize": 38,
197
+ "letterSpacing": 0,
198
+ "lineHeight": 44,
199
+ }
200
+ }
201
+ suppressHighlighting={true}
202
+ >
203
+ 3
204
+ </Text>
205
+ </View>
206
+ </View>
207
+ </RNCSafeAreaProvider>
208
+ `;
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
- exports[`bumper/Primitives Center 1`] = `
3
+ exports[`Bumper/Core/Primitives/Center Default 1`] = `
4
4
  <RNCSafeAreaProvider
5
5
  onInsetsChange={[Function]}
6
6
  style={
@@ -16,22 +16,27 @@ exports[`bumper/Primitives Center 1`] = `
16
16
  style={
17
17
  {
18
18
  "alignItems": "center",
19
- "backgroundColor": "#563B56",
19
+ "backgroundColor": "#F7F4EE",
20
20
  "height": 120,
21
21
  "justifyContent": "center",
22
- "width": 120,
22
+ "paddingBottom": 0,
23
+ "paddingLeft": 0,
24
+ "paddingRight": 0,
25
+ "paddingTop": 0,
26
+ "width": 208,
23
27
  }
24
28
  }
25
29
  >
26
- <View
30
+ <Text
27
31
  style={
28
32
  {
29
- "backgroundColor": "#F7F4EE",
30
- "height": 16,
31
- "width": 16,
33
+ "fontFamily": "GTStandard",
32
34
  }
33
35
  }
34
- />
36
+ suppressHighlighting={true}
37
+ >
38
+ Centered content
39
+ </Text>
35
40
  </View>
36
41
  </RNCSafeAreaProvider>
37
42
  `;
@@ -0,0 +1,470 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`Bumper/Core/Primitives/Pressable/Features HoverEffects 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": 16,
20
+ }
21
+ }
22
+ >
23
+ <View
24
+ onBlur={[Function]}
25
+ onClick={[Function]}
26
+ onFocus={[Function]}
27
+ onResponderGrant={[Function]}
28
+ onResponderMove={[Function]}
29
+ onResponderRelease={[Function]}
30
+ onResponderTerminate={[Function]}
31
+ onResponderTerminationRequest={[Function]}
32
+ onStartShouldSetResponder={[Function]}
33
+ role="button"
34
+ style={
35
+ {
36
+ "backgroundColor": "#F8E7FF",
37
+ "borderBottomLeftRadius": 4,
38
+ "borderBottomRightRadius": 4,
39
+ "borderTopLeftRadius": 4,
40
+ "borderTopRightRadius": 4,
41
+ "paddingBottom": 16,
42
+ "paddingLeft": 16,
43
+ "paddingRight": 16,
44
+ "paddingTop": 16,
45
+ }
46
+ }
47
+ >
48
+ <Text
49
+ style={
50
+ {
51
+ "fontFamily": "GTStandard",
52
+ "fontSize": 16,
53
+ "letterSpacing": 0.3,
54
+ "lineHeight": 24,
55
+ }
56
+ }
57
+ suppressHighlighting={true}
58
+ >
59
+ Hover to change background
60
+ </Text>
61
+ </View>
62
+ <View
63
+ onBlur={[Function]}
64
+ onClick={[Function]}
65
+ onFocus={[Function]}
66
+ onResponderGrant={[Function]}
67
+ onResponderMove={[Function]}
68
+ onResponderRelease={[Function]}
69
+ onResponderTerminate={[Function]}
70
+ onResponderTerminationRequest={[Function]}
71
+ onStartShouldSetResponder={[Function]}
72
+ role="button"
73
+ style={
74
+ {
75
+ "backgroundColor": "#563B56",
76
+ "borderBottomLeftRadius": 4,
77
+ "borderBottomRightRadius": 4,
78
+ "borderTopLeftRadius": 4,
79
+ "borderTopRightRadius": 4,
80
+ "paddingBottom": 16,
81
+ "paddingLeft": 16,
82
+ "paddingRight": 16,
83
+ "paddingTop": 16,
84
+ "transform": [
85
+ {
86
+ "scale": 1,
87
+ },
88
+ ],
89
+ }
90
+ }
91
+ >
92
+ <Text
93
+ style={
94
+ {
95
+ "color": "#ffffff",
96
+ "fontFamily": "GTStandard",
97
+ "fontSize": 16,
98
+ "letterSpacing": 0.3,
99
+ "lineHeight": 24,
100
+ }
101
+ }
102
+ suppressHighlighting={true}
103
+ >
104
+ Hover to scale up
105
+ </Text>
106
+ </View>
107
+ <View
108
+ onBlur={[Function]}
109
+ onClick={[Function]}
110
+ onFocus={[Function]}
111
+ onResponderGrant={[Function]}
112
+ onResponderMove={[Function]}
113
+ onResponderRelease={[Function]}
114
+ onResponderTerminate={[Function]}
115
+ onResponderTerminationRequest={[Function]}
116
+ onStartShouldSetResponder={[Function]}
117
+ role="button"
118
+ style={
119
+ {
120
+ "backgroundColor": "#43390A",
121
+ "borderBottomLeftRadius": 4,
122
+ "borderBottomRightRadius": 4,
123
+ "borderTopLeftRadius": 4,
124
+ "borderTopRightRadius": 4,
125
+ "opacity": 1,
126
+ "paddingBottom": 16,
127
+ "paddingLeft": 16,
128
+ "paddingRight": 16,
129
+ "paddingTop": 16,
130
+ }
131
+ }
132
+ >
133
+ <Text
134
+ style={
135
+ {
136
+ "color": "#ffffff",
137
+ "fontFamily": "GTStandard",
138
+ "fontSize": 16,
139
+ "letterSpacing": 0.3,
140
+ "lineHeight": 24,
141
+ }
142
+ }
143
+ suppressHighlighting={true}
144
+ >
145
+ Hover to reduce opacity
146
+ </Text>
147
+ </View>
148
+ </View>
149
+ </RNCSafeAreaProvider>
150
+ `;
151
+
152
+ exports[`Bumper/Core/Primitives/Pressable/Features PolymorphicAs 1`] = `
153
+ <RNCSafeAreaProvider
154
+ onInsetsChange={[Function]}
155
+ style={
156
+ [
157
+ {
158
+ "flex": 1,
159
+ },
160
+ undefined,
161
+ ]
162
+ }
163
+ >
164
+ <View
165
+ style={
166
+ {
167
+ "flexDirection": "column",
168
+ "gap": 16,
169
+ }
170
+ }
171
+ >
172
+ <View
173
+ onBlur={[Function]}
174
+ onClick={[Function]}
175
+ onFocus={[Function]}
176
+ onResponderGrant={[Function]}
177
+ onResponderMove={[Function]}
178
+ onResponderRelease={[Function]}
179
+ onResponderTerminate={[Function]}
180
+ onResponderTerminationRequest={[Function]}
181
+ onStartShouldSetResponder={[Function]}
182
+ role="button"
183
+ style={
184
+ {
185
+ "backgroundColor": "#563B56",
186
+ "borderBottomLeftRadius": 4,
187
+ "borderBottomRightRadius": 4,
188
+ "borderTopLeftRadius": 4,
189
+ "borderTopRightRadius": 4,
190
+ "paddingBottom": 16,
191
+ "paddingLeft": 16,
192
+ "paddingRight": 16,
193
+ "paddingTop": 16,
194
+ "transform": [
195
+ {
196
+ "scale": 1,
197
+ },
198
+ ],
199
+ }
200
+ }
201
+ >
202
+ <Text
203
+ style={
204
+ {
205
+ "color": "#ffffff",
206
+ "fontFamily": "GTStandardSemibold",
207
+ "fontSize": 14,
208
+ "letterSpacing": 0,
209
+ "lineHeight": 18,
210
+ }
211
+ }
212
+ suppressHighlighting={true}
213
+ >
214
+ Default as View
215
+ </Text>
216
+ </View>
217
+ <View
218
+ onBlur={[Function]}
219
+ onClick={[Function]}
220
+ onFocus={[Function]}
221
+ onResponderGrant={[Function]}
222
+ onResponderMove={[Function]}
223
+ onResponderRelease={[Function]}
224
+ onResponderTerminate={[Function]}
225
+ onResponderTerminationRequest={[Function]}
226
+ onStartShouldSetResponder={[Function]}
227
+ role="button"
228
+ style={
229
+ {
230
+ "backgroundColor": "#43390A",
231
+ "borderBottomLeftRadius": 4,
232
+ "borderBottomRightRadius": 4,
233
+ "borderTopLeftRadius": 4,
234
+ "borderTopRightRadius": 4,
235
+ "flexDirection": "row",
236
+ "gap": 12,
237
+ "paddingBottom": 16,
238
+ "paddingLeft": 16,
239
+ "paddingRight": 16,
240
+ "paddingTop": 16,
241
+ "transform": [
242
+ {
243
+ "scale": 1,
244
+ },
245
+ ],
246
+ }
247
+ }
248
+ >
249
+ <Text
250
+ style={
251
+ {
252
+ "color": "#ffffff",
253
+ "fontFamily": "GTStandardSemibold",
254
+ "fontSize": 14,
255
+ "letterSpacing": 0,
256
+ "lineHeight": 18,
257
+ }
258
+ }
259
+ suppressHighlighting={true}
260
+ >
261
+ Pressable as HStack
262
+ </Text>
263
+ </View>
264
+ <View
265
+ onBlur={[Function]}
266
+ onClick={[Function]}
267
+ onFocus={[Function]}
268
+ onResponderGrant={[Function]}
269
+ onResponderMove={[Function]}
270
+ onResponderRelease={[Function]}
271
+ onResponderTerminate={[Function]}
272
+ onResponderTerminationRequest={[Function]}
273
+ onStartShouldSetResponder={[Function]}
274
+ role="button"
275
+ style={
276
+ {
277
+ "alignItems": "center",
278
+ "backgroundColor": "#1772AB",
279
+ "borderBottomLeftRadius": 4,
280
+ "borderBottomRightRadius": 4,
281
+ "borderTopLeftRadius": 4,
282
+ "borderTopRightRadius": 4,
283
+ "flexDirection": "column",
284
+ "gap": 8,
285
+ "opacity": 1,
286
+ "paddingBottom": 16,
287
+ "paddingLeft": 16,
288
+ "paddingRight": 16,
289
+ "paddingTop": 16,
290
+ "transform": [
291
+ {
292
+ "scale": 1,
293
+ },
294
+ ],
295
+ }
296
+ }
297
+ >
298
+ <Text
299
+ style={
300
+ {
301
+ "color": "#ffffff",
302
+ "fontFamily": "GTStandardSemibold",
303
+ "fontSize": 14,
304
+ "letterSpacing": 0,
305
+ "lineHeight": 18,
306
+ }
307
+ }
308
+ suppressHighlighting={true}
309
+ >
310
+ Pressable as VStack
311
+ </Text>
312
+ </View>
313
+ </View>
314
+ </RNCSafeAreaProvider>
315
+ `;
316
+
317
+ exports[`Bumper/Core/Primitives/Pressable/Features PressEffects 1`] = `
318
+ <RNCSafeAreaProvider
319
+ onInsetsChange={[Function]}
320
+ style={
321
+ [
322
+ {
323
+ "flex": 1,
324
+ },
325
+ undefined,
326
+ ]
327
+ }
328
+ >
329
+ <View
330
+ style={
331
+ {
332
+ "flexDirection": "column",
333
+ "gap": 16,
334
+ }
335
+ }
336
+ >
337
+ <View
338
+ onBlur={[Function]}
339
+ onClick={[Function]}
340
+ onFocus={[Function]}
341
+ onResponderGrant={[Function]}
342
+ onResponderMove={[Function]}
343
+ onResponderRelease={[Function]}
344
+ onResponderTerminate={[Function]}
345
+ onResponderTerminationRequest={[Function]}
346
+ onStartShouldSetResponder={[Function]}
347
+ role="button"
348
+ style={
349
+ {
350
+ "backgroundColor": "#563B56",
351
+ "borderBottomLeftRadius": 4,
352
+ "borderBottomRightRadius": 4,
353
+ "borderTopLeftRadius": 4,
354
+ "borderTopRightRadius": 4,
355
+ "paddingBottom": 16,
356
+ "paddingLeft": 16,
357
+ "paddingRight": 16,
358
+ "paddingTop": 16,
359
+ "transform": [
360
+ {
361
+ "scale": 1,
362
+ },
363
+ ],
364
+ }
365
+ }
366
+ >
367
+ <Text
368
+ style={
369
+ {
370
+ "color": "#ffffff",
371
+ "fontFamily": "GTStandard",
372
+ "fontSize": 16,
373
+ "letterSpacing": 0.3,
374
+ "lineHeight": 24,
375
+ }
376
+ }
377
+ suppressHighlighting={true}
378
+ >
379
+ Press to scale down
380
+ </Text>
381
+ </View>
382
+ <View
383
+ onBlur={[Function]}
384
+ onClick={[Function]}
385
+ onFocus={[Function]}
386
+ onResponderGrant={[Function]}
387
+ onResponderMove={[Function]}
388
+ onResponderRelease={[Function]}
389
+ onResponderTerminate={[Function]}
390
+ onResponderTerminationRequest={[Function]}
391
+ onStartShouldSetResponder={[Function]}
392
+ role="button"
393
+ style={
394
+ {
395
+ "backgroundColor": "#43390A",
396
+ "borderBottomLeftRadius": 4,
397
+ "borderBottomRightRadius": 4,
398
+ "borderTopLeftRadius": 4,
399
+ "borderTopRightRadius": 4,
400
+ "opacity": 1,
401
+ "paddingBottom": 16,
402
+ "paddingLeft": 16,
403
+ "paddingRight": 16,
404
+ "paddingTop": 16,
405
+ }
406
+ }
407
+ >
408
+ <Text
409
+ style={
410
+ {
411
+ "color": "#ffffff",
412
+ "fontFamily": "GTStandard",
413
+ "fontSize": 16,
414
+ "letterSpacing": 0.3,
415
+ "lineHeight": 24,
416
+ }
417
+ }
418
+ suppressHighlighting={true}
419
+ >
420
+ Press to change background and opacity
421
+ </Text>
422
+ </View>
423
+ <View
424
+ onBlur={[Function]}
425
+ onClick={[Function]}
426
+ onFocus={[Function]}
427
+ onResponderGrant={[Function]}
428
+ onResponderMove={[Function]}
429
+ onResponderRelease={[Function]}
430
+ onResponderTerminate={[Function]}
431
+ onResponderTerminationRequest={[Function]}
432
+ onStartShouldSetResponder={[Function]}
433
+ role="button"
434
+ style={
435
+ {
436
+ "backgroundColor": "#1772AB",
437
+ "borderBottomLeftRadius": 4,
438
+ "borderBottomRightRadius": 4,
439
+ "borderTopLeftRadius": 4,
440
+ "borderTopRightRadius": 4,
441
+ "paddingBottom": 16,
442
+ "paddingLeft": 16,
443
+ "paddingRight": 16,
444
+ "paddingTop": 16,
445
+ "transform": [
446
+ {
447
+ "scale": 1,
448
+ },
449
+ ],
450
+ }
451
+ }
452
+ >
453
+ <Text
454
+ style={
455
+ {
456
+ "color": "#ffffff",
457
+ "fontFamily": "GTStandard",
458
+ "fontSize": 16,
459
+ "letterSpacing": 0.3,
460
+ "lineHeight": 24,
461
+ }
462
+ }
463
+ suppressHighlighting={true}
464
+ >
465
+ Press to scale and rotate
466
+ </Text>
467
+ </View>
468
+ </View>
469
+ </RNCSafeAreaProvider>
470
+ `;