@digital-b2c/coreui-kit 0.5.5 → 0.6.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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +60 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +72 -11
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.mjs +60 -30
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +99 -100
package/dist/types/global.d.ts
CHANGED
|
@@ -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,99 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@digital-b2c/coreui-kit",
|
|
3
|
-
"version": "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
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"@
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"@eslint/
|
|
68
|
-
"@
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"eslint
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@digital-b2c/coreui-kit",
|
|
3
|
+
"version": "0.6.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
|
+
"lint-staged": {
|
|
35
|
+
"*.{ts,tsx,js,jsx}": [
|
|
36
|
+
"prettier --write",
|
|
37
|
+
"eslint --fix"
|
|
38
|
+
],
|
|
39
|
+
"*.{json,scss,css,md}": [
|
|
40
|
+
"prettier --write"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"sideEffects": [
|
|
44
|
+
"*.css"
|
|
45
|
+
],
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": ">=18",
|
|
48
|
+
"react-dom": ">=18"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@gsap/react": "^2.1.2",
|
|
52
|
+
"clsx": "^2.1.1",
|
|
53
|
+
"gsap": "^3.15.0",
|
|
54
|
+
"swiper": "^12.1.4"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@eslint/js": "^10.0.1",
|
|
58
|
+
"@storybook/addon-a11y": "^10.2.14",
|
|
59
|
+
"@storybook/addon-docs": "^10.2.14",
|
|
60
|
+
"@storybook/addon-vitest": "^10.2.14",
|
|
61
|
+
"@storybook/react-vite": "^10.2.14",
|
|
62
|
+
"@svgr/core": "^8.1.0",
|
|
63
|
+
"@svgr/plugin-jsx": "^8.1.0",
|
|
64
|
+
"@types/node": "^25.5.0",
|
|
65
|
+
"@types/react": "^19",
|
|
66
|
+
"@types/react-dom": "^19",
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
68
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
69
|
+
"esbuild-plugin-svgr": "^1.1.0",
|
|
70
|
+
"esbuild-sass-plugin": "^3.7.0",
|
|
71
|
+
"eslint": "^9",
|
|
72
|
+
"eslint-config-prettier": "^10.1.8",
|
|
73
|
+
"eslint-plugin-import": "^2.32.0",
|
|
74
|
+
"eslint-plugin-react": "^7.37.5",
|
|
75
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
76
|
+
"eslint-plugin-storybook": "^10.2.14",
|
|
77
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
78
|
+
"husky": "^9.1.7",
|
|
79
|
+
"lint-staged": "^16.3.1",
|
|
80
|
+
"prettier": "^3.8.1",
|
|
81
|
+
"sass": "^1.98.0",
|
|
82
|
+
"storybook": "^10.2.14",
|
|
83
|
+
"tsup": "^8.0.1",
|
|
84
|
+
"typescript": "^5",
|
|
85
|
+
"typescript-eslint": "^8.56.1",
|
|
86
|
+
"vite-plugin-svgr": "^4.5.0",
|
|
87
|
+
"vite-tsconfig-paths": "^6.1.1",
|
|
88
|
+
"vitest": "^4.0.18"
|
|
89
|
+
},
|
|
90
|
+
"scripts": {
|
|
91
|
+
"build": "tsup",
|
|
92
|
+
"postbuild": "node scripts/copy-types.js",
|
|
93
|
+
"dev": "tsup --watch",
|
|
94
|
+
"lint": "eslint .",
|
|
95
|
+
"storybook": "storybook dev -p 6006",
|
|
96
|
+
"build-storybook": "storybook build",
|
|
97
|
+
"test": "vitest"
|
|
98
|
+
}
|
|
99
|
+
}
|