limbo-component 3.2.0 → 3.3.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":"ImageCard.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCard.jsx"],"names":[],"mappings":"AAuEA;;;;;;;;;;;;;;;;;;;;;4CA0wBC"}
1
+ {"version":3,"file":"ImageCard.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCard.jsx"],"names":[],"mappings":"AAwEA;;;;;;;;;;;;;;;;;;;;;4CAq3BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageViewer.d.ts","sourceRoot":"","sources":["../../../src/components/ImageViewer.jsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qFAPG;IAAsB,GAAG,EAAjB,MAAM;IACQ,GAAG,EAAjB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACU,OAAO;IACR,MAAM,EAArB,OAAO;CACjB,2CAidA"}
1
+ {"version":3,"file":"ImageViewer.d.ts","sourceRoot":"","sources":["../../../src/components/ImageViewer.jsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qFAPG;IAAsB,GAAG,EAAjB,MAAM;IACQ,GAAG,EAAjB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACU,OAAO;IACR,MAAM,EAArB,OAAO;CACjB,2CAkZA"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * AudioViewer - Fullscreen audio player in dark overlay
3
+ *
4
+ * @param {Object} props
5
+ * @param {boolean} props.isOpen - Whether the viewer is visible
6
+ * @param {string} props.src - Audio URL
7
+ * @param {string} props.title - Audio filename
8
+ * @param {string} props.subtitle - File info (size, type)
9
+ * @param {Function} props.onClose - Close callback
10
+ */
11
+ export default function AudioViewer({ isOpen, src, title, subtitle, onClose, }: {
12
+ isOpen: boolean;
13
+ src: string;
14
+ title: string;
15
+ subtitle: string;
16
+ onClose: Function;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=AudioViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioViewer.d.ts","sourceRoot":"","sources":["../../../../src/components/viewers/AudioViewer.jsx"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,gFANG;IAAuB,MAAM,EAArB,OAAO;IACO,GAAG,EAAjB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACU,OAAO;CACjC,2CA+LA"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * DocumentViewer - Info card for non-renderable files (DOC, XLSX, PPT, TXT, CSV, etc.)
3
+ *
4
+ * Shows file info + download button since these files can't be previewed inline.
5
+ *
6
+ * @param {Object} props
7
+ * @param {boolean} props.isOpen - Whether the viewer is visible
8
+ * @param {string} props.src - Download URL
9
+ * @param {string} props.title - Filename
10
+ * @param {string} props.subtitle - File info
11
+ * @param {string} props.mimeType - MIME type
12
+ * @param {number} props.fileSize - File size in bytes
13
+ * @param {Function} props.onClose - Close callback
14
+ */
15
+ export default function DocumentViewer({ isOpen, src, title, subtitle, mimeType, fileSize, onClose, }: {
16
+ isOpen: boolean;
17
+ src: string;
18
+ title: string;
19
+ subtitle: string;
20
+ mimeType: string;
21
+ fileSize: number;
22
+ onClose: Function;
23
+ }): import("react/jsx-runtime").JSX.Element;
24
+ //# sourceMappingURL=DocumentViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentViewer.d.ts","sourceRoot":"","sources":["../../../../src/components/viewers/DocumentViewer.jsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,uGARG;IAAuB,MAAM,EAArB,OAAO;IACO,GAAG,EAAjB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACU,OAAO;CACjC,2CAoGA"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * PdfViewer - PDF viewer using native browser iframe
3
+ *
4
+ * @param {Object} props
5
+ * @param {boolean} props.isOpen - Whether the viewer is visible
6
+ * @param {string} props.src - PDF URL
7
+ * @param {string} props.title - PDF filename
8
+ * @param {string} props.subtitle - File info (size, type)
9
+ * @param {Function} props.onClose - Close callback
10
+ */
11
+ export default function PdfViewer({ isOpen, src, title, subtitle, onClose, }: {
12
+ isOpen: boolean;
13
+ src: string;
14
+ title: string;
15
+ subtitle: string;
16
+ onClose: Function;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=PdfViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PdfViewer.d.ts","sourceRoot":"","sources":["../../../../src/components/viewers/PdfViewer.jsx"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,8EANG;IAAuB,MAAM,EAArB,OAAO;IACO,GAAG,EAAjB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACU,OAAO;CACjC,2CAoHA"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * VideoViewer - Fullscreen video player in dark overlay
3
+ *
4
+ * @param {Object} props
5
+ * @param {boolean} props.isOpen - Whether the viewer is visible
6
+ * @param {string} props.src - Video URL
7
+ * @param {string} props.title - Video filename
8
+ * @param {string} props.subtitle - File info (size, type)
9
+ * @param {Function} props.onClose - Close callback
10
+ */
11
+ export default function VideoViewer({ isOpen, src, title, subtitle, onClose, }: {
12
+ isOpen: boolean;
13
+ src: string;
14
+ title: string;
15
+ subtitle: string;
16
+ onClose: Function;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=VideoViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VideoViewer.d.ts","sourceRoot":"","sources":["../../../../src/components/viewers/VideoViewer.jsx"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,gFANG;IAAuB,MAAM,EAArB,OAAO;IACO,GAAG,EAAjB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACU,OAAO;CACjC,2CA8GA"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * ViewerShell - Shared dark overlay shell for all file type viewers
3
+ *
4
+ * Provides:
5
+ * - Fixed dark overlay (bg-black/95, z-10000)
6
+ * - Header: title/subtitle + optional headerActions slot + close button
7
+ * - Content area: children centered in flex-1
8
+ * - Footer: keyboard hints
9
+ * - ESC key + click-backdrop to close
10
+ * - Body scroll lock
11
+ * - role="dialog", aria-modal="true"
12
+ *
13
+ * @param {Object} props
14
+ * @param {boolean} props.isOpen - Whether the viewer is visible
15
+ * @param {Function} props.onClose - Callback to close the viewer
16
+ * @param {string} props.title - Title text (optional)
17
+ * @param {string} props.subtitle - Subtitle text (optional)
18
+ * @param {React.ReactNode} props.headerActions - Controls to render in header (optional)
19
+ * @param {string} props.footerHints - Footer instruction text (optional)
20
+ * @param {string} props.ariaLabel - Dialog aria-label (optional)
21
+ * @param {React.ReactNode} props.children - Main content
22
+ */
23
+ export default function ViewerShell({ isOpen, onClose, title, subtitle, headerActions, footerHints, ariaLabel, children, }: {
24
+ isOpen: boolean;
25
+ onClose: Function;
26
+ title: string;
27
+ subtitle: string;
28
+ headerActions: React.ReactNode;
29
+ footerHints: string;
30
+ ariaLabel: string;
31
+ children: React.ReactNode;
32
+ }): import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=ViewerShell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewerShell.d.ts","sourceRoot":"","sources":["../../../../src/components/viewers/ViewerShell.jsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,4HATG;IAAuB,MAAM,EAArB,OAAO;IACS,OAAO;IACT,KAAK,EAAnB,MAAM;IACQ,QAAQ,EAAtB,MAAM;IACiB,aAAa,EAApC,KAAK,CAAC,SAAS;IACD,WAAW,EAAzB,MAAM;IACQ,SAAS,EAAvB,MAAM;IACiB,QAAQ,EAA/B,KAAK,CAAC,SAAS;CACzB,2CAyHA"}
@@ -0,0 +1,6 @@
1
+ export { default as ViewerShell } from "./ViewerShell";
2
+ export { default as VideoViewer } from "./VideoViewer";
3
+ export { default as AudioViewer } from "./AudioViewer";
4
+ export { default as PdfViewer } from "./PdfViewer";
5
+ export { default as DocumentViewer } from "./DocumentViewer";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/viewers/index.js"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"LimboCore.d.ts","sourceRoot":"","sources":["../../../src/core/LimboCore.js"],"names":[],"mappings":"AASA;;;GAGG;AACH;IAEI,sBAAiC;IACjC,2BAAsC;IACtC,6BAAwC;IACxC,qBAAgC;IAChC,qBAAgC;IAChC,oBAA+B;IAC/B,4FAAoD;IAMtD;;OAEG;IACH,uCAiBC;IAED;;OAEG;IACH,2BAGC;IAED;;OAEG;IACH,iEAGC;IAED;;OAEG;IACH,oDAEC;IAED;;OAEG;IACH,iCAaC;IAED;;OAEG;IACH;;;;;MAEC;IAED;;OAEG;IACH;;;;MA0CC;IAED;;OAEG;IACH,oCAWC;IAED;;OAEG;IACH,qCAmBC;IAED;;OAEG;IACH,+DAGC;IAED;;OAEG;IACH,sBAEC;IAED;;OAEG;IACH,gBAKC;IAED;;;;;;;MASC;IAED;;OAEG;IACH,gCAKC;IAED;;OAEG;IACH;;;aAwJC;IAED;;;;;OAKG;IACH,4BAHW,MAAM,GACJ,MAAM,GAAC,IAAI,CAuBvB;IAMD;;;;;;;;;;;;;OAaG;IACH,sBATG;QAA0B,QAAQ;QACV,OAAO;KAC/B,OA8BF;IAED;;;;;;;;;;;;;;OAcG;IACH,uBAVG;QAA0B,QAAQ;QACT,iBAAiB;KAC1C,OAmCF;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,wCAfG;QAAuB,cAAc;QACX,UAAU;QACV,WAAW;KACrC,OAkEF;IAED;;;;;;;;;;;;OAYG;IACH,+BATW,SAAO,WAAW,sBAqB5B;IAED;;;;;;;;;;;;OAYG;IACH,gCATW,SAAO,WAAW,sBAoB5B;IAED;;;;;;;;;;;;;;;OAeG;IACH,mCAZW,SAAO,WAAW,wCAmD5B;IAED;;;;;;;;;;;;;OAaG;IACH,8BAVW,SAAO,WAAW,sBAwB5B;CACF;8BA/sB6B,oBAAoB;gCAClB,sBAAsB;iCACrB,uBAAuB;6BAC3B,mBAAmB;6BACnB,mBAAmB;6BACnB,0BAA0B"}
1
+ {"version":3,"file":"LimboCore.d.ts","sourceRoot":"","sources":["../../../src/core/LimboCore.js"],"names":[],"mappings":"AASA;;;GAGG;AACH;IAEI,sBAAiC;IACjC,2BAAsC;IACtC,6BAAwC;IACxC,qBAAgC;IAChC,qBAAgC;IAChC,oBAA+B;IAC/B,4FAAoD;IAMtD;;OAEG;IACH,uCAiBC;IAED;;OAEG;IACH,2BAKC;IAED;;OAEG;IACH,iEAGC;IAED;;OAEG;IACH,oDAEC;IAED;;OAEG;IACH,iCAaC;IAED;;OAEG;IACH;;;;;MAEC;IAED;;OAEG;IACH;;;;MA0CC;IAED;;OAEG;IACH,oCAWC;IAED;;OAEG;IACH,qCAmBC;IAED;;OAEG;IACH,+DAGC;IAED;;OAEG;IACH,sBAEC;IAED;;OAEG;IACH,gBAKC;IAED;;;;;;;MASC;IAED;;OAEG;IACH,gCAKC;IAED;;OAEG;IACH;;;aAwJC;IAED;;;;;OAKG;IACH,4BAHW,MAAM,GACJ,MAAM,GAAC,IAAI,CAuBvB;IAMD;;;;;;;;;;;;;OAaG;IACH,sBATG;QAA0B,QAAQ;QACV,OAAO;KAC/B,OA8BF;IAED;;;;;;;;;;;;;;OAcG;IACH,uBAVG;QAA0B,QAAQ;QACT,iBAAiB;KAC1C,OAmCF;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,wCAfG;QAAuB,cAAc;QACX,UAAU;QACV,WAAW;KACrC,OAkEF;IAED;;;;;;;;;;;;OAYG;IACH,+BATW,SAAO,WAAW,sBAqB5B;IAED;;;;;;;;;;;;OAYG;IACH,gCATW,SAAO,WAAW,sBAoB5B;IAED;;;;;;;;;;;;;;;OAeG;IACH,mCAZW,SAAO,WAAW,wCAmD5B;IAED;;;;;;;;;;;;;OAaG;IACH,8BAVW,SAAO,WAAW,sBAwB5B;CACF;8BAjtB6B,oBAAoB;gCAClB,sBAAsB;iCACrB,uBAAuB;6BAC3B,mBAAmB;6BACnB,mBAAmB;6BACnB,0BAA0B"}
@@ -1 +1 @@
1
- {"version":3,"file":"responseAdapters.d.ts","sourceRoot":"","sources":["../../../src/services/responseAdapters.js"],"names":[],"mappings":"AA8DA;;;;GAIG;AACH,uDAsCC;AAED;;;;GAIG;AACH,4DAgDC;AAED;;;;GAIG;AACH,8DAiCC;AAED;;;;GAIG;AACH,8DAkBC;AAED;;;;GAIG;AACH,wDAyCC;AAED;;;;GAIG;AACH,mEAuEC;AAED;;;;GAIG;AACH,6DAqBC;AAED;;;;GAIG;AACH,wDAoBC;AAED;;;;GAIG;AACH,wCAHW,KAAK,GACH,KAAK,CAkBjB"}
1
+ {"version":3,"file":"responseAdapters.d.ts","sourceRoot":"","sources":["../../../src/services/responseAdapters.js"],"names":[],"mappings":"AA8DA;;;;GAIG;AACH,uDA2CC;AAED;;;;GAIG;AACH,4DAqDC;AAED;;;;GAIG;AACH,8DAiCC;AAED;;;;GAIG;AACH,8DAkBC;AAED;;;;GAIG;AACH,wDA8CC;AAED;;;;GAIG;AACH,mEAuEC;AAED;;;;GAIG;AACH,6DAqBC;AAED;;;;GAIG;AACH,wDAoBC;AAED;;;;GAIG;AACH,wCAHW,KAAK,GACH,KAAK,CAkBjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "limbo-component",
3
- "version": "3.2.0",
3
+ "version": "3.3.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Limbo - Highly configurable React image manager component for web portals",