pptx-react-viewer 3.0.2 → 3.0.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,17 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs re-releases a package whenever any of its files
8
8
  change, not only on conventional ones.
9
9
 
10
+ ## [3.0.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.0.2) - 2026-08-22
11
+
12
+ ### Bug Fixes
13
+
14
+ - **react:** Host selection handles in a stage-level overlay, as the other bindings do (by @ChristopherVR) ([d06780a](https://github.com/ChristopherVR/pptx-viewer/commit/d06780a63a074e77201076b9c7dd2d0bd5690b9b))
15
+ - **shared,angular:** Stop the stroke overlay inventing outlines, and finish the Angular whitespace fix (by @ChristopherVR) ([20d4d17](https://github.com/ChristopherVR/pptx-viewer/commit/20d4d177fee97b5f4452a0da739fd51ebaa9e183))
16
+
17
+ ### Reverts
18
+
19
+ - **react:** Restore the element renderer's DOM structure (by @ChristopherVR) ([b75440e](https://github.com/ChristopherVR/pptx-viewer/commit/b75440e7091579ea5dde6d76e8d350f808e9a447))
20
+
10
21
  ## [3.0.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.0.1) - 2026-08-22
11
22
 
12
23
  ### Bug Fixes
@@ -1094,7 +1094,9 @@ function ResizeHandles({
1094
1094
  onResizePointerDown(elementId, e, handle);
1095
1095
  };
1096
1096
  const startRotate = (btn, pointerId) => {
1097
- const wrapper = btn.closest("[data-element-id]");
1097
+ const wrapper = btn.closest(
1098
+ "[data-pptx-selection-handle-host], [data-element-id]"
1099
+ );
1098
1100
  if (!wrapper) {
1099
1101
  return;
1100
1102
  }
@@ -5832,7 +5834,7 @@ function AccountPage() {
5832
5834
  return void 0;
5833
5835
  });
5834
5836
  };
5835
- const version = "3.0.1" ;
5837
+ const version = "3.0.2" ;
5836
5838
  return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
5837
5839
  /* @__PURE__ */ jsxs("section", { className: cardClass, children: [
5838
5840
  /* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -11059,7 +11061,7 @@ function SelectionHandleOverlay({
11059
11061
  return /* @__PURE__ */ jsx(
11060
11062
  "div",
11061
11063
  {
11062
- "data-element-id": element.id,
11064
+ "data-pptx-handle-for": element.id,
11063
11065
  "data-pptx-selection-handle-host": "true",
11064
11066
  style: {
11065
11067
  position: "absolute",
Binary file
Binary file
@@ -1100,7 +1100,9 @@ function ResizeHandles({
1100
1100
  onResizePointerDown(elementId, e, handle);
1101
1101
  };
1102
1102
  const startRotate = (btn, pointerId) => {
1103
- const wrapper = btn.closest("[data-element-id]");
1103
+ const wrapper = btn.closest(
1104
+ "[data-pptx-selection-handle-host], [data-element-id]"
1105
+ );
1104
1106
  if (!wrapper) {
1105
1107
  return;
1106
1108
  }
@@ -5838,7 +5840,7 @@ function AccountPage() {
5838
5840
  return void 0;
5839
5841
  });
5840
5842
  };
5841
- const version = "3.0.1" ;
5843
+ const version = "3.0.2" ;
5842
5844
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
5843
5845
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: cardClass, children: [
5844
5846
  /* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -11065,7 +11067,7 @@ function SelectionHandleOverlay({
11065
11067
  return /* @__PURE__ */ jsxRuntime.jsx(
11066
11068
  "div",
11067
11069
  {
11068
- "data-element-id": element.id,
11070
+ "data-pptx-handle-for": element.id,
11069
11071
  "data-pptx-selection-handle-host": "true",
11070
11072
  style: {
11071
11073
  position: "absolute",
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkRYLLTHFD_js = require('./chunk-RYLLTHFD.js');
3
+ var chunkZ4RY432D_js = require('./chunk-Z4RY432D.js');
4
4
  require('./chunk-GJ7E44BG.js');
5
5
  var chunk7HUYHWQS_js = require('./chunk-7HUYHWQS.js');
6
6
  var chunkUU6NFFRR_js = require('./chunk-UU6NFFRR.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 chunkRYLLTHFD_js.PowerPointViewer; }
15
+ get: function () { return chunkZ4RY432D_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkRYLLTHFD_js.SlideCanvas; }
19
+ get: function () { return chunkZ4RY432D_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkRYLLTHFD_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkZ4RY432D_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkRYLLTHFD_js.SlideTemplatePreview; }
27
+ get: function () { return chunkZ4RY432D_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkRYLLTHFD_js.Toolbar; }
31
+ get: function () { return chunkZ4RY432D_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkRYLLTHFD_js.ViewerThemeProvider; }
35
+ get: function () { return chunkZ4RY432D_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkRYLLTHFD_js.useViewerTheme; }
39
+ get: function () { return chunkZ4RY432D_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-4LHG6ZL7.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-CY24IMMZ.mjs';
2
2
  import './chunk-EVXT7HLY.mjs';
3
3
  export { renderToCanvas, useViewerBuildingBlocks } from './chunk-YISXETNN.mjs';
4
4
  export { getAnimationInitialStyle } from './chunk-QG7TXWXP.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 chunkRYLLTHFD_js = require('../chunk-RYLLTHFD.js');
3
+ var chunkZ4RY432D_js = require('../chunk-Z4RY432D.js');
4
4
  require('../chunk-GJ7E44BG.js');
5
5
  var chunk7HUYHWQS_js = require('../chunk-7HUYHWQS.js');
6
6
  var chunkUU6NFFRR_js = require('../chunk-UU6NFFRR.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 chunkRYLLTHFD_js.CollaborationProvider; }
15
+ get: function () { return chunkZ4RY432D_js.CollaborationProvider; }
16
16
  });
17
17
  Object.defineProperty(exports, "CollaborationStatusIndicator", {
18
18
  enumerable: true,
19
- get: function () { return chunkRYLLTHFD_js.CollaborationStatusIndicator; }
19
+ get: function () { return chunkZ4RY432D_js.CollaborationStatusIndicator; }
20
20
  });
21
21
  Object.defineProperty(exports, "PowerPointViewer", {
22
22
  enumerable: true,
23
- get: function () { return chunkRYLLTHFD_js.PowerPointViewer; }
23
+ get: function () { return chunkZ4RY432D_js.PowerPointViewer; }
24
24
  });
25
25
  Object.defineProperty(exports, "RemoteUserCursors", {
26
26
  enumerable: true,
27
- get: function () { return chunkRYLLTHFD_js.RemoteUserCursors; }
27
+ get: function () { return chunkZ4RY432D_js.RemoteUserCursors; }
28
28
  });
29
29
  Object.defineProperty(exports, "UserAvatarBar", {
30
30
  enumerable: true,
31
- get: function () { return chunkRYLLTHFD_js.UserAvatarBar; }
31
+ get: function () { return chunkZ4RY432D_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-4LHG6ZL7.mjs';
1
+ export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar } from '../chunk-CY24IMMZ.mjs';
2
2
  import '../chunk-EVXT7HLY.mjs';
3
3
  export { isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-YISXETNN.mjs';
4
4
  export { getAnimationInitialStyle } from '../chunk-QG7TXWXP.mjs';
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-react-viewer",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
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