@ethberry/mui-lexical 2.0.2 → 3.0.1

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.
Files changed (238) hide show
  1. package/dist/common/hooks/index.d.ts +1 -1
  2. package/dist/common/hooks/index.d.ts.map +1 -1
  3. package/dist/common/hooks/index.js +1 -1
  4. package/dist/common/hooks/index.js.map +1 -1
  5. package/dist/common/hooks/useModal.js +1 -1
  6. package/dist/common/hooks/useModal.js.map +1 -1
  7. package/dist/common/index.d.ts +2 -2
  8. package/dist/common/index.d.ts.map +1 -1
  9. package/dist/common/index.js +2 -2
  10. package/dist/common/index.js.map +1 -1
  11. package/dist/components/index.d.ts +1 -1
  12. package/dist/components/index.d.ts.map +1 -1
  13. package/dist/components/index.js +1 -1
  14. package/dist/components/index.js.map +1 -1
  15. package/dist/components/ui/index.d.ts +1 -1
  16. package/dist/components/ui/index.d.ts.map +1 -1
  17. package/dist/components/ui/index.js +1 -1
  18. package/dist/components/ui/index.js.map +1 -1
  19. package/dist/config/lexicalEditorConfig.d.ts.map +1 -1
  20. package/dist/config/lexicalEditorConfig.js +2 -11
  21. package/dist/config/lexicalEditorConfig.js.map +1 -1
  22. package/dist/display/index.js +3 -3
  23. package/dist/display/index.js.map +1 -1
  24. package/dist/editor/Editor.d.ts +1 -1
  25. package/dist/editor/Editor.d.ts.map +1 -1
  26. package/dist/editor/Editor.js +5 -5
  27. package/dist/editor/Editor.js.map +1 -1
  28. package/dist/editor/constants/index.d.ts +1 -1
  29. package/dist/editor/constants/index.d.ts.map +1 -1
  30. package/dist/editor/context/index.d.ts +2 -2
  31. package/dist/editor/context/index.d.ts.map +1 -1
  32. package/dist/editor/context/index.js +2 -2
  33. package/dist/editor/context/index.js.map +1 -1
  34. package/dist/editor/hooks/index.d.ts +1 -1
  35. package/dist/editor/hooks/index.d.ts.map +1 -1
  36. package/dist/editor/hooks/index.js +1 -1
  37. package/dist/editor/hooks/index.js.map +1 -1
  38. package/dist/editor/hooks/useModal.js +1 -1
  39. package/dist/editor/hooks/useModal.js.map +1 -1
  40. package/dist/editor/images/icons/index.d.ts +88 -88
  41. package/dist/editor/images/icons/index.d.ts.map +1 -1
  42. package/dist/editor/images/icons/index.js +88 -88
  43. package/dist/editor/images/icons/index.js.map +1 -1
  44. package/dist/editor/index.d.ts +2 -2
  45. package/dist/editor/index.d.ts.map +1 -1
  46. package/dist/editor/index.js +2 -2
  47. package/dist/editor/index.js.map +1 -1
  48. package/dist/editor/nodes/Image/ImageComponent.js +7 -7
  49. package/dist/editor/nodes/Image/ImageComponent.js.map +1 -1
  50. package/dist/editor/nodes/Image/ImageNode.js +1 -1
  51. package/dist/editor/nodes/Image/ImageNode.js.map +1 -1
  52. package/dist/editor/nodes/Image/index.d.ts +3 -3
  53. package/dist/editor/nodes/Image/index.d.ts.map +1 -1
  54. package/dist/editor/nodes/Image/index.js +3 -3
  55. package/dist/editor/nodes/Image/index.js.map +1 -1
  56. package/dist/editor/nodes/InlineImage/InlineImageComponent.d.ts +1 -1
  57. package/dist/editor/nodes/InlineImage/InlineImageComponent.d.ts.map +1 -1
  58. package/dist/editor/nodes/InlineImage/InlineImageComponent.js +6 -6
  59. package/dist/editor/nodes/InlineImage/InlineImageComponent.js.map +1 -1
  60. package/dist/editor/nodes/InlineImage/InlineImageNode.js +1 -1
  61. package/dist/editor/nodes/InlineImage/InlineImageNode.js.map +1 -1
  62. package/dist/editor/nodes/InlineImage/index.d.ts +3 -3
  63. package/dist/editor/nodes/InlineImage/index.d.ts.map +1 -1
  64. package/dist/editor/nodes/InlineImage/index.js +3 -3
  65. package/dist/editor/nodes/InlineImage/index.js.map +1 -1
  66. package/dist/editor/nodes/MuiLexicalNodes.js +3 -3
  67. package/dist/editor/nodes/MuiLexicalNodes.js.map +1 -1
  68. package/dist/editor/nodes/Video/VideoComponent.d.ts +1 -1
  69. package/dist/editor/nodes/Video/VideoComponent.d.ts.map +1 -1
  70. package/dist/editor/nodes/Video/VideoComponent.js +1 -5
  71. package/dist/editor/nodes/Video/VideoComponent.js.map +1 -1
  72. package/dist/editor/nodes/Video/VideoNode.d.ts +2 -2
  73. package/dist/editor/nodes/Video/VideoNode.d.ts.map +1 -1
  74. package/dist/editor/nodes/Video/VideoNode.js +4 -4
  75. package/dist/editor/nodes/Video/VideoNode.js.map +1 -1
  76. package/dist/editor/nodes/Video/index.d.ts +3 -3
  77. package/dist/editor/nodes/Video/index.d.ts.map +1 -1
  78. package/dist/editor/nodes/Video/index.js +3 -3
  79. package/dist/editor/nodes/Video/index.js.map +1 -1
  80. package/dist/editor/nodes/index.d.ts +4 -4
  81. package/dist/editor/nodes/index.d.ts.map +1 -1
  82. package/dist/editor/nodes/index.js +4 -4
  83. package/dist/editor/nodes/index.js.map +1 -1
  84. package/dist/editor/plugins/CodeActionMenuPlugin/components/CopyButton/index.js +1 -1
  85. package/dist/editor/plugins/CodeActionMenuPlugin/components/CopyButton/index.js.map +1 -1
  86. package/dist/editor/plugins/CodeActionMenuPlugin/components/index.d.ts +2 -2
  87. package/dist/editor/plugins/CodeActionMenuPlugin/components/index.d.ts.map +1 -1
  88. package/dist/editor/plugins/CodeActionMenuPlugin/components/index.js +2 -2
  89. package/dist/editor/plugins/CodeActionMenuPlugin/components/index.js.map +1 -1
  90. package/dist/editor/plugins/CodeActionMenuPlugin/index.d.ts +1 -1
  91. package/dist/editor/plugins/CodeActionMenuPlugin/index.d.ts.map +1 -1
  92. package/dist/editor/plugins/CodeActionMenuPlugin/index.js +6 -5
  93. package/dist/editor/plugins/CodeActionMenuPlugin/index.js.map +1 -1
  94. package/dist/editor/plugins/CodeHighlightPlugin/index.js +1 -1
  95. package/dist/editor/plugins/CodeHighlightPlugin/index.js.map +1 -1
  96. package/dist/editor/plugins/ComponentPickerPlugin/index.js +4 -4
  97. package/dist/editor/plugins/ComponentPickerPlugin/index.js.map +1 -1
  98. package/dist/editor/plugins/FloatingLinkEditorPlugin/index.d.ts +1 -1
  99. package/dist/editor/plugins/FloatingLinkEditorPlugin/index.d.ts.map +1 -1
  100. package/dist/editor/plugins/FloatingLinkEditorPlugin/index.js +5 -5
  101. package/dist/editor/plugins/FloatingLinkEditorPlugin/index.js.map +1 -1
  102. package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +2 -2
  103. package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.d.ts.map +1 -1
  104. package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.js +4 -4
  105. package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.js.map +1 -1
  106. package/dist/editor/plugins/ImagesPlugin/index.d.ts +1 -1
  107. package/dist/editor/plugins/ImagesPlugin/index.d.ts.map +1 -1
  108. package/dist/editor/plugins/ImagesPlugin/index.js +4 -4
  109. package/dist/editor/plugins/ImagesPlugin/index.js.map +1 -1
  110. package/dist/editor/plugins/LinkPlugin/index.js +1 -1
  111. package/dist/editor/plugins/LinkPlugin/index.js.map +1 -1
  112. package/dist/editor/plugins/MarkdownShortcutPlugin/index.js +1 -1
  113. package/dist/editor/plugins/MarkdownShortcutPlugin/index.js.map +1 -1
  114. package/dist/editor/plugins/MarkdownTransformers/index.js +1 -1
  115. package/dist/editor/plugins/MarkdownTransformers/index.js.map +1 -1
  116. package/dist/editor/plugins/ShortcutsPlugin/index.js +4 -4
  117. package/dist/editor/plugins/ShortcutsPlugin/index.js.map +1 -1
  118. package/dist/editor/plugins/TableActionMenuPlugin/index.js +2 -2
  119. package/dist/editor/plugins/TableActionMenuPlugin/index.js.map +1 -1
  120. package/dist/editor/plugins/TableCellResizer/index.d.ts +1 -1
  121. package/dist/editor/plugins/TableCellResizer/index.d.ts.map +1 -1
  122. package/dist/editor/plugins/TableCellResizer/index.js +2 -2
  123. package/dist/editor/plugins/TableCellResizer/index.js.map +1 -1
  124. package/dist/editor/plugins/TableHoverActionsPlugin/index.js +2 -2
  125. package/dist/editor/plugins/TableHoverActionsPlugin/index.js.map +1 -1
  126. package/dist/editor/plugins/TablePlugin.js +3 -3
  127. package/dist/editor/plugins/TablePlugin.js.map +1 -1
  128. package/dist/editor/plugins/ToolbarPlugin/index.d.ts +1 -1
  129. package/dist/editor/plugins/ToolbarPlugin/index.d.ts.map +1 -1
  130. package/dist/editor/plugins/ToolbarPlugin/index.js +8 -7
  131. package/dist/editor/plugins/ToolbarPlugin/index.js.map +1 -1
  132. package/dist/editor/plugins/ToolbarPlugin/utils.js +1 -1
  133. package/dist/editor/plugins/ToolbarPlugin/utils.js.map +1 -1
  134. package/dist/editor/plugins/VideoPlugin/index.d.ts.map +1 -1
  135. package/dist/editor/plugins/VideoPlugin/index.js +7 -7
  136. package/dist/editor/plugins/VideoPlugin/index.js.map +1 -1
  137. package/dist/editor/plugins/index.d.ts +19 -19
  138. package/dist/editor/plugins/index.d.ts.map +1 -1
  139. package/dist/editor/plugins/index.js +19 -19
  140. package/dist/editor/plugins/index.js.map +1 -1
  141. package/dist/editor/themes/index.d.ts +1 -1
  142. package/dist/editor/themes/index.d.ts.map +1 -1
  143. package/dist/editor/themes/index.js +1 -1
  144. package/dist/editor/themes/index.js.map +1 -1
  145. package/dist/editor/types/index.d.ts +2 -2
  146. package/dist/editor/types/index.d.ts.map +1 -1
  147. package/dist/editor/ui/BlockFormatDropdown/index.d.ts +3 -3
  148. package/dist/editor/ui/BlockFormatDropdown/index.d.ts.map +1 -1
  149. package/dist/editor/ui/BlockFormatDropdown/index.js +6 -6
  150. package/dist/editor/ui/BlockFormatDropdown/index.js.map +1 -1
  151. package/dist/editor/ui/BoldButton/index.d.ts +1 -1
  152. package/dist/editor/ui/BoldButton/index.d.ts.map +1 -1
  153. package/dist/editor/ui/BoldButton/index.js +2 -2
  154. package/dist/editor/ui/BoldButton/index.js.map +1 -1
  155. package/dist/editor/ui/Button.js +1 -1
  156. package/dist/editor/ui/Button.js.map +1 -1
  157. package/dist/editor/ui/CenterAlignButton/index.d.ts +1 -1
  158. package/dist/editor/ui/CenterAlignButton/index.d.ts.map +1 -1
  159. package/dist/editor/ui/CenterAlignButton/index.js +2 -2
  160. package/dist/editor/ui/CenterAlignButton/index.js.map +1 -1
  161. package/dist/editor/ui/ClearEditorButton/index.d.ts +1 -1
  162. package/dist/editor/ui/ClearEditorButton/index.d.ts.map +1 -1
  163. package/dist/editor/ui/ClearEditorButton/index.js +1 -1
  164. package/dist/editor/ui/ClearEditorButton/index.js.map +1 -1
  165. package/dist/editor/ui/ClearFormattingButton/index.d.ts +1 -1
  166. package/dist/editor/ui/ClearFormattingButton/index.d.ts.map +1 -1
  167. package/dist/editor/ui/ClearFormattingButton/index.js +1 -1
  168. package/dist/editor/ui/ClearFormattingButton/index.js.map +1 -1
  169. package/dist/editor/ui/CodeButton/index.d.ts +1 -1
  170. package/dist/editor/ui/CodeButton/index.d.ts.map +1 -1
  171. package/dist/editor/ui/CodeButton/index.js +2 -2
  172. package/dist/editor/ui/CodeButton/index.js.map +1 -1
  173. package/dist/editor/ui/CodeLanguageDropdown/index.d.ts +2 -2
  174. package/dist/editor/ui/CodeLanguageDropdown/index.d.ts.map +1 -1
  175. package/dist/editor/ui/CodeLanguageDropdown/index.js +3 -3
  176. package/dist/editor/ui/CodeLanguageDropdown/index.js.map +1 -1
  177. package/dist/editor/ui/HorizontalRuleButton/index.d.ts +1 -1
  178. package/dist/editor/ui/HorizontalRuleButton/index.d.ts.map +1 -1
  179. package/dist/editor/ui/HorizontalRuleButton/index.js +1 -1
  180. package/dist/editor/ui/HorizontalRuleButton/index.js.map +1 -1
  181. package/dist/editor/ui/ImageButton/index.d.ts +2 -2
  182. package/dist/editor/ui/ImageButton/index.d.ts.map +1 -1
  183. package/dist/editor/ui/ImageButton/index.js +2 -2
  184. package/dist/editor/ui/ImageButton/index.js.map +1 -1
  185. package/dist/editor/ui/ItalicButton/index.d.ts +1 -1
  186. package/dist/editor/ui/ItalicButton/index.d.ts.map +1 -1
  187. package/dist/editor/ui/ItalicButton/index.js +2 -2
  188. package/dist/editor/ui/ItalicButton/index.js.map +1 -1
  189. package/dist/editor/ui/LeftAlignButton/index.d.ts +1 -1
  190. package/dist/editor/ui/LeftAlignButton/index.d.ts.map +1 -1
  191. package/dist/editor/ui/LeftAlignButton/index.js +2 -2
  192. package/dist/editor/ui/LeftAlignButton/index.js.map +1 -1
  193. package/dist/editor/ui/LinkButton/index.d.ts +1 -1
  194. package/dist/editor/ui/LinkButton/index.d.ts.map +1 -1
  195. package/dist/editor/ui/LinkButton/index.js +2 -2
  196. package/dist/editor/ui/LinkButton/index.js.map +1 -1
  197. package/dist/editor/ui/RedoButton/index.d.ts +1 -1
  198. package/dist/editor/ui/RedoButton/index.d.ts.map +1 -1
  199. package/dist/editor/ui/RedoButton/index.js +1 -1
  200. package/dist/editor/ui/RedoButton/index.js.map +1 -1
  201. package/dist/editor/ui/RightAlignButton/index.d.ts +1 -1
  202. package/dist/editor/ui/RightAlignButton/index.d.ts.map +1 -1
  203. package/dist/editor/ui/RightAlignButton/index.js +2 -2
  204. package/dist/editor/ui/RightAlignButton/index.js.map +1 -1
  205. package/dist/editor/ui/StrikethroughButton/index.d.ts +1 -1
  206. package/dist/editor/ui/StrikethroughButton/index.d.ts.map +1 -1
  207. package/dist/editor/ui/StrikethroughButton/index.js +2 -2
  208. package/dist/editor/ui/StrikethroughButton/index.js.map +1 -1
  209. package/dist/editor/ui/TableButton/index.d.ts +2 -2
  210. package/dist/editor/ui/TableButton/index.d.ts.map +1 -1
  211. package/dist/editor/ui/TableButton/index.js +2 -2
  212. package/dist/editor/ui/TableButton/index.js.map +1 -1
  213. package/dist/editor/ui/UnderlineButton/index.d.ts +1 -1
  214. package/dist/editor/ui/UnderlineButton/index.d.ts.map +1 -1
  215. package/dist/editor/ui/UnderlineButton/index.js +2 -2
  216. package/dist/editor/ui/UnderlineButton/index.js.map +1 -1
  217. package/dist/editor/ui/UndoButton/index.d.ts +1 -1
  218. package/dist/editor/ui/UndoButton/index.d.ts.map +1 -1
  219. package/dist/editor/ui/UndoButton/index.js +1 -1
  220. package/dist/editor/ui/UndoButton/index.js.map +1 -1
  221. package/dist/editor/ui/VideoButton/index.d.ts +2 -2
  222. package/dist/editor/ui/VideoButton/index.d.ts.map +1 -1
  223. package/dist/editor/ui/VideoButton/index.js +2 -2
  224. package/dist/editor/ui/VideoButton/index.js.map +1 -1
  225. package/dist/editor/ui/index.d.ts +29 -29
  226. package/dist/editor/ui/index.d.ts.map +1 -1
  227. package/dist/editor/ui/index.js +36 -36
  228. package/dist/editor/ui/index.js.map +1 -1
  229. package/dist/editor/utils/index.d.ts +9 -9
  230. package/dist/editor/utils/index.d.ts.map +1 -1
  231. package/dist/editor/utils/index.js +9 -9
  232. package/dist/editor/utils/index.js.map +1 -1
  233. package/dist/index.d.ts +2 -2
  234. package/dist/index.d.ts.map +1 -1
  235. package/dist/index.js +7 -7
  236. package/dist/index.js.map +1 -1
  237. package/package.json +16 -14
  238. package/tsconfig.jest.json +2 -2
