@nuskin/react-mysite-elements 1.0.0-mysiteshopHeader.3 → 1.0.0-mysiteshopHeader.5
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/README.md +222 -65
- package/dist/common/card/NsProductCard.d.ts +1 -1
- package/dist/common/carousel/NsProductCarousel.d.ts +2 -1
- package/dist/common/carousel/ProductTabCarousel.d.ts +2 -0
- package/dist/common/carousel/index.d.ts +0 -3
- package/dist/common/types/image.d.ts +0 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +50 -50
- package/dist/common/carousel/CarouselControl.d.ts +0 -9
- package/dist/common/carousel/IconWrapper.d.ts +0 -7
- package/dist/common/carousel/specs/CarouselControl.spec.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuskin/react-mysite-elements",
|
|
3
|
-
"version": "1.0.0-mysiteshopHeader.
|
|
3
|
+
"version": "1.0.0-mysiteshopHeader.5",
|
|
4
4
|
"description": "A React based component library for mysite",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,72 +29,72 @@
|
|
|
29
29
|
"test:coverage": "jest --coverage",
|
|
30
30
|
"types:check": "tsc --pretty",
|
|
31
31
|
"storybook": "storybook dev -p 6006",
|
|
32
|
-
"sb": "storybook dev -p 6006"
|
|
32
|
+
"sb": "storybook dev -p 6006",
|
|
33
|
+
"build-storybook": "storybook build -o dist"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
36
|
"@mui/material": "5.14.16",
|
|
36
|
-
"@types/react": "
|
|
37
|
-
"@types/react-dom": "
|
|
38
|
-
"react-circular-progressbar": "
|
|
39
|
-
"react": "
|
|
40
|
-
"react-
|
|
41
|
-
"react-icons": "^4.0.0",
|
|
42
|
-
"react-slick": "^0.29.0"
|
|
37
|
+
"@types/react": "18.3.22",
|
|
38
|
+
"@types/react-dom": "18.3.7",
|
|
39
|
+
"react-circular-progressbar": "2.2.0",
|
|
40
|
+
"react-icons": "4.12.0",
|
|
41
|
+
"react-slick": "0.29.0"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@babel/core": "
|
|
46
|
-
"@babel/preset-env": "
|
|
47
|
-
"@babel/preset-react": "
|
|
48
|
-
"@babel/preset-typescript": "
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@storybook/
|
|
53
|
-
"@storybook/
|
|
54
|
-
"@storybook/test-runner": "^0.23.0",
|
|
55
|
-
"@storybook/testing-library": "^0.2.2",
|
|
44
|
+
"@babel/core": "7.27.1",
|
|
45
|
+
"@babel/preset-env": "7.27.2",
|
|
46
|
+
"@babel/preset-react": "7.27.1",
|
|
47
|
+
"@babel/preset-typescript": "7.27.1",
|
|
48
|
+
"@storybook/addon-docs": "9.1.10",
|
|
49
|
+
"@storybook/jest": "0.2.3",
|
|
50
|
+
"@storybook/nextjs": "9.1.10",
|
|
51
|
+
"@storybook/test-runner": "0.23.0",
|
|
52
|
+
"@storybook/testing-library": "0.2.2",
|
|
56
53
|
"@swc/core": "1.10.15",
|
|
57
54
|
"@testing-library/dom": "10.4.0",
|
|
58
|
-
"@testing-library/jest-dom": "
|
|
55
|
+
"@testing-library/jest-dom": "6.6.3",
|
|
59
56
|
"@testing-library/react": "16.2.0",
|
|
60
|
-
"@types/jest": "
|
|
61
|
-
"@types/lodash": "
|
|
62
|
-
"@types/node": "
|
|
63
|
-
"@types/react-slick": "
|
|
64
|
-
"@types/react-test-renderer": "
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "
|
|
66
|
-
"@typescript-eslint/parser": "
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"babel-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"eslint
|
|
73
|
-
"eslint-
|
|
74
|
-
"eslint-
|
|
75
|
-
"eslint-plugin-
|
|
76
|
-
"eslint-plugin-
|
|
77
|
-
"eslint-plugin-
|
|
78
|
-
"
|
|
79
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
80
|
-
"next": "^15.5.4",
|
|
81
|
-
"prettier": "^3.5.3",
|
|
82
|
-
"react": "^18.2.0",
|
|
83
|
-
"storybook": "^9.1.10",
|
|
84
|
-
"tsup": "8.3.6",
|
|
85
|
-
"typescript": "^5.4.2",
|
|
57
|
+
"@types/jest": "29.5.14",
|
|
58
|
+
"@types/lodash": "4.17.17",
|
|
59
|
+
"@types/node": "20.17.50",
|
|
60
|
+
"@types/react-slick": "0.23.11",
|
|
61
|
+
"@types/react-test-renderer": "18.3.1",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "8.32.1",
|
|
63
|
+
"@typescript-eslint/parser": "8.32.1",
|
|
64
|
+
"@nuskin/foundation-theme": "1.x",
|
|
65
|
+
"@nuskin/foundation-ui-components": "2.1.1",
|
|
66
|
+
"babel-jest": "29.7.0",
|
|
67
|
+
"babel-loader": "9.2.1",
|
|
68
|
+
"babel-plugin-emotion": "11.0.0",
|
|
69
|
+
"eslint": "8.57.1",
|
|
70
|
+
"eslint-config-next": "15.5.4",
|
|
71
|
+
"eslint-config-prettier": "10.1.5",
|
|
72
|
+
"eslint-plugin-json": "3.1.0",
|
|
73
|
+
"eslint-plugin-prettier": "5.4.0",
|
|
74
|
+
"eslint-plugin-react": "7.37.5",
|
|
75
|
+
"eslint-plugin-spellcheck": "0.0.20",
|
|
86
76
|
"eslint-plugin-storybook": "9.1.10",
|
|
87
|
-
"
|
|
77
|
+
"eslint-plugin-unused-imports": "4.1.4",
|
|
78
|
+
"jest": "29.7.0",
|
|
79
|
+
"jest-environment-jsdom": "29.7.0",
|
|
80
|
+
"next": "15.5.4",
|
|
81
|
+
"prettier": "3.5.3",
|
|
82
|
+
"storybook": "9.1.10",
|
|
83
|
+
"tsup": "8.5.0",
|
|
84
|
+
"typescript": "5.8.3",
|
|
85
|
+
"react": "18.3.1",
|
|
86
|
+
"react-dom": "18.3.1"
|
|
88
87
|
},
|
|
89
88
|
"peerDependencies": {
|
|
90
89
|
"@nuskin/foundation-theme": "1.x",
|
|
91
90
|
"@nuskin/foundation-ui-components": "2.x",
|
|
92
|
-
"react": "^18.
|
|
93
|
-
"react-dom": "^18.
|
|
91
|
+
"react": "^18.3.1",
|
|
92
|
+
"react-dom": "^18.3.1",
|
|
94
93
|
"typescript": "^5.4.2"
|
|
95
94
|
},
|
|
96
95
|
"resolutions": {
|
|
97
96
|
"@nuskin/foundation-theme": "1.7.0",
|
|
97
|
+
"@nuskin/foundation-ui-components": "2.x",
|
|
98
98
|
"esbuild": "0.25.0",
|
|
99
99
|
"@babel/runtime": "7.26.10",
|
|
100
100
|
"@babel/helpers": "7.26.10"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
interface CarouselControlProps {
|
|
3
|
-
next(): void;
|
|
4
|
-
prev(): void;
|
|
5
|
-
readonly viewAllLabel?: string;
|
|
6
|
-
readonly viewAllUrl?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const CarouselControl: ({ next, prev, viewAllUrl, viewAllLabel }: CarouselControlProps) => ReactElement;
|
|
9
|
-
export default CarouselControl;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren, ReactElement } from 'react';
|
|
2
|
-
type IconWrapperProps = PropsWithChildren<{
|
|
3
|
-
onClick(): void;
|
|
4
|
-
readonly className?: string;
|
|
5
|
-
}>;
|
|
6
|
-
declare const IconWrapper: ({ children, onClick, className }: IconWrapperProps) => ReactElement;
|
|
7
|
-
export default IconWrapper;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|