@payloadcms/richtext-lexical 4.0.0-internal.5b1e7cd → 4.0.0-internal.5e065b3

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 (1440) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/cell/rscEntry.d.ts +1 -1
  3. package/dist/cell/rscEntry.d.ts.map +1 -1
  4. package/dist/cell/rscEntry.js +5 -5
  5. package/dist/cell/rscEntry.js.map +1 -1
  6. package/dist/exports/client/Field-MT4FK3IP.js +2 -0
  7. package/dist/exports/client/Field-MT4FK3IP.js.map +7 -0
  8. package/dist/exports/client/RelationshipComponent-YCPAKOL7.js +2 -0
  9. package/dist/exports/client/RelationshipComponent-YCPAKOL7.js.map +7 -0
  10. package/dist/exports/client/chunk-3LRZDIIG.js +2 -0
  11. package/dist/exports/client/chunk-3LRZDIIG.js.map +7 -0
  12. package/dist/exports/client/chunk-43E5QYAA.js +2 -0
  13. package/dist/exports/client/chunk-43E5QYAA.js.map +7 -0
  14. package/dist/exports/client/chunk-5VIL27GI.js +2 -0
  15. package/dist/exports/client/chunk-5VIL27GI.js.map +7 -0
  16. package/dist/exports/client/chunk-ATPSL6IX.js +2 -0
  17. package/dist/exports/client/chunk-ATPSL6IX.js.map +7 -0
  18. package/dist/exports/client/{chunk-BZZVLW4U.js → chunk-RJ5MAOKZ.js} +1 -1
  19. package/dist/exports/client/chunk-RJ5MAOKZ.js.map +7 -0
  20. package/dist/exports/client/chunk-WSAPGI3Z.js +2 -0
  21. package/dist/exports/client/chunk-WSAPGI3Z.js.map +7 -0
  22. package/dist/exports/client/component-D5QLYS7W.js +2 -0
  23. package/dist/exports/client/component-D5QLYS7W.js.map +7 -0
  24. package/dist/exports/client/componentInline-ZEP5JPTC.js +2 -0
  25. package/dist/exports/client/index.d.ts +1 -4
  26. package/dist/exports/client/index.d.ts.map +1 -1
  27. package/dist/exports/client/index.js +33 -34
  28. package/dist/exports/client/index.js.map +4 -4
  29. package/dist/exports/react/index.d.ts +1 -1
  30. package/dist/exports/react/index.d.ts.map +1 -1
  31. package/dist/exports/react/index.js.map +1 -1
  32. package/dist/features/align/client/toolbarAlignGroup.d.ts.map +1 -1
  33. package/dist/features/align/client/toolbarAlignGroup.js +1 -0
  34. package/dist/features/align/client/toolbarAlignGroup.js.map +1 -1
  35. package/dist/features/blockquote/client/index.js +2 -2
  36. package/dist/features/blockquote/client/index.js.map +1 -1
  37. package/dist/features/blockquote/server/index.d.ts +1 -4
  38. package/dist/features/blockquote/server/index.d.ts.map +1 -1
  39. package/dist/features/blockquote/server/index.js +4 -41
  40. package/dist/features/blockquote/server/index.js.map +1 -1
  41. package/dist/features/blockquote/server/schema.d.ts +8 -0
  42. package/dist/features/blockquote/server/schema.d.ts.map +1 -0
  43. package/dist/features/blockquote/server/schema.js +15 -0
  44. package/dist/features/blockquote/server/schema.js.map +1 -0
  45. package/dist/features/blocks/client/component/BlockContent.d.ts +10 -0
  46. package/dist/features/blocks/client/component/BlockContent.d.ts.map +1 -1
  47. package/dist/features/blocks/client/component/BlockContent.js.map +1 -1
  48. package/dist/features/blocks/client/component/BlockReordering/index.d.ts +11 -0
  49. package/dist/features/blocks/client/component/BlockReordering/index.d.ts.map +1 -0
  50. package/dist/features/blocks/client/component/BlockReordering/index.js +18 -0
  51. package/dist/features/blocks/client/component/BlockReordering/index.js.map +1 -0
  52. package/dist/features/blocks/client/component/index.css +178 -0
  53. package/dist/features/blocks/client/component/index.d.ts +4 -9
  54. package/dist/features/blocks/client/component/index.d.ts.map +1 -1
  55. package/dist/features/blocks/client/component/index.js +230 -82
  56. package/dist/features/blocks/client/component/index.js.map +1 -1
  57. package/dist/features/blocks/client/component/useBlockReordering.d.ts +16 -0
  58. package/dist/features/blocks/client/component/useBlockReordering.d.ts.map +1 -0
  59. package/dist/features/blocks/client/component/useBlockReordering.js +178 -0
  60. package/dist/features/blocks/client/component/useBlockReordering.js.map +1 -0
  61. package/dist/features/blocks/client/componentInline/index.css +84 -0
  62. package/dist/features/blocks/client/componentInline/index.d.ts +4 -3
  63. package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -1
  64. package/dist/features/blocks/client/componentInline/index.js +76 -37
  65. package/dist/features/blocks/client/componentInline/index.js.map +1 -1
  66. package/dist/features/blocks/client/getBlockImageComponent.d.ts +1 -1
  67. package/dist/features/blocks/client/getCachedFormStateIfDataMatches.d.ts +9 -0
  68. package/dist/features/blocks/client/getCachedFormStateIfDataMatches.d.ts.map +1 -0
  69. package/dist/features/blocks/client/getCachedFormStateIfDataMatches.js +95 -0
  70. package/dist/features/blocks/client/getCachedFormStateIfDataMatches.js.map +1 -0
  71. package/dist/features/blocks/client/index.d.ts.map +1 -1
  72. package/dist/features/blocks/client/index.js +4 -4
  73. package/dist/features/blocks/client/index.js.map +1 -1
  74. package/dist/features/blocks/client/markdown/getLexicalToMarkdown.d.ts +1 -1
  75. package/dist/features/blocks/client/markdown/getLexicalToMarkdown.d.ts.map +1 -1
  76. package/dist/features/blocks/client/markdown/getLexicalToMarkdown.js +1 -1
  77. package/dist/features/blocks/client/markdown/getLexicalToMarkdown.js.map +1 -1
  78. package/dist/features/blocks/client/markdown/getMarkdownToLexical.d.ts +1 -1
  79. package/dist/features/blocks/client/markdown/getMarkdownToLexical.d.ts.map +1 -1
  80. package/dist/features/blocks/client/markdown/getMarkdownToLexical.js +5 -2
  81. package/dist/features/blocks/client/markdown/getMarkdownToLexical.js.map +1 -1
  82. package/dist/features/blocks/client/markdown/markdownTransformer.d.ts +1 -2
  83. package/dist/features/blocks/client/markdown/markdownTransformer.d.ts.map +1 -1
  84. package/dist/features/blocks/client/markdown/markdownTransformer.js +4 -4
  85. package/dist/features/blocks/client/markdown/markdownTransformer.js.map +1 -1
  86. package/dist/features/blocks/client/nodes/BlocksNode.d.ts +2 -2
  87. package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -1
  88. package/dist/features/blocks/client/nodes/BlocksNode.js.map +1 -1
  89. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts +2 -2
  90. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts.map +1 -1
  91. package/dist/features/blocks/client/nodes/InlineBlocksNode.js.map +1 -1
  92. package/dist/features/blocks/client/plugin/index.d.ts +1 -1
  93. package/dist/features/blocks/client/plugin/index.d.ts.map +1 -1
  94. package/dist/features/blocks/client/plugin/index.js.map +1 -1
  95. package/dist/features/blocks/premade/CodeBlock/Component/Block.d.ts +1 -1
  96. package/dist/features/blocks/premade/CodeBlock/Component/Block.d.ts.map +1 -1
  97. package/dist/features/blocks/premade/CodeBlock/Component/Block.js +4 -0
  98. package/dist/features/blocks/premade/CodeBlock/Component/Block.js.map +1 -1
  99. package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.css +26 -0
  100. package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.d.ts +1 -1
  101. package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.d.ts.map +1 -1
  102. package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.js +4 -1
  103. package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.js.map +1 -1
  104. package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.css +38 -0
  105. package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.d.ts +1 -1
  106. package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.d.ts.map +1 -1
  107. package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.js +7 -8
  108. package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.js.map +1 -1
  109. package/dist/features/blocks/premade/CodeBlock/Component/index.css +171 -0
  110. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts +1 -2
  111. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts.map +1 -1
  112. package/dist/features/blocks/server/graphQLPopulationPromise.js.map +1 -1
  113. package/dist/features/blocks/server/index.d.ts +1 -0
  114. package/dist/features/blocks/server/index.d.ts.map +1 -1
  115. package/dist/features/blocks/server/index.js +26 -74
  116. package/dist/features/blocks/server/index.js.map +1 -1
  117. package/dist/features/blocks/server/markdown/markdownTransformer.d.ts +1 -1
  118. package/dist/features/blocks/server/markdown/markdownTransformer.d.ts.map +1 -1
  119. package/dist/features/blocks/server/markdown/markdownTransformer.js +4 -4
  120. package/dist/features/blocks/server/markdown/markdownTransformer.js.map +1 -1
  121. package/dist/features/blocks/server/nodes/BlocksNode.d.ts +1 -18
  122. package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +1 -1
  123. package/dist/features/blocks/server/nodes/BlocksNode.js.map +1 -1
  124. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts +2 -10
  125. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +1 -1
  126. package/dist/features/blocks/server/nodes/InlineBlocksNode.js.map +1 -1
  127. package/dist/features/blocks/server/schema.d.ts +45 -0
  128. package/dist/features/blocks/server/schema.d.ts.map +1 -0
  129. package/dist/features/blocks/server/schema.js +140 -0
  130. package/dist/features/blocks/server/schema.js.map +1 -0
  131. package/dist/features/blocks/server/validate.d.ts +1 -2
  132. package/dist/features/blocks/server/validate.d.ts.map +1 -1
  133. package/dist/features/blocks/server/validate.js +1 -1
  134. package/dist/features/blocks/server/validate.js.map +1 -1
  135. package/dist/features/converters/htmlToLexical/index.d.ts +1 -1
  136. package/dist/features/converters/htmlToLexical/index.d.ts.map +1 -1
  137. package/dist/features/converters/htmlToLexical/index.js.map +1 -1
  138. package/dist/features/converters/lexicalToHtml/async/converters/blockquote.d.ts +1 -1
  139. package/dist/features/converters/lexicalToHtml/async/converters/blockquote.d.ts.map +1 -1
  140. package/dist/features/converters/lexicalToHtml/async/converters/blockquote.js.map +1 -1
  141. package/dist/features/converters/lexicalToHtml/async/converters/heading.d.ts +1 -1
  142. package/dist/features/converters/lexicalToHtml/async/converters/heading.d.ts.map +1 -1
  143. package/dist/features/converters/lexicalToHtml/async/converters/heading.js +1 -1
  144. package/dist/features/converters/lexicalToHtml/async/converters/heading.js.map +1 -1
  145. package/dist/features/converters/lexicalToHtml/async/converters/horizontalRule.d.ts +1 -1
  146. package/dist/features/converters/lexicalToHtml/async/converters/horizontalRule.d.ts.map +1 -1
  147. package/dist/features/converters/lexicalToHtml/async/converters/horizontalRule.js.map +1 -1
  148. package/dist/features/converters/lexicalToHtml/async/converters/linebreak.d.ts +1 -1
  149. package/dist/features/converters/lexicalToHtml/async/converters/linebreak.d.ts.map +1 -1
  150. package/dist/features/converters/lexicalToHtml/async/converters/linebreak.js.map +1 -1
  151. package/dist/features/converters/lexicalToHtml/async/converters/link.d.ts +1 -1
  152. package/dist/features/converters/lexicalToHtml/async/converters/link.d.ts.map +1 -1
  153. package/dist/features/converters/lexicalToHtml/async/converters/link.js.map +1 -1
  154. package/dist/features/converters/lexicalToHtml/async/converters/list.d.ts +1 -1
  155. package/dist/features/converters/lexicalToHtml/async/converters/list.d.ts.map +1 -1
  156. package/dist/features/converters/lexicalToHtml/async/converters/list.js +4 -3
  157. package/dist/features/converters/lexicalToHtml/async/converters/list.js.map +1 -1
  158. package/dist/features/converters/lexicalToHtml/async/converters/paragraph.d.ts +1 -1
  159. package/dist/features/converters/lexicalToHtml/async/converters/paragraph.d.ts.map +1 -1
  160. package/dist/features/converters/lexicalToHtml/async/converters/paragraph.js.map +1 -1
  161. package/dist/features/converters/lexicalToHtml/async/converters/tab.d.ts +1 -1
  162. package/dist/features/converters/lexicalToHtml/async/converters/tab.d.ts.map +1 -1
  163. package/dist/features/converters/lexicalToHtml/async/converters/tab.js.map +1 -1
  164. package/dist/features/converters/lexicalToHtml/async/converters/table.d.ts +1 -1
  165. package/dist/features/converters/lexicalToHtml/async/converters/table.d.ts.map +1 -1
  166. package/dist/features/converters/lexicalToHtml/async/converters/table.js +1 -1
  167. package/dist/features/converters/lexicalToHtml/async/converters/table.js.map +1 -1
  168. package/dist/features/converters/lexicalToHtml/async/converters/text.d.ts +1 -1
  169. package/dist/features/converters/lexicalToHtml/async/converters/text.d.ts.map +1 -1
  170. package/dist/features/converters/lexicalToHtml/async/converters/text.js.map +1 -1
  171. package/dist/features/converters/lexicalToHtml/async/converters/upload.d.ts +1 -1
  172. package/dist/features/converters/lexicalToHtml/async/converters/upload.d.ts.map +1 -1
  173. package/dist/features/converters/lexicalToHtml/async/converters/upload.js +3 -3
  174. package/dist/features/converters/lexicalToHtml/async/converters/upload.js.map +1 -1
  175. package/dist/features/converters/lexicalToHtml/async/defaultConverters.d.ts +1 -1
  176. package/dist/features/converters/lexicalToHtml/async/defaultConverters.d.ts.map +1 -1
  177. package/dist/features/converters/lexicalToHtml/async/defaultConverters.js.map +1 -1
  178. package/dist/features/converters/lexicalToHtml/async/types.d.ts +15 -16
  179. package/dist/features/converters/lexicalToHtml/async/types.d.ts.map +1 -1
  180. package/dist/features/converters/lexicalToHtml/async/types.js.map +1 -1
  181. package/dist/features/converters/lexicalToHtml/shared/findConverterForNode.d.ts.map +1 -1
  182. package/dist/features/converters/lexicalToHtml/shared/findConverterForNode.js +3 -2
  183. package/dist/features/converters/lexicalToHtml/shared/findConverterForNode.js.map +1 -1
  184. package/dist/features/converters/lexicalToHtml/sync/converters/blockquote.d.ts +1 -1
  185. package/dist/features/converters/lexicalToHtml/sync/converters/blockquote.d.ts.map +1 -1
  186. package/dist/features/converters/lexicalToHtml/sync/converters/blockquote.js.map +1 -1
  187. package/dist/features/converters/lexicalToHtml/sync/converters/heading.d.ts +1 -1
  188. package/dist/features/converters/lexicalToHtml/sync/converters/heading.d.ts.map +1 -1
  189. package/dist/features/converters/lexicalToHtml/sync/converters/heading.js +1 -1
  190. package/dist/features/converters/lexicalToHtml/sync/converters/heading.js.map +1 -1
  191. package/dist/features/converters/lexicalToHtml/sync/converters/horizontalRule.d.ts +1 -1
  192. package/dist/features/converters/lexicalToHtml/sync/converters/horizontalRule.d.ts.map +1 -1
  193. package/dist/features/converters/lexicalToHtml/sync/converters/horizontalRule.js.map +1 -1
  194. package/dist/features/converters/lexicalToHtml/sync/converters/linebreak.d.ts +1 -1
  195. package/dist/features/converters/lexicalToHtml/sync/converters/linebreak.d.ts.map +1 -1
  196. package/dist/features/converters/lexicalToHtml/sync/converters/linebreak.js.map +1 -1
  197. package/dist/features/converters/lexicalToHtml/sync/converters/link.d.ts +1 -1
  198. package/dist/features/converters/lexicalToHtml/sync/converters/link.d.ts.map +1 -1
  199. package/dist/features/converters/lexicalToHtml/sync/converters/link.js.map +1 -1
  200. package/dist/features/converters/lexicalToHtml/sync/converters/list.d.ts +1 -1
  201. package/dist/features/converters/lexicalToHtml/sync/converters/list.d.ts.map +1 -1
  202. package/dist/features/converters/lexicalToHtml/sync/converters/list.js +4 -3
  203. package/dist/features/converters/lexicalToHtml/sync/converters/list.js.map +1 -1
  204. package/dist/features/converters/lexicalToHtml/sync/converters/paragraph.d.ts +1 -1
  205. package/dist/features/converters/lexicalToHtml/sync/converters/paragraph.d.ts.map +1 -1
  206. package/dist/features/converters/lexicalToHtml/sync/converters/paragraph.js.map +1 -1
  207. package/dist/features/converters/lexicalToHtml/sync/converters/tab.d.ts +1 -1
  208. package/dist/features/converters/lexicalToHtml/sync/converters/tab.d.ts.map +1 -1
  209. package/dist/features/converters/lexicalToHtml/sync/converters/tab.js.map +1 -1
  210. package/dist/features/converters/lexicalToHtml/sync/converters/table.d.ts +1 -1
  211. package/dist/features/converters/lexicalToHtml/sync/converters/table.d.ts.map +1 -1
  212. package/dist/features/converters/lexicalToHtml/sync/converters/table.js +1 -1
  213. package/dist/features/converters/lexicalToHtml/sync/converters/table.js.map +1 -1
  214. package/dist/features/converters/lexicalToHtml/sync/converters/text.d.ts +1 -1
  215. package/dist/features/converters/lexicalToHtml/sync/converters/text.d.ts.map +1 -1
  216. package/dist/features/converters/lexicalToHtml/sync/converters/text.js.map +1 -1
  217. package/dist/features/converters/lexicalToHtml/sync/converters/upload.d.ts +1 -1
  218. package/dist/features/converters/lexicalToHtml/sync/converters/upload.d.ts.map +1 -1
  219. package/dist/features/converters/lexicalToHtml/sync/converters/upload.js +3 -3
  220. package/dist/features/converters/lexicalToHtml/sync/converters/upload.js.map +1 -1
  221. package/dist/features/converters/lexicalToHtml/sync/defaultConverters.d.ts +1 -1
  222. package/dist/features/converters/lexicalToHtml/sync/defaultConverters.d.ts.map +1 -1
  223. package/dist/features/converters/lexicalToHtml/sync/defaultConverters.js.map +1 -1
  224. package/dist/features/converters/lexicalToHtml/sync/types.d.ts +15 -16
  225. package/dist/features/converters/lexicalToHtml/sync/types.d.ts.map +1 -1
  226. package/dist/features/converters/lexicalToHtml/sync/types.js.map +1 -1
  227. package/dist/features/converters/lexicalToJSX/Component/index.d.ts +6 -4
  228. package/dist/features/converters/lexicalToJSX/Component/index.d.ts.map +1 -1
  229. package/dist/features/converters/lexicalToJSX/Component/index.js +5 -4
  230. package/dist/features/converters/lexicalToJSX/Component/index.js.map +1 -1
  231. package/dist/features/converters/lexicalToJSX/converter/converters/blockquote.d.ts +1 -1
  232. package/dist/features/converters/lexicalToJSX/converter/converters/blockquote.d.ts.map +1 -1
  233. package/dist/features/converters/lexicalToJSX/converter/converters/blockquote.js.map +1 -1
  234. package/dist/features/converters/lexicalToJSX/converter/converters/heading.d.ts +1 -1
  235. package/dist/features/converters/lexicalToJSX/converter/converters/heading.d.ts.map +1 -1
  236. package/dist/features/converters/lexicalToJSX/converter/converters/heading.js +2 -1
  237. package/dist/features/converters/lexicalToJSX/converter/converters/heading.js.map +1 -1
  238. package/dist/features/converters/lexicalToJSX/converter/converters/horizontalRule.d.ts +1 -1
  239. package/dist/features/converters/lexicalToJSX/converter/converters/horizontalRule.d.ts.map +1 -1
  240. package/dist/features/converters/lexicalToJSX/converter/converters/horizontalRule.js.map +1 -1
  241. package/dist/features/converters/lexicalToJSX/converter/converters/linebreak.d.ts +1 -1
  242. package/dist/features/converters/lexicalToJSX/converter/converters/linebreak.d.ts.map +1 -1
  243. package/dist/features/converters/lexicalToJSX/converter/converters/linebreak.js.map +1 -1
  244. package/dist/features/converters/lexicalToJSX/converter/converters/link.d.ts +1 -1
  245. package/dist/features/converters/lexicalToJSX/converter/converters/link.d.ts.map +1 -1
  246. package/dist/features/converters/lexicalToJSX/converter/converters/link.js.map +1 -1
  247. package/dist/features/converters/lexicalToJSX/converter/converters/list.d.ts +1 -1
  248. package/dist/features/converters/lexicalToJSX/converter/converters/list.d.ts.map +1 -1
  249. package/dist/features/converters/lexicalToJSX/converter/converters/list.js +2 -1
  250. package/dist/features/converters/lexicalToJSX/converter/converters/list.js.map +1 -1
  251. package/dist/features/converters/lexicalToJSX/converter/converters/paragraph.d.ts +1 -1
  252. package/dist/features/converters/lexicalToJSX/converter/converters/paragraph.d.ts.map +1 -1
  253. package/dist/features/converters/lexicalToJSX/converter/converters/paragraph.js.map +1 -1
  254. package/dist/features/converters/lexicalToJSX/converter/converters/tab.d.ts +1 -1
  255. package/dist/features/converters/lexicalToJSX/converter/converters/tab.d.ts.map +1 -1
  256. package/dist/features/converters/lexicalToJSX/converter/converters/tab.js.map +1 -1
  257. package/dist/features/converters/lexicalToJSX/converter/converters/table.d.ts +1 -1
  258. package/dist/features/converters/lexicalToJSX/converter/converters/table.d.ts.map +1 -1
  259. package/dist/features/converters/lexicalToJSX/converter/converters/table.js.map +1 -1
  260. package/dist/features/converters/lexicalToJSX/converter/converters/text.d.ts +1 -1
  261. package/dist/features/converters/lexicalToJSX/converter/converters/text.d.ts.map +1 -1
  262. package/dist/features/converters/lexicalToJSX/converter/converters/text.js.map +1 -1
  263. package/dist/features/converters/lexicalToJSX/converter/converters/upload.d.ts +1 -1
  264. package/dist/features/converters/lexicalToJSX/converter/converters/upload.d.ts.map +1 -1
  265. package/dist/features/converters/lexicalToJSX/converter/converters/upload.js +4 -4
  266. package/dist/features/converters/lexicalToJSX/converter/converters/upload.js.map +1 -1
  267. package/dist/features/converters/lexicalToJSX/converter/defaultConverters.d.ts +1 -1
  268. package/dist/features/converters/lexicalToJSX/converter/defaultConverters.d.ts.map +1 -1
  269. package/dist/features/converters/lexicalToJSX/converter/defaultConverters.js.map +1 -1
  270. package/dist/features/converters/lexicalToJSX/converter/index.d.ts +1 -1
  271. package/dist/features/converters/lexicalToJSX/converter/index.d.ts.map +1 -1
  272. package/dist/features/converters/lexicalToJSX/converter/index.js.map +1 -1
  273. package/dist/features/converters/lexicalToJSX/converter/types.d.ts +13 -15
  274. package/dist/features/converters/lexicalToJSX/converter/types.d.ts.map +1 -1
  275. package/dist/features/converters/lexicalToJSX/converter/types.js.map +1 -1
  276. package/dist/features/converters/lexicalToMarkdown/index.d.ts.map +1 -1
  277. package/dist/features/converters/lexicalToMarkdown/index.js +1 -1
  278. package/dist/features/converters/lexicalToMarkdown/index.js.map +1 -1
  279. package/dist/features/converters/lexicalToPlaintext/shared/findConverterForNode.js.map +1 -1
  280. package/dist/features/converters/lexicalToPlaintext/sync/types.d.ts +13 -15
  281. package/dist/features/converters/lexicalToPlaintext/sync/types.d.ts.map +1 -1
  282. package/dist/features/converters/lexicalToPlaintext/sync/types.js.map +1 -1
  283. package/dist/features/converters/markdownToLexical/index.d.ts +1 -1
  284. package/dist/features/converters/markdownToLexical/index.d.ts.map +1 -1
  285. package/dist/features/converters/markdownToLexical/index.js +5 -2
  286. package/dist/features/converters/markdownToLexical/index.js.map +1 -1
  287. package/dist/features/converters/utilities/payloadPopulateFn.d.ts.map +1 -1
  288. package/dist/features/converters/utilities/payloadPopulateFn.js +4 -2
  289. package/dist/features/converters/utilities/payloadPopulateFn.js.map +1 -1
  290. package/dist/features/debug/jsxConverter/client/plugin/index.d.ts +1 -1
  291. package/dist/features/debug/jsxConverter/client/plugin/index.d.ts.map +1 -1
  292. package/dist/features/debug/jsxConverter/client/plugin/index.js +1 -0
  293. package/dist/features/debug/jsxConverter/client/plugin/index.js.map +1 -1
  294. package/dist/features/debug/jsxConverter/client/plugin/style.css +9 -0
  295. package/dist/features/debug/testRecorder/client/plugin/index.css +50 -0
  296. package/dist/features/debug/testRecorder/client/plugin/index.d.ts +1 -1
  297. package/dist/features/debug/testRecorder/client/plugin/index.d.ts.map +1 -1
  298. package/dist/features/debug/testRecorder/client/plugin/index.js +1 -0
  299. package/dist/features/debug/testRecorder/client/plugin/index.js.map +1 -1
  300. package/dist/features/debug/treeView/client/plugin/index.css +81 -0
  301. package/dist/features/debug/treeView/client/plugin/index.d.ts +1 -1
  302. package/dist/features/debug/treeView/client/plugin/index.d.ts.map +1 -1
  303. package/dist/features/debug/treeView/client/plugin/index.js +1 -0
  304. package/dist/features/debug/treeView/client/plugin/index.js.map +1 -1
  305. package/dist/features/format/bold/feature.client.js +1 -1
  306. package/dist/features/format/bold/feature.client.js.map +1 -1
  307. package/dist/features/format/bold/feature.server.d.ts.map +1 -1
  308. package/dist/features/format/bold/feature.server.js +1 -1
  309. package/dist/features/format/bold/feature.server.js.map +1 -1
  310. package/dist/features/format/inlineCode/feature.client.js +1 -1
  311. package/dist/features/format/inlineCode/feature.client.js.map +1 -1
  312. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -1
  313. package/dist/features/format/inlineCode/feature.server.js +1 -1
  314. package/dist/features/format/inlineCode/feature.server.js.map +1 -1
  315. package/dist/features/format/italic/feature.client.js +1 -1
  316. package/dist/features/format/italic/feature.client.js.map +1 -1
  317. package/dist/features/format/italic/feature.server.d.ts.map +1 -1
  318. package/dist/features/format/italic/feature.server.js +1 -1
  319. package/dist/features/format/italic/feature.server.js.map +1 -1
  320. package/dist/features/format/strikethrough/feature.client.js +1 -1
  321. package/dist/features/format/strikethrough/feature.client.js.map +1 -1
  322. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -1
  323. package/dist/features/format/strikethrough/feature.server.js +1 -1
  324. package/dist/features/format/strikethrough/feature.server.js.map +1 -1
  325. package/dist/features/heading/client/index.js +2 -2
  326. package/dist/features/heading/client/index.js.map +1 -1
  327. package/dist/features/heading/constants.d.ts +2 -0
  328. package/dist/features/heading/constants.d.ts.map +1 -0
  329. package/dist/features/heading/constants.js +2 -0
  330. package/dist/features/heading/constants.js.map +1 -0
  331. package/dist/features/heading/markdownTransformer.d.ts +2 -2
  332. package/dist/features/heading/markdownTransformer.d.ts.map +1 -1
  333. package/dist/features/heading/markdownTransformer.js +6 -19
  334. package/dist/features/heading/markdownTransformer.js.map +1 -1
  335. package/dist/features/heading/server/index.d.ts +2 -4
  336. package/dist/features/heading/server/index.d.ts.map +1 -1
  337. package/dist/features/heading/server/index.js +9 -42
  338. package/dist/features/heading/server/index.js.map +1 -1
  339. package/dist/features/heading/server/schema.d.ts +10 -0
  340. package/dist/features/heading/server/schema.d.ts.map +1 -0
  341. package/dist/features/heading/server/schema.js +37 -0
  342. package/dist/features/heading/server/schema.js.map +1 -0
  343. package/dist/features/heading/server/validate.d.ts +6 -0
  344. package/dist/features/heading/server/validate.d.ts.map +1 -0
  345. package/dist/features/heading/server/validate.js +15 -0
  346. package/dist/features/heading/server/validate.js.map +1 -0
  347. package/dist/features/horizontalRule/client/index.js +2 -2
  348. package/dist/features/horizontalRule/client/index.js.map +1 -1
  349. package/dist/features/horizontalRule/client/markdownTransformer.d.ts +2 -2
  350. package/dist/features/horizontalRule/client/markdownTransformer.d.ts.map +1 -1
  351. package/dist/features/horizontalRule/client/markdownTransformer.js +1 -1
  352. package/dist/features/horizontalRule/client/markdownTransformer.js.map +1 -1
  353. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts +2 -2
  354. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts.map +1 -1
  355. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js +1 -1
  356. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js.map +1 -1
  357. package/dist/features/horizontalRule/client/plugin/index.css +25 -0
  358. package/dist/features/horizontalRule/client/plugin/index.d.ts +1 -1
  359. package/dist/features/horizontalRule/client/plugin/index.d.ts.map +1 -1
  360. package/dist/features/horizontalRule/client/plugin/index.js +73 -4
  361. package/dist/features/horizontalRule/client/plugin/index.js.map +1 -1
  362. package/dist/features/horizontalRule/server/index.d.ts +1 -0
  363. package/dist/features/horizontalRule/server/index.d.ts.map +1 -1
  364. package/dist/features/horizontalRule/server/index.js +4 -10
  365. package/dist/features/horizontalRule/server/index.js.map +1 -1
  366. package/dist/features/horizontalRule/server/markdownTransformer.d.ts +2 -2
  367. package/dist/features/horizontalRule/server/markdownTransformer.d.ts.map +1 -1
  368. package/dist/features/horizontalRule/server/markdownTransformer.js +1 -1
  369. package/dist/features/horizontalRule/server/markdownTransformer.js.map +1 -1
  370. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts +2 -6
  371. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts.map +1 -1
  372. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js +1 -1
  373. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js.map +1 -1
  374. package/dist/features/horizontalRule/server/schema.d.ts +7 -0
  375. package/dist/features/horizontalRule/server/schema.d.ts.map +1 -0
  376. package/dist/features/horizontalRule/server/schema.js +25 -0
  377. package/dist/features/horizontalRule/server/schema.js.map +1 -0
  378. package/dist/features/indent/client/IndentPlugin.d.ts.map +1 -1
  379. package/dist/features/indent/client/IndentPlugin.js +122 -1
  380. package/dist/features/indent/client/IndentPlugin.js.map +1 -1
  381. package/dist/features/indent/server/i18n.d.ts.map +1 -1
  382. package/dist/features/indent/server/i18n.js +74 -37
  383. package/dist/features/indent/server/i18n.js.map +1 -1
  384. package/dist/features/link/client/index.d.ts.map +1 -1
  385. package/dist/features/link/client/index.js +2 -2
  386. package/dist/features/link/client/index.js.map +1 -1
  387. package/dist/features/link/client/plugins/autoLink/index.d.ts +1 -1
  388. package/dist/features/link/client/plugins/autoLink/index.d.ts.map +1 -1
  389. package/dist/features/link/client/plugins/autoLink/index.js.map +1 -1
  390. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -1
  391. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js +36 -13
  392. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -1
  393. package/dist/features/link/client/plugins/floatingLinkEditor/index.css +106 -0
  394. package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts +1 -1
  395. package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts.map +1 -1
  396. package/dist/features/link/client/plugins/floatingLinkEditor/index.js +1 -0
  397. package/dist/features/link/client/plugins/floatingLinkEditor/index.js.map +1 -1
  398. package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts +1 -1
  399. package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts.map +1 -1
  400. package/dist/features/link/client/plugins/floatingLinkEditor/types.js.map +1 -1
  401. package/dist/features/link/client/plugins/link/index.js.map +1 -1
  402. package/dist/features/link/markdownTransformer.d.ts +5 -5
  403. package/dist/features/link/markdownTransformer.d.ts.map +1 -1
  404. package/dist/features/link/markdownTransformer.js +2 -2
  405. package/dist/features/link/markdownTransformer.js.map +1 -1
  406. package/dist/features/link/nodes/AutoLinkNode.d.ts +4 -4
  407. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -1
  408. package/dist/features/link/nodes/AutoLinkNode.js +2 -1
  409. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -1
  410. package/dist/features/link/nodes/LinkNode.d.ts +4 -4
  411. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -1
  412. package/dist/features/link/nodes/LinkNode.js +2 -1
  413. package/dist/features/link/nodes/LinkNode.js.map +1 -1
  414. package/dist/features/link/server/baseFields.js.map +1 -1
  415. package/dist/features/link/server/graphQLPopulationPromise.d.ts +1 -1
  416. package/dist/features/link/server/graphQLPopulationPromise.d.ts.map +1 -1
  417. package/dist/features/link/server/graphQLPopulationPromise.js.map +1 -1
  418. package/dist/features/link/server/index.d.ts +2 -1
  419. package/dist/features/link/server/index.d.ts.map +1 -1
  420. package/dist/features/link/server/index.js +7 -75
  421. package/dist/features/link/server/index.js.map +1 -1
  422. package/dist/features/link/server/schema.d.ts +32 -0
  423. package/dist/features/link/server/schema.d.ts.map +1 -0
  424. package/dist/features/link/server/schema.js +171 -0
  425. package/dist/features/link/server/schema.js.map +1 -0
  426. package/dist/features/link/server/validate.d.ts +1 -1
  427. package/dist/features/link/server/validate.d.ts.map +1 -1
  428. package/dist/features/link/server/validate.js +1 -1
  429. package/dist/features/link/server/validate.js.map +1 -1
  430. package/dist/features/lists/checklist/client/index.js +1 -1
  431. package/dist/features/lists/checklist/client/index.js.map +1 -1
  432. package/dist/features/lists/checklist/server/index.d.ts.map +1 -1
  433. package/dist/features/lists/checklist/server/index.js +9 -10
  434. package/dist/features/lists/checklist/server/index.js.map +1 -1
  435. package/dist/features/lists/orderedList/client/index.js +1 -1
  436. package/dist/features/lists/orderedList/client/index.js.map +1 -1
  437. package/dist/features/lists/orderedList/server/index.d.ts.map +1 -1
  438. package/dist/features/lists/orderedList/server/index.js +9 -10
  439. package/dist/features/lists/orderedList/server/index.js.map +1 -1
  440. package/dist/features/lists/plugin/index.d.ts +0 -9
  441. package/dist/features/lists/plugin/index.d.ts.map +1 -1
  442. package/dist/features/lists/plugin/index.js.map +1 -1
  443. package/dist/features/lists/shared/constants.d.ts +2 -0
  444. package/dist/features/lists/shared/constants.d.ts.map +1 -0
  445. package/dist/features/lists/shared/constants.js +2 -0
  446. package/dist/features/lists/shared/constants.js.map +1 -0
  447. package/dist/features/lists/shared/schema.d.ts +18 -0
  448. package/dist/features/lists/shared/schema.d.ts.map +1 -0
  449. package/dist/features/lists/shared/schema.js +62 -0
  450. package/dist/features/lists/shared/schema.js.map +1 -0
  451. package/dist/features/lists/shared/validate.d.ts +5 -0
  452. package/dist/features/lists/shared/validate.d.ts.map +1 -0
  453. package/dist/features/lists/shared/validate.js +15 -0
  454. package/dist/features/lists/shared/validate.js.map +1 -0
  455. package/dist/features/lists/unorderedList/client/index.js +1 -1
  456. package/dist/features/lists/unorderedList/client/index.js.map +1 -1
  457. package/dist/features/lists/unorderedList/server/index.d.ts.map +1 -1
  458. package/dist/features/lists/unorderedList/server/index.js +9 -10
  459. package/dist/features/lists/unorderedList/server/index.js.map +1 -1
  460. package/dist/features/relationship/client/components/RelationshipComponent.d.ts +2 -2
  461. package/dist/features/relationship/client/components/RelationshipComponent.d.ts.map +1 -1
  462. package/dist/features/relationship/client/components/RelationshipComponent.js +29 -4
  463. package/dist/features/relationship/client/components/RelationshipComponent.js.map +1 -1
  464. package/dist/features/relationship/client/components/index.css +109 -0
  465. package/dist/features/relationship/client/index.d.ts +2 -2
  466. package/dist/features/relationship/client/index.d.ts.map +1 -1
  467. package/dist/features/relationship/client/index.js.map +1 -1
  468. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts +1 -1
  469. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts.map +1 -1
  470. package/dist/features/relationship/client/nodes/RelationshipNode.js.map +1 -1
  471. package/dist/features/relationship/client/plugins/index.d.ts +3 -3
  472. package/dist/features/relationship/client/plugins/index.d.ts.map +1 -1
  473. package/dist/features/relationship/client/plugins/index.js +27 -31
  474. package/dist/features/relationship/client/plugins/index.js.map +1 -1
  475. package/dist/features/relationship/client/utils/useEnabledRelationships.d.ts +2 -4
  476. package/dist/features/relationship/client/utils/useEnabledRelationships.d.ts.map +1 -1
  477. package/dist/features/relationship/client/utils/useEnabledRelationships.js +52 -50
  478. package/dist/features/relationship/client/utils/useEnabledRelationships.js.map +1 -1
  479. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts +3 -3
  480. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts.map +1 -1
  481. package/dist/features/relationship/server/graphQLPopulationPromise.js +2 -2
  482. package/dist/features/relationship/server/graphQLPopulationPromise.js.map +1 -1
  483. package/dist/features/relationship/server/index.d.ts +9 -1
  484. package/dist/features/relationship/server/index.d.ts.map +1 -1
  485. package/dist/features/relationship/server/index.js +30 -11
  486. package/dist/features/relationship/server/index.js.map +1 -1
  487. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts +1 -10
  488. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts.map +1 -1
  489. package/dist/features/relationship/server/nodes/RelationshipNode.js.map +1 -1
  490. package/dist/features/relationship/server/schema.d.ts +28 -0
  491. package/dist/features/relationship/server/schema.d.ts.map +1 -0
  492. package/dist/features/relationship/server/schema.js +92 -0
  493. package/dist/features/relationship/server/schema.js.map +1 -0
  494. package/dist/features/relationship/shared/filterEnabledRelationshipCollections.d.ts +18 -0
  495. package/dist/features/relationship/shared/filterEnabledRelationshipCollections.d.ts.map +1 -0
  496. package/dist/features/relationship/shared/filterEnabledRelationshipCollections.js +30 -0
  497. package/dist/features/relationship/shared/filterEnabledRelationshipCollections.js.map +1 -0
  498. package/dist/features/table/client/index.d.ts.map +1 -0
  499. package/dist/features/{experimental_table → table}/client/index.js +2 -2
  500. package/dist/features/table/client/index.js.map +1 -0
  501. package/dist/features/table/client/plugins/TableActionMenuPlugin/computeSelectionCount.d.ts +8 -0
  502. package/dist/features/table/client/plugins/TableActionMenuPlugin/computeSelectionCount.d.ts.map +1 -0
  503. package/dist/features/table/client/plugins/TableActionMenuPlugin/computeSelectionCount.js +19 -0
  504. package/dist/features/table/client/plugins/TableActionMenuPlugin/computeSelectionCount.js.map +1 -0
  505. package/dist/features/table/client/plugins/TableActionMenuPlugin/index.css +90 -0
  506. package/dist/features/{experimental_table → table}/client/plugins/TableActionMenuPlugin/index.d.ts +1 -1
  507. package/dist/features/table/client/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  508. package/dist/features/{experimental_table → table}/client/plugins/TableActionMenuPlugin/index.js +20 -46
  509. package/dist/features/table/client/plugins/TableActionMenuPlugin/index.js.map +1 -0
  510. package/dist/features/table/client/plugins/TableCellResizerPlugin/index.css +11 -0
  511. package/dist/features/{experimental_table → table}/client/plugins/TableCellResizerPlugin/index.d.ts +1 -1
  512. package/dist/features/table/client/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  513. package/dist/features/{experimental_table → table}/client/plugins/TableCellResizerPlugin/index.js +42 -18
  514. package/dist/features/table/client/plugins/TableCellResizerPlugin/index.js.map +1 -0
  515. package/dist/features/table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -0
  516. package/dist/features/{experimental_table → table}/client/plugins/TableHoverActionsPlugin/index.js +1 -1
  517. package/dist/features/table/client/plugins/TableHoverActionsPlugin/index.js.map +1 -0
  518. package/dist/features/table/client/plugins/TablePlugin/TableGridPopup/index.css +163 -0
  519. package/dist/features/table/client/plugins/TablePlugin/TableGridPopup/index.d.ts +17 -0
  520. package/dist/features/table/client/plugins/TablePlugin/TableGridPopup/index.d.ts.map +1 -0
  521. package/dist/features/table/client/plugins/TablePlugin/TableGridPopup/index.js +219 -0
  522. package/dist/features/table/client/plugins/TablePlugin/TableGridPopup/index.js.map +1 -0
  523. package/dist/features/table/client/plugins/TablePlugin/index.css +235 -0
  524. package/dist/features/{experimental_table → table}/client/plugins/TablePlugin/index.d.ts +1 -1
  525. package/dist/features/table/client/plugins/TablePlugin/index.d.ts.map +1 -0
  526. package/dist/features/table/client/plugins/TablePlugin/index.js +143 -0
  527. package/dist/features/table/client/plugins/TablePlugin/index.js.map +1 -0
  528. package/dist/features/table/client/utils/debounce.d.ts.map +1 -0
  529. package/dist/features/table/client/utils/debounce.js.map +1 -0
  530. package/dist/features/table/client/utils/useDebounce.d.ts.map +1 -0
  531. package/dist/features/table/client/utils/useDebounce.js.map +1 -0
  532. package/dist/features/table/markdownTransformer.d.ts +5 -0
  533. package/dist/features/table/markdownTransformer.d.ts.map +1 -0
  534. package/dist/features/{experimental_table → table}/markdownTransformer.js +6 -3
  535. package/dist/features/table/markdownTransformer.js.map +1 -0
  536. package/dist/features/table/server/index.d.ts +3 -0
  537. package/dist/features/table/server/index.d.ts.map +1 -0
  538. package/dist/features/table/server/index.js +56 -0
  539. package/dist/features/table/server/index.js.map +1 -0
  540. package/dist/features/table/server/schema.d.ts +27 -0
  541. package/dist/features/table/server/schema.d.ts.map +1 -0
  542. package/dist/features/table/server/schema.js +107 -0
  543. package/dist/features/table/server/schema.js.map +1 -0
  544. package/dist/features/textState/feature.client.js +1 -1
  545. package/dist/features/textState/feature.client.js.map +1 -1
  546. package/dist/features/toolbars/fixed/client/Toolbar/horizontalWheelScroll.d.ts +8 -0
  547. package/dist/features/toolbars/fixed/client/Toolbar/horizontalWheelScroll.d.ts.map +1 -0
  548. package/dist/features/toolbars/fixed/client/Toolbar/horizontalWheelScroll.js +80 -0
  549. package/dist/features/toolbars/fixed/client/Toolbar/horizontalWheelScroll.js.map +1 -0
  550. package/dist/features/toolbars/fixed/client/Toolbar/index.css +159 -0
  551. package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts +1 -1
  552. package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts.map +1 -1
  553. package/dist/features/toolbars/fixed/client/Toolbar/index.js +5 -1
  554. package/dist/features/toolbars/fixed/client/Toolbar/index.js.map +1 -1
  555. package/dist/features/toolbars/inline/client/Toolbar/index.css +31 -0
  556. package/dist/features/toolbars/inline/client/Toolbar/index.d.ts +1 -1
  557. package/dist/features/toolbars/inline/client/Toolbar/index.d.ts.map +1 -1
  558. package/dist/features/toolbars/inline/client/Toolbar/index.js +3 -2
  559. package/dist/features/toolbars/inline/client/Toolbar/index.js.map +1 -1
  560. package/dist/features/toolbars/shared/ToolbarButton/index.css +57 -0
  561. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts +1 -1
  562. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -1
  563. package/dist/features/toolbars/shared/ToolbarButton/index.js +81 -74
  564. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -1
  565. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -1
  566. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +89 -33
  567. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -1
  568. package/dist/features/toolbars/shared/ToolbarDropdown/index.css +212 -0
  569. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts +1 -1
  570. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -1
  571. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +11 -7
  572. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -1
  573. package/dist/features/toolbars/shared/useToolbarStates.d.ts.map +1 -1
  574. package/dist/features/toolbars/shared/useToolbarStates.js +3 -1
  575. package/dist/features/toolbars/shared/useToolbarStates.js.map +1 -1
  576. package/dist/features/toolbars/types.d.ts +5 -1
  577. package/dist/features/toolbars/types.d.ts.map +1 -1
  578. package/dist/features/toolbars/types.js.map +1 -1
  579. package/dist/features/typesClient.d.ts +2 -2
  580. package/dist/features/typesClient.d.ts.map +1 -1
  581. package/dist/features/typesClient.js.map +1 -1
  582. package/dist/features/typesServer.d.ts +35 -70
  583. package/dist/features/typesServer.d.ts.map +1 -1
  584. package/dist/features/typesServer.js.map +1 -1
  585. package/dist/features/upload/client/component/index.css +212 -0
  586. package/dist/features/upload/client/component/index.d.ts +2 -2
  587. package/dist/features/upload/client/component/index.d.ts.map +1 -1
  588. package/dist/features/upload/client/component/index.js +88 -64
  589. package/dist/features/upload/client/component/index.js.map +1 -1
  590. package/dist/features/upload/client/component/pending/index.d.ts +0 -1
  591. package/dist/features/upload/client/component/pending/index.d.ts.map +1 -1
  592. package/dist/features/upload/client/component/pending/index.js.map +1 -1
  593. package/dist/features/upload/client/index.d.ts +3 -2
  594. package/dist/features/upload/client/index.d.ts.map +1 -1
  595. package/dist/features/upload/client/index.js.map +1 -1
  596. package/dist/features/upload/client/nodes/UploadNode.d.ts +1 -1
  597. package/dist/features/upload/client/nodes/UploadNode.d.ts.map +1 -1
  598. package/dist/features/upload/client/nodes/UploadNode.js.map +1 -1
  599. package/dist/features/upload/client/plugin/index.d.ts +1 -1
  600. package/dist/features/upload/client/plugin/index.d.ts.map +1 -1
  601. package/dist/features/upload/client/plugin/index.js +53 -56
  602. package/dist/features/upload/client/plugin/index.js.map +1 -1
  603. package/dist/features/upload/server/graphQLPopulationPromise.d.ts +3 -3
  604. package/dist/features/upload/server/graphQLPopulationPromise.d.ts.map +1 -1
  605. package/dist/features/upload/server/graphQLPopulationPromise.js +1 -1
  606. package/dist/features/upload/server/graphQLPopulationPromise.js.map +1 -1
  607. package/dist/features/upload/server/index.d.ts +7 -2
  608. package/dist/features/upload/server/index.d.ts.map +1 -1
  609. package/dist/features/upload/server/index.js +25 -98
  610. package/dist/features/upload/server/index.js.map +1 -1
  611. package/dist/features/upload/server/markdownTransformer.d.ts +2 -2
  612. package/dist/features/upload/server/markdownTransformer.d.ts.map +1 -1
  613. package/dist/features/upload/server/markdownTransformer.js +1 -1
  614. package/dist/features/upload/server/markdownTransformer.js.map +1 -1
  615. package/dist/features/upload/server/nodes/UploadNode.d.ts +1 -55
  616. package/dist/features/upload/server/nodes/UploadNode.d.ts.map +1 -1
  617. package/dist/features/upload/server/nodes/UploadNode.js.map +1 -1
  618. package/dist/features/upload/server/nodes/conversions.d.ts.map +1 -1
  619. package/dist/features/upload/server/nodes/conversions.js.map +1 -1
  620. package/dist/features/upload/server/schema.d.ts +52 -0
  621. package/dist/features/upload/server/schema.d.ts.map +1 -0
  622. package/dist/features/upload/server/schema.js +145 -0
  623. package/dist/features/upload/server/schema.js.map +1 -0
  624. package/dist/features/upload/server/validate.d.ts +3 -3
  625. package/dist/features/upload/server/validate.d.ts.map +1 -1
  626. package/dist/features/upload/server/validate.js +4 -1
  627. package/dist/features/upload/server/validate.js.map +1 -1
  628. package/dist/field/Diff/converters/link.d.ts +1 -1
  629. package/dist/field/Diff/converters/link.d.ts.map +1 -1
  630. package/dist/field/Diff/converters/link.js.map +1 -1
  631. package/dist/field/Diff/converters/listitem/index.css +80 -0
  632. package/dist/field/Diff/converters/listitem/index.d.ts +2 -2
  633. package/dist/field/Diff/converters/listitem/index.d.ts.map +1 -1
  634. package/dist/field/Diff/converters/listitem/index.js +3 -1
  635. package/dist/field/Diff/converters/listitem/index.js.map +1 -1
  636. package/dist/field/Diff/converters/relationship/index.css +107 -0
  637. package/dist/field/Diff/converters/relationship/index.d.ts +2 -2
  638. package/dist/field/Diff/converters/relationship/index.d.ts.map +1 -1
  639. package/dist/field/Diff/converters/relationship/index.js +11 -28
  640. package/dist/field/Diff/converters/relationship/index.js.map +1 -1
  641. package/dist/field/Diff/converters/unknown/index.css +36 -0
  642. package/dist/field/Diff/converters/unknown/index.d.ts +1 -1
  643. package/dist/field/Diff/converters/unknown/index.d.ts.map +1 -1
  644. package/dist/field/Diff/converters/unknown/index.js +1 -0
  645. package/dist/field/Diff/converters/unknown/index.js.map +1 -1
  646. package/dist/field/Diff/converters/upload/index.css +174 -0
  647. package/dist/field/Diff/converters/upload/index.d.ts +2 -2
  648. package/dist/field/Diff/converters/upload/index.d.ts.map +1 -1
  649. package/dist/field/Diff/converters/upload/index.js +7 -2
  650. package/dist/field/Diff/converters/upload/index.js.map +1 -1
  651. package/dist/field/Diff/index.css +154 -0
  652. package/dist/field/Diff/index.d.ts +4 -3
  653. package/dist/field/Diff/index.d.ts.map +1 -1
  654. package/dist/field/Diff/index.js +2 -0
  655. package/dist/field/Diff/index.js.map +1 -1
  656. package/dist/field/Field.d.ts +3 -3
  657. package/dist/field/Field.d.ts.map +1 -1
  658. package/dist/field/Field.js +38 -27
  659. package/dist/field/Field.js.map +1 -1
  660. package/dist/field/RenderLexical/index.d.ts +5 -3
  661. package/dist/field/RenderLexical/index.d.ts.map +1 -1
  662. package/dist/field/RenderLexical/index.js +23 -23
  663. package/dist/field/RenderLexical/index.js.map +1 -1
  664. package/dist/field/RichTextViewProvider.d.ts +1 -1
  665. package/dist/field/RichTextViewProvider.d.ts.map +1 -1
  666. package/dist/field/RichTextViewProvider.js.map +1 -1
  667. package/dist/field/ViewSelector.css +32 -0
  668. package/dist/field/ViewSelector.d.ts +1 -1
  669. package/dist/field/ViewSelector.d.ts.map +1 -1
  670. package/dist/field/ViewSelector.js +2 -0
  671. package/dist/field/ViewSelector.js.map +1 -1
  672. package/dist/field/bundled.css +1 -1
  673. package/dist/field/index.css +59 -0
  674. package/dist/field/index.d.ts +1 -1
  675. package/dist/field/index.d.ts.map +1 -1
  676. package/dist/field/index.js +1 -1
  677. package/dist/field/index.js.map +1 -1
  678. package/dist/field/rscEntry.d.ts +1 -1
  679. package/dist/field/rscEntry.d.ts.map +1 -1
  680. package/dist/field/rscEntry.js +2 -0
  681. package/dist/field/rscEntry.js.map +1 -1
  682. package/dist/hooks.d.ts +6 -0
  683. package/dist/hooks.d.ts.map +1 -0
  684. package/dist/hooks.js +548 -0
  685. package/dist/hooks.js.map +1 -0
  686. package/dist/i18n.d.ts.map +1 -1
  687. package/dist/i18n.js +68 -0
  688. package/dist/i18n.js.map +1 -1
  689. package/dist/index.d.ts +14 -21
  690. package/dist/index.d.ts.map +1 -1
  691. package/dist/index.js +48 -634
  692. package/dist/index.js.map +1 -1
  693. package/dist/lexical/LexicalEditor.css +61 -0
  694. package/dist/lexical/LexicalEditor.d.ts +1 -1
  695. package/dist/lexical/LexicalEditor.d.ts.map +1 -1
  696. package/dist/lexical/LexicalEditor.js +62 -64
  697. package/dist/lexical/LexicalEditor.js.map +1 -1
  698. package/dist/lexical/LexicalProvider.d.ts +1 -1
  699. package/dist/lexical/LexicalProvider.d.ts.map +1 -1
  700. package/dist/lexical/LexicalProvider.js.map +1 -1
  701. package/dist/lexical/config/client/EditorConfigProvider.d.ts +1 -1
  702. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -1
  703. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -1
  704. package/dist/lexical/config/client/loader.d.ts +1 -1
  705. package/dist/lexical/config/client/loader.d.ts.map +1 -1
  706. package/dist/lexical/config/client/loader.js +5 -1
  707. package/dist/lexical/config/client/loader.js.map +1 -1
  708. package/dist/lexical/config/client/sanitize.d.ts +1 -1
  709. package/dist/lexical/config/client/sanitize.d.ts.map +1 -1
  710. package/dist/lexical/config/client/sanitize.js.map +1 -1
  711. package/dist/lexical/config/server/loader.d.ts +1 -1
  712. package/dist/lexical/config/server/loader.d.ts.map +1 -1
  713. package/dist/lexical/config/server/loader.js +14 -11
  714. package/dist/lexical/config/server/loader.js.map +1 -1
  715. package/dist/lexical/config/server/sanitize.d.ts +1 -1
  716. package/dist/lexical/config/server/sanitize.d.ts.map +1 -1
  717. package/dist/lexical/config/server/sanitize.js +11 -19
  718. package/dist/lexical/config/server/sanitize.js.map +1 -1
  719. package/dist/lexical/config/types.d.ts +1 -1
  720. package/dist/lexical/config/types.d.ts.map +1 -1
  721. package/dist/lexical/config/types.js.map +1 -1
  722. package/dist/lexical/nodes/index.d.ts +1 -1
  723. package/dist/lexical/nodes/index.d.ts.map +1 -1
  724. package/dist/lexical/nodes/index.js.map +1 -1
  725. package/dist/lexical/plugins/DecoratorPlugin/index.css +11 -0
  726. package/dist/lexical/plugins/DecoratorPlugin/index.d.ts +1 -1
  727. package/dist/lexical/plugins/DecoratorPlugin/index.d.ts.map +1 -1
  728. package/dist/lexical/plugins/DecoratorPlugin/index.js +25 -21
  729. package/dist/lexical/plugins/DecoratorPlugin/index.js.map +1 -1
  730. package/dist/lexical/plugins/InsertParagraphAtEnd/index.css +45 -0
  731. package/dist/lexical/plugins/InsertParagraphAtEnd/index.d.ts +1 -1
  732. package/dist/lexical/plugins/InsertParagraphAtEnd/index.d.ts.map +1 -1
  733. package/dist/lexical/plugins/InsertParagraphAtEnd/index.js +28 -14
  734. package/dist/lexical/plugins/InsertParagraphAtEnd/index.js.map +1 -1
  735. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -1
  736. package/dist/lexical/plugins/MarkdownShortcut/index.js +1 -1
  737. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -1
  738. package/dist/lexical/plugins/NodeViewOverridePlugin/index.d.ts.map +1 -1
  739. package/dist/lexical/plugins/NodeViewOverridePlugin/index.js +21 -0
  740. package/dist/lexical/plugins/NodeViewOverridePlugin/index.js.map +1 -1
  741. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -1
  742. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -1
  743. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +2 -21
  744. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -1
  745. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +1 -1
  746. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -1
  747. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -1
  748. package/dist/lexical/plugins/SlashMenu/index.css +59 -0
  749. package/dist/lexical/plugins/SlashMenu/index.d.ts +1 -1
  750. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -1
  751. package/dist/lexical/plugins/SlashMenu/index.js +2 -0
  752. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -1
  753. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.css +41 -0
  754. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +1 -1
  755. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -1
  756. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js +3 -2
  757. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -1
  758. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.css +86 -0
  759. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +1 -1
  760. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -1
  761. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +32 -11
  762. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -1
  763. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +1 -1
  764. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -1
  765. package/dist/lexical/plugins/handles/DraggableBlockPlugin/useKeyboardReordering.d.ts +7 -0
  766. package/dist/lexical/plugins/handles/DraggableBlockPlugin/useKeyboardReordering.d.ts.map +1 -0
  767. package/dist/lexical/plugins/handles/DraggableBlockPlugin/useKeyboardReordering.js +65 -0
  768. package/dist/lexical/plugins/handles/DraggableBlockPlugin/useKeyboardReordering.js.map +1 -0
  769. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -1
  770. package/dist/lexical/plugins/handles/utils/setHandlePosition.js +2 -0
  771. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -1
  772. package/dist/lexical/theme/EditorTheme.css +356 -0
  773. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -1
  774. package/dist/lexical/theme/EditorTheme.js +1 -0
  775. package/dist/lexical/theme/EditorTheme.js.map +1 -1
  776. package/dist/lexical/ui/ContentEditable.css +100 -0
  777. package/dist/lexical/ui/ContentEditable.d.ts +3 -2
  778. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -1
  779. package/dist/lexical/ui/ContentEditable.js +22 -7
  780. package/dist/lexical/ui/ContentEditable.js.map +1 -1
  781. package/dist/lexical/ui/icons/Add/index.d.ts +4 -1
  782. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -1
  783. package/dist/lexical/ui/icons/Add/index.js +19 -12
  784. package/dist/lexical/ui/icons/Add/index.js.map +1 -1
  785. package/dist/lexical/ui/icons/Add/index.svg +2 -3
  786. package/dist/lexical/ui/icons/Add/light.svg +2 -3
  787. package/dist/lexical/ui/icons/AlignCenter/index.d.ts +3 -1
  788. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -1
  789. package/dist/lexical/ui/icons/AlignCenter/index.js +15 -19
  790. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -1
  791. package/dist/lexical/ui/icons/AlignJustify/index.d.ts +3 -1
  792. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -1
  793. package/dist/lexical/ui/icons/AlignJustify/index.js +15 -19
  794. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -1
  795. package/dist/lexical/ui/icons/AlignLeft/index.d.ts +3 -1
  796. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -1
  797. package/dist/lexical/ui/icons/AlignLeft/index.js +15 -19
  798. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -1
  799. package/dist/lexical/ui/icons/AlignRight/index.d.ts +3 -1
  800. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -1
  801. package/dist/lexical/ui/icons/AlignRight/index.js +15 -19
  802. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -1
  803. package/dist/lexical/ui/icons/Block/index.d.ts +3 -1
  804. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -1
  805. package/dist/lexical/ui/icons/Block/index.js +13 -28
  806. package/dist/lexical/ui/icons/Block/index.js.map +1 -1
  807. package/dist/lexical/ui/icons/Blockquote/index.d.ts +3 -1
  808. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -1
  809. package/dist/lexical/ui/icons/Blockquote/index.js +9 -6
  810. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -1
  811. package/dist/lexical/ui/icons/Bold/index.d.ts +3 -1
  812. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -1
  813. package/dist/lexical/ui/icons/Bold/index.js +13 -8
  814. package/dist/lexical/ui/icons/Bold/index.js.map +1 -1
  815. package/dist/lexical/ui/icons/Checklist/index.d.ts +4 -1
  816. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -1
  817. package/dist/lexical/ui/icons/Checklist/index.js +17 -18
  818. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -1
  819. package/dist/lexical/ui/icons/Code/index.d.ts +3 -1
  820. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -1
  821. package/dist/lexical/ui/icons/Code/index.js +15 -13
  822. package/dist/lexical/ui/icons/Code/index.js.map +1 -1
  823. package/dist/lexical/ui/icons/CodeBlock/index.d.ts +4 -1
  824. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -1
  825. package/dist/lexical/ui/icons/CodeBlock/index.js +18 -7
  826. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -1
  827. package/dist/lexical/ui/icons/Collapse/index.d.ts +3 -1
  828. package/dist/lexical/ui/icons/Collapse/index.d.ts.map +1 -1
  829. package/dist/lexical/ui/icons/Collapse/index.js +10 -8
  830. package/dist/lexical/ui/icons/Collapse/index.js.map +1 -1
  831. package/dist/lexical/ui/icons/DraggableBlock/index.svg +7 -7
  832. package/dist/lexical/ui/icons/DraggableBlock/light.svg +7 -7
  833. package/dist/lexical/ui/icons/Expand/index.d.ts +5 -0
  834. package/dist/lexical/ui/icons/Expand/index.d.ts.map +1 -0
  835. package/dist/lexical/ui/icons/Expand/index.js +22 -0
  836. package/dist/lexical/ui/icons/Expand/index.js.map +1 -0
  837. package/dist/lexical/ui/icons/H1/index.d.ts +3 -1
  838. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -1
  839. package/dist/lexical/ui/icons/H1/index.js +9 -6
  840. package/dist/lexical/ui/icons/H1/index.js.map +1 -1
  841. package/dist/lexical/ui/icons/H2/index.d.ts +3 -1
  842. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -1
  843. package/dist/lexical/ui/icons/H2/index.js +9 -6
  844. package/dist/lexical/ui/icons/H2/index.js.map +1 -1
  845. package/dist/lexical/ui/icons/H3/index.d.ts +3 -1
  846. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -1
  847. package/dist/lexical/ui/icons/H3/index.js +19 -9
  848. package/dist/lexical/ui/icons/H3/index.js.map +1 -1
  849. package/dist/lexical/ui/icons/H4/index.d.ts +3 -1
  850. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -1
  851. package/dist/lexical/ui/icons/H4/index.js +19 -9
  852. package/dist/lexical/ui/icons/H4/index.js.map +1 -1
  853. package/dist/lexical/ui/icons/H5/index.d.ts +3 -1
  854. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -1
  855. package/dist/lexical/ui/icons/H5/index.js +19 -9
  856. package/dist/lexical/ui/icons/H5/index.js.map +1 -1
  857. package/dist/lexical/ui/icons/H6/index.d.ts +3 -1
  858. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -1
  859. package/dist/lexical/ui/icons/H6/index.js +19 -9
  860. package/dist/lexical/ui/icons/H6/index.js.map +1 -1
  861. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts +3 -1
  862. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -1
  863. package/dist/lexical/ui/icons/HorizontalRule/index.js +11 -11
  864. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -1
  865. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts +3 -1
  866. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -1
  867. package/dist/lexical/ui/icons/IndentDecrease/index.js +18 -22
  868. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -1
  869. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts +3 -1
  870. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -1
  871. package/dist/lexical/ui/icons/IndentIncrease/index.js +15 -22
  872. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -1
  873. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -1
  874. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -1
  875. package/dist/lexical/ui/icons/InlineBlocks/index.js +9 -6
  876. package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -1
  877. package/dist/lexical/ui/icons/Italic/index.d.ts +3 -1
  878. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -1
  879. package/dist/lexical/ui/icons/Italic/index.js +13 -8
  880. package/dist/lexical/ui/icons/Italic/index.js.map +1 -1
  881. package/dist/lexical/ui/icons/Link/index.d.ts +4 -1
  882. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -1
  883. package/dist/lexical/ui/icons/Link/index.js +14 -9
  884. package/dist/lexical/ui/icons/Link/index.js.map +1 -1
  885. package/dist/lexical/ui/icons/Meatballs/index.d.ts +4 -1
  886. package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -1
  887. package/dist/lexical/ui/icons/Meatballs/index.js +19 -15
  888. package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -1
  889. package/dist/lexical/ui/icons/OrderedList/index.d.ts +4 -1
  890. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -1
  891. package/dist/lexical/ui/icons/OrderedList/index.js +19 -25
  892. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -1
  893. package/dist/lexical/ui/icons/Page/index.d.ts +5 -0
  894. package/dist/lexical/ui/icons/Page/index.d.ts.map +1 -0
  895. package/dist/lexical/ui/icons/Page/index.js +21 -0
  896. package/dist/lexical/ui/icons/Page/index.js.map +1 -0
  897. package/dist/lexical/ui/icons/Relationship/index.d.ts +3 -1
  898. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -1
  899. package/dist/lexical/ui/icons/Relationship/index.js +13 -25
  900. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -1
  901. package/dist/lexical/ui/icons/Strikethrough/index.d.ts +3 -1
  902. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -1
  903. package/dist/lexical/ui/icons/Strikethrough/index.js +13 -13
  904. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -1
  905. package/dist/lexical/ui/icons/Subscript/index.d.ts +3 -1
  906. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -1
  907. package/dist/lexical/ui/icons/Subscript/index.js +10 -7
  908. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -1
  909. package/dist/lexical/ui/icons/Superscript/index.d.ts +3 -1
  910. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -1
  911. package/dist/lexical/ui/icons/Superscript/index.js +10 -7
  912. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -1
  913. package/dist/lexical/ui/icons/Table/index.d.ts +4 -1
  914. package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -1
  915. package/dist/lexical/ui/icons/Table/index.js +20 -15
  916. package/dist/lexical/ui/icons/Table/index.js.map +1 -1
  917. package/dist/lexical/ui/icons/Text/index.d.ts +4 -1
  918. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -1
  919. package/dist/lexical/ui/icons/Text/index.js +17 -8
  920. package/dist/lexical/ui/icons/Text/index.js.map +1 -1
  921. package/dist/lexical/ui/icons/Trash/index.d.ts +10 -0
  922. package/dist/lexical/ui/icons/Trash/index.d.ts.map +1 -0
  923. package/dist/lexical/ui/icons/Trash/index.js +29 -0
  924. package/dist/lexical/ui/icons/Trash/index.js.map +1 -0
  925. package/dist/lexical/ui/icons/Underline/index.d.ts +3 -1
  926. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -1
  927. package/dist/lexical/ui/icons/Underline/index.js +16 -14
  928. package/dist/lexical/ui/icons/Underline/index.js.map +1 -1
  929. package/dist/lexical/ui/icons/UnorderedList/index.d.ts +3 -1
  930. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -1
  931. package/dist/lexical/ui/icons/UnorderedList/index.js +13 -40
  932. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -1
  933. package/dist/lexical/ui/icons/Upload/index.d.ts +3 -1
  934. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -1
  935. package/dist/lexical/ui/icons/Upload/index.js +15 -22
  936. package/dist/lexical/ui/icons/Upload/index.js.map +1 -1
  937. package/dist/lexical/utils/markdown/convertFromMarkdownString.d.ts +17 -0
  938. package/dist/lexical/utils/markdown/convertFromMarkdownString.d.ts.map +1 -0
  939. package/dist/lexical/utils/markdown/convertFromMarkdownString.js +27 -0
  940. package/dist/lexical/utils/markdown/convertFromMarkdownString.js.map +1 -0
  941. package/dist/lexical/utils/markdown/createBlockNode.d.ts +2 -2
  942. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -1
  943. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -1
  944. package/dist/lexical/utils/markdown/normalizeMarkdown.d.ts +25 -0
  945. package/dist/lexical/utils/markdown/normalizeMarkdown.d.ts.map +1 -0
  946. package/dist/lexical/utils/markdown/normalizeMarkdown.js +91 -0
  947. package/dist/lexical/utils/markdown/normalizeMarkdown.js.map +1 -0
  948. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -1
  949. package/dist/lexical/utils/point.d.ts.map +1 -1
  950. package/dist/lexical/utils/rect.d.ts.map +1 -1
  951. package/dist/lexical-proxy/@lexical-markdown.d.ts +1 -1
  952. package/dist/lexical-proxy/@lexical-markdown.d.ts.map +1 -1
  953. package/dist/lexical-proxy/@lexical-markdown.js +1 -1
  954. package/dist/lexical-proxy/@lexical-markdown.js.map +1 -1
  955. package/dist/lexical-proxy/@lexical-react/ExtensionComponent.d.ts +2 -0
  956. package/dist/lexical-proxy/@lexical-react/ExtensionComponent.d.ts.map +1 -0
  957. package/dist/lexical-proxy/@lexical-react/ExtensionComponent.js +2 -0
  958. package/dist/lexical-proxy/@lexical-react/ExtensionComponent.js.map +1 -0
  959. package/dist/lexical-proxy/@lexical-react/LexicalExtensionComposer.d.ts +2 -0
  960. package/dist/lexical-proxy/@lexical-react/LexicalExtensionComposer.d.ts.map +1 -0
  961. package/dist/lexical-proxy/@lexical-react/LexicalExtensionComposer.js +2 -0
  962. package/dist/lexical-proxy/@lexical-react/LexicalExtensionComposer.js.map +1 -0
  963. package/dist/lexical-proxy/@lexical-react/LexicalExtensionEditorComposer.d.ts +2 -0
  964. package/dist/lexical-proxy/@lexical-react/LexicalExtensionEditorComposer.d.ts.map +1 -0
  965. package/dist/lexical-proxy/@lexical-react/LexicalExtensionEditorComposer.js +2 -0
  966. package/dist/lexical-proxy/@lexical-react/LexicalExtensionEditorComposer.js.map +1 -0
  967. package/dist/lexical-proxy/@lexical-react/LexicalSelectionAlwaysOnDisplay.d.ts +2 -0
  968. package/dist/lexical-proxy/@lexical-react/LexicalSelectionAlwaysOnDisplay.d.ts.map +1 -0
  969. package/dist/lexical-proxy/@lexical-react/LexicalSelectionAlwaysOnDisplay.js +2 -0
  970. package/dist/lexical-proxy/@lexical-react/LexicalSelectionAlwaysOnDisplay.js.map +1 -0
  971. package/dist/lexical-proxy/@lexical-react/ReactExtension.d.ts +2 -0
  972. package/dist/lexical-proxy/@lexical-react/ReactExtension.d.ts.map +1 -0
  973. package/dist/lexical-proxy/@lexical-react/ReactExtension.js +2 -0
  974. package/dist/lexical-proxy/@lexical-react/ReactExtension.js.map +1 -0
  975. package/dist/lexical-proxy/@lexical-react/ReactPluginHostExtension.d.ts +2 -0
  976. package/dist/lexical-proxy/@lexical-react/ReactPluginHostExtension.d.ts.map +1 -0
  977. package/dist/lexical-proxy/@lexical-react/ReactPluginHostExtension.js +2 -0
  978. package/dist/lexical-proxy/@lexical-react/ReactPluginHostExtension.js.map +1 -0
  979. package/dist/lexical-proxy/@lexical-react/ReactProviderExtension.d.ts +2 -0
  980. package/dist/lexical-proxy/@lexical-react/ReactProviderExtension.d.ts.map +1 -0
  981. package/dist/lexical-proxy/@lexical-react/ReactProviderExtension.js +2 -0
  982. package/dist/lexical-proxy/@lexical-react/ReactProviderExtension.js.map +1 -0
  983. package/dist/lexical-proxy/@lexical-react/TreeViewExtension.d.ts +2 -0
  984. package/dist/lexical-proxy/@lexical-react/TreeViewExtension.d.ts.map +1 -0
  985. package/dist/lexical-proxy/@lexical-react/TreeViewExtension.js +2 -0
  986. package/dist/lexical-proxy/@lexical-react/TreeViewExtension.js.map +1 -0
  987. package/dist/lexical-proxy/@lexical-react/useExtensionComponent.d.ts +2 -0
  988. package/dist/lexical-proxy/@lexical-react/useExtensionComponent.d.ts.map +1 -0
  989. package/dist/lexical-proxy/@lexical-react/useExtensionComponent.js +2 -0
  990. package/dist/lexical-proxy/@lexical-react/useExtensionComponent.js.map +1 -0
  991. package/dist/lexical-proxy/@lexical-react/useExtensionSignalValue.d.ts +2 -0
  992. package/dist/lexical-proxy/@lexical-react/useExtensionSignalValue.d.ts.map +1 -0
  993. package/dist/lexical-proxy/@lexical-react/useExtensionSignalValue.js +2 -0
  994. package/dist/lexical-proxy/@lexical-react/useExtensionSignalValue.js.map +1 -0
  995. package/dist/lexical-proxy/@lexical-react/useLexicalAriaLiveRegion.d.ts +2 -0
  996. package/dist/lexical-proxy/@lexical-react/useLexicalAriaLiveRegion.d.ts.map +1 -0
  997. package/dist/lexical-proxy/@lexical-react/useLexicalAriaLiveRegion.js +2 -0
  998. package/dist/lexical-proxy/@lexical-react/useLexicalAriaLiveRegion.js.map +1 -0
  999. package/dist/lexical-proxy/@lexical-react/useLexicalFocusManagerRef.d.ts +2 -0
  1000. package/dist/lexical-proxy/@lexical-react/useLexicalFocusManagerRef.d.ts.map +1 -0
  1001. package/dist/lexical-proxy/@lexical-react/useLexicalFocusManagerRef.js +2 -0
  1002. package/dist/lexical-proxy/@lexical-react/useLexicalFocusManagerRef.js.map +1 -0
  1003. package/dist/lexical-proxy/@lexical-react/useLexicalFocusTrapRef.d.ts +2 -0
  1004. package/dist/lexical-proxy/@lexical-react/useLexicalFocusTrapRef.d.ts.map +1 -0
  1005. package/dist/lexical-proxy/@lexical-react/useLexicalFocusTrapRef.js +2 -0
  1006. package/dist/lexical-proxy/@lexical-react/useLexicalFocusTrapRef.js.map +1 -0
  1007. package/dist/lexical-proxy/@lexical-react/useLexicalRovingTabIndexRef.d.ts +2 -0
  1008. package/dist/lexical-proxy/@lexical-react/useLexicalRovingTabIndexRef.d.ts.map +1 -0
  1009. package/dist/lexical-proxy/@lexical-react/useLexicalRovingTabIndexRef.js +2 -0
  1010. package/dist/lexical-proxy/@lexical-react/useLexicalRovingTabIndexRef.js.map +1 -0
  1011. package/dist/lexical-proxy/@lexical-react/useLexicalSlotRef.d.ts +2 -0
  1012. package/dist/lexical-proxy/@lexical-react/useLexicalSlotRef.d.ts.map +1 -0
  1013. package/dist/lexical-proxy/@lexical-react/useLexicalSlotRef.js +2 -0
  1014. package/dist/lexical-proxy/@lexical-react/useLexicalSlotRef.js.map +1 -0
  1015. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
  1016. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
  1017. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
  1018. package/dist/presets/llmInstructions.d.ts +2 -0
  1019. package/dist/presets/llmInstructions.d.ts.map +1 -0
  1020. package/dist/presets/llmInstructions.js +13 -0
  1021. package/dist/presets/llmInstructions.js.map +1 -0
  1022. package/dist/types/builtInNodes.d.ts +14 -0
  1023. package/dist/types/builtInNodes.d.ts.map +1 -0
  1024. package/dist/types/builtInNodes.js +203 -0
  1025. package/dist/types/builtInNodes.js.map +1 -0
  1026. package/dist/{types.d.ts → types/index.d.ts} +28 -29
  1027. package/dist/types/index.d.ts.map +1 -0
  1028. package/dist/types/index.js +2 -0
  1029. package/dist/types/index.js.map +1 -0
  1030. package/dist/types/jsonSchemaHelpers.d.ts +30 -0
  1031. package/dist/types/jsonSchemaHelpers.d.ts.map +1 -0
  1032. package/dist/types/jsonSchemaHelpers.js +58 -0
  1033. package/dist/types/jsonSchemaHelpers.js.map +1 -0
  1034. package/dist/types/nodeTypes.d.ts +128 -0
  1035. package/dist/types/nodeTypes.d.ts.map +1 -0
  1036. package/dist/types/nodeTypes.js +6 -0
  1037. package/dist/types/nodeTypes.js.map +1 -0
  1038. package/dist/types/schema.d.ts +6 -0
  1039. package/dist/types/schema.d.ts.map +1 -0
  1040. package/dist/types/schema.js +90 -0
  1041. package/dist/types/schema.js.map +1 -0
  1042. package/dist/utilities/applyBaseFilterToFields.d.ts.map +1 -1
  1043. package/dist/utilities/applyBaseFilterToFields.js +1 -2
  1044. package/dist/utilities/applyBaseFilterToFields.js.map +1 -1
  1045. package/dist/utilities/buildEditorState.d.ts +18 -4
  1046. package/dist/utilities/buildEditorState.d.ts.map +1 -1
  1047. package/dist/utilities/buildEditorState.js +21 -0
  1048. package/dist/utilities/buildEditorState.js.map +1 -1
  1049. package/dist/utilities/buildInitialState.d.ts +4 -2
  1050. package/dist/utilities/buildInitialState.d.ts.map +1 -1
  1051. package/dist/utilities/buildInitialState.js +1 -0
  1052. package/dist/utilities/buildInitialState.js.map +1 -1
  1053. package/dist/utilities/createClientFeature.d.ts +1 -1
  1054. package/dist/utilities/createClientFeature.d.ts.map +1 -1
  1055. package/dist/utilities/createClientFeature.js.map +1 -1
  1056. package/dist/utilities/createServerFeature.d.ts +1 -1
  1057. package/dist/utilities/createServerFeature.d.ts.map +1 -1
  1058. package/dist/utilities/createServerFeature.js +2 -2
  1059. package/dist/utilities/createServerFeature.js.map +1 -1
  1060. package/dist/utilities/editorConfigFactory.d.ts +7 -7
  1061. package/dist/utilities/editorConfigFactory.d.ts.map +1 -1
  1062. package/dist/utilities/editorConfigFactory.js +9 -9
  1063. package/dist/utilities/editorConfigFactory.js.map +1 -1
  1064. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -1
  1065. package/dist/utilities/fieldsDrawer/Drawer.js +19 -10
  1066. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -1
  1067. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -1
  1068. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -1
  1069. package/dist/utilities/fieldsDrawer/DrawerContent.js +8 -7
  1070. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -1
  1071. package/dist/utilities/fieldsDrawer/index.css +12 -0
  1072. package/dist/utilities/fieldsDrawer/useDrawerSubmit.d.ts +29 -0
  1073. package/dist/utilities/fieldsDrawer/useDrawerSubmit.d.ts.map +1 -0
  1074. package/dist/utilities/fieldsDrawer/useDrawerSubmit.js +97 -0
  1075. package/dist/utilities/fieldsDrawer/useDrawerSubmit.js.map +1 -0
  1076. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts +1 -0
  1077. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts.map +1 -1
  1078. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.js +34 -18
  1079. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.js.map +1 -1
  1080. package/dist/utilities/generateImportMap.d.ts +2 -2
  1081. package/dist/utilities/generateImportMap.d.ts.map +1 -1
  1082. package/dist/utilities/generateImportMap.js.map +1 -1
  1083. package/dist/utilities/generateSchemaMap.d.ts +1 -1
  1084. package/dist/utilities/getDefaultSanitizedEditorConfig.d.ts +2 -2
  1085. package/dist/utilities/getDefaultSanitizedEditorConfig.d.ts.map +1 -1
  1086. package/dist/utilities/getDefaultSanitizedEditorConfig.js +6 -17
  1087. package/dist/utilities/getDefaultSanitizedEditorConfig.js.map +1 -1
  1088. package/dist/utilities/initLexicalFeatures.d.ts +1 -1
  1089. package/dist/utilities/initLexicalFeatures.d.ts.map +1 -1
  1090. package/dist/utilities/initLexicalFeatures.js.map +1 -1
  1091. package/dist/utilities/upgradeLexicalData/index.js +6 -3
  1092. package/dist/utilities/upgradeLexicalData/index.js.map +1 -1
  1093. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +1 -1
  1094. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -1
  1095. package/dist/validate/hasText.d.ts +2 -2
  1096. package/dist/validate/hasText.d.ts.map +1 -1
  1097. package/dist/validate/hasText.js.map +1 -1
  1098. package/dist/validate/index.d.ts +1 -1
  1099. package/dist/validate/index.d.ts.map +1 -1
  1100. package/package.json +108 -44
  1101. package/dist/dependencyChecker.spec.js +0 -16
  1102. package/dist/dependencyChecker.spec.js.map +0 -1
  1103. package/dist/exports/client/Component-DOSSWC76.js +0 -2
  1104. package/dist/exports/client/Component-DOSSWC76.js.map +0 -7
  1105. package/dist/exports/client/Component-MBLHTKDK.js +0 -2
  1106. package/dist/exports/client/Component-MBLHTKDK.js.map +0 -7
  1107. package/dist/exports/client/Field-4UEGQMIN.js +0 -2
  1108. package/dist/exports/client/Field-4UEGQMIN.js.map +0 -7
  1109. package/dist/exports/client/RelationshipComponent-BG3DPV3T.js +0 -2
  1110. package/dist/exports/client/RelationshipComponent-BG3DPV3T.js.map +0 -7
  1111. package/dist/exports/client/bundled.css +0 -1
  1112. package/dist/exports/client/chunk-BZZVLW4U.js.map +0 -7
  1113. package/dist/exports/client/chunk-F26IQ5RE.js +0 -2
  1114. package/dist/exports/client/chunk-F26IQ5RE.js.map +0 -7
  1115. package/dist/exports/client/chunk-FTT5KJ6W.js +0 -12
  1116. package/dist/exports/client/chunk-FTT5KJ6W.js.map +0 -7
  1117. package/dist/exports/client/chunk-INBEEENE.js +0 -2
  1118. package/dist/exports/client/chunk-INBEEENE.js.map +0 -7
  1119. package/dist/exports/client/chunk-QJ5EETIB.js +0 -2
  1120. package/dist/exports/client/chunk-QJ5EETIB.js.map +0 -7
  1121. package/dist/exports/client/chunk-YWIZCGSY.js +0 -2
  1122. package/dist/exports/client/chunk-YWIZCGSY.js.map +0 -7
  1123. package/dist/exports/client/component-XIHC3W6W.js +0 -2
  1124. package/dist/exports/client/component-XIHC3W6W.js.map +0 -7
  1125. package/dist/exports/client/componentInline-CBBUBQ7P.js +0 -2
  1126. package/dist/exports/server/migrate.d.ts +0 -16
  1127. package/dist/exports/server/migrate.d.ts.map +0 -1
  1128. package/dist/exports/server/migrate.js +0 -16
  1129. package/dist/exports/server/migrate.js.map +0 -1
  1130. package/dist/features/blockquote/markdownTransformer.d.ts +0 -3
  1131. package/dist/features/blockquote/markdownTransformer.d.ts.map +0 -1
  1132. package/dist/features/blockquote/markdownTransformer.js +0 -33
  1133. package/dist/features/blockquote/markdownTransformer.js.map +0 -1
  1134. package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts +0 -11
  1135. package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts.map +0 -1
  1136. package/dist/features/blocks/client/component/removeEmptyArrayValues.js +0 -20
  1137. package/dist/features/blocks/client/component/removeEmptyArrayValues.js.map +0 -1
  1138. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/linebreak.d.ts +0 -4
  1139. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/linebreak.d.ts.map +0 -1
  1140. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/linebreak.js +0 -7
  1141. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/linebreak.js.map +0 -1
  1142. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/paragraph.d.ts +0 -4
  1143. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/paragraph.d.ts.map +0 -1
  1144. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/paragraph.js +0 -38
  1145. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/paragraph.js.map +0 -1
  1146. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/tab.d.ts +0 -4
  1147. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/tab.d.ts.map +0 -1
  1148. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/tab.js +0 -9
  1149. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/tab.js.map +0 -1
  1150. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/text.d.ts +0 -4
  1151. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/text.d.ts.map +0 -1
  1152. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/text.js +0 -33
  1153. package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/text.js.map +0 -1
  1154. package/dist/features/converters/lexicalToHtml_deprecated/converter/defaultConverters.d.ts +0 -6
  1155. package/dist/features/converters/lexicalToHtml_deprecated/converter/defaultConverters.d.ts.map +0 -1
  1156. package/dist/features/converters/lexicalToHtml_deprecated/converter/defaultConverters.js +0 -9
  1157. package/dist/features/converters/lexicalToHtml_deprecated/converter/defaultConverters.js.map +0 -1
  1158. package/dist/features/converters/lexicalToHtml_deprecated/converter/index.d.ts +0 -70
  1159. package/dist/features/converters/lexicalToHtml_deprecated/converter/index.d.ts.map +0 -1
  1160. package/dist/features/converters/lexicalToHtml_deprecated/converter/index.js +0 -104
  1161. package/dist/features/converters/lexicalToHtml_deprecated/converter/index.js.map +0 -1
  1162. package/dist/features/converters/lexicalToHtml_deprecated/converter/types.d.ts +0 -27
  1163. package/dist/features/converters/lexicalToHtml_deprecated/converter/types.d.ts.map +0 -1
  1164. package/dist/features/converters/lexicalToHtml_deprecated/converter/types.js +0 -2
  1165. package/dist/features/converters/lexicalToHtml_deprecated/converter/types.js.map +0 -1
  1166. package/dist/features/converters/lexicalToHtml_deprecated/field/index.d.ts +0 -39
  1167. package/dist/features/converters/lexicalToHtml_deprecated/field/index.d.ts.map +0 -1
  1168. package/dist/features/converters/lexicalToHtml_deprecated/field/index.js +0 -122
  1169. package/dist/features/converters/lexicalToHtml_deprecated/field/index.js.map +0 -1
  1170. package/dist/features/converters/lexicalToHtml_deprecated/index.d.ts +0 -12
  1171. package/dist/features/converters/lexicalToHtml_deprecated/index.d.ts.map +0 -1
  1172. package/dist/features/converters/lexicalToHtml_deprecated/index.js +0 -11
  1173. package/dist/features/converters/lexicalToHtml_deprecated/index.js.map +0 -1
  1174. package/dist/features/converters/lexicalToPlaintext/convertLexicalToPlaintext.spec.js +0 -180
  1175. package/dist/features/converters/lexicalToPlaintext/convertLexicalToPlaintext.spec.js.map +0 -1
  1176. package/dist/features/experimental_table/client/index.d.ts.map +0 -1
  1177. package/dist/features/experimental_table/client/index.js.map +0 -1
  1178. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts.map +0 -1
  1179. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js.map +0 -1
  1180. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts.map +0 -1
  1181. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js.map +0 -1
  1182. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +0 -1
  1183. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js.map +0 -1
  1184. package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts.map +0 -1
  1185. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js +0 -152
  1186. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js.map +0 -1
  1187. package/dist/features/experimental_table/client/utils/debounce.d.ts.map +0 -1
  1188. package/dist/features/experimental_table/client/utils/debounce.js.map +0 -1
  1189. package/dist/features/experimental_table/client/utils/useDebounce.d.ts.map +0 -1
  1190. package/dist/features/experimental_table/client/utils/useDebounce.js.map +0 -1
  1191. package/dist/features/experimental_table/markdownTransformer.d.ts +0 -5
  1192. package/dist/features/experimental_table/markdownTransformer.d.ts.map +0 -1
  1193. package/dist/features/experimental_table/markdownTransformer.js.map +0 -1
  1194. package/dist/features/experimental_table/server/index.d.ts +0 -8
  1195. package/dist/features/experimental_table/server/index.d.ts.map +0 -1
  1196. package/dist/features/experimental_table/server/index.js +0 -154
  1197. package/dist/features/experimental_table/server/index.js.map +0 -1
  1198. package/dist/features/format/bold/markdownTransformers.d.ts +0 -6
  1199. package/dist/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1200. package/dist/features/format/bold/markdownTransformers.js +0 -23
  1201. package/dist/features/format/bold/markdownTransformers.js.map +0 -1
  1202. package/dist/features/format/inlineCode/markdownTransformers.d.ts +0 -3
  1203. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +0 -1
  1204. package/dist/features/format/inlineCode/markdownTransformers.js +0 -6
  1205. package/dist/features/format/inlineCode/markdownTransformers.js.map +0 -1
  1206. package/dist/features/format/italic/markdownTransformers.d.ts +0 -4
  1207. package/dist/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1208. package/dist/features/format/italic/markdownTransformers.js +0 -12
  1209. package/dist/features/format/italic/markdownTransformers.js.map +0 -1
  1210. package/dist/features/format/strikethrough/markdownTransformers.d.ts +0 -3
  1211. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1212. package/dist/features/format/strikethrough/markdownTransformers.js +0 -6
  1213. package/dist/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1214. package/dist/features/link/markdownTransformer.spec.js +0 -195
  1215. package/dist/features/link/markdownTransformer.spec.js.map +0 -1
  1216. package/dist/features/link/nodes/types.d.ts +0 -27
  1217. package/dist/features/link/nodes/types.d.ts.map +0 -1
  1218. package/dist/features/link/nodes/types.js +0 -2
  1219. package/dist/features/link/nodes/types.js.map +0 -1
  1220. package/dist/features/lists/checklist/markdownTransformers.d.ts +0 -3
  1221. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1222. package/dist/features/lists/checklist/markdownTransformers.js +0 -12
  1223. package/dist/features/lists/checklist/markdownTransformers.js.map +0 -1
  1224. package/dist/features/lists/htmlConverter.d.ts +0 -5
  1225. package/dist/features/lists/htmlConverter.d.ts.map +0 -1
  1226. package/dist/features/lists/htmlConverter.js +0 -81
  1227. package/dist/features/lists/htmlConverter.js.map +0 -1
  1228. package/dist/features/lists/orderedList/markdownTransformer.d.ts +0 -3
  1229. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +0 -1
  1230. package/dist/features/lists/orderedList/markdownTransformer.js +0 -12
  1231. package/dist/features/lists/orderedList/markdownTransformer.js.map +0 -1
  1232. package/dist/features/lists/shared/markdown.d.ts +0 -6
  1233. package/dist/features/lists/shared/markdown.d.ts.map +0 -1
  1234. package/dist/features/lists/shared/markdown.js +0 -57
  1235. package/dist/features/lists/shared/markdown.js.map +0 -1
  1236. package/dist/features/lists/unorderedList/markdownTransformer.d.ts +0 -3
  1237. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +0 -1
  1238. package/dist/features/lists/unorderedList/markdownTransformer.js +0 -12
  1239. package/dist/features/lists/unorderedList/markdownTransformer.js.map +0 -1
  1240. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -3
  1241. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1242. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -22
  1243. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1244. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -3
  1245. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1246. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -33
  1247. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1248. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -3
  1249. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1250. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -24
  1251. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1252. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -3
  1253. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1254. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -25
  1255. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1256. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -3
  1257. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1258. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -22
  1259. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1260. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -3
  1261. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1262. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -28
  1263. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1264. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -3
  1265. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1266. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -22
  1267. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1268. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -3
  1269. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1270. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -9
  1271. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1272. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -19
  1273. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1274. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js +0 -78
  1275. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1276. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -23
  1277. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1278. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js +0 -2
  1279. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1280. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -2
  1281. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1282. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +0 -10
  1283. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1284. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -10
  1285. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1286. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +0 -49
  1287. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1288. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -9
  1289. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1290. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -15
  1291. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1292. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -33
  1293. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1294. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -74
  1295. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1296. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -3
  1297. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1298. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -23
  1299. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1300. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -3
  1301. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1302. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js +0 -24
  1303. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1304. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -3
  1305. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1306. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js +0 -33
  1307. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1308. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -3
  1309. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1310. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js +0 -30
  1311. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1312. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -3
  1313. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1314. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -26
  1315. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1316. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -3
  1317. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1318. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -26
  1319. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1320. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -3
  1321. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1322. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -15
  1323. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1324. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -3
  1325. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1326. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -27
  1327. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1328. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -3
  1329. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1330. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -26
  1331. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1332. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -3
  1333. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1334. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js +0 -18
  1335. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1336. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -3
  1337. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1338. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js +0 -12
  1339. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1340. package/dist/features/migrations/slateToLexical/converter/index.d.ts +0 -19
  1341. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1342. package/dist/features/migrations/slateToLexical/converter/index.js +0 -130
  1343. package/dist/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1344. package/dist/features/migrations/slateToLexical/converter/types.d.ts +0 -16
  1345. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1346. package/dist/features/migrations/slateToLexical/converter/types.js +0 -2
  1347. package/dist/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1348. package/dist/features/migrations/slateToLexical/feature.client.d.ts +0 -2
  1349. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1350. package/dist/features/migrations/slateToLexical/feature.client.js +0 -10
  1351. package/dist/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1352. package/dist/features/migrations/slateToLexical/feature.server.d.ts +0 -40
  1353. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1354. package/dist/features/migrations/slateToLexical/feature.server.js +0 -68
  1355. package/dist/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1356. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -9
  1357. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1358. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -15
  1359. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1360. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -33
  1361. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1362. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -74
  1363. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1364. package/dist/lexical/ui/icons/AI/index.d.ts +0 -3
  1365. package/dist/lexical/ui/icons/AI/index.d.ts.map +0 -1
  1366. package/dist/lexical/ui/icons/AI/index.js +0 -34
  1367. package/dist/lexical/ui/icons/AI/index.js.map +0 -1
  1368. package/dist/lexical/ui/icons/Caret/index.svg +0 -3
  1369. package/dist/lexical/ui/icons/Edit/index.svg +0 -10
  1370. package/dist/lexical/ui/icons/Remove/index.svg +0 -4
  1371. package/dist/lexical/utils/guard.d.ts +0 -5
  1372. package/dist/lexical/utils/guard.d.ts.map +0 -1
  1373. package/dist/lexical/utils/guard.js +0 -9
  1374. package/dist/lexical/utils/guard.js.map +0 -1
  1375. package/dist/lexical/utils/url.spec.js +0 -114
  1376. package/dist/lexical/utils/url.spec.js.map +0 -1
  1377. package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.d.ts +0 -2
  1378. package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.d.ts.map +0 -1
  1379. package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.js +0 -2
  1380. package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.js.map +0 -1
  1381. package/dist/nodeTypes.d.ts +0 -74
  1382. package/dist/nodeTypes.d.ts.map +0 -1
  1383. package/dist/nodeTypes.js +0 -5
  1384. package/dist/nodeTypes.js.map +0 -1
  1385. package/dist/packages/@lexical/markdown/MarkdownExport.d.ts +0 -14
  1386. package/dist/packages/@lexical/markdown/MarkdownExport.d.ts.map +0 -1
  1387. package/dist/packages/@lexical/markdown/MarkdownExport.js +0 -213
  1388. package/dist/packages/@lexical/markdown/MarkdownExport.js.map +0 -1
  1389. package/dist/packages/@lexical/markdown/MarkdownImport.d.ts +0 -19
  1390. package/dist/packages/@lexical/markdown/MarkdownImport.d.ts.map +0 -1
  1391. package/dist/packages/@lexical/markdown/MarkdownImport.js +0 -198
  1392. package/dist/packages/@lexical/markdown/MarkdownImport.js.map +0 -1
  1393. package/dist/packages/@lexical/markdown/MarkdownShortcuts.d.ts +0 -11
  1394. package/dist/packages/@lexical/markdown/MarkdownShortcuts.d.ts.map +0 -1
  1395. package/dist/packages/@lexical/markdown/MarkdownShortcuts.js +0 -304
  1396. package/dist/packages/@lexical/markdown/MarkdownShortcuts.js.map +0 -1
  1397. package/dist/packages/@lexical/markdown/MarkdownTransformers.d.ts +0 -147
  1398. package/dist/packages/@lexical/markdown/MarkdownTransformers.d.ts.map +0 -1
  1399. package/dist/packages/@lexical/markdown/MarkdownTransformers.js +0 -268
  1400. package/dist/packages/@lexical/markdown/MarkdownTransformers.js.map +0 -1
  1401. package/dist/packages/@lexical/markdown/importTextFormatTransformer.d.ts +0 -22
  1402. package/dist/packages/@lexical/markdown/importTextFormatTransformer.d.ts.map +0 -1
  1403. package/dist/packages/@lexical/markdown/importTextFormatTransformer.js +0 -91
  1404. package/dist/packages/@lexical/markdown/importTextFormatTransformer.js.map +0 -1
  1405. package/dist/packages/@lexical/markdown/importTextMatchTransformer.d.ts +0 -21
  1406. package/dist/packages/@lexical/markdown/importTextMatchTransformer.d.ts.map +0 -1
  1407. package/dist/packages/@lexical/markdown/importTextMatchTransformer.js +0 -54
  1408. package/dist/packages/@lexical/markdown/importTextMatchTransformer.js.map +0 -1
  1409. package/dist/packages/@lexical/markdown/importTextTransformers.d.ts +0 -18
  1410. package/dist/packages/@lexical/markdown/importTextTransformers.d.ts.map +0 -1
  1411. package/dist/packages/@lexical/markdown/importTextTransformers.js +0 -54
  1412. package/dist/packages/@lexical/markdown/importTextTransformers.js.map +0 -1
  1413. package/dist/packages/@lexical/markdown/index.d.ts +0 -29
  1414. package/dist/packages/@lexical/markdown/index.d.ts.map +0 -1
  1415. package/dist/packages/@lexical/markdown/index.js +0 -39
  1416. package/dist/packages/@lexical/markdown/index.js.map +0 -1
  1417. package/dist/packages/@lexical/markdown/utils.d.ts +0 -34
  1418. package/dist/packages/@lexical/markdown/utils.d.ts.map +0 -1
  1419. package/dist/packages/@lexical/markdown/utils.js +0 -267
  1420. package/dist/packages/@lexical/markdown/utils.js.map +0 -1
  1421. package/dist/types.d.ts.map +0 -1
  1422. package/dist/types.js +0 -2
  1423. package/dist/types.js.map +0 -1
  1424. package/dist/utilities/jsx/jsx.spec.js +0 -178
  1425. package/dist/utilities/jsx/jsx.spec.js.map +0 -1
  1426. package/dist/utilities/migrateSlateToLexical/index.d.ts +0 -15
  1427. package/dist/utilities/migrateSlateToLexical/index.d.ts.map +0 -1
  1428. package/dist/utilities/migrateSlateToLexical/index.js +0 -152
  1429. package/dist/utilities/migrateSlateToLexical/index.js.map +0 -1
  1430. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +0 -10
  1431. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +0 -1
  1432. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +0 -85
  1433. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +0 -1
  1434. /package/dist/exports/client/{componentInline-CBBUBQ7P.js.map → componentInline-ZEP5JPTC.js.map} +0 -0
  1435. /package/dist/features/{experimental_table → table}/client/index.d.ts +0 -0
  1436. /package/dist/features/{experimental_table → table}/client/plugins/TableHoverActionsPlugin/index.d.ts +0 -0
  1437. /package/dist/features/{experimental_table → table}/client/utils/debounce.d.ts +0 -0
  1438. /package/dist/features/{experimental_table → table}/client/utils/debounce.js +0 -0
  1439. /package/dist/features/{experimental_table → table}/client/utils/useDebounce.d.ts +0 -0
  1440. /package/dist/features/{experimental_table → table}/client/utils/useDebounce.js +0 -0
