@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Bumper/Core/Primitives/Stack Default 1`] = `
|
|
4
4
|
<RNCSafeAreaProvider
|
|
5
5
|
onInsetsChange={[Function]}
|
|
6
6
|
style={
|
|
@@ -16,122 +16,101 @@ exports[`bumper/Primitives Stack 1`] = `
|
|
|
16
16
|
style={
|
|
17
17
|
{
|
|
18
18
|
"flexDirection": "row",
|
|
19
|
-
"gap":
|
|
19
|
+
"gap": 16,
|
|
20
|
+
"paddingBottom": 16,
|
|
21
|
+
"paddingLeft": 16,
|
|
22
|
+
"paddingRight": 16,
|
|
23
|
+
"paddingTop": 16,
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
>
|
|
23
27
|
<View
|
|
24
28
|
style={
|
|
25
29
|
{
|
|
26
|
-
"backgroundColor": "#
|
|
30
|
+
"backgroundColor": "#E9F4FC",
|
|
27
31
|
"borderBottomLeftRadius": 2,
|
|
28
32
|
"borderBottomRightRadius": 2,
|
|
29
33
|
"borderTopLeftRadius": 2,
|
|
30
34
|
"borderTopRightRadius": 2,
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"paddingTop": 4,
|
|
36
|
-
"width": 64,
|
|
35
|
+
"paddingBottom": 12,
|
|
36
|
+
"paddingLeft": 12,
|
|
37
|
+
"paddingRight": 12,
|
|
38
|
+
"paddingTop": 12,
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"height": 20,
|
|
49
|
-
"paddingBottom": 4,
|
|
50
|
-
"paddingLeft": 4,
|
|
51
|
-
"paddingRight": 4,
|
|
52
|
-
"paddingTop": 4,
|
|
53
|
-
"width": 64,
|
|
41
|
+
>
|
|
42
|
+
<Text
|
|
43
|
+
style={
|
|
44
|
+
{
|
|
45
|
+
"fontFamily": "GTStandard",
|
|
46
|
+
"fontSize": 14,
|
|
47
|
+
"letterSpacing": 0.3,
|
|
48
|
+
"lineHeight": 20,
|
|
49
|
+
}
|
|
54
50
|
}
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
suppressHighlighting={true}
|
|
52
|
+
>
|
|
53
|
+
Item 1
|
|
54
|
+
</Text>
|
|
55
|
+
</View>
|
|
57
56
|
<View
|
|
58
57
|
style={
|
|
59
58
|
{
|
|
60
|
-
"backgroundColor": "#
|
|
59
|
+
"backgroundColor": "#ECFEDD",
|
|
61
60
|
"borderBottomLeftRadius": 2,
|
|
62
61
|
"borderBottomRightRadius": 2,
|
|
63
62
|
"borderTopLeftRadius": 2,
|
|
64
63
|
"borderTopRightRadius": 2,
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"paddingTop": 4,
|
|
70
|
-
"width": 64,
|
|
64
|
+
"paddingBottom": 12,
|
|
65
|
+
"paddingLeft": 12,
|
|
66
|
+
"paddingRight": 12,
|
|
67
|
+
"paddingTop": 12,
|
|
71
68
|
}
|
|
72
69
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
>
|
|
84
|
-
<View
|
|
85
|
-
style={
|
|
86
|
-
{
|
|
87
|
-
"backgroundColor": "#563B56",
|
|
88
|
-
"borderBottomLeftRadius": 2,
|
|
89
|
-
"borderBottomRightRadius": 2,
|
|
90
|
-
"borderTopLeftRadius": 2,
|
|
91
|
-
"borderTopRightRadius": 2,
|
|
92
|
-
"height": 20,
|
|
93
|
-
"paddingBottom": 4,
|
|
94
|
-
"paddingLeft": 4,
|
|
95
|
-
"paddingRight": 4,
|
|
96
|
-
"paddingTop": 4,
|
|
97
|
-
"width": 64,
|
|
70
|
+
>
|
|
71
|
+
<Text
|
|
72
|
+
style={
|
|
73
|
+
{
|
|
74
|
+
"fontFamily": "GTStandard",
|
|
75
|
+
"fontSize": 14,
|
|
76
|
+
"letterSpacing": 0.3,
|
|
77
|
+
"lineHeight": 20,
|
|
78
|
+
}
|
|
98
79
|
}
|
|
99
|
-
|
|
100
|
-
|
|
80
|
+
suppressHighlighting={true}
|
|
81
|
+
>
|
|
82
|
+
Item 2
|
|
83
|
+
</Text>
|
|
84
|
+
</View>
|
|
101
85
|
<View
|
|
102
86
|
style={
|
|
103
87
|
{
|
|
104
|
-
"backgroundColor": "#
|
|
88
|
+
"backgroundColor": "#FDF8E7",
|
|
105
89
|
"borderBottomLeftRadius": 2,
|
|
106
90
|
"borderBottomRightRadius": 2,
|
|
107
91
|
"borderTopLeftRadius": 2,
|
|
108
92
|
"borderTopRightRadius": 2,
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"paddingTop": 4,
|
|
114
|
-
"width": 64,
|
|
93
|
+
"paddingBottom": 12,
|
|
94
|
+
"paddingLeft": 12,
|
|
95
|
+
"paddingRight": 12,
|
|
96
|
+
"paddingTop": 12,
|
|
115
97
|
}
|
|
116
98
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"height": 20,
|
|
127
|
-
"paddingBottom": 4,
|
|
128
|
-
"paddingLeft": 4,
|
|
129
|
-
"paddingRight": 4,
|
|
130
|
-
"paddingTop": 4,
|
|
131
|
-
"width": 64,
|
|
99
|
+
>
|
|
100
|
+
<Text
|
|
101
|
+
style={
|
|
102
|
+
{
|
|
103
|
+
"fontFamily": "GTStandard",
|
|
104
|
+
"fontSize": 14,
|
|
105
|
+
"letterSpacing": 0.3,
|
|
106
|
+
"lineHeight": 20,
|
|
107
|
+
}
|
|
132
108
|
}
|
|
133
|
-
|
|
134
|
-
|
|
109
|
+
suppressHighlighting={true}
|
|
110
|
+
>
|
|
111
|
+
Item 3
|
|
112
|
+
</Text>
|
|
113
|
+
</View>
|
|
135
114
|
</View>
|
|
136
115
|
</RNCSafeAreaProvider>
|
|
137
116
|
`;
|