@layers-app/editor 0.0.5 → 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.D-vGMLsN.js → DSD.Bs-mdtMr.js} +5 -5
- package/dist/DSD.CEKnmfYP.js +5658 -0
- package/dist/{DSD.bbYNR0Ry.js → DSD.CJoXhyPN.js} +11 -11
- package/dist/DSD.D1n6xzHf.js +100568 -0
- package/dist/{DSD.pCjGF9sT.js → DSD.DYALR4Pm.js} +4 -4
- package/dist/{DSD.DWByepwT.js → DSD.T6oMQ-aO.js} +3 -3
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2 -2
- package/dist/index.umd.cjs +1059 -104
- package/package.json +14 -14
- package/dist/DSD.CVHG1cwA.js +0 -72438
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as f, Fragment as L } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as w, useState as E, useCallback as _, useEffect as j, Suspense as M } from "react";
|
|
3
|
-
import { u as U, a as z, b as O, w as k, R as F, C as B, $ as W, F as D, N as q, c as G, K as h, d as H, k as J, e as Q, D as V, r as X, t as Y, L as Z, f as K, h as ee, g as te, i as ne, j as ae, B as le } from "./DSD.
|
|
4
|
-
import { d as oe, P as ie } from "./DSD.
|
|
3
|
+
import { u as U, a as z, b as O, w as k, R as F, C as B, $ as W, F as D, N as q, c as G, K as h, d as H, k as J, e as Q, D as V, r as X, t as Y, L as Z, f as K, h as ee, g as te, i as ne, j as ae, B as le } from "./DSD.D1n6xzHf.js";
|
|
4
|
+
import { d as oe, P as ie } from "./DSD.CJoXhyPN.js";
|
|
5
5
|
import { TextInput as re } from "@mantine/core";
|
|
6
6
|
function se({
|
|
7
7
|
label: n,
|
|
@@ -272,9 +272,9 @@ function Ie({
|
|
|
272
272
|
/* @__PURE__ */ e(
|
|
273
273
|
ee,
|
|
274
274
|
{
|
|
275
|
-
contentEditable: /* @__PURE__ */ e(
|
|
275
|
+
contentEditable: /* @__PURE__ */ e(ne, { className: "InlineImageNode__contentEditable" }),
|
|
276
276
|
placeholder: /* @__PURE__ */ e(ie, { className: "InlineImageNode__placeholder", children: "Enter a caption..." }),
|
|
277
|
-
ErrorBoundary:
|
|
277
|
+
ErrorBoundary: te
|
|
278
278
|
}
|
|
279
279
|
)
|
|
280
280
|
] }) })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as I, useState as D, useRef as S, useCallback as $, useEffect as R } from "react";
|
|
3
|
-
import { b as V, a as j, w as P, R as x, C as k, l as b, N as E, k as w, K as v, e as B, r as y, B as A, m as T, n as W } from "./DSD.
|
|
3
|
+
import { b as V, a as j, w as P, R as x, C as k, l as b, N as E, k as w, K as v, e as B, r as y, B as A, m as T, n as W } from "./DSD.D1n6xzHf.js";
|
|
4
4
|
function O(...t) {
|
|
5
5
|
return t.filter(Boolean).join(" ");
|
|
6
6
|
}
|
|
@@ -14,7 +14,7 @@ function L({
|
|
|
14
14
|
totalVotes: a,
|
|
15
15
|
withPollNode: p
|
|
16
16
|
}) {
|
|
17
|
-
const { clientID: r } =
|
|
17
|
+
const { clientID: r } = W(), _ = S(null), m = t.votes, f = m.indexOf(r) !== -1, i = m.length, h = t.text;
|
|
18
18
|
return /* @__PURE__ */ C("div", { className: "PollNode__optionContainer", children: [
|
|
19
19
|
/* @__PURE__ */ o(
|
|
20
20
|
"div",
|
|
@@ -136,7 +136,7 @@ function z({
|
|
|
136
136
|
);
|
|
137
137
|
}, u = () => {
|
|
138
138
|
d((e) => {
|
|
139
|
-
e.addOption(
|
|
139
|
+
e.addOption(T());
|
|
140
140
|
});
|
|
141
141
|
}, N = P(g) && r;
|
|
142
142
|
return /* @__PURE__ */ o(
|