reactaform 1.4.0 → 1.4.3
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 +20 -0
- package/dist/index.d.ts +3 -1
- package/dist/reactaform.cjs.js +5 -5
- package/dist/reactaform.es.js +667 -671
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
ReactaForm is a fully dynamic, ultra-customizable form engine for modern React applications. With schema-driven rendering, full TypeScript support, and built-in performance optimizations, it provides everything you need to build powerful forms—without the boilerplate.
|
|
4
4
|
|
|
5
|
+
**🌐 [Visit the official website for full documentation and guides →](https://reactaform.vercel.app)**
|
|
6
|
+
|
|
5
7
|
## ✨ Features
|
|
6
8
|
|
|
7
9
|
### 🔧 Core Capabilities
|
|
@@ -9,6 +11,7 @@ ReactaForm is a fully dynamic, ultra-customizable form engine for modern React a
|
|
|
9
11
|
- **Dynamic Schema-Driven Forms** — Generate entire forms from JSON definitions.
|
|
10
12
|
- **Type-Safe by Design** — Strongly typed fields, validators, and submission handlers.
|
|
11
13
|
- **20+ Built-In Field Types** — Text, email, phone, dropdown, slider, rating, date, file upload, and more.
|
|
14
|
+
- **Visual Form Builder** — Design forms visually with drag-and-drop at [reactaform.vercel.app/builder](https://reactaform.vercel.app/builder) and export production-ready schemas instantly.
|
|
12
15
|
|
|
13
16
|
### 🎨 Customization & Theming
|
|
14
17
|
|
|
@@ -89,6 +92,23 @@ function App() {
|
|
|
89
92
|
|
|
90
93
|
> **Note:** ReactaForm manages internal form state automatically. Use `setInstance()` only for programmatic overrides.
|
|
91
94
|
|
|
95
|
+
## 🛠️ ReactaForm Builder
|
|
96
|
+
|
|
97
|
+
**Design, validate, and ship forms in minutes—not hours.**
|
|
98
|
+
|
|
99
|
+
ReactaForm Builder is a visual form-building experience that eliminates manual schema writing and accelerates form creation from idea to production.
|
|
100
|
+
|
|
101
|
+
With the builder at https://reactaform.vercel.app/builder
|
|
102
|
+
, you can:
|
|
103
|
+
|
|
104
|
+
- Build Faster — Create complex forms using an intuitive drag-and-drop interface instead of writing JSON by hand
|
|
105
|
+
- See Results Instantly — Real-time previews ensure your form behaves exactly as expected while you design
|
|
106
|
+
- Reuse & Iterate Easily — Import existing form definitions, make changes visually, and re-export in seconds
|
|
107
|
+
- Ship Production-Ready Schemas — Export clean, validated JSON definitions ready to plug directly into ReactaForm
|
|
108
|
+
- Reduce Errors — Configure validation, conditional logic, and styling visually to avoid schema mistakes
|
|
109
|
+
- Start with Confidence — Use built-in templates to jump-start common form use cases
|
|
110
|
+
|
|
111
|
+
No coding required. Build once visually, export instantly,and integrate seamlessly with ReactaForm—saving development time and reducing maintenance overhead.
|
|
92
112
|
|
|
93
113
|
## 📖 Core Concepts
|
|
94
114
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8,14 +8,16 @@ export { StandardFieldLayout } from './components/LayoutComponents';
|
|
|
8
8
|
export { CSS_CLASSES, combineClasses } from './utils/cssClasses';
|
|
9
9
|
export type { ReactaFormContextType, ReactaFormProviderProps, DefinitionPropertyField, ReactaDefinition, ReactaInstance, ReactaFormProps, FieldValueType, ErrorType, FieldValidationHandler, FormValidationHandler, FormSubmissionHandler, InputOnChange, BaseInputProps, TranslationFunction, } from './core/reactaFormTypes';
|
|
10
10
|
export { registerComponent, getComponent, } from './core/registries/componentRegistry';
|
|
11
|
+
export { validateFieldValue } from './core/validation';
|
|
11
12
|
export { registerPlugin, unregisterPlugin, getPlugin, getAllPlugins, hasPlugin, registerComponents, } from './core/registries/pluginRegistry';
|
|
12
13
|
export type { ReactaFormPlugin, ConflictResolution, PluginRegistrationOptions, PluginConflict, } from './core/registries/pluginRegistry';
|
|
13
|
-
export {
|
|
14
|
+
export type { LoadDefinitionOptions, DefinitionLoadResult, InstanceLoadResult, } from './core/reactaFormModel';
|
|
14
15
|
export { loadJsonDefinition, createInstanceFromDefinition, // Create new instance with default values
|
|
15
16
|
loadInstance, // Load existing instance (valuesMap)
|
|
16
17
|
upgradeInstanceToLatestDefinition } from './core/reactaFormModel';
|
|
17
18
|
export { registerSubmissionHandler, } from './core/registries/submissionHandlerRegistry';
|
|
18
19
|
export { registerFieldValidationHandler, registerFormValidationHandler, } from './core/registries/validationHandlerRegistry';
|
|
20
|
+
export type { DebouncedCallback } from './hooks/useDebouncedCallback';
|
|
19
21
|
export { useDebouncedCallback } from './hooks/useDebouncedCallback';
|
|
20
22
|
export * as Units from './utils/unitValueMapper';
|
|
21
23
|
export { serializeInstance, deserializeInstance, serializeDefinition, deserializeDefinition } from './utils/definitionSerializers';
|