pptx-vanilla-viewer 3.43.0 → 3.44.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.
package/dist/styles.css CHANGED
@@ -273,6 +273,9 @@
273
273
  cursor: pointer;
274
274
  }
275
275
  .pptxv-protected-view-enable:hover { background: #fde68a; }
276
+ /* The bar stays in the DOM and toggles "hidden", which its "display: flex" would
277
+ override on a host page without a preflight reset. */
278
+ .pptxv-protected-view[hidden] { display: none; }
276
279
 
277
280
  /* ── Body: thumbnail rail + viewport ─────────────────────────────────── */
278
281
  .pptxv-body { display: flex; flex: 1; min-height: 0; }
@@ -3662,10 +3665,9 @@ svg[data-pptx-motion-path-overlay] [data-pptx-motion-path-handle] { pointer-even
3662
3665
  no class of its own, so a touch-target fix here reaches all of them. */
3663
3666
  @media (max-width: 767px) {
3664
3667
  .pptxv-exhaustive-field-control { min-height: 44px; min-width: 44px; }
3665
- /* text-effects-controls.ts's own local field() helper (Transform warp
3666
- select, ...) carries no class of its own either; target it through its
3667
- section container. */
3668
- .pptxv-inspector-text-effects select,
3668
+ /* text-effects-controls.ts's own local field() helper carries no class of
3669
+ its own either; target it through its section container. (Its Transform
3670
+ gallery sizes its own tiles for touch.) */
3669
3671
  .pptxv-inspector-text-effects input {
3670
3672
  min-height: 44px;
3671
3673
  }
@@ -3764,23 +3766,8 @@ svg[data-pptx-motion-path-overlay] [data-pptx-motion-path-handle] { pointer-even
3764
3766
  .pptxv-inspector-table-structure input[type='number'] { width: 100%; }
3765
3767
 
3766
3768
  /* ── Theme Colors grid (ui/theme-color-swatch-grid.ts) ───────────────── */
3767
- .pptxv-theme-swatch-grid { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
3768
- .pptxv-theme-swatch-grid[hidden] { display: none; }
3769
- .pptxv-theme-swatch-grid-label { color: var(--_pptx-muted-foreground); font-size: 10px; }
3770
- .pptxv-theme-swatch-grid-rows { display: flex; flex-direction: column; gap: 2px; }
3771
- .pptxv-theme-swatch-grid-row { display: flex; gap: 2px; }
3772
- .pptxv-theme-swatch-grid-swatch,
3773
- .pptxv-theme-swatch-grid-empty { flex: none; width: 16px; height: 16px; }
3774
- .pptxv-theme-swatch-grid-swatch {
3775
- box-sizing: border-box;
3776
- padding: 0;
3777
- border: 1px solid var(--_pptx-border);
3778
- border-radius: 2px;
3779
- cursor: pointer;
3780
- }
3781
- .pptxv-theme-swatch-grid-swatch:hover:not(:disabled) { transform: scale(1.1); }
3782
- .pptxv-theme-swatch-grid-swatch:disabled { opacity: 0.4; cursor: not-allowed; }
3783
- .pptxv-theme-swatch-grid-swatch.is-selected { outline: 2px solid var(--_pptx-ring); outline-offset: 1px; }
3769
+ /* The grid itself is the shared pptx-ui-color-grid; only its spacing is host-owned. */
3770
+ .pptxv-theme-swatch-grid { margin-top: 4px; }
3784
3771
 
3785
3772
 
3786
3773
  /* ── Media ───────────────────────────────────────────────────────────── */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-vanilla-viewer",
3
- "version": "3.43.0",
3
+ "version": "3.44.0",
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",
@@ -107,8 +107,8 @@
107
107
  "jspdf": "^4.2.1",
108
108
  "jszip": "^3.10.2",
109
109
  "lucide": "^1.57.0",
110
- "ooxml-core": "^1.20.0",
111
- "ooxml-ui": "^1.19.0",
110
+ "ooxml-core": "^1.21.0",
111
+ "ooxml-ui": "^1.20.0",
112
112
  "opentype.js": "^2.0.0"
113
113
  },
114
114
  "devDependencies": {