@dmitryvim/form-builder 0.5.3 → 0.5.4
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 -1
- package/dist/browser/formbuilder.min.js +111 -111
- package/dist/browser/formbuilder.v0.5.4.min.js +1490 -0
- package/dist/cjs/index.cjs +139 -62
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +121 -57
- package/dist/esm/index.js.map +1 -1
- package/dist/form-builder.js +111 -111
- package/dist/types/components/container.d.ts +1 -1
- package/dist/types/instance/FormBuilderInstance.d.ts +19 -1
- package/dist/types/types/state.d.ts +7 -0
- package/dist/types/utils/helpers.d.ts +16 -4
- package/package.json +1 -1
- package/dist/browser/formbuilder.v0.5.3.min.js +0 -1490
package/README.md
CHANGED
|
@@ -321,7 +321,7 @@ If you are stuck on a browser without `ResizeObserver` (very old) and cannot def
|
|
|
321
321
|
|
|
322
322
|
- **Text**: Single-line with pattern validation, length limits
|
|
323
323
|
- **Textarea**: Multi-line with configurable rows
|
|
324
|
-
- **Number**: Numeric input with min/max/step/decimals
|
|
324
|
+
- **Number**: Numeric input with min/max/step/decimals (no `decimals` → value is kept as typed; set `decimals` to round on extraction)
|
|
325
325
|
- **Select**: Dropdown with options and default values
|
|
326
326
|
- **Switcher**: Segmented button group (all options visible, ≤4) — same data model as Select
|
|
327
327
|
- **Colour**: Colour picker with hex values (single or palette)
|