Skip to content

Commit 6a60699

Browse files
authored
Merge pull request #562 from embedpdf/feature/stamp-plugin
Feature/stamp plugin
2 parents 546b239 + 4247624 commit 6a60699

161 files changed

Lines changed: 8050 additions & 591 deletions

File tree

Some content is hidden

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

.changeset/add-stamp-plugin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-stamp': minor
3+
---
4+
5+
Introduce `@embedpdf/plugin-stamp` for managing reusable rubber-stamp libraries. Includes features for loading built-in/manifest stamps, creating custom stamps from annotations, and exporting custom stamp libraries.

.changeset/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@embedpdf/plugin-search",
2929
"@embedpdf/plugin-selection",
3030
"@embedpdf/plugin-spread",
31+
"@embedpdf/plugin-stamp",
3132
"@embedpdf/plugin-thumbnail",
3233
"@embedpdf/plugin-tiling",
3334
"@embedpdf/plugin-ui",
@@ -57,6 +58,7 @@
5758
"@embedpdf/example-pdfium-node",
5859
"@embedpdf/ai",
5960
"@embedpdf/plugin-ai-manager",
60-
"@embedpdf/plugin-layout-analysis"
61+
"@embedpdf/plugin-layout-analysis",
62+
"@embedpdf/default-stamps"
6163
]
6264
}

.changeset/update-annotation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-annotation': minor
3+
---
4+
5+
Add `ToolContextMap` to support typed context injection for active tools. Introduce preview renderers and bounding-box components for annotations (`CirclePreview`, `SquarePreview`, `InkPreview`, etc.) to support drag-to-create or stamp hover previews.

.changeset/update-engines.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+
Implement new PDF manipulation and annotation appearance export methods: `createDocument`, `importPages`, `deletePage`, `exportAnnotationAppearanceAsPdf`, and `exportAnnotationsAppearanceAsPdf`.

.changeset/update-models.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/models': minor
3+
---
4+
5+
Add `PdfAnnotationName` enum (deprecating `PdfAnnotationIcon`). Extend `PdfEngine` and `IPdfiumExecutor` interfaces with new document manipulation capabilities (`createDocument`, `importPages`, `deletePage`) and annotation appearance export methods.

.changeset/update-pdfium.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/pdfium': minor
3+
---
4+
5+
Expose new PDFium functions for annotation appearance generation and export (`EPDFAnnot_ExportAppearanceAsDocument`, `EPDFAnnot_ExportMultipleAppearancesAsDocument`, `EPDFAnnot_SetAppearanceFromPage`, `EPDFAnnot_GetName`, `EPDFAnnot_SetName`).

.changeset/update-snippet.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/snippet': minor
3+
---
4+
5+
Integrate `@embedpdf/plugin-stamp` with the default viewer. Add the Rubber Stamp sidebar, Signature sidebar, and Insert tools to the default UI schema. Include standard stamp/insert translations.

.changeset/update-ui.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/plugin-ui': minor
3+
---
4+
5+
Enhance sidebar API by allowing custom `props` to be passed via `setActiveSidebar` and `toggleSidebar`, enabling dynamic state injection into sidebar components.

examples/svelte-tailwind/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"@embedpdf/plugin-search": "workspace:*",
5959
"@embedpdf/plugin-selection": "workspace:*",
6060
"@embedpdf/plugin-spread": "workspace:*",
61+
"@embedpdf/plugin-stamp": "workspace:*",
6162
"@embedpdf/plugin-thumbnail": "workspace:*",
6263
"@embedpdf/plugin-tiling": "workspace:*",
6364
"@embedpdf/plugin-ui": "workspace:*",

0 commit comments

Comments
 (0)