@ethberry/mui-lexical 3.0.0 → 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 (235) 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 +5 -5
  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 +4 -4
  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 +3 -3
  93. package/dist/editor/plugins/CodeActionMenuPlugin/index.js.map +1 -1
  94. package/dist/editor/plugins/ComponentPickerPlugin/index.js +4 -4
  95. package/dist/editor/plugins/ComponentPickerPlugin/index.js.map +1 -1
  96. package/dist/editor/plugins/FloatingLinkEditorPlugin/index.d.ts +1 -1
  97. package/dist/editor/plugins/FloatingLinkEditorPlugin/index.d.ts.map +1 -1
  98. package/dist/editor/plugins/FloatingLinkEditorPlugin/index.js +5 -5
  99. package/dist/editor/plugins/FloatingLinkEditorPlugin/index.js.map +1 -1
  100. package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +2 -2
  101. package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.d.ts.map +1 -1
  102. package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.js +4 -4
  103. package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.js.map +1 -1
  104. package/dist/editor/plugins/ImagesPlugin/index.d.ts +1 -1
  105. package/dist/editor/plugins/ImagesPlugin/index.d.ts.map +1 -1
  106. package/dist/editor/plugins/ImagesPlugin/index.js +4 -4
  107. package/dist/editor/plugins/ImagesPlugin/index.js.map +1 -1
  108. package/dist/editor/plugins/LinkPlugin/index.js +1 -1
  109. package/dist/editor/plugins/LinkPlugin/index.js.map +1 -1
  110. package/dist/editor/plugins/MarkdownShortcutPlugin/index.js +1 -1
  111. package/dist/editor/plugins/MarkdownShortcutPlugin/index.js.map +1 -1
  112. package/dist/editor/plugins/MarkdownTransformers/index.js +1 -1
  113. package/dist/editor/plugins/MarkdownTransformers/index.js.map +1 -1
  114. package/dist/editor/plugins/ShortcutsPlugin/index.js +4 -4
  115. package/dist/editor/plugins/ShortcutsPlugin/index.js.map +1 -1
  116. package/dist/editor/plugins/TableActionMenuPlugin/index.js +2 -2
  117. package/dist/editor/plugins/TableActionMenuPlugin/index.js.map +1 -1
  118. package/dist/editor/plugins/TableCellResizer/index.d.ts +1 -1
  119. package/dist/editor/plugins/TableCellResizer/index.d.ts.map +1 -1
  120. package/dist/editor/plugins/TableCellResizer/index.js +1 -1
  121. package/dist/editor/plugins/TableCellResizer/index.js.map +1 -1
  122. package/dist/editor/plugins/TableHoverActionsPlugin/index.js +2 -2
  123. package/dist/editor/plugins/TableHoverActionsPlugin/index.js.map +1 -1
  124. package/dist/editor/plugins/TablePlugin.js +3 -3
  125. package/dist/editor/plugins/TablePlugin.js.map +1 -1
  126. package/dist/editor/plugins/ToolbarPlugin/index.d.ts +1 -1
  127. package/dist/editor/plugins/ToolbarPlugin/index.d.ts.map +1 -1
  128. package/dist/editor/plugins/ToolbarPlugin/index.js +6 -6
  129. package/dist/editor/plugins/ToolbarPlugin/index.js.map +1 -1
  130. package/dist/editor/plugins/ToolbarPlugin/utils.js +1 -1
  131. package/dist/editor/plugins/ToolbarPlugin/utils.js.map +1 -1
  132. package/dist/editor/plugins/VideoPlugin/index.js +6 -6
  133. package/dist/editor/plugins/VideoPlugin/index.js.map +1 -1
  134. package/dist/editor/plugins/index.d.ts +19 -19
  135. package/dist/editor/plugins/index.d.ts.map +1 -1
  136. package/dist/editor/plugins/index.js +19 -19
  137. package/dist/editor/plugins/index.js.map +1 -1
  138. package/dist/editor/themes/index.d.ts +1 -1
  139. package/dist/editor/themes/index.d.ts.map +1 -1
  140. package/dist/editor/themes/index.js +1 -1
  141. package/dist/editor/themes/index.js.map +1 -1
  142. package/dist/editor/types/index.d.ts +1 -1
  143. package/dist/editor/types/index.d.ts.map +1 -1
  144. package/dist/editor/ui/BlockFormatDropdown/index.d.ts +3 -3
  145. package/dist/editor/ui/BlockFormatDropdown/index.d.ts.map +1 -1
  146. package/dist/editor/ui/BlockFormatDropdown/index.js +6 -6
  147. package/dist/editor/ui/BlockFormatDropdown/index.js.map +1 -1
  148. package/dist/editor/ui/BoldButton/index.d.ts +1 -1
  149. package/dist/editor/ui/BoldButton/index.d.ts.map +1 -1
  150. package/dist/editor/ui/BoldButton/index.js +2 -2
  151. package/dist/editor/ui/BoldButton/index.js.map +1 -1
  152. package/dist/editor/ui/Button.js +1 -1
  153. package/dist/editor/ui/Button.js.map +1 -1
  154. package/dist/editor/ui/CenterAlignButton/index.d.ts +1 -1
  155. package/dist/editor/ui/CenterAlignButton/index.d.ts.map +1 -1
  156. package/dist/editor/ui/CenterAlignButton/index.js +2 -2
  157. package/dist/editor/ui/CenterAlignButton/index.js.map +1 -1
  158. package/dist/editor/ui/ClearEditorButton/index.d.ts +1 -1
  159. package/dist/editor/ui/ClearEditorButton/index.d.ts.map +1 -1
  160. package/dist/editor/ui/ClearEditorButton/index.js +1 -1
  161. package/dist/editor/ui/ClearEditorButton/index.js.map +1 -1
  162. package/dist/editor/ui/ClearFormattingButton/index.d.ts +1 -1
  163. package/dist/editor/ui/ClearFormattingButton/index.d.ts.map +1 -1
  164. package/dist/editor/ui/ClearFormattingButton/index.js +1 -1
  165. package/dist/editor/ui/ClearFormattingButton/index.js.map +1 -1
  166. package/dist/editor/ui/CodeButton/index.d.ts +1 -1
  167. package/dist/editor/ui/CodeButton/index.d.ts.map +1 -1
  168. package/dist/editor/ui/CodeButton/index.js +2 -2
  169. package/dist/editor/ui/CodeButton/index.js.map +1 -1
  170. package/dist/editor/ui/CodeLanguageDropdown/index.d.ts +2 -2
  171. package/dist/editor/ui/CodeLanguageDropdown/index.d.ts.map +1 -1
  172. package/dist/editor/ui/CodeLanguageDropdown/index.js +2 -2
  173. package/dist/editor/ui/CodeLanguageDropdown/index.js.map +1 -1
  174. package/dist/editor/ui/HorizontalRuleButton/index.d.ts +1 -1
  175. package/dist/editor/ui/HorizontalRuleButton/index.d.ts.map +1 -1
  176. package/dist/editor/ui/HorizontalRuleButton/index.js +1 -1
  177. package/dist/editor/ui/HorizontalRuleButton/index.js.map +1 -1
  178. package/dist/editor/ui/ImageButton/index.d.ts +2 -2
  179. package/dist/editor/ui/ImageButton/index.d.ts.map +1 -1
  180. package/dist/editor/ui/ImageButton/index.js +2 -2
  181. package/dist/editor/ui/ImageButton/index.js.map +1 -1
  182. package/dist/editor/ui/ItalicButton/index.d.ts +1 -1
  183. package/dist/editor/ui/ItalicButton/index.d.ts.map +1 -1
  184. package/dist/editor/ui/ItalicButton/index.js +2 -2
  185. package/dist/editor/ui/ItalicButton/index.js.map +1 -1
  186. package/dist/editor/ui/LeftAlignButton/index.d.ts +1 -1
  187. package/dist/editor/ui/LeftAlignButton/index.d.ts.map +1 -1
  188. package/dist/editor/ui/LeftAlignButton/index.js +2 -2
  189. package/dist/editor/ui/LeftAlignButton/index.js.map +1 -1
  190. package/dist/editor/ui/LinkButton/index.d.ts +1 -1
  191. package/dist/editor/ui/LinkButton/index.d.ts.map +1 -1
  192. package/dist/editor/ui/LinkButton/index.js +2 -2
  193. package/dist/editor/ui/LinkButton/index.js.map +1 -1
  194. package/dist/editor/ui/RedoButton/index.d.ts +1 -1
  195. package/dist/editor/ui/RedoButton/index.d.ts.map +1 -1
  196. package/dist/editor/ui/RedoButton/index.js +1 -1
  197. package/dist/editor/ui/RedoButton/index.js.map +1 -1
  198. package/dist/editor/ui/RightAlignButton/index.d.ts +1 -1
  199. package/dist/editor/ui/RightAlignButton/index.d.ts.map +1 -1
  200. package/dist/editor/ui/RightAlignButton/index.js +2 -2
  201. package/dist/editor/ui/RightAlignButton/index.js.map +1 -1
  202. package/dist/editor/ui/StrikethroughButton/index.d.ts +1 -1
  203. package/dist/editor/ui/StrikethroughButton/index.d.ts.map +1 -1
  204. package/dist/editor/ui/StrikethroughButton/index.js +2 -2
  205. package/dist/editor/ui/StrikethroughButton/index.js.map +1 -1
  206. package/dist/editor/ui/TableButton/index.d.ts +2 -2
  207. package/dist/editor/ui/TableButton/index.d.ts.map +1 -1
  208. package/dist/editor/ui/TableButton/index.js +2 -2
  209. package/dist/editor/ui/TableButton/index.js.map +1 -1
  210. package/dist/editor/ui/UnderlineButton/index.d.ts +1 -1
  211. package/dist/editor/ui/UnderlineButton/index.d.ts.map +1 -1
  212. package/dist/editor/ui/UnderlineButton/index.js +2 -2
  213. package/dist/editor/ui/UnderlineButton/index.js.map +1 -1
  214. package/dist/editor/ui/UndoButton/index.d.ts +1 -1
  215. package/dist/editor/ui/UndoButton/index.d.ts.map +1 -1
  216. package/dist/editor/ui/UndoButton/index.js +1 -1
  217. package/dist/editor/ui/UndoButton/index.js.map +1 -1
  218. package/dist/editor/ui/VideoButton/index.d.ts +2 -2
  219. package/dist/editor/ui/VideoButton/index.d.ts.map +1 -1
  220. package/dist/editor/ui/VideoButton/index.js +2 -2
  221. package/dist/editor/ui/VideoButton/index.js.map +1 -1
  222. package/dist/editor/ui/index.d.ts +29 -29
  223. package/dist/editor/ui/index.d.ts.map +1 -1
  224. package/dist/editor/ui/index.js +36 -36
  225. package/dist/editor/ui/index.js.map +1 -1
  226. package/dist/editor/utils/index.d.ts +9 -9
  227. package/dist/editor/utils/index.d.ts.map +1 -1
  228. package/dist/editor/utils/index.js +9 -9
  229. package/dist/editor/utils/index.js.map +1 -1
  230. package/dist/index.d.ts +2 -2
  231. package/dist/index.d.ts.map +1 -1
  232. package/dist/index.js +7 -7
  233. package/dist/index.js.map +1 -1
  234. package/package.json +1 -1
  235. package/tsconfig.jest.json +2 -2
