pptx-svelte-viewer 0.9.0 → 1.0.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.9.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@0.9.1) - 2026-07-17
8
+
9
+ ### Dependencies
10
+
11
+ - **deps:** Update outdated dependencies within semver ranges (by @ChristopherVR) ([3249d8e](https://github.com/ChristopherVR/pptx-viewer/commit/3249d8ecd53ea79089f87f942f2c88caae840466))
12
+
13
+ ## [0.9.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@0.9.0) - 2026-07-17
14
+
15
+ ### Features
16
+
17
+ - **file:** Use Lucide icons in Svelte and Vanilla (by @ChristopherVR) ([a956f1b](https://github.com/ChristopherVR/pptx-viewer/commit/a956f1ba7c05c949db517184cd0413cc0271b8dc))
18
+
7
19
  ## [0.8.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@0.8.1) - 2026-07-16
8
20
 
9
21
  ## [0.8.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@0.8.0) - 2026-07-16
package/README.md CHANGED
@@ -48,6 +48,15 @@ Requires Svelte 5 (runes) as a peer. The `pptx-viewer-core` engine is
48
48
  **bundled in**, so you don't install it separately unless you want to call
49
49
  the SDK directly.
50
50
 
51
+ Component styles ship as a real stylesheet, not runtime-injected CSS (which
52
+ proved unreliable in real SvelteKit apps: SSR, a strict CSP, or the host's own
53
+ global CSS could all cause it to silently not apply). Import it once at your
54
+ app entry:
55
+
56
+ ```ts
57
+ import 'pptx-svelte-viewer/styles';
58
+ ```
59
+
51
60
  ## Usage
52
61
 
53
62
  ```svelte
@@ -76,22 +85,23 @@ the SDK directly.
76
85
 
77
86
  ## Props
78
87
 
79
- | Prop | Type | Default | Description |
80
- | ---------------- | ------------------------------- | ------- | ------------------------------------------------- |
81
- | `source` | `Uint8Array \| ArrayBuffer` | - | Raw `.pptx` bytes. |
82
- | `theme` | `ViewerTheme` | - | Color/radius/CSS-var overrides. |
83
- | `locale` | `string` | `'en'` | UI locale (see `pptx-svelte-viewer/i18n`). |
84
- | `initialSlide` | `number` | `0` | Slide shown after load (0-based). |
85
- | `showThumbnails` | `boolean` | `true` | Thumbnail sidebar. |
86
- | `showToolbar` | `boolean` | `true` | Navigation/zoom/fullscreen toolbar. |
87
- | `showNotes` | `boolean` | `true` | Speaker-notes panel and its toolbar toggle. |
88
- | `editable` | `boolean` | `false` | Ribbon editing, insertion, arrange, and save. |
89
- | `smartArt3D` | `boolean` | `false` | Opt-in Three.js 3D SmartArt renderer. |
90
- | `onload` | `(d: ViewerLoadDetail) => void` | - | Fired after a presentation loads. |
91
- | `onerror` | `(message: string) => void` | - | Fired when loading fails. |
92
- | `onslidechange` | `(index: number) => void` | - | Fired when the active slide changes. |
93
- | `onnotesupdate` | `(notes: string) => void` | - | Fired when the user edits the speaker notes. |
94
- | `onchange` | `() => void` | - | Fired after every committed edit when `editable`. |
88
+ | Prop | Type | Default | Description |
89
+ | ---------------- | ------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------- |
90
+ | `source` | `Uint8Array \| ArrayBuffer` | - | Raw `.pptx` bytes. |
91
+ | `theme` | `ViewerTheme` | - | Color/radius/CSS-var overrides. |
92
+ | `locale` | `string` | `'en'` | UI locale (see `pptx-svelte-viewer/i18n`). |
93
+ | `initialSlide` | `number` | `0` | Slide shown after load (0-based). |
94
+ | `showThumbnails` | `boolean` | `true` | Thumbnail sidebar. |
95
+ | `showToolbar` | `boolean` | `true` | Navigation/zoom/fullscreen toolbar. |
96
+ | `showNotes` | `boolean` | `true` | Speaker-notes panel and its toolbar toggle. |
97
+ | `hiddenActions` | `ToolbarActionId[]` | - | Toolbar buttons/ribbon tabs to hide individually (e.g. `['share', 'broadcast']`), instead of hiding the whole toolbar. |
98
+ | `editable` | `boolean` | `false` | Ribbon editing, insertion, arrange, and save. |
99
+ | `smartArt3D` | `boolean` | `false` | Opt-in Three.js 3D SmartArt renderer. |
100
+ | `onload` | `(d: ViewerLoadDetail) => void` | - | Fired after a presentation loads. |
101
+ | `onerror` | `(message: string) => void` | - | Fired when loading fails. |
102
+ | `onslidechange` | `(index: number) => void` | - | Fired when the active slide changes. |
103
+ | `onnotesupdate` | `(notes: string) => void` | - | Fired when the user edits the speaker notes. |
104
+ | `onchange` | `() => void` | - | Fired after every committed edit when `editable`. |
95
105
 
96
106
  See the [full docs](https://christophervr.github.io/pptx-viewer/svelte/) for
97
107
  the complete props/events contract, theming, and localization guides.