@ornikar/bumper 2.4.2-canary.9a20239c7f70ea30ccc58f4e866b2322585529c6.0 → 2.5.1-canary.9789a78a274b9d336c93fc42d4a6561d0d61ff73.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 (73) hide show
  1. package/CHANGELOG.md +23 -2
  2. package/dist/definitions/components/primitives/Center.d.ts +5 -0
  3. package/dist/definitions/components/primitives/Center.d.ts.map +1 -0
  4. package/dist/definitions/components/primitives/{Stacks.d.ts → Stack.d.ts} +2 -3
  5. package/dist/definitions/components/primitives/Stack.d.ts.map +1 -0
  6. package/dist/definitions/components/primitives/View.d.ts +1 -3
  7. package/dist/definitions/components/primitives/View.d.ts.map +1 -1
  8. package/dist/definitions/core/BumperDecorator.d.ts +1 -1
  9. package/dist/definitions/core/BumperDecorator.d.ts.map +1 -1
  10. package/dist/definitions/index.d.ts +4 -2
  11. package/dist/definitions/index.d.ts.map +1 -1
  12. package/dist/definitions/story-components/StorySection.d.ts +1 -1
  13. package/dist/definitions/story-components/StorySection.d.ts.map +1 -1
  14. package/dist/definitions/tamagui.config.d.ts +65 -44
  15. package/dist/definitions/tamagui.config.d.ts.map +1 -1
  16. package/dist/definitions/{themes → tokens}/palettes/deepPurpleColorPalette.d.ts.map +1 -1
  17. package/dist/definitions/tokens/radius.d.ts +8 -0
  18. package/dist/definitions/tokens/radius.d.ts.map +1 -0
  19. package/dist/definitions/tokens/size.d.ts +12 -8
  20. package/dist/definitions/tokens/size.d.ts.map +1 -1
  21. package/dist/definitions/tokens/space.d.ts +13 -13
  22. package/dist/index-metro.es.android.js +44 -26
  23. package/dist/index-metro.es.android.js.map +1 -1
  24. package/dist/index-metro.es.ios.js +44 -26
  25. package/dist/index-metro.es.ios.js.map +1 -1
  26. package/dist/index-node-22.17.cjs.js +44 -25
  27. package/dist/index-node-22.17.cjs.js.map +1 -1
  28. package/dist/index-node-22.17.cjs.web.js +44 -25
  29. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  30. package/dist/index-node-22.17.es.mjs +44 -26
  31. package/dist/index-node-22.17.es.mjs.map +1 -1
  32. package/dist/index-node-22.17.es.web.mjs +44 -26
  33. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  34. package/dist/index.es.js +44 -26
  35. package/dist/index.es.js.map +1 -1
  36. package/dist/index.es.web.js +44 -26
  37. package/dist/index.es.web.js.map +1 -1
  38. package/dist/tsbuildinfo +1 -1
  39. package/package.json +3 -3
  40. package/src/components/breakpoints/breakpoints.stories.tsx +2 -2
  41. package/src/components/primitives/Center.stories.tsx +17 -0
  42. package/src/components/primitives/Center.ts +10 -0
  43. package/src/components/primitives/Stack.stories.tsx +39 -52
  44. package/src/components/primitives/{Stacks.ts → Stack.tsx} +2 -2
  45. package/src/components/primitives/View.stories.tsx +6 -5
  46. package/src/components/primitives/View.ts +1 -4
  47. package/src/components/primitives/__snapshots__/Center.stories.tsx.snap +37 -0
  48. package/src/components/primitives/__snapshots__/Stack.stories.tsx.snap +58 -297
  49. package/src/components/primitives/__snapshots__/View.stories.tsx.snap +4 -4
  50. package/src/components/primitives/__snapshots_web__/Center.stories.tsx.snap +32 -0
  51. package/src/components/primitives/__snapshots_web__/Stack.stories.tsx.snap +16 -155
  52. package/src/components/primitives/__snapshots_web__/View.stories.tsx.snap +2 -2
  53. package/src/components/typography/Typography.stories.tsx +5 -5
  54. package/src/components/typography/__snapshots__/Typography.stories.tsx.snap +20 -20
  55. package/src/components/typography/__snapshots_web__/Typography.stories.tsx.snap +56 -56
  56. package/src/core/BumperDecorator.tsx +1 -1
  57. package/src/index.ts +4 -2
  58. package/src/story-components/StorySection.tsx +5 -5
  59. package/src/story-components/StoryTitle.tsx +3 -3
  60. package/src/tamagui.config.ts +3 -1
  61. package/src/themes/__snapshots_web__/light.stories.tsx.snap +112 -112
  62. package/src/themes/light.stories.tsx +6 -6
  63. package/src/themes/light.ts +1 -1
  64. package/src/{themes → tokens}/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +134 -134
  65. package/src/{themes → tokens}/palettes/deepPurpleColorPalette.stories.tsx +5 -5
  66. package/src/tokens/radius.ts +7 -0
  67. package/src/tokens/size.ts +12 -8
  68. package/src/tokens/space.ts +13 -13
  69. package/tsconfig.json +0 -1
  70. package/dist/definitions/components/primitives/Stacks.d.ts.map +0 -1
  71. /package/dist/definitions/{themes → tokens}/palettes/deepPurpleColorPalette.d.ts +0 -0
  72. /package/src/{themes → tokens}/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +0 -0
  73. /package/src/{themes → tokens}/palettes/deepPurpleColorPalette.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/bumper",
3
- "version": "2.4.2-canary.9a20239c7f70ea30ccc58f4e866b2322585529c6.0",
3
+ "version": "2.5.1-canary.9789a78a274b9d336c93fc42d4a6561d0d61ff73.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "directory": "@ornikar/bumper",
@@ -31,13 +31,13 @@
31
31
  "@tamagui/core": "1.135.6"