@@ -1,20 +1,20 @@
1
- export * from "./CodeActionMenuPlugin";
2
- export * from "./CodeHighlightPlugin";
3
- export * from "./ComponentPickerPlugin";
4
- export * from "./ContextMenuPlugin";
5
- export * from "./FloatingLinkEditorPlugin";
6
- export * from "./FloatingTextFormatToolbarPlugin";
7
- export * from "./ImagesPlugin";
8
- export * from "./LinkPlugin";
9
- export * from "./MarkdownShortcutPlugin";
10
- export * from "./MarkdownTransformers";
11
- export * from "./MaxLengthPlugin";
12
- export * from "./ShortcutsPlugin";
13
- export * from "./TabFocusPlugin";
14
- export * from "./TableActionMenuPlugin";
15
- export * from "./TableCellResizer";
16
- export * from "./TableHoverActionsPlugin";
17
- export * from "./TablePlugin";
18
- export * from "./ToolbarPlugin";
19
- export * from "./VideoPlugin";
1
+ export * from "./CodeActionMenuPlugin/index.js";
2
+ export * from "./CodeHighlightPlugin/index.js";
3
+ export * from "./ComponentPickerPlugin/index.js";
4
+ export * from "./ContextMenuPlugin/index.js";
5
+ export * from "./FloatingLinkEditorPlugin/index.js";
6
+ export * from "./FloatingTextFormatToolbarPlugin/index.js";
7
+ export * from "./ImagesPlugin/index.js";
8
+ export * from "./LinkPlugin/index.js";
9
+ export * from "./MarkdownShortcutPlugin/index.js";
10
+ export * from "./MarkdownTransformers/index.js";
11
+ export * from "./MaxLengthPlugin/index.js";
12
+ export * from "./ShortcutsPlugin/index.js";
13
+ export * from "./TabFocusPlugin/index.js";
14
+ export * from "./TableActionMenuPlugin/index.js";
15
+ export * from "./TableCellResizer/index.js";
16
+ export * from "./TableHoverActionsPlugin/index.js";
17
+ export * from "./TablePlugin.js";
18
+ export * from "./ToolbarPlugin/index.js";
19
+ export * from "./VideoPlugin/index.js";
20
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/plugins/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/plugins/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { playgroundEditorThemeStyles } from "./playgroundEditorThemeStyles";
1
+ export { playgroundEditorThemeStyles } from "./playgroundEditorThemeStyles.js";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC"}
@@ -1,2 +1,2 @@
1
- export { playgroundEditorThemeStyles } from "./playgroundEditorThemeStyles";
1
+ export { playgroundEditorThemeStyles } from "./playgroundEditorThemeStyles.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from "react";
2
2
  import { CODE_LANGUAGE_FRIENDLY_NAME_MAP } from "@lexical/code-prism";
