@nuskin/marketing-components 1.2.0 → 1.3.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.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
import CsImage from './CsImage';
|
|
3
|
+
declare const meta: Meta<typeof CsImage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CsImage>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const FullWidth: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
import CsText from './CsText';
|
|
3
|
+
declare const meta: Meta<typeof CsText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CsText>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CenterAligned: Story;
|
|
8
|
+
export declare const WithBackground: Story;
|
|
9
|
+
export declare const DarkFont: Story;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuskin/marketing-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A React based component library for marketing components to use with content stack pagebuilding",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,13 +23,18 @@
|
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build:package": "tsup",
|
|
26
|
+
"build-dev": "yarn build-storybook",
|
|
27
|
+
"build-test": "yarn build-storybook",
|
|
28
|
+
"build-prod": "yarn build-storybook --mode=production",
|
|
26
29
|
"lint": "eslint src",
|
|
27
30
|
"test": "jest --coverage",
|
|
28
31
|
"test:watch": "jest --watch",
|
|
29
32
|
"test:update-snapshot": "jest -u",
|
|
30
33
|
"test:failed": "npx jest --onlyFailures",
|
|
31
34
|
"test:coverage": "jest --coverage",
|
|
32
|
-
"types:check": "tsc --pretty"
|
|
35
|
+
"types:check": "tsc --pretty",
|
|
36
|
+
"storybook": "storybook dev -p 6006",
|
|
37
|
+
"build-storybook": "storybook build -o dist"
|
|
33
38
|
},
|
|
34
39
|
"dependencies": {
|
|
35
40
|
"@nuskin/foundation-core-app": "^1.16.1",
|
|
@@ -46,6 +51,11 @@
|
|
|
46
51
|
"@babel/preset-typescript": "^7.23.2",
|
|
47
52
|
"@nuskin/eslint-config": "^1.0.0-setup.1",
|
|
48
53
|
"@nuskin/foundation-ui-components": "2.0.0",
|
|
54
|
+
"@storybook/addon-a11y": "^10.0.13",
|
|
55
|
+
"@storybook/addon-docs": "^10.0.13",
|
|
56
|
+
"@storybook/addon-webpack5-compiler-swc": "^4.0.2",
|
|
57
|
+
"@storybook/blocks": "^8.6.14",
|
|
58
|
+
"@storybook/react-webpack5": "^10.0.13",
|
|
49
59
|
"@swc/core": "1.10.15",
|
|
50
60
|
"@testing-library/dom": "10.4.0",
|
|
51
61
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -68,11 +78,13 @@
|
|
|
68
78
|
"eslint-plugin-prettier": "^5.2.4",
|
|
69
79
|
"eslint-plugin-react": "^7.37.4",
|
|
70
80
|
"eslint-plugin-spellcheck": "^0.0.20",
|
|
81
|
+
"eslint-plugin-storybook": "^10.0.13",
|
|
71
82
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
72
83
|
"jest": "^29.7.0",
|
|
73
84
|
"jest-environment-jsdom": "^29.7.0",
|
|
74
85
|
"prettier": "^3.5.3",
|
|
75
86
|
"react": "^18.2.0",
|
|
87
|
+
"storybook": "^10.0.13",
|
|
76
88
|
"tsup": "8.3.6",
|
|
77
89
|
"typescript": "^5.4.2"
|
|
78
90
|
},
|