pptx-react-viewer 2.5.0 → 2.5.2

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,10 @@ 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.5.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.5.1) - 2026-07-26
8
+
9
+ ## [2.5.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.5.0) - 2026-07-26
10
+
7
11
  ## [2.4.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.4.0) - 2026-07-25
8
12
 
9
13
  ### Bug Fixes
@@ -70,6 +70,7 @@ function RemoteUserCursors({
70
70
  {
71
71
  transform: `translate(${user.cursorX}, ${user.cursorY})`,
72
72
  "data-testid": `remote-cursor-${user.clientId}`,
73
+ "data-pptx-remote-cursor": user.clientId,
73
74
  children: [
74
75
  /* @__PURE__ */ jsx(
75
76
  "path",
@@ -438,6 +439,7 @@ function RemoteSelectionOverlay({
438
439
  "div",
439
440
  {
440
441
  "data-testid": `remote-selection-${sel.element.id}`,
442
+ "data-pptx-remote-selection": sel.element.id,
441
443
  "data-export-ignore": "true",
442
444
  className: "absolute pointer-events-none",
443
445
  style: {
@@ -1335,7 +1337,7 @@ function AccountPage() {
1335
1337
  return void 0;
1336
1338
  });
1337
1339
  };
1338
- const version = "2.4.0" ;
1340
+ const version = "2.5.1" ;
1339
1341
  return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
1340
1342
  /* @__PURE__ */ jsxs("section", { className: cardClass, children: [
1341
1343
  /* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
Binary file
Binary file
@@ -76,6 +76,7 @@ function RemoteUserCursors({
76
76
  {
77
77
  transform: `translate(${user.cursorX}, ${user.cursorY})`,
78
78
  "data-testid": `remote-cursor-${user.clientId}`,
79
+ "data-pptx-remote-cursor": user.clientId,
79
80
  children: [
80
81
  /* @__PURE__ */ jsxRuntime.jsx(
81
82
  "path",
@@ -444,6 +445,7 @@ function RemoteSelectionOverlay({
444
445
  "div",
445
446
  {
446
447
  "data-testid": `remote-selection-${sel.element.id}`,
448
+ "data-pptx-remote-selection": sel.element.id,
447
449
  "data-export-ignore": "true",
448
450
  className: "absolute pointer-events-none",
449
451
  style: {
@@ -1341,7 +1343,7 @@ function AccountPage() {
1341
1343
  return void 0;
1342
1344
  });
1343
1345
  };
1344
- const version = "2.4.0" ;
1346
+ const version = "2.5.1" ;
1345
1347
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
1346
1348
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: cardClass, children: [
1347
1349
  /* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkI4AFCPUC_js = require('./chunk-I4AFCPUC.js');
3
+ var chunkOSSVKJGF_js = require('./chunk-OSSVKJGF.js');
4
4
  require('./chunk-MJAEB43A.js');
5
5
  var chunk7Q7AEPO7_js = require('./chunk-7Q7AEPO7.js');
6
6
  var chunkNVH3RIN7_js = require('./chunk-NVH3RIN7.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 chunkI4AFCPUC_js.PowerPointViewer; }
15
+ get: function () { return chunkOSSVKJGF_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkI4AFCPUC_js.SlideCanvas; }
19
+ get: function () { return chunkOSSVKJGF_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "Toolbar", {
22
22
  enumerable: true,
23
- get: function () { return chunkI4AFCPUC_js.Toolbar; }
23
+ get: function () { return chunkOSSVKJGF_js.Toolbar; }
24
24
  });
25
25
  Object.defineProperty(exports, "ViewerThemeProvider", {
26
26
  enumerable: true,
27
- get: function () { return chunkI4AFCPUC_js.ViewerThemeProvider; }
27
+ get: function () { return chunkOSSVKJGF_js.ViewerThemeProvider; }
28
28
  });
29
29
  Object.defineProperty(exports, "useViewerTheme", {
30
30
  enumerable: true,
31
- get: function () { return chunkI4AFCPUC_js.useViewerTheme; }
31
+ get: function () { return chunkOSSVKJGF_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-JSFUU2BB.mjs';
1
+ export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-HDKHZKSW.mjs';
2
2
  import './chunk-WJKMTDXS.mjs';
3
3
  export { renderToCanvas, useViewerBuildingBlocks } from './chunk-LIQGO45T.mjs';
4
4
  export { getAnimationInitialStyle } from './chunk-TGVID6BB.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 chunkI4AFCPUC_js = require('../chunk-I4AFCPUC.js');
3
+ var chunkOSSVKJGF_js = require('../chunk-OSSVKJGF.js');
4
4
  require('../chunk-MJAEB43A.js');
5
5
  var chunk7Q7AEPO7_js = require('../chunk-7Q7AEPO7.js');
6
6
  var chunkNVH3RIN7_js = require('../chunk-NVH3RIN7.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 chunkI4AFCPUC_js.CollaborationProvider; }
15
+ get: function () { return chunkOSSVKJGF_js.CollaborationProvider; }
16
16
  });
17
17
  Object.defineProperty(exports, "CollaborationStatusIndicator", {
18
18
  enumerable: true,
19
- get: function () { return chunkI4AFCPUC_js.CollaborationStatusIndicator; }
19
+ get: function () { return chunkOSSVKJGF_js.CollaborationStatusIndicator; }
20
20
  });
21
21
  Object.defineProperty(exports, "PowerPointViewer", {
22
22
  enumerable: true,
23
- get: function () { return chunkI4AFCPUC_js.PowerPointViewer; }
23
+ get: function () { return chunkOSSVKJGF_js.PowerPointViewer; }
24
24
  });
25
25
  Object.defineProperty(exports, "RemoteUserCursors", {
26
26
  enumerable: true,
27
- get: function () { return chunkI4AFCPUC_js.RemoteUserCursors; }
27
+ get: function () { return chunkOSSVKJGF_js.RemoteUserCursors; }
28
28
  });
29
29
  Object.defineProperty(exports, "UserAvatarBar", {
30
30
  enumerable: true,
31
- get: function () { return chunkI4AFCPUC_js.UserAvatarBar; }
31
+ get: function () { return chunkOSSVKJGF_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-JSFUU2BB.mjs';
1
+ export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar } from '../chunk-HDKHZKSW.mjs';
2
2
  import '../chunk-WJKMTDXS.mjs';
3
3
  export { isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-LIQGO45T.mjs';
4
4
  export { getAnimationInitialStyle } from '../chunk-TGVID6BB.mjs';
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-react-viewer",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "React PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "editor",
@@ -78,7 +78,7 @@
78
78
  "clsx": "^2.1.1",
79
79
  "dompurify": "^3.4.12",
80
80
  "html2canvas-pro": "^2.2.4",
81
- "pptx-viewer-mcp": "workspace:*",
81
+ "pptx-viewer-mcp": "^2.0.1",
82
82
  "tailwind-merge": "^3.6.0"
83
83
  },
84
84
  "devDependencies": {
Binary file
Binary file
Binary file
Binary file