@ornikar/bumper 2.3.1-canary.28d1f9f68cb643b8c67559f72df59006a88da1e9.0 → 2.4.1-canary.5ba1adb7ef6f41e2165abd46b6c8df65c0325fc7.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 +19 -1
- package/dist/definitions/core/BumperDecorator.d.ts +1 -1
- package/dist/definitions/core/BumperDecorator.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +1 -1
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +1 -1
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +2 -2
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +2 -2
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +1 -1
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +1 -1
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +1 -1
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/components/breakpoints/breakpoints.stories.tsx +2 -2
- package/src/components/primitives/Stack.stories.tsx +2 -2
- package/src/components/primitives/View.stories.tsx +2 -2
- package/src/components/typography/Typography.stories.tsx +2 -2
- package/src/core/BumperDecorator.tsx +1 -1
- package/src/themes/light.stories.tsx +2 -2
- package/src/themes/palettes/deepPurpleColorPalette.stories.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/bumper",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1-canary.5ba1adb7ef6f41e2165abd46b6c8df65c0325fc7.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/
|
|
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/
|
|
40
|
+
"@storybook/preview-api": {
|
|
41
41
|
"optional": true
|
|
42
42
|
},
|
|
43
43
|
"react-dom": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@babel/core": "7.27.1",
|
|
52
52
|
"@testing-library/dom": "10.4.1",
|
|
53
|
-
"@testing-library/react": "16.3.
|
|
53
|
+
"@testing-library/react": "16.3.1",
|
|
54
54
|
"@testing-library/react-native": "13.3.3",
|
|
55
55
|
"@types/react": "18.3.27",
|
|
56
56
|
"react": "18.3.1",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
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:
|
|
33
|
+
export const BreakpointsStory: StoryFn<typeof View> = () => {
|
|
34
34
|
return (
|
|
35
35
|
<>
|
|
36
36
|
<CurrentBreakpointNameComponent />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Meta, StoryFn } from '@storybook/react';
|
|
2
2
|
import { Text } from '@tamagui/core';
|
|
3
3
|
import { StorySection } from '../../story-components/StorySection';
|
|
4
4
|
import { Typography } from '../typography/Typograhy';
|
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
component: Stack,
|
|
10
10
|
} satisfies Meta<unknown>;
|
|
11
11
|
|
|
12
|
-
export const StacksStory:
|
|
12
|
+
export const StacksStory: StoryFn<typeof Stack> = () => (
|
|
13
13
|
<>
|
|
14
14
|
<Text>
|
|
15
15
|
- space is deprecated, use gap instead - direction from NB is now flexDirection- reversed from NB is now direction
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Meta, StoryFn } from '@storybook/react';
|
|
2
2
|
import { View } from './View';
|
|
3
3
|
|
|
4
4
|
export default {
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
component: View,
|
|
7
7
|
} satisfies Meta<unknown>;
|
|
8
8
|
|
|
9
|
-
export const ViewStory:
|
|
9
|
+
export const ViewStory: StoryFn<typeof View> = () => (
|
|
10
10
|
<View width={50} height={500} backgroundColor="$bg.base.mid.default" />
|
|
11
11
|
);
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Meta, StoryFn } from '@storybook/react';
|
|
2
2
|
import type { FC } from 'react';
|
|
3
3
|
import { StorySection } from '../../story-components/StorySection';
|
|
4
4
|
import type { BodyFontVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../tokens/fonts';
|
|
@@ -74,7 +74,7 @@ function TypographyVariants({ types }: TypographyTypesProps) {
|
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
export const TypographyStory:
|
|
77
|
+
export const TypographyStory: StoryFn<typeof Typography.Text> = (args) => (
|
|
78
78
|
<>
|
|
79
79
|
<StorySection.Demo>
|
|
80
80
|
<Typography.Text {...args} />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Meta, StoryFn } from '@storybook/react';
|
|
2
2
|
import type { GetThemeValueForKey } from '@tamagui/core';
|
|
3
3
|
import { VStack } from '../components/primitives/Stacks';
|
|
4
4
|
import { View } from '../components/primitives/View';
|
|
@@ -27,7 +27,7 @@ const TokenView = ({ tokenName, tokenValue }: { tokenName: string; tokenValue: s
|
|
|
27
27
|
);
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
export const TypographyHeadingStory:
|
|
30
|
+
export const TypographyHeadingStory: StoryFn<typeof View> = () => (
|
|
31
31
|
<StorySection title="Tokens">
|
|
32
32
|
{Object.entries(light).map(([tokenName, tokenValue]) => (
|
|
33
33
|
<TokenView key={tokenName} tokenName={tokenName} tokenValue={tokenValue} />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Meta, StoryFn } from '@storybook/react';
|
|
2
2
|
import type { GetThemeValueForKey } from '@tamagui/core';
|
|
3
3
|
import { View } from '../../components/primitives/View';
|
|
4
4
|
import { Typography } from '../../components/typography/Typograhy';
|
|
@@ -26,7 +26,7 @@ const TokenView = ({ tokenName, tokenValue }: { tokenName: string; tokenValue: s
|
|
|
26
26
|
);
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
export const TypographyHeadingStory:
|
|
29
|
+
export const TypographyHeadingStory: StoryFn<typeof View> = () => (
|
|
30
30
|
<StorySection title="Palette">
|
|
31
31
|
{Object.entries(deepPurpleColorPalette).map(([tokenName, tokenValue]) => (
|
|
32
32
|
<TokenView key={tokenName} tokenName={tokenName} tokenValue={tokenValue} />
|