pptx-react-viewer 4.47.0 → 4.48.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 +27 -0
  2. package/dist/{AiChatPanel-6S4LWXGM.mjs → AiChatPanel-NKTBHT5B.mjs} +1 -1
  3. package/dist/AiChatPanel-NKTBHT5B.mjs.br +0 -0
  4. package/dist/AiChatPanel-NKTBHT5B.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-IEM43TTZ.js → AiChatPanel-S4WNQCY4.js} +9 -9
  6. package/dist/AiChatPanel-S4WNQCY4.js.br +0 -0
  7. package/dist/AiChatPanel-S4WNQCY4.js.gz +0 -0
  8. package/dist/{chunk-SSANGQ35.js → chunk-5FAX7F3O.js} +1349 -1347
  9. package/dist/chunk-5FAX7F3O.js.br +0 -0
  10. package/dist/chunk-5FAX7F3O.js.gz +0 -0
  11. package/dist/{chunk-OWZSRPAH.mjs → chunk-H7JRMKYC.mjs} +85 -83
  12. package/dist/chunk-H7JRMKYC.mjs.br +0 -0
  13. package/dist/chunk-H7JRMKYC.mjs.gz +0 -0
  14. package/dist/{chunk-MA2BI7LX.js → chunk-JAI42EXQ.js} +0 -4
  15. package/dist/chunk-JAI42EXQ.js.br +0 -0
  16. package/dist/{chunk-MA2BI7LX.js.gz → chunk-JAI42EXQ.js.gz} +0 -0
  17. package/dist/{chunk-HDOR67HF.mjs → chunk-JHQHAO43.mjs} +53 -50
  18. package/dist/chunk-JHQHAO43.mjs.br +0 -0
  19. package/dist/chunk-JHQHAO43.mjs.gz +0 -0
  20. package/dist/{chunk-MRSGNERC.js → chunk-JKZNL6HP.js} +245 -242
  21. package/dist/chunk-JKZNL6HP.js.br +0 -0
  22. package/dist/chunk-JKZNL6HP.js.gz +0 -0
  23. package/dist/{chunk-BVQSH5SS.mjs → chunk-PFV626ED.mjs} +1 -1
  24. package/dist/chunk-PFV626ED.mjs.br +0 -0
  25. package/dist/chunk-PFV626ED.mjs.gz +0 -0
  26. package/dist/index.js +24 -24
  27. package/dist/index.js.br +0 -0
  28. package/dist/index.js.gz +0 -0
  29. package/dist/index.mjs +3 -3
  30. package/dist/index.mjs.br +0 -0
  31. package/dist/index.mjs.gz +0 -0
  32. package/dist/internals.d.ts +8 -1
  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/pptx-viewer.css +1 -1
  40. package/dist/pptx-viewer.css.br +0 -0
  41. package/dist/pptx-viewer.css.gz +0 -0
  42. package/dist/viewer/index.js +19 -19
  43. package/dist/viewer/index.js.br +0 -0
  44. package/dist/viewer/index.js.gz +0 -0
  45. package/dist/viewer/index.mjs +3 -3
  46. package/dist/viewer/index.mjs.br +0 -0
  47. package/dist/viewer/index.mjs.gz +0 -0
  48. package/package.json +3 -3
  49. package/dist/AiChatPanel-6S4LWXGM.mjs.br +0 -0
  50. package/dist/AiChatPanel-6S4LWXGM.mjs.gz +0 -0
  51. package/dist/AiChatPanel-IEM43TTZ.js.br +0 -0
  52. package/dist/AiChatPanel-IEM43TTZ.js.gz +0 -0
  53. package/dist/chunk-BVQSH5SS.mjs.br +0 -0
  54. package/dist/chunk-BVQSH5SS.mjs.gz +0 -0
  55. package/dist/chunk-HDOR67HF.mjs.br +0 -0
  56. package/dist/chunk-HDOR67HF.mjs.gz +0 -0
  57. package/dist/chunk-MA2BI7LX.js.br +0 -0
  58. package/dist/chunk-MRSGNERC.js.br +0 -0
  59. package/dist/chunk-MRSGNERC.js.gz +0 -0
  60. package/dist/chunk-OWZSRPAH.mjs.br +0 -0
  61. package/dist/chunk-OWZSRPAH.mjs.gz +0 -0
  62. package/dist/chunk-SSANGQ35.js.br +0 -0
  63. package/dist/chunk-SSANGQ35.js.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,33 @@ 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.48.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.48.0) - 2026-10-22