@@ -1,4 +1,4 @@
1
1
  import { FC } from "react";
2
- import { IToolbarComponentProps } from "../../../common";
2
+ import { IToolbarComponentProps } from "../../../common/index.js";
3
3
  export declare const RedoButton: FC<IToolbarComponentProps>;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/RedoButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,sBAAsB,CAejD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/RedoButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,sBAAsB,CAejD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { REDO_COMMAND } from "lexical";
3
3
  import { IS_APPLE } from "@lexical/utils";
4
- import { ArrowClockwiseIcon } from "../../images/icons";
4
+ import { ArrowClockwiseIcon } from "../../images/icons/index.js";
5
5
  export const RedoButton = ({ activeEditor, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(REDO_COMMAND, undefined);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/RedoButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,UAAU,GAA+B,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QACxD,CAAC,EACD,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,EAChD,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,cAAc,gBACb,MAAM,YAEjB,KAAC,kBAAkB,KAAG,GACf,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/RedoButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,CAAC,MAAM,UAAU,GAA+B,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QACxD,CAAC,EACD,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,EAChD,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,cAAc,gBACb,MAAM,YAEjB,KAAC,kBAAkB,KAAG,GACf,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { IToolbarComponentProps } from "../../../common";
2
+ import { IToolbarComponentProps } from "../../../common/index.js";
3
3
  interface IRightAlignButtonProps extends IToolbarComponentProps {
4
4
  isRightAlign: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/RightAlignButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,sBAAuB,SAAQ,sBAAsB;IAC7D,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,sBAAsB,CAevD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/RightAlignButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,sBAAuB,SAAQ,sBAAsB;IAC7D,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,sBAAsB,CAevD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { FORMAT_ELEMENT_COMMAND } from "lexical";
3
- import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts";
4
- import { TextRightIcon } from "../../images/icons";
3
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
4
+ import { TextRightIcon } from "../../images/icons/index.js";
5
5
  export const RightAlignButton = ({ activeEditor, isRightAlign, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(FORMAT_ELEMENT_COMMAND, "right");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/RightAlignButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAMnD,MAAM,CAAC,MAAM,gBAAgB,GAA+B,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvG,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;QAChE,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EAClE,KAAK,EAAE,gBAAgB,SAAS,CAAC,WAAW,GAAG,EAC/C,IAAI,EAAC,QAAQ,gBACD,yCAAyC,SAAS,CAAC,WAAW,EAAE,YAE5E,KAAC,aAAa,KAAG,GACV,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/RightAlignButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAM5D,MAAM,CAAC,MAAM,gBAAgB,GAA+B,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvG,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;QAChE,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EAClE,KAAK,EAAE,gBAAgB,SAAS,CAAC,WAAW,GAAG,EAC/C,IAAI,EAAC,QAAQ,gBACD,yCAAyC,SAAS,CAAC,WAAW,EAAE,YAE5E,KAAC,aAAa,KAAG,GACV,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { IToolbarComponentProps } from "../../../common";
2
+ import { IToolbarComponentProps } from "../../../common/index.js";
3
3
  interface IStrikethroughButtonProps extends IToolbarComponentProps {
4
4
  isStrikethrough: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/StrikethroughButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,yBAA0B,SAAQ,sBAAsB;IAChE,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,yBAAyB,CAe7D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/StrikethroughButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,yBAA0B,SAAQ,sBAAsB;IAChE,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,yBAAyB,CAe7D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { FORMAT_TEXT_COMMAND } from "lexical";
3
- import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts";
4
- import { TypeStrikethroughIcon } from "../../images/icons";
3
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
4
+ import { TypeStrikethroughIcon } from "../../images/icons/index.js";
5
5
  export const StrikethroughButton = ({ activeEditor, isStrikethrough, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(FORMAT_TEXT_COMMAND, "strikethrough");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/StrikethroughButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAM3D,MAAM,CAAC,MAAM,mBAAmB,GAAkC,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChH,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC;QACrE,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACrE,KAAK,EAAE,WAAW,SAAS,CAAC,aAAa,GAAG,EAC5C,IAAI,EAAC,QAAQ,gBACD,qCAAqC,SAAS,CAAC,aAAa,EAAE,YAE1E,KAAC,qBAAqB,KAAG,GAClB,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/StrikethroughButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAMpE,MAAM,CAAC,MAAM,mBAAmB,GAAkC,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChH,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC;QACrE,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACrE,KAAK,EAAE,WAAW,SAAS,CAAC,aAAa,GAAG,EAC5C,IAAI,EAAC,QAAQ,gBACD,qCAAqC,SAAS,CAAC,aAAa,EAAE,YAE1E,KAAC,qBAAqB,KAAG,GAClB,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { FC } from "react";
2
- import { IToolbarComponentProps } from "../../../common";
3
- import { useModal } from "../../hooks";
2
+ import { IToolbarComponentProps } from "../../../common/index.js";
3
+ import { useModal } from "../../hooks/index.js";
4
4
  interface ITableButtonProps extends Omit<IToolbarComponentProps, "disabled"> {
5
5
  showModal: ReturnType<typeof useModal>[1];
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/TableButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,UAAU,iBAAkB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC;IAC1E,SAAS,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAc7C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/TableButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,UAAU,iBAAkB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC;IAC1E,SAAS,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAc7C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { InsertTableDialog } from "../../plugins";
3
- import { TableIcon } from "../../images/icons";
2
+ import { InsertTableDialog } from "../../plugins/index.js";
3
+ import { TableIcon } from "../../images/icons/index.js";
4
4
  export const TableButton = ({ activeEditor, showModal }) => {
5
5
  return (_jsx("button", { onClick: () => {
6
6
  showModal("Insert Table", onClose => _jsx(InsertTableDialog, { activeEditor: activeEditor, onClose: onClose }));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/TableButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,MAAM,CAAC,MAAM,WAAW,GAA0B,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,iBACE,OAAO,EAAE,GAAG,EAAE;YACZ,SAAS,CAAC,cAAc,EAAE,OAAO,CAAC,EAAE,CAAC,KAAC,iBAAiB,IAAC,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC;QAC5G,CAAC,EACD,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,QAAQ,gBACF,OAAO,YAElB,KAAC,SAAS,KAAG,GACN,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/TableButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMxD,MAAM,CAAC,MAAM,WAAW,GAA0B,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,iBACE,OAAO,EAAE,GAAG,EAAE;YACZ,SAAS,CAAC,cAAc,EAAE,OAAO,CAAC,EAAE,CAAC,KAAC,iBAAiB,IAAC,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC;QAC5G,CAAC,EACD,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,QAAQ,gBACF,OAAO,YAElB,KAAC,SAAS,KAAG,GACN,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { IToolbarComponentProps } from "../../../common";
2
+ import { IToolbarComponentProps } from "../../../common/index.js";
3
3
  interface IUnderlineButtonProps extends IToolbarComponentProps {
4
4
  isUnderline: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/UnderlineButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,qBAAsB,SAAQ,sBAAsB;IAC5D,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CAerD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/UnderlineButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,qBAAsB,SAAQ,sBAAsB;IAC5D,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CAerD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { FORMAT_TEXT_COMMAND } from "lexical";
3
- import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts";
4
- import { TypeUnderlineIcon } from "../../images/icons";
3
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
4
+ import { TypeUnderlineIcon } from "../../images/icons/index.js";
5
5
  export const UnderlineButton = ({ activeEditor, isUnderline, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(FORMAT_TEXT_COMMAND, "underline");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/UnderlineButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAMvD,MAAM,CAAC,MAAM,eAAe,GAA8B,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpG,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,mBAAmB,EAAE,WAAW,CAAC,CAAC;QACjE,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACjE,KAAK,EAAE,WAAW,SAAS,CAAC,SAAS,GAAG,EACxC,IAAI,EAAC,QAAQ,gBACD,qCAAqC,SAAS,CAAC,SAAS,EAAE,YAEtE,KAAC,iBAAiB,KAAG,GACd,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/UnderlineButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAMhE,MAAM,CAAC,MAAM,eAAe,GAA8B,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpG,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,mBAAmB,EAAE,WAAW,CAAC,CAAC;QACjE,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACjE,KAAK,EAAE,WAAW,SAAS,CAAC,SAAS,GAAG,EACxC,IAAI,EAAC,QAAQ,gBACD,qCAAqC,SAAS,CAAC,SAAS,EAAE,YAEtE,KAAC,iBAAiB,KAAG,GACd,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { FC } from "react";
2
- import { IToolbarComponentProps } from "../../../common";
2
+ import { IToolbarComponentProps } from "../../../common/index.js";
3
3
  export declare const UndoButton: FC<IToolbarComponentProps>;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/UndoButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,sBAAsB,CAejD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/UndoButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,sBAAsB,CAejD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { UNDO_COMMAND } from "lexical";
3
3
  import { IS_APPLE } from "@lexical/utils";
4
- import { ArrowCounterclockwiseIcon } from "../../images/icons";
4
+ import { ArrowCounterclockwiseIcon } from "../../images/icons/index.js";
5
5
  export const UndoButton = ({ activeEditor, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(UNDO_COMMAND, undefined);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/UndoButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,MAAM,CAAC,MAAM,UAAU,GAA+B,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QACxD,CAAC,EACD,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAC/C,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,qBAAqB,gBACpB,MAAM,YAEjB,KAAC,yBAAyB,KAAG,GACtB,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/UndoButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,CAAC,MAAM,UAAU,GAA+B,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QACxD,CAAC,EACD,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAC/C,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,qBAAqB,gBACpB,MAAM,YAEjB,KAAC,yBAAyB,KAAG,GACtB,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { FC } from "react";
2
- import { IToolbarComponentProps } from "../../../common";
3
- import { useModal } from "../../hooks";
2
+ import { IToolbarComponentProps } from "../../../common/index.js";
3
+ import { useModal } from "../../hooks/index.js";
4
4
  interface IVideoButtonProps extends Omit<IToolbarComponentProps, "disabled"> {
5
5
  showModal: ReturnType<typeof useModal>[1];
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/VideoButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,UAAU,iBAAkB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC;IAC1E,SAAS,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAc7C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/VideoButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,UAAU,iBAAkB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC;IAC1E,SAAS,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAc7C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { InsertVideoDialog } from "../../plugins";
3
- import { YoutubeIcon } from "../../images/icons";
2
+ import { InsertVideoDialog } from "../../plugins/index.js";
3
+ import { YoutubeIcon } from "../../images/icons/index.js";
4
4
  export const VideoButton = ({ activeEditor, showModal }) => {
5
5
  return (_jsx("button", { onClick: () => {
6
6
  showModal("Insert Video", onClose => _jsx(InsertVideoDialog, { activeEditor: activeEditor, onClose: onClose }));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/VideoButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAMjD,MAAM,CAAC,MAAM,WAAW,GAA0B,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,iBACE,OAAO,EAAE,GAAG,EAAE;YACZ,SAAS,CAAC,cAAc,EAAE,OAAO,CAAC,EAAE,CAAC,KAAC,iBAAiB,IAAC,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC;QAC5G,CAAC,EACD,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,QAAQ,gBACF,OAAO,YAElB,KAAC,WAAW,KAAG,GACR,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/VideoButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAM1D,MAAM,CAAC,MAAM,WAAW,GAA0B,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,iBACE,OAAO,EAAE,GAAG,EAAE;YACZ,SAAS,CAAC,cAAc,EAAE,OAAO,CAAC,EAAE,CAAC,KAAC,iBAAiB,IAAC,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC;QAC5G,CAAC,EACD,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,QAAQ,gBACF,OAAO,YAElB,KAAC,WAAW,KAAG,GACR,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,31 +1,31 @@
1
- export { Button } from "./Button";
2
- export { LexicalContentEditable } from "./ContentEditable";
3
- export { DialogButtonsList, DialogActions } from "./Dialog";
4
- export { DropDown, DropDownItem } from "./DropDown";
5
- export { FlashMessage } from "./FlashMessage";
6
- export { ImageResizer } from "./ImageResizer";
7
- export { Modal } from "./Modal";
8
- export { Select } from "./Select";
9
- export { TextInput } from "./TextInput";
10
- export * from "./UndoButton";
11
- export * from "./RedoButton";
12
- export * from "./BoldButton";
13
- export * from "./ClearFormattingButton";
14
- export * from "./ClearEditorButton";
15
- export * from "./CodeButton";
16
- export * from "./ItalicButton";
17
- export * from "./ImageButton";
18
- export * from "./HorizontalRuleButton";
19
- export * from "./LinkButton";
20
- export * from "./UnderlineButton";
21
- export * from "./StrikethroughButton";
22
- export * from "./TableButton";
23
- export * from "./VideoButton";
24
- export * from "./Divider";
25
- export * from "./BlockFormatDropdown";
26
- export * from "./CodeLanguageDropdown";
27
- export * from "./LeftAlignButton";
28
- export * from "./CenterAlignButton";
29
- export * from "./RightAlignButton";
1
+ export { Button } from "./Button.js";
2
+ export { LexicalContentEditable } from "./ContentEditable.js";
3
+ export { DialogButtonsList, DialogActions } from "./Dialog.js";
4
+ export { DropDown, DropDownItem } from "./DropDown.js";
5
+ export { FlashMessage } from "./FlashMessage.js";
6
+ export { ImageResizer } from "./ImageResizer.js";
7
+ export { Modal } from "./Modal.js";
8
+ export { Select } from "./Select.js";
9
+ export { TextInput } from "./TextInput.js";
10
+ export * from "./UndoButton/index.js";
11
+ export * from "./RedoButton/index.js";
12
+ export * from "./BoldButton/index.js";
13
+ export * from "./ClearFormattingButton/index.js";
14
+ export * from "./ClearEditorButton/index.js";
15
+ export * from "./CodeButton/index.js";
16
+ export * from "./ItalicButton/index.js";
17
+ export * from "./ImageButton/index.js";
18
+ export * from "./HorizontalRuleButton/index.js";
19
+ export * from "./LinkButton/index.js";
20
+ export * from "./UnderlineButton/index.js";
21
+ export * from "./StrikethroughButton/index.js";
22
+ export * from "./TableButton/index.js";
23
+ export * from "./VideoButton/index.js";
24
+ export * from "./Divider/index.js";
25
+ export * from "./BlockFormatDropdown/index.js";
26
+ export * from "./CodeLanguageDropdown/index.js";
27
+ export * from "./LeftAlignButton/index.js";
28
+ export * from "./CenterAlignButton/index.js";
29
+ export * from "./RightAlignButton/index.js";
30
30
  export declare const componentsStyles: import("@emotion/utils").SerializedStyles[];
31
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/ui/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AAEnC,eAAO,MAAM,gBAAgB,6CAQ5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/ui/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAE5C,eAAO,MAAM,gBAAgB,6CAQ5B,CAAC"}
@@ -1,39 +1,39 @@
1
- import { buttonStyles } from "./Button";
2
- import { lexicalContentEditableStyles } from "./ContentEditable";
3
- import { lexicalDialogStyles } from "./Dialog";
4
- import { lexicalFlashMessageStyles } from "./FlashMessage";
5
- import { lexicalModalStyles } from "./Modal";
6
- import { lexicalSelectStyles } from "./Select";
7
- import { lexicalTextInputStyles } from "./TextInput";
8
- export { Button } from "./Button";
9
- export { LexicalContentEditable } from "./ContentEditable";
10
- export { DialogButtonsList, DialogActions } from "./Dialog";
11
- export { DropDown, DropDownItem } from "./DropDown";
12
- export { FlashMessage } from "./FlashMessage";
13
- export { ImageResizer } from "./ImageResizer";
14
- export { Modal } from "./Modal";
15
- export { Select } from "./Select";
16
- export { TextInput } from "./TextInput";
17
- export * from "./UndoButton";
18
- export * from "./RedoButton";
19
- export * from "./BoldButton";
20
- export * from "./ClearFormattingButton";
21
- export * from "./ClearEditorButton";
22
- export * from "./CodeButton";
23
- export * from "./ItalicButton";
24
- export * from "./ImageButton";
25
- export * from "./HorizontalRuleButton";
26
- export * from "./LinkButton";
27
- export * from "./UnderlineButton";
28
- export * from "./StrikethroughButton";
29
- export * from "./TableButton";
30
- export * from "./VideoButton";
31
- export * from "./Divider";
32
- export * from "./BlockFormatDropdown";
33
- export * from "./CodeLanguageDropdown";
34
- export * from "./LeftAlignButton";
35
- export * from "./CenterAlignButton";
36
- export * from "./RightAlignButton";
1
+ import { buttonStyles } from "./Button.js";
2
+ import { lexicalContentEditableStyles } from "./ContentEditable.js";
3
+ import { lexicalDialogStyles } from "./Dialog.js";
4
+ import { lexicalFlashMessageStyles } from "./FlashMessage.js";
5
+ import { lexicalModalStyles } from "./Modal.js";
6
+ import { lexicalSelectStyles } from "./Select.js";
7
+ import { lexicalTextInputStyles } from "./TextInput.js";
8
+ export { Button } from "./Button.js";
9
+ export { LexicalContentEditable } from "./ContentEditable.js";
10
+ export { DialogButtonsList, DialogActions } from "./Dialog.js";
11
+ export { DropDown, DropDownItem } from "./DropDown.js";
12
+ export { FlashMessage } from "./FlashMessage.js";
13
+ export { ImageResizer } from "./ImageResizer.js";
14
+ export { Modal } from "./Modal.js";
15
+ export { Select } from "./Select.js";
16
+ export { TextInput } from "./TextInput.js";
17
+ export * from "./UndoButton/index.js";
18
+ export * from "./RedoButton/index.js";
19
+ export * from "./BoldButton/index.js";
20
+ export * from "./ClearFormattingButton/index.js";
21
+ export * from "./ClearEditorButton/index.js";
22
+ export * from "./CodeButton/index.js";
23
+ export * from "./ItalicButton/index.js";
24
+ export * from "./ImageButton/index.js";
25
+ export * from "./HorizontalRuleButton/index.js";
26
+ export * from "./LinkButton/index.js";
27
+ export * from "./UnderlineButton/index.js";
28
+ export * from "./StrikethroughButton/index.js";
29
+ export * from "./TableButton/index.js";
30
+ export * from "./VideoButton/index.js";
31
+ export * from "./Divider/index.js";
32
+ export * from "./BlockFormatDropdown/index.js";
33
+ export * from "./CodeLanguageDropdown/index.js";
34
+ export * from "./LeftAlignButton/index.js";
35
+ export * from "./CenterAlignButton/index.js";
36
+ export * from "./RightAlignButton/index.js";
37
37
  export const componentsStyles = [
38
38
  buttonStyles,
39
39
  lexicalContentEditableStyles,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AAEnC,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,YAAY;IACZ,4BAA4B;IAC5B,mBAAmB;IACnB,yBAAyB;IACzB,kBAAkB;IAClB,mBAAmB;IACnB,sBAAsB;CACvB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAE5C,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,YAAY;IACZ,4BAA4B;IAC5B,mBAAmB;IACnB,yBAAyB;IACzB,kBAAkB;IAClB,mBAAmB;IACnB,sBAAsB;CACvB,CAAC"}
@@ -1,10 +1,10 @@
1
- export * from "./dropDownActiveClass";
2
- export * from "./getDOMRangeRect";
3
- export * from "./getSelectedNode";
4
- export * from "./getThemeSelector";
5
- export * from "./joinClasses";
6
- export * from "./parseVideoUrl";
7
- export * from "./setFloatingElemPosition";
8
- export * from "./setFloatingElemPositionForLinkEditor";
9
- export * from "./url";
1
+ export * from "./dropDownActiveClass.js";
2
+ export * from "./getDOMRangeRect.js";
3
+ export * from "./getSelectedNode.js";
4
+ export * from "./getThemeSelector.js";
5
+ export * from "./joinClasses.js";
6
+ export * from "./parseVideoUrl.js";
7
+ export * from "./setFloatingElemPosition.js";
8
+ export * from "./setFloatingElemPositionForLinkEditor.js";
9
+ export * from "./url.js";
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wCAAwC,CAAC;AACvD,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,UAAU,CAAC"}
@@ -1,10 +1,10 @@
1
- export * from "./dropDownActiveClass";
2
- export * from "./getDOMRangeRect";
3
- export * from "./getSelectedNode";
4
- export * from "./getThemeSelector";
5
- export * from "./joinClasses";
6
- export * from "./parseVideoUrl";
7
- export * from "./setFloatingElemPosition";
8
- export * from "./setFloatingElemPositionForLinkEditor";
9
- export * from "./url";
1
+ export * from "./dropDownActiveClass.js";
2
+ export * from "./getDOMRangeRect.js";
3
+ export * from "./getSelectedNode.js";
4
+ export * from "./getThemeSelector.js";
5
+ export * from "./joinClasses.js";
6
+ export * from "./parseVideoUrl.js";
7
+ export * from "./setFloatingElemPosition.js";
8
+ export * from "./setFloatingElemPositionForLinkEditor.js";
9
+ export * from "./url.js";
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wCAAwC,CAAC;AACvD,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,UAAU,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./editor";
2
- export * from "./display";
1
+ export * from "./editor/index.js";
2
+ export * from "./display/index.js";
3
3
  export declare const muiLexicalStyles: import("@emotion/utils").SerializedStyles[];
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAWA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,eAAO,MAAM,gBAAgB,6CAW5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAWA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,eAAO,MAAM,gBAAgB,6CAW5B,CAAC"}
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { codeActionMenuPluginStyles, floatLinkEditorPluginStyles, floatTextFormatToolbarPluginStyles, tableCellResizerPluginStyles, } from "./editor/plugins";
2
- import { playgroundEditorThemeStyles } from "./editor/themes";
3
- import { editorStyles } from "./editor/editorStyles";
4
- import { componentsStyles } from "./editor/ui";
5
- import { imageNodeStyles, videoNodeStyles, inlineImageNodeStyles } from "./editor/nodes";
6
- export * from "./editor";
7
- export * from "./display";
1
+ import { codeActionMenuPluginStyles, floatLinkEditorPluginStyles, floatTextFormatToolbarPluginStyles, tableCellResizerPluginStyles, } from "./editor/plugins/index.js";
2
+ import { playgroundEditorThemeStyles } from "./editor/themes/index.js";
3
+ import { editorStyles } from "./editor/editorStyles.js";
4
+ import { componentsStyles } from "./editor/ui/index.js";
5
+ import { imageNodeStyles, videoNodeStyles, inlineImageNodeStyles } from "./editor/nodes/index.js";
6
+ export * from "./editor/index.js";
7
+ export * from "./display/index.js";
8
8
  export const muiLexicalStyles = [
9
9
  ...componentsStyles,
10
10
  editorStyles,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,kCAAkC,EAClC,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAEzF,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,GAAG,gBAAgB;IACnB,YAAY;IACZ,eAAe;IACf,qBAAqB;IACrB,0BAA0B;IAC1B,2BAA2B;IAC3B,kCAAkC;IAClC,4BAA4B;IAC5B,2BAA2B;IAC3B,eAAe;CAChB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,kCAAkC,EAClC,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAElG,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,GAAG,gBAAgB;IACnB,YAAY;IACZ,eAAe;IACf,qBAAqB;IACrB,0BAA0B;IAC1B,2BAA2B;IAC3B,kCAAkC;IAClC,4BAA4B;IAC5B,2BAA2B;IAC3B,eAAe;CAChB,CAAC"}
package/package.json CHANGED
@@ -15,18 +15,19 @@
15
15
  }
16
16
  ],
17
17
  "dependencies": {
18
- "@lexical/code": "0.48.0",
19
- "@lexical/link": "0.48.0",
20
- "@lexical/list": "0.48.0",
21
- "@lexical/markdown": "0.48.0",
22
- "@lexical/overflow": "0.48.0",
23
- "@lexical/react": "0.48.0",
24
- "@lexical/rich-text": "0.48.0",
25
- "@lexical/selection": "0.48.0",
26
- "@lexical/table": "0.48.0",
27
- "@lexical/utils": "0.48.0",
28
- "@mui/material": "^9.0.0",
29
- "lexical": "0.48.0",
18
+ "@lexical/code": "0.53.0",
19
+ "@lexical/code-prism": "0.53.0",
20
+ "@lexical/link": "0.53.0",
21
+ "@lexical/list": "0.53.0",
22
+ "@lexical/markdown": "0.53.0",
23
+ "@lexical/overflow": "0.53.0",
24
+ "@lexical/react": "0.53.0",
25
+ "@lexical/rich-text": "0.53.0",
26
+ "@lexical/selection": "0.53.0",
27
+ "@lexical/table": "0.53.0",
28
+ "@lexical/utils": "0.53.0",
29
+ "@mui/material": "^7.0.0 || ^9.2.0",
30
+ "lexical": "0.53.0",
30
31
  "lodash-es": "4.18.1"
31
32
  },
32
33
  "description": "Material-UI Lexical Editor and Viewer",
@@ -34,6 +35,7 @@
34
35
  "@emotion/cache": "11.14.0",
35
36
  "@emotion/react": "11.14.0",
36
37
  "@emotion/styled": "11.14.1",
38
+ "@ethberry/cross-env": "0.0.5",
37
39
  "@ethberry/eslint-config": "5.0.13",
38
40
  "@storybook/addon-docs": "10.6.7",
39
41
  "@storybook/addon-links": "10.6.7",
@@ -109,9 +111,9 @@
109
111
  "prebuild": "rimraf dist/",
110
112
  "prepare": "husky",
111
113
  "storybook": "storybook dev -p 6006",
112
- "test": "jest"
114
+ "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest"
113
115
  },
114
116
  "type": "module",
115
117
  "types": "./dist/index.d.ts",
116
- "version": "2.0.2"
118
+ "version": "3.0.1"
117
119
  }
@@ -3,8 +3,8 @@
3
3
  "compilerOptions": {
4
4
  "declaration": false,
5
5
  "isolatedModules": true,
6
- "module": "ES2022",
7
- "moduleResolution": "bundler"
6
+ "module": "nodenext",
7
+ "moduleResolution": "nodenext"
8
8
  },
9
9
  "include": ["src/**/*.ts", "src/**/*.tsx"],
10
10
  "exclude": ["node_modules", "dist"]