@reacteditor/core 0.0.14 → 0.0.15
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/dist/{Editor-J7XDD77B.mjs → Editor-7UIJWCPN.mjs} +7 -7
- package/dist/{chunk-4L7H4JV4.mjs → chunk-3CGBQNX4.mjs} +1 -1
- package/dist/{chunk-5QKQ3LQJ.mjs → chunk-647NZJYM.mjs} +3 -3
- package/dist/{chunk-RQZQMS6E.mjs → chunk-C2KWANIN.mjs} +1 -1
- package/dist/{chunk-TG2KTWSB.mjs → chunk-GIGXMGTZ.mjs} +1 -1
- package/dist/{chunk-RGC274VM.mjs → chunk-NKHR722W.mjs} +1 -1
- package/dist/{chunk-FTVOCMGV.mjs → chunk-NPC7A3V3.mjs} +3 -13
- package/dist/{chunk-IFFNAAXW.mjs → chunk-RAMNEU3M.mjs} +1037 -1320
- package/dist/{chunk-JHURG5NN.mjs → chunk-T43H325W.mjs} +21 -122
- package/dist/{chunk-Q667J2EG.mjs → chunk-TFAZFGYZ.mjs} +7 -7
- package/dist/{full-T5SGODJ2.mjs → full-PM3VSLYA.mjs} +6 -6
- package/dist/index.css +411 -524
- package/dist/index.js +834 -1240
- package/dist/index.mjs +9 -9
- package/dist/{loaded-DUBT6SP5.mjs → loaded-5MUU76TF.mjs} +3 -3
- package/dist/{loaded-6YKSFCCD.mjs → loaded-IIHO4UZS.mjs} +3 -3
- package/dist/{loaded-ZQCRSG65.mjs → loaded-ULJY3YN5.mjs} +3 -3
- package/dist/no-external.css +411 -524
- package/dist/no-external.js +834 -1240
- package/dist/no-external.mjs +9 -9
- package/dist/rsc.js +3 -14
- package/dist/rsc.mjs +2 -2
- package/package.json +2 -1
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
EditorInner,
|
|
6
6
|
LoadedRichTextMenu
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-647NZJYM.mjs";
|
|
8
|
+
import "./chunk-TFAZFGYZ.mjs";
|
|
9
|
+
import "./chunk-C2KWANIN.mjs";
|
|
10
10
|
import "./chunk-6QJ2HF4O.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-NKHR722W.mjs";
|
|
12
|
+
import "./chunk-GIGXMGTZ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
useAppStore,
|
|
15
15
|
useAppStoreApi
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-T43H325W.mjs";
|
|
17
17
|
import "./chunk-M4JDRFYB.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-NPC7A3V3.mjs";
|
|
19
19
|
import "./chunk-Y2EFNT5P.mjs";
|
|
20
20
|
import "./chunk-JIXMPJZA.mjs";
|
|
21
21
|
import {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenuInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TFAZFGYZ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
styles_module_default
|
|
6
6
|
} from "./chunk-6QJ2HF4O.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useAppStore,
|
|
9
9
|
useAppStoreApi
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-T43H325W.mjs";
|
|
11
11
|
import {
|
|
12
12
|
get_class_name_factory_default
|
|
13
13
|
} from "./chunk-Y2EFNT5P.mjs";
|
|
@@ -100,7 +100,7 @@ init_react_import();
|
|
|
100
100
|
import { lazy, Suspense } from "react";
|
|
101
101
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
102
102
|
var LoadedRichTextMenuFull = lazy(
|
|
103
|
-
() => import("./full-
|
|
103
|
+
() => import("./full-PM3VSLYA.mjs").then((m) => ({
|
|
104
104
|
default: m.LoadedRichTextMenuFull
|
|
105
105
|
}))
|
|
106
106
|
);
|
|
@@ -9,14 +9,6 @@ import {
|
|
|
9
9
|
init_react_import
|
|
10
10
|
} from "./chunk-M6W7YEVX.mjs";
|
|
11
11
|
|
|
12
|
-
// components/ViewportControls/default-viewports.ts
|
|
13
|
-
init_react_import();
|
|
14
|
-
var defaultViewports = [
|
|
15
|
-
{ width: 360, height: "auto", icon: "Smartphone", label: "Small" },
|
|
16
|
-
{ width: 768, height: "auto", icon: "Tablet", label: "Medium" },
|
|
17
|
-
{ width: "100%", height: "auto", icon: "Monitor", label: "Desktop" }
|
|
18
|
-
];
|
|
19
|
-
|
|
20
12
|
// lib/resolve-component-data.ts
|
|
21
13
|
init_react_import();
|
|
22
14
|
|
|
@@ -123,10 +115,9 @@ var defaultAppState = {
|
|
|
123
115
|
isDragging: false,
|
|
124
116
|
previewMode: "edit",
|
|
125
117
|
viewports: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
},
|
|
118
|
+
// Default to the tablet viewport (the middle option) so the canvas
|
|
119
|
+
// opens at a comfortable preview width on most screens.
|
|
120
|
+
current: { width: 768, height: "auto" },
|
|
130
121
|
options: [],
|
|
131
122
|
controlsVisible: true
|
|
132
123
|
},
|
|
@@ -140,7 +131,6 @@ var defaultAppState = {
|
|
|
140
131
|
};
|
|
141
132
|
|
|
142
133
|
export {
|
|
143
|
-
defaultViewports,
|
|
144
134
|
getChanged,
|
|
145
135
|
resolveComponentData,
|
|
146
136
|
defaultAppState
|