@dmitryvim/form-builder 0.2.26 → 0.2.27
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 +3 -3
- package/dist/browser/formbuilder.min.js +457 -189
- package/dist/browser/formbuilder.v0.2.27.min.js +874 -0
- package/dist/cjs/index.cjs +1600 -1012
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +1566 -988
- package/dist/esm/index.js.map +1 -1
- package/dist/form-builder.js +457 -189
- package/dist/types/components/file/constraints.d.ts +26 -0
- package/dist/types/components/file/dom.d.ts +44 -0
- package/dist/types/components/file/preview.d.ts +69 -0
- package/dist/types/components/file/render-edit.d.ts +15 -0
- package/dist/types/components/file/render-readonly.d.ts +23 -0
- package/dist/types/components/file/styles.d.ts +1 -0
- package/dist/types/components/file/upload.d.ts +13 -0
- package/dist/types/components/file/validate.d.ts +13 -0
- package/dist/types/components/file.d.ts +5 -27
- package/dist/types/types/config.d.ts +4 -0
- package/package.json +1 -1
- package/dist/browser/formbuilder.v0.2.26.min.js +0 -606
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ This package ships with complete TypeScript definitions. Ensure your `tsconfig.j
|
|
|
54
54
|
## Core Features
|
|
55
55
|
|
|
56
56
|
- **🎯 Schema-driven forms**: JSON Schema v0.3 → Interactive forms with live preview
|
|
57
|
-
- **📁 Advanced file handling**: Images, videos, documents with drag-and-drop and
|
|
57
|
+
- **📁 Advanced file handling**: Images, videos, documents with drag-and-drop, tile preview, and per-file upload progress
|
|
58
58
|
- **✅ Real-time validation**: Client-side validation with visual feedback and error display
|
|
59
59
|
- **🌍 Internationalization**: Built-in English/Russian support with extensible translation system
|
|
60
60
|
- **🎨 Rich field types**: Text, textarea, number, select, file, files, and nested groups
|
|
@@ -301,8 +301,8 @@ See [Integration Guide](docs/integration.md) for detailed setup instructions.
|
|
|
301
301
|
- **Colour**: Colour picker with hex values (single or palette)
|
|
302
302
|
- **Slider**: Range slider with linear/exponential scales (v0.2.7+)
|
|
303
303
|
- **Table**: 2D editable grid with cell merging, keyboard navigation, readonly mode
|
|
304
|
-
- **File**: Single file upload with preview and type restrictions
|
|
305
|
-
- **Files**: Multiple file upload with grid
|
|
304
|
+
- **File**: Single file upload with compact dropzone, tile preview, and type restrictions
|
|
305
|
+
- **Files**: Multiple file upload with 80px tile grid, per-file upload progress, and drag-and-drop
|
|
306
306
|
- **Container**: Nested containers with repeatable array support
|
|
307
307
|
|
|
308
308
|
### File Handling
|