limbo-component 3.6.0 → 3.6.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.
@@ -1,4 +1,4 @@
1
- export default function App({ apiKey, prod, url, features, modeUI, ui, callbacks, instanceId, itemsPerPage, _externalImage, cropperConfig, folderConfig, allowedCategories, accept, }: {
1
+ export default function App({ apiKey, prod, url, features, modeUI, ui, callbacks, instanceId, itemsPerPage, _externalImage, cropperConfig, folderConfig, allowedCategories, accept, returnConfig, }: {
2
2
  apiKey: any;
3
3
  prod?: boolean;
4
4
  url?: boolean;
@@ -30,5 +30,6 @@ export default function App({ apiKey, prod, url, features, modeUI, ui, callbacks
30
30
  };
31
31
  allowedCategories?: any;
32
32
  accept?: any;
33
+ returnConfig?: any;
33
34
  }): import("react/jsx-runtime").JSX.Element;
34
35
  //# sourceMappingURL=App.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.jsx"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAo/BC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.jsx"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAohCC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * PortalVideoPreview - Modal preview for external portal videos (YouTube/Vimeo)
3
+ *
4
+ * Two modes based on onSelect prop:
5
+ * - onSelect provided (return mode): Shows "Seleccionar" button that returns video metadata
6
+ * - onSelect null (normal mode): Shows "Copiar URL" button
7
+ *
8
+ * @param {Object} props
9
+ * @param {boolean} props.isOpen - Whether the preview is visible
10
+ * @param {Object} props.video - Video metadata (embed_url, player_url, platform, video_id, etc.)
11
+ * @param {Function} props.onClose - Close callback
12
+ * @param {Function|null} props.onSelect - If provided, shows "Seleccionar" button instead of "Copiar URL"
13
+ */
14
+ export default function PortalVideoPreview({ isOpen, video, onClose, onSelect, }: {
15
+ isOpen: boolean;
16
+ video: any;
17
+ onClose: Function;
18
+ onSelect: Function | null;
19
+ }): import("react/jsx-runtime").JSX.Element;
20
+ //# sourceMappingURL=PortalVideoPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PortalVideoPreview.d.ts","sourceRoot":"","sources":["../../../src/components/PortalVideoPreview.jsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;GAYG;AACH,kFALG;IAAuB,MAAM,EAArB,OAAO;IACO,KAAK;IACH,OAAO;IACF,QAAQ,EAA7B,WAAS,IAAI;CACvB,2CAqOA"}
@@ -1,9 +1,12 @@
1
- export default function TabPortals({ prod, disabled, onSelect, selectedFolder, onFolderChange, folderConfig }: {
1
+ export default function TabPortals({ prod, disabled, onSelect, onVideoSelect, selectedFolder, onFolderChange, folderConfig, resolvedAccept, returnConfig }: {
2
2
  prod: any;
3
3
  disabled: any;
4
4
  onSelect: any;
5
+ onVideoSelect: any;
5
6
  selectedFolder: any;
6
7
  onFolderChange: any;
7
8
  folderConfig: any;
9
+ resolvedAccept?: any;
10
+ returnConfig?: any;
8
11
  }): import("react/jsx-runtime").JSX.Element;
9
12
  //# sourceMappingURL=TabPortals.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabPortals.d.ts","sourceRoot":"","sources":["../../../src/components/TabPortals.jsx"],"names":[],"mappings":"AAwDA;;;;;;;4CAoeC"}
1
+ {"version":3,"file":"TabPortals.d.ts","sourceRoot":"","sources":["../../../src/components/TabPortals.jsx"],"names":[],"mappings":"AAyDA;;;;;;;;;;4CAukBC"}
@@ -1,10 +1,12 @@
1
- export default function UploadForm({ onSelect, disabled, apiKey, prod, allowedCategories, resolvedAccept, folderConfig, selectedFolder, onFolderChange, }: {
1
+ export default function UploadForm({ onSelect, onVideoSelect, disabled, apiKey, prod, allowedCategories, resolvedAccept, returnConfig, folderConfig, selectedFolder, onFolderChange, }: {
2
2
  onSelect: any;
3
+ onVideoSelect: any;
3
4
  disabled?: boolean;
4
5
  apiKey: any;
5
6
  prod?: boolean;
6
7
  allowedCategories?: any;
7
8
  resolvedAccept?: any;
9
+ returnConfig?: any;
8
10
  folderConfig?: any;
9
11
  selectedFolder?: any;
10
12
  onFolderChange?: any;
@@ -1 +1 @@
1
- {"version":3,"file":"UploadForm.d.ts","sourceRoot":"","sources":["../../../src/components/UploadForm.jsx"],"names":[],"mappings":"AAcA;;;;;;;;;;4CA8OC"}
1
+ {"version":3,"file":"UploadForm.d.ts","sourceRoot":"","sources":["../../../src/components/UploadForm.jsx"],"names":[],"mappings":"AAcA;;;;;;;;;;;;4CAuPC"}
@@ -1 +1 @@
1
- {"version":3,"file":"acceptUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/acceptUtils.js"],"names":[],"mappings":"AAwHA;;;;;GAKG;AACH,sCAHW,MAAM,GAAC,MAAM,EAAE,GAAC,IAAI,GAClB,MAAM,CAqDlB;AAED;;;;;;GAMG;AACH,wCAJW,MAAM,YACN,MAAM,GACJ,OAAO,CAenB;AAED;;;;;GAKG;AACH,yCAHW,MAAM,GACJ,MAAM,CA6BlB;AAED;;;;;GAKG;AACH,+CAHW,MAAM,GACJ,MAAM,EAAE,GAAC,IAAI,CA2BzB"}
1
+ {"version":3,"file":"acceptUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/acceptUtils.js"],"names":[],"mappings":"AAmIA;;;;;GAKG;AACH,sCAHW,MAAM,GAAC,MAAM,EAAE,GAAC,IAAI,GAClB,MAAM,CA0DlB;AAED;;;;;;GAMG;AACH,wCAJW,MAAM,YACN,MAAM,GACJ,OAAO,CAenB;AAED;;;;;GAKG;AACH,yCAHW,MAAM,GACJ,MAAM,CA6BlB;AAED;;;;;GAKG;AACH,+CAHW,MAAM,GACJ,MAAM,EAAE,GAAC,IAAI,CA2BzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "limbo-component",
3
- "version": "3.6.0",
3
+ "version": "3.6.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Limbo - Highly configurable React image manager component for web portals",
@@ -67,7 +67,7 @@
67
67
  "@types/react-dom": "^19.1.7",
68
68
  "@vitejs/plugin-react": "^5.0.0",
69
69
  "baseline-browser-mapping": "^2.8.32",
70
- "eslint": "^10.0.2",
70
+ "eslint": "^9.0.0",
71
71
  "eslint-plugin-react-hooks": "^5.2.0",
72
72
  "eslint-plugin-react-refresh": "^0.4.20",
73
73
  "globals": "^16.3.0",