@@ -1,213 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */import { $getRoot, $isDecoratorNode, $isElementNode, $isLineBreakNode, $isTextNode } from 'lexical';
8
- import { isEmptyParagraph, transformersByType } from './utils.js';
9
- /**
10
- * Renders string from markdown. The selection is moved to the start after the operation.
11
- */
12
- export function createMarkdownExport(transformers, shouldPreserveNewLines = false) {
13
- const byType = transformersByType(transformers);
14
- const elementTransformers = [...byType.multilineElement, ...byType.element];
15
- const isNewlineDelimited = !shouldPreserveNewLines;
16
- // Export only uses text formats that are responsible for single format
17
- // e.g. it will filter out *** (bold, italic) and instead use separate ** and *
18
- const textFormatTransformers = byType.textFormat.filter(transformer => transformer.format.length === 1) // Make sure all text transformers that contain 'code' in their format are at the end of the array. Otherwise, formatted code like
19
- // <strong><code>code</code></strong> will be exported as `**Bold Code**`, as the code format will be applied first, and the bold format
20
- // will be applied second and thus skipped entirely, as the code format will prevent any further formatting.
21
- .sort((a, b) => {
22
- if (a.format.includes('code') && !b.format.includes('code')) {
23
- return 1;
24
- } else if (!a.format.includes('code') && b.format.includes('code')) {
25
- return -1;
26
- } else {
27
- return 0;
28
- }
29
- });
30
- return node => {
31
- const output = [];
32
- const children = (node || $getRoot()).getChildren();
33
- children.forEach((child, i) => {
34
- const result = exportTopLevelElements(child, elementTransformers, textFormatTransformers, byType.textMatch);
35
- if (result != null) {
36
- output.push(
37
- // separate consecutive group of texts with a line break: eg. ["hello", "world"] -> ["hello", "/nworld"]
38
- isNewlineDelimited && i > 0 && !isEmptyParagraph(child) && !isEmptyParagraph(children[i - 1]) ? '\n'.concat(result) : result);
39
- }
40
- });
41
- // Ensure consecutive groups of texts are at least \n\n apart while each empty paragraph render as a newline.
42
- // Eg. ["hello", "", "", "hi", "\nworld"] -> "hello\n\n\nhi\n\nworld"
43
- return output.join('\n');
44
- };
45
- }
46
- function exportTopLevelElements(node, elementTransformers, textTransformersIndex, textMatchTransformers) {
47
- for (const transformer of elementTransformers) {
48
- if (!transformer.export) {
49
- continue;
50
- }
51
- const result = transformer.export(node, _node => exportChildren(_node, textTransformersIndex, textMatchTransformers));
52
- if (result != null) {
53
- return result;
54
- }
55
- }
56
- if ($isElementNode(node)) {
57
- return exportChildren(node, textTransformersIndex, textMatchTransformers);
58
- } else if ($isDecoratorNode(node)) {
59
- return node.getTextContent();
60
- } else {
61
- return null;
62
- }
63
- }
64
- function exportChildren(node, textTransformersIndex, textMatchTransformers, unclosedTags, unclosableTags) {
65
- const output = [];
66
- const children = node.getChildren();
67
- // keep track of unclosed tags from the very beginning
68
- if (!unclosedTags) {
69
- unclosedTags = [];
70
- }
71
- if (!unclosableTags) {
72
- unclosableTags = [];
73
- }
74
- mainLoop: for (const child of children) {
75
- for (const transformer of textMatchTransformers) {
76
- if (!transformer.export) {
77
- continue;
78
- }
79
- const result = transformer.export(child, parentNode => exportChildren(parentNode, textTransformersIndex, textMatchTransformers, unclosedTags,
80
- // Add current unclosed tags to the list of unclosable tags - we don't want nested tags from
81
- // textmatch transformers to close the outer ones, as that may result in invalid markdown.
82
- // E.g. **text [text**](https://lexical.io)
83
- // is invalid markdown, as the closing ** is inside the link.
84
- //
85
- [...unclosableTags, ...unclosedTags]), (textNode, textContent) => exportTextFormat(textNode, textContent, textTransformersIndex, unclosedTags, unclosableTags));
86
- if (result != null) {
87
- output.push(result);
88
- continue mainLoop;
89
- }
90
- }
91
- if ($isLineBreakNode(child)) {
92
- output.push('\n');
93
- } else if ($isTextNode(child)) {
94
- output.push(exportTextFormat(child, child.getTextContent(), textTransformersIndex, unclosedTags, unclosableTags));
95
- } else if ($isElementNode(child)) {
96
- // empty paragraph returns ""
97
- output.push(exportChildren(child, textTransformersIndex, textMatchTransformers, unclosedTags, unclosableTags));
98
- } else if ($isDecoratorNode(child)) {
99
- output.push(child.getTextContent());
100
- }
101
- }
102
- return output.join('');
103
- }
104
- function exportTextFormat(node, textContent, textTransformers,
105
- // unclosed tags include the markdown tags that haven't been closed yet, and their associated formats
106
- unclosedTags, unclosableTags) {
107
- // This function handles the case of a string looking like this: " foo "
108
- // Where it would be invalid markdown to generate: "** foo **"
109
- // We instead want to trim the whitespace out, apply formatting, and then
110
- // bring the whitespace back. So our returned string looks like this: " **foo** "
111
- const frozenString = textContent.trim();
112
- let output = frozenString;
113
- if (!node.hasFormat('code')) {
114
- // Escape any markdown characters in the text content
115
- output = output.replace(/([*_`~\\])/g, '\\$1');
116
- }
117
- // the opening tags to be added to the result
118
- let openingTags = '';
119
- // the closing tags to be added to the result
120
- let closingTagsBefore = '';
121
- let closingTagsAfter = '';
122
- const prevNode = getTextSibling(node, true);
123
- const nextNode = getTextSibling(node, false);
124
- const applied = new Set();
125
- for (const transformer of textTransformers) {
126
- const format = transformer.format[0];
127
- const tag = transformer.tag;
128
- // dedup applied formats
129
- if (hasFormat(node, format) && !applied.has(format)) {
130
- // Multiple tags might be used for the same format (*, _)
131
- applied.add(format);
132
- // append the tag to openningTags, if it's not applied to the previous nodes,
133
- // or the nodes before that (which would result in an unclosed tag)
134
- if (!hasFormat(prevNode, format) || !unclosedTags.find(element => element.tag === tag)) {
135
- unclosedTags.push({
136
- format,
137
- tag
138
- });
139
- openingTags += tag;
140
- }
141
- }
142
- }
143
- // close any tags in the same order they were applied, if necessary
144
- for (let i = 0; i < unclosedTags.length; i++) {
145
- const unclosedTag = unclosedTags[i];
146
- const nodeHasFormat = hasFormat(node, unclosedTag.format);
147
- const nextNodeHasFormat = hasFormat(nextNode, unclosedTag.format);
148
- // prevent adding closing tag if next sibling will do it
149
- if (nodeHasFormat && nextNodeHasFormat) {
150
- continue;
151
- }
152
- const unhandledUnclosedTags = [...unclosedTags] // Shallow copy to avoid modifying the original array
153
- ;
154
- while (unhandledUnclosedTags.length > i) {
155
- const unclosedTag = unhandledUnclosedTags.pop();
156
- // If tag is unclosable, don't close it and leave it in the original array,
157
- // So that it can be closed when it's no longer unclosable
158
- if (unclosableTags && unclosedTag && unclosableTags.find(element => element.tag === unclosedTag.tag)) {
159
- continue;
160
- }
161
- if (unclosedTag && typeof unclosedTag.tag === 'string') {
162
- if (!nodeHasFormat) {
163
- // Handles cases where the tag has not been closed before, e.g. if the previous node
164
- // was a text match transformer that did not account for closing tags of the next node (e.g. a link)
165
- closingTagsBefore += unclosedTag.tag;
166
- } else if (!nextNodeHasFormat) {
167
- closingTagsAfter += unclosedTag.tag;
168
- }
169
- }
170
- // Mutate the original array to remove the closed tag
171
- unclosedTags.pop();
172
- }
173
- break;
174
- }
175
- output = openingTags + output + closingTagsAfter;
176
- // Replace trimmed version of textContent ensuring surrounding whitespace is not modified
177
- return closingTagsBefore + textContent.replace(frozenString, () => output);
178
- }
179
- // Get next or previous text sibling a text node, including cases
180
- // when it's a child of inline element (e.g. link)
181
- function getTextSibling(node, backward) {
182
- let sibling = backward ? node.getPreviousSibling() : node.getNextSibling();
183
- if (!sibling) {
184
- const parent = node.getParentOrThrow();
185
- if (parent.isInline()) {
186
- sibling = backward ? parent.getPreviousSibling() : parent.getNextSibling();
187
- }
188
- }
189
- while (sibling) {
190
- if ($isElementNode(sibling)) {
191
- if (!sibling.isInline()) {
192
- break;
193
- }
194
- const descendant = backward ? sibling.getLastDescendant() : sibling.getFirstDescendant();
195
- if ($isTextNode(descendant)) {
196
- return descendant;
197
- } else {
198
- sibling = backward ? sibling.getPreviousSibling() : sibling.getNextSibling();
199
- }
200
- }
201
- if ($isTextNode(sibling)) {
202
- return sibling;
203
- }
204
- if (!$isElementNode(sibling)) {
205
- return null;
206
- }
207
- }
208
- return null;
209
- }
210
- function hasFormat(node, format) {
211
- return $isTextNode(node) && node.hasFormat(format);
212
- }
213
- //# sourceMappingURL=MarkdownExport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownExport.js","names":["$getRoot","$isDecoratorNode","$isElementNode","$isLineBreakNode","$isTextNode","isEmptyParagraph","transformersByType","createMarkdownExport","transformers","shouldPreserveNewLines","byType","elementTransformers","multilineElement","element","isNewlineDelimited","textFormatTransformers","textFormat","filter","transformer","format","length","sort","a","b","includes","node","output","children","getChildren","forEach","child","i","result","exportTopLevelElements","textMatch","push","concat","join","textTransformersIndex","textMatchTransformers","export","_node","exportChildren","getTextContent","unclosedTags","unclosableTags","mainLoop","parentNode","textNode","textContent","exportTextFormat","textTransformers","frozenString","trim","hasFormat","replace","openingTags","closingTagsBefore","closingTagsAfter","prevNode","getTextSibling","nextNode","applied","Set","tag","has","add","find","unclosedTag","nodeHasFormat","nextNodeHasFormat","unhandledUnclosedTags","pop","backward","sibling","getPreviousSibling","getNextSibling","parent","getParentOrThrow","isInline","descendant","getLastDescendant","getFirstDescendant"],"sources":["../../../../src/packages/@lexical/markdown/MarkdownExport.ts"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type { ElementNode, LexicalNode, TextFormatType, TextNode } from 'lexical'\n\nimport { $getRoot, $isDecoratorNode, $isElementNode, $isLineBreakNode, $isTextNode } from 'lexical'\n\nimport type {\n ElementTransformer,\n MultilineElementTransformer,\n TextFormatTransformer,\n TextMatchTransformer,\n Transformer,\n} from './MarkdownTransformers.js'\n\nimport { isEmptyParagraph, transformersByType } from './utils.js'\n\n/**\n * Renders string from markdown. The selection is moved to the start after the operation.\n */\nexport function createMarkdownExport(\n transformers: Array<Transformer>,\n shouldPreserveNewLines: boolean = false,\n): (node?: ElementNode) => string {\n const byType = transformersByType(transformers)\n const elementTransformers = [...byType.multilineElement, ...byType.element]\n const isNewlineDelimited = !shouldPreserveNewLines\n\n // Export only uses text formats that are responsible for single format\n // e.g. it will filter out *** (bold, italic) and instead use separate ** and *\n const textFormatTransformers = byType.textFormat\n .filter((transformer) => transformer.format.length === 1)\n // Make sure all text transformers that contain 'code' in their format are at the end of the array. Otherwise, formatted code like\n // <strong><code>code</code></strong> will be exported as `**Bold Code**`, as the code format will be applied first, and the bold format\n // will be applied second and thus skipped entirely, as the code format will prevent any further formatting.\n .sort((a, b) => {\n if (a.format.includes('code') && !b.format.includes('code')) {\n return 1\n } else if (!a.format.includes('code') && b.format.includes('code')) {\n return -1\n } else {\n return 0\n }\n })\n\n return (node) => {\n const output: string[] = []\n const children = (node || $getRoot()).getChildren()\n\n children.forEach((child, i) => {\n const result = exportTopLevelElements(\n child,\n elementTransformers,\n textFormatTransformers,\n byType.textMatch,\n )\n\n if (result != null) {\n output.push(\n // separate consecutive group of texts with a line break: eg. [\"hello\", \"world\"] -> [\"hello\", \"/nworld\"]\n isNewlineDelimited &&\n i > 0 &&\n !isEmptyParagraph(child) &&\n !isEmptyParagraph(children[i - 1]!)\n ? '\\n'.concat(result)\n : result,\n )\n }\n })\n // Ensure consecutive groups of texts are at least \\n\\n apart while each empty paragraph render as a newline.\n // Eg. [\"hello\", \"\", \"\", \"hi\", \"\\nworld\"] -> \"hello\\n\\n\\nhi\\n\\nworld\"\n return output.join('\\n')\n }\n}\n\nfunction exportTopLevelElements(\n node: LexicalNode,\n elementTransformers: Array<ElementTransformer | MultilineElementTransformer>,\n textTransformersIndex: Array<TextFormatTransformer>,\n textMatchTransformers: Array<TextMatchTransformer>,\n): null | string {\n for (const transformer of elementTransformers) {\n if (!transformer.export) {\n continue\n }\n const result = transformer.export(node, (_node) =>\n exportChildren(_node, textTransformersIndex, textMatchTransformers),\n )\n\n if (result != null) {\n return result\n }\n }\n\n if ($isElementNode(node)) {\n return exportChildren(node, textTransformersIndex, textMatchTransformers)\n } else if ($isDecoratorNode(node)) {\n return node.getTextContent()\n } else {\n return null\n }\n}\n\nfunction exportChildren(\n node: ElementNode,\n textTransformersIndex: Array<TextFormatTransformer>,\n textMatchTransformers: Array<TextMatchTransformer>,\n unclosedTags?: Array<{ format: TextFormatType; tag: string }>,\n unclosableTags?: Array<{ format: TextFormatType; tag: string }>,\n): string {\n const output = []\n const children = node.getChildren()\n // keep track of unclosed tags from the very beginning\n if (!unclosedTags) {\n unclosedTags = []\n }\n if (!unclosableTags) {\n unclosableTags = []\n }\n\n mainLoop: for (const child of children) {\n for (const transformer of textMatchTransformers) {\n if (!transformer.export) {\n continue\n }\n\n const result = transformer.export(\n child,\n (parentNode) =>\n exportChildren(\n parentNode,\n textTransformersIndex,\n textMatchTransformers,\n unclosedTags,\n // Add current unclosed tags to the list of unclosable tags - we don't want nested tags from\n // textmatch transformers to close the outer ones, as that may result in invalid markdown.\n // E.g. **text [text**](https://lexical.io)\n // is invalid markdown, as the closing ** is inside the link.\n //\n [...unclosableTags, ...unclosedTags],\n ),\n (textNode, textContent) =>\n exportTextFormat(\n textNode,\n textContent,\n textTransformersIndex,\n unclosedTags,\n unclosableTags,\n ),\n )\n\n if (result != null) {\n output.push(result)\n continue mainLoop\n }\n }\n\n if ($isLineBreakNode(child)) {\n output.push('\\n')\n } else if ($isTextNode(child)) {\n output.push(\n exportTextFormat(\n child,\n child.getTextContent(),\n textTransformersIndex,\n unclosedTags,\n unclosableTags,\n ),\n )\n } else if ($isElementNode(child)) {\n // empty paragraph returns \"\"\n output.push(\n exportChildren(\n child,\n textTransformersIndex,\n textMatchTransformers,\n unclosedTags,\n unclosableTags,\n ),\n )\n } else if ($isDecoratorNode(child)) {\n output.push(child.getTextContent())\n }\n }\n\n return output.join('')\n}\n\nfunction exportTextFormat(\n node: TextNode,\n textContent: string,\n textTransformers: Array<TextFormatTransformer>,\n // unclosed tags include the markdown tags that haven't been closed yet, and their associated formats\n unclosedTags: Array<{ format: TextFormatType; tag: string }>,\n unclosableTags?: Array<{ format: TextFormatType; tag: string }>,\n): string {\n // This function handles the case of a string looking like this: \" foo \"\n // Where it would be invalid markdown to generate: \"** foo **\"\n // We instead want to trim the whitespace out, apply formatting, and then\n // bring the whitespace back. So our returned string looks like this: \" **foo** \"\n const frozenString = textContent.trim()\n let output = frozenString\n\n if (!node.hasFormat('code')) {\n // Escape any markdown characters in the text content\n output = output.replace(/([*_`~\\\\])/g, '\\\\$1')\n }\n\n // the opening tags to be added to the result\n let openingTags = ''\n // the closing tags to be added to the result\n let closingTagsBefore = ''\n let closingTagsAfter = ''\n\n const prevNode = getTextSibling(node, true)\n const nextNode = getTextSibling(node, false)\n\n const applied = new Set()\n\n for (const transformer of textTransformers) {\n const format = transformer.format[0]!\n const tag = transformer.tag\n\n // dedup applied formats\n if (hasFormat(node, format) && !applied.has(format)) {\n // Multiple tags might be used for the same format (*, _)\n applied.add(format)\n\n // append the tag to openningTags, if it's not applied to the previous nodes,\n // or the nodes before that (which would result in an unclosed tag)\n if (!hasFormat(prevNode, format) || !unclosedTags.find((element) => element.tag === tag)) {\n unclosedTags.push({ format, tag })\n openingTags += tag\n }\n }\n }\n\n // close any tags in the same order they were applied, if necessary\n for (let i = 0; i < unclosedTags.length; i++) {\n const unclosedTag = unclosedTags[i]!\n const nodeHasFormat = hasFormat(node, unclosedTag.format)\n const nextNodeHasFormat = hasFormat(nextNode, unclosedTag.format)\n\n // prevent adding closing tag if next sibling will do it\n if (nodeHasFormat && nextNodeHasFormat) {\n continue\n }\n\n const unhandledUnclosedTags = [...unclosedTags] // Shallow copy to avoid modifying the original array\n\n while (unhandledUnclosedTags.length > i) {\n const unclosedTag = unhandledUnclosedTags.pop()\n\n // If tag is unclosable, don't close it and leave it in the original array,\n // So that it can be closed when it's no longer unclosable\n if (\n unclosableTags &&\n unclosedTag &&\n unclosableTags.find((element) => element.tag === unclosedTag.tag)\n ) {\n continue\n }\n\n if (unclosedTag && typeof unclosedTag.tag === 'string') {\n if (!nodeHasFormat) {\n // Handles cases where the tag has not been closed before, e.g. if the previous node\n // was a text match transformer that did not account for closing tags of the next node (e.g. a link)\n closingTagsBefore += unclosedTag.tag\n } else if (!nextNodeHasFormat) {\n closingTagsAfter += unclosedTag.tag\n }\n }\n // Mutate the original array to remove the closed tag\n unclosedTags.pop()\n }\n break\n }\n\n output = openingTags + output + closingTagsAfter\n // Replace trimmed version of textContent ensuring surrounding whitespace is not modified\n return closingTagsBefore + textContent.replace(frozenString, () => output)\n}\n\n// Get next or previous text sibling a text node, including cases\n// when it's a child of inline element (e.g. link)\nfunction getTextSibling(node: TextNode, backward: boolean): null | TextNode {\n let sibling = backward ? node.getPreviousSibling() : node.getNextSibling()\n\n if (!sibling) {\n const parent = node.getParentOrThrow()\n\n if (parent.isInline()) {\n sibling = backward ? parent.getPreviousSibling() : parent.getNextSibling()\n }\n }\n\n while (sibling) {\n if ($isElementNode(sibling)) {\n if (!sibling.isInline()) {\n break\n }\n\n const descendant = backward ? sibling.getLastDescendant() : sibling.getFirstDescendant()\n\n if ($isTextNode(descendant)) {\n return descendant\n } else {\n sibling = backward ? sibling.getPreviousSibling() : sibling.getNextSibling()\n }\n }\n\n if ($isTextNode(sibling)) {\n return sibling\n }\n\n if (!$isElementNode(sibling)) {\n return null\n }\n }\n\n return null\n}\n\nfunction hasFormat(node: LexicalNode | null | undefined, format: TextFormatType): boolean {\n return $isTextNode(node) && node.hasFormat(format)\n}\n"],"mappings":"AAAA;;;;;;GAUA,SAASA,QAAQ,EAAEC,gBAAgB,EAAEC,cAAc,EAAEC,gBAAgB,EAAEC,WAAW,QAAQ;AAU1F,SAASC,gBAAgB,EAAEC,kBAAkB,QAAQ;AAErD;;;AAGA,OAAO,SAASC,qBACdC,YAAgC,EAChCC,sBAAA,GAAkC,KAAK;EAEvC,MAAMC,MAAA,GAASJ,kBAAA,CAAmBE,YAAA;EAClC,MAAMG,mBAAA,GAAsB,C,GAAID,MAAA,CAAOE,gBAAgB,E,GAAKF,MAAA,CAAOG,OAAO,CAAC;EAC3E,MAAMC,kBAAA,GAAqB,CAACL,sBAAA;EAE5B;EACA;EACA,MAAMM,sBAAA,GAAyBL,MAAA,CAAOM,UAAU,CAC7C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;AACT;AAEA,SAASpB,UAAU7B,IAAoC,EAAEN,MAAsB;EAC7E,OAAOf,WAAA,CAAYqB,IAAA,KAASA,IAAA,CAAK6B,SAAS,CAACnC,MAAA;AAC7C","ignoreList":[]}
@@ -1,19 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { ElementNode } from 'lexical';
9
- import type { TextFormatTransformer, Transformer } from './MarkdownTransformers.js';
10
- export type TextFormatTransformersIndex = Readonly<{
11
- fullMatchRegExpByTag: Readonly<Record<string, RegExp>>;
12
- openTagsRegExp: RegExp;
13
- transformersByTag: Readonly<Record<string, TextFormatTransformer>>;
14
- }>;
15
- /**
16
- * Renders markdown from a string. The selection is moved to the start after the operation.
17
- */
18
- export declare function createMarkdownImport(transformers: Array<Transformer>, shouldPreserveNewLines?: boolean): (markdownString: string, node?: ElementNode) => void;
19
- //# sourceMappingURL=MarkdownImport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownImport.d.ts","sourceRoot":"","sources":["../../../../src/packages/@lexical/markdown/MarkdownImport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAc1C,OAAO,KAAK,EAGV,qBAAqB,EAErB,WAAW,EACZ,MAAM,2BAA2B,CAAA;AAKlC,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;IACjD,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACtD,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAA;CACnE,CAAC,CAAA;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,EAChC,sBAAsB,UAAQ,GAC7B,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,IAAI,CAyCtD"}
@@ -1,198 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */import { $isListItemNode, $isListNode } from '@lexical/list';
8
- import { $isQuoteNode } from '@lexical/rich-text';
9
- import { $findMatchingParent } from '@lexical/utils';
10
- import { $createLineBreakNode, $createParagraphNode, $createTextNode, $getRoot, $getSelection, $isParagraphNode } from 'lexical';
11
- import { importTextTransformers } from './importTextTransformers.js';
12
- import { isEmptyParagraph, transformersByType } from './utils.js';
13
- /**
14
- * Renders markdown from a string. The selection is moved to the start after the operation.
15
- */
16
- export function createMarkdownImport(transformers, shouldPreserveNewLines = false) {
17
- const byType = transformersByType(transformers);
18
- const textFormatTransformersIndex = createTextFormatTransformersIndex(byType.textFormat);
19
- return (markdownString, node) => {
20
- const lines = markdownString.split('\n');
21
- const linesLength = lines.length;
22
- const root = node || $getRoot();
23
- root.clear();
24
- for (let i = 0; i < linesLength; i++) {
25
- const lineText = lines[i];
26
- const [imported, shiftedIndex] = $importMultiline(lines, i, byType.multilineElement, root);
27
- if (imported) {
28
- // If a multiline markdown element was imported, we don't want to process the lines that were part of it anymore.
29
- // There could be other sub-markdown elements (both multiline and normal ones) matching within this matched multiline element's children.
30
- // However, it would be the responsibility of the matched multiline transformer to decide how it wants to handle them.
31
- // We cannot handle those, as there is no way for us to know how to maintain the correct order of generated lexical nodes for possible children.
32
- i = shiftedIndex; // Next loop will start from the line after the last line of the multiline element
33
- continue;
34
- }
35
- $importBlocks(lineText, root, byType.element, textFormatTransformersIndex, byType.textMatch);
36
- }
37
- // By default, removing empty paragraphs as md does not really
38
- // allow empty lines and uses them as delimiter.
39
- // If you need empty lines set shouldPreserveNewLines = true.
40
- const children = root.getChildren();
41
- for (const child of children) {
42
- if (!shouldPreserveNewLines && isEmptyParagraph(child) && root.getChildrenSize() > 1) {
43
- child.remove();
44
- }
45
- }
46
- if ($getSelection() !== null) {
47
- root.selectStart();
48
- }
49
- };
50
- }
51
- /**
52
- *
53
- * @returns first element of the returned tuple is a boolean indicating if a multiline element was imported. The second element is the index of the last line that was processed.
54
- */
55
- function $importMultiline(lines, startLineIndex, multilineElementTransformers, rootNode) {
56
- for (const transformer of multilineElementTransformers) {
57
- const {
58
- handleImportAfterStartMatch,
59
- regExpEnd,
60
- regExpStart,
61
- replace
62
- } = transformer;
63
- const startMatch = lines[startLineIndex]?.match(regExpStart);
64
- if (!startMatch) {
65
- continue; // Try next transformer
66
- }
67
- if (handleImportAfterStartMatch) {
68
- const result = handleImportAfterStartMatch({
69
- lines,
70
- rootNode,
71
- startLineIndex,
72
- startMatch,
73
- transformer
74
- });
75
- if (result === null) {
76
- continue;
77
- } else if (result) {
78
- return result;
79
- }
80
- }
81
- const regexpEndRegex = typeof regExpEnd === 'object' && 'regExp' in regExpEnd ? regExpEnd.regExp : regExpEnd;
82
- const isEndOptional = regExpEnd && typeof regExpEnd === 'object' && 'optional' in regExpEnd ? regExpEnd.optional : !regExpEnd;
83
- let endLineIndex = startLineIndex;
84
- const linesLength = lines.length;
85
- // check every single line for the closing match. It could also be on the same line as the opening match.
86
- while (endLineIndex < linesLength) {
87
- const endMatch = regexpEndRegex ? lines[endLineIndex]?.match(regexpEndRegex) : null;
88
- if (!endMatch) {
89
- if (!isEndOptional || isEndOptional && endLineIndex < linesLength - 1 // Optional end, but didn't reach the end of the document yet => continue searching for potential closing match
90
- ) {
91
- endLineIndex++;
92
- continue; // Search next line for closing match
93
- }
94
- }
95
- // Now, check if the closing match matched is the same as the opening match.
96
- // If it is, we need to continue searching for the actual closing match.
97
- if (endMatch && startLineIndex === endLineIndex && endMatch.index === startMatch.index) {
98
- endLineIndex++;
99
- continue; // Search next line for closing match
100
- }
101
- // At this point, we have found the closing match. Next: calculate the lines in between open and closing match
102
- // This should not include the matches themselves, and be split up by lines
103
- const linesInBetween = [];
104
- if (endMatch && startLineIndex === endLineIndex) {
105
- linesInBetween.push(lines[startLineIndex].slice(startMatch[0].length, -endMatch[0].length));
106
- } else {
107
- for (let i = startLineIndex; i <= endLineIndex; i++) {
108
- const line = lines[i];
109
- if (i === startLineIndex) {
110
- const text = line.slice(startMatch[0].length);
111
- linesInBetween.push(text); // Also include empty text
112
- } else if (i === endLineIndex && endMatch) {
113
- const text = line.slice(0, -endMatch[0].length);
114
- linesInBetween.push(text); // Also include empty text
115
- } else {
116
- linesInBetween.push(line);
117
- }
118
- }
119
- }
120
- if (replace(rootNode, null, startMatch, endMatch, linesInBetween, true) !== false) {
121
- // Return here. This $importMultiline function is run line by line and should only process a single multiline element at a time.
122
- return [true, endLineIndex];
123
- }
124
- break;
125
- }
126
- }
127
- // No multiline transformer handled this line successfully
128
- return [false, startLineIndex];
129
- }
130
- function $importBlocks(lineText, rootNode, elementTransformers, textFormatTransformersIndex, textMatchTransformers) {
131
- const textNode = $createTextNode(lineText);
132
- const elementNode = $createParagraphNode();
133
- elementNode.append(textNode);
134
- rootNode.append(elementNode);
135
- for (const {
136
- regExp,
137
- replace
138
- } of elementTransformers) {
139
- const match = lineText.match(regExp);
140
- if (match) {
141
- textNode.setTextContent(lineText.slice(match[0].length));
142
- if (replace(elementNode, [textNode], match, true) !== false) {
143
- break;
144
- }
145
- }
146
- }
147
- importTextTransformers(textNode, textFormatTransformersIndex, textMatchTransformers);
148
- // If no transformer found and we left with original paragraph node
149
- // can check if its content can be appended to the previous node
150
- // if it's a paragraph, quote or list
151
- if (elementNode.isAttached() && lineText.length > 0) {
152
- const previousNode = elementNode.getPreviousSibling();
153
- if ($isParagraphNode(previousNode) || $isQuoteNode(previousNode) || $isListNode(previousNode)) {
154
- let targetNode = previousNode;
155
- if ($isListNode(previousNode)) {
156
- const lastDescendant = previousNode.getLastDescendant();
157
- if (lastDescendant == null) {
158
- targetNode = null;
159
- } else {
160
- targetNode = $findMatchingParent(lastDescendant, $isListItemNode);
161
- }
162
- }
163
- if (targetNode != null && targetNode.getTextContentSize() > 0) {
164
- targetNode.splice(targetNode.getChildrenSize(), 0, [$createLineBreakNode(), ...elementNode.getChildren()]);
165
- elementNode.remove();
166
- }
167
- }
168
- }
169
- }
170
- function createTextFormatTransformersIndex(textTransformers) {
171
- const transformersByTag = {};
172
- const fullMatchRegExpByTag = {};
173
- const openTagsRegExp = [];
174
- const escapeRegExp = `(?<![\\\\])`;
175
- for (const transformer of textTransformers) {
176
- const {
177
- tag
178
- } = transformer;
179
- transformersByTag[tag] = transformer;
180
- const tagRegExp = tag.replace(/([*^+])/g, '\\$1');
181
- openTagsRegExp.push(tagRegExp);
182
- // Single-char tag (e.g. "*"),
183
- if (tag.length === 1) {
184
- fullMatchRegExpByTag[tag] = new RegExp(`(?<![\\\\${tagRegExp}])(${tagRegExp})((\\\\${tagRegExp})?.*?[^${tagRegExp}\\s](\\\\${tagRegExp})?)((?<!\\\\)|(?<=\\\\\\\\))(${tagRegExp})(?![\\\\${tagRegExp}])`);
185
- } else {
186
- // Multi‐char tags (e.g. "**")
187
- fullMatchRegExpByTag[tag] = new RegExp(`(?<!\\\\)(${tagRegExp})((\\\\${tagRegExp})?.*?[^\\s](\\\\${tagRegExp})?)((?<!\\\\)|(?<=\\\\\\\\))(${tagRegExp})(?!\\\\)`);
188
- }
189
- }
190
- return {
191
- // Reg exp to find open tag + content + close tag
192
- fullMatchRegExpByTag,
193
- // Regexp to locate *any* potential opening tag (longest first).
194
- openTagsRegExp: new RegExp(`${escapeRegExp}(${openTagsRegExp.join('|')})`, 'g'),
195
- transformersByTag
196
- };
197
- }
198
- //# sourceMappingURL=MarkdownImport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownImport.js","names":["$isListItemNode","$isListNode","$isQuoteNode","$findMatchingParent","$createLineBreakNode","$createParagraphNode","$createTextNode","$getRoot","$getSelection","$isParagraphNode","importTextTransformers","isEmptyParagraph","transformersByType","createMarkdownImport","transformers","shouldPreserveNewLines","byType","textFormatTransformersIndex","createTextFormatTransformersIndex","textFormat","markdownString","node","lines","split","linesLength","length","root","clear","i","lineText","imported","shiftedIndex","$importMultiline","multilineElement","$importBlocks","element","textMatch","children","getChildren","child","getChildrenSize","remove","selectStart","startLineIndex","multilineElementTransformers","rootNode","transformer","handleImportAfterStartMatch","regExpEnd","regExpStart","replace","startMatch","match","result","regexpEndRegex","regExp","isEndOptional","optional","endLineIndex","endMatch","index","linesInBetween","push","slice","line","text","elementTransformers","textMatchTransformers","textNode","elementNode","append","setTextContent","isAttached","previousNode","getPreviousSibling","targetNode","lastDescendant","getLastDescendant","getTextContentSize","splice","textTransformers","transformersByTag","fullMatchRegExpByTag","openTagsRegExp","escapeRegExp","tag","tagRegExp","RegExp","join"],"sources":["../../../../src/packages/@lexical/markdown/MarkdownImport.ts"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type { ListItemNode } from '@lexical/list'\nimport type { ElementNode } from 'lexical'\n\nimport { $isListItemNode, $isListNode } from '@lexical/list'\nimport { $isQuoteNode } from '@lexical/rich-text'\nimport { $findMatchingParent } from '@lexical/utils'\nimport {\n $createLineBreakNode,\n $createParagraphNode,\n $createTextNode,\n $getRoot,\n $getSelection,\n $isParagraphNode,\n} from 'lexical'\n\nimport type {\n ElementTransformer,\n MultilineElementTransformer,\n TextFormatTransformer,\n TextMatchTransformer,\n Transformer,\n} from './MarkdownTransformers.js'\n\nimport { importTextTransformers } from './importTextTransformers.js'\nimport { isEmptyParagraph, transformersByType } from './utils.js'\n\nexport type TextFormatTransformersIndex = Readonly<{\n fullMatchRegExpByTag: Readonly<Record<string, RegExp>>\n openTagsRegExp: RegExp\n transformersByTag: Readonly<Record<string, TextFormatTransformer>>\n}>\n\n/**\n * Renders markdown from a string. The selection is moved to the start after the operation.\n */\nexport function createMarkdownImport(\n transformers: Array<Transformer>,\n shouldPreserveNewLines = false,\n): (markdownString: string, node?: ElementNode) => void {\n const byType = transformersByType(transformers)\n const textFormatTransformersIndex = createTextFormatTransformersIndex(byType.textFormat)\n\n return (markdownString, node) => {\n const lines = markdownString.split('\\n')\n const linesLength = lines.length\n const root = node || $getRoot()\n root.clear()\n\n for (let i = 0; i < linesLength; i++) {\n const lineText = lines[i]!\n\n const [imported, shiftedIndex] = $importMultiline(lines, i, byType.multilineElement, root)\n\n if (imported) {\n // If a multiline markdown element was imported, we don't want to process the lines that were part of it anymore.\n // There could be other sub-markdown elements (both multiline and normal ones) matching within this matched multiline element's children.\n // However, it would be the responsibility of the matched multiline transformer to decide how it wants to handle them.\n // We cannot handle those, as there is no way for us to know how to maintain the correct order of generated lexical nodes for possible children.\n i = shiftedIndex // Next loop will start from the line after the last line of the multiline element\n continue\n }\n\n $importBlocks(lineText, root, byType.element, textFormatTransformersIndex, byType.textMatch)\n }\n\n // By default, removing empty paragraphs as md does not really\n // allow empty lines and uses them as delimiter.\n // If you need empty lines set shouldPreserveNewLines = true.\n const children = root.getChildren()\n for (const child of children) {\n if (!shouldPreserveNewLines && isEmptyParagraph(child) && root.getChildrenSize() > 1) {\n child.remove()\n }\n }\n\n if ($getSelection() !== null) {\n root.selectStart()\n }\n }\n}\n\n/**\n *\n * @returns first element of the returned tuple is a boolean indicating if a multiline element was imported. The second element is the index of the last line that was processed.\n */\nfunction $importMultiline(\n lines: Array<string>,\n startLineIndex: number,\n multilineElementTransformers: Array<MultilineElementTransformer>,\n rootNode: ElementNode,\n): [boolean, number] {\n for (const transformer of multilineElementTransformers) {\n const { handleImportAfterStartMatch, regExpEnd, regExpStart, replace } = transformer\n\n const startMatch = lines[startLineIndex]?.match(regExpStart)\n if (!startMatch) {\n continue // Try next transformer\n }\n\n if (handleImportAfterStartMatch) {\n const result = handleImportAfterStartMatch({\n lines,\n rootNode,\n startLineIndex,\n startMatch,\n transformer,\n })\n if (result === null) {\n continue\n } else if (result) {\n return result\n }\n }\n\n const regexpEndRegex: RegExp | undefined =\n typeof regExpEnd === 'object' && 'regExp' in regExpEnd ? regExpEnd.regExp : regExpEnd\n\n const isEndOptional =\n regExpEnd && typeof regExpEnd === 'object' && 'optional' in regExpEnd\n ? regExpEnd.optional\n : !regExpEnd\n\n let endLineIndex = startLineIndex\n const linesLength = lines.length\n\n // check every single line for the closing match. It could also be on the same line as the opening match.\n while (endLineIndex < linesLength) {\n const endMatch = regexpEndRegex ? lines[endLineIndex]?.match(regexpEndRegex) : null\n if (!endMatch) {\n if (\n !isEndOptional ||\n (isEndOptional && endLineIndex < linesLength - 1) // Optional end, but didn't reach the end of the document yet => continue searching for potential closing match\n ) {\n endLineIndex++\n continue // Search next line for closing match\n }\n }\n\n // Now, check if the closing match matched is the same as the opening match.\n // If it is, we need to continue searching for the actual closing match.\n if (endMatch && startLineIndex === endLineIndex && endMatch.index === startMatch.index) {\n endLineIndex++\n continue // Search next line for closing match\n }\n\n // At this point, we have found the closing match. Next: calculate the lines in between open and closing match\n // This should not include the matches themselves, and be split up by lines\n const linesInBetween: string[] = []\n\n if (endMatch && startLineIndex === endLineIndex) {\n linesInBetween.push(lines[startLineIndex]!.slice(startMatch[0].length, -endMatch[0].length))\n } else {\n for (let i = startLineIndex; i <= endLineIndex; i++) {\n const line = lines[i]!\n if (i === startLineIndex) {\n const text = line.slice(startMatch[0].length)\n linesInBetween.push(text) // Also include empty text\n } else if (i === endLineIndex && endMatch) {\n const text = line.slice(0, -endMatch[0].length)\n linesInBetween.push(text) // Also include empty text\n } else {\n linesInBetween.push(line)\n }\n }\n }\n\n if (replace(rootNode, null, startMatch, endMatch!, linesInBetween, true) !== false) {\n // Return here. This $importMultiline function is run line by line and should only process a single multiline element at a time.\n return [true, endLineIndex]\n }\n\n // The replace function returned false, despite finding the matching open and close tags => this transformer does not want to handle it.\n // Thus, we continue letting the remaining transformers handle the passed lines of text from the beginning\n break\n }\n }\n\n // No multiline transformer handled this line successfully\n return [false, startLineIndex]\n}\n\nfunction $importBlocks(\n lineText: string,\n rootNode: ElementNode,\n elementTransformers: Array<ElementTransformer>,\n textFormatTransformersIndex: TextFormatTransformersIndex,\n textMatchTransformers: Array<TextMatchTransformer>,\n) {\n const textNode = $createTextNode(lineText)\n const elementNode = $createParagraphNode()\n elementNode.append(textNode)\n rootNode.append(elementNode)\n\n for (const { regExp, replace } of elementTransformers) {\n const match = lineText.match(regExp)\n\n if (match) {\n textNode.setTextContent(lineText.slice(match[0].length))\n if (replace(elementNode, [textNode], match, true) !== false) {\n break\n }\n }\n }\n\n importTextTransformers(textNode, textFormatTransformersIndex, textMatchTransformers)\n\n // If no transformer found and we left with original paragraph node\n // can check if its content can be appended to the previous node\n // if it's a paragraph, quote or list\n if (elementNode.isAttached() && lineText.length > 0) {\n const previousNode = elementNode.getPreviousSibling()\n if ($isParagraphNode(previousNode) || $isQuoteNode(previousNode) || $isListNode(previousNode)) {\n let targetNode: ListItemNode | null | typeof previousNode = previousNode\n\n if ($isListNode(previousNode)) {\n const lastDescendant = previousNode.getLastDescendant()\n if (lastDescendant == null) {\n targetNode = null\n } else {\n targetNode = $findMatchingParent(lastDescendant, $isListItemNode)\n }\n }\n\n if (targetNode != null && targetNode.getTextContentSize() > 0) {\n targetNode.splice(targetNode.getChildrenSize(), 0, [\n $createLineBreakNode(),\n ...elementNode.getChildren(),\n ])\n elementNode.remove()\n }\n }\n }\n}\n\nfunction createTextFormatTransformersIndex(\n textTransformers: Array<TextFormatTransformer>,\n): TextFormatTransformersIndex {\n const transformersByTag: Record<string, TextFormatTransformer> = {}\n const fullMatchRegExpByTag: Record<string, RegExp> = {}\n const openTagsRegExp: string[] = []\n const escapeRegExp = `(?<![\\\\\\\\])`\n\n for (const transformer of textTransformers) {\n const { tag } = transformer\n transformersByTag[tag] = transformer\n const tagRegExp = tag.replace(/([*^+])/g, '\\\\$1')\n openTagsRegExp.push(tagRegExp)\n\n // Single-char tag (e.g. \"*\"),\n if (tag.length === 1) {\n fullMatchRegExpByTag[tag] = new RegExp(\n `(?<![\\\\\\\\${tagRegExp}])(${tagRegExp})((\\\\\\\\${tagRegExp})?.*?[^${tagRegExp}\\\\s](\\\\\\\\${tagRegExp})?)((?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))(${tagRegExp})(?![\\\\\\\\${tagRegExp}])`,\n )\n } else {\n // Multi‐char tags (e.g. \"**\")\n fullMatchRegExpByTag[tag] = new RegExp(\n `(?<!\\\\\\\\)(${tagRegExp})((\\\\\\\\${tagRegExp})?.*?[^\\\\s](\\\\\\\\${tagRegExp})?)((?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))(${tagRegExp})(?!\\\\\\\\)`,\n )\n }\n }\n\n return {\n // Reg exp to find open tag + content + close tag\n fullMatchRegExpByTag,\n\n // Regexp to locate *any* potential opening tag (longest first).\n openTagsRegExp: new RegExp(`${escapeRegExp}(${openTagsRegExp.join('|')})`, 'g'),\n transformersByTag,\n }\n}\n"],"mappings":"AAAA;;;;;;GAWA,SAASA,eAAe,EAAEC,WAAW,QAAQ;AAC7C,SAASC,YAAY,QAAQ;AAC7B,SAASC,mBAAmB,QAAQ;AACpC,SACEC,oBAAoB,EACpBC,oBAAoB,EACpBC,eAAe,EACfC,QAAQ,EACRC,aAAa,EACbC,gBAAgB,QACX;AAUP,SAASC,sBAAsB,QAAQ;AACvC,SAASC,gBAAgB,EAAEC,kBAAkB,QAAQ;AAQrD;;;AAGA,OAAO,SAASC,qBACdC,YAAgC,EAChCC,sBAAA,GAAyB,KAAK;EAE9B,MAAMC,MAAA,GAASJ,kBAAA,CAAmBE,YAAA;EAClC,MAAMG,2BAAA,GAA8BC,iCAAA,CAAkCF,MAAA,CAAOG,UAAU;EAEvF,OAAO,CAACC,cAAA,EAAgBC,IAAA;IACtB,MAAMC,KAAA,GAAQF,cAAA,CAAeG,KAAK,CAAC;IACnC,MAAMC,WAAA,GAAcF,KAAA,CAAMG,MAAM;IAChC,MA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AACI,GAAA,CAAI,GAAGvC,WAAA;IACzB,MAAMwC,SAAA,GAAYD,GAAA,CAAInC,OAAO,CAAC,YAAY;IAC1CiC,cAAA,CAAerB,IAAI,CAACwB,SAAA;IAEpB;IACA,IAAID,GAAA,CAAI5D,MAAM,KAAK,GAAG;MACpByD,oBAAoB,CAACG,GAAA,CAAI,GAAG,IAAIE,MAAA,CAC9B,YAAYD,SAAA,MAAeA,SAAA,UAAmBA,SAAA,UAAmBA,SAAA,YAAqBA,SAAA,gCAAyCA,SAAA,YAAqBA,SAAA,IAAa;IAErK,OAAO;MACL;MACAJ,oBAAoB,CAACG,GAAA,CAAI,GAAG,IAAIE,MAAA,CAC9B,aAAaD,SAAA,UAAmBA,SAAA,mBAA4BA,SAAA,gCAAyCA,SAAA,WAAoB;IAE7H;EACF;EAEA,OAAO;IACL;IACAJ,oBAAA;IAEA;IACAC,cAAA,EAAgB,IAAII,MAAA,CAAO,GAAGH,YAAA,IAAgBD,cAAA,CAAeK,IAAI,CAAC,OAAO,EAAE;IAC3EP;EACF;AACF","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { LexicalEditor } from 'lexical';
9
- import type { Transformer } from './MarkdownTransformers.js';
10
- export declare function registerMarkdownShortcuts(editor: LexicalEditor, transformers?: Array<Transformer>): () => void;
11
- //# sourceMappingURL=MarkdownShortcuts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownShortcuts.d.ts","sourceRoot":"","sources":["../../../../src/packages/@lexical/markdown/MarkdownShortcuts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAe,aAAa,EAAY,MAAM,SAAS,CAAA;AAYnE,OAAO,KAAK,EAKV,WAAW,EACZ,MAAM,2BAA2B,CAAA;AA4TlC,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,aAAa,EACrB,YAAY,GAAE,KAAK,CAAC,WAAW,CAAgB,GAC9C,MAAM,IAAI,CA8FZ"}