Skip to content

Commit f54a73a

Browse files
committed
2 parents 7dea2be + abffc46 commit f54a73a

File tree

153 files changed

+4930
-453
lines changed

Some content is hidden

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

153 files changed

+4930
-453
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-capture': patch
3+
---
4+
5+
feat: Add Svelte 5 adapter (`/svelte` export) for the Capture plugin. Includes Rune-based hooks (`useCapture`, `useCaptureCapability`, `useCapturePlugin`) and the `MarqueeCapture.svelte` component.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/core': patch
3+
---
4+
5+
refactor(svelte): Update Svelte hooks (`useCapability`, `useCoreState`, `usePlugin`) to return reactive `$state` objects instead of computed getters for better integration with Svelte 5's reactivity model.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/engines': patch
3+
---
4+
5+
refactor(svelte): Update `usePdfiumEngine` hook to return a reactive `$state` object directly, simplifying state management for consumers.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-export': patch
3+
---
4+
5+
refactor(svelte): Update `Download.svelte` component to correctly access plugin and capability instances from the refactored hooks.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-fullscreen': patch
3+
---
4+
5+
refactor(svelte): Update `FullscreenProvider.svelte` component and `useFullscreen` hook to work with the refactored Svelte core hooks, returning reactive state objects.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-interaction-manager': patch
3+
---
4+
5+
refactor(svelte): Update provider components (`GlobalPointerProvider`, `PagePointerProvider`) and hooks (`useInteractionManager`, `useCursor`, `usePointerHandlers`, `useIsPageExclusive`) to use the refactored Svelte core hooks and return reactive state objects.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-loader': patch
3+
---
4+
5+
refactor(svelte): Update `FilePicker.svelte` component to correctly access the loader capability instance from the refactored hook.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-pan': patch
3+
---
4+
5+
refactor(svelte): Update `usePan` hook to return a reactive state object, aligning with the core hook refactoring.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-rotate': patch
3+
---
4+
5+
refactor(svelte): Update `Rotate.svelte` component and `useRotate` hook to work with the refactored Svelte core hooks and return a reactive state object.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-scroll': patch
3+
---
4+
5+
refactor(svelte): Update `Scroller.svelte` component and `useScroll` hook to use refactored core hooks and return a reactive state object. Introduced shared `RenderPageProps` type. Adjusted Vue components accordingly.

0 commit comments

Comments
 (0)