anima-ds-nucleus 1.0.0 → 1.0.2
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 +94 -13
- package/dist/anima-ds-nucleus.css +1 -0
- package/dist/anima-ds.cjs.js +44 -1296
- package/dist/anima-ds.esm.js +16253 -70872
- package/package.json +76 -76
- package/src/index.js +3 -0
- package/src/main.jsx +2 -2
- package/dist/vite.svg +0 -1
package/package.json
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "anima-ds-nucleus",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Anima Design System - A comprehensive React component library",
|
|
5
|
-
"author": "Nucleus Labs <ipvasallo@nucleus.com.ar>",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/NucleusNova/anima-ds.git"
|
|
10
|
-
},
|
|
11
|
-
"keywords": [
|
|
12
|
-
"react",
|
|
13
|
-
"design system",
|
|
14
|
-
"ui",
|
|
15
|
-
"components",
|
|
16
|
-
"anima",
|
|
17
|
-
"nucleus"
|
|
18
|
-
],
|
|
19
|
-
"type": "module",
|
|
20
|
-
"main": "./dist/anima-ds.cjs.js",
|
|
21
|
-
"module": "./dist/anima-ds.esm.js",
|
|
22
|
-
"exports": {
|
|
23
|
-
".": {
|
|
24
|
-
"import": "./dist/anima-ds.esm.js",
|
|
25
|
-
"require": "./dist/anima-ds.cjs.js"
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"build
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"react
|
|
43
|
-
"
|
|
44
|
-
"@storybook
|
|
45
|
-
"@storybook/addon-
|
|
46
|
-
"@storybook/addon-
|
|
47
|
-
"@storybook/addon-
|
|
48
|
-
"@storybook/
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@vitest/
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"@
|
|
67
|
-
"
|
|
68
|
-
"i18next": "^
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
"react-
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "anima-ds-nucleus",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Anima Design System - A comprehensive React component library",
|
|
5
|
+
"author": "Nucleus Labs <ipvasallo@nucleus.com.ar>",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/NucleusNova/anima-ds.git"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"react",
|
|
13
|
+
"design system",
|
|
14
|
+
"ui",
|
|
15
|
+
"components",
|
|
16
|
+
"anima",
|
|
17
|
+
"nucleus"
|
|
18
|
+
],
|
|
19
|
+
"type": "module",
|
|
20
|
+
"main": "./dist/anima-ds.cjs.js",
|
|
21
|
+
"module": "./dist/anima-ds.esm.js",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./dist/anima-ds.esm.js",
|
|
25
|
+
"require": "./dist/anima-ds.cjs.js"
|
|
26
|
+
},
|
|
27
|
+
"./styles": "./dist/anima-ds-nucleus.css"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"src"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"dev": "vite",
|
|
35
|
+
"build": "vite build",
|
|
36
|
+
"build:app": "vite build --config vite.app.config.js",
|
|
37
|
+
"preview": "vite preview",
|
|
38
|
+
"storybook": "storybook dev -p 6006",
|
|
39
|
+
"build-storybook": "storybook build"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"react": "^18.3.1",
|
|
43
|
+
"react-dom": "^18.3.1",
|
|
44
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
45
|
+
"@storybook/addon-a11y": "^10.0.8",
|
|
46
|
+
"@storybook/addon-docs": "^10.0.8",
|
|
47
|
+
"@storybook/addon-onboarding": "^10.0.8",
|
|
48
|
+
"@storybook/addon-vitest": "^10.0.8",
|
|
49
|
+
"@storybook/react-vite": "^10.0.8",
|
|
50
|
+
"@tailwindcss/postcss": "^4.1.17",
|
|
51
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
52
|
+
"@vitest/browser-playwright": "^4.0.10",
|
|
53
|
+
"@vitest/coverage-v8": "^4.0.10",
|
|
54
|
+
"autoprefixer": "^10.4.22",
|
|
55
|
+
"playwright": "^1.56.1",
|
|
56
|
+
"postcss": "^8.5.6",
|
|
57
|
+
"storybook": "^10.0.8",
|
|
58
|
+
"tailwindcss": "^4.1.17",
|
|
59
|
+
"vite": "^7.2.2",
|
|
60
|
+
"vitest": "^4.0.10"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"react": ">=18 <21",
|
|
65
|
+
"react-dom": ">=18 <21",
|
|
66
|
+
"@heroicons/react": "^2.0.0",
|
|
67
|
+
"i18next": "^25.0.0",
|
|
68
|
+
"react-i18next": "^16.0.0",
|
|
69
|
+
"@mui/material": "^7.0.0",
|
|
70
|
+
"@mui/x-data-grid": "^8.0.0",
|
|
71
|
+
"@emotion/react": "^11.0.0",
|
|
72
|
+
"@emotion/styled": "^11.0.0",
|
|
73
|
+
"apexcharts": "^5.0.0",
|
|
74
|
+
"react-apexcharts": "^1.8.0"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/src/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// Importar estilos (los usuarios también pueden importar manualmente desde 'anima-ds-nucleus/styles')
|
|
2
|
+
import './style.css';
|
|
3
|
+
|
|
1
4
|
// Atoms
|
|
2
5
|
export { Button } from './components/Atoms/Button/Button';
|
|
3
6
|
export { Typography } from './components/Atoms/Typography/Typography';
|
package/src/main.jsx
CHANGED
|
@@ -142,14 +142,14 @@ function App() {
|
|
|
142
142
|
Instalación Rápida
|
|
143
143
|
</Typography>
|
|
144
144
|
<div className="bg-gray-900 rounded-lg p-4 mb-4">
|
|
145
|
-
<code className="text-green-400 text-sm">npm install anima-ds</code>
|
|
145
|
+
<code className="text-green-400 text-sm">npm install anima-ds-nucleus</code>
|
|
146
146
|
</div>
|
|
147
147
|
<div className="bg-gray-50 rounded-lg p-4">
|
|
148
148
|
<Typography variant="body2" className="text-gray-700 mb-2 font-medium">
|
|
149
149
|
Ejemplo de uso:
|
|
150
150
|
</Typography>
|
|
151
151
|
<pre className="text-xs text-gray-600 overflow-x-auto">
|
|
152
|
-
{`import { Button, Card } from 'anima-ds';
|
|
152
|
+
{`import { Button, Card } from 'anima-ds-nucleus';
|
|
153
153
|
|
|
154
154
|
<Card title="Mi Card">
|
|
155
155
|
<Button variant="Primary">Click aquí</Button>
|
package/dist/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|