pptx-react-viewer 4.30.2 → 4.30.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.
Files changed (61) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +3 -1
  3. package/dist/{AiChatPanel-7XZQQZ4P.js → AiChatPanel-6VWW4FHG.js} +9 -9
  4. package/dist/AiChatPanel-6VWW4FHG.js.br +0 -0
  5. package/dist/AiChatPanel-6VWW4FHG.js.gz +0 -0
  6. package/dist/{AiChatPanel-XI272UTZ.mjs → AiChatPanel-STFWEZCZ.mjs} +1 -1
  7. package/dist/AiChatPanel-STFWEZCZ.mjs.br +0 -0
  8. package/dist/AiChatPanel-STFWEZCZ.mjs.gz +0 -0
  9. package/dist/{chunk-QLGDQED2.js → chunk-3NIBDU4D.js} +383 -383
  10. package/dist/chunk-3NIBDU4D.js.br +0 -0
  11. package/dist/chunk-3NIBDU4D.js.gz +0 -0
  12. package/dist/{chunk-355ICDU6.js → chunk-BOQCAJIA.js} +245 -245
  13. package/dist/chunk-BOQCAJIA.js.br +0 -0
  14. package/dist/chunk-BOQCAJIA.js.gz +0 -0
  15. package/dist/{chunk-YHJRKGJD.mjs → chunk-FTNLOQ2T.mjs} +4 -4
  16. package/dist/chunk-FTNLOQ2T.mjs.br +0 -0
  17. package/dist/chunk-FTNLOQ2T.mjs.gz +0 -0
  18. package/dist/{chunk-ATGP75C4.mjs → chunk-IS76G64B.mjs} +36 -9
  19. package/dist/chunk-IS76G64B.mjs.br +0 -0
  20. package/dist/chunk-IS76G64B.mjs.gz +0 -0
  21. package/dist/{chunk-XRFJ7TAF.js → chunk-QO2AMZPA.js} +35 -8
  22. package/dist/chunk-QO2AMZPA.js.br +0 -0
  23. package/dist/chunk-QO2AMZPA.js.gz +0 -0
  24. package/dist/{chunk-CHZJORUW.mjs → chunk-RDT4I7MA.mjs} +1 -1
  25. package/dist/chunk-RDT4I7MA.mjs.br +0 -0
  26. package/dist/chunk-RDT4I7MA.mjs.gz +0 -0
  27. package/dist/index.js +24 -24
  28. package/dist/index.js.br +0 -0
  29. package/dist/index.js.gz +0 -0
  30. package/dist/index.mjs +3 -3
  31. package/dist/index.mjs.br +0 -0
  32. package/dist/index.mjs.gz +0 -0
  33. package/dist/internals.js +81 -81
  34. package/dist/internals.js.br +0 -0
  35. package/dist/internals.js.gz +0 -0
  36. package/dist/internals.mjs +2 -2
  37. package/dist/internals.mjs.br +0 -0
  38. package/dist/internals.mjs.gz +0 -0
  39. package/dist/viewer/index.js +19 -19
  40. package/dist/viewer/index.js.br +0 -0
  41. package/dist/viewer/index.js.gz +0 -0
  42. package/dist/viewer/index.mjs +3 -3
  43. package/dist/viewer/index.mjs.br +0 -0
  44. package/dist/viewer/index.mjs.gz +0 -0
  45. package/package.json +4 -4
  46. package/dist/AiChatPanel-7XZQQZ4P.js.br +0 -0
  47. package/dist/AiChatPanel-7XZQQZ4P.js.gz +0 -0
  48. package/dist/AiChatPanel-XI272UTZ.mjs.br +0 -0
  49. package/dist/AiChatPanel-XI272UTZ.mjs.gz +0 -0
  50. package/dist/chunk-355ICDU6.js.br +0 -0
  51. package/dist/chunk-355ICDU6.js.gz +0 -0
  52. package/dist/chunk-ATGP75C4.mjs.br +0 -0
  53. package/dist/chunk-ATGP75C4.mjs.gz +0 -0
  54. package/dist/chunk-CHZJORUW.mjs.br +0 -0
  55. package/dist/chunk-CHZJORUW.mjs.gz +0 -0
  56. package/dist/chunk-QLGDQED2.js.br +0 -0
  57. package/dist/chunk-QLGDQED2.js.gz +0 -0
  58. package/dist/chunk-XRFJ7TAF.js.br +0 -0
  59. package/dist/chunk-XRFJ7TAF.js.gz +0 -0
  60. package/dist/chunk-YHJRKGJD.mjs.br +0 -0
  61. package/dist/chunk-YHJRKGJD.mjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ 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.30.3](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.30.3) - 2026-10-08
