pptx-react-viewer 4.43.0 → 4.45.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 (63) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/{AiChatPanel-VI2IQ7XU.js → AiChatPanel-TGZQBH3L.js} +9 -9
  3. package/dist/AiChatPanel-TGZQBH3L.js.br +0 -0
  4. package/dist/AiChatPanel-TGZQBH3L.js.gz +0 -0
  5. package/dist/{AiChatPanel-R5UTSMXU.mjs → AiChatPanel-Z5VHI4WA.mjs} +1 -1
  6. package/dist/AiChatPanel-Z5VHI4WA.mjs.br +0 -0
  7. package/dist/AiChatPanel-Z5VHI4WA.mjs.gz +0 -0
  8. package/dist/{chunk-GLWV52C6.js → chunk-2YCROYR6.js} +333 -263
  9. package/dist/chunk-2YCROYR6.js.br +0 -0
  10. package/dist/chunk-2YCROYR6.js.gz +0 -0
  11. package/dist/{chunk-UACDKMXF.mjs → chunk-66APV3YZ.mjs} +91 -21
  12. package/dist/chunk-66APV3YZ.mjs.br +0 -0
  13. package/dist/chunk-66APV3YZ.mjs.gz +0 -0
  14. package/dist/{chunk-3LIHPZKS.mjs → chunk-FBN7UFW2.mjs} +15 -9
  15. package/dist/chunk-FBN7UFW2.mjs.br +0 -0
  16. package/dist/chunk-FBN7UFW2.mjs.gz +0 -0
  17. package/dist/{chunk-CHPELGQD.js → chunk-KUQRWMIK.js} +1455 -1434
  18. package/dist/chunk-KUQRWMIK.js.br +0 -0
  19. package/dist/chunk-KUQRWMIK.js.gz +0 -0
  20. package/dist/{chunk-FKY33ZKL.js → chunk-VJZJESNT.js} +14 -8
  21. package/dist/chunk-VJZJESNT.js.br +0 -0
  22. package/dist/chunk-VJZJESNT.js.gz +0 -0
  23. package/dist/{chunk-ITV63NJ5.mjs → chunk-VUE3EPTJ.mjs} +148 -127
  24. package/dist/chunk-VUE3EPTJ.mjs.br +0 -0
  25. package/dist/chunk-VUE3EPTJ.mjs.gz +0 -0
  26. package/dist/index.d.ts +21 -3
  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.d.ts +12 -3
  34. package/dist/internals.js +81 -81
  35. package/dist/internals.js.br +0 -0
  36. package/dist/internals.js.gz +0 -0
  37. package/dist/internals.mjs +2 -2
  38. package/dist/internals.mjs.br +0 -0
  39. package/dist/internals.mjs.gz +0 -0
  40. package/dist/viewer/index.d.ts +14 -3
  41. package/dist/viewer/index.js +19 -19
  42. package/dist/viewer/index.js.br +0 -0
  43. package/dist/viewer/index.js.gz +0 -0
  44. package/dist/viewer/index.mjs +3 -3
  45. package/dist/viewer/index.mjs.br +0 -0
  46. package/dist/viewer/index.mjs.gz +0 -0
  47. package/package.json +3 -3
  48. package/dist/AiChatPanel-R5UTSMXU.mjs.br +0 -0
  49. package/dist/AiChatPanel-R5UTSMXU.mjs.gz +0 -0
  50. package/dist/AiChatPanel-VI2IQ7XU.js.br +0 -0
  51. package/dist/AiChatPanel-VI2IQ7XU.js.gz +0 -0
  52. package/dist/chunk-3LIHPZKS.mjs.br +0 -0
  53. package/dist/chunk-3LIHPZKS.mjs.gz +0 -0
  54. package/dist/chunk-CHPELGQD.js.br +0 -0
  55. package/dist/chunk-CHPELGQD.js.gz +0 -0
  56. package/dist/chunk-FKY33ZKL.js.br +0 -0
  57. package/dist/chunk-FKY33ZKL.js.gz +0 -0
  58. package/dist/chunk-GLWV52C6.js.br +0 -0
  59. package/dist/chunk-GLWV52C6.js.gz +0 -0
  60. package/dist/chunk-ITV63NJ5.mjs.br +0 -0
  61. package/dist/chunk-ITV63NJ5.mjs.gz +0 -0
  62. package/dist/chunk-UACDKMXF.mjs.br +0 -0
  63. package/dist/chunk-UACDKMXF.mjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,58 @@ 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.45.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.45.0) - 2026-10-22
