@digital-b2c/coreui-kit 0.7.5 → 0.8.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.
@@ -1,25 +1,25 @@
1
- declare module '*.svg' {
2
- import type * as React from 'react'
3
-
4
- export const ReactComponent: React.FunctionComponent<
5
- React.SVGProps<SVGSVGElement> & { title?: string }
6
- >
7
-
8
- const src: string
9
- export default src
10
- }
11
-
12
- declare module '*.module.css' {
13
- const classes: { readonly [key: string]: string }
14
- export default classes
15
- }
16
-
17
- declare module '*.module.scss' {
18
- const classes: { readonly [key: string]: string }
19
- export default classes
20
- }
21
-
22
- declare module '*.module.sass' {
23
- const classes: { readonly [key: string]: string }
24
- export default classes
25
- }
1
+ declare module '*.svg' {
2
+ import type * as React from 'react'
3
+
4
+ export const ReactComponent: React.FunctionComponent<
5
+ React.SVGProps<SVGSVGElement> & { title?: string }
6
+ >
7
+
8
+ const src: string
9
+ export default src
10
+ }
11
+
12
+ declare module '*.module.css' {
13
+ const classes: { readonly [key: string]: string }
14
+ export default classes
15
+ }
16
+
17
+ declare module '*.module.scss' {
18
+ const classes: { readonly [key: string]: string }
19
+ export default classes
20
+ }
21
+
22
+ declare module '*.module.sass' {
23
+ const classes: { readonly [key: string]: string }
24
+ export default classes
25
+ }
package/package.json CHANGED
@@ -1,100 +1,100 @@
1
- {
2
- "name": "@digital-b2c/coreui-kit",
3
- "version": "0.7.5",
4
- "type": "module",
5
- "main": "dist/index.cjs",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "exports": {
12
- ".": {
13
- "types": "./dist/index.d.ts",
14
- "import": "./dist/index.mjs",
15
- "require": "./dist/index.cjs"
16
- },
17
- "./styles.css": "./dist/index.css"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://bitbucket.org/luxottica_rona/ui-elec-app.git"
22
- },
23
- "homepage": "https://bitbucket.org/luxottica_rona/ui-elec-app",
24
- "bugs": {
25
- "url": "https://bitbucket.org/luxottica_rona/ui-elec-app/issues"
26
- },
27
- "license": "MIT",
28
- "publishConfig": {
29
- "access": "public"
30
- },
31
- "engines": {
32
- "node": ">=18"
33
- },
34
- "scripts": {
35
- "build": "tsup",
36
- "postbuild": "node scripts/copy-types.js",
37
- "dev": "tsup --watch",
38
- "lint": "eslint .",
39
- "storybook": "storybook dev -p 6006",
40
- "build-storybook": "storybook build",
41
- "test": "vitest",
42
- "prepare": "husky"
43
- },
44
- "lint-staged": {
45
- "*.{ts,tsx,js,jsx}": [
46
- "prettier --write",
47
- "eslint --fix"
48
- ],
49
- "*.{json,scss,css,md}": [
50
- "prettier --write"
51
- ]
52
- },
53
- "sideEffects": [
54
- "*.css"
55
- ],
56
- "peerDependencies": {
57
- "react": ">=18",
58
- "react-dom": ">=18"
59
- },
60
- "dependencies": {
61
- "@gsap/react": "^2.1.2",
62
- "clsx": "^2.1.1",
63
- "gsap": "^3.15.0",
64
- "swiper": "^12.1.4"
65
- },
66
- "devDependencies": {
67
- "@eslint/js": "^10.0.1",
68
- "@storybook/addon-a11y": "^10.2.14",
69
- "@storybook/addon-docs": "^10.2.14",
70
- "@storybook/addon-vitest": "^10.2.14",
71
- "@storybook/react-vite": "^10.2.14",
72
- "@svgr/core": "^8.1.0",
73
- "@svgr/plugin-jsx": "^8.1.0",
74
- "@types/node": "^25.5.0",
75
- "@types/react": "^19",
76
- "@types/react-dom": "^19",
77
- "@typescript-eslint/eslint-plugin": "^8.56.1",
78
- "@typescript-eslint/parser": "^8.56.1",
79
- "esbuild-plugin-svgr": "^1.1.0",
80
- "esbuild-sass-plugin": "^3.7.0",
81
- "eslint": "^9",
82
- "eslint-config-prettier": "^10.1.8",
83
- "eslint-plugin-import": "^2.32.0",
84
- "eslint-plugin-react": "^7.37.5",
85
- "eslint-plugin-react-hooks": "^7.0.1",
86
- "eslint-plugin-storybook": "^10.2.14",
87
- "eslint-plugin-unused-imports": "^4.4.1",
88
- "husky": "^9.1.7",
89
- "lint-staged": "^16.3.1",
90
- "prettier": "^3.8.1",
91
- "sass": "^1.98.0",
92
- "storybook": "^10.2.14",
93
- "tsup": "^8.0.1",
94
- "typescript": "^5",
95
- "typescript-eslint": "^8.56.1",
96
- "vite-plugin-svgr": "^4.5.0",
97
- "vite-tsconfig-paths": "^6.1.1",
98
- "vitest": "^4.0.18"
99
- }
100
- }
1
+ {
2
+ "name": "@digital-b2c/coreui-kit",
3
+ "version": "0.8.0",
4
+ "type": "module",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.cjs"
16
+ },
17
+ "./styles.css": "./dist/index.css"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://bitbucket.org/luxottica_rona/ui-elec-app.git"
22
+ },
23
+ "homepage": "https://bitbucket.org/luxottica_rona/ui-elec-app",
24
+ "bugs": {
25
+ "url": "https://bitbucket.org/luxottica_rona/ui-elec-app/issues"
26
+ },
27
+ "license": "MIT",
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "engines": {
32
+ "node": ">=18"
33
+ },
34
+ "scripts": {
35
+ "build": "tsup",
36
+ "postbuild": "node scripts/copy-types.js",
37
+ "dev": "tsup --watch",
38
+ "lint": "eslint .",
39
+ "storybook": "storybook dev -p 6006",
40
+ "build-storybook": "storybook build",
41
+ "test": "vitest",
42
+ "prepare": "husky"
43
+ },
44
+ "lint-staged": {
45
+ "*.{ts,tsx,js,jsx}": [
46
+ "prettier --write",
47
+ "eslint --fix"
48
+ ],
49
+ "*.{json,scss,css,md}": [
50
+ "prettier --write"
51
+ ]
52
+ },
53
+ "sideEffects": [
54
+ "*.css"
55
+ ],
56
+ "peerDependencies": {
57
+ "react": ">=18",
58
+ "react-dom": ">=18"
59
+ },
60
+ "dependencies": {
61
+ "@gsap/react": "^2.1.2",
62
+ "clsx": "^2.1.1",
63
+ "gsap": "^3.15.0",
64
+ "swiper": "^12.1.4"
65
+ },
66
+ "devDependencies": {
67
+ "@eslint/js": "^10.0.1",
68
+ "@storybook/addon-a11y": "^10.2.14",
69
+ "@storybook/addon-docs": "^10.2.14",
70
+ "@storybook/addon-vitest": "^10.2.14",
71
+ "@storybook/react-vite": "^10.2.14",
72
+ "@svgr/core": "^8.1.0",
73
+ "@svgr/plugin-jsx": "^8.1.0",
74
+ "@types/node": "^25.5.0",
75
+ "@types/react": "^19",
76
+ "@types/react-dom": "^19",
77
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
78
+ "@typescript-eslint/parser": "^8.56.1",
79
+ "esbuild-plugin-svgr": "^1.1.0",
80
+ "esbuild-sass-plugin": "^3.7.0",
81
+ "eslint": "^9",
82
+ "eslint-config-prettier": "^10.1.8",
83
+ "eslint-plugin-import": "^2.32.0",
84
+ "eslint-plugin-react": "^7.37.5",
85
+ "eslint-plugin-react-hooks": "^7.0.1",
86
+ "eslint-plugin-storybook": "^10.2.14",
87
+ "eslint-plugin-unused-imports": "^4.4.1",
88
+ "husky": "^9.1.7",
89
+ "lint-staged": "^16.3.1",
90
+ "prettier": "^3.8.1",
91
+ "sass": "^1.98.0",
92
+ "storybook": "^10.2.14",
93
+ "tsup": "^8.0.1",
94
+ "typescript": "^5",
95
+ "typescript-eslint": "^8.56.1",
96
+ "vite-plugin-svgr": "^4.5.0",
97
+ "vite-tsconfig-paths": "^6.1.1",
98
+ "vitest": "^4.0.18"
99
+ }
100
+ }