11
+
12
+ ### Bug Fixes
13
+
14
+ - **ui:** Keep table resize handles off merged cells ([e8b99ee](https://github.com/ChristopherVR/ooxml/commit/e8b99ee588ecd856fd4f201a96262c4a62637aef))
15
+
16
+ ### Documentation
17
+
18
+ - Refresh the readmes with webp images and the office suite ([6a800d0](https://github.com/ChristopherVR/ooxml/commit/6a800d062bc911d6c4ea682bdbffa7fc437d1556))
19
+
10
20
  ## [4.30.2](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.30.2) - 2026-10-08
11
21
 
12
22
  ### Bug Fixes
package/README.md CHANGED
@@ -6,12 +6,14 @@
6
6
 
7
7
  > A drop-in **React** component that turns a `.pptx` file into a fully interactive PowerPoint: **view, edit, present, collaborate, and export**, entirely in the browser.
8
8
 
9
- ![Selecting, dragging, and resizing a slide element in the React demo](https://raw.githubusercontent.com/ChristopherVR/ooxml/main/viewers/pptx/.github/assets/packages/react-demo.gif)
9
+ ![Selecting, dragging, and resizing a slide element in the React demo](https://raw.githubusercontent.com/ChristopherVR/ooxml/main/viewers/pptx/.github/assets/packages/react-demo.webp)
10
10
 
11
11
  Slides render with real **HTML/CSS** (not `<canvas>`), so text stays crisp at any zoom, is selectable and screen-reader accessible, and every element is directly editable. The parsing/editing engine ([`pptx-viewer-core`](https://www.npmjs.com/package/pptx-viewer-core)) is **bundled in**, so you install just one package.
12
12
 
13
13
  <samp>**[▶️ Try the live demo](https://christophervr.github.io/ooxml/pptx/demo/)** · **[📦 npm](https://www.npmjs.com/package/pptx-react-viewer)** · **[📖 Full docs](https://christophervr.github.io/ooxml/pptx/)** · **[🧩 Core SDK](https://www.npmjs.com/package/pptx-viewer-core)**</samp>
14
14
 
15
+ Part of [ooxml](https://github.com/ChristopherVR/ooxml#readme): [Office](https://github.com/ChristopherVR/ooxml#ooxml-office-the-whole-suite-in-one-app) &middot; [Word](https://github.com/ChristopherVR/ooxml/tree/main/viewers/docx#readme) &middot; [Excel](https://github.com/ChristopherVR/ooxml/tree/main/viewers/xlsx#readme) &middot; **[PowerPoint](https://github.com/ChristopherVR/ooxml/tree/main/viewers/pptx#readme)** &middot; [Visio](https://github.com/ChristopherVR/ooxml/tree/main/viewers/visio#readme) &middot; [OpenTeams](https://github.com/ChristopherVR/ooxml/tree/main/viewers/teams#readme) &middot; [Core](https://github.com/ChristopherVR/ooxml/tree/main/src/core#readme)
16
+
15
17
  ---
16
18
 
17
19
  ## Install
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXRFJ7TAF_js = require('./chunk-XRFJ7TAF.js');
3
+ var chunkQO2AMZPA_js = require('./chunk-QO2AMZPA.js');
4
4
  require('./chunk-DFFCFNK2.js');
5
5
  var react = require('react');
6
6
  var reactI18next = require('react-i18next');
@@ -365,7 +365,7 @@ function AiComposer({
365
365
  disabled: value.trim().length === 0,
366
366
  title: t("pptx.ai.send"),
367
367
  "aria-label": t("pptx.ai.send"),
368
- className: chunkXRFJ7TAF_js.cn(
368
+ className: chunkQO2AMZPA_js.cn(
369
369
  "shrink-0 rounded-sm p-1.5 transition-colors",
370
370
  value.trim().length === 0 ? "text-muted-foreground/50" : "bg-primary text-primary-foreground hover:bg-primary/90"
371
371
  ),
@@ -396,7 +396,7 @@ function AiFocusBar({
396
396
  chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
397
397
  "span",
398
398
  {
399
- className: chunkXRFJ7TAF_js.cn(
399
+ className: chunkQO2AMZPA_js.cn(
400
400
  "inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
401
401
  hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
402
402
  ),
@@ -433,7 +433,7 @@ function AiFocusBar({
433
433
  title: t("pptx.ai.pickElement"),
434
434
  "aria-label": t("pptx.ai.pickAria"),
435
435
  "aria-pressed": pickMode,
436
- className: chunkXRFJ7TAF_js.cn(
436
+ className: chunkQO2AMZPA_js.cn(
437
437
  "rounded-sm p-1 max-md:min-w-[44px]! max-md:min-h-[44px]! flex items-center justify-center",
438
438
  pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
439
439
  ),
@@ -512,7 +512,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
512
512
  {
513
513
  type: "button",
514
514
  onClick: () => onResume(chat.id),
515
- className: chunkXRFJ7TAF_js.cn(
515
+ className: chunkQO2AMZPA_js.cn(
516
516
  "flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
517
517
  chat.id === activeChatId && "bg-accent/60"
518
518
  ),
@@ -676,17 +676,17 @@ function AiToolCallCard({ part }) {
676
676
  /* @__PURE__ */ jsxRuntime.jsx(
677
677
  Icon,
678
678
  {
679
- className: chunkXRFJ7TAF_js.cn(
679
+ className: chunkQO2AMZPA_js.cn(
680
680
  "w-3.5 h-3.5 shrink-0",
681
681
  failed ? "text-destructive" : "text-muted-foreground"
682
682
  )
683
683
  }
684
684
  ),
685
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkXRFJ7TAF_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
685
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkQO2AMZPA_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
686
686
  /* @__PURE__ */ jsxRuntime.jsxs(
687
687
  "span",
688
688
  {
689
- className: chunkXRFJ7TAF_js.cn(
689
+ className: chunkQO2AMZPA_js.cn(
690
690
  "ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
691
691
  failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
692
692
  ),
@@ -734,7 +734,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
734
734
  /* @__PURE__ */ jsxRuntime.jsx(
735
735
  "div",
736
736
  {
737
- className: chunkXRFJ7TAF_js.cn(
737
+ className: chunkQO2AMZPA_js.cn(
738
738
  "mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
739
739
  isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
740
740
  ),
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-ATGP75C4.mjs';
1
+ import { cn } from './chunk-IS76G64B.mjs';
2
2
  import './chunk-GDQSMJQZ.mjs';
3
3
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
4
4
  import { useTranslation } from 'react-i18next';
Binary file
Binary file