@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,2 +1,2 @@
1
- export * from "./useModal";
1
+ export * from "./useModal.js";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from "./useModal";
1
+ export * from "./useModal.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCallback, useMemo, useState } from "react";
3
- import { ModalWrapper as Modal } from "../../components/ui/Modal";
3
+ import { ModalWrapper as Modal } from "../../components/ui/Modal/index.js";
4
4
  export const useModal = () => {
5
5
  const [modalContent, setModalContent] = useState(null);
6
6
  const onClose = useCallback(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"useModal.js","sourceRoot":"","sources":["../../../src/common/hooks/useModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAa,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,YAAY,IAAI,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE;IAC3B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAGtC,IAAI,CAAC,CAAC;IAEhB,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE;QAC/B,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QACzB,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;QACxC,OAAO,CACL,KAAC,KAAK,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,YAAY,YACxD,OAAO,GACF,CACT,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;IAE5B,MAAM,SAAS,GAAG,WAAW,CAC3B,CAAC,KAAa,EAAE,UAA8C,EAAE,EAAE;QAChE,eAAe,CAAC;YACd,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;YAC5B,KAAK;SACN,CAAC,CAAC;IACL,CAAC,EACD,CAAC,OAAO,CAAC,CACV,CAAC;IAEF,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"useModal.js","sourceRoot":"","sources":["../../../src/common/hooks/useModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAa,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,YAAY,IAAI,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAE3E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE;IAC3B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAGtC,IAAI,CAAC,CAAC;IAEhB,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE;QAC/B,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QACzB,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;QACxC,OAAO,CACL,KAAC,KAAK,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,YAAY,YACxD,OAAO,GACF,CACT,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;IAE5B,MAAM,SAAS,GAAG,WAAW,CAC3B,CAAC,KAAa,EAAE,UAA8C,EAAE,EAAE;QAChE,eAAe,CAAC;YACd,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;YAC5B,KAAK;SACN,CAAC,CAAC;IACL,CAAC,EACD,CAAC,OAAO,CAAC,CACV,CAAC;IAEF,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AAC5B,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from "./hooks";
2
- export * from "./types";
1
+ export * from "./hooks/index.js";
2
+ export * from "./types/index.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from "./hooks";
2
- export * from "./types";
1
+ export * from "./hooks/index.js";
2
+ export * from "./types/index.js";
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from "./ui";
1
+ export * from "./ui/index.js";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from "./ui";
1
+ export * from "./ui/index.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from "./Modal";
1
+ export * from "./Modal/index.js";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from "./Modal";
1
+ export * from "./Modal/index.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"lexicalEditorConfig.d.ts","sourceRoot":"","sources":["../../src/config/lexicalEditorConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,QAAQ,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAOvD,iBAAS,OAAO,CAAC,KAAK,EAAE,KAAK,QAE5B;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe/B,CAAC"}
1
+ {"version":3,"file":"lexicalEditorConfig.d.ts","sourceRoot":"","sources":["../../src/config/lexicalEditorConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,QAAQ,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAOvD,iBAAS,OAAO,CAAC,KAAK,EAAE,KAAK,QAE5B;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM/B,CAAC"}
@@ -2,7 +2,7 @@ import { AutoLinkNode, LinkNode } from "@lexical/link";
2
2
  import { HeadingNode, QuoteNode } from "@lexical/rich-text";
3
3
  import { CodeHighlightNode, CodeNode } from "@lexical/code";
4
4
  import { ListItemNode, ListNode } from "@lexical/list";
5
- import lexicalEditorTheme from "./lexicalEditorTheme";
5
+ import lexicalEditorTheme from "./lexicalEditorTheme.js";
6
6
  // Catch any errors that occur during Lexical updates and log them
7
7
  // or throw them as needed. If you don't throw them, Lexical will
8
8
  // try to recover gracefully without losing user data.
@@ -13,15 +13,6 @@ export const lexicalEditorConfig = {
13
13
  namespace: "MyEditor",
14
14
  theme: lexicalEditorTheme,
15
15
  onError,
16
- nodes: [
17
- HeadingNode,
18
- ListNode,
19
- ListItemNode,
20
- QuoteNode,
21
- CodeNode,
22
- CodeHighlightNode,
23
- AutoLinkNode,
24
- LinkNode,
25
- ],
16
+ nodes: [HeadingNode, ListNode, ListItemNode, QuoteNode, CodeNode, CodeHighlightNode, AutoLinkNode, LinkNode],
26
17
  };
27
18
  //# sourceMappingURL=lexicalEditorConfig.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"lexicalEditorConfig.js","sourceRoot":"","sources":["../../src/config/lexicalEditorConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,eAAe,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C"}
@@ -6,9 +6,9 @@ import { ContentEditable } from "@lexical/react/LexicalContentEditable";
6
6
  import { LexicalErrorBoundary } from "@lexical/react/LexicalErrorBoundary";
7
7
  import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
8
8
  import { ClickableLinkPlugin } from "@lexical/react/LexicalClickableLinkPlugin";
9
- import { playgroundEditorTheme } from "../editor/themes/playgroundEditorTheme";
10
- import { MuiLexicalNodes } from "../editor/nodes";
11
- import { StyledEditorWrapper } from "./styled";
9
+ import { playgroundEditorTheme } from "../editor/themes/playgroundEditorTheme.js";
10
+ import { MuiLexicalNodes } from "../editor/nodes/index.js";
11
+ import { StyledEditorWrapper } from "./styled.js";
12
12
  function LoadContentPlugin({ content }) {
13
13
  const [editor] = useLexicalComposerContext();
14
14
  useEffect(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/display/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAEhF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAQ/C,SAAS,iBAAiB,CAAC,EAAE,OAAO,EAAuB;IACzD,MAAM,CAAC,MAAM,CAAC,GAAG,yBAAyB,EAAE,CAAC;IAE7C,SAAS,CAAC,GAAG,EAAE;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AAqB,GAAG,KAAK,EAAE,GAAG,KAAK,CAAC;IAEpE,MAAM,aAAa,GAAG;QACpB,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,qBAAqB;QAC5B,KAAK,EAAE,CAAC,GAAG,eAAe,CAAC;QAC3B,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,CAAC,KAAY,EAAE,EAAE;YACxB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACrB,IAAI,OAAO,EAAE,CAAC;gBACZ,OAAO,CAAC,KAAK,CAAC,CAAC;YACjB,CAAC;QACH,CAAC;KACF,CAAC;IAEF,OAAO,CACL,MAAC,eAAe,IAAC,aAAa,EAAE,aAAa,aAC3C,KAAC,mBAAmB,cAClB,KAAC,cAAc,IACb,eAAe,EAAE,KAAC,eAAe,IAAC,SAAS,EAAC,cAAc,GAAG,EAC7D,WAAW,EAAE,IAAI,EACjB,aAAa,EAAE,oBAAoB,GACnC,GACkB,EACtB,KAAC,iBAAiB,IAAC,OAAO,EAAE,IAAI,GAAI,EACpC,KAAC,mBAAmB,IAAC,QAAQ,EAAE,qBAAqB,GAAI,IACxC,CACnB,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { EditorState } from "lexical";
2
- import { IToolbarControls } from "./types";
2
+ import { IToolbarControls } from "./types/index.js";
3
3
  export interface IEditorProps {
4
4
  initialEditorState?: string;
5
5
  placeholder?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/editor/Editor.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAuBtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA2I3C,MAAM,WAAW,YAAY;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAA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from "@lexical/react/useLexicalEditable";
15
15
  import { CAN_USE_DOM } from "@lexical/utils";
16
16
  import { LexicalComposer } from "@lexical/react/LexicalComposer";
17
17
  import { OnChangePlugin } from "@lexical/react/LexicalOnChangePlugin";
18
- import { SharedHistoryContext, ToolbarContext, useSharedHistoryContext } from "./context";
19
- import { CodeActionMenuPlugin, CodeHighlightPlugin, ComponentPickerMenuPlugin as ComponentPickerPlugin, FloatingLinkEditorPlugin, FloatingTextFormatToolbarPlugin, ImagesPlugin, LinkPlugin, MarkdownPlugin as MarkdownShortcutPlugin, ShortcutsPlugin, TableActionMenuPlugin as TableCellActionMenuPlugin, TableCellResizerPlugin as TableCellResizer, TableHoverActionsPlugin, ToolbarPlugin, VideoPlugin, } from "./plugins";
20
- import { LexicalContentEditable as ContentEditable } from "./ui/ContentEditable";
21
- import { MuiLexicalNodes } from "./nodes";
22
- import { playgroundEditorTheme } from "./themes/playgroundEditorTheme";
18
+ import { SharedHistoryContext, ToolbarContext, useSharedHistoryContext } from "./context/index.js";
19
+ import { CodeActionMenuPlugin, CodeHighlightPlugin, ComponentPickerMenuPlugin as ComponentPickerPlugin, FloatingLinkEditorPlugin, FloatingTextFormatToolbarPlugin, ImagesPlugin, LinkPlugin, MarkdownPlugin as MarkdownShortcutPlugin, ShortcutsPlugin, TableActionMenuPlugin as TableCellActionMenuPlugin, TableCellResizerPlugin as TableCellResizer, TableHoverActionsPlugin, ToolbarPlugin, VideoPlugin, } from "./plugins/index.js";
20
+ import { LexicalContentEditable as ContentEditable } from "./ui/ContentEditable.js";
21
+ import { MuiLexicalNodes } from "./nodes/index.js";
22
+ import { playgroundEditorTheme } from "./themes/playgroundEditorTheme.js";
23
23
  const EditorContent = (props) => {
24
24
  const { autoFocus, placeholder = "Enter some rich text...", hideToolbar = false, toolbarPlacement = "top", controls, onStateChange, onTextChange, onBlur, onFocus, } = props;
25
25
  const { historyState } = useSharedHistoryContext();
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.js","sourceRoot":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AAQ,IAAI,CAChD,KAAC,aAAa,IACZ,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,QAAQ,EAClB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACG,GACS,GACI,CACxB,CAAC;AACJ,CAAC,CAAC;AAgBF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC5C,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAC7D,OAAO,CACL,KAAC,eAAe,IACd,aAAa,EAAE;YACb,WAAW,EAAE,kBAAkB,IAAI,IAAI;YACvC,QAAQ,EAAE,CAAC,QAAQ;YACnB,SAAS,EAAE,YAAY;YACvB,KAAK,EAAE,CAAC,GAAG,eAAe,CAAC;YAC3B,OAAO,EAAE,CAAC,KAAY,EAAE,EAAE;gBACxB,MAAM,KAAK,CAAC;YACd,CAAC;YACD,KAAK,EAAE,qBAAqB;SAC7B,YAED,KAAC,aAAa,OAAK,SAAS,GAAI,GAChB,CACnB,CAAC;AACJ,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IToolbarControls } from "../types";
1
+ import { IToolbarControls } from "../types/index.js";
2
2
  export declare const toolbarDefaultControls: IToolbarControls;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,EAAE,gBAmCpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,sBAAsB,EAAE,gBAmCpC,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from "./ToolbarContext";
2
- export * from "./SharedHistoryContext";
1
+ export * from "./ToolbarContext.js";
2
+ export * from "./SharedHistoryContext.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from "./ToolbarContext";
2
- export * from "./SharedHistoryContext";
1
+ export * from "./ToolbarContext.js";
2
+ export * from "./SharedHistoryContext.js";
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from "./useModal";
1
+ export * from "./useModal.js";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from "./useModal";
1
+ export * from "./useModal.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCallback, useMemo, useState } from "react";
3
- import { Modal } from "../ui";
3
+ import { Modal } from "../ui/index.js";
4
4
  export const useModal = () => {
5
5
  const [modalContent, setModalContent] = useState(null);
6
6
  const onClose = useCallback(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"useModal.js","sourceRoot":"","sources":["../../../src/editor/hooks/useModal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAE9B,MAAM,CAAC,MAAM,QAAQ,GAAG,GAGtB,EAAE;IACF,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAI7C,IAAI,CAAC,CAAC;IAET,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE;QAC/B,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QACzB,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,GAAG,YAAY,CAAC;QAC7D,OAAO,CACL,KAAC,KAAK,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,YAC5E,OAAO,GACF,CACT,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,C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UAAgD,EAAE,mBAAmB,GAAG,KAAK,EAAE,EAAE;QAC/F,eAAe,CAAC;YACd,mBAAmB;YACnB,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;YAC5B,KAAK;SACN,CAAC,CAAC;IACL,CAAC,EACD,CAAC,OAAO,CAAC,CACV,CAAC;IAEF,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AAC5B,CAAC,CAAC"}
@@ -1,89 +1,89 @@
1
- export * from "./3-columns";
2
- export * from "./add-sign";
3
- export * from "./arrow-clockwise";
4
- export * from "./arrow-counterclockwise";
5
- export * from "./bg-color";
6
- export * from "./camera";
7
- export * from "./card-checklist";
8
- export * from "./caret-right-fill";
9
- export * from "./chat-left-text";
10
- export * from "./chat-right";
11
- export * from "./chat-right-dots";
12
- export * from "./chat-right-text";
13
- export * from "./chat-square-quote";
14
- export * from "./chevron-down";
15
- export * from "./clipboard";
16
- export * from "./close";
17
- export * from "./code";
18
- export * from "./comments";
19
- export * from "./copy";
20
- export * from "./diagram-2";
21
- export * from "./download";
22
- export * from "./draggable-block-menu";
23
- export * from "./dropdown-more";
24
- export * from "./figma";
25
- export * from "./file-earmark-text";
26
- export * from "./file-image";
27
- export * from "./filetype-gif";
28
- export * from "./font-color";
29
- export * from "./font-family";
30
- export * from "./format-clear";
31
- export * from "./highlighter";
32
- export * from "./horizontal-rule";
33
- export * from "./indent";
34
- export * from "./journal-text";
35
- export * from "./justify";
36
- export * from "./link";
37
- export * from "./list-ol";
38
- export * from "./list-ul";
39
- export * from "./lock";
40
- export * from "./lock-fill";
41
- export * from "./markdown";
42
- export * from "./mic";
43
- export * from "./minus-sign";
44
- export * from "./outdent";
45
- export * from "./paint-bucket";
46
- export * from "./palette";
47
- export * from "./pencil-fill";
48
- export * from "./plug";
49
- export * from "./plug-fill";
50
- export * from "./plus";
51
- export * from "./plus-slash-minus";
52
- export * from "./prettier";
53
- export * from "./prettier-error";
54
- export * from "./scissors";
55
- export * from "./send";
56
- export * from "./square-check";
57
- export * from "./sticky";
58
- export * from "./success";
59
- export * from "./success-alt";
60
- export * from "./table";
61
- export * from "./text-center";
62
- export * from "./text-left";
63
- export * from "./text-paragraph";
64
- export * from "./text-right";
65
- export * from "./trash";
66
- export * from "./trash3";
67
- export * from "./type-bold";
68
- export * from "./type-capitalize";
69
- export * from "./type-h1";
70
- export * from "./type-h2";
71
- export * from "./type-h3";
72
- export * from "./type-h4";
73
- export * from "./type-h5";
74
- export * from "./type-h6";
75
- export * from "./type-italic";
76
- export * from "./type-lowercase";
77
- export * from "./type-strikethrough";
78
- export * from "./type-subscript";
79
- export * from "./type-superscript";
80
- export * from "./type-underline";
81
- export * from "./type-uppercase";
82
- export * from "./upload";
83
- export * from "./user";
84
- export * from "./vertical-bottom";
85
- export * from "./vertical-middle";
86
- export * from "./vertical-top";
87
- export * from "./x";
88
- export * from "./youtube";
1
+ export * from "./3-columns.js";
2
+ export * from "./add-sign.js";
3
+ export * from "./arrow-clockwise.js";
4
+ export * from "./arrow-counterclockwise.js";
5
+ export * from "./bg-color.js";
6
+ export * from "./camera.js";
7
+ export * from "./card-checklist.js";
8
+ export * from "./caret-right-fill.js";
9
+ export * from "./chat-left-text.js";
10
+ export * from "./chat-right.js";
11
+ export * from "./chat-right-dots.js";
12
+ export * from "./chat-right-text.js";
13
+ export * from "./chat-square-quote.js";
14
+ export * from "./chevron-down.js";
15
+ export * from "./clipboard.js";
16
+ export * from "./close.js";
17
+ export * from "./code.js";
18
+ export * from "./comments.js";
19
+ export * from "./copy.js";
20
+ export * from "./diagram-2.js";
21
+ export * from "./download.js";
22
+ export * from "./draggable-block-menu.js";
23
+ export * from "./dropdown-more.js";
24
+ export * from "./figma.js";
25
+ export * from "./file-earmark-text.js";
26
+ export * from "./file-image.js";
27
+ export * from "./filetype-gif.js";
28
+ export * from "./font-color.js";
29
+ export * from "./font-family.js";
30
+ export * from "./format-clear.js";
31
+ export * from "./highlighter.js";
32
+ export * from "./horizontal-rule.js";
33
+ export * from "./indent.js";
34
+ export * from "./journal-text.js";
35
+ export * from "./justify.js";
36
+ export * from "./link.js";
37
+ export * from "./list-ol.js";
38
+ export * from "./list-ul.js";
39
+ export * from "./lock.js";
40
+ export * from "./lock-fill.js";
41
+ export * from "./markdown.js";
42
+ export * from "./mic.js";
43
+ export * from "./minus-sign.js";
44
+ export * from "./outdent.js";
45
+ export * from "./paint-bucket.js";
46
+ export * from "./palette.js";
47
+ export * from "./pencil-fill.js";
48
+ export * from "./plug.js";
49
+ export * from "./plug-fill.js";
50
+ export * from "./plus.js";
51
+ export * from "./plus-slash-minus.js";
52
+ export * from "./prettier.js";
53
+ export * from "./prettier-error.js";
54
+ export * from "./scissors.js";
55
+ export * from "./send.js";
56
+ export * from "./square-check.js";
57
+ export * from "./sticky.js";
58
+ export * from "./success.js";
59
+ export * from "./success-alt.js";
60
+ export * from "./table.js";
61
+ export * from "./text-center.js";
62
+ export * from "./text-left.js";
63
+ export * from "./text-paragraph.js";
64
+ export * from "./text-right.js";
65
+ export * from "./trash.js";
66
+ export * from "./trash3.js";
67
+ export * from "./type-bold.js";
68
+ export * from "./type-capitalize.js";
69
+ export * from "./type-h1.js";
70
+ export * from "./type-h2.js";
71
+ export * from "./type-h3.js";
72
+ export * from "./type-h4.js";
73
+ export * from "./type-h5.js";
74
+ export * from "./type-h6.js";
75
+ export * from "./type-italic.js";
76
+ export * from "./type-lowercase.js";
77
+ export * from "./type-strikethrough.js";
78
+ export * from "./type-subscript.js";
79
+ export * from "./type-superscript.js";
80
+ export * from "./type-underline.js";
81
+ export * from "./type-uppercase.js";
82
+ export * from "./upload.js";
83
+ export * from "./user.js";
84
+ export * from "./vertical-bottom.js";
85
+ export * from "./vertical-middle.js";
86
+ export * from "./vertical-top.js";
87
+ export * from "./x.js";
88
+ export * from "./youtube.js";
89
89
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/images/icons/index.ts"],"names":[],"mappings":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