pagepilot-visual-editor 1.0.4 → 1.0.5
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 -24
- package/dist/index.cjs +239 -704
- package/dist/index.js +51507 -100575
- package/package.json +2 -10
package/README.md
CHANGED
|
@@ -27,35 +27,12 @@ Peer dependencies (your host should provide these):
|
|
|
27
27
|
| Peer | Range | Notes |
|
|
28
28
|
|---|---|---|
|
|
29
29
|
| `react` | `^18.0.0 \|\| ^19.0.0` | React 18 and 19 both supported |
|
|
30
|
-
| `react-dom` | `^18.0.0 \|\| ^19.0.0` |
|
|
30
|
+
| `react-dom` | `^18.0.0 \|\| ^19.0.0` | Match your `react` version |
|
|
31
31
|
| `@mui/material` | `>=5` | v6 tested; v5 works |
|
|
32
32
|
| `@mui/icons-material` | `>=5` | |
|
|
33
33
|
| `@emotion/react` | `>=11` | Required by MUI |
|
|
34
34
|
| `@emotion/styled` | `>=11` | Required by MUI |
|
|
35
35
|
|
|
36
|
-
> **Avoiding "Incompatible React versions" at runtime**
|
|
37
|
-
>
|
|
38
|
-
> npm 7+ auto-installs peer deps, which can pull `react-dom@latest` into your
|
|
39
|
-
> app even when your `react` is pinned to an older patch. React refuses to
|
|
40
|
-
> boot when the two versions differ. Force alignment by adding this to your
|
|
41
|
-
> host app's `package.json`:
|
|
42
|
-
>
|
|
43
|
-
> ```json
|
|
44
|
-
> {
|
|
45
|
-
> "overrides": {
|
|
46
|
-
> "react-dom": "$react",
|
|
47
|
-
> "@types/react-dom": "$@types/react"
|
|
48
|
-
> },
|
|
49
|
-
> "resolutions": {
|
|
50
|
-
> "react-dom": "$react",
|
|
51
|
-
> "@types/react-dom": "$@types/react"
|
|
52
|
-
> }
|
|
53
|
-
> }
|
|
54
|
-
> ```
|
|
55
|
-
>
|
|
56
|
-
> Then delete `node_modules` + `package-lock.json` and re-run `npm install`
|
|
57
|
-
> (`overrides` is npm/pnpm, `resolutions` is yarn — safe to keep both).
|
|
58
|
-
|
|
59
36
|
**Also required at runtime** (not currently listed as a peer, but the built
|
|
60
37
|
bundle keeps them external — install these alongside the peers above):
|
|
61
38
|
|