@ethberry/mui-lexical 1.0.19 → 1.0.20

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.
@@ -32,7 +32,7 @@ const Display = (props) => {
32
32
  const initialConfig = {
33
33
  namespace: "Display",
34
34
  theme: playgroundEditorTheme_1.playgroundEditorTheme,
35
- nodes: [...nodes_1.PlaygroundNodes],
35
+ nodes: [...nodes_1.MuiLexicalNodes],
36
36
  editable: false,
37
37
  onError: (error) => {
38
38
  console.error(error);
@@ -84,7 +84,7 @@ const Editor = (props) => {
84
84
  editorState: initialEditorState || null,
85
85
  editable: !readOnly,
86
86
  namespace: "Playground",
87
- nodes: [...nodes_1.PlaygroundNodes],
87
+ nodes: [...nodes_1.MuiLexicalNodes],
88
88
  onError: (error) => {
89
89
  throw error;
90
90
  },
@@ -1 +1,2 @@
1
1
  export { Editor, type IEditorProps } from "./Editor";
2
+ export { VideoNode, ImageNode, InlineImageNode, MuiLexicalNodes } from "./nodes";
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Editor = void 0;
3
+ exports.MuiLexicalNodes = exports.InlineImageNode = exports.ImageNode = exports.VideoNode = exports.Editor = void 0;
4
4
  var Editor_1 = require("./Editor");
5
5
  Object.defineProperty(exports, "Editor", { enumerable: true, get: function () { return Editor_1.Editor; } });
6
+ var nodes_1 = require("./nodes");
7
+ Object.defineProperty(exports, "VideoNode", { enumerable: true, get: function () { return nodes_1.VideoNode; } });
8
+ Object.defineProperty(exports, "ImageNode", { enumerable: true, get: function () { return nodes_1.ImageNode; } });
9
+ Object.defineProperty(exports, "InlineImageNode", { enumerable: true, get: function () { return nodes_1.InlineImageNode; } });
10
+ Object.defineProperty(exports, "MuiLexicalNodes", { enumerable: true, get: function () { return nodes_1.MuiLexicalNodes; } });
6
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/editor/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqD;AAA5C,gGAAA,MAAM,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/editor/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqD;AAA5C,gGAAA,MAAM,OAAA;AACf,iCAAiF;AAAxE,kGAAA,SAAS,OAAA;AAAE,kGAAA,SAAS,OAAA;AAAE,wGAAA,eAAe,OAAA;AAAE,wGAAA,eAAe,OAAA"}
@@ -0,0 +1,2 @@
1
+ import type { Klass, LexicalNode } from "lexical";
2
+ export declare const MuiLexicalNodes: Array<Klass<LexicalNode>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlaygroundNodes = void 0;
3
+ exports.MuiLexicalNodes = void 0;
4
4
  const code_1 = require("@lexical/code");
5
5
  const link_1 = require("@lexical/link");
6
6
  const list_1 = require("@lexical/list");
@@ -11,7 +11,7 @@ const table_1 = require("@lexical/table");
11
11
  const Image_1 = require("./Image");
12
12
  const InlineImage_1 = require("./InlineImage");
13
13
  const Video_1 = require("./Video");
14
- exports.PlaygroundNodes = [
14
+ exports.MuiLexicalNodes = [
15
15
  rich_text_1.HeadingNode,
16
16
  list_1.ListNode,
17
17
  list_1.ListItemNode,
@@ -29,4 +29,4 @@ exports.PlaygroundNodes = [
29
29
  LexicalHorizontalRuleNode_1.HorizontalRuleNode,
30
30
  Video_1.VideoNode,
31
31
  ];
32
- //# sourceMappingURL=PlaygroundNodes.js.map
32
+ //# sourceMappingURL=MuiLexicalNodes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlaygroundNodes.js","sourceRoot":"","sources":["../../../src/editor/nodes/PlaygroundNodes.ts"],"names":[],"mappings":";;;AACA,wCAA4D;AAC5D,wCAAuD;AACvD,wCAAuD;AACvD,gDAAiD;AACjD,wFAA8E;AAC9E,kDAA4D;AAC5D,0CAAwE;AAExE,mCAAoC;AACpC,+CAAgD;AAChD,mCAAoC;AAEvB,QAAA,eAAe,GAA8B;IACxD,uBAAW;IACX,eAAQ;IACR,mBAAY;IACZ,qBAAS;IACT,eAAQ;IACR,iBAAS;IACT,qBAAa;IACb,oBAAY;IACZ,wBAAiB;IACjB,mBAAY;IACZ,eAAQ;IACR,uBAAY;IACZ,iBAAS;IACT,6BAAe;IACf,8CAAkB;IAClB,iBAAS;CACV,CAAC"}
1
+ {"version":3,"file":"MuiLexicalNodes.js","sourceRoot":"","sources":["../../../src/editor/nodes/MuiLexicalNodes.ts"],"names":[],"mappings":";;;AACA,wCAA4D;AAC5D,wCAAuD;AACvD,wCAAuD;AACvD,gDAAiD;AACjD,wFAA8E;AAC9E,kDAA4D;AAC5D,0CAAwE;AAExE,mCAAoC;AACpC,+CAAgD;AAChD,mCAAoC;AAEvB,QAAA,eAAe,GAA8B;IACxD,uBAAW;IACX,eAAQ;IACR,mBAAY;IACZ,qBAAS;IACT,eAAQ;IACR,iBAAS;IACT,qBAAa;IACb,oBAAY;IACZ,wBAAiB;IACjB,mBAAY;IACZ,eAAQ;IACR,uBAAY;IACZ,iBAAS;IACT,6BAAe;IACf,8CAAkB;IAClB,iBAAS;CACV,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export * from "./Video";
2
2
  export * from "./InlineImage";
3
3
  export * from "./Image";
4
- export * from "./PlaygroundNodes";
4
+ export * from "./MuiLexicalNodes";
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Video"), exports);
18
18
  __exportStar(require("./InlineImage"), exports);
19
19
  __exportStar(require("./Image"), exports);
20
- __exportStar(require("./PlaygroundNodes"), exports);
20
+ __exportStar(require("./MuiLexicalNodes"), exports);
21
21
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -106,5 +106,5 @@
106
106
  "test": "jest"
107
107
  },
108
108
  "types": "./dist/index.d.ts",
109
- "version": "1.0.19"
109
+ "version": "1.0.20"
110
110
  }
@@ -1,2 +0,0 @@
1
- import type { Klass, LexicalNode } from "lexical";
2
- export declare const PlaygroundNodes: Array<Klass<LexicalNode>>;