3
- import { blockTypeToBlockName } from "../context";
3
+ import { blockTypeToBlockName } from "../context/index.js";
4
4
  export type TToolbarHistoryControl = "undo" | "redo";
5
5
  export type TToolbarTextFormatControl = "bold" | "italic" | "underline" | "strikethrough" | "code" | "link" | "leftAlign" | "centerAlign" | "rightAlign";
6
6
  export type TToolbarViewFormatControl = "horizontal" | "image" | "video" | "table";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AAEtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,MAAM,CAAC;AACrD,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,QAAQ,GACR,WAAW,GACX,eAAe,GACf,MAAM,GACN,MAAM,GACN,WAAW,GACX,aAAa,GACb,YAAY,CAAC;AACjB,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AACnF,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG,QAAQ,CAAC;AAC3D,MAAM,MAAM,0BAA0B,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAC3E,MAAM,MAAM,4BAA4B,GAAG,MAAM,OAAO,+BAA+B,CAAC;AACxF,MAAM,MAAM,eAAe,GACvB,sBAAsB,GACtB,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,GACpB,aAAa,GACb,eAAe,CAAC;AAEpB,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACxC,UAAU,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC9C,WAAW,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAChD,UAAU,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC9C,aAAa,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;IACpD,K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C,CAAC;IACpD,KAAK,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CACrC;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { LexicalEditor } from "lexical";
