@domternal/core 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/README.md +1 -1
  2. package/dist/CanChecker.d.ts +79 -0
  3. package/dist/CanChecker.d.ts.map +1 -0
  4. package/dist/CanChecker.test.d.ts +2 -0
  5. package/dist/CanChecker.test.d.ts.map +1 -0
  6. package/dist/ChainBuilder.d.ts +119 -0
  7. package/dist/ChainBuilder.d.ts.map +1 -0
  8. package/dist/ChainBuilder.test.d.ts +2 -0
  9. package/dist/ChainBuilder.test.d.ts.map +1 -0
  10. package/dist/CommandManager.d.ts +86 -0
  11. package/dist/CommandManager.d.ts.map +1 -0
  12. package/dist/CommandManager.test.d.ts +2 -0
  13. package/dist/CommandManager.test.d.ts.map +1 -0
  14. package/dist/Editor.d.ts +262 -0
  15. package/dist/Editor.d.ts.map +1 -0
  16. package/dist/Editor.test.d.ts +2 -0
  17. package/dist/Editor.test.d.ts.map +1 -0
  18. package/dist/EventEmitter.d.ts +57 -0
  19. package/dist/EventEmitter.d.ts.map +1 -0
  20. package/dist/EventEmitter.test.d.ts +2 -0
  21. package/dist/EventEmitter.test.d.ts.map +1 -0
  22. package/dist/Extension.d.ts +171 -0
  23. package/dist/Extension.d.ts.map +1 -0
  24. package/dist/Extension.test.d.ts +2 -0
  25. package/dist/Extension.test.d.ts.map +1 -0
  26. package/dist/ExtensionManager.d.ts +283 -0
  27. package/dist/ExtensionManager.d.ts.map +1 -0
  28. package/dist/ExtensionManager.test.d.ts +2 -0
  29. package/dist/ExtensionManager.test.d.ts.map +1 -0
  30. package/dist/Mark.d.ts +164 -0
  31. package/dist/Mark.d.ts.map +1 -0
  32. package/dist/Mark.test.d.ts +5 -0
  33. package/dist/Mark.test.d.ts.map +1 -0
  34. package/dist/Node.d.ts +153 -0
  35. package/dist/Node.d.ts.map +1 -0
  36. package/dist/Node.test.d.ts +2 -0
  37. package/dist/Node.test.d.ts.map +1 -0
  38. package/dist/ToolbarController.d.ts +169 -0
  39. package/dist/ToolbarController.d.ts.map +1 -0
  40. package/dist/ToolbarController.test.d.ts +2 -0
  41. package/dist/ToolbarController.test.d.ts.map +1 -0
  42. package/dist/commandPropsBuilder.d.ts +70 -0
  43. package/dist/commandPropsBuilder.d.ts.map +1 -0
  44. package/dist/commandPropsBuilder.test.d.ts +2 -0
  45. package/dist/commandPropsBuilder.test.d.ts.map +1 -0
  46. package/dist/commands/attributeCommands.d.ts +24 -0
  47. package/dist/commands/attributeCommands.d.ts.map +1 -0
  48. package/dist/commands/attributeCommands.test.d.ts +2 -0
  49. package/dist/commands/attributeCommands.test.d.ts.map +1 -0
  50. package/dist/commands/builtIn.test.d.ts +2 -0
  51. package/dist/commands/builtIn.test.d.ts.map +1 -0
  52. package/dist/commands/contentCommands.d.ts +52 -0
  53. package/dist/commands/contentCommands.d.ts.map +1 -0
  54. package/dist/commands/contentCommands.test.d.ts +2 -0
  55. package/dist/commands/contentCommands.test.d.ts.map +1 -0
  56. package/dist/commands/index.d.ts +43 -0
  57. package/dist/commands/index.d.ts.map +1 -0
  58. package/dist/commands/listCommands.d.ts +15 -0
  59. package/dist/commands/listCommands.d.ts.map +1 -0
  60. package/dist/commands/listCommands.test.d.ts +2 -0
  61. package/dist/commands/listCommands.test.d.ts.map +1 -0
  62. package/dist/commands/markCommands.d.ts +40 -0
  63. package/dist/commands/markCommands.d.ts.map +1 -0
  64. package/dist/commands/markCommands.test.d.ts +2 -0
  65. package/dist/commands/markCommands.test.d.ts.map +1 -0
  66. package/dist/commands/nodeCommands.d.ts +53 -0
  67. package/dist/commands/nodeCommands.d.ts.map +1 -0
  68. package/dist/commands/nodeCommands.test.d.ts +2 -0
  69. package/dist/commands/nodeCommands.test.d.ts.map +1 -0
  70. package/dist/commands/selectionCommands.d.ts +37 -0
  71. package/dist/commands/selectionCommands.d.ts.map +1 -0
  72. package/dist/commands/selectionCommands.test.d.ts +2 -0
  73. package/dist/commands/selectionCommands.test.d.ts.map +1 -0
  74. package/dist/extensions/BaseKeymap.d.ts +36 -0
  75. package/dist/extensions/BaseKeymap.d.ts.map +1 -0
  76. package/dist/extensions/BaseKeymap.test.d.ts +2 -0
  77. package/dist/extensions/BaseKeymap.test.d.ts.map +1 -0
  78. package/dist/extensions/BubbleMenu.d.ts +85 -0
  79. package/dist/extensions/BubbleMenu.d.ts.map +1 -0
  80. package/dist/extensions/BubbleMenu.test.d.ts +2 -0
  81. package/dist/extensions/BubbleMenu.test.d.ts.map +1 -0
  82. package/dist/extensions/CharacterCount.d.ts +60 -0
  83. package/dist/extensions/CharacterCount.d.ts.map +1 -0
  84. package/dist/extensions/CharacterCount.test.d.ts +2 -0
  85. package/dist/extensions/CharacterCount.test.d.ts.map +1 -0
  86. package/dist/extensions/ClearFormatting.d.ts +25 -0
  87. package/dist/extensions/ClearFormatting.d.ts.map +1 -0
  88. package/dist/extensions/ClearFormatting.test.d.ts +2 -0
  89. package/dist/extensions/ClearFormatting.test.d.ts.map +1 -0
  90. package/dist/extensions/Dropcursor.d.ts +20 -0
  91. package/dist/extensions/Dropcursor.d.ts.map +1 -0
  92. package/dist/extensions/Dropcursor.test.d.ts +2 -0
  93. package/dist/extensions/Dropcursor.test.d.ts.map +1 -0
  94. package/dist/extensions/FloatingMenu.d.ts +74 -0
  95. package/dist/extensions/FloatingMenu.d.ts.map +1 -0
  96. package/dist/extensions/FloatingMenu.test.d.ts +2 -0
  97. package/dist/extensions/FloatingMenu.test.d.ts.map +1 -0
  98. package/dist/extensions/Focus.d.ts +26 -0
  99. package/dist/extensions/Focus.d.ts.map +1 -0
  100. package/dist/extensions/Focus.test.d.ts +2 -0
  101. package/dist/extensions/Focus.test.d.ts.map +1 -0
  102. package/dist/extensions/FontFamily.d.ts +41 -0
  103. package/dist/extensions/FontFamily.d.ts.map +1 -0
  104. package/dist/extensions/FontFamily.test.d.ts +2 -0
  105. package/dist/extensions/FontFamily.test.d.ts.map +1 -0
  106. package/dist/extensions/FontSize.d.ts +46 -0
  107. package/dist/extensions/FontSize.d.ts.map +1 -0
  108. package/dist/extensions/FontSize.test.d.ts +2 -0
  109. package/dist/extensions/FontSize.test.d.ts.map +1 -0
  110. package/dist/extensions/Gapcursor.d.ts +3 -0
  111. package/dist/extensions/Gapcursor.d.ts.map +1 -0
  112. package/dist/extensions/Gapcursor.test.d.ts +2 -0
  113. package/dist/extensions/Gapcursor.test.d.ts.map +1 -0
  114. package/dist/extensions/Highlight.d.ts +61 -0
  115. package/dist/extensions/Highlight.d.ts.map +1 -0
  116. package/dist/extensions/Highlight.test.d.ts +2 -0
  117. package/dist/extensions/Highlight.test.d.ts.map +1 -0
  118. package/dist/extensions/History.d.ts +22 -0
  119. package/dist/extensions/History.d.ts.map +1 -0
  120. package/dist/extensions/History.test.d.ts +2 -0
  121. package/dist/extensions/History.test.d.ts.map +1 -0
  122. package/dist/extensions/InvisibleChars.d.ts +86 -0
  123. package/dist/extensions/InvisibleChars.d.ts.map +1 -0
  124. package/dist/extensions/InvisibleChars.test.d.ts +2 -0
  125. package/dist/extensions/InvisibleChars.test.d.ts.map +1 -0
  126. package/dist/extensions/LineHeight.d.ts +50 -0
  127. package/dist/extensions/LineHeight.d.ts.map +1 -0
  128. package/dist/extensions/LineHeight.test.d.ts +2 -0
  129. package/dist/extensions/LineHeight.test.d.ts.map +1 -0
  130. package/dist/extensions/LinkPopover.d.ts +10 -0
  131. package/dist/extensions/LinkPopover.d.ts.map +1 -0
  132. package/dist/extensions/ListKeymap.d.ts +10 -0
  133. package/dist/extensions/ListKeymap.d.ts.map +1 -0
  134. package/dist/extensions/ListKeymap.test.d.ts +2 -0
  135. package/dist/extensions/ListKeymap.test.d.ts.map +1 -0
  136. package/dist/extensions/Placeholder.d.ts +47 -0
  137. package/dist/extensions/Placeholder.d.ts.map +1 -0
  138. package/dist/extensions/Placeholder.test.d.ts +2 -0
  139. package/dist/extensions/Placeholder.test.d.ts.map +1 -0
  140. package/dist/extensions/Selection.d.ts +71 -0
  141. package/dist/extensions/Selection.d.ts.map +1 -0
  142. package/dist/extensions/Selection.test.d.ts +2 -0
  143. package/dist/extensions/Selection.test.d.ts.map +1 -0
  144. package/dist/extensions/SelectionDecoration.d.ts +18 -0
  145. package/dist/extensions/SelectionDecoration.d.ts.map +1 -0
  146. package/dist/extensions/SelectionDecoration.test.d.ts +2 -0
  147. package/dist/extensions/SelectionDecoration.test.d.ts.map +1 -0
  148. package/dist/extensions/StarterKit.d.ts +144 -0
  149. package/dist/extensions/StarterKit.d.ts.map +1 -0
  150. package/dist/extensions/StarterKit.test.d.ts +2 -0
  151. package/dist/extensions/StarterKit.test.d.ts.map +1 -0
  152. package/dist/extensions/TextAlign.d.ts +32 -0
  153. package/dist/extensions/TextAlign.d.ts.map +1 -0
  154. package/dist/extensions/TextAlign.test.d.ts +2 -0
  155. package/dist/extensions/TextAlign.test.d.ts.map +1 -0
  156. package/dist/extensions/TextColor.d.ts +55 -0
  157. package/dist/extensions/TextColor.d.ts.map +1 -0
  158. package/dist/extensions/TextColor.test.d.ts +2 -0
  159. package/dist/extensions/TextColor.test.d.ts.map +1 -0
  160. package/dist/extensions/TrailingNode.d.ts +16 -0
  161. package/dist/extensions/TrailingNode.d.ts.map +1 -0
  162. package/dist/extensions/TrailingNode.test.d.ts +2 -0
  163. package/dist/extensions/TrailingNode.test.d.ts.map +1 -0
  164. package/dist/extensions/Typography.d.ts +65 -0
  165. package/dist/extensions/Typography.d.ts.map +1 -0
  166. package/dist/extensions/Typography.test.d.ts +2 -0
  167. package/dist/extensions/Typography.test.d.ts.map +1 -0
  168. package/dist/extensions/UniqueID.d.ts +48 -0
  169. package/dist/extensions/UniqueID.d.ts.map +1 -0
  170. package/dist/extensions/UniqueID.test.d.ts +2 -0
  171. package/dist/extensions/UniqueID.test.d.ts.map +1 -0
  172. package/dist/extensions/index.d.ts +29 -0
  173. package/dist/extensions/index.d.ts.map +1 -0
  174. package/dist/extensions/isActive-markExclusion.test.d.ts +2 -0
  175. package/dist/extensions/isActive-markExclusion.test.d.ts.map +1 -0
  176. package/dist/helpers/callOrReturn.d.ts +30 -0
  177. package/dist/helpers/callOrReturn.d.ts.map +1 -0
  178. package/dist/helpers/callOrReturn.test.d.ts +2 -0
  179. package/dist/helpers/callOrReturn.test.d.ts.map +1 -0
  180. package/dist/helpers/createDocument.d.ts +48 -0
  181. package/dist/helpers/createDocument.d.ts.map +1 -0
  182. package/dist/helpers/createDocument.test.d.ts +2 -0
  183. package/dist/helpers/createDocument.test.d.ts.map +1 -0
  184. package/dist/helpers/defaultBlockAt.d.ts +15 -0
  185. package/dist/helpers/defaultBlockAt.d.ts.map +1 -0
  186. package/dist/helpers/defaultBlockAt.test.d.ts +2 -0
  187. package/dist/helpers/defaultBlockAt.test.d.ts.map +1 -0
  188. package/dist/helpers/findChildren.d.ts +13 -0
  189. package/dist/helpers/findChildren.d.ts.map +1 -0
  190. package/dist/helpers/findChildren.test.d.ts +2 -0
  191. package/dist/helpers/findChildren.test.d.ts.map +1 -0
  192. package/dist/helpers/findParentNode.d.ts +21 -0
  193. package/dist/helpers/findParentNode.d.ts.map +1 -0
  194. package/dist/helpers/findParentNode.test.d.ts +2 -0
  195. package/dist/helpers/findParentNode.test.d.ts.map +1 -0
  196. package/dist/helpers/getMarkRange.d.ts +17 -0
  197. package/dist/helpers/getMarkRange.d.ts.map +1 -0
  198. package/dist/helpers/getMarkRange.test.d.ts +2 -0
  199. package/dist/helpers/getMarkRange.test.d.ts.map +1 -0
  200. package/dist/helpers/index.d.ts +18 -0
  201. package/dist/helpers/index.d.ts.map +1 -0
  202. package/dist/helpers/inputRulesPlugin.d.ts +26 -0
  203. package/dist/helpers/inputRulesPlugin.d.ts.map +1 -0
  204. package/dist/helpers/isNodeEmpty.d.ts +52 -0
  205. package/dist/helpers/isNodeEmpty.d.ts.map +1 -0
  206. package/dist/helpers/isNodeEmpty.test.d.ts +2 -0
  207. package/dist/helpers/isNodeEmpty.test.d.ts.map +1 -0
  208. package/dist/helpers/isValidUrl.d.ts +31 -0
  209. package/dist/helpers/isValidUrl.d.ts.map +1 -0
  210. package/dist/helpers/isValidUrl.test.d.ts +2 -0
  211. package/dist/helpers/isValidUrl.test.d.ts.map +1 -0
  212. package/dist/helpers/markInputRule.d.ts +88 -0
  213. package/dist/helpers/markInputRule.d.ts.map +1 -0
  214. package/dist/helpers/markInputRule.test.d.ts +2 -0
  215. package/dist/helpers/markInputRule.test.d.ts.map +1 -0
  216. package/dist/helpers/nodeInputRule.d.ts +41 -0
  217. package/dist/helpers/nodeInputRule.d.ts.map +1 -0
  218. package/dist/helpers/normalizeColor.d.ts +7 -0
  219. package/dist/helpers/normalizeColor.d.ts.map +1 -0
  220. package/dist/helpers/normalizeColor.test.d.ts +2 -0
  221. package/dist/helpers/normalizeColor.test.d.ts.map +1 -0
  222. package/dist/helpers/specBuilder.d.ts +28 -0
  223. package/dist/helpers/specBuilder.d.ts.map +1 -0
  224. package/dist/helpers/specBuilder.test.d.ts +2 -0
  225. package/dist/helpers/specBuilder.test.d.ts.map +1 -0
  226. package/dist/helpers/ssr.d.ts +80 -0
  227. package/dist/helpers/ssr.d.ts.map +1 -0
  228. package/dist/helpers/ssr.test.d.ts +2 -0
  229. package/dist/helpers/ssr.test.d.ts.map +1 -0
  230. package/dist/helpers/textInputRule.d.ts +34 -0
  231. package/dist/helpers/textInputRule.d.ts.map +1 -0
  232. package/dist/helpers/textblockTypeInputRule.d.ts +41 -0
  233. package/dist/helpers/textblockTypeInputRule.d.ts.map +1 -0
  234. package/dist/helpers/wrappingInputRule.d.ts +66 -0
  235. package/dist/helpers/wrappingInputRule.d.ts.map +1 -0
  236. package/dist/icons/index.d.ts +2 -0
  237. package/dist/icons/index.d.ts.map +1 -0
  238. package/dist/icons/phosphor.d.ts +3 -0
  239. package/dist/icons/phosphor.d.ts.map +1 -0
  240. package/dist/index.cjs +1 -1
  241. package/dist/index.cjs.map +1 -1
  242. package/dist/index.d.ts +23 -5844
  243. package/dist/index.d.ts.map +1 -0
  244. package/dist/index.js +1 -1
  245. package/dist/index.js.map +1 -1
  246. package/dist/index.test.d.ts +2 -0
  247. package/dist/index.test.d.ts.map +1 -0
  248. package/dist/marks/Bold.d.ts +40 -0
  249. package/dist/marks/Bold.d.ts.map +1 -0
  250. package/dist/marks/Bold.test.d.ts +2 -0
  251. package/dist/marks/Bold.test.d.ts.map +1 -0
  252. package/dist/marks/Code.d.ts +40 -0
  253. package/dist/marks/Code.d.ts.map +1 -0
  254. package/dist/marks/Code.test.d.ts +2 -0
  255. package/dist/marks/Code.test.d.ts.map +1 -0
  256. package/dist/marks/Italic.d.ts +40 -0
  257. package/dist/marks/Italic.d.ts.map +1 -0
  258. package/dist/marks/Italic.test.d.ts +2 -0
  259. package/dist/marks/Italic.test.d.ts.map +1 -0
  260. package/dist/marks/Link.d.ts +75 -0
  261. package/dist/marks/Link.d.ts.map +1 -0
  262. package/dist/marks/Link.test.d.ts +2 -0
  263. package/dist/marks/Link.test.d.ts.map +1 -0
  264. package/dist/marks/Strike.d.ts +39 -0
  265. package/dist/marks/Strike.d.ts.map +1 -0
  266. package/dist/marks/Strike.test.d.ts +2 -0
  267. package/dist/marks/Strike.test.d.ts.map +1 -0
  268. package/dist/marks/Subscript.d.ts +38 -0
  269. package/dist/marks/Subscript.d.ts.map +1 -0
  270. package/dist/marks/Subscript.test.d.ts +2 -0
  271. package/dist/marks/Subscript.test.d.ts.map +1 -0
  272. package/dist/marks/Superscript.d.ts +38 -0
  273. package/dist/marks/Superscript.d.ts.map +1 -0
  274. package/dist/marks/Superscript.test.d.ts +2 -0
  275. package/dist/marks/Superscript.test.d.ts.map +1 -0
  276. package/dist/marks/TextStyle.d.ts +41 -0
  277. package/dist/marks/TextStyle.d.ts.map +1 -0
  278. package/dist/marks/TextStyle.test.d.ts +2 -0
  279. package/dist/marks/TextStyle.test.d.ts.map +1 -0
  280. package/dist/marks/Underline.d.ts +38 -0
  281. package/dist/marks/Underline.d.ts.map +1 -0
  282. package/dist/marks/Underline.test.d.ts +2 -0
  283. package/dist/marks/Underline.test.d.ts.map +1 -0
  284. package/dist/marks/helpers/autolinkPlugin.d.ts +48 -0
  285. package/dist/marks/helpers/autolinkPlugin.d.ts.map +1 -0
  286. package/dist/marks/helpers/autolinkPlugin.test.d.ts +2 -0
  287. package/dist/marks/helpers/autolinkPlugin.test.d.ts.map +1 -0
  288. package/dist/marks/helpers/index.d.ts +10 -0
  289. package/dist/marks/helpers/index.d.ts.map +1 -0
  290. package/dist/marks/helpers/linkClickPlugin.d.ts +43 -0
  291. package/dist/marks/helpers/linkClickPlugin.d.ts.map +1 -0
  292. package/dist/marks/helpers/linkClickPlugin.test.d.ts +2 -0
  293. package/dist/marks/helpers/linkClickPlugin.test.d.ts.map +1 -0
  294. package/dist/marks/helpers/linkExitPlugin.d.ts +37 -0
  295. package/dist/marks/helpers/linkExitPlugin.d.ts.map +1 -0
  296. package/dist/marks/helpers/linkExitPlugin.test.d.ts +2 -0
  297. package/dist/marks/helpers/linkExitPlugin.test.d.ts.map +1 -0
  298. package/dist/marks/helpers/linkPastePlugin.d.ts +44 -0
  299. package/dist/marks/helpers/linkPastePlugin.d.ts.map +1 -0
  300. package/dist/marks/helpers/linkPastePlugin.test.d.ts +2 -0
  301. package/dist/marks/helpers/linkPastePlugin.test.d.ts.map +1 -0
  302. package/dist/marks/index.d.ts +16 -0
  303. package/dist/marks/index.d.ts.map +1 -0
  304. package/dist/nodes/Blockquote.d.ts +19 -0
  305. package/dist/nodes/Blockquote.d.ts.map +1 -0
  306. package/dist/nodes/Blockquote.test.d.ts +2 -0
  307. package/dist/nodes/Blockquote.test.d.ts.map +1 -0
  308. package/dist/nodes/BulletList.d.ts +18 -0
  309. package/dist/nodes/BulletList.d.ts.map +1 -0
  310. package/dist/nodes/BulletList.test.d.ts +2 -0
  311. package/dist/nodes/BulletList.test.d.ts.map +1 -0
  312. package/dist/nodes/CodeBlock.d.ts +29 -0
  313. package/dist/nodes/CodeBlock.d.ts.map +1 -0
  314. package/dist/nodes/CodeBlock.test.d.ts +2 -0
  315. package/dist/nodes/CodeBlock.test.d.ts.map +1 -0
  316. package/dist/nodes/Document.d.ts +9 -0
  317. package/dist/nodes/Document.d.ts.map +1 -0
  318. package/dist/nodes/Document.test.d.ts +2 -0
  319. package/dist/nodes/Document.test.d.ts.map +1 -0
  320. package/dist/nodes/HardBreak.d.ts +18 -0
  321. package/dist/nodes/HardBreak.d.ts.map +1 -0
  322. package/dist/nodes/HardBreak.test.d.ts +2 -0
  323. package/dist/nodes/HardBreak.test.d.ts.map +1 -0
  324. package/dist/nodes/Heading.d.ts +23 -0
  325. package/dist/nodes/Heading.d.ts.map +1 -0
  326. package/dist/nodes/Heading.test.d.ts +2 -0
  327. package/dist/nodes/Heading.test.d.ts.map +1 -0
  328. package/dist/nodes/HorizontalRule.d.ts +17 -0
  329. package/dist/nodes/HorizontalRule.d.ts.map +1 -0
  330. package/dist/nodes/HorizontalRule.test.d.ts +2 -0
  331. package/dist/nodes/HorizontalRule.test.d.ts.map +1 -0
  332. package/dist/nodes/ListItem.d.ts +16 -0
  333. package/dist/nodes/ListItem.d.ts.map +1 -0
  334. package/dist/nodes/ListItem.test.d.ts +2 -0
  335. package/dist/nodes/ListItem.test.d.ts.map +1 -0
  336. package/dist/nodes/OrderedList.d.ts +18 -0
  337. package/dist/nodes/OrderedList.d.ts.map +1 -0
  338. package/dist/nodes/OrderedList.test.d.ts +2 -0
  339. package/dist/nodes/OrderedList.test.d.ts.map +1 -0
  340. package/dist/nodes/Paragraph.d.ts +17 -0
  341. package/dist/nodes/Paragraph.d.ts.map +1 -0
  342. package/dist/nodes/Paragraph.test.d.ts +2 -0
  343. package/dist/nodes/Paragraph.test.d.ts.map +1 -0
  344. package/dist/nodes/TaskItem.d.ts +24 -0
  345. package/dist/nodes/TaskItem.d.ts.map +1 -0
  346. package/dist/nodes/TaskItem.test.d.ts +2 -0
  347. package/dist/nodes/TaskItem.test.d.ts.map +1 -0
  348. package/dist/nodes/TaskList.d.ts +18 -0
  349. package/dist/nodes/TaskList.d.ts.map +1 -0
  350. package/dist/nodes/TaskList.test.d.ts +2 -0
  351. package/dist/nodes/TaskList.test.d.ts.map +1 -0
  352. package/dist/nodes/Text.d.ts +9 -0
  353. package/dist/nodes/Text.d.ts.map +1 -0
  354. package/dist/nodes/Text.test.d.ts +2 -0
  355. package/dist/nodes/Text.test.d.ts.map +1 -0
  356. package/dist/nodes/index.d.ts +19 -0
  357. package/dist/nodes/index.d.ts.map +1 -0
  358. package/dist/nodes/integration.test.d.ts +7 -0
  359. package/dist/nodes/integration.test.d.ts.map +1 -0
  360. package/dist/types/AttributeSpec.d.ts +78 -0
  361. package/dist/types/AttributeSpec.d.ts.map +1 -0
  362. package/dist/types/Commands.d.ts +125 -0
  363. package/dist/types/Commands.d.ts.map +1 -0
  364. package/dist/types/Content.d.ts +40 -0
  365. package/dist/types/Content.d.ts.map +1 -0
  366. package/dist/types/EditorEvents.d.ts +131 -0
  367. package/dist/types/EditorEvents.d.ts.map +1 -0
  368. package/dist/types/EditorOptions.d.ts +139 -0
  369. package/dist/types/EditorOptions.d.ts.map +1 -0
  370. package/dist/types/ExtensionConfig.d.ts +271 -0
  371. package/dist/types/ExtensionConfig.d.ts.map +1 -0
  372. package/dist/types/MarkConfig.d.ts +206 -0
  373. package/dist/types/MarkConfig.d.ts.map +1 -0
  374. package/dist/types/NodeConfig.d.ts +263 -0
  375. package/dist/types/NodeConfig.d.ts.map +1 -0
  376. package/dist/types/Toolbar.d.ts +172 -0
  377. package/dist/types/Toolbar.d.ts.map +1 -0
  378. package/dist/types/index.d.ts +13 -0
  379. package/dist/types/index.d.ts.map +1 -0
  380. package/dist/utils/inlineStyles.d.ts +83 -0
  381. package/dist/utils/inlineStyles.d.ts.map +1 -0
  382. package/dist/utils/inlineStyles.test.d.ts +2 -0
  383. package/dist/utils/inlineStyles.test.d.ts.map +1 -0
  384. package/dist/utils/positionFloating.d.ts +74 -0
  385. package/dist/utils/positionFloating.d.ts.map +1 -0
  386. package/package.json +1 -1
