@jbpark/live-editor 1.15.0 → 1.15.2
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/dnd/index.js +1 -1
- package/dist/{dnd-BdNgmgYB.js → dnd-BNFFJ9uv.js} +3 -3
- package/dist/{dnd-BdNgmgYB.js.map → dnd-BNFFJ9uv.js.map} +1 -1
- package/dist/{frame-C11nuIBH.js → frame-DQ_9RdeP.js} +59 -4
- package/dist/{frame-C11nuIBH.js.map → frame-DQ_9RdeP.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/preview/index.js +1 -1
- package/dist/{preview-DkLLqgKE.js → preview-CgJE-pwO.js} +2 -2
- package/dist/{preview-DkLLqgKE.js.map → preview-CgJE-pwO.js.map} +1 -1
- package/dist/style.css +35 -17
- package/package.json +2 -2
package/dist/dnd/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as DraggableItem, t as Dnd } from "../dnd-
|
|
1
|
+
import { n as DraggableItem, t as Dnd } from "../dnd-BNFFJ9uv.js";
|
|
2
2
|
export { DraggableItem, Dnd as default };
|
|
@@ -2,7 +2,7 @@ import { _ as DEFAULT_TEMPLATE, f as require_lib$1, m as BINDING_PROP, n as crea
|
|
|
2
2
|
import { d as replaceSections, i as compile, o as extractSections, r as cn, s as generateSection, t as baseModules, u as preloadScripts } from "./utils-BzfDKU6y.js";
|
|
3
3
|
import { i as usePreview } from "./states-Ci1AvoQ9.js";
|
|
4
4
|
import { _ as parseArrayExpression, c as extract, d as getCurrentValue, f as parseBinding, g as extractObjectProperties, h as extractNodeValue, i as replaceIds, l as nanoid, m as createNodeFromValue, n as clone, o as update, p as arrayExpressionToCode, r as fillIds, t as validateBindingValue, u as findEditableChildren, v as parseValue, y as generateCode } from "./ast-Dq1EfxA5.js";
|
|
5
|
-
import { t as Frame } from "./frame-
|
|
5
|
+
import { t as Frame } from "./frame-DQ_9RdeP.js";
|
|
6
6
|
import { t as generateTailwindCSSFromDOM } from "./tailwind-CbjdLyVX.js";
|
|
7
7
|
import { t as Core } from "./core-B7igZRDs.js";
|
|
8
8
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -1639,7 +1639,7 @@ const Dnd$1 = ({ value: _value, props, modules = {}, onChange: _onChange, classN
|
|
|
1639
1639
|
children: /* @__PURE__ */ jsxs(Space, {
|
|
1640
1640
|
orientation: "vertical",
|
|
1641
1641
|
align: "center",
|
|
1642
|
-
children: [/* @__PURE__ */ jsx(Typography.Paragraph, { children: "No sections available" }), /* @__PURE__ */ jsx(Typography.Text, { children: "Drag a component from the left to add it" })]
|
|
1642
|
+
children: [/* @__PURE__ */ jsx(Typography.Paragraph, { children: "No sections available" }), /* @__PURE__ */ jsx(Typography.Text, { children: isMobile ? "Tap a component to add it" : "Drag a component from the left to add it" })]
|
|
1643
1643
|
})
|
|
1644
1644
|
}) : /* @__PURE__ */ jsx(SortableContext, {
|
|
1645
1645
|
items: sections.map((s) => s.id),
|
|
@@ -1714,4 +1714,4 @@ Dnd.DraggableItem = DraggableItem;
|
|
|
1714
1714
|
//#endregion
|
|
1715
1715
|
export { DraggableItem as n, Dnd as t };
|
|
1716
1716
|
|
|
1717
|
-
//# sourceMappingURL=dnd-
|
|
1717
|
+
//# sourceMappingURL=dnd-BNFFJ9uv.js.map
|