@embedpdf/snippet 2.1.2 → 2.2.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.
Files changed (41) hide show
  1. package/dist/{browser-awZxztMA-MZYHZ0lP.js → browser-awZxztMA-DP8ttsSz.js} +1 -1
  2. package/dist/components/app.d.ts +13 -1
  3. package/dist/components/app.d.ts.map +1 -1
  4. package/dist/components/comment-sidebar/annotation-card.d.ts +2 -1
  5. package/dist/components/comment-sidebar/annotation-card.d.ts.map +1 -1
  6. package/dist/components/comment-sidebar/comment.d.ts +2 -1
  7. package/dist/components/comment-sidebar/comment.d.ts.map +1 -1
  8. package/dist/components/comment-sidebar.d.ts.map +1 -1
  9. package/dist/components/icons/eye-off.d.ts +4 -0
  10. package/dist/components/icons/eye-off.d.ts.map +1 -0
  11. package/dist/components/icons/eye.d.ts +4 -0
  12. package/dist/components/icons/eye.d.ts.map +1 -0
  13. package/dist/components/icons/index.d.ts.map +1 -1
  14. package/dist/components/icons/info.d.ts +4 -0
  15. package/dist/components/icons/info.d.ts.map +1 -0
  16. package/dist/components/icons/types.d.ts +2 -1
  17. package/dist/components/icons/types.d.ts.map +1 -1
  18. package/dist/components/icons/unlock.d.ts +4 -0
  19. package/dist/components/icons/unlock.d.ts.map +1 -0
  20. package/dist/components/permissions-display.d.ts +16 -0
  21. package/dist/components/permissions-display.d.ts.map +1 -0
  22. package/dist/components/protect-modal.d.ts +10 -0
  23. package/dist/components/protect-modal.d.ts.map +1 -0
  24. package/dist/components/unlock-owner-overlay.d.ts +7 -0
  25. package/dist/components/unlock-owner-overlay.d.ts.map +1 -0
  26. package/dist/components/view-permissions-modal.d.ts +10 -0
  27. package/dist/components/view-permissions-modal.d.ts.map +1 -0
  28. package/dist/config/commands.d.ts.map +1 -1
  29. package/dist/config/translations.d.ts.map +1 -1
  30. package/dist/config/ui-schema.d.ts.map +1 -1
  31. package/dist/direct-engine-m4-HnUa2.js +1 -0
  32. package/dist/embedpdf-T0lTFeLi.js +3 -0
  33. package/dist/embedpdf.js +1 -1
  34. package/dist/pdfium.wasm +0 -0
  35. package/dist/worker-engine-Ch3J8jLj.js +1 -0
  36. package/package.json +30 -30
  37. package/dist/components/annotation-menu.d.ts +0 -9
  38. package/dist/components/annotation-menu.d.ts.map +0 -1
  39. package/dist/direct-engine-CluHueed.js +0 -1
  40. package/dist/embedpdf-BFHbxCoj.js +0 -3
  41. package/dist/worker-engine-rPr4Ul0q.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedpdf/snippet",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "main": "dist/embedpdf.js",
5
5
  "types": "dist/embedpdf.d.ts",
6
6
  "license": "MIT",