@@ -0,0 +1,37 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=linkExitPlugin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkExitPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkExitPlugin.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=linkPastePlugin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkPastePlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkPastePlugin.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,19 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Blockquote.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Blockquote.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Blockquote.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BulletList.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulletList.test.d.ts","sourceRoot":"","sources":["../../src/nodes/BulletList.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CodeBlock.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeBlock.test.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeBlock.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Document.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Document.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Document.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HardBreak.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HardBreak.test.d.ts","sourceRoot":"","sources":["../../src/nodes/HardBreak.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Heading.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Heading.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HorizontalRule.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HorizontalRule.test.d.ts","sourceRoot":"","sources":["../../src/nodes/HorizontalRule.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ListItem.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.test.d.ts","sourceRoot":"","sources":["../../src/nodes/ListItem.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OrderedList.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrderedList.test.d.ts","sourceRoot":"","sources":["../../src/nodes/OrderedList.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Paragraph.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Paragraph.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Paragraph.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * TaskItem Node
3
+ *
4
+ * Individual task/checkbox item that can contain paragraphs and nested blocks.
5
+ * Used by TaskList.
6
+ *
7
+ * Keyboard shortcuts:
8
+ * - Enter: Split task item at cursor
9
+ * - Tab: Sink (indent) task item
10
+ * - Shift-Tab: Lift (outdent) task item
11
+ * - Mod-Enter: Toggle task checked state
12
+ */
13
+ import { Node } from '../Node.js';
14
+ declare module '../types/Commands.js' {
15
+ interface RawCommands {
16
+ toggleTask: CommandSpec;
17
+ }
18
+ }
19
+ export interface TaskItemOptions {
20
+ HTMLAttributes: Record<string, unknown>;
21
+ nested: boolean;
22
+ }
23
+ export declare const TaskItem: Node<TaskItemOptions, unknown>;
24
+ //# sourceMappingURL=TaskItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskItem.d.ts","sourceRoot":"","sources":["../../src/nodes/TaskItem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAKlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,UAAU,EAAE,WAAW,CAAC;KACzB;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,QAAQ,gCAuLnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TaskItem.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskItem.test.d.ts","sourceRoot":"","sources":["../../src/nodes/TaskItem.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * TaskList Node
3
+ *
4
+ * Block-level task/checkbox list container.
5
+ * Supports markdown-style input rules with `[ ]` and `[x]`.
6
+ */
7
+ import { Node } from '../Node.js';
8
+ declare module '../types/Commands.js' {
9
+ interface RawCommands {
10
+ toggleTaskList: CommandSpec;
11
+ }
12
+ }
13
+ export interface TaskListOptions {
14
+ HTMLAttributes: Record<string, unknown>;
15
+ itemTypeName: string;
16
+ }
17
+ export declare const TaskList: Node<TaskListOptions, unknown>;
18
+ //# sourceMappingURL=TaskList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskList.d.ts","sourceRoot":"","sources":["../../src/nodes/TaskList.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,QAAQ,gCAuFnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TaskList.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskList.test.d.ts","sourceRoot":"","sources":["../../src/nodes/TaskList.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Text Node
3
+ *
4
+ * Inline text content. Can hold marks (bold, italic, etc.).
5
+ * This is the leaf node that contains actual text content.
6
+ */
7
+ import { Node } from '../Node.js';
8
+ export declare const Text: Node<unknown, unknown>;
9
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/nodes/Text.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,eAAO,MAAM,IAAI,wBAGf,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Text.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Text.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Node Extensions
3
+ *
4
+ * Pre-built node types for common document structures.
5
+ */
6
+ export { Document } from './Document.js';
7
+ export { Text } from './Text.js';
8
+ export { Paragraph, type ParagraphOptions } from './Paragraph.js';
9
+ export { Heading, type HeadingOptions } from './Heading.js';
10
+ export { Blockquote, type BlockquoteOptions } from './Blockquote.js';
11
+ export { CodeBlock, type CodeBlockOptions } from './CodeBlock.js';
12
+ export { BulletList, type BulletListOptions } from './BulletList.js';
13
+ export { OrderedList, type OrderedListOptions } from './OrderedList.js';
14
+ export { ListItem, type ListItemOptions } from './ListItem.js';
15
+ export { HorizontalRule, type HorizontalRuleOptions } from './HorizontalRule.js';
16
+ export { HardBreak, type HardBreakOptions } from './HardBreak.js';
17
+ export { TaskList, type TaskListOptions } from './TaskList.js';
18
+ export { TaskItem, type TaskItemOptions } from './TaskItem.js';
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/nodes/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Integration Tests for All Nodes
3
+ *
4
+ * Tests that verify all nodes work together correctly.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration.test.d.ts","sourceRoot":"","sources":["../../src/nodes/integration.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}