@mieweb/forms-editor 0.1.0 → 0.1.1
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 +5 -9
- package/dist/index.js +1540 -1004
- package/dist/index.js.map +1 -0
- package/dist/temp.css +1 -0
- package/package.json +7 -8
- package/dist/index.css +0 -6
- package/src/index.css +0 -14
package/README.md
CHANGED
|
@@ -26,13 +26,7 @@ The following are installed automatically:
|
|
|
26
26
|
|
|
27
27
|
## 🚀 Quick Start
|
|
28
28
|
|
|
29
|
-
### 1.
|
|
30
|
-
|
|
31
|
-
```jsx
|
|
32
|
-
import '@mieweb/forms-editor/styles.css';
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### 2. Basic Usage
|
|
29
|
+
### 1. Basic Usage
|
|
36
30
|
|
|
37
31
|
```jsx
|
|
38
32
|
import { QuestionnaireEditor } from '@mieweb/forms-editor';
|
|
@@ -239,10 +233,12 @@ Each field follows this structure:
|
|
|
239
233
|
|
|
240
234
|
## 🎨 Theming
|
|
241
235
|
|
|
242
|
-
|
|
236
|
+
**CSS is automatically included** when you import the package! The Tailwind CSS styles are bundled directly into the JavaScript.
|
|
237
|
+
|
|
238
|
+
Override styles by importing your custom CSS after the component:
|
|
243
239
|
|
|
244
240
|
```jsx
|
|
245
|
-
import '@mieweb/forms-editor
|
|
241
|
+
import { QuestionnaireEditor } from '@mieweb/forms-editor';
|
|
246
242
|
import './my-overrides.css'; // Your custom styles
|
|
247
243
|
```
|
|
248
244
|
|