32
32
  },
33
33
  "peerDependencies": {
34
- "@storybook/addons": ">=7.6.20",
34
+ "@storybook/preview-api": ">=8.6.15",
35
35
  "react": "^18.3.1",
36
36
  "react-dom": "^18.3.1",
37
37
  "react-native": ">=0.76.9"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
- "@storybook/addons": {
40
+ "@storybook/preview-api": {
41
41
  "optional": true
42
42
  },
43
43
  "react-dom": {
@@ -1,4 +1,4 @@
1
- import type { ComponentStory, Meta } from '@storybook/react';
1
+ import type { Meta, StoryFn } from '@storybook/react';
2
2
  import type { View } from '@tamagui/core';
3
3
  import type { ReactElement } from 'react';
4
4
  import { Typography } from '../typography/Typograhy';
@@ -30,7 +30,7 @@ const SwitchBreakpointsComponent = (): ReactElement => {
30
30
  );
31
31
  };
32
32
 
33
- export const BreakpointsStory: ComponentStory<typeof View> = () => {
33
+ export const BreakpointsStory: StoryFn<typeof View> = () => {
34
34
  return (
35
35
  <>
36
36
  <CurrentBreakpointNameComponent />
@@ -0,0 +1,17 @@
1
+ import type { Meta, StoryFn } 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: StoryFn<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
- import type { ComponentStory, Meta } from '@storybook/react';
2
- import { Text } from '@tamagui/core';
3
- import { StorySection } from '../../story-components/StorySection';
4
- import { Typography } from '../typography/Typograhy';
5
- import { HStack, Stack, VStack } from './Stacks';
1
+ import type { Meta, StoryFn } from '@storybook/react';
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/Stacks',
7
+ title: 'bumper/Primitives',
9
8
  component: Stack,
10
- } satisfies Meta<unknown>;
9
+ } satisfies Meta<StackProps>;
11
10
 
12
- export const StacksStory: ComponentStory<typeof Stack> = () => (
11
+ const items = (
13
12
  <>
14
- <Text>
15
- - space is deprecated, use gap instead - direction from NB is now flexDirection- reversed from NB is now direction
16
- (rtl/ltr)
17
- </Text>
18
-
19
- <StorySection title="Stack">
20
- <StorySection.SubSection title="Demo">
21
- <Stack flexDirection="column-reverse" gap="$2">
22
- <Typography.Text>1</Typography.Text>
23
- <Typography.Text>2</Typography.Text>
24
- </Stack>
25
- </StorySection.SubSection>
26
- </StorySection>
27
-
28
- <StorySection title="HStack">
29
- <StorySection.SubSection title="Default">
30
- <HStack>
31
- <Typography.Text>1</Typography.Text>
32
- <Typography.Text>2</Typography.Text>
33
- </HStack>
34
- </StorySection.SubSection>
35
-
36
- <StorySection.SubSection title="With gap (space)">
37
- <HStack gap="$2">
38
- <Typography.Text backgroundColor="$bg.accent.default">1</Typography.Text>
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
- <StorySection title="VStack">
45
- <StorySection.SubSection title="Default">
46
- <VStack>
47
- <Typography.Text>1</Typography.Text>
48
- <Typography.Text>2</Typography.Text>
49
- </VStack>
50
- </StorySection.SubSection>
39
+ export const StackStory: StoryFn<typeof Stack> = () => (
40
+ <>
41
+ <HStack gap="$space.4">{items}</HStack>
51
42
 
52
- <StorySection.SubSection title="With gap (space)">
53
- <VStack gap="$2">
54
- <Typography.Text backgroundColor="$bg.accent.default">1</Typography.Text>
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
- StacksStory.storyName = 'Stacks';
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
- import type { ComponentStory, Meta } from '@storybook/react';
1
+ import type { Meta, StoryFn } 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/View',
6
+ title: 'bumper/Primitives',
6
7
  component: View,
7
- } satisfies Meta<unknown>;
8
+ } satisfies Meta<ViewProps>;
8
9
 
9
- export const ViewStory: ComponentStory<typeof View> = () => (
10
- <View width={50} height={500} backgroundColor="$bg.base.mid.default" />
10
+ export const ViewStory: StoryFn<typeof View> = () => (
11
+ <View width="$size.120" height="$size.120" backgroundColor="$bg.accent.default" />
11
12
  );
12
13
 
13
14
  ViewStory.storyName = 'View';
@@ -1,5 +1,2 @@
1
- import type { View } from '@tamagui/core';
2
- import type { ComponentProps } from 'react';
3
-
1
+ export type { ViewProps } from '@tamagui/core';
4
2
  export { View } from '@tamagui/core';
5
- export type ViewProps = ComponentProps<typeof 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/Stacks Stacks 1`] = `
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": "column",
24
- "paddingBottom": 4,
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
- "flexDirection": "column",
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
- "flexDirection": "column",
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
- "flexDirection": "column",
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
- "paddingBottom": 4,
243
- "paddingLeft": 4,
244
- "paddingRight": 4,
245
- "paddingTop": 4,
79
+ "gap": 4,
80
+ "marginTop": 16,
246
81
  }
247
82
  }
248
83
  >
249
- <Text
84
+ <View
250
85
  style={
251
86
  {
252
- "fontFamily": "GTStandardSemibold",
253
- "fontSize": 38,
254
- "letterSpacing": 0,
255
- "lineHeight": 48,
256
- "marginBottom": 4,
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
- suppressHighlighting={true}
260
- >
261
- VStack
262
- </Text>
100
+ />
263
101
  <View
264
102
  style={
265
103
  {
266
- "flexDirection": "column",
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
- "flexDirection": "column",
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
  `;