Skip to content

Commit f61f320

Browse files
authored
Merge pull request #537 from embedpdf/feature/form
Feature/form
2 parents aa45d6e + 8642bdb commit f61f320

310 files changed

Lines changed: 17511 additions & 1472 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.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@embedpdf/plugin-annotation': minor
3+
---
4+
5+
- Add annotation lock modes, scoped navigation/state events, richer tool metadata, and locked-mode renderer support so annotations can switch cleanly between authoring and fill interactions.
6+
- Add link previews and locked link navigation support plus shared React, Svelte, and Vue updates for the new renderer and interaction APIs.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@embedpdf/plugin-commands': patch
3+
---
4+
5+
- Allow `Tab` and `Shift+Tab` keyboard handling to continue working inside form inputs so field navigation is not blocked.
6+
- Normalize spacebar shortcut parsing so commands can consistently match the `space` key.

.changeset/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@embedpdf/plugin-document-manager",
1616
"@embedpdf/plugin-export",
1717
"@embedpdf/plugin-fullscreen",
18+
"@embedpdf/plugin-form",
1819
"@embedpdf/plugin-history",
1920
"@embedpdf/plugin-i18n",
2021
"@embedpdf/plugin-interaction-manager",

.changeset/engines-form-ops.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@embedpdf/engines': minor
3+
---
4+
5+
- Add engine APIs for reading page widgets and form/document JavaScript actions, setting full widget state, renaming and sharing widget fields, and regenerating widget appearances.
6+
- Route the new widget and form operations through the PDFium and web worker layers to support form authoring and fill-mode workflows.

.changeset/models-widget-typing.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@embedpdf/models': minor
3+
---
4+
5+
- Expand form and widget models with typed field unions, widget appearance/style metadata, export values, and JavaScript action types.
6+
- Add helper utilities and engine interface updates for widget discovery, field state updates, shared fields, and appearance regeneration.

.changeset/pdfium-form-bindings.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@embedpdf/pdfium': minor
3+
---
4+
5+
- Add PDFium bindings and wasm exports for creating and editing form widgets, reading widget metadata and JavaScript actions, sharing fields, and regenerating widget appearance streams.
6+
- Improve form handle lifecycle management so widget reads, writes, and appearance generation work more reliably across repeated operations.

.changeset/plugin-form-release.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@embedpdf/plugin-form': minor
3+
---
4+
5+
- Add a new cross-framework form plugin with widget authoring tools, renderer registration, fill-mode components, state hooks, and widget appearance rendering.
6+
- Support text fields, checkboxes, radio buttons, combo boxes, and list boxes across React, Svelte, Vue, and Preact, including programmatic updates and shared field operations.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@embedpdf/plugin-redaction': patch
3+
---
4+
5+
- Update redaction tool integration to work with typed annotation tool definitions and the newer annotation capability access patterns.
6+
- Guard annotation capability usage during redaction flows and resolve defaults from the active tool configuration for more consistent behavior.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@embedpdf/snippet': minor
3+
---
4+
5+
- Add full form authoring and fill-mode support to the snippet viewer, including new commands, toolbar items, translations, icons, and widget editing controls.
6+
- Wire form mode into the viewer schema and sidebars so widgets can be created, configured, filled, and previewed in the example app.

examples/svelte-tailwind/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"@embedpdf/plugin-commands": "workspace:*",
4242
"@embedpdf/plugin-document-manager": "workspace:*",
4343
"@embedpdf/plugin-export": "workspace:*",
44+
"@embedpdf/plugin-form": "workspace:*",
4445
"@embedpdf/plugin-fullscreen": "workspace:*",
4546
"@embedpdf/plugin-history": "workspace:*",
4647
"@embedpdf/plugin-i18n": "workspace:*",

0 commit comments

Comments
 (0)