2
2
  import { JSX } from "react";
3
- import { blockTypeToBlockName } from "../../context";
4
- import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts";
5
- import { TToolbarBlockFormatControl } from "../../types";
3
+ import { blockTypeToBlockName } from "../../context/index.js";
4
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
5
+ import { TToolbarBlockFormatControl } from "../../types/index.js";
6
6
  export type BlockType = keyof typeof blockTypeToBlockName;
7
7
  export interface IBlockFormatOptions {
8
8
  blockType: BlockType;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/BlockFormatDropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAc,EAAE,GAAG,EAAW,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAWrD,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAgBpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAE1D,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IACxB,QAAQ,EAAE,MAAM,OAAO,SAAS,CAAC;CAClC;AAqCD,eAAO,MAAM,mBAAmB,GAAI,4CAKjC;IACD,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC9C,KAAG,GAAG,CAAC,OAmDP,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/BlockFormatDropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAc,EAAE,GAAG,EAAW,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAW9D,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAgBvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAE1D,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IACxB,QAAQ,EAAE,MAAM,OAAO,SAAS,CAAC;CAClC;AAqCD,eAAO,MAAM,mBAAmB,GAAI,4CAKjC;IACD,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC9C,KAAG,GAAG,CAAC,OAmDP,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
- import { blockTypeToBlockName } from "../../context";
4
- import { DropDown, DropDownItem } from "../DropDown";
5
- import { formatBulletList, formatCheckList, formatCode, formatHeading, formatNumberedList, formatParagraph, formatQuote, } from "../../plugins/ToolbarPlugin/utils";
6
- import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts";
7
- import { dropDownActiveClass } from "../../utils";
8
- import { ChatSquareQuoteIcon, CodeIcon, ListOlIcon, ListUlIcon, SquareCheckIcon, TextParagraphIcon, TypeH1Icon, TypeH2Icon, TypeH3Icon, TypeH4Icon, TypeH5Icon, TypeH6Icon, } from "../../images/icons";
3
+ import { blockTypeToBlockName } from "../../context/index.js";
4
+ import { DropDown, DropDownItem } from "../DropDown.js";
5
+ import { formatBulletList, formatCheckList, formatCode, formatHeading, formatNumberedList, formatParagraph, formatQuote, } from "../../plugins/ToolbarPlugin/utils.js";
6
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
7
+ import { dropDownActiveClass } from "../../utils/index.js";
8
+ import { ChatSquareQuoteIcon, CodeIcon, ListOlIcon, ListUlIcon, SquareCheckIcon, TextParagraphIcon, TypeH1Icon, TypeH2Icon, TypeH3Icon, TypeH4Icon, TypeH5Icon, TypeH6Icon, } from "../../images/icons/index.js";
9
9
  const formatBlockIcons = {
10
10
  paragraph: TextParagraphIcon,
11
11
  h1: TypeH1Icon,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/BlockFormatDropdown/index.tsx"],"names":[],"mappings":";AACA,OAAc,EAAO,OAAO,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,WAAW,GACZ,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,UAAU,E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AE,KAAC,IAAI,KAAG,EACd,WAAW,EAAE,oBAAoB,CAAC,SAAS,CAAC,EAC5C,eAAe,EAAC,mCAAmC,YAElD,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;YACvB,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC;YACpB,OAAO,CACL,MAAC,YAAY,IAEX,SAAS,EAAE,YAAY,GAAG,mBAAmB,CAAC,SAAS,KAAK,CAAC,CAAC,SAAS,CAAC,EACxE,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAEnC,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,IAAI,KAAG,EACR,eAAM,SAAS,EAAC,MAAM,YAAE,CAAC,CAAC,KAAK,GAAQ,IACnC,EACN,eAAM,SAAS,EAAC,UAAU,YAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAQ,KARpD,CAAC,CAAC,SAAS,CASH,CAChB,CAAC;QACJ,CAAC,CAAC,GACO,CACZ,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 IBoldButtonProps extends IToolbarComponentProps {
4
4
  isBold: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/BoldButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,gBAAiB,SAAQ,sBAAsB;IACvD,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAe3C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/BoldButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,gBAAiB,SAAQ,sBAAsB;IACvD,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAe3C,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 { TypeBoldIcon } from "../../images/icons";
3
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
4
+ import { TypeBoldIcon } from "../../images/icons/index.js";
5
5
  export const BoldButton = ({ activeEditor, isBold, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(FORMAT_TEXT_COMMAND, "bold");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/BoldButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAMlD,MAAM,CAAC,MAAM,UAAU,GAAyB,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;QAC5D,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EAC5D,KAAK,EAAE,SAAS,SAAS,CAAC,IAAI,GAAG,EACjC,IAAI,EAAC,QAAQ,gBACD,kCAAkC,SAAS,CAAC,IAAI,EAAE,YAE9D,KAAC,YAAY,KAAG,GACT,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/BoldButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAM3D,MAAM,CAAC,MAAM,UAAU,GAAyB,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;QAC5D,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EAC5D,KAAK,EAAE,SAAS,SAAS,CAAC,IAAI,GAAG,EACjC,IAAI,EAAC,QAAQ,gBACD,kCAAkC,SAAS,CAAC,IAAI,EAAE,YAE9D,KAAC,YAAY,KAAG,GACT,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { css, Button as MUIButton } from "@mui/material";
3
- import { joinClasses } from "../utils";
3
+ import { joinClasses } from "../utils/index.js";
4
4
  export const Button = ({ "data-test-id": dataTestId, children, className, onClick, disabled, small, title, }) => {
5
5
  return (_jsx(MUIButton, { disabled: disabled, className: joinClasses("Button__root", disabled && "Button__disabled", small && "Button__small", className), onClick: onClick, title: title, "aria-label": title, ...(dataTestId && { "data-test-id": dataTestId }), children: children }));
6
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/editor/ui/Button.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACrB,cAAc,EAAE,UAAU,EAC1B,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,KAAK,EACL,KAAK,GASN,EAAe,EAAE;IAChB,OAAO,CACL,KAAC,SAAS,IACR,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,WAAW,CAAC,cAAc,EAAE,QAAQ,IAAI,kBAAkB,EAAE,KAAK,IAAI,eAAe,EAAE,SAAS,CAAC,EAC3G,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,gBACA,KAAK,KACb,CAAC,UAAU,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,YAEjD,QAAQ,GACC,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B9B,CAAC"}
1
+ {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/editor/ui/Button.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACrB,cAAc,EAAE,UAAU,EAC1B,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,KAAK,EACL,KAAK,GASN,EAAe,EAAE;IAChB,OAAO,CACL,KAAC,SAAS,IACR,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,WAAW,CAAC,cAAc,EAAE,QAAQ,IAAI,kBAAkB,EAAE,KAAK,IAAI,eAAe,EAAE,SAAS,CAAC,EAC3G,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,gBACA,KAAK,KACb,CAAC,UAAU,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,YAEjD,QAAQ,GACC,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B9B,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 ICenterAlignButtonProps extends IToolbarComponentProps {
4
4
  isCenterAlign: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/CenterAlignButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,uBAAwB,SAAQ,sBAAsB;IAC9D,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,uBAAuB,CAezD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/CenterAlignButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,uBAAwB,SAAQ,sBAAsB;IAC9D,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,uBAAuB,CAezD,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 { TextCenterIcon } from "../../images/icons";
3
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
4
+ import { TextCenterIcon } from "../../images/icons/index.js";
5
5
  export const CenterAlignButton = ({ activeEditor, isCenterAlign, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(FORMAT_ELEMENT_COMMAND, "center");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/CenterAlignButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMpD,MAAM,CAAC,MAAM,iBAAiB,GAAgC,CAAC,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1G,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CAAC;QACjE,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACnE,KAAK,EAAE,iBAAiB,SAAS,CAAC,YAAY,GAAG,EACjD,IAAI,EAAC,QAAQ,gBACD,0CAA0C,SAAS,CAAC,YAAY,EAAE,YAE9E,KAAC,cAAc,KAAG,GACX,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/CenterAlignButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAM7D,MAAM,CAAC,MAAM,iBAAiB,GAAgC,CAAC,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1G,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CAAC;QACjE,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACnE,KAAK,EAAE,iBAAiB,SAAS,CAAC,YAAY,GAAG,EACjD,IAAI,EAAC,QAAQ,gBACD,0CAA0C,SAAS,CAAC,YAAY,EAAE,YAE9E,KAAC,cAAc,KAAG,GACX,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 IClearButtonProp extends Omit<IToolbarComponentProps, "activeEditor"> {
4
4
  onClick: () => void;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/ClearEditorButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,gBAAiB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC;IAC7E,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,gBAAgB,CAalD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/ClearEditorButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,gBAAiB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC;IAC7E,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,gBAAgB,CAalD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Trash3Icon } from "../../images/icons";
2
+ import { Trash3Icon } from "../../images/icons/index.js";
3
3
  export const ClearEditorButton = ({ onClick, disabled }) => {
4
4
  return (_jsx("button", { disabled: disabled, onClick: onClick, className: "toolbar-item spaced", title: "Clear all editor", type: "button", "aria-label": "Clear all editor", children: _jsx(Trash3Icon, {}) }));
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/ClearEditorButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMhD,MAAM,CAAC,MAAM,iBAAiB,GAAyB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC/E,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,kBAAkB,EACxB,IAAI,EAAC,QAAQ,gBACF,kBAAkB,YAE7B,KAAC,UAAU,KAAG,GACP,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/ClearEditorButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAMzD,MAAM,CAAC,MAAM,iBAAiB,GAAyB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC/E,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,kBAAkB,EACxB,IAAI,EAAC,QAAQ,gBACF,kBAAkB,YAE7B,KAAC,UAAU,KAAG,GACP,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 IClearButtonProp extends Omit<IToolbarComponentProps, "activeEditor"> {
4
4
  onClick: () => void;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/ClearFormattingButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,gBAAiB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC;IAC7E,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,gBAAgB,CAatD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/ClearFormattingButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,gBAAiB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC;IAC7E,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,gBAAgB,CAatD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { FormatClearIcon } from "../../images/icons";
2
+ import { FormatClearIcon } from "../../images/icons/index.js";
3
3
  export const ClearFormattingButton = ({ onClick, disabled }) => {
4
4
  return (_jsx("button", { disabled: disabled, onClick: onClick, className: "toolbar-item spaced", title: "Clear text formatting", type: "button", "aria-label": "Clear all text formatting", children: _jsx(FormatClearIcon, {}) }));
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/ClearFormattingButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAMrD,MAAM,CAAC,MAAM,qBAAqB,GAAyB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,uBAAuB,EAC7B,IAAI,EAAC,QAAQ,gBACF,2BAA2B,YAEtC,KAAC,eAAe,KAAG,GACZ,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/ClearFormattingButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAM9D,MAAM,CAAC,MAAM,qBAAqB,GAAyB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,uBAAuB,EAC7B,IAAI,EAAC,QAAQ,gBACF,2BAA2B,YAEtC,KAAC,eAAe,KAAG,GACZ,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 ICodeButtonProps extends IToolbarComponentProps {
4
4
  isCode: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/CodeButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,gBAAiB,SAAQ,sBAAsB;IACvD,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAe3C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/CodeButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,gBAAiB,SAAQ,sBAAsB;IACvD,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAe3C,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 { CodeIcon } from "../../images/icons";
3
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
4
+ import { CodeIcon } from "../../images/icons/index.js";
5
5
  export const CodeButton = ({ activeEditor, isCode, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(FORMAT_TEXT_COMMAND, "code");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/edit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,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EAC5D,KAAK,EAAE,sBAAsB,SAAS,CAAC,iBAAiB,GAAG,EAC3D,IAAI,EAAC,QAAQ,gBACF,mBAAmB,YAE9B,KAAC,QAAQ,KAAG,GACL,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { ToolbarState } from "../../context";
3
- import { TToolbarCodeLanguagesControl } from "../../types";
2
+ import { ToolbarState } from "../../context/index.js";
3
+ import { TToolbarCodeLanguagesControl } from "../../types/index.js";
4
4
  interface ICodeLanguageDropdownProps {
5
5
  toolbarState: ToolbarState;
6
6
  onCodeLanguageSelect: (value: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/CodeLanguageDropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAc3D,UAAU,0BAA0B;IAClC,YAAY,EAAE,YAAY,CAAC;IAC3B,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;CAChD;AAED,eAAO,MAAM,oBAAoB,GAAI,OAAO,0BAA0B,sBA2BrE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/CodeLanguageDropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAcpE,UAAU,0BAA0B;IAClC,YAAY,EAAE,YAAY,CAAC;IAC3B,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;CAChD;AAED,eAAO,MAAM,oBAAoB,GAAI,OAAO,0BAA0B,sBA2BrE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { CODE_LANGUAGE_FRIENDLY_NAME_MAP, getLanguageFriendlyName } from "@lexical/code-prism";
3
- import { DropDown, DropDownItem } from "../DropDown";
4
- import { dropDownActiveClass } from "../../utils";
3
+ import { DropDown, DropDownItem } from "../DropDown.js";
4
+ import { dropDownActiveClass } from "../../utils/index.js";
5
5
  function getCodeLanguageOptions() {
6
6
  const options = [];
7
7
  for (const [lang, friendlyName] of Object.entries(CODE_LANGUAGE_FRIENDLY_NAME_MAP)) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/CodeLanguageDropdown/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE/F,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIlD,SAAS,sBAAsB;IAC7B,MAAM,OAAO,GAAuB,EAAE,CAAC;IAEvC,KAAK,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,+BAA+B,CAAC,EAAE,CAAC;QACnF,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IACrC,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,MAAM,qBAAqB,GAAG,sBAAsB,EAAE,CAAC;AASvD,MAAM,CA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4 @@
1
1
  import { FC } from "react";
2
- import { IToolbarComponentProps } from "../../../common";
2
+ import { IToolbarComponentProps } from "../../../common/index.js";
3
3
  export declare const HorizontalRuleButton: FC<IToolbarComponentProps>;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/HorizontalRuleButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,sBAAsB,CAc3D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/HorizontalRuleButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,sBAAsB,CAc3D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { INSERT_HORIZONTAL_RULE_COMMAND } from "@lexical/react/LexicalHorizontalRuleNode";
3
- import { HorizontalRuleIcon } from "../../images/icons";
3
+ import { HorizontalRuleIcon } from "../../images/icons/index.js";
4
4
  export const HorizontalRuleButton = ({ activeEditor }) => {
5
5
  return (_jsx("button", { onClick: () => {
6
6
  activeEditor.dispatchCommand(INSERT_HORIZONTAL_RULE_COMMAND, undefined);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/HorizontalRuleButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAG1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,oBAAoB,GAA+B,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,8BAA8B,EAAE,SAAS,CAAC,CAAC;QAC1E,CAAC,EACD,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,iBAAiB,EACvB,IAAI,EAAC,QAAQ,gBACF,iBAAiB,YAE5B,KAAC,kBAAkB,KAAG,GACf,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/HorizontalRuleButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAG1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,CAAC,MAAM,oBAAoB,GAA+B,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,eAAe,CAAC,8BAA8B,EAAE,SAAS,CAAC,CAAC;QAC1E,CAAC,EACD,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAC,iBAAiB,EACvB,IAAI,EAAC,QAAQ,gBACF,iBAAiB,YAE5B,KAAC,kBAAkB,KAAG,GACf,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 IImageButtonProps 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/ImageButton/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/ImageButton/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 { InsertImageDialog } from "../../plugins";
3
- import { FileImageIcon } from "../../images/icons";
2
+ import { InsertImageDialog } from "../../plugins/index.js";
3
+ import { FileImageIcon } from "../../images/icons/index.js";
4
4
  export const ImageButton = ({ activeEditor, showModal }) => {
5
5
  return (_jsx("button", { onClick: () => {
6
6
  showModal("Insert Image", onClose => _jsx(InsertImageDialog, { activeEditor: activeEditor, onClose: onClose }));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/ImageButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAMnD,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,aAAa,KAAG,GACV,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/ImageButton/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAM5D,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,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 IItalicButtonProps extends IToolbarComponentProps {
4
4
  isItalic: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/ItalicButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,kBAAmB,SAAQ,sBAAsB;IACzD,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,kBAAkB,CAe/C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/ItalicButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,kBAAmB,SAAQ,sBAAsB;IACzD,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,kBAAkB,CAe/C,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 { TypeItalicIcon } from "../../images/icons";
3
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
4
+ import { TypeItalicIcon } from "../../images/icons/index.js";
5
5
  export const ItalicButton = ({ activeEditor, isItalic, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(FORMAT_TEXT_COMMAND, "italic");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/ItalicButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE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AAC,EAC9D,KAAK,EAAE,WAAW,SAAS,CAAC,MAAM,GAAG,EACrC,IAAI,EAAC,QAAQ,gBACD,qCAAqC,SAAS,CAAC,MAAM,EAAE,YAEnE,KAAC,cAAc,KAAG,GACX,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 ILeftAlignButtonProps extends IToolbarComponentProps {
4
4
  isLeftAlign: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/LeftAlignButton/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/LeftAlignButton/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_ELEMENT_COMMAND } from "lexical";
3
- import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts";
4
- import { TextLeftIcon } from "../../images/icons";
3
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
4
+ import { TextLeftIcon } from "../../images/icons/index.js";
5
5
  export const LeftAlignButton = ({ activeEditor, isLeftAlign, disabled }) => {
6
6
  return (_jsx("button", { disabled: disabled, onClick: () => {
7
7
  activeEditor.dispatchCommand(FORMAT_ELEMENT_COMMAND, "left");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/LeftAlignButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAMlD,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,sBAAsB,EAAE,MAAM,CAAC,CAAC;QAC/D,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACjE,KAAK,EAAE,eAAe,SAAS,CAAC,UAAU,GAAG,EAC7C,IAAI,EAAC,QAAQ,gBACD,wCAAwC,SAAS,CAAC,UAAU,EAAE,YAE1E,KAAC,YAAY,KAAG,GACT,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/LeftAlignButton/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAM3D,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,sBAAsB,EAAE,MAAM,CAAC,CAAC;QAC/D,CAAC,EACD,SAAS,EAAE,sBAAsB,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACjE,KAAK,EAAE,eAAe,SAAS,CAAC,UAAU,GAAG,EAC7C,IAAI,EAAC,QAAQ,gBACD,wCAAwC,SAAS,CAAC,UAAU,EAAE,YAE1E,KAAC,YAAY,KAAG,GACT,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 ILinkButtonProps extends Omit<IToolbarComponentProps, "activeEditor"> {
4
4
  isLink: boolean;
5
5
  insertLink: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/LinkButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,gBAAiB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAa3C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/ui/LinkButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,gBAAiB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAa3C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts";
3
- import { LinkIcon } from "../../images/icons";
2
+ import { SHORTCUTS } from "../../plugins/ShortcutsPlugin/shortcuts.js";
3
+ import { LinkIcon } from "../../images/icons/index.js";
4
4
  export const LinkButton = ({ insertLink, isLink, disabled }) => {
5
5
  return (_jsx("button", { disabled: disabled, onClick: insertLink, className: "toolbar-item spaced " + (isLink ? "active" : ""), "aria-label": "Insert link", title: `Insert link (${SHORTCUTS.INSERT_LINK})`, type: "button", children: _jsx(LinkIcon, {}) }));
6
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/LinkButton/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAO9C,MAAM,CAAC,MAAM,UAAU,GAAyB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,UAAU,EACnB,SAAS,EAAE,sBAAsB,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,gBACjD,aAAa,EACxB,KAAK,EAAE,gBAAgB,SAAS,CAAC,WAAW,GAAG,EAC/C,IAAI,EAAC,QAAQ,YAEb,KAAC,QAAQ,KAAG,GACL,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/ui/LinkButton/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAOvD,MAAM,CAAC,MAAM,UAAU,GAAyB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,iBACE,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,UAAU,EACnB,SAAS,EAAE,sBAAsB,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,gBACjD,aAAa,EACxB,KAAK,EAAE,gBAAgB,SAAS,CAAC,WAAW,GAAG,EAC/C,IAAI,EAAC,QAAQ,YAEb,KAAC,QAAQ,KAAG,GACL,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 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"}