@onpe/ui 1.0.30 → 1.0.31

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.
Files changed (2) hide show
  1. package/README.md +26 -26
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -24,7 +24,7 @@ npm install @onpe/ui
24
24
  npm install -g @onpe/ui
25
25
 
26
26
  # O usar directamente con npx
27
- npx onpe-ui add <componente>
27
+ npx @onpe/ui add <componente>
28
28
  ```
29
29
 
30
30
  ## ⚠️ Importante sobre Estilos
@@ -38,23 +38,23 @@ npx onpe-ui add <componente>
38
38
  #### Instalar componentes específicos
39
39
  ```bash
40
40
  # Componentes
41
- npx onpe-ui add button
42
- npx onpe-ui add modal
43
- npx onpe-ui add portal
44
- npx onpe-ui add overlay
45
- npx onpe-ui add show
41
+ npx @onpe/ui add button
42
+ npx @onpe/ui add modal
43
+ npx @onpe/ui add portal
44
+ npx @onpe/ui add overlay
45
+ npx @onpe/ui add show
46
46
 
47
47
  # Iconos
48
- npx onpe-ui add icon-close
49
- npx onpe-ui add icon-check
50
- npx onpe-ui add icon-warning
51
- npx onpe-ui add icon-chrome
52
- npx onpe-ui add icon-firefox
53
- npx onpe-ui add icon-safari
54
- npx onpe-ui add icon-edge
55
- npx onpe-ui add icon-windows
56
- npx onpe-ui add icon-apple
57
- npx onpe-ui add icon-android
48
+ npx @onpe/ui add icon-close
49
+ npx @onpe/ui add icon-check
50
+ npx @onpe/ui add icon-warning
51
+ npx @onpe/ui add icon-chrome
52
+ npx @onpe/ui add icon-firefox
53
+ npx @onpe/ui add icon-safari
54
+ npx @onpe/ui add icon-edge
55
+ npx @onpe/ui add icon-windows
56
+ npx @onpe/ui add icon-apple
57
+ npx @onpe/ui add icon-android
58
58
  ```
59
59
 
60
60
  #### Usar componentes instalados individualmente
@@ -202,7 +202,7 @@ Show
202
202
 
203
203
  **Modal** - Instala automáticamente sus dependencias:
204
204
  ```bash
205
- npx onpe-ui add modal
205
+ npx @onpe/ui add modal
206
206
  # Esto instalará automáticamente:
207
207
  # - Portal.tsx
208
208
  # - Overlay.tsx
@@ -211,10 +211,10 @@ npx onpe-ui add modal
211
211
 
212
212
  **Otros componentes** - Instalación independiente:
213
213
  ```bash
214
- npx onpe-ui add button # Sin dependencias
215
- npx onpe-ui add portal # Sin dependencias
216
- npx onpe-ui add overlay # Sin dependencias
217
- npx onpe-ui add show # Sin dependencias
214
+ npx @onpe/ui add button # Sin dependencias
215
+ npx @onpe/ui add portal # Sin dependencias
216
+ npx @onpe/ui add overlay # Sin dependencias
217
+ npx @onpe/ui add show # Sin dependencias
218
218
  ```
219
219
 
220
220
  ### Estructura de Archivos Después de la Instalación
@@ -1320,7 +1320,7 @@ export default AdminDashboard;
1320
1320
  **Error: "Componente no encontrado"**
1321
1321
  ```bash
1322
1322
  # Verificar componentes disponibles
1323
- npx onpe-ui add --help
1323
+ npx @onpe/ui add --help
1324
1324
 
1325
1325
  # Componentes válidos:
1326
1326
  # button, modal, overlay, portal, show
@@ -1615,12 +1615,12 @@ viteFinal: async (config) => {
1615
1615
  **Solución: Verificar comandos**
1616
1616
  ```bash
1617
1617
  # ✅ CORRECTO
1618
- npx onpe-ui add button
1619
- npx onpe-ui add modal
1618
+ npx @onpe/ui add button
1619
+ npx @onpe/ui add modal
1620
1620
 
1621
1621
  # ❌ INCORRECTO
1622
- npx onpe-ui add Button
1623
- npx onpe-ui add Modal
1622
+ npx @onpe/ui add Button
1623
+ npx @onpe/ui add Modal
1624
1624
  ```
1625
1625
 
1626
1626
  ### ¿Portal no funciona?
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@onpe/ui",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "type": "module",
5
5
  "description": "Librería completa de UI para ONPE - Componentes, Hooks, Utils y Librerías",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.esm.js",
8
8
  "types": "dist/index.d.ts",
9
9
  "bin": {
10
- "onpe-ui": "dist/cli.js"
10
+ "@onpe/ui": "dist/cli.js"
11
11
  },
12
12
  "exports": {
13
13
  ".": {