@ornikar/bumper 2.4.2-canary.9a20239c7f70ea30ccc58f4e866b2322585529c6.0 → 2.5.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 -2
- package/dist/definitions/components/primitives/Center.d.ts +5 -0
- package/dist/definitions/components/primitives/Center.d.ts.map +1 -0
- package/dist/definitions/components/primitives/{Stacks.d.ts → Stack.d.ts} +2 -3
- package/dist/definitions/components/primitives/Stack.d.ts.map +1 -0
- package/dist/definitions/components/primitives/View.d.ts +1 -3
- package/dist/definitions/components/primitives/View.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +4 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/story-components/StorySection.d.ts +1 -1
- package/dist/definitions/story-components/StorySection.d.ts.map +1 -1
- package/dist/definitions/tamagui.config.d.ts +65 -44
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/definitions/{themes → tokens}/palettes/deepPurpleColorPalette.d.ts.map +1 -1
- package/dist/definitions/tokens/radius.d.ts +8 -0
- package/dist/definitions/tokens/radius.d.ts.map +1 -0
- package/dist/definitions/tokens/size.d.ts +12 -8
- package/dist/definitions/tokens/size.d.ts.map +1 -1
- package/dist/definitions/tokens/space.d.ts +13 -13
- package/dist/index-metro.es.android.js +43 -25
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +43 -25
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +42 -23
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +42 -23
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +43 -25
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +43 -25
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +43 -25
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +43 -25
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/primitives/Center.stories.tsx +17 -0
- package/src/components/primitives/Center.ts +10 -0
- package/src/components/primitives/Stack.stories.tsx +38 -51
- package/src/components/primitives/{Stacks.ts → Stack.tsx} +2 -2
- package/src/components/primitives/View.stories.tsx +4 -3
- package/src/components/primitives/View.ts +1 -4
- package/src/components/primitives/__snapshots__/Center.stories.tsx.snap +37 -0
- package/src/components/primitives/__snapshots__/Stack.stories.tsx.snap +58 -297
- package/src/components/primitives/__snapshots__/View.stories.tsx.snap +4 -4
- package/src/components/primitives/__snapshots_web__/Center.stories.tsx.snap +32 -0
- package/src/components/primitives/__snapshots_web__/Stack.stories.tsx.snap +16 -155
- package/src/components/primitives/__snapshots_web__/View.stories.tsx.snap +2 -2
- package/src/components/typography/Typography.stories.tsx +3 -3
- package/src/components/typography/__snapshots__/Typography.stories.tsx.snap +20 -20
- package/src/components/typography/__snapshots_web__/Typography.stories.tsx.snap +56 -56
- package/src/index.ts +4 -2
- package/src/story-components/StorySection.tsx +5 -5
- package/src/story-components/StoryTitle.tsx +3 -3
- package/src/tamagui.config.ts +3 -1
- package/src/themes/__snapshots_web__/light.stories.tsx.snap +112 -112
- package/src/themes/light.stories.tsx +4 -4
- package/src/themes/light.ts +1 -1
- package/src/{themes → tokens}/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +134 -134
- package/src/{themes → tokens}/palettes/deepPurpleColorPalette.stories.tsx +3 -3
- package/src/tokens/radius.ts +7 -0
- package/src/tokens/size.ts +12 -8
- package/src/tokens/space.ts +13 -13
- package/tsconfig.json +0 -1
- package/dist/definitions/components/primitives/Stacks.d.ts.map +0 -1
- /package/dist/definitions/{themes → tokens}/palettes/deepPurpleColorPalette.d.ts +0 -0
- /package/src/{themes → tokens}/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +0 -0
- /package/src/{themes → tokens}/palettes/deepPurpleColorPalette.ts +0 -0
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
+
import type { CenterProps } from './Center';
|
|
3
|
+
import { Center } from './Center';
|
|
4
|
+
import { View } from './View';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: 'bumper/Primitives',
|
|
8
|
+
component: Center,
|
|
9
|
+
} satisfies Meta<CenterProps>;
|
|
10
|
+
|
|
11
|
+
export const CenterStory: ComponentStory<typeof Center> = () => (
|
|
12
|
+
<Center width="$size.120" height="$size.120" backgroundColor="$bg.accent.default">
|
|
13
|
+
<View width="$size.16" height="$size.16" backgroundColor="$bg.base.mid.default" />
|
|
14
|
+
</Center>
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
CenterStory.storyName = 'Center';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ViewProps } from '@tamagui/core';
|
|
2
|
+
import { styled } from '@tamagui/core';
|
|
3
|
+
import { View } from './View';
|
|
4
|
+
|
|
5
|
+
export interface CenterProps extends ViewProps {}
|
|
6
|
+
|
|
7
|
+
export const Center = styled(View, {
|
|
8
|
+
justifyContent: 'center',
|
|
9
|
+
alignItems: 'center',
|
|
10
|
+
});
|
|
@@ -1,62 +1,49 @@
|
|
|
1
1
|
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { HStack, Stack, VStack } from './Stacks';
|
|
2
|
+
import type { StackProps } from './Stack';
|
|
3
|
+
import { HStack, Stack, VStack } from './Stack';
|
|
4
|
+
import { View } from './View';
|
|
6
5
|
|
|
7
6
|
export default {
|
|
8
|
-
title: 'bumper/Primitives
|
|
7
|
+
title: 'bumper/Primitives',
|
|
9
8
|
component: Stack,
|
|
10
|
-
} satisfies Meta<
|
|
9
|
+
} satisfies Meta<StackProps>;
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
const items = (
|
|
13
12
|
<>
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
<Typography.Text backgroundColor="$bg.accent.default">2</Typography.Text>
|
|
40
|
-
</HStack>
|
|
41
|
-
</StorySection.SubSection>
|
|
42
|
-
</StorySection>
|
|
13
|
+
<View
|
|
14
|
+
width="$size.64"
|
|
15
|
+
height="$size.20"
|
|
16
|
+
backgroundColor="$bg.accent.default"
|
|
17
|
+
padding="$space.4"
|
|
18
|
+
borderRadius="$radius.s"
|
|
19
|
+
/>
|
|
20
|
+
|
|
21
|
+
<View
|
|
22
|
+
width="$size.64"
|
|
23
|
+
height="$size.20"
|
|
24
|
+
backgroundColor="$bg.highlight.hi.default"
|
|
25
|
+
padding="$space.4"
|
|
26
|
+
borderRadius="$radius.s"
|
|
27
|
+
/>
|
|
28
|
+
|
|
29
|
+
<View
|
|
30
|
+
width="$size.64"
|
|
31
|
+
height="$size.20"
|
|
32
|
+
backgroundColor="$bg.highlight.mid.default"
|
|
33
|
+
padding="$space.4"
|
|
34
|
+
borderRadius="$radius.s"
|
|
35
|
+
/>
|
|
36
|
+
</>
|
|
37
|
+
);
|
|
43
38
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<Typography.Text>1</Typography.Text>
|
|
48
|
-
<Typography.Text>2</Typography.Text>
|
|
49
|
-
</VStack>
|
|
50
|
-
</StorySection.SubSection>
|
|
39
|
+
export const StackStory: ComponentStory<typeof Stack> = () => (
|
|
40
|
+
<>
|
|
41
|
+
<HStack gap="$space.4">{items}</HStack>
|
|
51
42
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
<Typography.Text backgroundColor="$bg.accent.default">2</Typography.Text>
|
|
56
|
-
</VStack>
|
|
57
|
-
</StorySection.SubSection>
|
|
58
|
-
</StorySection>
|
|
43
|
+
<VStack gap="$space.4" marginTop="$space.16">
|
|
44
|
+
{items}
|
|
45
|
+
</VStack>
|
|
59
46
|
</>
|
|
60
47
|
);
|
|
61
48
|
|
|
62
|
-
|
|
49
|
+
StackStory.storyName = 'Stack';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Stack, styled } from '@tamagui/core';
|
|
2
1
|
import type { GetProps } from '@tamagui/core';
|
|
2
|
+
import { Stack, styled } from '@tamagui/core';
|
|
3
3
|
|
|
4
|
+
export type { StackProps } from '@tamagui/core';
|
|
4
5
|
export { Stack } from '@tamagui/core';
|
|
5
|
-
export type StackProps = GetProps<typeof Stack>;
|
|
6
6
|
|
|
7
7
|
export const HStack = styled(Stack, {
|
|
8
8
|
name: 'HStack',
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
+
import type { ViewProps } from './View';
|
|
2
3
|
import { View } from './View';
|
|
3
4
|
|
|
4
5
|
export default {
|
|
5
|
-
title: 'bumper/Primitives
|
|
6
|
+
title: 'bumper/Primitives',
|
|
6
7
|
component: View,
|
|
7
|
-
} satisfies Meta<
|
|
8
|
+
} satisfies Meta<ViewProps>;
|
|
8
9
|
|
|
9
10
|
export const ViewStory: ComponentStory<typeof View> = () => (
|
|
10
|
-
<View width=
|
|
11
|
+
<View width="$size.120" height="$size.120" backgroundColor="$bg.accent.default" />
|
|
11
12
|
);
|
|
12
13
|
|
|
13
14
|
ViewStory.storyName = 'View';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`bumper/Primitives Center 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
|
+
"alignItems": "center",
|
|
19
|
+
"backgroundColor": "#563B56",
|
|
20
|
+
"height": 120,
|
|
21
|
+
"justifyContent": "center",
|
|
22
|
+
"width": 120,
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
>
|
|
26
|
+
<View
|
|
27
|
+
style={
|
|
28
|
+
{
|
|
29
|
+
"backgroundColor": "#F7F4EE",
|
|
30
|
+
"height": 16,
|
|
31
|
+
"width": 16,
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/>
|
|
35
|
+
</View>
|
|
36
|
+
</RNCSafeAreaProvider>
|
|
37
|
+
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
|
-
exports[`bumper/Primitives
|
|
3
|
+
exports[`bumper/Primitives Stack 1`] = `
|
|
4
4
|
<RNCSafeAreaProvider
|
|
5
5
|
onInsetsChange={[Function]}
|
|
6
6
|
style={
|
|
@@ -12,365 +12,126 @@ exports[`bumper/Primitives/Stacks Stacks 1`] = `
|
|
|
12
12
|
]
|
|
13
13
|
}
|
|
14
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
15
|
<View
|
|
21
16
|
style={
|
|
22
17
|
{
|
|
23
|
-
"flexDirection": "
|
|
24
|
-
"
|
|
25
|
-
"paddingLeft": 4,
|
|
26
|
-
"paddingRight": 4,
|
|
27
|
-
"paddingTop": 4,
|
|
18
|
+
"flexDirection": "row",
|
|
19
|
+
"gap": 4,
|
|
28
20
|
}
|
|
29
21
|
}
|
|
30
22
|
>
|
|
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
23
|
<View
|
|
46
24
|
style={
|
|
47
25
|
{
|
|
48
|
-
"
|
|
26
|
+
"backgroundColor": "#563B56",
|
|
27
|
+
"borderBottomLeftRadius": 2,
|
|
28
|
+
"borderBottomRightRadius": 2,
|
|
29
|
+
"borderTopLeftRadius": 2,
|
|
30
|
+
"borderTopRightRadius": 2,
|
|
31
|
+
"height": 20,
|
|
49
32
|
"paddingBottom": 4,
|
|
50
33
|
"paddingLeft": 4,
|
|
51
34
|
"paddingRight": 4,
|
|
52
35
|
"paddingTop": 4,
|
|
36
|
+
"width": 64,
|
|
53
37
|
}
|
|
54
38
|
}
|
|
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>
|
|
39
|
+
/>
|
|
126
40
|
<View
|
|
127
41
|
style={
|
|
128
42
|
{
|
|
129
|
-
"
|
|
43
|
+
"backgroundColor": "#E4A4F9",
|
|
44
|
+
"borderBottomLeftRadius": 2,
|
|
45
|
+
"borderBottomRightRadius": 2,
|
|
46
|
+
"borderTopLeftRadius": 2,
|
|
47
|
+
"borderTopRightRadius": 2,
|
|
48
|
+
"height": 20,
|
|
130
49
|
"paddingBottom": 4,
|
|
131
50
|
"paddingLeft": 4,
|
|
132
51
|
"paddingRight": 4,
|
|
133
52
|
"paddingTop": 4,
|
|
53
|
+
"width": 64,
|
|
134
54
|
}
|
|
135
55
|
}
|
|
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>
|
|
56
|
+
/>
|
|
180
57
|
<View
|
|
181
58
|
style={
|
|
182
59
|
{
|
|
183
|
-
"
|
|
60
|
+
"backgroundColor": "#F8E7FF",
|
|
61
|
+
"borderBottomLeftRadius": 2,
|
|
62
|
+
"borderBottomRightRadius": 2,
|
|
63
|
+
"borderTopLeftRadius": 2,
|
|
64
|
+
"borderTopRightRadius": 2,
|
|
65
|
+
"height": 20,
|
|
184
66
|
"paddingBottom": 4,
|
|
185
67
|
"paddingLeft": 4,
|
|
186
68
|
"paddingRight": 4,
|
|
187
69
|
"paddingTop": 4,
|
|
70
|
+
"width": 64,
|
|
188
71
|
}
|
|
189
72
|
}
|
|
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>
|
|
73
|
+
/>
|
|
237
74
|
</View>
|
|
238
75
|
<View
|
|
239
76
|
style={
|
|
240
77
|
{
|
|
241
78
|
"flexDirection": "column",
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
"paddingRight": 4,
|
|
245
|
-
"paddingTop": 4,
|
|
79
|
+
"gap": 4,
|
|
80
|
+
"marginTop": 16,
|
|
246
81
|
}
|
|
247
82
|
}
|
|
248
83
|
>
|
|
249
|
-
<
|
|
84
|
+
<View
|
|
250
85
|
style={
|
|
251
86
|
{
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
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,
|
|
257
98
|
}
|
|
258
99
|
}
|
|
259
|
-
|
|
260
|
-
>
|
|
261
|
-
VStack
|
|
262
|
-
</Text>
|
|
100
|
+
/>
|
|
263
101
|
<View
|
|
264
102
|
style={
|
|
265
103
|
{
|
|
266
|
-
"
|
|
104
|
+
"backgroundColor": "#E4A4F9",
|
|
105
|
+
"borderBottomLeftRadius": 2,
|
|
106
|
+
"borderBottomRightRadius": 2,
|
|
107
|
+
"borderTopLeftRadius": 2,
|
|
108
|
+
"borderTopRightRadius": 2,
|
|
109
|
+
"height": 20,
|
|
267
110
|
"paddingBottom": 4,
|
|
268
111
|
"paddingLeft": 4,
|
|
269
112
|
"paddingRight": 4,
|
|
270
113
|
"paddingTop": 4,
|
|
114
|
+
"width": 64,
|
|
271
115
|
}
|
|
272
116
|
}
|
|
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>
|
|
117
|
+
/>
|
|
317
118
|
<View
|
|
318
119
|
style={
|
|
319
120
|
{
|
|
320
|
-
"
|
|
121
|
+
"backgroundColor": "#F8E7FF",
|
|
122
|
+
"borderBottomLeftRadius": 2,
|
|
123
|
+
"borderBottomRightRadius": 2,
|
|
124
|
+
"borderTopLeftRadius": 2,
|
|
125
|
+
"borderTopRightRadius": 2,
|
|
126
|
+
"height": 20,
|
|
321
127
|
"paddingBottom": 4,
|
|
322
128
|
"paddingLeft": 4,
|
|
323
129
|
"paddingRight": 4,
|
|
324
130
|
"paddingTop": 4,
|
|
131
|
+
"width": 64,
|
|
325
132
|
}
|
|
326
133
|
}
|
|
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>
|
|
134
|
+
/>
|
|
374
135
|
</View>
|
|
375
136
|
</RNCSafeAreaProvider>
|
|
376
137
|
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
|
-
exports[`bumper/Primitives
|
|
3
|
+
exports[`bumper/Primitives View 1`] = `
|
|
4
4
|
<RNCSafeAreaProvider
|
|
5
5
|
onInsetsChange={[Function]}
|
|
6
6
|
style={
|
|
@@ -15,9 +15,9 @@ exports[`bumper/Primitives/View View 1`] = `
|
|
|
15
15
|
<View
|
|
16
16
|
style={
|
|
17
17
|
{
|
|
18
|
-
"backgroundColor": "#
|
|
19
|
-
"height":
|
|
20
|
-
"width":
|
|
18
|
+
"backgroundColor": "#563B56",
|
|
19
|
+
"height": 120,
|
|
20
|
+
"width": 120,
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
/>
|