@zeng-alt/formkit-form-builder 2.0.0 → 2.0.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.1 — 2026-11-21
4
+
5
+ - Scope designer and renderer styles, theme changes, and teleported overlays to the form builder so they do not alter the host application.
6
+
3
7
  ## 2.0.0 — 2026-11-19
4
8
 
5
9
  This release includes the changes since npm version 1.4.0. It requires migration for consumers of the removed APIs below.
package/README.md CHANGED
@@ -71,6 +71,8 @@ import {
71
71
  import type { FormDefinition } from '@zeng-alt/formkit-form-builder/renderer'
72
72
  ```
73
73
 
74
+ The stylesheet uses CSS `@scope` to isolate the builder from the host page; use a browser that supports `@scope`.
75
+
74
76
  Styling still comes from the same `@zeng-alt/formkit-form-builder/builder.css` (no separate CSS file needed). This entry only exports what a form-filling page needs: `FormRenderer`, `formkitConfig`, `FormBuilderPlugin`, `registerElement`/`registerElements`, `buildFormkitInputs`/`buildElementSchemaLibrary`/`getElementCmpName`, the DSL conversion utilities (`dslToSchema`/`dslToOutputSchema`/`schemaToDsl`/`toPortableDefinition`/`setExprLocale`, etc.), the config composables, and their types — it excludes the designer (canvas, left/right panels), the drag-and-drop library `@formkit/drag-and-drop`, and the CodeMirror code editors. See `playground/renderer-only.html` for a working example.
75
77
 
76
78
  Measured bundle size (`pnpm build-only` output, gzip):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeng-alt/formkit-form-builder",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "A visual FormKit schema builder for Vue 3",
5
5
  "keywords": [
6
6
  "drag-and-drop",
@@ -63,7 +63,7 @@
63
63
  "format": "oxfmt src/",
64
64
  "test": "vitest run",
65
65
  "test:watch": "vitest",
66
- "test:e2e": "playwright test"
66
+ "test:e2e": "pnpm build-only && playwright test"
67
67
  },
68
68
  "dependencies": {
69
69
  "@formkit/drag-and-drop": "^0.5.3",