pptx-react-viewer 1.13.1 → 1.14.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.
Files changed (108) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{Model3DScene-C5O6LDSN.js → Model3DScene-E2FDY2TX.js} +3 -3
  3. package/dist/Model3DScene-E2FDY2TX.js.br +0 -0
  4. package/dist/Model3DScene-E2FDY2TX.js.gz +0 -0
  5. package/dist/{Model3DScene-SGFNVFB2.mjs → Model3DScene-JUJB4MJX.mjs} +2 -2
  6. package/dist/{Model3DScene-SGFNVFB2.mjs.br → Model3DScene-JUJB4MJX.mjs.br} +0 -0
  7. package/dist/Model3DScene-JUJB4MJX.mjs.gz +0 -0
  8. package/dist/{PowerPointViewer-C2a7iXAK.d.ts → PowerPointViewer-BsaUH3ZT.d.ts} +3 -3
  9. package/dist/{PowerPointViewer-BzsjqMzg.d.mts → PowerPointViewer-Nxku67uL.d.mts} +3 -3
  10. package/dist/{SurfaceChart3DScene-CDWIMU7C.mjs → SurfaceChart3DScene-2DEB7NMW.mjs} +2 -2
  11. package/dist/SurfaceChart3DScene-2DEB7NMW.mjs.br +0 -0
  12. package/dist/SurfaceChart3DScene-2DEB7NMW.mjs.gz +0 -0
  13. package/dist/{SurfaceChart3DScene-NWZ2GCPS.js → SurfaceChart3DScene-Z64TSGR5.js} +3 -3
  14. package/dist/SurfaceChart3DScene-Z64TSGR5.js.br +0 -0
  15. package/dist/SurfaceChart3DScene-Z64TSGR5.js.gz +0 -0
  16. package/dist/{chunk-LARZRLKB.js → chunk-6CNJINIT.js} +322 -27
  17. package/dist/chunk-6CNJINIT.js.br +0 -0
  18. package/dist/chunk-6CNJINIT.js.gz +0 -0
  19. package/dist/{chunk-AMFNG44P.js → chunk-CHG7GPGB.js} +471 -626
  20. package/dist/chunk-CHG7GPGB.js.br +0 -0
  21. package/dist/chunk-CHG7GPGB.js.gz +0 -0
  22. package/dist/{chunk-ASB757HI.mjs → chunk-CZOMQPLZ.mjs} +65 -220
  23. package/dist/chunk-CZOMQPLZ.mjs.br +0 -0
  24. package/dist/chunk-CZOMQPLZ.mjs.gz +0 -0
  25. package/dist/{chunk-4ZYUPWYP.mjs → chunk-MAXS6AU7.mjs} +38 -18
  26. package/dist/chunk-MAXS6AU7.mjs.br +0 -0
  27. package/dist/chunk-MAXS6AU7.mjs.gz +0 -0
  28. package/dist/{chunk-S52XBUDM.js → chunk-OBLHB72P.js} +10 -0
  29. package/dist/chunk-OBLHB72P.js.br +0 -0
  30. package/dist/{chunk-S52XBUDM.js.gz → chunk-OBLHB72P.js.gz} +0 -0
  31. package/dist/{chunk-XBOHG5BO.mjs → chunk-QFRXMAFR.mjs} +10 -0
  32. package/dist/chunk-QFRXMAFR.mjs.br +0 -0
  33. package/dist/{chunk-XBOHG5BO.mjs.gz → chunk-QFRXMAFR.mjs.gz} +0 -0
  34. package/dist/{chunk-3VVUDMB7.js → chunk-RXIGJGJN.js} +856 -836
  35. package/dist/chunk-RXIGJGJN.js.br +0 -0
  36. package/dist/chunk-RXIGJGJN.js.gz +0 -0
  37. package/dist/{chunk-KULOGKNE.mjs → chunk-ZK4SPHDQ.mjs} +291 -3
  38. package/dist/chunk-ZK4SPHDQ.mjs.br +0 -0
  39. package/dist/chunk-ZK4SPHDQ.mjs.gz +0 -0
  40. package/dist/{dist-JVXXDMU7.mjs → dist-D5LQ7PW7.mjs} +1 -1
  41. package/dist/dist-D5LQ7PW7.mjs.br +0 -0
  42. package/dist/dist-D5LQ7PW7.mjs.gz +0 -0
  43. package/dist/{dist-TRWOWXDT.js → dist-MVSQ6PWP.js} +505 -505
  44. package/dist/dist-MVSQ6PWP.js.br +0 -0
  45. package/dist/dist-MVSQ6PWP.js.gz +0 -0
  46. package/dist/hooks-unstable.d.mts +127 -121
  47. package/dist/hooks-unstable.d.ts +127 -121
  48. package/dist/hooks-unstable.js +74 -74
  49. package/dist/hooks-unstable.js.br +0 -0
  50. package/dist/hooks-unstable.js.gz +0 -0
  51. package/dist/hooks-unstable.mjs +3 -3
  52. package/dist/hooks-unstable.mjs.br +0 -0
  53. package/dist/hooks-unstable.mjs.gz +0 -0
  54. package/dist/index.d.mts +3 -3
  55. package/dist/index.d.ts +3 -3
  56. package/dist/index.js +18 -18
  57. package/dist/index.js.br +0 -0
  58. package/dist/index.js.gz +0 -0
  59. package/dist/index.mjs +4 -4
  60. package/dist/index.mjs.br +0 -0
  61. package/dist/index.mjs.gz +0 -0
  62. package/dist/pptx-viewer.css +2 -2
  63. package/dist/pptx-viewer.css.br +0 -0
  64. package/dist/pptx-viewer.css.gz +0 -0
  65. package/dist/{types-ui-DlsqFx7_.d.mts → types-ui-NG29h55h.d.mts} +31 -20
  66. package/dist/{types-ui-DlsqFx7_.d.ts → types-ui-NG29h55h.d.ts} +31 -20
  67. package/dist/{usePresenterWindow-BKx5DLJy.d.ts → usePresenterWindow-DToCijGy.d.ts} +44 -44
  68. package/dist/{usePresenterWindow-BQwzr87T.d.mts → usePresenterWindow-DeTm-unp.d.mts} +44 -44
  69. package/dist/viewer/index.d.mts +6 -6
  70. package/dist/viewer/index.d.ts +6 -6
  71. package/dist/viewer/index.js +19 -19
  72. package/dist/viewer/index.js.br +0 -0
  73. package/dist/viewer/index.js.gz +0 -0
  74. package/dist/viewer/index.mjs +4 -4
  75. package/dist/viewer/index.mjs.br +0 -0
  76. package/dist/viewer/index.mjs.gz +0 -0
  77. package/dist/y-webrtc-6CRYHAXH.mjs +2 -2
  78. package/dist/y-webrtc-6CRYHAXH.mjs.br +0 -0
  79. package/dist/y-webrtc-6CRYHAXH.mjs.gz +0 -0
  80. package/dist/y-webrtc-QCZF75JW.js +2 -2
  81. package/dist/y-webrtc-QCZF75JW.js.br +0 -0
  82. package/dist/y-webrtc-QCZF75JW.js.gz +0 -0
  83. package/package.json +1 -1
  84. package/dist/Model3DScene-C5O6LDSN.js.br +0 -0
  85. package/dist/Model3DScene-C5O6LDSN.js.gz +0 -0
  86. package/dist/Model3DScene-SGFNVFB2.mjs.gz +0 -0
  87. package/dist/SurfaceChart3DScene-CDWIMU7C.mjs.br +0 -0
  88. package/dist/SurfaceChart3DScene-CDWIMU7C.mjs.gz +0 -0
  89. package/dist/SurfaceChart3DScene-NWZ2GCPS.js.br +0 -0
  90. package/dist/SurfaceChart3DScene-NWZ2GCPS.js.gz +0 -0
  91. package/dist/chunk-3VVUDMB7.js.br +0 -0
  92. package/dist/chunk-3VVUDMB7.js.gz +0 -0
  93. package/dist/chunk-4ZYUPWYP.mjs.br +0 -0
  94. package/dist/chunk-4ZYUPWYP.mjs.gz +0 -0
  95. package/dist/chunk-AMFNG44P.js.br +0 -0
  96. package/dist/chunk-AMFNG44P.js.gz +0 -0
  97. package/dist/chunk-ASB757HI.mjs.br +0 -0
  98. package/dist/chunk-ASB757HI.mjs.gz +0 -0
  99. package/dist/chunk-KULOGKNE.mjs.br +0 -0
  100. package/dist/chunk-KULOGKNE.mjs.gz +0 -0
  101. package/dist/chunk-LARZRLKB.js.br +0 -0
  102. package/dist/chunk-LARZRLKB.js.gz +0 -0
  103. package/dist/chunk-S52XBUDM.js.br +0 -0
  104. package/dist/chunk-XBOHG5BO.mjs.br +0 -0
  105. package/dist/dist-JVXXDMU7.mjs.br +0 -0
  106. package/dist/dist-JVXXDMU7.mjs.gz +0 -0
  107. package/dist/dist-TRWOWXDT.js.br +0 -0
  108. package/dist/dist-TRWOWXDT.js.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,23 @@ 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
