@domternal/core 0.5.1 → 0.6.0

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 (387) hide show
  1. package/README.md +5 -4
  2. package/dist/index.cjs +16 -0
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +1 -0
  5. package/dist/index.d.ts +5845 -23
  6. package/dist/index.js +16 -0
  7. package/dist/index.js.map +1 -1
  8. package/package.json +14 -12
  9. package/dist/CanChecker.d.ts +0 -79
  10. package/dist/CanChecker.d.ts.map +0 -1
  11. package/dist/CanChecker.test.d.ts +0 -2
  12. package/dist/CanChecker.test.d.ts.map +0 -1
  13. package/dist/ChainBuilder.d.ts +0 -119
  14. package/dist/ChainBuilder.d.ts.map +0 -1
  15. package/dist/ChainBuilder.test.d.ts +0 -2
  16. package/dist/ChainBuilder.test.d.ts.map +0 -1
  17. package/dist/CommandManager.d.ts +0 -86
  18. package/dist/CommandManager.d.ts.map +0 -1
  19. package/dist/CommandManager.test.d.ts +0 -2
  20. package/dist/CommandManager.test.d.ts.map +0 -1
  21. package/dist/Editor.d.ts +0 -262
  22. package/dist/Editor.d.ts.map +0 -1
  23. package/dist/Editor.test.d.ts +0 -2
  24. package/dist/Editor.test.d.ts.map +0 -1
  25. package/dist/EventEmitter.d.ts +0 -57
  26. package/dist/EventEmitter.d.ts.map +0 -1
  27. package/dist/EventEmitter.test.d.ts +0 -2
  28. package/dist/EventEmitter.test.d.ts.map +0 -1
  29. package/dist/Extension.d.ts +0 -171
  30. package/dist/Extension.d.ts.map +0 -1
  31. package/dist/Extension.test.d.ts +0 -2
  32. package/dist/Extension.test.d.ts.map +0 -1
  33. package/dist/ExtensionManager.d.ts +0 -283
  34. package/dist/ExtensionManager.d.ts.map +0 -1
  35. package/dist/ExtensionManager.test.d.ts +0 -2
  36. package/dist/ExtensionManager.test.d.ts.map +0 -1
  37. package/dist/Mark.d.ts +0 -164
  38. package/dist/Mark.d.ts.map +0 -1
  39. package/dist/Mark.test.d.ts +0 -5
  40. package/dist/Mark.test.d.ts.map +0 -1
  41. package/dist/Node.d.ts +0 -153
  42. package/dist/Node.d.ts.map +0 -1
  43. package/dist/Node.test.d.ts +0 -2
  44. package/dist/Node.test.d.ts.map +0 -1
  45. package/dist/ToolbarController.d.ts +0 -169
  46. package/dist/ToolbarController.d.ts.map +0 -1
  47. package/dist/ToolbarController.test.d.ts +0 -2
  48. package/dist/ToolbarController.test.d.ts.map +0 -1
  49. package/dist/commandPropsBuilder.d.ts +0 -70
  50. package/dist/commandPropsBuilder.d.ts.map +0 -1
  51. package/dist/commandPropsBuilder.test.d.ts +0 -2
  52. package/dist/commandPropsBuilder.test.d.ts.map +0 -1
  53. package/dist/commands/attributeCommands.d.ts +0 -24
  54. package/dist/commands/attributeCommands.d.ts.map +0 -1
  55. package/dist/commands/attributeCommands.test.d.ts +0 -2
  56. package/dist/commands/attributeCommands.test.d.ts.map +0 -1
  57. package/dist/commands/builtIn.test.d.ts +0 -2
  58. package/dist/commands/builtIn.test.d.ts.map +0 -1
  59. package/dist/commands/contentCommands.d.ts +0 -52
  60. package/dist/commands/contentCommands.d.ts.map +0 -1
  61. package/dist/commands/contentCommands.test.d.ts +0 -2
  62. package/dist/commands/contentCommands.test.d.ts.map +0 -1
  63. package/dist/commands/index.d.ts +0 -43
  64. package/dist/commands/index.d.ts.map +0 -1
  65. package/dist/commands/listCommands.d.ts +0 -15
  66. package/dist/commands/listCommands.d.ts.map +0 -1
  67. package/dist/commands/listCommands.test.d.ts +0 -2
  68. package/dist/commands/listCommands.test.d.ts.map +0 -1
  69. package/dist/commands/markCommands.d.ts +0 -40
  70. package/dist/commands/markCommands.d.ts.map +0 -1
  71. package/dist/commands/markCommands.test.d.ts +0 -2
  72. package/dist/commands/markCommands.test.d.ts.map +0 -1
  73. package/dist/commands/nodeCommands.d.ts +0 -53
  74. package/dist/commands/nodeCommands.d.ts.map +0 -1
  75. package/dist/commands/nodeCommands.test.d.ts +0 -2
  76. package/dist/commands/nodeCommands.test.d.ts.map +0 -1
  77. package/dist/commands/selectionCommands.d.ts +0 -37
  78. package/dist/commands/selectionCommands.d.ts.map +0 -1
  79. package/dist/commands/selectionCommands.test.d.ts +0 -2
  80. package/dist/commands/selectionCommands.test.d.ts.map +0 -1
  81. package/dist/extensions/BaseKeymap.d.ts +0 -36
  82. package/dist/extensions/BaseKeymap.d.ts.map +0 -1
  83. package/dist/extensions/BaseKeymap.test.d.ts +0 -2
  84. package/dist/extensions/BaseKeymap.test.d.ts.map +0 -1
  85. package/dist/extensions/BubbleMenu.d.ts +0 -85
  86. package/dist/extensions/BubbleMenu.d.ts.map +0 -1
  87. package/dist/extensions/BubbleMenu.test.d.ts +0 -2
  88. package/dist/extensions/BubbleMenu.test.d.ts.map +0 -1
  89. package/dist/extensions/CharacterCount.d.ts +0 -60
  90. package/dist/extensions/CharacterCount.d.ts.map +0 -1
  91. package/dist/extensions/CharacterCount.test.d.ts +0 -2
  92. package/dist/extensions/CharacterCount.test.d.ts.map +0 -1
  93. package/dist/extensions/ClearFormatting.d.ts +0 -25
  94. package/dist/extensions/ClearFormatting.d.ts.map +0 -1
  95. package/dist/extensions/ClearFormatting.test.d.ts +0 -2
  96. package/dist/extensions/ClearFormatting.test.d.ts.map +0 -1
  97. package/dist/extensions/Dropcursor.d.ts +0 -20
  98. package/dist/extensions/Dropcursor.d.ts.map +0 -1
  99. package/dist/extensions/Dropcursor.test.d.ts +0 -2
  100. package/dist/extensions/Dropcursor.test.d.ts.map +0 -1
  101. package/dist/extensions/FloatingMenu.d.ts +0 -74
  102. package/dist/extensions/FloatingMenu.d.ts.map +0 -1
  103. package/dist/extensions/FloatingMenu.test.d.ts +0 -2
  104. package/dist/extensions/FloatingMenu.test.d.ts.map +0 -1
  105. package/dist/extensions/Focus.d.ts +0 -26
  106. package/dist/extensions/Focus.d.ts.map +0 -1
  107. package/dist/extensions/Focus.test.d.ts +0 -2
  108. package/dist/extensions/Focus.test.d.ts.map +0 -1
  109. package/dist/extensions/FontFamily.d.ts +0 -41
  110. package/dist/extensions/FontFamily.d.ts.map +0 -1
  111. package/dist/extensions/FontFamily.test.d.ts +0 -2
  112. package/dist/extensions/FontFamily.test.d.ts.map +0 -1
  113. package/dist/extensions/FontSize.d.ts +0 -46
  114. package/dist/extensions/FontSize.d.ts.map +0 -1
  115. package/dist/extensions/FontSize.test.d.ts +0 -2
  116. package/dist/extensions/FontSize.test.d.ts.map +0 -1
  117. package/dist/extensions/Gapcursor.d.ts +0 -3
  118. package/dist/extensions/Gapcursor.d.ts.map +0 -1
  119. package/dist/extensions/Gapcursor.test.d.ts +0 -2
  120. package/dist/extensions/Gapcursor.test.d.ts.map +0 -1
  121. package/dist/extensions/Highlight.d.ts +0 -61
  122. package/dist/extensions/Highlight.d.ts.map +0 -1
  123. package/dist/extensions/Highlight.test.d.ts +0 -2
  124. package/dist/extensions/Highlight.test.d.ts.map +0 -1
  125. package/dist/extensions/History.d.ts +0 -22
  126. package/dist/extensions/History.d.ts.map +0 -1
  127. package/dist/extensions/History.test.d.ts +0 -2
  128. package/dist/extensions/History.test.d.ts.map +0 -1
  129. package/dist/extensions/InvisibleChars.d.ts +0 -86
  130. package/dist/extensions/InvisibleChars.d.ts.map +0 -1
  131. package/dist/extensions/InvisibleChars.test.d.ts +0 -2
  132. package/dist/extensions/InvisibleChars.test.d.ts.map +0 -1
  133. package/dist/extensions/LineHeight.d.ts +0 -50
  134. package/dist/extensions/LineHeight.d.ts.map +0 -1
  135. package/dist/extensions/LineHeight.test.d.ts +0 -2
  136. package/dist/extensions/LineHeight.test.d.ts.map +0 -1
  137. package/dist/extensions/LinkPopover.d.ts +0 -10
  138. package/dist/extensions/LinkPopover.d.ts.map +0 -1
  139. package/dist/extensions/ListKeymap.d.ts +0 -10
  140. package/dist/extensions/ListKeymap.d.ts.map +0 -1
  141. package/dist/extensions/ListKeymap.test.d.ts +0 -2
  142. package/dist/extensions/ListKeymap.test.d.ts.map +0 -1
  143. package/dist/extensions/Placeholder.d.ts +0 -47
  144. package/dist/extensions/Placeholder.d.ts.map +0 -1
  145. package/dist/extensions/Placeholder.test.d.ts +0 -2
  146. package/dist/extensions/Placeholder.test.d.ts.map +0 -1
  147. package/dist/extensions/Selection.d.ts +0 -71
  148. package/dist/extensions/Selection.d.ts.map +0 -1
  149. package/dist/extensions/Selection.test.d.ts +0 -2
  150. package/dist/extensions/Selection.test.d.ts.map +0 -1
  151. package/dist/extensions/SelectionDecoration.d.ts +0 -18
  152. package/dist/extensions/SelectionDecoration.d.ts.map +0 -1
  153. package/dist/extensions/SelectionDecoration.test.d.ts +0 -2
  154. package/dist/extensions/SelectionDecoration.test.d.ts.map +0 -1
  155. package/dist/extensions/StarterKit.d.ts +0 -144
  156. package/dist/extensions/StarterKit.d.ts.map +0 -1
  157. package/dist/extensions/StarterKit.test.d.ts +0 -2
  158. package/dist/extensions/StarterKit.test.d.ts.map +0 -1
  159. package/dist/extensions/TextAlign.d.ts +0 -32
  160. package/dist/extensions/TextAlign.d.ts.map +0 -1
  161. package/dist/extensions/TextAlign.test.d.ts +0 -2
  162. package/dist/extensions/TextAlign.test.d.ts.map +0 -1
  163. package/dist/extensions/TextColor.d.ts +0 -55
  164. package/dist/extensions/TextColor.d.ts.map +0 -1
  165. package/dist/extensions/TextColor.test.d.ts +0 -2
  166. package/dist/extensions/TextColor.test.d.ts.map +0 -1
  167. package/dist/extensions/TrailingNode.d.ts +0 -16
  168. package/dist/extensions/TrailingNode.d.ts.map +0 -1
  169. package/dist/extensions/TrailingNode.test.d.ts +0 -2
  170. package/dist/extensions/TrailingNode.test.d.ts.map +0 -1
  171. package/dist/extensions/Typography.d.ts +0 -65
  172. package/dist/extensions/Typography.d.ts.map +0 -1
  173. package/dist/extensions/Typography.test.d.ts +0 -2
  174. package/dist/extensions/Typography.test.d.ts.map +0 -1
  175. package/dist/extensions/UniqueID.d.ts +0 -48
  176. package/dist/extensions/UniqueID.d.ts.map +0 -1
  177. package/dist/extensions/UniqueID.test.d.ts +0 -2
  178. package/dist/extensions/UniqueID.test.d.ts.map +0 -1
  179. package/dist/extensions/index.d.ts +0 -29
  180. package/dist/extensions/index.d.ts.map +0 -1
  181. package/dist/extensions/isActive-markExclusion.test.d.ts +0 -2
  182. package/dist/extensions/isActive-markExclusion.test.d.ts.map +0 -1
  183. package/dist/helpers/callOrReturn.d.ts +0 -30
  184. package/dist/helpers/callOrReturn.d.ts.map +0 -1
  185. package/dist/helpers/callOrReturn.test.d.ts +0 -2
  186. package/dist/helpers/callOrReturn.test.d.ts.map +0 -1
  187. package/dist/helpers/createDocument.d.ts +0 -48
  188. package/dist/helpers/createDocument.d.ts.map +0 -1
  189. package/dist/helpers/createDocument.test.d.ts +0 -2
  190. package/dist/helpers/createDocument.test.d.ts.map +0 -1
  191. package/dist/helpers/defaultBlockAt.d.ts +0 -15
  192. package/dist/helpers/defaultBlockAt.d.ts.map +0 -1
  193. package/dist/helpers/defaultBlockAt.test.d.ts +0 -2
  194. package/dist/helpers/defaultBlockAt.test.d.ts.map +0 -1
  195. package/dist/helpers/findChildren.d.ts +0 -13
  196. package/dist/helpers/findChildren.d.ts.map +0 -1
  197. package/dist/helpers/findChildren.test.d.ts +0 -2
  198. package/dist/helpers/findChildren.test.d.ts.map +0 -1
  199. package/dist/helpers/findParentNode.d.ts +0 -21
  200. package/dist/helpers/findParentNode.d.ts.map +0 -1
  201. package/dist/helpers/findParentNode.test.d.ts +0 -2
  202. package/dist/helpers/findParentNode.test.d.ts.map +0 -1
  203. package/dist/helpers/getMarkRange.d.ts +0 -17
  204. package/dist/helpers/getMarkRange.d.ts.map +0 -1
  205. package/dist/helpers/getMarkRange.test.d.ts +0 -2
  206. package/dist/helpers/getMarkRange.test.d.ts.map +0 -1
  207. package/dist/helpers/index.d.ts +0 -18
  208. package/dist/helpers/index.d.ts.map +0 -1
  209. package/dist/helpers/inputRulesPlugin.d.ts +0 -26
  210. package/dist/helpers/inputRulesPlugin.d.ts.map +0 -1
  211. package/dist/helpers/isNodeEmpty.d.ts +0 -52
  212. package/dist/helpers/isNodeEmpty.d.ts.map +0 -1
  213. package/dist/helpers/isNodeEmpty.test.d.ts +0 -2
  214. package/dist/helpers/isNodeEmpty.test.d.ts.map +0 -1
  215. package/dist/helpers/isValidUrl.d.ts +0 -31
  216. package/dist/helpers/isValidUrl.d.ts.map +0 -1
  217. package/dist/helpers/isValidUrl.test.d.ts +0 -2
  218. package/dist/helpers/isValidUrl.test.d.ts.map +0 -1
  219. package/dist/helpers/markInputRule.d.ts +0 -88
  220. package/dist/helpers/markInputRule.d.ts.map +0 -1
  221. package/dist/helpers/markInputRule.test.d.ts +0 -2
  222. package/dist/helpers/markInputRule.test.d.ts.map +0 -1
  223. package/dist/helpers/nodeInputRule.d.ts +0 -41
  224. package/dist/helpers/nodeInputRule.d.ts.map +0 -1
  225. package/dist/helpers/normalizeColor.d.ts +0 -7
  226. package/dist/helpers/normalizeColor.d.ts.map +0 -1
  227. package/dist/helpers/normalizeColor.test.d.ts +0 -2
  228. package/dist/helpers/normalizeColor.test.d.ts.map +0 -1
  229. package/dist/helpers/specBuilder.d.ts +0 -28
  230. package/dist/helpers/specBuilder.d.ts.map +0 -1
  231. package/dist/helpers/specBuilder.test.d.ts +0 -2
  232. package/dist/helpers/specBuilder.test.d.ts.map +0 -1
  233. package/dist/helpers/ssr.d.ts +0 -80
  234. package/dist/helpers/ssr.d.ts.map +0 -1
  235. package/dist/helpers/ssr.test.d.ts +0 -2
  236. package/dist/helpers/ssr.test.d.ts.map +0 -1
  237. package/dist/helpers/textInputRule.d.ts +0 -34
  238. package/dist/helpers/textInputRule.d.ts.map +0 -1
  239. package/dist/helpers/textblockTypeInputRule.d.ts +0 -41
  240. package/dist/helpers/textblockTypeInputRule.d.ts.map +0 -1
  241. package/dist/helpers/wrappingInputRule.d.ts +0 -66
  242. package/dist/helpers/wrappingInputRule.d.ts.map +0 -1
  243. package/dist/icons/index.d.ts +0 -2
  244. package/dist/icons/index.d.ts.map +0 -1
  245. package/dist/icons/phosphor.d.ts +0 -3
  246. package/dist/icons/phosphor.d.ts.map +0 -1
  247. package/dist/index.d.ts.map +0 -1
  248. package/dist/index.test.d.ts +0 -2
  249. package/dist/index.test.d.ts.map +0 -1
  250. package/dist/marks/Bold.d.ts +0 -40
  251. package/dist/marks/Bold.d.ts.map +0 -1
  252. package/dist/marks/Bold.test.d.ts +0 -2
  253. package/dist/marks/Bold.test.d.ts.map +0 -1
  254. package/dist/marks/Code.d.ts +0 -40
  255. package/dist/marks/Code.d.ts.map +0 -1
  256. package/dist/marks/Code.test.d.ts +0 -2
  257. package/dist/marks/Code.test.d.ts.map +0 -1
  258. package/dist/marks/Italic.d.ts +0 -40
  259. package/dist/marks/Italic.d.ts.map +0 -1
  260. package/dist/marks/Italic.test.d.ts +0 -2
  261. package/dist/marks/Italic.test.d.ts.map +0 -1
  262. package/dist/marks/Link.d.ts +0 -75
  263. package/dist/marks/Link.d.ts.map +0 -1
  264. package/dist/marks/Link.test.d.ts +0 -2
  265. package/dist/marks/Link.test.d.ts.map +0 -1
  266. package/dist/marks/Strike.d.ts +0 -39
  267. package/dist/marks/Strike.d.ts.map +0 -1
  268. package/dist/marks/Strike.test.d.ts +0 -2
  269. package/dist/marks/Strike.test.d.ts.map +0 -1
  270. package/dist/marks/Subscript.d.ts +0 -38
  271. package/dist/marks/Subscript.d.ts.map +0 -1
  272. package/dist/marks/Subscript.test.d.ts +0 -2
  273. package/dist/marks/Subscript.test.d.ts.map +0 -1
  274. package/dist/marks/Superscript.d.ts +0 -38
  275. package/dist/marks/Superscript.d.ts.map +0 -1
  276. package/dist/marks/Superscript.test.d.ts +0 -2
  277. package/dist/marks/Superscript.test.d.ts.map +0 -1
  278. package/dist/marks/TextStyle.d.ts +0 -41
  279. package/dist/marks/TextStyle.d.ts.map +0 -1
  280. package/dist/marks/TextStyle.test.d.ts +0 -2
  281. package/dist/marks/TextStyle.test.d.ts.map +0 -1
  282. package/dist/marks/Underline.d.ts +0 -38
  283. package/dist/marks/Underline.d.ts.map +0 -1
  284. package/dist/marks/Underline.test.d.ts +0 -2
  285. package/dist/marks/Underline.test.d.ts.map +0 -1
  286. package/dist/marks/helpers/autolinkPlugin.d.ts +0 -48
  287. package/dist/marks/helpers/autolinkPlugin.d.ts.map +0 -1
  288. package/dist/marks/helpers/autolinkPlugin.test.d.ts +0 -2
  289. package/dist/marks/helpers/autolinkPlugin.test.d.ts.map +0 -1
  290. package/dist/marks/helpers/index.d.ts +0 -10
  291. package/dist/marks/helpers/index.d.ts.map +0 -1
  292. package/dist/marks/helpers/linkClickPlugin.d.ts +0 -43
  293. package/dist/marks/helpers/linkClickPlugin.d.ts.map +0 -1
  294. package/dist/marks/helpers/linkClickPlugin.test.d.ts +0 -2
  295. package/dist/marks/helpers/linkClickPlugin.test.d.ts.map +0 -1
  296. package/dist/marks/helpers/linkExitPlugin.d.ts +0 -37
  297. package/dist/marks/helpers/linkExitPlugin.d.ts.map +0 -1
  298. package/dist/marks/helpers/linkExitPlugin.test.d.ts +0 -2
  299. package/dist/marks/helpers/linkExitPlugin.test.d.ts.map +0 -1
  300. package/dist/marks/helpers/linkPastePlugin.d.ts +0 -44
  301. package/dist/marks/helpers/linkPastePlugin.d.ts.map +0 -1
  302. package/dist/marks/helpers/linkPastePlugin.test.d.ts +0 -2
  303. package/dist/marks/helpers/linkPastePlugin.test.d.ts.map +0 -1
  304. package/dist/marks/index.d.ts +0 -16
  305. package/dist/marks/index.d.ts.map +0 -1
  306. package/dist/nodes/Blockquote.d.ts +0 -19
  307. package/dist/nodes/Blockquote.d.ts.map +0 -1
  308. package/dist/nodes/Blockquote.test.d.ts +0 -2
  309. package/dist/nodes/Blockquote.test.d.ts.map +0 -1
  310. package/dist/nodes/BulletList.d.ts +0 -18
  311. package/dist/nodes/BulletList.d.ts.map +0 -1
  312. package/dist/nodes/BulletList.test.d.ts +0 -2
  313. package/dist/nodes/BulletList.test.d.ts.map +0 -1
  314. package/dist/nodes/CodeBlock.d.ts +0 -29
  315. package/dist/nodes/CodeBlock.d.ts.map +0 -1
  316. package/dist/nodes/CodeBlock.test.d.ts +0 -2
  317. package/dist/nodes/CodeBlock.test.d.ts.map +0 -1
  318. package/dist/nodes/Document.d.ts +0 -9
  319. package/dist/nodes/Document.d.ts.map +0 -1
  320. package/dist/nodes/Document.test.d.ts +0 -2
  321. package/dist/nodes/Document.test.d.ts.map +0 -1
  322. package/dist/nodes/HardBreak.d.ts +0 -18
  323. package/dist/nodes/HardBreak.d.ts.map +0 -1
  324. package/dist/nodes/HardBreak.test.d.ts +0 -2
  325. package/dist/nodes/HardBreak.test.d.ts.map +0 -1
  326. package/dist/nodes/Heading.d.ts +0 -23
  327. package/dist/nodes/Heading.d.ts.map +0 -1
  328. package/dist/nodes/Heading.test.d.ts +0 -2
  329. package/dist/nodes/Heading.test.d.ts.map +0 -1
  330. package/dist/nodes/HorizontalRule.d.ts +0 -17
  331. package/dist/nodes/HorizontalRule.d.ts.map +0 -1
  332. package/dist/nodes/HorizontalRule.test.d.ts +0 -2
  333. package/dist/nodes/HorizontalRule.test.d.ts.map +0 -1
  334. package/dist/nodes/ListItem.d.ts +0 -16
  335. package/dist/nodes/ListItem.d.ts.map +0 -1
  336. package/dist/nodes/ListItem.test.d.ts +0 -2
  337. package/dist/nodes/ListItem.test.d.ts.map +0 -1
  338. package/dist/nodes/OrderedList.d.ts +0 -18
  339. package/dist/nodes/OrderedList.d.ts.map +0 -1
  340. package/dist/nodes/OrderedList.test.d.ts +0 -2
  341. package/dist/nodes/OrderedList.test.d.ts.map +0 -1
  342. package/dist/nodes/Paragraph.d.ts +0 -17
  343. package/dist/nodes/Paragraph.d.ts.map +0 -1
  344. package/dist/nodes/Paragraph.test.d.ts +0 -2
  345. package/dist/nodes/Paragraph.test.d.ts.map +0 -1
  346. package/dist/nodes/TaskItem.d.ts +0 -24
  347. package/dist/nodes/TaskItem.d.ts.map +0 -1
  348. package/dist/nodes/TaskItem.test.d.ts +0 -2
  349. package/dist/nodes/TaskItem.test.d.ts.map +0 -1
  350. package/dist/nodes/TaskList.d.ts +0 -18
  351. package/dist/nodes/TaskList.d.ts.map +0 -1
  352. package/dist/nodes/TaskList.test.d.ts +0 -2
  353. package/dist/nodes/TaskList.test.d.ts.map +0 -1
  354. package/dist/nodes/Text.d.ts +0 -9
  355. package/dist/nodes/Text.d.ts.map +0 -1
  356. package/dist/nodes/Text.test.d.ts +0 -2
  357. package/dist/nodes/Text.test.d.ts.map +0 -1
  358. package/dist/nodes/index.d.ts +0 -19
  359. package/dist/nodes/index.d.ts.map +0 -1
  360. package/dist/nodes/integration.test.d.ts +0 -7
  361. package/dist/nodes/integration.test.d.ts.map +0 -1
  362. package/dist/types/AttributeSpec.d.ts +0 -78
  363. package/dist/types/AttributeSpec.d.ts.map +0 -1
  364. package/dist/types/Commands.d.ts +0 -125
  365. package/dist/types/Commands.d.ts.map +0 -1
  366. package/dist/types/Content.d.ts +0 -40
  367. package/dist/types/Content.d.ts.map +0 -1
  368. package/dist/types/EditorEvents.d.ts +0 -131
  369. package/dist/types/EditorEvents.d.ts.map +0 -1
  370. package/dist/types/EditorOptions.d.ts +0 -139
  371. package/dist/types/EditorOptions.d.ts.map +0 -1
  372. package/dist/types/ExtensionConfig.d.ts +0 -271
  373. package/dist/types/ExtensionConfig.d.ts.map +0 -1
  374. package/dist/types/MarkConfig.d.ts +0 -206
  375. package/dist/types/MarkConfig.d.ts.map +0 -1
  376. package/dist/types/NodeConfig.d.ts +0 -263
  377. package/dist/types/NodeConfig.d.ts.map +0 -1
  378. package/dist/types/Toolbar.d.ts +0 -172
  379. package/dist/types/Toolbar.d.ts.map +0 -1
  380. package/dist/types/index.d.ts +0 -13
  381. package/dist/types/index.d.ts.map +0 -1
  382. package/dist/utils/inlineStyles.d.ts +0 -83
  383. package/dist/utils/inlineStyles.d.ts.map +0 -1
  384. package/dist/utils/inlineStyles.test.d.ts +0 -2
  385. package/dist/utils/inlineStyles.test.d.ts.map +0 -1
  386. package/dist/utils/positionFloating.d.ts +0 -74
  387. package/dist/utils/positionFloating.d.ts.map +0 -1
