Skip to content

Commit f207c20

Browse files
authored
Merge pull request #222 from andrewrisse/feature/svelte
Thanks to @andrewrisse for adding the Svelte adapters!
2 parents 52dff4d + d0a2d28 commit f207c20

File tree

200 files changed

+6159
-794
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+6159
-794
lines changed

.changeset/angry-parents-exist.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-zoom': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useZoom`, `usePinch`), components (`MarqueeZoom.svelte`, `PinchWrapper.svelte`), and fix for initialization timing. Thanks to @andrewrisse for adding the Svelte components and hooks!

.changeset/chilly-ads-sink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-spread': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useSpread`, etc.).

.changeset/crazy-bananas-repeat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-export': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useExportPlugin`, `useExportCapability`) and `Download.svelte` utility component.

.changeset/cuddly-moments-smell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-fullscreen': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useFullscreen`, etc.) and `FullscreenProvider.svelte` wrapper component.

.changeset/eighty-facts-run.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/engines': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with `PdfEngineProvider` component and Rune-based hooks (`useEngineContext`, `useEngine`, `usePdfiumEngine`). Removed deprecated mock engine. Thanks to @andrewrisse!

.changeset/five-flies-draw.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-loader': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useLoaderPlugin`, `useLoaderCapability`) and `FilePicker.svelte` utility component. Thanks to @andrewrisse for the Svelte integration!

.changeset/good-toes-cough.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-selection': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useSelectionPlugin`, `useSelectionCapability`), `SelectionLayer.svelte` component, and `CopyToClipboard.svelte` utility.

.changeset/hot-windows-dig.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-rotate': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useRotate`, etc.) and `Rotate.svelte` component.

.changeset/odd-corners-switch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-interaction-manager': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useInteractionManager`, `useCursor`, `usePointerHandlers`, `useIsPageExclusive`) and provider components (`GlobalPointerProvider.svelte`, `PagePointerProvider.svelte`). Thanks to @andrewrisse for adding the Svelte adapter!

.changeset/old-plums-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-scroll': minor
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) with Rune-based hooks (`useScroll`, etc.) and `Scroller.svelte` component. Thanks to @andrewrisse for adding the Svelte adapter and hooks!

0 commit comments

Comments
 (0)