pptx-vanilla-viewer 3.76.0 → 3.76.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/dist/styles.css CHANGED
@@ -4970,9 +4970,17 @@ svg[data-pptx-motion-path-overlay] [data-pptx-motion-path-handle] { pointer-even
4970
4970
  [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-ribbon-group="home.clipboard"] [data-stack] { gap: 0; }
4971
4971
  [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-ribbon-group="home.clipboard"] [data-stack] > button { height: 22px; min-height: 22px; justify-content: flex-start; }
4972
4972
 
4973
- /* Drawing: Shapes, Arrange and Quick Styles stand tall; Fill, Outline and Effects stack beside them. */
4973
+ /* Drawing: Shapes, Arrange and Quick Styles stand tall; Fill, Outline and Effects stack beside them.
4974
+ A grid, not a wrapping flex column: Safari and Firefox size a column-wrap flex container as
4975
+ one column wide, so the wrapped Fill column spilled over the Editing group there. */
4974
4976
  [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-ribbon-group="home.drawing"] [data-pptx-chrome="drawing-controls"] {
4975
- flex-direction: column; flex-wrap: wrap; align-content: flex-start; align-items: stretch; gap: 0 2px; height: 66px; max-height: 66px;
4977
+ display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, 22px); grid-auto-columns: max-content;
4978
+ justify-content: start; align-content: start; align-items: stretch; gap: 0 2px; height: 66px; max-height: 66px;
4979
+ }
4980
+ [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-pptx-chrome="drawing-controls"] :is([data-ribbon-control="home.drawing.shapes"], [data-ribbon-control="home.drawing.arrange"], [data-ribbon-control="home.drawing.quickStyles"]) { grid-row: 1 / -1; }
4981
+ /* A collapsed Drawing group's popup keeps the grid (the popup rule forces flex with !important). */
4982
+ [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-ribbon-group="home.drawing"][data-collapsed][data-open]:not(pptx-ui-ribbon-group) > [data-pptx-chrome="drawing-controls"][data-pptx-chrome][data-pptx-chrome][data-pptx-chrome] {
4983
+ display: grid !important; height: auto; max-height: none;
4976
4984
  }
4977
4985
  [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-pptx-chrome="drawing-controls"] [data-pptx-chrome="ribbon-inline-label"] { display: none; }
4978
4986
  [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-pptx-chrome="drawing-controls"] [data-ribbon-control="home.drawing.shapes"] { order: 1; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-vanilla-viewer",
3
- "version": "3.76.0",
3
+ "version": "3.76.2",
4
4
  "description": "pptx-viewer for vanilla JS: a zero-framework PowerPoint viewer and editor to render, edit, present, and export PPTX slides with plain DOM, no React/Vue/Angular required.",
5
5
  "keywords": [
6
6
  "javascript",
@@ -112,8 +112,8 @@
112
112
  "jspdf": "^4.2.1",
113
113
  "jszip": "^3.10.2",
114
114
  "lucide": "^1.69.0",
115
- "ooxml-core": "^1.50.0",
116
- "ooxml-ui": "^1.51.0",
115
+ "ooxml-core": "^1.50.2",
116
+ "ooxml-ui": "^1.51.1",
117
117
  "opentype.js": "^2.0.0"
118
118
  },
119
119
  "devDependencies": {