pptx-vanilla-viewer 3.48.0 → 3.49.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/CHANGELOG.md +21 -0
- package/dist/index.cjs +126 -222
- package/dist/index.d.ts +63 -82
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +122 -218
- package/dist/styles.css +2 -98
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1725,24 +1725,8 @@
|
|
|
1725
1725
|
.pptxv-dropdown-item:hover { background: var(--_pptx-accent); color: var(--_pptx-accent-foreground); }
|
|
1726
1726
|
.pptxv-dropdown-item.is-selected { font-weight: 600; color: var(--_pptx-primary); }
|
|
1727
1727
|
|
|
1728
|
-
/*
|
|
1729
|
-
|
|
1730
|
-
.pptxv-swatch-trigger { flex-direction: column; height: 28px; padding: 2px 6px; gap: 0; }
|
|
1731
|
-
.pptxv-swatch-swab { display: block; width: 16px; height: 3px; border-radius: 1px; margin-top: 1px; }
|
|
1732
|
-
.pptxv-swatch-menu {
|
|
1733
|
-
/* Positioned by attachAnchoredPopup (position: fixed + inline top/left),
|
|
1734
|
-
which escapes the ribbon row's overflow-x clip (issue #183). */
|
|
1735
|
-
z-index: 30;
|
|
1736
|
-
padding: 8px;
|
|
1737
|
-
border: 1px solid var(--_pptx-border);
|
|
1738
|
-
border-radius: var(--_pptx-radius);
|
|
1739
|
-
background: var(--_pptx-card);
|
|
1740
|
-
color: var(--_pptx-card-foreground);
|
|
1741
|
-
box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
|
|
1742
|
-
}
|
|
1743
|
-
.pptxv-swatch-menu[hidden] { display: none; }
|
|
1744
|
-
/* B6: "Recent colours" row (ui/recent-colors-row.ts), shared by the swatch
|
|
1745
|
-
picker's popup menu and the property inspector's colour inputs. */
|
|
1728
|
+
/* B6: "Recent colours" row (ui/recent-colors-row.ts) under the property
|
|
1729
|
+
inspector's colour inputs. */
|
|
1746
1730
|
.pptxv-recent-colors[hidden] { display: none; }
|
|
1747
1731
|
.pptxv-recent-colors-label {
|
|
1748
1732
|
margin-bottom: 4px;
|
|
@@ -1751,13 +1735,6 @@
|
|
|
1751
1735
|
text-transform: uppercase;
|
|
1752
1736
|
letter-spacing: 0.04em;
|
|
1753
1737
|
}
|
|
1754
|
-
.pptxv-swatch-standard-label {
|
|
1755
|
-
margin-bottom: 4px;
|
|
1756
|
-
color: var(--_pptx-muted-foreground);
|
|
1757
|
-
font-size: 10px;
|
|
1758
|
-
text-transform: uppercase;
|
|
1759
|
-
letter-spacing: 0.04em;
|
|
1760
|
-
}
|
|
1761
1738
|
.pptxv-swatch-grid { display: grid; grid-template-columns: repeat(5, 20px); gap: 4px; margin-bottom: 6px; }
|
|
1762
1739
|
.pptxv-swatch {
|
|
1763
1740
|
width: 20px;
|
|
@@ -1768,25 +1745,6 @@
|
|
|
1768
1745
|
cursor: pointer;
|
|
1769
1746
|
}
|
|
1770
1747
|
.pptxv-swatch:hover { transform: scale(1.15); }
|
|
1771
|
-
.pptxv-swatch.is-selected { outline: 2px solid var(--_pptx-ring); outline-offset: 1px; }
|
|
1772
|
-
.pptxv-swatch-custom {
|
|
1773
|
-
display: flex;
|
|
1774
|
-
align-items: center;
|
|
1775
|
-
justify-content: space-between;
|
|
1776
|
-
gap: 6px;
|
|
1777
|
-
font-size: 11px;
|
|
1778
|
-
color: var(--_pptx-muted-foreground);
|
|
1779
|
-
cursor: pointer;
|
|
1780
|
-
}
|
|
1781
|
-
.pptxv-swatch-custom-input {
|
|
1782
|
-
width: 20px;
|
|
1783
|
-
height: 20px;
|
|
1784
|
-
padding: 0;
|
|
1785
|
-
border: 1px solid var(--_pptx-border);
|
|
1786
|
-
border-radius: 4px;
|
|
1787
|
-
background: none;
|
|
1788
|
-
cursor: pointer;
|
|
1789
|
-
}
|
|
1790
1748
|
|
|
1791
1749
|
/* ── Find & Replace docked panel ─────────────────────────────────────── */
|
|
1792
1750
|
.pptxv-findreplace {
|
|
@@ -4666,60 +4624,6 @@ svg[data-pptx-motion-path-overlay] [data-pptx-motion-path-handle] { pointer-even
|
|
|
4666
4624
|
.pptxv-outline-view-input:read-only { cursor: default; }
|
|
4667
4625
|
|
|
4668
4626
|
|
|
4669
|
-
.pptxv-export-progress-backdrop {
|
|
4670
|
-
position: fixed;
|
|
4671
|
-
inset: 0;
|
|
4672
|
-
z-index: 1200;
|
|
4673
|
-
display: flex;
|
|
4674
|
-
align-items: center;
|
|
4675
|
-
justify-content: center;
|
|
4676
|
-
background: rgba(0, 0, 0, 0.6);
|
|
4677
|
-
backdrop-filter: blur(4px);
|
|
4678
|
-
}
|
|
4679
|
-
.pptxv-export-progress-panel {
|
|
4680
|
-
width: min(92vw, 384px);
|
|
4681
|
-
border: 1px solid var(--_pptx-border, #33334d);
|
|
4682
|
-
border-radius: calc(var(--_pptx-radius, 6px) + 6px);
|
|
4683
|
-
background: var(--_pptx-popover, #111827);
|
|
4684
|
-
color: var(--_pptx-popover-foreground, #f3f4f6);
|
|
4685
|
-
padding: 24px;
|
|
4686
|
-
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
|
|
4687
|
-
font-family: system-ui, sans-serif;
|
|
4688
|
-
}
|
|
4689
|
-
.pptxv-export-progress-panel h3 {
|
|
4690
|
-
margin: 0 0 16px;
|
|
4691
|
-
font-size: 14px;
|
|
4692
|
-
font-weight: 600;
|
|
4693
|
-
}
|
|
4694
|
-
.pptxv-export-progress-track {
|
|
4695
|
-
height: 10px;
|
|
4696
|
-
width: 100%;
|
|
4697
|
-
overflow: hidden;
|
|
4698
|
-
border-radius: 9999px;
|
|
4699
|
-
background: var(--_pptx-muted, #1f2937);
|
|
4700
|
-
margin-bottom: 12px;
|
|
4701
|
-
}
|
|
4702
|
-
.pptxv-export-progress-fill {
|
|
4703
|
-
height: 100%;
|
|
4704
|
-
border-radius: 9999px;
|
|
4705
|
-
background: var(--_pptx-primary, #6366f1);
|
|
4706
|
-
transition: width 0.3s ease-out;
|
|
4707
|
-
}
|
|
4708
|
-
.pptxv-export-progress-status {
|
|
4709
|
-
display: flex;
|
|
4710
|
-
align-items: center;
|
|
4711
|
-
justify-content: space-between;
|
|
4712
|
-
margin-bottom: 16px;
|
|
4713
|
-
font-size: 12px;
|
|
4714
|
-
color: var(--_pptx-muted-foreground, #94a3b8);
|
|
4715
|
-
}
|
|
4716
|
-
.pptxv-export-progress-pct { font-variant-numeric: tabular-nums; }
|
|
4717
|
-
.pptxv-export-progress-actions {
|
|
4718
|
-
display: flex;
|
|
4719
|
-
justify-content: flex-end;
|
|
4720
|
-
}
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
4627
|
.pptxv-sr-only {
|
|
4724
4628
|
position: absolute;
|
|
4725
4629
|
width: 1px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-vanilla-viewer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.49.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.24.
|
|
111
|
-
"ooxml-ui": "^1.
|
|
110
|
+
"ooxml-core": "^1.24.3",
|
|
111
|
+
"ooxml-ui": "^1.25.0",
|
|
112
112
|
"opentype.js": "^2.0.0"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|