pptx-react-viewer 4.33.1 → 4.33.2

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ 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.33.2](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.33.2) - 2026-10-13
11
+
12
+ ### Bug Fixes
13
+
14
+ - **ui:** Apply line spacing and indent over a paragraph's own a:pPr ([#62](https://github.com/ChristopherVR/ooxml/issues/62)) ([d8a24e6](https://github.com/ChristopherVR/ooxml/commit/d8a24e6740d773e4e4c49c8089f7ca4db20b3b3b))
15
+ - **ui:** Give a shape with no line a default width on outline colour ([#67](https://github.com/ChristopherVR/ooxml/issues/67)) ([2db8c24](https://github.com/ChristopherVR/ooxml/commit/2db8c2451264edc18a0c79d8a62fbd268fee6111))
16
+
17
+ ### Testing
18
+
19
+ - **ui:** Clear the text selection between test files ([abb829f](https://github.com/ChristopherVR/ooxml/commit/abb829f2e3a4e6ff0a99a9023012d1d3ad0d8b51))
20
+ - **pptx:** Isolate the raw-key inspector test and widen a perf margin ([e66aaec](https://github.com/ChristopherVR/ooxml/commit/e66aaec24adc0b68472eae1fc42aa4598e09c352))
21
+
10
22
  ## [4.33.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.33.1) - 2026-10-11
11
23
 
12
24
  ### Testing
@@ -1215,7 +1215,7 @@ function AccountPage() {
1215
1215
  return void 0;
1216
1216
  });
1217
1217
  };
1218
- const version = "4.33.1" ;
1218
+ const version = "4.33.2" ;
1219
1219
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
1220
1220
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: cardClass, children: [
1221
1221
  /* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -3477,7 +3477,7 @@ function DrawingGroup(p) {
3477
3477
  pushColor(String(value));
3478
3478
  break;
3479
3479
  case "home.drawing.shapeOutline":
3480
- onUpdateElementStyle?.(pptx.shapeOutlineChange(String(value), intent?.ref));
3480
+ onUpdateElementStyle?.(pptx.shapeOutlineChange(String(value), intent?.ref, style ?? {}));
3481
3481
  pushColor(String(value));
3482
3482
  break;
3483
3483
  default:
@@ -3496,7 +3496,8 @@ function DrawingGroup(p) {
3496
3496
  onAddShape,
3497
3497
  onUpdateElementStyle,
3498
3498
  pushColor,
3499
- commands
3499
+ commands,
3500
+ style
3500
3501
  ]
3501
3502
  );
3502
3503
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -22253,7 +22254,7 @@ function ShapeTextPanels({
22253
22254
  canEdit,
22254
22255
  onUpdateShapeStyle: onUpdateElementStyle,
22255
22256
  onSetFillColor: (hex, ref) => onUpdateElementStyle({ fillColor: hex, fillMode: "solid", fillColorRef: ref }),
22256
- onSetStrokeColor: (hex, ref) => onUpdateElementStyle({ strokeColor: hex, strokeColorRef: ref })
22257
+ onSetStrokeColor: (hex, ref) => onUpdateElementStyle(pptx.shapeOutlineChange(hex, ref, selectedElement.shapeStyle ?? {}))
22257
22258
  }
22258
22259
  )
22259
22260
  ] }),
Binary file
Binary file
@@ -1210,7 +1210,7 @@ function AccountPage() {
1210
1210
  return void 0;
1211
1211
  });
1212
1212
  };
1213
- const version = "4.33.1" ;
1213
+ const version = "4.33.2" ;
1214
1214
  return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
1215
1215
  /* @__PURE__ */ jsxs("section", { className: cardClass, children: [
1216
1216
  /* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -3472,7 +3472,7 @@ function DrawingGroup(p) {
3472
3472
  pushColor(String(value));
3473
3473
  break;
3474
3474
  case "home.drawing.shapeOutline":
3475
- onUpdateElementStyle?.(shapeOutlineChange(String(value), intent?.ref));
3475
+ onUpdateElementStyle?.(shapeOutlineChange(String(value), intent?.ref, style ?? {}));
3476
3476
  pushColor(String(value));
3477
3477
  break;
3478
3478
  default:
@@ -3491,7 +3491,8 @@ function DrawingGroup(p) {
3491
3491
  onAddShape,
3492
3492
  onUpdateElementStyle,
3493
3493
  pushColor,
3494
- commands
3494
+ commands,
3495
+ style
3495
3496
  ]
3496
3497
  );
3497
3498
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -22248,7 +22249,7 @@ function ShapeTextPanels({
22248
22249
  canEdit,
22249
22250
  onUpdateShapeStyle: onUpdateElementStyle,
22250
22251
  onSetFillColor: (hex, ref) => onUpdateElementStyle({ fillColor: hex, fillMode: "solid", fillColorRef: ref }),
22251
- onSetStrokeColor: (hex, ref) => onUpdateElementStyle({ strokeColor: hex, strokeColorRef: ref })
22252
+ onSetStrokeColor: (hex, ref) => onUpdateElementStyle(shapeOutlineChange(hex, ref, selectedElement.shapeStyle ?? {}))
22252
22253
  }
22253
22254
  )
22254
22255
  ] }),
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJHYNVFFS_js = require('./chunk-JHYNVFFS.js');
3
+ var chunkDJ32R6VM_js = require('./chunk-DJ32R6VM.js');
4
4
  var chunkTVSTM5J5_js = require('./chunk-TVSTM5J5.js');
5
5
  var chunk7DGKSEIU_js = require('./chunk-7DGKSEIU.js');
6
6
  require('./chunk-W2IMY5SY.js');
@@ -11,75 +11,75 @@ var i18n = require('ooxml-ui/pptx/i18n');
11
11
 
12
12
  Object.defineProperty(exports, "PowerPointViewer", {
13
13
  enumerable: true,
14
- get: function () { return chunkJHYNVFFS_js.PowerPointViewer; }
14
+ get: function () { return chunkDJ32R6VM_js.PowerPointViewer; }
15
15
  });
16
16
  Object.defineProperty(exports, "SlideCanvas", {
17
17
  enumerable: true,
18
- get: function () { return chunkJHYNVFFS_js.SlideCanvas; }
18
+ get: function () { return chunkDJ32R6VM_js.SlideCanvas; }
19
19
  });
20
20
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
21
21
  enumerable: true,
22
- get: function () { return chunkJHYNVFFS_js.SlideTemplateGalleryDialog; }
22
+ get: function () { return chunkDJ32R6VM_js.SlideTemplateGalleryDialog; }
23
23
  });
24
24
  Object.defineProperty(exports, "SlideTemplatePreview", {
25
25
  enumerable: true,
26
- get: function () { return chunkJHYNVFFS_js.SlideTemplatePreview; }
26
+ get: function () { return chunkDJ32R6VM_js.SlideTemplatePreview; }
27
27
  });
28
28
  Object.defineProperty(exports, "THEME_CATALOG", {
29
29
  enumerable: true,
30
- get: function () { return chunkJHYNVFFS_js.THEME_CATALOG; }
30
+ get: function () { return chunkDJ32R6VM_js.THEME_CATALOG; }
31
31
  });
32
32
  Object.defineProperty(exports, "Toolbar", {
33
33
  enumerable: true,
34
- get: function () { return chunkJHYNVFFS_js.Toolbar; }
34
+ get: function () { return chunkDJ32R6VM_js.Toolbar; }
35
35
  });
36
36
  Object.defineProperty(exports, "ViewerThemeProvider", {
37
37
  enumerable: true,
38
- get: function () { return chunkJHYNVFFS_js.ViewerThemeProvider; }
38
+ get: function () { return chunkDJ32R6VM_js.ViewerThemeProvider; }
39
39
  });
40
40
  Object.defineProperty(exports, "defaultCssVars", {
41
41
  enumerable: true,
42
- get: function () { return chunkJHYNVFFS_js.defaultCssVars; }
42
+ get: function () { return chunkDJ32R6VM_js.defaultCssVars; }
43
43
  });
44
44
  Object.defineProperty(exports, "defaultRadius", {
45
45
  enumerable: true,
46
- get: function () { return chunkJHYNVFFS_js.defaultRadius; }
46
+ get: function () { return chunkDJ32R6VM_js.defaultRadius; }
47
47
  });
48
48
  Object.defineProperty(exports, "defaultThemeColors", {
49
49
  enumerable: true,
50
- get: function () { return chunkJHYNVFFS_js.defaultThemeColors; }
50
+ get: function () { return chunkDJ32R6VM_js.defaultThemeColors; }
51
51
  });
52
52
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
53
53
  enumerable: true,
54
- get: function () { return chunkJHYNVFFS_js.resolveThemeCatalogEntry; }
54
+ get: function () { return chunkDJ32R6VM_js.resolveThemeCatalogEntry; }
55
55
  });
56
56
  Object.defineProperty(exports, "themeToCssVars", {
57
57
  enumerable: true,
58
- get: function () { return chunkJHYNVFFS_js.themeToCssVars; }
58
+ get: function () { return chunkDJ32R6VM_js.themeToCssVars; }
59
59
  });
60
60
  Object.defineProperty(exports, "useViewerTheme", {
61
61
  enumerable: true,
62
- get: function () { return chunkJHYNVFFS_js.useViewerTheme; }
62
+ get: function () { return chunkDJ32R6VM_js.useViewerTheme; }
63
63
  });
64
64
  Object.defineProperty(exports, "vermilionDarkColors", {
65
65
  enumerable: true,
66
- get: function () { return chunkJHYNVFFS_js.vermilionDarkColors; }
66
+ get: function () { return chunkDJ32R6VM_js.vermilionDarkColors; }
67
67
  });
68
68
  Object.defineProperty(exports, "vermilionDarkTheme", {
69
69
  enumerable: true,
70
- get: function () { return chunkJHYNVFFS_js.vermilionDarkTheme; }
70
+ get: function () { return chunkDJ32R6VM_js.vermilionDarkTheme; }
71
71
  });
72
72
  Object.defineProperty(exports, "vermilionLightColors", {
73
73
  enumerable: true,
74
- get: function () { return chunkJHYNVFFS_js.vermilionLightColors; }
74
+ get: function () { return chunkDJ32R6VM_js.vermilionLightColors; }
75
75
  });
76
76
  Object.defineProperty(exports, "vermilionLightTheme", {
77
77
  enumerable: true,
78
- get: function () { return chunkJHYNVFFS_js.vermilionLightTheme; }
78
+ get: function () { return chunkDJ32R6VM_js.vermilionLightTheme; }
79
79
  });
80
80
  Object.defineProperty(exports, "vermilionRadius", {
81
81
  enumerable: true,
82
- get: function () { return chunkJHYNVFFS_js.vermilionRadius; }
82
+ get: function () { return chunkDJ32R6VM_js.vermilionRadius; }
83
83
  });
84
84
  Object.defineProperty(exports, "renderToCanvas", {
85
85
  enumerable: true,
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-GSMY5BTO.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-P3ANCQX6.mjs';
2
2
  export { renderToCanvas, useViewerBuildingBlocks } from './chunk-2OIJUZD5.mjs';
3
3
  export { getAnimationInitialStyle } from './chunk-K4UXDQZ6.mjs';
4
4
  import './chunk-Q3DHYOLK.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJHYNVFFS_js = require('../chunk-JHYNVFFS.js');
3
+ var chunkDJ32R6VM_js = require('../chunk-DJ32R6VM.js');
4
4
  var chunkTVSTM5J5_js = require('../chunk-TVSTM5J5.js');
5
5
  var chunk7DGKSEIU_js = require('../chunk-7DGKSEIU.js');
6
6
  require('../chunk-W2IMY5SY.js');
@@ -10,15 +10,15 @@ var pptx = require('ooxml-ui/pptx');
10
10
 
11
11
  Object.defineProperty(exports, "CollaborationStatusIndicator", {
12
12
  enumerable: true,
13
- get: function () { return chunkJHYNVFFS_js.CollaborationStatusIndicator; }
13
+ get: function () { return chunkDJ32R6VM_js.CollaborationStatusIndicator; }
14
14
  });
15
15
  Object.defineProperty(exports, "PowerPointViewer", {
16
16
  enumerable: true,
17
- get: function () { return chunkJHYNVFFS_js.PowerPointViewer; }
17
+ get: function () { return chunkDJ32R6VM_js.PowerPointViewer; }
18
18
  });
19
19
  Object.defineProperty(exports, "UserAvatarBar", {
20
20
  enumerable: true,
21
- get: function () { return chunkJHYNVFFS_js.UserAvatarBar; }
21
+ get: function () { return chunkDJ32R6VM_js.UserAvatarBar; }
22
22
  });
23
23
  Object.defineProperty(exports, "CollaborationProvider", {
24
24
  enumerable: true,
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-GSMY5BTO.mjs';
1
+ export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-P3ANCQX6.mjs';
2
2
  export { CollaborationProvider, RemoteUserCursors, clearAudienceContent, isAudienceTab, loadAudienceContent, parseAudienceNonce, storeAudienceContent, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-2OIJUZD5.mjs';
3
3
  export { getAnimationInitialStyle } from '../chunk-K4UXDQZ6.mjs';
4
4
  import '../chunk-Q3DHYOLK.mjs';
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-react-viewer",
3
- "version": "4.33.1",
3
+ "version": "4.33.2",
4
4
  "description": "pptx-viewer for React: a PowerPoint viewer and editor component to render, edit, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "editor",
@@ -119,8 +119,8 @@
119
119
  "clsx": "^2.1.1",
120
120
  "dompurify": "^3.4.16",
121
121
  "html2canvas-pro": "^2.5.1",
122
- "ooxml-core": "^1.8.2",
123
- "ooxml-ui": "^1.8.3",
122
+ "ooxml-core": "^1.8.4",
123
+ "ooxml-ui": "^1.8.5",
124
124
  "opentype.js": "^2.0.0",
125
125
  "tailwind-merge": "^3.7.0"
126
126
  },
Binary file
Binary file
Binary file
Binary file