pptx-vanilla-viewer 0.10.0 → 0.12.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 CHANGED
@@ -4,6 +4,18 @@ All notable changes to this project are documented here.
4
4
  This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
5
5
  by [git-cliff](https://git-cliff.org); do not edit it by hand.
6
6
 
7
+ ## [0.11.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vanilla-viewer@0.11.0) - 2026-07-17
8
+
9
+ ### Features
10
+
11
+ - **vanilla:** Add hiddenActions option to hide individual toolbar/ribbon actions (by @ChristopherVR) ([2c6af54](https://github.com/ChristopherVR/pptx-viewer/commit/2c6af54d21ed93fa6b8151d7c5812cf37a3a8885))
12
+
13
+ ### Other
14
+
15
+ - Integrate release version bumps (by @ChristopherVR) ([4b3893f](https://github.com/ChristopherVR/pptx-viewer/commit/4b3893f4158803cc5533beb266ffdc8c776177cb))
16
+
17
+ ## [0.10.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vanilla-viewer@0.10.0) - 2026-07-17
18
+
7
19
  ## [0.9.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vanilla-viewer@0.9.1) - 2026-07-17
8
20
 
9
21
  ### Dependencies
package/README.md CHANGED
@@ -94,6 +94,32 @@ All chrome colors come from the shared `--pptx-*` CSS custom properties. Pass
94
94
  a `ViewerTheme` (`theme` option or `setTheme`) to override them; the
95
95
  `vermilionLightTheme` / `vermilionDarkTheme` presets are re-exported.
96
96
 
97
+ ## Toolbar customization
98
+
99
+ `showToolbar` hides the whole ribbon/title-bar/status-bar chrome; to hide
100
+ individual buttons or ribbon tabs instead, pass `hiddenActions`:
101
+
102
+ ```ts
103
+ const viewer = createPptxViewer(document.getElementById('host')!, {
104
+ source: '/decks/quarterly.pptx',
105
+ editable: true,
106
+ // Hide Share, the Broadcast action, and the whole Insert ribbon tab, while
107
+ // keeping every other button and tab visible.
108
+ hiddenActions: ['share', 'broadcast', 'insert'],
109
+ });
110
+ ```
111
+
112
+ Each id in `hiddenActions` hides a single quick-access button (`'share'`,
113
+ `'broadcast'`, `'export'`, `'undo'`, `'redo'`, `'notes'`, `'fullscreen'`), a
114
+ whole control cluster as a unit (`'zoom'` covers zoom in/out/fit, `'navigation'`
115
+ covers the presentation slide-show's prev/next controls), or a ribbon tab
116
+ (`'file'`, `'home'`, `'insert'`, `'draw'`, `'design'`, `'transitions'`,
117
+ `'animations'`, `'slideShow'`, `'record'`, `'review'`, `'view'`, `'help'`).
118
+ `'record'` hides both the quick-access Record control and the Record ribbon
119
+ tab, since they surface the same feature. Hidden actions are never built (not
120
+ just visually hidden), on desktop and mobile chrome alike. Omit the option (or
121
+ leave it `undefined`) to keep today's fully-visible default.
122
+
97
123
  ## Editing
98
124
 
99
125
  Pass `editable: true` (or call `setEditable(true)` at runtime) to turn on: