@mieweb/forms-editor 2.0.0 → 2.1.0

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 CHANGED
@@ -1,46 +1,46 @@
1
- # @mieweb/forms-editor
2
-
3
- Visual questionnaire builder with three editing modes: Build, Code, and Preview.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install @mieweb/forms-editor
9
- ```
10
-
11
- **Requirements:** React 18+ and React DOM 18+
12
-
13
- ## Quick Start
14
-
15
- ```jsx
16
- import { QuestionnaireEditor } from '@mieweb/forms-editor';
17
-
18
- function App() {
19
- const [formData, setFormData] = React.useState({
20
- schemaType: 'mieforms-v1.0',
21
- fields: []
22
- });
23
-
24
- return (
25
- <QuestionnaireEditor
26
- initialFormData={formData}
27
- onChange={setFormData}
28
- />
29
- );
30
- }
31
- ```
32
-
33
- ## Documentation
34
-
35
- **[Full Documentation](https://questionnaire-builder.opensource.mieweb.org/docs/editor/overview)**
36
-
37
- For detailed information, see:
38
- - [Quick Start Guide](https://questionnaire-builder.opensource.mieweb.org/docs/getting-started/quickstart-editor)
39
- - [Props Reference](https://questionnaire-builder.opensource.mieweb.org/docs/editor/props)
40
- - [Editor Modes](https://questionnaire-builder.opensource.mieweb.org/docs/editor/modes)
41
- - [Field Editing](https://questionnaire-builder.opensource.mieweb.org/docs/editor/field-editing)
42
- - [Import/Export](https://questionnaire-builder.opensource.mieweb.org/docs/editor/importing)
43
-
44
- ## License
45
-
46
- MIT
1
+ # @mieweb/forms-editor
2
+
3
+ Visual questionnaire builder with three editing modes: Build, Code, and Preview.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mieweb/forms-editor
9
+ ```
10
+
11
+ **Requirements:** React 18+ and React DOM 18+
12
+
13
+ ## Quick Start
14
+
15
+ ```jsx
16
+ import { QuestionnaireEditor } from '@mieweb/forms-editor';
17
+
18
+ function App() {
19
+ const [formData, setFormData] = React.useState({
20
+ schemaType: 'mieforms-v1.0',
21
+ fields: []
22
+ });
23
+
24
+ return (
25
+ <QuestionnaireEditor
26
+ initialFormData={formData}
27
+ onChange={setFormData}
28
+ />
29
+ );
30
+ }
31
+ ```
32
+
33
+ ## Documentation
34
+
35
+ **[Full Documentation](https://questionnaire-builder.opensource.mieweb.org/docs/editor/overview)**
36
+
37
+ For detailed information, see:
38
+ - [Quick Start Guide](https://questionnaire-builder.opensource.mieweb.org/docs/getting-started/quickstart-editor)
39
+ - [Props Reference](https://questionnaire-builder.opensource.mieweb.org/docs/editor/props)
40
+ - [Editor Modes](https://questionnaire-builder.opensource.mieweb.org/docs/editor/modes)
41
+ - [Field Editing](https://questionnaire-builder.opensource.mieweb.org/docs/editor/field-editing)
42
+ - [Import/Export](https://questionnaire-builder.opensource.mieweb.org/docs/editor/importing)
43
+
44
+ ## License
45
+
46
+ MIT