pptx-react-viewer 2.16.9 → 2.16.10

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 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.16.9](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.16.9) - 2026-08-11
8
+
7
9
  ## [2.16.8](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.16.8) - 2026-08-11
8
10
 
9
11
  ## [2.16.7](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.16.7) - 2026-08-11
@@ -7615,7 +7615,7 @@ function AccountPage() {
7615
7615
  return void 0;
7616
7616
  });
7617
7617
  };
7618
- const version = "2.16.8" ;
7618
+ const version = "2.16.9" ;
7619
7619
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
7620
7620
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: cardClass, children: [
7621
7621
  /* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -31470,6 +31470,15 @@ function PresentationTransitionOverlay({
31470
31470
  style: {
31471
31471
  width: canvasSize.width,
31472
31472
  height: canvasSize.height,
31473
+ // The slide box is a flex ITEM, so it shrinks to the container
31474
+ // unless told not to. A show surface narrower than the deck's own
31475
+ // canvas (a windowed show, or a display scaled past 100%) squeezed
31476
+ // the unscaled 1280px box down to the container width and only
31477
+ // then scaled it, landing the whole outgoing slide up to ~77px to
31478
+ // the right of the live one for the length of the morph (issue
31479
+ // #161). The stage below positions its slide box absolutely and is
31480
+ // unaffected, so the two layers disagreed.
31481
+ flexShrink: 0,
31473
31482
  transform: `scale(${scale})`,
31474
31483
  transformOrigin: "center",
31475
31484
  position: "relative"
@@ -31542,6 +31551,10 @@ function PresentationTransitionOverlay({
31542
31551
  style: {
31543
31552
  width: canvasSize.width,
31544
31553
  height: canvasSize.height,
31554
+ // See the morph layer above: a flex item shrinks to its container,
31555
+ // which offsets the whole outgoing slide on a show surface narrower
31556
+ // than the deck's canvas.
31557
+ flexShrink: 0,
31545
31558
  transform: `scale(${scale})`,
31546
31559
  transformOrigin: "center"
31547
31560
  },
Binary file
Binary file
@@ -7609,7 +7609,7 @@ function AccountPage() {
7609
7609
  return void 0;
7610
7610
  });
7611
7611
  };
7612
- const version = "2.16.8" ;
7612
+ const version = "2.16.9" ;
7613
7613
  return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
7614
7614
  /* @__PURE__ */ jsxs("section", { className: cardClass, children: [
7615
7615
  /* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -31464,6 +31464,15 @@ function PresentationTransitionOverlay({
31464
31464
  style: {
31465
31465
  width: canvasSize.width,
31466
31466
  height: canvasSize.height,
31467
+ // The slide box is a flex ITEM, so it shrinks to the container
31468
+ // unless told not to. A show surface narrower than the deck's own
31469
+ // canvas (a windowed show, or a display scaled past 100%) squeezed
31470
+ // the unscaled 1280px box down to the container width and only
31471
+ // then scaled it, landing the whole outgoing slide up to ~77px to
31472
+ // the right of the live one for the length of the morph (issue
31473
+ // #161). The stage below positions its slide box absolutely and is
31474
+ // unaffected, so the two layers disagreed.
31475
+ flexShrink: 0,
31467
31476
  transform: `scale(${scale})`,
31468
31477
  transformOrigin: "center",
31469
31478
  position: "relative"
@@ -31536,6 +31545,10 @@ function PresentationTransitionOverlay({
31536
31545
  style: {
31537
31546
  width: canvasSize.width,
31538
31547
  height: canvasSize.height,
31548
+ // See the morph layer above: a flex item shrinks to its container,
31549
+ // which offsets the whole outgoing slide on a show surface narrower
31550
+ // than the deck's canvas.
31551
+ flexShrink: 0,
31539
31552
  transform: `scale(${scale})`,
31540
31553
  transformOrigin: "center"
31541
31554
  },
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkVL7ZT3ID_js = require('./chunk-VL7ZT3ID.js');
3
+ var chunkESC6IB2F_js = require('./chunk-ESC6IB2F.js');
4
4
  require('./chunk-PI5SFTDC.js');
5
5
  var chunkFSVE6WUY_js = require('./chunk-FSVE6WUY.js');
6
6
  var chunkWK22Z7PK_js = require('./chunk-WK22Z7PK.js');
@@ -12,31 +12,31 @@ require('./chunk-4VNS5WPM.js');
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunkVL7ZT3ID_js.PowerPointViewer; }
15
+ get: function () { return chunkESC6IB2F_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkVL7ZT3ID_js.SlideCanvas; }
19
+ get: function () { return chunkESC6IB2F_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkVL7ZT3ID_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkESC6IB2F_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkVL7ZT3ID_js.SlideTemplatePreview; }
27
+ get: function () { return chunkESC6IB2F_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkVL7ZT3ID_js.Toolbar; }
31
+ get: function () { return chunkESC6IB2F_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkVL7ZT3ID_js.ViewerThemeProvider; }
35
+ get: function () { return chunkESC6IB2F_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkVL7ZT3ID_js.useViewerTheme; }
39
+ get: function () { return chunkESC6IB2F_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  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, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-3KIKPDAJ.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-G3VAE7ZF.mjs';
2
2
  import './chunk-EL2YF26P.mjs';
3
3
  export { renderToCanvas, useViewerBuildingBlocks } from './chunk-J7EFC3GS.mjs';
4
4
  export { getAnimationInitialStyle } from './chunk-VHME5BE6.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkVL7ZT3ID_js = require('../chunk-VL7ZT3ID.js');
3
+ var chunkESC6IB2F_js = require('../chunk-ESC6IB2F.js');
4
4
  require('../chunk-PI5SFTDC.js');
5
5
  var chunkFSVE6WUY_js = require('../chunk-FSVE6WUY.js');
6
6
  var chunkWK22Z7PK_js = require('../chunk-WK22Z7PK.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 chunkVL7ZT3ID_js.CollaborationProvider; }
15
+ get: function () { return chunkESC6IB2F_js.CollaborationProvider; }
16
16
  });
17
17
  Object.defineProperty(exports, "CollaborationStatusIndicator", {
18
18
  enumerable: true,
19
- get: function () { return chunkVL7ZT3ID_js.CollaborationStatusIndicator; }
19
+ get: function () { return chunkESC6IB2F_js.CollaborationStatusIndicator; }
20
20
  });
21
21
  Object.defineProperty(exports, "PowerPointViewer", {
22
22
  enumerable: true,
23
- get: function () { return chunkVL7ZT3ID_js.PowerPointViewer; }
23
+ get: function () { return chunkESC6IB2F_js.PowerPointViewer; }
24
24
  });
25
25
  Object.defineProperty(exports, "RemoteUserCursors", {
26
26
  enumerable: true,
27
- get: function () { return chunkVL7ZT3ID_js.RemoteUserCursors; }
27
+ get: function () { return chunkESC6IB2F_js.RemoteUserCursors; }
28
28
  });
29
29
  Object.defineProperty(exports, "UserAvatarBar", {
30
30
  enumerable: true,
31
- get: function () { return chunkVL7ZT3ID_js.UserAvatarBar; }
31
+ get: function () { return chunkESC6IB2F_js.UserAvatarBar; }
32
32
  });
33
33
  Object.defineProperty(exports, "isAudienceTab", {
34
34
  enumerable: true,
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar } from '../chunk-3KIKPDAJ.mjs';
1
+ export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar } from '../chunk-G3VAE7ZF.mjs';
2
2
  import '../chunk-EL2YF26P.mjs';
3
3
  export { isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-J7EFC3GS.mjs';
4
4
  export { getAnimationInitialStyle } from '../chunk-VHME5BE6.mjs';
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-react-viewer",
3
- "version": "2.16.9",
3
+ "version": "2.16.10",
4
4
  "description": "React PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "editor",
Binary file
Binary file
Binary file
Binary file