@onpe/ui 1.1.2 → 1.1.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/cli.esm.js CHANGED
@@ -6394,6 +6394,8 @@ function personalizeComponent(code, componentName) {
6394
6394
  // Para modales que importan componentes UI
6395
6395
  if (componentName.toLowerCase().startsWith("modal") && componentName !== "modal") {
6396
6396
  personalizedCode = personalizedCode.replace(/from "\.\.\/onpe\/ui\/([^"]+)"/g, function (match, component) { return "from \"../ui/".concat(component, "\""); });
6397
+ // Arreglar importaciones de iconos en modales
6398
+ personalizedCode = personalizedCode.replace(/from "\.\.\/onpe\/icons\/([^"]+)"/g, function (match, path) { return "from \"../icons/".concat(path, "\""); });
6397
6399
  }
6398
6400
  // Agregar export default si no existe
6399
6401
  if (!personalizedCode.includes("export default")) {
package/dist/cli.js CHANGED
@@ -6394,6 +6394,8 @@ function personalizeComponent(code, componentName) {
6394
6394
  // Para modales que importan componentes UI
6395
6395
  if (componentName.toLowerCase().startsWith("modal") && componentName !== "modal") {
6396
6396
  personalizedCode = personalizedCode.replace(/from "\.\.\/onpe\/ui\/([^"]+)"/g, function (match, component) { return "from \"../ui/".concat(component, "\""); });
6397
+ // Arreglar importaciones de iconos en modales
6398
+ personalizedCode = personalizedCode.replace(/from "\.\.\/onpe\/icons\/([^"]+)"/g, function (match, path) { return "from \"../icons/".concat(path, "\""); });
6397
6399
  }
6398
6400
  // Agregar export default si no existe
6399
6401
  if (!personalizedCode.includes("export default")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onpe/ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
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",