@layers-app/editor 0.0.6 → 0.0.7
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/{DSD.DbuNrCbh.js → DSD.Bs-mdtMr.js} +5 -5
- package/dist/DSD.CEKnmfYP.js +5658 -0
- package/dist/{DSD.B-5jBun5.js → DSD.CJoXhyPN.js} +11 -11
- package/dist/DSD.D1n6xzHf.js +100568 -0
- package/dist/{DSD.CU4U6iKb.js → DSD.DYALR4Pm.js} +4 -4
- package/dist/{DSD.DUVMQb6h.js → DSD.T6oMQ-aO.js} +3 -3
- package/dist/index.js +2 -2
- package/dist/index.umd.cjs +1059 -104
- package/package.json +14 -14
- package/dist/DSD.Beb77L-c.js +0 -72528
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as g, jsxs as $, Fragment as F } from "react/jsx-runtime";
|
|
2
|
-
import { useState as U,
|
|
3
|
-
import { N as T, D as G, R as a, o as c, p as u, q as J, s as Q, v as A, x as Z, A as ee, z as te, H as ne, d as re, y as M, e as oe, E as S, k as se, G as ie, I as O, J as X, M as ae, O as ce, P as le, Q as ue, S as de, T as fe, U as me, V as ge, b as B, W as pe, X as Ce, Y as he, Z as ye, _ as ve, a0 as Ee, a1 as we,
|
|
4
|
-
import { d as xe, P as Pe } from "./DSD.
|
|
2
|
+
import { useState as U, useMemo as V, useLayoutEffect as Y, useEffect as b, Suspense as q, useRef as W } from "react";
|
|
3
|
+
import { N as T, D as G, R as a, o as c, p as u, q as J, s as Q, v as A, x as Z, A as ee, z as te, H as ne, d as re, y as M, e as oe, E as S, k as se, G as ie, I as O, J as X, M as ae, O as ce, P as le, Q as ue, S as de, T as fe, U as me, V as ge, b as B, W as pe, X as Ce, Y as he, Z as ye, _ as ve, a0 as Ee, a1 as we, n as ke, a2 as De, a3 as be, a4 as Le, g as Re, i as Se, C as x, a5 as P } from "./DSD.D1n6xzHf.js";
|
|
4
|
+
import { d as xe, P as Pe } from "./DSD.CJoXhyPN.js";
|
|
5
5
|
import { flushSync as $e, createPortal as Ne } from "react-dom";
|
|
6
6
|
const E = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Te = E && "documentMode" in document ? document.documentMode : null, Be = !(!E || !("InputEvent" in window) || Te) && "getTargetRanges" in new window.InputEvent("input"), _e = E && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), z = E && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, We = E && /^(?=.*Chrome).*/i.test(navigator.userAgent), Ae = E && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !We;
|
|
7
7
|
function I(n, t) {
|
|
@@ -274,9 +274,9 @@ function Ge({
|
|
|
274
274
|
/* @__PURE__ */ g(
|
|
275
275
|
Oe,
|
|
276
276
|
{
|
|
277
|
-
contentEditable: /* @__PURE__ */ g(
|
|
277
|
+
contentEditable: /* @__PURE__ */ g(Se, { className: "StickyNode__contentEditable" }),
|
|
278
278
|
placeholder: /* @__PURE__ */ g(Pe, { className: "StickyNode__placeholder", children: "What's up?" }),
|
|
279
|
-
ErrorBoundary:
|
|
279
|
+
ErrorBoundary: Re
|
|
280
280
|
}
|
|
281
281
|
)
|
|
282
282
|
] })
|