@s8fy/pptx-viewer-svelte 3.7.0 → 3.7.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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +21 -9
package/README.md CHANGED
@@ -1,9 +1,22 @@
1
1
  # @s8fy/pptx-viewer-svelte
2
2
 
3
+ [Product](https://structurify.io/en/products/pptx-viewer/) · [Framework guide](https://docs.structurify.io/en/pptx-viewer/frameworks/) · [Viewer playground](https://structurify.io/en/playground/) · [Commercial licensing](#license) · [Report an issue](https://github.com/hustcer/xdoc-feedback/issues)
4
+
3
5
  **High-fidelity PowerPoint viewing in Svelte, powered by the shared PPTX viewer engine.**
4
6
 
5
7
  Svelte actions and imperative helpers for `@s8fy/pptx-viewer`, with font-driven text layout, vector graphics, charts, and supported DrawingML effects. Use the `pptx` action or `mountViewer` helper to manage the shared viewer controller.
6
8
 
9
+ ## Key Features
10
+
11
+ - **The shared viewer engine in Svelte.** Display native charts, SmartArt, styled tables, vector shapes, images, and supported Office equations with the same engine as the framework-neutral SDK.
12
+ - **3D and modern Office charts.** Supported 3D column/bar, line, area, pie, and surface charts use projected geometry and selected scene settings, with approximate lighting. Waterfall, Funnel, Histogram, Treemap, Sunburst, and Box & Whisker have rendering paths, alongside classic chart families and selected 2D combinations. Formatting/layout coverage varies by family.
13
+ - **Typography and DrawingML detail.** Font-driven text layout, mixed styles, bullets, tabs, autofit, optional embedded fonts, glyph glow/reflections, shape inner shadows/reflections, and selected shape/text 3D profiles. SmartArt prefers cached drawings and supports selected uncached process/hierarchy layouts.
14
+ - **Presentations that play.** Supported object effects, selected slide transitions, Morph, click builds, fullscreen, presenter mode, and looping autoplay. Chart subtargets cover selected 2D column/bar series/categories/points and line/area series, excluding combination layers and charts with trendlines/error bars. Selected SmartArt nodes can animate independently. Playback defaults to fullscreen/presenter mode; enable inline animation explicitly when needed.
15
+ - **Local viewing and PDF export.** Supply PPTX bytes directly, self-host runtime/font assets, and disable remote fonts for offline deployments. PDF export runs locally from the original file and creates static pages.
16
+ - **Svelte actions or imperative mounting.** Use the typed `pptx` action or `mountViewer` helper, with controller access through `onReady`, source updates that reuse the controller, and automatic action cleanup. Imports are SSR-safe; actions run on the client, and imperative SvelteKit integration belongs in `onMount`.
17
+
18
+ This package provides actions/helpers rather than a Svelte component, and shares the Viewer capability boundaries. Fonts, browser support, and the authored Office variant affect fidelity. Unsupported profiles use their applicable fallback; complete PowerPoint parity is not promised. Model-only sources cannot export the original file to PDF/PPTX, and commercial use requires a commercial license. See the [shared capability details](https://www.npmjs.com/package/@s8fy/pptx-viewer#key-features).
19
+
7
20
  ## Install
8
21
 
9
22
  ```sh
package/package.json CHANGED
@@ -1,15 +1,32 @@
1
1
  {
2
2
  "name": "@s8fy/pptx-viewer-svelte",
3
- "version": "3.7.0",
4
- "description": "High-fidelity PPTX viewer actions and helpers for Svelte, powered by @s8fy/pptx-viewer",
3
+ "version": "3.7.1",
4
+ "description": "Svelte PowerPoint (PPTX) viewer actions and mounting helpers with local PDF export through the shared viewer",
5
5
  "keywords": [
6
+ "3d-charts",
7
+ "browser",
8
+ "charts",
9
+ "client-side",
6
10
  "high fidelity",
7
11
  "high-fidelity",
12
+ "local-first",
13
+ "pdf-export",
8
14
  "powerpoint",
15
+ "powerpoint-charts",
16
+ "powerpoint-viewer",
9
17
  "pptx",
18
+ "pptx-animation",
19
+ "pptx-preview",
20
+ "pptx-to-pdf",
21
+ "pptx-viewer",
10
22
  "presentation",
23
+ "self-hosted",
24
+ "slide-transitions",
11
25
  "slides",
26
+ "slideshow",
12
27
  "svelte",
28
+ "svelte-pptx-viewer",
29
+ "typescript",
13
30
  "viewer"
14
31
  ],
15
32
  "homepage": "https://structurify.io/en/products/pptx-viewer",
@@ -18,11 +35,6 @@
18
35
  },
19
36
  "license": "PolyForm-Noncommercial-1.0.0",
20
37
  "author": "hustcer@outlook.com",
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/hustcer/xdoc-feedback.git",
24
- "directory": "packages/pptx-viewer-svelte"
25
- },
26
38
  "files": [
27
39
  "dist",
28
40
  "EVALUATION-LICENSE.md",
@@ -52,7 +64,7 @@
52
64
  "registry": "https://registry.npmjs.org"
53
65
  },
54
66
  "dependencies": {
55
- "@s8fy/pptx-viewer": "3.7.0"
67
+ "@s8fy/pptx-viewer": "3.7.1"
56
68
  },
57
69
  "devDependencies": {
58
70
  "@typescript/typescript6": "^6.0.2",
@@ -60,7 +72,7 @@
60
72
  "typescript": "~7.0.2",
61
73
  "vite": "^8.3.4",
62
74
  "vite-plugin-dts": "^5.1.2",
63
- "vitest": "^5.0.4"
75
+ "vitest": "^5.0.5"
64
76
  },
65
77
  "peerDependencies": {
66
78
  "svelte": "^5.0.0"