pptx-react-viewer 2.6.4 → 2.6.5
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/CHANGELOG.md +2 -0
- package/dist/{chunk-PQDHPMQG.mjs → chunk-2QSHMCJH.mjs} +7 -3
- package/dist/chunk-2QSHMCJH.mjs.br +0 -0
- package/dist/chunk-2QSHMCJH.mjs.gz +0 -0
- package/dist/{chunk-K26WJWSH.js → chunk-FBVQ453Z.js} +7 -3
- package/dist/chunk-FBVQ453Z.js.br +0 -0
- package/dist/chunk-FBVQ453Z.js.gz +0 -0
- package/dist/index.js +6 -6
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/viewer/index.js +6 -6
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +1 -1
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/chunk-K26WJWSH.js.br +0 -0
- package/dist/chunk-K26WJWSH.js.gz +0 -0
- package/dist/chunk-PQDHPMQG.mjs.br +0 -0
- package/dist/chunk-PQDHPMQG.mjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@ All notable changes to this project are documented here.
|
|
|
4
4
|
This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
|
|
5
5
|
by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
6
6
|
|
|
7
|
+
## [2.6.4](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.6.4) - 2026-07-30
|
|
8
|
+
|
|
7
9
|
## [2.6.3](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.6.3) - 2026-07-30
|
|
8
10
|
|
|
9
11
|
## [2.6.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.6.2) - 2026-07-30
|
|
@@ -1337,7 +1337,7 @@ function AccountPage() {
|
|
|
1337
1337
|
return void 0;
|
|
1338
1338
|
});
|
|
1339
1339
|
};
|
|
1340
|
-
const version = "2.6.
|
|
1340
|
+
const version = "2.6.4" ;
|
|
1341
1341
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
1342
1342
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
1343
1343
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -3900,6 +3900,10 @@ function ViewSection(p) {
|
|
|
3900
3900
|
] });
|
|
3901
3901
|
}
|
|
3902
3902
|
function useModalFocus(open, panelRef, onClose, initialFocusRef) {
|
|
3903
|
+
const onCloseRef = useRef(onClose);
|
|
3904
|
+
useEffect(() => {
|
|
3905
|
+
onCloseRef.current = onClose;
|
|
3906
|
+
}, [onClose]);
|
|
3903
3907
|
useEffect(() => {
|
|
3904
3908
|
const panel = panelRef.current;
|
|
3905
3909
|
if (!open || !panel) {
|
|
@@ -3907,9 +3911,9 @@ function useModalFocus(open, panelRef, onClose, initialFocusRef) {
|
|
|
3907
3911
|
}
|
|
3908
3912
|
return activateModalFocus(panel, {
|
|
3909
3913
|
initialFocus: initialFocusRef?.current,
|
|
3910
|
-
onEscape:
|
|
3914
|
+
onEscape: () => onCloseRef.current()
|
|
3911
3915
|
});
|
|
3912
|
-
}, [initialFocusRef,
|
|
3916
|
+
}, [initialFocusRef, open, panelRef]);
|
|
3913
3917
|
}
|
|
3914
3918
|
function MobileSheet({
|
|
3915
3919
|
open,
|
|
Binary file
|
|
Binary file
|
|
@@ -1343,7 +1343,7 @@ function AccountPage() {
|
|
|
1343
1343
|
return void 0;
|
|
1344
1344
|
});
|
|
1345
1345
|
};
|
|
1346
|
-
const version = "2.6.
|
|
1346
|
+
const version = "2.6.4" ;
|
|
1347
1347
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
1348
1348
|
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: cardClass, children: [
|
|
1349
1349
|
/* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -3906,6 +3906,10 @@ function ViewSection(p) {
|
|
|
3906
3906
|
] });
|
|
3907
3907
|
}
|
|
3908
3908
|
function useModalFocus(open, panelRef, onClose, initialFocusRef) {
|
|
3909
|
+
const onCloseRef = React32.useRef(onClose);
|
|
3910
|
+
React32.useEffect(() => {
|
|
3911
|
+
onCloseRef.current = onClose;
|
|
3912
|
+
}, [onClose]);
|
|
3909
3913
|
React32.useEffect(() => {
|
|
3910
3914
|
const panel = panelRef.current;
|
|
3911
3915
|
if (!open || !panel) {
|
|
@@ -3913,9 +3917,9 @@ function useModalFocus(open, panelRef, onClose, initialFocusRef) {
|
|
|
3913
3917
|
}
|
|
3914
3918
|
return chunkZ2ZC5QTJ_js.activateModalFocus(panel, {
|
|
3915
3919
|
initialFocus: initialFocusRef?.current,
|
|
3916
|
-
onEscape:
|
|
3920
|
+
onEscape: () => onCloseRef.current()
|
|
3917
3921
|
});
|
|
3918
|
-
}, [initialFocusRef,
|
|
3922
|
+
}, [initialFocusRef, open, panelRef]);
|
|
3919
3923
|
}
|
|
3920
3924
|
function MobileSheet({
|
|
3921
3925
|
open,
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFBVQ453Z_js = require('./chunk-FBVQ453Z.js');
|
|
4
4
|
require('./chunk-D754TQ4S.js');
|
|
5
5
|
var chunkCZPAFVPN_js = require('./chunk-CZPAFVPN.js');
|
|
6
6
|
var chunkNZYSI3BL_js = require('./chunk-NZYSI3BL.js');
|
|
@@ -12,23 +12,23 @@ require('./chunk-4VNS5WPM.js');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkFBVQ453Z_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFBVQ453Z_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "Toolbar", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFBVQ453Z_js.Toolbar; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkFBVQ453Z_js.ViewerThemeProvider; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkFBVQ453Z_js.useViewerTheme; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
34
34
|
enumerable: true,
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-2QSHMCJH.mjs';
|
|
2
2
|
import './chunk-HHUBO5OD.mjs';
|
|
3
3
|
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-MVXW7BHH.mjs';
|
|
4
4
|
export { getAnimationInitialStyle } from './chunk-A3WQ6JDW.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFBVQ453Z_js = require('../chunk-FBVQ453Z.js');
|
|
4
4
|
require('../chunk-D754TQ4S.js');
|
|
5
5
|
var chunkCZPAFVPN_js = require('../chunk-CZPAFVPN.js');
|
|
6
6
|
var chunkNZYSI3BL_js = require('../chunk-NZYSI3BL.js');
|
|
@@ -12,23 +12,23 @@ require('../chunk-4VNS5WPM.js');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "CollaborationProvider", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkFBVQ453Z_js.CollaborationProvider; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "CollaborationStatusIndicator", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFBVQ453Z_js.CollaborationStatusIndicator; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFBVQ453Z_js.PowerPointViewer; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "RemoteUserCursors", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkFBVQ453Z_js.RemoteUserCursors; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "UserAvatarBar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkFBVQ453Z_js.UserAvatarBar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "isAudienceTab", {
|
|
34
34
|
enumerable: true,
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar } from '../chunk-
|
|
1
|
+
export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar } from '../chunk-2QSHMCJH.mjs';
|
|
2
2
|
import '../chunk-HHUBO5OD.mjs';
|
|
3
3
|
export { isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-MVXW7BHH.mjs';
|
|
4
4
|
export { getAnimationInitialStyle } from '../chunk-A3WQ6JDW.mjs';
|
package/dist/viewer/index.mjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.mjs.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|