11
+
12
+ ### Features
13
+
14
+ - **ui:** Move the pptx inspector Quick Styles onto the shared gallery ([#168](https://github.com/ChristopherVR/ooxml/issues/168)) ([978fdbd](https://github.com/ChristopherVR/ooxml/commit/978fdbdb82335f24a0496ba1bf1152a7018cee63))
15
+ - **ui:** Build the pptx status bar state in one place ([#169](https://github.com/ChristopherVR/ooxml/issues/169)) ([0af0608](https://github.com/ChristopherVR/ooxml/commit/0af06085a54134ef3679d66f3319c50d8527a960))
16
+
17
+ ### Bug Fixes
18
+
19
+ - **ui:** Paint the morph overlay in one stacking order ([9f5a11f](https://github.com/ChristopherVR/ooxml/commit/9f5a11fa15c3c31eb06551decda93b96b7841b94))
20
+ - **react:** Paint the leaving slide over its own layout in transitions ([82ecd24](https://github.com/ChristopherVR/ooxml/commit/82ecd240b86497af6817681527edc2372b147155))
21
+
22
+ ### Testing
23
+
24
+ - **pptx:** Cover the stroked clip widening in every binding ([0c29435](https://github.com/ChristopherVR/ooxml/commit/0c2943500ac3026066aa699d26ed758bca2891bd))
25
+
26
+ ## [4.47.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.47.1) - 2026-10-22
27
+
28
+ ### Bug Fixes
29
+
30
+ - **ui:** Fit the pptx slide to sub-pixel viewport sizes ([#165](https://github.com/ChristopherVR/ooxml/issues/165)) ([d09a71d](https://github.com/ChristopherVR/ooxml/commit/d09a71d1e478eebc28edec2af309e7f4b0a69dbb))
31
+ - **pptx:** Inject the .ppt svg rasteriser and move it to pptx/node ([be73b10](https://github.com/ChristopherVR/ooxml/commit/be73b10464c4629ebffa86d631b086e46a42fbe3))
32
+
33
+ ### Performance
34
+
35
+ - **pptx:** Share workers in the react 18 test leg ([34507aa](https://github.com/ChristopherVR/ooxml/commit/34507aa95cb689418d6c7e755d32b592a912ec27))
36
+
10
37
  ## [4.47.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.47.0) - 2026-10-22
11
38
 
12
39
  ### Features
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-BVQSH5SS.mjs';
1
+ import { cn } from './chunk-PFV626ED.mjs';
2
2
  import './chunk-UV2HVMKZ.mjs';
3
3
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
4
4
  import { useTranslation } from 'react-i18next';
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkMA2BI7LX_js = require('./chunk-MA2BI7LX.js');
3
+ var chunkJAI42EXQ_js = require('./chunk-JAI42EXQ.js');
4
4
  require('./chunk-PIRHQTI4.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: chunkMA2BI7LX_js.cn(
368
+ className: chunkJAI42EXQ_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: chunkMA2BI7LX_js.cn(
399
+ className: chunkJAI42EXQ_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: chunkMA2BI7LX_js.cn(
436
+ className: chunkJAI42EXQ_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: chunkMA2BI7LX_js.cn(
515
+ className: chunkJAI42EXQ_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: chunkMA2BI7LX_js.cn(
679
+ className: chunkJAI42EXQ_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: chunkMA2BI7LX_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
685
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkJAI42EXQ_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
686
686
  /* @__PURE__ */ jsxRuntime.jsxs(
687
687
  "span",
688
688
  {
689
- className: chunkMA2BI7LX_js.cn(
689
+ className: chunkJAI42EXQ_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: chunkMA2BI7LX_js.cn(
737
+ className: chunkJAI42EXQ_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