+ ## [1.14.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@1.14.0) - 2026-07-11
8
+
9
+ ### Other
10
+
11
+ - Reconcile with origin/main before push (by @ChristopherVR) ([0ecd3d9](https://github.com/ChristopherVR/pptx-viewer/commit/0ecd3d935f97c78e8b0a62bebc8bf610c42414ab))
12
+
13
+ ## [1.13.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@1.13.1) - 2026-07-10
14
+
15
+ ### Bug Fixes
16
+
17
+ - **react:** Fix Turbopack minification collision, cut bundle size (by @al3xius) ([2d15c45](https://github.com/ChristopherVR/pptx-viewer/commit/2d15c45c9415e3024fc5205346d3eeb86e161a96))
18
+ - **shared:** Sanitize print-document/SVG assembly with DOMPurify (by @ChristopherVR) ([84527b6](https://github.com/ChristopherVR/pptx-viewer/commit/84527b63350643d0a78b37d7ea55238fe4a8fa72))
19
+
20
+ ### Reverts
21
+
22
+ - Exclude unrelated tsup.config.ts change from the CodeQL print-sanitization commit (by @ChristopherVR) ([bdc44d3](https://github.com/ChristopherVR/pptx-viewer/commit/bdc44d32330f3a9769f300c5be1676bba789d12b))
23
+
7
24
  ## [1.13.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@1.13.0) - 2026-07-09
8
25
 
9
26
  ## [1.12.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@1.12.0) - 2026-07-09
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkLARZRLKB_js = require('./chunk-LARZRLKB.js');
4
- require('./chunk-S52XBUDM.js');
3
+ var chunk6CNJINIT_js = require('./chunk-6CNJINIT.js');
4
+ require('./chunk-OBLHB72P.js');
5
5
  require('./chunk-QGM4M3NI.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -15,7 +15,7 @@ function Model3DScene({ modelUrl, interactive, width, height }) {
15
15
  return;
16
16
  }
17
17
  let disposed = false;
18
- void chunkLARZRLKB_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
18
+ void chunk6CNJINIT_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
19
19
  if (disposed) {
20
20
  handle.dispose();
21
21
  } else {
Binary file
Binary file
@@ -1,5 +1,5 @@
1
- import { mountModel3D } from './chunk-KULOGKNE.mjs';
2
- import './chunk-XBOHG5BO.mjs';
1
+ import { mountModel3D } from './chunk-ZK4SPHDQ.mjs';
2
+ import './chunk-QFRXMAFR.mjs';
3
3
  import './chunk-6DZX6EAA.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
- import { f, V } from './presentation-CLc4eS3z.js';
1
+ import { g, V } from './presentation-BfnrtJV1.js';
2
2
  import * as React from 'react';
3
3
  import React__default from 'react';
4
- import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types-ui-DlsqFx7_.js';
4
+ import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types-ui-NG29h55h.js';
5
5
 
6
6
  /**
7
7
  * Thin adapter shim: the initial-style resolution now lives in
@@ -10,7 +10,7 @@ import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types
10
10
  * result as `React.CSSProperties` so React consumers/tests are unchanged.
11
11
  */
12
12
 
13
- declare function getAnimationInitialStyle(preset: f | undefined, nativeAnimation?: V): React__default.CSSProperties;
13
+ declare function getAnimationInitialStyle(preset: g | undefined, nativeAnimation?: V): React__default.CSSProperties;
14
14
 
15
15
  /**
16
16
  * Root React component for the PowerPoint viewer/editor.
@@ -1,7 +1,7 @@
1
- import { f, V } from './presentation-CLc4eS3z.js';
1
+ import { g, V } from './presentation-BfnrtJV1.js';
2
2
  import * as React from 'react';
3
3
  import React__default from 'react';
4
- import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types-ui-DlsqFx7_.mjs';
4
+ import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types-ui-NG29h55h.mjs';
5
5
 
6
6
  /**
7
7
  * Thin adapter shim: the initial-style resolution now lives in
@@ -10,7 +10,7 @@ import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types
10
10
  * result as `React.CSSProperties` so React consumers/tests are unchanged.
11
11
  */
12
12
 
13
- declare function getAnimationInitialStyle(preset: f | undefined, nativeAnimation?: V): React__default.CSSProperties;
13
+ declare function getAnimationInitialStyle(preset: g | undefined, nativeAnimation?: V): React__default.CSSProperties;
14
14
 
15
15
  /**
16
16
  * Root React component for the PowerPoint viewer/editor.
@@ -1,5 +1,5 @@
1
- import { mountSurfaceChart3D } from './chunk-KULOGKNE.mjs';
2
- import './chunk-XBOHG5BO.mjs';
1
+ import { mountSurfaceChart3D } from './chunk-ZK4SPHDQ.mjs';
2
+ import './chunk-QFRXMAFR.mjs';
3
3
  import './chunk-6DZX6EAA.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkLARZRLKB_js = require('./chunk-LARZRLKB.js');
4
- require('./chunk-S52XBUDM.js');
3
+ var chunk6CNJINIT_js = require('./chunk-6CNJINIT.js');
4
+ require('./chunk-OBLHB72P.js');
5
5
  require('./chunk-QGM4M3NI.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -26,7 +26,7 @@ function SurfaceChart3DScene({
26
26
  return;
27
27
  }
28
28
  let disposed = false;
29
- void chunkLARZRLKB_js.mountSurfaceChart3D(container, {
29
+ void chunk6CNJINIT_js.mountSurfaceChart3D(container, {
30
30
  cols,
31
31
  rows,
32
32
  heightMap,