@nextelco/common-ui 1.0.2 → 1.0.3
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/dist/common-ui.css +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.cjs.js +607 -3
- package/dist/index.es.js +4291 -0
- package/package.json +74 -29
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js +0 -2
- package/dist/index.esm.js.map +0 -1
- package/dist/types/components/Button.d.ts +0 -3
- package/dist/types/index.d.ts +0 -1
- package/rollup.config.js +0 -19
- package/src/components/Button.tsx +0 -7
- package/src/index.ts +0 -1
- package/tsconfig.json +0 -15
package/package.json
CHANGED
@@ -1,29 +1,74 @@
|
|
1
|
-
{
|
2
|
-
"name": "@nextelco/common-ui",
|
3
|
-
"
|
4
|
-
"version": "1.0.
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"
|
9
|
-
|
10
|
-
"
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
"peerDependencies": {
|
20
|
-
"react": "^
|
21
|
-
"react-dom": "^
|
22
|
-
},
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
|
29
|
-
|
1
|
+
{
|
2
|
+
"name": "@nextelco/common-ui",
|
3
|
+
"private": false,
|
4
|
+
"version": "1.0.3",
|
5
|
+
"type": "module",
|
6
|
+
"main": "dist/index.cjs.js",
|
7
|
+
"module": "dist/index.esm.js",
|
8
|
+
"types": "dist/index.d.ts",
|
9
|
+
"files": [
|
10
|
+
"dist"
|
11
|
+
],
|
12
|
+
"exports": {
|
13
|
+
".": {
|
14
|
+
"import": "./dist/index.esm.js",
|
15
|
+
"require": "./dist/index.cjs.js",
|
16
|
+
"types": "./dist/index.d.ts"
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"peerDependencies": {
|
20
|
+
"react": "^18.0.0",
|
21
|
+
"react-dom": "^18.0.0"
|
22
|
+
},
|
23
|
+
"scripts": {
|
24
|
+
"dev": "vite",
|
25
|
+
"build": "tsc -b && vite build",
|
26
|
+
"lint": "eslint .",
|
27
|
+
"preview": "vite preview",
|
28
|
+
"storybook": "storybook dev -p 6006",
|
29
|
+
"build-storybook": "storybook build",
|
30
|
+
"prepublishOnly": "npm run build",
|
31
|
+
"pub": "git add . && git commit -m \"update\" && git push && npm version patch && npm run build && npm publish --access public"
|
32
|
+
},
|
33
|
+
"dependencies": {
|
34
|
+
"@fortawesome/fontawesome-free": "^6.7.2",
|
35
|
+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
36
|
+
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
37
|
+
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
38
|
+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
39
|
+
"@fortawesome/react-fontawesome": "^0.2.2"
|
40
|
+
},
|
41
|
+
"devDependencies": {
|
42
|
+
"@chromatic-com/storybook": "^3.2.4",
|
43
|
+
"@eslint/js": "^9.17.0",
|
44
|
+
"@storybook/addon-a11y": "^8.5.3",
|
45
|
+
"@storybook/addon-essentials": "^8.5.3",
|
46
|
+
"@storybook/addon-interactions": "^8.5.3",
|
47
|
+
"@storybook/addon-onboarding": "^8.5.3",
|
48
|
+
"@storybook/blocks": "^8.5.3",
|
49
|
+
"@storybook/react": "^8.5.3",
|
50
|
+
"@storybook/react-vite": "^8.5.3",
|
51
|
+
"@storybook/test": "^8.5.3",
|
52
|
+
"@types/react": "^18.3.18",
|
53
|
+
"@types/react-dom": "^18.3.5",
|
54
|
+
"@vitejs/plugin-react": "^4.3.4",
|
55
|
+
"eslint": "^9.17.0",
|
56
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
57
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
58
|
+
"eslint-plugin-storybook": "^0.11.2",
|
59
|
+
"globals": "^15.14.0",
|
60
|
+
"sass": "^1.83.4",
|
61
|
+
"sass-embedded": "^1.83.4",
|
62
|
+
"storybook": "^8.5.3",
|
63
|
+
"storybook-addon-designs": "^6.3.1",
|
64
|
+
"typescript": "~5.6.2",
|
65
|
+
"typescript-eslint": "^8.18.2",
|
66
|
+
"vite": "^6.0.5",
|
67
|
+
"vite-plugin-dts": "^4.5.0"
|
68
|
+
},
|
69
|
+
"eslintConfig": {
|
70
|
+
"extends": [
|
71
|
+
"plugin:storybook/recommended"
|
72
|
+
]
|
73
|
+
}
|
74
|
+
}
|
package/dist/index.cjs.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/index.esm.js
DELETED
package/dist/index.esm.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Button';
|
package/rollup.config.js
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import typescript from '@rollup/plugin-typescript'
|
2
|
-
|
3
|
-
export default {
|
4
|
-
input: 'src/index.ts', // Your entry point
|
5
|
-
output: [
|
6
|
-
{
|
7
|
-
file: 'dist/index.cjs.js',
|
8
|
-
format: 'cjs',
|
9
|
-
sourcemap: true,
|
10
|
-
},
|
11
|
-
{
|
12
|
-
file: 'dist/index.esm.js',
|
13
|
-
format: 'esm',
|
14
|
-
sourcemap: true,
|
15
|
-
},
|
16
|
-
],
|
17
|
-
plugins: [typescript()],
|
18
|
-
external: ['react', 'react-dom'], // Treat React as external to avoid bundling
|
19
|
-
}
|
package/src/index.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Button'
|
package/tsconfig.json
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"target": "ES5",
|
4
|
-
"lib": ["dom", "esnext"],
|
5
|
-
"jsx": "react",
|
6
|
-
"declaration": true,
|
7
|
-
"declarationDir": "./dist/types",
|
8
|
-
"module": "ESNext",
|
9
|
-
"moduleResolution": "node",
|
10
|
-
"esModuleInterop": true,
|
11
|
-
"skipLibCheck": true,
|
12
|
-
"strict": true
|
13
|
-
},
|
14
|
-
"include": ["src/**/*"]
|
15
|
-
}
|