@@ -12,35 +12,35 @@
12
12
  "dependencies": {
13
13
  "preact": "^10.17.0",
14
14
  "tailwind-merge": "^3.4.0",
15
- "@embedpdf/core": "2.1.2",
16
- "@embedpdf/models": "2.1.2",
17
- "@embedpdf/engines": "2.1.2",
18
- "@embedpdf/pdfium": "2.1.2",
19
- "@embedpdf/plugin-annotation": "2.1.2",
20
- "@embedpdf/plugin-attachment": "2.1.2",
21
- "@embedpdf/plugin-bookmark": "2.1.2",
22
- "@embedpdf/plugin-commands": "2.1.2",
23
- "@embedpdf/plugin-capture": "2.1.2",
24
- "@embedpdf/plugin-document-manager": "2.1.2",
25
- "@embedpdf/plugin-export": "2.1.2",
26
- "@embedpdf/plugin-history": "2.1.2",
27
- "@embedpdf/plugin-fullscreen": "2.1.2",
28
- "@embedpdf/plugin-interaction-manager": "2.1.2",
29
- "@embedpdf/plugin-i18n": "2.1.2",
30
- "@embedpdf/plugin-pan": "2.1.2",
31
- "@embedpdf/plugin-print": "2.1.2",
32
- "@embedpdf/plugin-redaction": "2.1.2",
33
- "@embedpdf/plugin-render": "2.1.2",
34
- "@embedpdf/plugin-rotate": "2.1.2",
35
- "@embedpdf/plugin-search": "2.1.2",
36
- "@embedpdf/plugin-selection": "2.1.2",
37
- "@embedpdf/plugin-scroll": "2.1.2",
38
- "@embedpdf/plugin-spread": "2.1.2",
39
- "@embedpdf/plugin-tiling": "2.1.2",
40
- "@embedpdf/plugin-ui": "2.1.2",
41
- "@embedpdf/plugin-thumbnail": "2.1.2",
42
- "@embedpdf/plugin-viewport": "2.1.2",
43
- "@embedpdf/plugin-zoom": "2.1.2"
15
+ "@embedpdf/core": "2.2.0",
16
+ "@embedpdf/models": "2.2.0",
17
+ "@embedpdf/engines": "2.2.0",
18
+ "@embedpdf/pdfium": "2.2.0",
19
+ "@embedpdf/plugin-attachment": "2.2.0",
20
+ "@embedpdf/plugin-bookmark": "2.2.0",
21
+ "@embedpdf/plugin-annotation": "2.2.0",
22
+ "@embedpdf/plugin-document-manager": "2.2.0",
23
+ "@embedpdf/plugin-capture": "2.2.0",
24
+ "@embedpdf/plugin-commands": "2.2.0",
25
+ "@embedpdf/plugin-export": "2.2.0",
26
+ "@embedpdf/plugin-fullscreen": "2.2.0",
27
+ "@embedpdf/plugin-history": "2.2.0",
28
+ "@embedpdf/plugin-i18n": "2.2.0",
29
+ "@embedpdf/plugin-pan": "2.2.0",
30
+ "@embedpdf/plugin-print": "2.2.0",
31
+ "@embedpdf/plugin-interaction-manager": "2.2.0",
32
+ "@embedpdf/plugin-redaction": "2.2.0",
33
+ "@embedpdf/plugin-render": "2.2.0",
34
+ "@embedpdf/plugin-rotate": "2.2.0",
35
+ "@embedpdf/plugin-scroll": "2.2.0",
36
+ "@embedpdf/plugin-search": "2.2.0",
37
+ "@embedpdf/plugin-selection": "2.2.0",
38
+ "@embedpdf/plugin-spread": "2.2.0",
39
+ "@embedpdf/plugin-thumbnail": "2.2.0",
40
+ "@embedpdf/plugin-tiling": "2.2.0",
41
+ "@embedpdf/plugin-ui": "2.2.0",
42
+ "@embedpdf/plugin-zoom": "2.2.0",
43
+ "@embedpdf/plugin-viewport": "2.2.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@babel/core": "^7.22.10",
@@ -1,9 +0,0 @@
1
- import { h, JSX } from 'preact';
2
- import { TrackedAnnotation } from '@embedpdf/plugin-annotation';
3
- type AnnotationMenuProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, 'style'> & {
4
- trackedAnnotation: TrackedAnnotation;
5
- style?: JSX.CSSProperties;
6
- };
7
- export declare const AnnotationMenu: ({ trackedAnnotation, ...props }: AnnotationMenuProps) => h.JSX.Element;
8
- export {};
9
- //# sourceMappingURL=annotation-menu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"annotation-menu.d.ts","sourceRoot":"","sources":["../../src/components/annotation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAIhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,KAAK,mBAAmB,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,GAAG;IAC7E,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,KAAK,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,iCAAiC,mBAAmB,kBA2ClF,CAAC"}