@dmitryvim/form-builder 0.2.16 → 0.2.18
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/README.md +1 -0
- package/dist/browser/formbuilder.min.js +86 -58
- package/dist/browser/formbuilder.v0.2.18.min.js +386 -0
- package/dist/cjs/index.cjs +508 -24
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +499 -24
- package/dist/esm/index.js.map +1 -1
- package/dist/form-builder.js +86 -58
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/components/switcher.d.ts +13 -0
- package/dist/types/components/textarea.d.ts +2 -1
- package/dist/types/types/config.d.ts +1 -0
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/schema.d.ts +9 -1
- package/package.json +2 -2
- package/dist/browser/formbuilder.v0.2.16.min.js +0 -358
package/README.md
CHANGED
|
@@ -289,6 +289,7 @@ See [Integration Guide](docs/integration.md) for detailed setup instructions.
|
|
|
289
289
|
- **Textarea**: Multi-line with configurable rows
|
|
290
290
|
- **Number**: Numeric input with min/max/step/decimals
|
|
291
291
|
- **Select**: Dropdown with options and default values
|
|
292
|
+
- **Switcher**: Segmented button group (all options visible, ≤4) — same data model as Select
|
|
292
293
|
- **Colour**: Colour picker with hex values (single or palette)
|
|
293
294
|
- **Slider**: Range slider with linear/exponential scales (v0.2.7+)
|
|
294
295
|
- **File**: Single file upload with preview and type restrictions
|