pptx-react-viewer 4.73.0 → 4.74.0

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 (58) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/ai.d.ts +15 -0
  3. package/dist/{chunk-DHCM6STL.mjs → chunk-CRC3V4UG.mjs} +1 -1
  4. package/dist/chunk-CRC3V4UG.mjs.br +0 -0
  5. package/dist/{chunk-DHCM6STL.mjs.gz → chunk-CRC3V4UG.mjs.gz} +0 -0
  6. package/dist/{chunk-RBRWOKRR.js → chunk-D4WC35PL.js} +232 -282
  7. package/dist/chunk-D4WC35PL.js.br +0 -0
  8. package/dist/chunk-D4WC35PL.js.gz +0 -0
  9. package/dist/{chunk-IDIWOXL4.mjs → chunk-SQ7OASDY.mjs} +116 -167
  10. package/dist/chunk-SQ7OASDY.mjs.br +0 -0
  11. package/dist/chunk-SQ7OASDY.mjs.gz +0 -0
  12. package/dist/{chunk-BYPHHRBZ.js → chunk-XG4WSJ4O.js} +1 -1
  13. package/dist/chunk-XG4WSJ4O.js.br +0 -0
  14. package/dist/{chunk-BYPHHRBZ.js.gz → chunk-XG4WSJ4O.js.gz} +0 -0
  15. package/dist/index.d.ts +28 -5
  16. package/dist/index.js +28 -24
  17. package/dist/index.js.br +0 -0
  18. package/dist/index.js.gz +0 -0
  19. package/dist/index.mjs +2 -2
  20. package/dist/index.mjs.br +0 -0
  21. package/dist/index.mjs.gz +0 -0
  22. package/dist/internals.d.ts +16 -16
  23. package/dist/internals.js +80 -80
  24. package/dist/internals.js.br +0 -0
  25. package/dist/internals.js.gz +0 -0
  26. package/dist/internals.mjs +1 -1
  27. package/dist/internals.mjs.br +0 -0
  28. package/dist/internals.mjs.gz +0 -0
  29. package/dist/pptx-viewer-canvas.css +2 -2
  30. package/dist/pptx-viewer-canvas.css.br +0 -0
  31. package/dist/pptx-viewer-canvas.css.gz +0 -0
  32. package/dist/pptx-viewer.css +2 -2
  33. package/dist/pptx-viewer.css.br +0 -0
  34. package/dist/pptx-viewer.css.gz +0 -0
  35. package/dist/{three.module-MBFHAT6M.js → three.module-JBKIR2OB.js} +1369 -1174
  36. package/dist/three.module-JBKIR2OB.js.br +0 -0
  37. package/dist/three.module-JBKIR2OB.js.gz +0 -0
  38. package/dist/{three.module-EBJVANGB.mjs → three.module-PMXOC26V.mjs} +1370 -1174
  39. package/dist/three.module-PMXOC26V.mjs.br +0 -0
  40. package/dist/three.module-PMXOC26V.mjs.gz +0 -0
  41. package/dist/viewer/index.d.ts +12 -12
  42. package/dist/viewer/index.js +18 -18
  43. package/dist/viewer/index.js.br +0 -0
  44. package/dist/viewer/index.js.gz +0 -0
  45. package/dist/viewer/index.mjs +2 -2
  46. package/dist/viewer/index.mjs.br +0 -0
  47. package/dist/viewer/index.mjs.gz +0 -0
  48. package/package.json +10 -10
  49. package/dist/chunk-BYPHHRBZ.js.br +0 -0
  50. package/dist/chunk-DHCM6STL.mjs.br +0 -0
  51. package/dist/chunk-IDIWOXL4.mjs.br +0 -0
  52. package/dist/chunk-IDIWOXL4.mjs.gz +0 -0
  53. package/dist/chunk-RBRWOKRR.js.br +0 -0
  54. package/dist/chunk-RBRWOKRR.js.gz +0 -0
  55. package/dist/three.module-EBJVANGB.mjs.br +0 -0
  56. package/dist/three.module-EBJVANGB.mjs.gz +0 -0
  57. package/dist/three.module-MBFHAT6M.js.br +0 -0
  58. package/dist/three.module-MBFHAT6M.js.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,23 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
8
8
  conventional commits.
9
9
 
10
+ ## [4.74.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.74.0) - 2026-11-11
11
+
12
+ ### Features
13
+
14
+ - **pptx:** Export a slide thumbnail building block in every binding ([#242](https://github.com/ChristopherVR/ooxml/issues/242)) ([f717202](https://github.com/ChristopherVR/ooxml/commit/f717202d7af2cbb01b65cf2d02f598bff1dbb492))
15
+
16
+ ## [4.73.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.73.1) - 2026-11-09
17
+
18
+ ### Dependencies
19
+
20
+ - **deps:** Merge dependabot development group and jsdom 31 ([eb65de6](https://github.com/ChristopherVR/ooxml/commit/eb65de67a495cbd4d775c995d5ac25f08322fbf9))
21
+ - **deps:** Bump the production-minor-and-patch group with 25 updates ([4046ca3](https://github.com/ChristopherVR/ooxml/commit/4046ca399665d485da35696889c0212cc6526f63))
22
+
23
+ ### Chores
24
+
25
+ - **deps-dev:** Bump the development-minor-and-patch group with 15 updates ([f9d1598](https://github.com/ChristopherVR/ooxml/commit/f9d15981d99b0dee22754c9711ed1755ae5d666a))
26
+
10
27
  ## [4.73.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.73.0) - 2026-11-08
11
28
 
12
29
  ### Features
package/dist/ai.d.ts CHANGED
@@ -3,6 +3,21 @@ export { PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, Pp
3
3
  import { PptxAiAssistant } from 'ooxml-ui/pptx/ai/host';
4
4
  export { PptxAiAssistant } from 'ooxml-ui/pptx/ai/host';
5
5
 
6
+ /**
7
+ * `pptx-react-viewer/ai`: the AI assistant entry.
8
+ *
9
+ * Importing this entry is the opt-in to the chat panel and its optional `ai` and
10
+ * `@ai-sdk/react` peers. The panel itself still loads lazily, the first time the user
11
+ * opens it.
12
+ *
13
+ * ```tsx
14
+ * import { createAiAssistant } from 'pptx-react-viewer/ai';
15
+ *
16
+ * const assistant = createAiAssistant({ connection: { kind: 'endpoint', api: '/api/chat' } });
17
+ * <PowerPointViewer content={bytes} ai={assistant} />;
18
+ * ```
19
+ */
20
+
6
21
  /**
7
22
  * Create an AI assistant for the viewer's `ai` prop from a `PptxAiConfig`.
8
23
  *
@@ -16257,7 +16257,7 @@ function Model3DRenderer({ element, width, height, interactive }) {
16257
16257
  const [threeAvailable, setThreeAvailable] = useState(null);
16258
16258
  useEffect(() => {
16259
16259
  let cancelled = false;
16260
- import('./three.module-EBJVANGB.mjs').then(() => {
16260
+ import('./three.module-PMXOC26V.mjs').then(() => {
16261
16261
  if (!cancelled) {
16262
16262
  setThreeAvailable(true);
16263
16263
  }
Binary file