pptx-vanilla-viewer 3.75.0 → 3.76.1

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
@@ -900,9 +900,6 @@
900
900
  .pptxv.pptxv-presenting .pptxv-stage-wrap * { user-select: none; }
901
901
 
902
902
 
903
- /* Building blocks: elements holding the host find bar's matches (the current one solid). */
904
- .pptxv [data-pptx-find-match] { outline: 2px dashed var(--_pptx-primary); outline-offset: 2px; }
905
- .pptxv [data-pptx-find-match='current'] { outline-style: solid; }
906
903
  .pptxv-marquee { position: absolute; z-index: 4; border: 1px solid var(--_pptx-primary); background: color-mix(in srgb, var(--_pptx-primary) 14%, transparent); pointer-events: none; }
907
904
  /* --pptxv-grid-size is set inline on .pptxv-stage from the deck's authored
908
905
  viewProperties.gridSpacing (via computeGridSpacingPx); 10px matches this
@@ -4973,9 +4970,17 @@ svg[data-pptx-motion-path-overlay] [data-pptx-motion-path-handle] { pointer-even
4973
4970
  [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-ribbon-group="home.clipboard"] [data-stack] { gap: 0; }
4974
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; }
4975
4972
 
4976
- /* 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. */
4977
4976
  [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"][data-pptx-chrome] [data-ribbon-group="home.drawing"] [data-pptx-chrome="drawing-controls"] {
4978
- 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;
4979
4984
  }
4980
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; }
4981
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.75.0",
3
+ "version": "3.76.1",
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.50.0",
115
+ "ooxml-core": "^1.50.1",
116
+ "ooxml-ui": "^1.51.1",
117
117
  "opentype.js": "^2.0.0"
118
118
  },
119
119
  "devDependencies": {