@@ -1,38 +0,0 @@
1
- /**
2
- * Underline Mark
3
- *
4
- * Applies underline formatting to text.
5
- *
6
- * @example
7
- * ```ts
8
- * import { Underline } from '@domternal/core';
9
- *
10
- * const editor = new Editor({
11
- * extensions: [Document, Paragraph, Text, Underline],
12
- * });
13
- *
14
- * // Toggle underline with keyboard shortcut: Mod-u
15
- * ```
16
- */
17
- import { Mark } from '../Mark.js';
18
- /**
19
- * Options for the Underline mark
20
- */
21
- export interface UnderlineOptions {
22
- /**
23
- * HTML attributes to add to the rendered element
24
- */
25
- HTMLAttributes: Record<string, unknown>;
26
- }
27
- /**
28
- * Underline mark for text formatting
29
- */
30
- export declare const Underline: Mark<UnderlineOptions, unknown>;
31
- declare module '../types/Commands.js' {
32
- interface RawCommands {
33
- setUnderline: CommandSpec;
34
- unsetUnderline: CommandSpec;
35
- toggleUnderline: CommandSpec;
36
- }
37
- }
38
- //# sourceMappingURL=Underline.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Underline.d.ts","sourceRoot":"","sources":["../../src/marks/Underline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,iCA8DpB,CAAC;AAEH,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,YAAY,EAAE,WAAW,CAAC;QAC1B,cAAc,EAAE,WAAW,CAAC;QAC5B,eAAe,EAAE,WAAW,CAAC;KAC9B;CACF"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Underline.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Underline.test.d.ts","sourceRoot":"","sources":["../../src/marks/Underline.test.ts"],"names":[],"mappings":""}
@@ -1,48 +0,0 @@
1
- /**
2
- * Autolink Plugin
3
- *
4
- * Automatically converts typed URLs into clickable links.
5
- * Triggers when user types a space, punctuation, or presses Enter after a URL.
6
- * Uses linkifyjs for robust URL detection.
7
- */
8
- import { Plugin, PluginKey } from '@domternal/pm/state';
9
- import type { MarkType } from '@domternal/pm/model';
10
- /**
11
- * Options for the autolink plugin
12
- */
13
- export interface AutolinkPluginOptions {
14
- /**
15
- * The link mark type
16
- */
17
- type: MarkType;
18
- /**
19
- * Allowed URL protocols
20
- * @default ['http:', 'https:']
21
- */
22
- protocols?: string[];
23
- /**
24
- * Default protocol to add to bare URLs (e.g., 'example.com' → 'https://example.com')
25
- * @default 'https'
26
- */
27
- defaultProtocol?: string;
28
- /**
29
- * Custom validation function
30
- * Return false to prevent auto-linking specific URLs
31
- */
32
- shouldAutoLink?: (url: string) => boolean;
33
- }
34
- /**
35
- * Plugin key for autolink plugin
36
- */
37
- export declare const autolinkPluginKey: PluginKey<any>;
38
- /**
39
- * Creates a plugin that auto-converts typed URLs to links.
40
- *
41
- * When user types a URL followed by space/punctuation, the URL
42
- * is automatically wrapped in a link mark.
43
- *
44
- * @param options - Plugin options
45
- * @returns ProseMirror Plugin
46
- */
47
- export declare function autolinkPlugin(options: AutolinkPluginOptions): Plugin;
48
- //# sourceMappingURL=autolinkPlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"autolinkPlugin.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/autolinkPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGpD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC3C;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,gBAA4B,CAAC;AAO3D;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAwFrE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=autolinkPlugin.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"autolinkPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/autolinkPlugin.test.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- /**
2
- * Link Mark Helpers
3
- *
4
- * Plugins and utilities for enhanced Link mark functionality.
5
- */
6
- export { linkClickPlugin, linkClickPluginKey, type LinkClickPluginOptions, } from './linkClickPlugin.js';
7
- export { linkPastePlugin, linkPastePluginKey, type LinkPastePluginOptions, } from './linkPastePlugin.js';
8
- export { autolinkPlugin, autolinkPluginKey, type AutolinkPluginOptions, } from './autolinkPlugin.js';
9
- export { linkExitPlugin, linkExitPluginKey, type LinkExitPluginOptions, } from './linkExitPlugin.js';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAC"}
@@ -1,43 +0,0 @@
1
- /**
2
- * Link Click Plugin
3
- *
4
- * Handles click on links to open them.
5
- * When editable: opens on click.
6
- * When read-only: browser handles link clicks natively.
7
- */
8
- import { Plugin, PluginKey } from '@domternal/pm/state';
9
- import type { MarkType } from '@domternal/pm/model';
10
- /**
11
- * Options for the link click plugin
12
- */
13
- export interface LinkClickPluginOptions {
14
- /**
15
- * The link mark type
16
- */
17
- type: MarkType;
18
- /**
19
- * When to open links on click
20
- * - true: Open on click
21
- * - false: Never open
22
- * - 'whenNotEditable': Only open when editor is read-only (browser handles natively)
23
- * @default true
24
- */
25
- openOnClick?: boolean | 'whenNotEditable';
26
- /**
27
- * Select the full link text range when clicking a link
28
- * @default false
29
- */
30
- enableClickSelection?: boolean;
31
- }
32
- /**
33
- * Plugin key for link click plugin
34
- */
35
- export declare const linkClickPluginKey: PluginKey<any>;
36
- /**
37
- * Creates a plugin that handles clicking on links to open them.
38
- *
39
- * @param options - Plugin options
40
- * @returns ProseMirror Plugin
41
- */
42
- export declare function linkClickPlugin(options: LinkClickPluginOptions): Plugin;
43
- //# sourceMappingURL=linkClickPlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkClickPlugin.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkClickPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAiB,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,iBAAiB,CAAC;IAE1C;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,gBAA6B,CAAC;AAE7D;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAsFvE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=linkClickPlugin.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkClickPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkClickPlugin.test.ts"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
1
- /**
2
- * Link Exit Plugin
3
- *
4
- * Allows users to "exit" a link mark by pressing ArrowRight at the
5
- * end of the link. After exiting, newly typed text will not have
6
- * the link mark applied.
7
- *
8
- * Enabled when the Link mark has `exitable: true` configured.
9
- */
10
- import { Plugin, PluginKey } from '@domternal/pm/state';
11
- import type { MarkType } from '@domternal/pm/model';
12
- /**
13
- * Options for the link exit plugin
14
- */
15
- export interface LinkExitPluginOptions {
16
- /**
17
- * The link mark type
18
- */
19
- type: MarkType;
20
- }
21
- /**
22
- * Plugin key for link exit plugin
23
- */
24
- export declare const linkExitPluginKey: PluginKey<any>;
25
- /**
26
- * Creates a plugin that allows exiting a link mark with ArrowRight.
27
- *
28
- * When the cursor is at the end boundary of a link mark (the next
29
- * character has no link mark, or there is no next character), pressing
30
- * ArrowRight will set storedMarks to exclude the link mark. This means
31
- * any text typed after will not be linked.
32
- *
33
- * @param options - Plugin options
34
- * @returns ProseMirror Plugin
35
- */
36
- export declare function linkExitPlugin(options: LinkExitPluginOptions): Plugin;
37
- //# sourceMappingURL=linkExitPlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkExitPlugin.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkExitPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAiB,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,gBAA4B,CAAC;AAE3D;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAkDrE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=linkExitPlugin.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkExitPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkExitPlugin.test.ts"],"names":[],"mappings":""}
@@ -1,44 +0,0 @@
1
- /**
2
- * Link Paste Plugin
3
- *
4
- * Handles pasting URLs:
5
- * - If text is selected: wraps selection in a link
6
- * - If no selection: inserts URL as clickable link text
7
- */
8
- import { Plugin, PluginKey } from '@domternal/pm/state';
9
- import type { MarkType } from '@domternal/pm/model';
10
- /**
11
- * Options for the link paste plugin
12
- */
13
- export interface LinkPastePluginOptions {
14
- /**
15
- * The link mark type
16
- */
17
- type: MarkType;
18
- /**
19
- * Allowed URL protocols
20
- * @default ['http:', 'https:']
21
- */
22
- protocols?: string[];
23
- /**
24
- * Custom URL validation function
25
- * Return false to prevent linking specific URLs
26
- */
27
- validate?: (url: string) => boolean;
28
- }
29
- /**
30
- * Plugin key for link paste plugin
31
- */
32
- export declare const linkPastePluginKey: PluginKey<any>;
33
- /**
34
- * Creates a plugin that handles pasting URLs.
35
- *
36
- * Behavior:
37
- * - Text selected + paste URL = wrap selection in link
38
- * - No selection + paste URL = insert URL as link
39
- *
40
- * @param options - Plugin options
41
- * @returns ProseMirror Plugin
42
- */
43
- export declare function linkPastePlugin(options: LinkPastePluginOptions): Plugin;
44
- //# sourceMappingURL=linkPastePlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkPastePlugin.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkPastePlugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACrC;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,gBAA6B,CAAC;AAE7D;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAgDvE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=linkPastePlugin.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkPastePlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkPastePlugin.test.ts"],"names":[],"mappings":""}
@@ -1,16 +0,0 @@
1
- /**
2
- * Mark extensions for @domternal/core
3
- *
4
- * Marks define inline formatting that can be applied to text.
5
- */
6
- export { Bold, type BoldOptions } from './Bold.js';
7
- export { Italic, type ItalicOptions } from './Italic.js';
8
- export { Underline, type UnderlineOptions } from './Underline.js';
9
- export { Strike, type StrikeOptions } from './Strike.js';
10
- export { Code, type CodeOptions } from './Code.js';
11
- export { Link, type LinkOptions, type LinkAttributes } from './Link.js';
12
- export { Subscript, type SubscriptOptions } from './Subscript.js';
13
- export { Superscript, type SuperscriptOptions } from './Superscript.js';
14
- export { TextStyle, type TextStyleOptions } from './TextStyle.js';
15
- export { linkClickPlugin, linkClickPluginKey, type LinkClickPluginOptions, linkPastePlugin, linkPastePluginKey, type LinkPastePluginOptions, autolinkPlugin, autolinkPluginKey, type AutolinkPluginOptions, linkExitPlugin, linkExitPluginKey, type LinkExitPluginOptions, } from './helpers/index.js';
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/marks/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlE,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,EAC3B,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,EAC3B,cAAc,EACd,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,cAAc,EACd,iBAAiB,EACjB,KAAK,qBAAqB,GAC3B,MAAM,oBAAoB,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Blockquote Node
3
- *
4
- * Block-level quote container that can hold other blocks.
5
- * Supports nested blockquotes and markdown-style input rule.
6
- */
7
- import { Node } from '../Node.js';
8
- declare module '../types/Commands.js' {
9
- interface RawCommands {
10
- setBlockquote: CommandSpec;
11
- toggleBlockquote: CommandSpec;
12
- unsetBlockquote: CommandSpec;
13
- }
14
- }
15
- export interface BlockquoteOptions {
16
- HTMLAttributes: Record<string, unknown>;
17
- }
18
- export declare const Blockquote: Node<BlockquoteOptions, unknown>;
19
- //# sourceMappingURL=Blockquote.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Blockquote.d.ts","sourceRoot":"","sources":["../../src/nodes/Blockquote.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAKlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,aAAa,EAAE,WAAW,CAAC;QAC3B,gBAAgB,EAAE,WAAW,CAAC;QAC9B,eAAe,EAAE,WAAW,CAAC;KAC9B;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,UAAU,kCA6ErB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Blockquote.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Blockquote.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Blockquote.test.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- /**
2
- * BulletList Node
3
- *
4
- * Block-level unordered list container.
5
- * Supports markdown-style input rules and keyboard shortcuts.
6
- */
7
- import { Node } from '../Node.js';
8
- declare module '../types/Commands.js' {
9
- interface RawCommands {
10
- toggleBulletList: CommandSpec;
11
- }
12
- }
13
- export interface BulletListOptions {
14
- HTMLAttributes: Record<string, unknown>;
15
- itemTypeName: string;
16
- }
17
- export declare const BulletList: Node<BulletListOptions, unknown>;
18
- //# sourceMappingURL=BulletList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BulletList.d.ts","sourceRoot":"","sources":["../../src/nodes/BulletList.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,gBAAgB,EAAE,WAAW,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,kCA4ErB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=BulletList.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BulletList.test.d.ts","sourceRoot":"","sources":["../../src/nodes/BulletList.test.ts"],"names":[],"mappings":""}
@@ -1,29 +0,0 @@
1
- /**
2
- * CodeBlock Node
3
- *
4
- * Block-level code container with syntax highlighting support.
5
- * Preserves whitespace and disallows marks.
6
- *
7
- * Keyboard shortcuts:
8
- * - Mod-Alt-C: Toggle code block
9
- * - Enter (triple): Exit code block when last 2 lines are empty
10
- * - ArrowDown: Exit code block when cursor is at the end and it's the last block
11
- */
12
- import { Node } from '../Node.js';
13
- declare module '../types/Commands.js' {
14
- interface RawCommands {
15
- setCodeBlock: CommandSpec<[attributes?: {
16
- language?: string;
17
- }]>;
18
- toggleCodeBlock: CommandSpec<[attributes?: {
19
- language?: string;
20
- }]>;
21
- }
22
- }
23
- export interface CodeBlockOptions {
24
- languageClassPrefix: string;
25
- HTMLAttributes: Record<string, unknown>;
26
- exitOnTripleEnter: boolean;
27
- }
28
- export declare const CodeBlock: Node<CodeBlockOptions, unknown>;
29
- //# sourceMappingURL=CodeBlock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeBlock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,YAAY,EAAE,WAAW,CAAC,CAAC,UAAU,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC,CAAC;QAChE,eAAe,EAAE,WAAW,CAAC,CAAC,UAAU,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC,CAAC;KACpE;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,iCAgKpB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CodeBlock.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeBlock.test.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeBlock.test.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- /**
2
- * Document Node
3
- *
4
- * The root node of every ProseMirror document.
5
- * Must have at least one block child.
6
- */
7
- import { Node } from '../Node.js';
8
- export declare const Document: Node<unknown, unknown>;
9
- //# sourceMappingURL=Document.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../src/nodes/Document.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,eAAO,MAAM,QAAQ,wBAInB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Document.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Document.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Document.test.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- /**
2
- * HardBreak Node
3
- *
4
- * Inline line break element (br).
5
- * Keyboard shortcuts: Mod-Enter, Shift-Enter
6
- */
7
- import { Node } from '../Node.js';
8
- declare module '../types/Commands.js' {
9
- interface RawCommands {
10
- setHardBreak: CommandSpec;
11
- insertNbsp: CommandSpec;
12
- }
13
- }
14
- export interface HardBreakOptions {
15
- HTMLAttributes: Record<string, unknown>;
16
- }
17
- export declare const HardBreak: Node<HardBreakOptions, unknown>;
18
- //# sourceMappingURL=HardBreak.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HardBreak.d.ts","sourceRoot":"","sources":["../../src/nodes/HardBreak.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAIlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,YAAY,EAAE,WAAW,CAAC;QAC1B,UAAU,EAAE,WAAW,CAAC;KACzB;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,SAAS,iCAqEpB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=HardBreak.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HardBreak.test.d.ts","sourceRoot":"","sources":["../../src/nodes/HardBreak.test.ts"],"names":[],"mappings":""}
@@ -1,23 +0,0 @@
1
- /**
2
- * Heading Node
3
- *
4
- * Block-level heading elements (h1-h6).
5
- * Supports configurable levels and markdown-style input rules.
6
- */
7
- import { Node } from '../Node.js';
8
- declare module '../types/Commands.js' {
9
- interface RawCommands {
10
- setHeading: CommandSpec<[attributes?: {
11
- level?: number;
12
- }]>;
13
- toggleHeading: CommandSpec<[attributes?: {
14
- level?: number;
15
- }]>;
16
- }
17
- }
18
- export interface HeadingOptions {
19
- levels: number[];
20
- HTMLAttributes: Record<string, unknown>;
21
- }
22
- export declare const Heading: Node<HeadingOptions, unknown>;
23
- //# sourceMappingURL=Heading.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../src/nodes/Heading.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAQlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,UAAU,EAAE,WAAW,CAAC,CAAC,UAAU,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC,CAAC;QAC3D,aAAa,EAAE,WAAW,CAAC,CAAC,UAAU,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC,CAAC;KAC/D;CACF;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,OAAO,+BAkNlB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Heading.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Heading.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Heading.test.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- /**
2
- * HorizontalRule Node
3
- *
4
- * Block-level thematic break element (hr).
5
- * Supports markdown-style input rules: ---, ***, ___
6
- */
7
- import { Node } from '../Node.js';
8
- declare module '../types/Commands.js' {
9
- interface RawCommands {
10
- setHorizontalRule: CommandSpec;
11
- }
12
- }
13
- export interface HorizontalRuleOptions {
14
- HTMLAttributes: Record<string, unknown>;
15
- }
16
- export declare const HorizontalRule: Node<HorizontalRuleOptions, unknown>;
17
- //# sourceMappingURL=HorizontalRule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalRule.d.ts","sourceRoot":"","sources":["../../src/nodes/HorizontalRule.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAOlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,iBAAiB,EAAE,WAAW,CAAC;KAChC;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,cAAc,sCAuHzB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=HorizontalRule.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalRule.test.d.ts","sourceRoot":"","sources":["../../src/nodes/HorizontalRule.test.ts"],"names":[],"mappings":""}
@@ -1,16 +0,0 @@
1
- /**
2
- * ListItem Node
3
- *
4
- * Individual list item that can contain paragraphs and nested blocks.
5
- * Used by BulletList and OrderedList.
6
- *
7
- * Keyboard shortcuts:
8
- * - Enter: Split list item at cursor, or lift out of list if item is empty
9
- * - Tab/Shift-Tab: Handled by ListKeymap extension (included via addExtensions)
10
- */
11
- import { Node } from '../Node.js';
12
- export interface ListItemOptions {
13
- HTMLAttributes: Record<string, unknown>;
14
- }
15
- export declare const ListItem: Node<ListItemOptions, unknown>;
16
- //# sourceMappingURL=ListItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/nodes/ListItem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAKlC,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,QAAQ,gCA4DnB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ListItem.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListItem.test.d.ts","sourceRoot":"","sources":["../../src/nodes/ListItem.test.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- /**
2
- * OrderedList Node
3
- *
4
- * Block-level ordered (numbered) list container.
5
- * Supports start attribute and markdown-style input rules.
6
- */
7
- import { Node } from '../Node.js';
8
- declare module '../types/Commands.js' {
9
- interface RawCommands {
10
- toggleOrderedList: CommandSpec;
11
- }
12
- }
13
- export interface OrderedListOptions {
14
- HTMLAttributes: Record<string, unknown>;
15
- itemTypeName: string;
16
- }
17
- export declare const OrderedList: Node<OrderedListOptions, unknown>;
18
- //# sourceMappingURL=OrderedList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrderedList.d.ts","sourceRoot":"","sources":["../../src/nodes/OrderedList.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,iBAAiB,EAAE,WAAW,CAAC;KAChC;CACF;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,mCAmGtB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=OrderedList.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrderedList.test.d.ts","sourceRoot":"","sources":["../../src/nodes/OrderedList.test.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- /**
2
- * Paragraph Node
3
- *
4
- * The default block-level text container.
5
- * Contains inline content (text and inline nodes).
6
- */
7
- import { Node } from '../Node.js';
8
- declare module '../types/Commands.js' {
9
- interface RawCommands {
10
- setParagraph: CommandSpec;
11
- }
12
- }
13
- export interface ParagraphOptions {
14
- HTMLAttributes: Record<string, unknown>;
15
- }
16
- export declare const Paragraph: Node<ParagraphOptions, unknown>;
17
- //# sourceMappingURL=Paragraph.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../src/nodes/Paragraph.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,YAAY,EAAE,WAAW,CAAC;KAC3B;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,SAAS,iCAuCpB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Paragraph.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Paragraph.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Paragraph.test.ts"],"names":[],"mappings":""}