@etrepum/lexical-builder-devtools-core 0.0.23 → 0.0.24-nightly.20240614.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { jsxs as G, jsx as s } from "react/jsx-runtime";
2
- import { lazy as m, useMemo as v, Suspense as y } from "react";
1
+ import { jsxs as y, jsx as s } from "react/jsx-runtime";
2
+ import { lazy as m, useMemo as G, Suspense as v } from "react";
3
3
  import { LexicalBuilder as f, PACKAGE_VERSION as B, definePlan as P, provideOutput as x } from "@etrepum/lexical-builder";
4
4
  import { deflate as A } from "pako";
5
5
  import { fromUint8Array as E } from "js-base64";
@@ -64,14 +64,14 @@ function u({
64
64
  editor: r,
65
65
  ...e
66
66
  }) {
67
- const { text: t, href: o } = v(() => {
67
+ const { text: t, href: o } = G(() => {
68
68
  const l = b(r);
69
69
  return {
70
70
  text: l,
71
71
  href: C(l)
72
72
  };
73
73
  }, [r]), i = e.className ? {} : { style: { display: "grid", gap: "1rem" } };
74
- return /* @__PURE__ */ G("div", { ...i, ...e, children: [
74
+ return /* @__PURE__ */ y("div", { ...i, ...e, children: [
75
75
  /* @__PURE__ */ s("a", { href: o, target: "_blank", children: "mermaid.live" }),
76
76
  /* @__PURE__ */ s(S, { text: t })
77
77
  ] });
@@ -93,10 +93,10 @@ const N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93
93
  e !== void 0,
94
94
  "BuilderGraphPlan: Could not get a LexicalBuilder reference"
95
95
  ), x({
96
- Component: () => /* @__PURE__ */ s(y, { children: /* @__PURE__ */ s(O, { editor: r }) })
96
+ Component: () => /* @__PURE__ */ s(v, { children: /* @__PURE__ */ s(O, { editor: r }) })
97
97
  });
98
98
  }
99
- }), T = "0.0.23";
99
+ }), T = "0.0.24-nightly.20240614.0";
100
100
  export {
101
101
  u as BuilderGraphComponent,
102
102
  L as BuilderGraphPlan,
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "test": "vitest run",
16
16
  "test:watch": "vitest"
17
17
  },
18
- "version": "0.0.23",
18
+ "version": "0.0.24-nightly.20240614.0",
19
19
  "license": "MIT",
20
20
  "repository": {
21
21
  "type": "git",