@embedpdf/plugin-zoom 2.4.1 → 2.6.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.
@@ -1,5 +1,5 @@
1
1
  import { useCapability, usePlugin, useDocumentState } from "@embedpdf/core/preact";
2
- import { ZoomPlugin, initialDocumentState } from "@embedpdf/plugin-zoom";
2
+ import { initialDocumentState, ZoomPlugin } from "@embedpdf/plugin-zoom";
3
3
  export * from "@embedpdf/plugin-zoom";
4
4
  import "preact";
5
5
  import { useState, useEffect, useRef, useLayoutEffect, useMemo } from "preact/hooks";
@@ -1,5 +1,5 @@
1
1
  import { useCapability, usePlugin, useDocumentState } from "@embedpdf/core/react";
2
- import { ZoomPlugin, initialDocumentState } from "@embedpdf/plugin-zoom";
2
+ import { initialDocumentState, ZoomPlugin } from "@embedpdf/plugin-zoom";
3
3
  export * from "@embedpdf/plugin-zoom";
4
4
  import { useState, useEffect, useRef, useLayoutEffect, useMemo } from "react";
5
5
  import { useViewportElement } from "@embedpdf/plugin-viewport/react";
package/dist/vue/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ref, watch, toValue, computed, readonly, inject, defineComponent, createElementBlock, createCommentVNode, openBlock, normalizeClass, normalizeStyle, toRef, mergeProps, renderSlot } from "vue";
1
+ import { ref, watch, toValue, computed, readonly, inject, defineComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createCommentVNode, toRef, mergeProps, renderSlot } from "vue";
2
2
  import { useCapability, usePlugin, useDocumentState } from "@embedpdf/core/vue";
3
3
  import { ZoomPlugin, initialDocumentState } from "@embedpdf/plugin-zoom";
4
4
  export * from "@embedpdf/plugin-zoom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedpdf/plugin-zoom",
3
- "version": "2.4.1",
3
+ "version": "2.6.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.cjs",
@@ -35,17 +35,17 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@embedpdf/models": "2.4.1"
38
+ "@embedpdf/models": "2.6.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/react": "^18.2.0",
42
42
  "typescript": "^5.0.0",
43
- "@embedpdf/core": "2.4.1",
44
- "@embedpdf/build": "1.1.0",
45
- "@embedpdf/plugin-viewport": "2.4.1",
46
- "@embedpdf/plugin-scroll": "2.4.1",
47
- "@embedpdf/plugin-spread": "2.4.1",
48
- "@embedpdf/plugin-interaction-manager": "2.4.1"
43
+ "@embedpdf/core": "2.6.0",
44
+ "@embedpdf/plugin-viewport": "2.6.0",
45
+ "@embedpdf/plugin-scroll": "2.6.0",
46
+ "@embedpdf/plugin-interaction-manager": "2.6.0",
47
+ "@embedpdf/plugin-spread": "2.6.0",
48
+ "@embedpdf/build": "1.1.0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": ">=16.8.0",
@@ -53,9 +53,9 @@
53
53
  "preact": "^10.26.4",
54
54
  "vue": ">=3.2.0",
55
55
  "svelte": ">=5 <6",
56
- "@embedpdf/core": "2.4.1",
57
- "@embedpdf/plugin-viewport": "2.4.1",
58
- "@embedpdf/plugin-scroll": "2.4.1"
56
+ "@embedpdf/core": "2.6.0",
57
+ "@embedpdf/plugin-viewport": "2.6.0",
58
+ "@embedpdf/plugin-scroll": "2.6.0"
59
59
  },
60
60
  "files": [
61
61
  "dist",