limbo-component 3.7.20 → 3.8.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.jsx"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAmoCC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.jsx"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAwoCC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CropperView.d.ts","sourceRoot":"","sources":["../../../src/components/CropperView.jsx"],"names":[],"mappings":"AAWA;;;;;;;;;;;4CA0wGC"}
1
+ {"version":3,"file":"CropperView.d.ts","sourceRoot":"","sources":["../../../src/components/CropperView.jsx"],"names":[],"mappings":"AAYA;;;;;;;;;;;4CA2wGC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useImageCache.d.ts","sourceRoot":"","sources":["../../../src/hooks/useImageCache.js"],"names":[],"mappings":"AAiCO,kCAPI,MAAM,wBAEd;IAAuB,eAAe,GAA9B,OAAO;CAGf,GAAU,OAAO,CAAC,MAAM,CAAC,CAmE3B;AAOM,0CAHI,MAAM,GACJ,MAAM,CAQlB;AAOM,mCAHI,MAAM,GACJ,OAAO,CAKnB;AAQM,oCAJI,MAAM,EAAE,gBACR,MAAM,GACJ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAsCxC;AAMM,oCAFI,MAAM,QAchB;AAKM,wCAWN;AAKM,4CAkBN;AAMM,sCAFM,MAAM,CAoBlB"}
1
+ {"version":3,"file":"useImageCache.d.ts","sourceRoot":"","sources":["../../../src/hooks/useImageCache.js"],"names":[],"mappings":"AAqEO,kCAPI,MAAM,wBAEd;IAAuB,eAAe,GAA9B,OAAO;CAGf,GAAU,OAAO,CAAC,MAAM,CAAC,CAmE3B;AAOM,0CAHI,MAAM,GACJ,MAAM,CAQlB;AAOM,mCAHI,MAAM,GACJ,OAAO,CAKnB;AAQM,oCAJI,MAAM,EAAE,gBACR,MAAM,GACJ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAsCxC;AAMM,oCAFI,MAAM,QAchB;AAKM,wCAWN;AAKM,4CAkBN;AAMM,sCAFM,MAAM,CAoBlB"}
@@ -31,7 +31,7 @@ export function getAllowedCategories(resolved: object): string[] | null;
31
31
  * Obtiene el texto del botón según el tipo de contenido permitido.
32
32
  *
33
33
  * Reglas:
34
- * - Solo imágenes (image/* o extensiones de imagen): "Seleccionar imagen" / "Cambiar imagen"
34
+ * - Solo imágenes (image/* o extensiones de imagen): "Seleccionar imagen" / "Editar imagen"
35
35
  * - Solo vídeos (video/* o extensiones de vídeo): "Seleccionar vídeo" / "Cambiar vídeo"
36
36
  * - Cualquier otro caso (mixto, documentos, null): "Seleccionar archivo"/ "Cambiar archivo"
37
37
  *
@@ -88,6 +88,11 @@ export function validateFilenameForWAF(filename: string): {
88
88
  valid: boolean;
89
89
  error?: string;
90
90
  };
91
+ /**
92
+ * Converts a string to a URL-safe slug.
93
+ * "¿Cómo funciona? (v2)" → "como-funciona-v2"
94
+ */
95
+ export function slugifyName(name: any): string;
91
96
  /**
92
97
  * Preprocesa campos de imagen en un objeto para enviar a servidor de renderizado
93
98
  * Extrae las URLs y resuelve URLs relativas
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/helpers.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;GAUG;AACH,gCARW,MAAM,WACN,OAAO,GACL,MAAM,CAgBlB;AAED;;;;;GAKG;AACH,0CAHW,MAAM,GACJ,MAAM,CAYlB;AAED;;;;;;GAMG;AACH,qCAHW,MAAM,GACJ,OAAO,CAMnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,uCAnBW,MAAM,YAEd;IAAsC,MAAM,GAApC,MAAM,GAAG,UAAU;IACD,MAAM,GAAxB,OAAO;CACf,GAAU,MAAM,CA8ElB;AAED;;;;;;;;;;;;;;GAcG;AACH,sCAXW,MAAM,YAEd;IAA0B,MAAM,GAAxB,OAAO;CACf,OA0CF;AAeD;;;;;;;;;GASG;AACH,iDAPW,MAAM,GACJ;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CA2B9C;AAED;;;;;;;;GAQG;AACH,iEAHG;IAA0B,MAAM,GAAxB,OAAO;CACf,OAsBF"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/helpers.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;GAUG;AACH,gCARW,MAAM,WACN,OAAO,GACL,MAAM,CAgBlB;AAED;;;;;GAKG;AACH,0CAHW,MAAM,GACJ,MAAM,CAYlB;AAED;;;;;;GAMG;AACH,qCAHW,MAAM,GACJ,OAAO,CAMnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,uCAnBW,MAAM,YAEd;IAAsC,MAAM,GAApC,MAAM,GAAG,UAAU;IACD,MAAM,GAAxB,OAAO;CACf,GAAU,MAAM,CA8ElB;AAED;;;;;;;;;;;;;;GAcG;AACH,sCAXW,MAAM,YAEd;IAA0B,MAAM,GAAxB,OAAO;CACf,OA0CF;AAeD;;;;;;;;;GASG;AACH,iDAPW,MAAM,GACJ;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CA2B9C;AAED;;;GAGG;AACH,+CASC;AAED;;;;;;;;GAQG;AACH,iEAHG;IAA0B,MAAM,GAAxB,OAAO;CACf,OAsBF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "limbo-component",
3
- "version": "3.7.20",
3
+ "version": "3.8.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Limbo - Highly configurable React image manager component for web portals",
@@ -61,8 +61,12 @@
61
61
  "react-dom": ">=18.0.0"
62
62
  },
63
63
  "peerDependenciesMeta": {
64
- "react": { "optional": true },
65
- "react-dom": { "optional": true }
64
+ "react": {
65
+ "optional": true
66
+ },
67
+ "react-dom": {
68
+ "optional": true
69
+ }
66
70
  },
67
71
  "devDependencies": {
68
72
  "@eslint/js": "9.33.0",