sykpcomposer 0.0.66 → 0.0.67
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/index.es.js +7 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -44755,7 +44755,9 @@ function H2({
|
|
|
44755
44755
|
blockType: t,
|
|
44756
44756
|
styleConfig: f
|
|
44757
44757
|
}) {
|
|
44758
|
-
const [r, n] = rr.useState(y), [e, s] = rr.useState(t)
|
|
44758
|
+
const [r, n] = rr.useState(y), [e, s] = rr.useState(t);
|
|
44759
|
+
console.log("styleConfig coming inside fontsize.tsx =====>", f);
|
|
44760
|
+
const i = (u) => {
|
|
44759
44761
|
g.update(() => {
|
|
44760
44762
|
if (g.isEditable()) {
|
|
44761
44763
|
const h = Oe();
|
|
@@ -45446,7 +45448,9 @@ const jE = {
|
|
|
45446
45448
|
theme: B2
|
|
45447
45449
|
}, NE = () => /* @__PURE__ */ he.jsx(he.Fragment, { children: "hello" });
|
|
45448
45450
|
function ME({ collabApiKey: y, styleConfig: d, userObj: g }) {
|
|
45449
|
-
const [t, f] = wn(!1), [r, n] = wn([]), [e, s] = wn("demo_docId_1"), [i, l] = wn({ root: null }), { userId: o, userName: a, userEmail: c } = g, u = fi()
|
|
45451
|
+
const [t, f] = wn(!1), [r, n] = wn([]), [e, s] = wn("demo_docId_1"), [i, l] = wn({ root: null }), { userId: o, userName: a, userEmail: c } = g, u = fi();
|
|
45452
|
+
console.log("styleConfig passed in lexical pacakge is", d);
|
|
45453
|
+
const p = {
|
|
45450
45454
|
docId: e,
|
|
45451
45455
|
apiKey: y,
|
|
45452
45456
|
user: {
|
|
@@ -45504,7 +45508,7 @@ function ME({ collabApiKey: y, styleConfig: d, userObj: g }) {
|
|
|
45504
45508
|
let w = _;
|
|
45505
45509
|
if (w)
|
|
45506
45510
|
try {
|
|
45507
|
-
M2(w, Mp),
|
|
45511
|
+
M2(w, Mp), l(w);
|
|
45508
45512
|
} catch (x) {
|
|
45509
45513
|
console.error("[APP] error: ", x);
|
|
45510
45514
|
}
|