11
+
12
+ ### Features
13
+
14
+ - **automation:** Define word, excel and visio tools once in core ([bed1839](https://github.com/ChristopherVR/ooxml/commit/bed18392fec1f07fa9a0c1eabf8a7c1bb25b0387))
15
+ - **pptx:** Report the shared collaboration state from every binding ([62752ef](https://github.com/ChristopherVR/ooxml/commit/62752efd7b2f9df8372db485cd23c2a6ed5f15ee))
16
+ - **react:** Open useViewerBuildingBlocks on an initial slide ([#158](https://github.com/ChristopherVR/ooxml/issues/158)) ([b750d32](https://github.com/ChristopherVR/ooxml/commit/b750d321ecd556c5c0813eec29c45506227c0597))
17
+ - **automation:** Propose xlsx edits as a reviewable diff ([0e13837](https://github.com/ChristopherVR/ooxml/commit/0e13837c6fdf0766e21aa8a31ef69737df8ab203))
18
+ - **automation:** Add xlsx_propose_edits and xlsx_apply_proposal tools ([8c7500d](https://github.com/ChristopherVR/ooxml/commit/8c7500df317f1cffa3016705369e52b0a5ad0218))
19
+ - **pptx:** Define the powerpoint tools as shared automation tools ([88acafd](https://github.com/ChristopherVR/ooxml/commit/88acafd82419de2cefbebd4b91b935c378f8c772))
20
+ - **pptx:** Connect through a provider, webrtc or same-browser room ([4ae5288](https://github.com/ChristopherVR/ooxml/commit/4ae528882a33ec93730f30bf642589a00b6edf06))
21
+
22
+ ### Bug Fixes
23
+
24
+ - **pptx:** Render flowChart connector presets as shapes, not lines ([978593a](https://github.com/ChristopherVR/ooxml/commit/978593a0d0067d97105fd98b8d640dc929ec9f2b))
25
+ - **pptx:** Paint picture fills inherited from layout placeholders ([71b8196](https://github.com/ChristopherVR/ooxml/commit/71b81964ca4b19ef9cc143fa970479614426bd9d))
26
+
27
+ ## [4.44.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.44.0) - 2026-10-21
28
+
29
+ ### Features
30
+
31
+ - **opc:** Name the check a zip package failed ([5125361](https://github.com/ChristopherVR/ooxml/commit/5125361f7787c1edf9863ccf85d0666a56610d1b))
32
+ - **xml:** Throw a typed error when a part breaks a parse limit ([40e73f6](https://github.com/ChristopherVR/ooxml/commit/40e73f6e0ddb045ef5a3b960e26cfc07a1fc6d45))
33
+ - **automation:** List and fill Word form fields from document bytes ([548ca2d](https://github.com/ChristopherVR/ooxml/commit/548ca2d53b2828bc69681e154e8bd668cfacf90b))
34
+
35
+ ### Bug Fixes
36
+
37
+ - **react:** Render sorter and section menu rows without wrappers ([25e54e8](https://github.com/ChristopherVR/ooxml/commit/25e54e8a23b7c0740de3f8bd91b23f2ece94e747))
38
+ - **chart:** Scale and draw series with very many points ([778a3e9](https://github.com/ChristopherVR/ooxml/commit/778a3e973b5d948e15ef2d0de6ac70a4243feb5a))
39
+ - **docx:** Add no folder entries to a saved package ([9688c30](https://github.com/ChristopherVR/ooxml/commit/9688c30da93a3a73436a248b59b5a64d71fc7585))
40
+ - **xml:** Keep the line break after the declaration of a part ([9af3e23](https://github.com/ChristopherVR/ooxml/commit/9af3e23b3c33368027123f1363c9d1236cc8230e))
41
+ - **docx:** Keep markers and smart tags in place in a rebuilt paragraph ([8ddce70](https://github.com/ChristopherVR/ooxml/commit/8ddce70d17ba25ff6a1887f91c907ecba70a9b1f))
42
+ - **text:** Keep unchanged words between far-apart edits in a diff ([3cf0b04](https://github.com/ChristopherVR/ooxml/commit/3cf0b0495a5c3c2d339b22c5db2b547c14921fbd))
43
+ - **pptx:** Render weight-named font families at their weight ([7188288](https://github.com/ChristopherVR/ooxml/commit/718828829585145b461742c04e030fe3fbbd2d52))
44
+ - **pptx:** Render style-named font families in their style ([5413be6](https://github.com/ChristopherVR/ooxml/commit/5413be6b74a6409c8a2f1454e1a1cf4c4f1b8ba8))
45
+ - **color:** Require each palette variant to name its step ([70d7d9a](https://github.com/ChristopherVR/ooxml/commit/70d7d9a949e9dc5289bacf33bf63bd9af4c9f258))
46
+ - **color:** Require each palette variant to name its step ([3135862](https://github.com/ChristopherVR/ooxml/commit/3135862978fd352498d977335777555ba519428a))
47
+ - **pptx:** Render flowChart connector presets as shapes, not lines ([08399ae](https://github.com/ChristopherVR/ooxml/commit/08399aea49db3270d6ef9c9c163c0ea3b6f8e23f))
48
+ - **pptx:** Paint picture fills inherited from layout placeholders ([70bf7f9](https://github.com/ChristopherVR/ooxml/commit/70bf7f91beda9ae8e4d70472134222afc873dc68))
49
+ - **pptx:** Do not clip stroked shapes in the react static renderer ([dca0420](https://github.com/ChristopherVR/ooxml/commit/dca0420ebead89696ac83316de890e786188b101))
50
+
51
+ ### Refactor
52
+
53
+ - **react:** Render Help and Record through the shared section ([db59aa2](https://github.com/ChristopherVR/ooxml/commit/db59aa2e38349eb27869b94cfb73368383cc2d36))
54
+ - **react:** Draw the inspector theme colours on the shared grid ([5478038](https://github.com/ChristopherVR/ooxml/commit/5478038fb6737698c4f4535405733acf795d2308))
55
+ - **react:** Draw the inspector Text Warp on the shared gallery ([fd2f582](https://github.com/ChristopherVR/ooxml/commit/fd2f5821475715f120a5ff802df714112fbda4aa))
56
+
57
+ ### Testing
58
+
59
+ - **react:** Mount the Help tab to read its command names ([fdc1df3](https://github.com/ChristopherVR/ooxml/commit/fdc1df3ee2e806c6d1a46304ec077a9f3ecb7630))
60
+ - **pptx:** Follow the cover direction fix in react and angular ([bb9f936](https://github.com/ChristopherVR/ooxml/commit/bb9f93638997cb8cef29f2eb4488e9b4e8f2a14f))
61
+
10
62
  ## [4.43.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.43.0) - 2026-10-21
11
63
 
12
64
  ### Features
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkFKY33ZKL_js = require('./chunk-FKY33ZKL.js');
3
+ var chunkVJZJESNT_js = require('./chunk-VJZJESNT.js');
4
4
  require('./chunk-W2IMY5SY.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: chunkFKY33ZKL_js.cn(
368
+ className: chunkVJZJESNT_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: chunkFKY33ZKL_js.cn(
399
+ className: chunkVJZJESNT_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: chunkFKY33ZKL_js.cn(
436
+ className: chunkVJZJESNT_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: chunkFKY33ZKL_js.cn(
515
+ className: chunkVJZJESNT_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: chunkFKY33ZKL_js.cn(
679
+ className: chunkVJZJESNT_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: chunkFKY33ZKL_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
685
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkVJZJESNT_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
686
686
  /* @__PURE__ */ jsxRuntime.jsxs(
687
687
  "span",
688
688
  {
689
- className: chunkFKY33ZKL_js.cn(
689
+ className: chunkVJZJESNT_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: chunkFKY33ZKL_js.cn(
737
+ className: chunkVJZJESNT_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-3LIHPZKS.mjs';
1
+ import { cn } from './chunk-FBN7UFW2.mjs';
2
2
  import './chunk-Q3DHYOLK.mjs';
3
3
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
4
4
  import { useTranslation } from 'react-i18next';
Binary file
Binary file