@atlaskit/adf-schema 51.5.17 → 51.5.19

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 (311) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -0
  3. package/dist/cjs/next-schema/groups/inlineContentGroup.js +1 -0
  4. package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +2 -0
  5. package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -0
  6. package/dist/cjs/schema/default-schema.js +5 -1
  7. package/dist/cjs/schema/marks/data-consumer.js +1 -0
  8. package/dist/cjs/schema/nodes/embed-card.js +8 -8
  9. package/dist/cjs/schema/nodes/emoji.js +36 -12
  10. package/dist/cjs/schema/nodes/layout-section.js +1 -0
  11. package/dist/cjs/schema/nodes/media-single.js +3 -0
  12. package/dist/cjs/schema/nodes/mention.js +3 -1
  13. package/dist/cjs/schema/nodes/multi-bodied-extension.js +2 -0
  14. package/dist/cjs/schema/nodes/nested-expand.js +2 -0
  15. package/dist/cjs/schema/nodes/placeholder.js +6 -2
  16. package/dist/cjs/schema/nodes/tableNodes.js +2 -1
  17. package/dist/cjs/schema/nodes/unsupported-block.js +2 -1
  18. package/dist/cjs/schema/nodes/unsupported-inline.js +2 -1
  19. package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -0
  20. package/dist/es2019/next-schema/groups/inlineContentGroup.js +1 -0
  21. package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +2 -0
  22. package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +2 -0
  23. package/dist/es2019/schema/default-schema.js +5 -1
  24. package/dist/es2019/schema/marks/data-consumer.js +1 -0
  25. package/dist/es2019/schema/nodes/embed-card.js +8 -8
  26. package/dist/es2019/schema/nodes/emoji.js +36 -12
  27. package/dist/es2019/schema/nodes/layout-section.js +1 -0
  28. package/dist/es2019/schema/nodes/list-item.js +0 -1
  29. package/dist/es2019/schema/nodes/media-single.js +3 -0
  30. package/dist/es2019/schema/nodes/mention.js +3 -1
  31. package/dist/es2019/schema/nodes/multi-bodied-extension.js +2 -0
  32. package/dist/es2019/schema/nodes/nested-expand.js +2 -0
  33. package/dist/es2019/schema/nodes/placeholder.js +6 -2
  34. package/dist/es2019/schema/nodes/tableNodes.js +2 -1
  35. package/dist/es2019/schema/nodes/unsupported-block.js +2 -1
  36. package/dist/es2019/schema/nodes/unsupported-inline.js +2 -1
  37. package/dist/esm/next-schema/groups/blockContentGroup.js +1 -0
  38. package/dist/esm/next-schema/groups/inlineContentGroup.js +1 -0
  39. package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +2 -0
  40. package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +2 -0
  41. package/dist/esm/schema/default-schema.js +5 -1
  42. package/dist/esm/schema/marks/data-consumer.js +1 -0
  43. package/dist/esm/schema/nodes/embed-card.js +8 -8
  44. package/dist/esm/schema/nodes/emoji.js +36 -12
  45. package/dist/esm/schema/nodes/layout-section.js +1 -0
  46. package/dist/esm/schema/nodes/list-item.js +0 -1
  47. package/dist/esm/schema/nodes/media-single.js +3 -0
  48. package/dist/esm/schema/nodes/mention.js +3 -1
  49. package/dist/esm/schema/nodes/multi-bodied-extension.js +2 -0
  50. package/dist/esm/schema/nodes/nested-expand.js +2 -0
  51. package/dist/esm/schema/nodes/placeholder.js +6 -2
  52. package/dist/esm/schema/nodes/tableNodes.js +2 -1
  53. package/dist/esm/schema/nodes/unsupported-block.js +2 -1
  54. package/dist/esm/schema/nodes/unsupported-inline.js +2 -1
  55. package/dist/types/next-schema/full-schema.adf.d.ts +2 -1
  56. package/dist/types/next-schema/groups/blockContentGroup.d.ts +3 -1
  57. package/dist/types/next-schema/groups/blockGroup.d.ts +2 -1
  58. package/dist/types/next-schema/groups/blockRootOnlyGroup.d.ts +2 -1
  59. package/dist/types/next-schema/groups/fontStyleGroup.d.ts +2 -1
  60. package/dist/types/next-schema/groups/inlineContentGroup.d.ts +3 -1
  61. package/dist/types/next-schema/groups/inlineGroup.d.ts +2 -1
  62. package/dist/types/next-schema/groups/linkMarkGroup.d.ts +2 -1
  63. package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +4 -16
  64. package/dist/types/next-schema/groups/searchQueryMarkGroup.d.ts +2 -1
  65. package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +4 -17
  66. package/dist/types/next-schema/marks/alignmentAndIndentation.d.ts +3 -2
  67. package/dist/types/next-schema/marks/annotation.d.ts +3 -2
  68. package/dist/types/next-schema/marks/border.d.ts +2 -1
  69. package/dist/types/next-schema/marks/breakout.d.ts +2 -1
  70. package/dist/types/next-schema/marks/code.d.ts +2 -1
  71. package/dist/types/next-schema/marks/color.d.ts +4 -3
  72. package/dist/types/next-schema/marks/confluenceInlineComment.d.ts +2 -1
  73. package/dist/types/next-schema/marks/dataConsumer.d.ts +2 -1
  74. package/dist/types/next-schema/marks/em.d.ts +2 -1
  75. package/dist/types/next-schema/marks/fragment.d.ts +2 -1
  76. package/dist/types/next-schema/marks/link.d.ts +2 -1
  77. package/dist/types/next-schema/marks/strike.d.ts +2 -1
  78. package/dist/types/next-schema/marks/strong.d.ts +2 -1
  79. package/dist/types/next-schema/marks/subsup.d.ts +2 -1
  80. package/dist/types/next-schema/marks/typeAheadQuery.d.ts +2 -1
  81. package/dist/types/next-schema/marks/underline.d.ts +2 -1
  82. package/dist/types/next-schema/marks/unsupportedMark.d.ts +2 -1
  83. package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +2 -1
  84. package/dist/types/next-schema/nodes/blockCard.d.ts +2 -1
  85. package/dist/types/next-schema/nodes/blockquote.d.ts +8 -4
  86. package/dist/types/next-schema/nodes/bodiedExtension.d.ts +6 -2
  87. package/dist/types/next-schema/nodes/bodiedSyncBlock.d.ts +2 -1
  88. package/dist/types/next-schema/nodes/caption.d.ts +2 -1
  89. package/dist/types/next-schema/nodes/codeBlock.d.ts +7 -3
  90. package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +2 -1
  91. package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +2 -1
  92. package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +2 -1
  93. package/dist/types/next-schema/nodes/date.d.ts +2 -1
  94. package/dist/types/next-schema/nodes/decisionItem.d.ts +2 -1
  95. package/dist/types/next-schema/nodes/decisionList.d.ts +2 -1
  96. package/dist/types/next-schema/nodes/embedCard.d.ts +2 -1
  97. package/dist/types/next-schema/nodes/emoji.d.ts +2 -1
  98. package/dist/types/next-schema/nodes/expand.d.ts +7 -3
  99. package/dist/types/next-schema/nodes/extension.d.ts +6 -2
  100. package/dist/types/next-schema/nodes/extensionFrame.d.ts +2 -1
  101. package/dist/types/next-schema/nodes/hardBreak.d.ts +2 -1
  102. package/dist/types/next-schema/nodes/heading.d.ts +19 -8
  103. package/dist/types/next-schema/nodes/image.d.ts +2 -1
  104. package/dist/types/next-schema/nodes/inlineCard.d.ts +6 -2
  105. package/dist/types/next-schema/nodes/inlineExtension.d.ts +6 -2
  106. package/dist/types/next-schema/nodes/layoutColumn.d.ts +2 -1
  107. package/dist/types/next-schema/nodes/layoutSection.d.ts +14 -9
  108. package/dist/types/next-schema/nodes/list.d.ts +3 -2
  109. package/dist/types/next-schema/nodes/media.d.ts +2 -1
  110. package/dist/types/next-schema/nodes/mediaGroup.d.ts +2 -1
  111. package/dist/types/next-schema/nodes/mediaInline.d.ts +2 -1
  112. package/dist/types/next-schema/nodes/mediaSingle.d.ts +7 -52
  113. package/dist/types/next-schema/nodes/mention.d.ts +2 -1
  114. package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +2 -1
  115. package/dist/types/next-schema/nodes/nestedExpand.d.ts +3 -2
  116. package/dist/types/next-schema/nodes/panel.d.ts +2 -1
  117. package/dist/types/next-schema/nodes/paragraph.d.ts +12 -5
  118. package/dist/types/next-schema/nodes/placeholder.d.ts +2 -1
  119. package/dist/types/next-schema/nodes/rule.d.ts +2 -1
  120. package/dist/types/next-schema/nodes/status.d.ts +2 -1
  121. package/dist/types/next-schema/nodes/syncBlock.d.ts +2 -1
  122. package/dist/types/next-schema/nodes/tableCellContent.d.ts +2 -1
  123. package/dist/types/next-schema/nodes/tableNodes.d.ts +2 -1
  124. package/dist/types/next-schema/nodes/task.d.ts +4 -3
  125. package/dist/types/next-schema/nodes/text.d.ts +13 -6
  126. package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +2 -1
  127. package/dist/types/next-schema/nodes/unsupportedInline.d.ts +2 -1
  128. package/dist/types/schema/create-schema.d.ts +1 -1
  129. package/dist/types/schema/default-schema.d.ts +4 -2
  130. package/dist/types/schema/marks/border.d.ts +3 -0
  131. package/dist/types/schema/marks/data-consumer.d.ts +4 -2
  132. package/dist/types/schema/marks/fragment.d.ts +3 -2
  133. package/dist/types/schema/marks/link.d.ts +2 -1
  134. package/dist/types/schema/marks/text-color.d.ts +1 -0
  135. package/dist/types/schema/nodes/block-card.d.ts +7 -2
  136. package/dist/types/schema/nodes/blockquote.d.ts +6 -3
  137. package/dist/types/schema/nodes/bodied-extension.d.ts +4 -1
  138. package/dist/types/schema/nodes/bodied-sync-block.d.ts +4 -1
  139. package/dist/types/schema/nodes/bullet-list.d.ts +3 -2
  140. package/dist/types/schema/nodes/caption.d.ts +5 -2
  141. package/dist/types/schema/nodes/code-block.d.ts +4 -3
  142. package/dist/types/schema/nodes/confluence-jira-issue.d.ts +2 -1
  143. package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +2 -1
  144. package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +2 -1
  145. package/dist/types/schema/nodes/date.d.ts +5 -2
  146. package/dist/types/schema/nodes/decision-item.d.ts +3 -1
  147. package/dist/types/schema/nodes/decision-list.d.ts +5 -2
  148. package/dist/types/schema/nodes/doc.d.ts +3 -1
  149. package/dist/types/schema/nodes/embed-card.d.ts +3 -5
  150. package/dist/types/schema/nodes/emoji.d.ts +4 -2
  151. package/dist/types/schema/nodes/expand.d.ts +6 -4
  152. package/dist/types/schema/nodes/extension.d.ts +2 -1
  153. package/dist/types/schema/nodes/hard-break.d.ts +3 -2
  154. package/dist/types/schema/nodes/heading.d.ts +5 -1
  155. package/dist/types/schema/nodes/image.d.ts +2 -1
  156. package/dist/types/schema/nodes/inline-card.d.ts +4 -2
  157. package/dist/types/schema/nodes/inline-extension.d.ts +2 -1
  158. package/dist/types/schema/nodes/layout-column.d.ts +7 -2
  159. package/dist/types/schema/nodes/layout-section.d.ts +17 -9
  160. package/dist/types/schema/nodes/list-item.d.ts +22 -20
  161. package/dist/types/schema/nodes/media-group.d.ts +4 -1
  162. package/dist/types/schema/nodes/media-single.d.ts +9 -0
  163. package/dist/types/schema/nodes/media.d.ts +2 -2
  164. package/dist/types/schema/nodes/mention.d.ts +4 -3
  165. package/dist/types/schema/nodes/multi-bodied-extension.d.ts +7 -2
  166. package/dist/types/schema/nodes/nested-expand.d.ts +5 -2
  167. package/dist/types/schema/nodes/ordered-list.d.ts +5 -4
  168. package/dist/types/schema/nodes/panel.d.ts +5 -2
  169. package/dist/types/schema/nodes/paragraph.d.ts +3 -1
  170. package/dist/types/schema/nodes/placeholder.d.ts +5 -4
  171. package/dist/types/schema/nodes/rule.d.ts +3 -2
  172. package/dist/types/schema/nodes/status.d.ts +4 -1
  173. package/dist/types/schema/nodes/sync-block.d.ts +2 -1
  174. package/dist/types/schema/nodes/tableNodes.d.ts +27 -22
  175. package/dist/types/schema/nodes/task-item.d.ts +5 -2
  176. package/dist/types/schema/nodes/task-list.d.ts +5 -2
  177. package/dist/types/schema/nodes/text.d.ts +5 -3
  178. package/dist/types/schema/nodes/unsupported-block.d.ts +2 -1
  179. package/dist/types/schema/nodes/unsupported-inline.d.ts +2 -1
  180. package/dist/types/steps/batch-attrs-step.d.ts +1 -1
  181. package/dist/types/steps/set-attrs.d.ts +2 -2
  182. package/dist/types/utils/confluence/emoji.d.ts +16 -16
  183. package/dist/types-ts4.5/next-schema/full-schema.adf.d.ts +3 -2
  184. package/dist/types-ts4.5/next-schema/groups/blockContentGroup.d.ts +3 -1
  185. package/dist/types-ts4.5/next-schema/groups/blockGroup.d.ts +2 -1
  186. package/dist/types-ts4.5/next-schema/groups/blockRootOnlyGroup.d.ts +2 -1
  187. package/dist/types-ts4.5/next-schema/groups/fontStyleGroup.d.ts +2 -1
  188. package/dist/types-ts4.5/next-schema/groups/inlineContentGroup.d.ts +3 -1
  189. package/dist/types-ts4.5/next-schema/groups/inlineGroup.d.ts +2 -1
  190. package/dist/types-ts4.5/next-schema/groups/linkMarkGroup.d.ts +2 -1
  191. package/dist/types-ts4.5/next-schema/groups/nonNestableBlockContentGroup.d.ts +4 -25
  192. package/dist/types-ts4.5/next-schema/groups/searchQueryMarkGroup.d.ts +2 -1
  193. package/dist/types-ts4.5/next-schema/groups/tableCellContentPseudoGroup.d.ts +4 -26
  194. package/dist/types-ts4.5/next-schema/marks/alignmentAndIndentation.d.ts +3 -2
  195. package/dist/types-ts4.5/next-schema/marks/annotation.d.ts +3 -2
  196. package/dist/types-ts4.5/next-schema/marks/border.d.ts +2 -1
  197. package/dist/types-ts4.5/next-schema/marks/breakout.d.ts +2 -1
  198. package/dist/types-ts4.5/next-schema/marks/code.d.ts +2 -1
  199. package/dist/types-ts4.5/next-schema/marks/color.d.ts +4 -3
  200. package/dist/types-ts4.5/next-schema/marks/confluenceInlineComment.d.ts +2 -1
  201. package/dist/types-ts4.5/next-schema/marks/dataConsumer.d.ts +2 -1
  202. package/dist/types-ts4.5/next-schema/marks/em.d.ts +2 -1
  203. package/dist/types-ts4.5/next-schema/marks/fragment.d.ts +2 -1
  204. package/dist/types-ts4.5/next-schema/marks/link.d.ts +2 -1
  205. package/dist/types-ts4.5/next-schema/marks/strike.d.ts +2 -1
  206. package/dist/types-ts4.5/next-schema/marks/strong.d.ts +2 -1
  207. package/dist/types-ts4.5/next-schema/marks/subsup.d.ts +2 -1
  208. package/dist/types-ts4.5/next-schema/marks/typeAheadQuery.d.ts +2 -1
  209. package/dist/types-ts4.5/next-schema/marks/underline.d.ts +2 -1
  210. package/dist/types-ts4.5/next-schema/marks/unsupportedMark.d.ts +2 -1
  211. package/dist/types-ts4.5/next-schema/marks/unsupportedNodeAttribute.d.ts +2 -1
  212. package/dist/types-ts4.5/next-schema/nodes/blockCard.d.ts +3 -2
  213. package/dist/types-ts4.5/next-schema/nodes/blockquote.d.ts +7 -6
  214. package/dist/types-ts4.5/next-schema/nodes/bodiedExtension.d.ts +5 -4
  215. package/dist/types-ts4.5/next-schema/nodes/bodiedSyncBlock.d.ts +3 -2
  216. package/dist/types-ts4.5/next-schema/nodes/caption.d.ts +3 -2
  217. package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +6 -5
  218. package/dist/types-ts4.5/next-schema/nodes/confluenceJiraIssue.d.ts +3 -2
  219. package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedBlock.d.ts +3 -2
  220. package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedInline.d.ts +3 -2
  221. package/dist/types-ts4.5/next-schema/nodes/date.d.ts +3 -2
  222. package/dist/types-ts4.5/next-schema/nodes/decisionItem.d.ts +3 -2
  223. package/dist/types-ts4.5/next-schema/nodes/decisionList.d.ts +3 -2
  224. package/dist/types-ts4.5/next-schema/nodes/embedCard.d.ts +3 -2
  225. package/dist/types-ts4.5/next-schema/nodes/emoji.d.ts +3 -2
  226. package/dist/types-ts4.5/next-schema/nodes/expand.d.ts +6 -5
  227. package/dist/types-ts4.5/next-schema/nodes/extension.d.ts +5 -4
  228. package/dist/types-ts4.5/next-schema/nodes/extensionFrame.d.ts +3 -2
  229. package/dist/types-ts4.5/next-schema/nodes/hardBreak.d.ts +3 -2
  230. package/dist/types-ts4.5/next-schema/nodes/heading.d.ts +17 -16
  231. package/dist/types-ts4.5/next-schema/nodes/image.d.ts +3 -2
  232. package/dist/types-ts4.5/next-schema/nodes/inlineCard.d.ts +5 -4
  233. package/dist/types-ts4.5/next-schema/nodes/inlineExtension.d.ts +5 -4
  234. package/dist/types-ts4.5/next-schema/nodes/layoutColumn.d.ts +3 -2
  235. package/dist/types-ts4.5/next-schema/nodes/layoutSection.d.ts +13 -12
  236. package/dist/types-ts4.5/next-schema/nodes/list.d.ts +5 -4
  237. package/dist/types-ts4.5/next-schema/nodes/media.d.ts +3 -2
  238. package/dist/types-ts4.5/next-schema/nodes/mediaGroup.d.ts +3 -2
  239. package/dist/types-ts4.5/next-schema/nodes/mediaInline.d.ts +3 -2
  240. package/dist/types-ts4.5/next-schema/nodes/mediaSingle.d.ts +6 -56
  241. package/dist/types-ts4.5/next-schema/nodes/mention.d.ts +3 -2
  242. package/dist/types-ts4.5/next-schema/nodes/multiBodiedExtension.d.ts +3 -2
  243. package/dist/types-ts4.5/next-schema/nodes/nestedExpand.d.ts +4 -3
  244. package/dist/types-ts4.5/next-schema/nodes/panel.d.ts +3 -2
  245. package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +11 -10
  246. package/dist/types-ts4.5/next-schema/nodes/placeholder.d.ts +3 -2
  247. package/dist/types-ts4.5/next-schema/nodes/rule.d.ts +3 -2
  248. package/dist/types-ts4.5/next-schema/nodes/status.d.ts +3 -2
  249. package/dist/types-ts4.5/next-schema/nodes/syncBlock.d.ts +3 -2
  250. package/dist/types-ts4.5/next-schema/nodes/tableCellContent.d.ts +3 -2
  251. package/dist/types-ts4.5/next-schema/nodes/tableNodes.d.ts +3 -2
  252. package/dist/types-ts4.5/next-schema/nodes/task.d.ts +7 -6
  253. package/dist/types-ts4.5/next-schema/nodes/text.d.ts +12 -11
  254. package/dist/types-ts4.5/next-schema/nodes/unsupportedBlock.d.ts +3 -2
  255. package/dist/types-ts4.5/next-schema/nodes/unsupportedInline.d.ts +3 -2
  256. package/dist/types-ts4.5/schema/create-schema.d.ts +1 -1
  257. package/dist/types-ts4.5/schema/default-schema.d.ts +4 -2
  258. package/dist/types-ts4.5/schema/marks/border.d.ts +3 -0
  259. package/dist/types-ts4.5/schema/marks/data-consumer.d.ts +4 -2
  260. package/dist/types-ts4.5/schema/marks/fragment.d.ts +3 -2
  261. package/dist/types-ts4.5/schema/marks/link.d.ts +2 -1
  262. package/dist/types-ts4.5/schema/marks/text-color.d.ts +1 -0
  263. package/dist/types-ts4.5/schema/nodes/block-card.d.ts +7 -2
  264. package/dist/types-ts4.5/schema/nodes/blockquote.d.ts +6 -3
  265. package/dist/types-ts4.5/schema/nodes/bodied-extension.d.ts +4 -1
  266. package/dist/types-ts4.5/schema/nodes/bodied-sync-block.d.ts +4 -1
  267. package/dist/types-ts4.5/schema/nodes/bullet-list.d.ts +3 -2
  268. package/dist/types-ts4.5/schema/nodes/caption.d.ts +5 -2
  269. package/dist/types-ts4.5/schema/nodes/code-block.d.ts +4 -3
  270. package/dist/types-ts4.5/schema/nodes/confluence-jira-issue.d.ts +2 -1
  271. package/dist/types-ts4.5/schema/nodes/confluence-unsupported-block.d.ts +2 -1
  272. package/dist/types-ts4.5/schema/nodes/confluence-unsupported-inline.d.ts +2 -1
  273. package/dist/types-ts4.5/schema/nodes/date.d.ts +5 -2
  274. package/dist/types-ts4.5/schema/nodes/decision-item.d.ts +3 -1
  275. package/dist/types-ts4.5/schema/nodes/decision-list.d.ts +5 -2
  276. package/dist/types-ts4.5/schema/nodes/doc.d.ts +3 -1
  277. package/dist/types-ts4.5/schema/nodes/embed-card.d.ts +3 -5
  278. package/dist/types-ts4.5/schema/nodes/emoji.d.ts +4 -2
  279. package/dist/types-ts4.5/schema/nodes/expand.d.ts +6 -4
  280. package/dist/types-ts4.5/schema/nodes/extension.d.ts +2 -1
  281. package/dist/types-ts4.5/schema/nodes/hard-break.d.ts +3 -2
  282. package/dist/types-ts4.5/schema/nodes/heading.d.ts +5 -1
  283. package/dist/types-ts4.5/schema/nodes/image.d.ts +2 -1
  284. package/dist/types-ts4.5/schema/nodes/inline-card.d.ts +4 -2
  285. package/dist/types-ts4.5/schema/nodes/inline-extension.d.ts +2 -1
  286. package/dist/types-ts4.5/schema/nodes/layout-column.d.ts +7 -2
  287. package/dist/types-ts4.5/schema/nodes/layout-section.d.ts +17 -9
  288. package/dist/types-ts4.5/schema/nodes/list-item.d.ts +22 -20
  289. package/dist/types-ts4.5/schema/nodes/media-group.d.ts +4 -1
  290. package/dist/types-ts4.5/schema/nodes/media-single.d.ts +9 -0
  291. package/dist/types-ts4.5/schema/nodes/media.d.ts +2 -2
  292. package/dist/types-ts4.5/schema/nodes/mention.d.ts +4 -3
  293. package/dist/types-ts4.5/schema/nodes/multi-bodied-extension.d.ts +7 -2
  294. package/dist/types-ts4.5/schema/nodes/nested-expand.d.ts +5 -2
  295. package/dist/types-ts4.5/schema/nodes/ordered-list.d.ts +5 -4
  296. package/dist/types-ts4.5/schema/nodes/panel.d.ts +5 -2
  297. package/dist/types-ts4.5/schema/nodes/paragraph.d.ts +3 -1
  298. package/dist/types-ts4.5/schema/nodes/placeholder.d.ts +5 -4
  299. package/dist/types-ts4.5/schema/nodes/rule.d.ts +3 -2
  300. package/dist/types-ts4.5/schema/nodes/status.d.ts +4 -1
  301. package/dist/types-ts4.5/schema/nodes/sync-block.d.ts +2 -1
  302. package/dist/types-ts4.5/schema/nodes/tableNodes.d.ts +27 -22
  303. package/dist/types-ts4.5/schema/nodes/task-item.d.ts +5 -2
  304. package/dist/types-ts4.5/schema/nodes/task-list.d.ts +5 -2
  305. package/dist/types-ts4.5/schema/nodes/text.d.ts +5 -3
  306. package/dist/types-ts4.5/schema/nodes/unsupported-block.d.ts +2 -1
  307. package/dist/types-ts4.5/schema/nodes/unsupported-inline.d.ts +2 -1
  308. package/dist/types-ts4.5/steps/batch-attrs-step.d.ts +1 -1
  309. package/dist/types-ts4.5/steps/set-attrs.d.ts +2 -2
  310. package/dist/types-ts4.5/utils/confluence/emoji.d.ts +16 -16
  311. package/package.json +2 -2
@@ -1,5 +1,6 @@
1
1
  import type { LayoutColumnDefinition } from './layout-column';
2
2
  import type { BreakoutMarkDefinition } from '../marks';
3
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
3
4
  /**
4
5
  * @name layoutSection_node
5
6
  */
@@ -19,8 +20,11 @@ export type LayoutSectionBaseDefinition = {
19
20
  */
20
21
  export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
21
22
  /**
23
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
22
24
  * @minItems 2
25
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
23
26
  * @maxItems 3
27
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
24
28
  * @allowUnsupportedBlock true
25
29
  */
26
30
  content: Array<LayoutColumnDefinition>;
@@ -28,22 +32,26 @@ export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
28
32
  type: 'layoutSection';
29
33
  };
30
34
  /**
35
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
31
36
  * @stage 0
32
37
  * @name layoutSection_with_single_column_node
33
38
  */
34
39
  export type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & {
35
40
  /**
36
- * @minItems 1
37
- * @maxItems 3
38
- * @allowUnsupportedBlock true
39
- */
41
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
42
+ * @minItems 1
43
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
44
+ * @maxItems 3
45
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
46
+ * @allowUnsupportedBlock true
47
+ */
40
48
  content: Array<LayoutColumnDefinition>;
41
49
  marks?: Array<BreakoutMarkDefinition>;
42
50
  type: 'layoutSection';
43
51
  };
44
52
  export type LayoutSectionDefinition = LayoutSectionFullDefinition | LayoutSectionWithSingleColumnDefinition;
45
- export declare const layoutSection: import("prosemirror-model").NodeSpec;
46
- export declare const layoutSectionFull: import("prosemirror-model").NodeSpec;
47
- export declare const layoutSectionWithSingleColumn: import("prosemirror-model").NodeSpec;
48
- export declare const layoutSectionWithLocalId: import("prosemirror-model").NodeSpec;
49
- export declare const layoutSectionWithSingleColumnLocalId: import("prosemirror-model").NodeSpec;
53
+ export declare const layoutSection: NodeSpec;
54
+ export declare const layoutSectionFull: NodeSpec;
55
+ export declare const layoutSectionWithSingleColumn: NodeSpec;
56
+ export declare const layoutSectionWithLocalId: NodeSpec;
57
+ export declare const layoutSectionWithSingleColumnLocalId: NodeSpec;
@@ -1,34 +1,36 @@
1
+ import type { NodeSpec, AttributeSpec, Node, DOMOutputSpec, TagParseRule } from '@atlaskit/editor-prosemirror/model';
2
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
1
3
  /**
2
4
  * @name list_item
3
5
  * @description this node allows task-list to be nested inside list-item
4
6
  */
5
- export declare const listItem: import("prosemirror-model").NodeSpec;
6
- export declare const listItemWithLocalId: import("prosemirror-model").NodeSpec;
7
+ export declare const listItem: NodeSpec;
8
+ export declare const listItemWithLocalId: NodeSpec;
7
9
  export declare const listItemWithDecisionStage0: {
8
- content: string;
9
- marks?: string;
10
- group?: string;
11
- inline?: boolean;
12
10
  atom?: boolean;
13
11
  attrs?: {
14
- [name: string]: import("prosemirror-model").AttributeSpec;
12
+ [name: string]: AttributeSpec;
15
13
  };
16
- selectable?: boolean;
17
- draggable?: boolean;
18
14
  code?: boolean;
19
- whitespace?: "pre" | "normal";
15
+ content: string;
16
+ defining?: boolean;
20
17
  definingAsContext?: boolean;
21
18
  definingForContent?: boolean;
22
- defining?: boolean;
23
- isolating?: boolean;
24
- toDOM?: (node: import("prosemirror-model").Node) => import("prosemirror-model").DOMOutputSpec;
25
- parseDOM?: readonly import("prosemirror-model").TagParseRule[];
26
- toDebugString?: (node: import("prosemirror-model").Node) => string;
27
- leafText?: (node: import("prosemirror-model").Node) => string;
28
- linebreakReplacement?: boolean;
29
- disableDropCursor?: boolean | ((view: import("prosemirror-view").EditorView, pos: {
30
- pos: number;
19
+ disableDropCursor?: boolean | ((view: EditorView, pos: {
31
20
  inside: number;
21
+ pos: number;
32
22
  }, event: DragEvent) => boolean);
23
+ draggable?: boolean;
24
+ group?: string;
25
+ inline?: boolean;
26
+ isolating?: boolean;
27
+ leafText?: (node: Node) => string;
28
+ linebreakReplacement?: boolean;
29
+ marks?: string;
30
+ parseDOM?: readonly TagParseRule[];
31
+ selectable?: boolean;
32
+ toDebugString?: (node: Node) => string;
33
+ toDOM?: (node: Node) => DOMOutputSpec;
34
+ whitespace?: 'pre' | 'normal';
33
35
  };
34
- export declare const listItemWithNestedDecisionAndLocalIdStage0: import("prosemirror-model").NodeSpec;
36
+ export declare const listItemWithNestedDecisionAndLocalIdStage0: NodeSpec;
@@ -1,13 +1,16 @@
1
1
  import type { MediaDefinition as Media } from './media';
2
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
3
  /**
3
4
  * @name mediaGroup_node
4
5
  */
5
6
  export interface MediaGroupDefinition {
6
7
  /**
8
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
7
9
  * @minItems 1
10
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
8
11
  * @allowUnsupportedBlock true
9
12
  */
10
13
  content: Array<Media>;
11
14
  type: 'mediaGroup';
12
15
  }
13
- export declare const mediaGroup: import("prosemirror-model").NodeSpec;
16
+ export declare const mediaGroup: NodeSpec;
@@ -6,6 +6,7 @@ import type { CaptionDefinition as Caption } from './caption';
6
6
  export type MediaSingleDefinition = MediaSingleFullDefinition | MediaSingleWithCaptionDefinition;
7
7
  /**
8
8
  * @name mediaSingle_node
9
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
9
10
  * @additionalProperties true
10
11
  */
11
12
  export interface MediaSingleBaseDefinition {
@@ -14,12 +15,16 @@ export interface MediaSingleBaseDefinition {
14
15
  type: 'mediaSingle';
15
16
  }
16
17
  /**
18
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
17
19
  * @additionalProperties true
18
20
  */
19
21
  export interface MediaCaptionContent {
20
22
  /**
23
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
21
24
  * @minItems 1
25
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
22
26
  * @maxItems 2
27
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
23
28
  * @allowUnsupportedBlock true
24
29
  */
25
30
  content: [Media, Caption?];
@@ -29,12 +34,16 @@ export interface MediaCaptionContent {
29
34
  */
30
35
  export type MediaSingleWithCaptionDefinition = MediaSingleBaseDefinition & MediaCaptionContent;
31
36
  /**
37
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
32
38
  * @additionalProperties true
33
39
  */
34
40
  export interface MediaSingleFullContent {
35
41
  /**
42
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
36
43
  * @minItems 1
44
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
37
45
  * @maxItems 1
46
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
38
47
  * @allowUnsupportedBlock true
39
48
  */
40
49
  content: Array<Media>;
@@ -1,4 +1,4 @@
1
- import type { NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
1
+ import type { AttributeSpec, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { BorderMarkDefinition } from '../marks/border';
3
3
  import type { LinkDefinition } from '../marks/link';
4
4
  import type { AnnotationMarkDefinition } from '../marks/annotation';
@@ -56,7 +56,7 @@ export interface ExternalMediaAttributes {
56
56
  }
57
57
  export type MediaADFAttrs = MediaAttributes | ExternalMediaAttributes;
58
58
  export declare const defaultAttrs: {
59
- [name: string]: import("prosemirror-model").AttributeSpec;
59
+ [name: string]: AttributeSpec;
60
60
  } | undefined;
61
61
  export interface MutableMediaAttributes extends MediaAttributes {
62
62
  [key: string]: string | number | undefined | null | boolean;
@@ -1,4 +1,4 @@
1
- import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Attrs, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { AnnotationMarkDefinition } from '../marks/annotation';
3
3
  export declare enum USER_TYPES {
4
4
  DEFAULT = "DEFAULT",
@@ -19,12 +19,13 @@ export interface MentionAttributes {
19
19
  export interface MentionDefinition {
20
20
  attrs: MentionAttributes;
21
21
  /**
22
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
22
23
  * @stage 0
23
24
  */
24
25
  marks?: Array<AnnotationMarkDefinition>;
25
26
  type: 'mention';
26
27
  }
27
- export declare const mention: import("prosemirror-model").NodeSpec;
28
+ export declare const mention: NodeSpec;
28
29
  export declare const toJSON: (node: PMNode) => {
29
- attrs: import("prosemirror-model").Attrs;
30
+ attrs: Attrs;
30
31
  };
@@ -16,13 +16,16 @@ import type { ExtensionDefinition as Extension } from './extension';
16
16
  import type { BlockCardDefinition as BlockCard } from './block-card';
17
17
  import type { EmbedCardDefinition as EmbedCard } from './embed-card';
18
18
  import type { DataConsumerDefinition, FragmentDefinition } from '../marks';
19
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
19
20
  /**
21
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
20
22
  * @stage 0
21
23
  * @name extensionFrame_node
22
24
  * @description Wraps the block content
23
25
  */
24
26
  export interface ExtensionFrameDefinition {
25
27
  /**
28
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
26
29
  * @minItems 1
27
30
  */
28
31
  content: Array<BodiedExtension | Panel | Paragraph | Blockquote | OrderedList | BulletList | Rule | Heading | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Extension | BlockCard | EmbedCard>;
@@ -32,8 +35,9 @@ export interface ExtensionFrameDefinition {
32
35
  /**
33
36
  * @returns NodeSpec for ExtensionFrameDefinition
34
37
  */
35
- export declare const extensionFrame: import("prosemirror-model").NodeSpec;
38
+ export declare const extensionFrame: NodeSpec;
36
39
  /**
40
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
37
41
  * @stage 0
38
42
  * @name multiBodiedExtension_node
39
43
  * @description Wraps multiple extensionFrame objects.
@@ -41,10 +45,11 @@ export declare const extensionFrame: import("prosemirror-model").NodeSpec;
41
45
  export interface MultiBodiedExtensionDefinition {
42
46
  attrs: ExtensionAttributes;
43
47
  /**
48
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
44
49
  * @minLength 1
45
50
  */
46
51
  content: Array<ExtensionFrameDefinition>;
47
52
  marks?: Array<any>;
48
53
  type: 'multiBodiedExtension';
49
54
  }
50
- export declare const multiBodiedExtension: import("prosemirror-model").NodeSpec;
55
+ export declare const multiBodiedExtension: NodeSpec;
@@ -10,9 +10,12 @@ import type { DecisionListDefinition as DecisionList } from './decision-list';
10
10
  import type { RuleDefinition as Rule } from './rule';
11
11
  import type { PanelDefinition as Panel } from './panel';
12
12
  import type { BlockQuoteDefinition as BlockQuote } from './blockquote';
13
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
13
14
  /**
14
15
  * @name nestedExpand_content
16
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
15
17
  * @minItems 1
18
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
16
19
  * @allowUnsupportedBlock true
17
20
  */
18
21
  export type NestedExpandContent = Array<Paragraph | Heading | MediaSingle | MediaGroup | CodeBlock | BulletList | OrderedList | TaskList | DecisionList | Rule | Panel | BlockQuote>;
@@ -36,5 +39,5 @@ export type NestedExpandDefinition = NestedExpandBaseDefinition & NoMark;
36
39
  * @name nestedExpand
37
40
  * @description an expand that can be nested (eg. inside table, layout).
38
41
  */
39
- export declare const nestedExpand: import("prosemirror-model").NodeSpec;
40
- export declare const nestedExpandWithLocalId: import("prosemirror-model").NodeSpec;
42
+ export declare const nestedExpand: NodeSpec;
43
+ export declare const nestedExpandWithLocalId: NodeSpec;
@@ -1,5 +1,6 @@
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
1
2
  export declare const orderedListSelector = ".ak-ol";
2
- export declare const orderedList: import("prosemirror-model").NodeSpec;
3
- export declare const orderedListWithLocalId: import("prosemirror-model").NodeSpec;
4
- export declare const orderedListWithOrder: import("prosemirror-model").NodeSpec;
5
- export declare const orderedListWithOrderAndLocalId: import("prosemirror-model").NodeSpec;
3
+ export declare const orderedList: NodeSpec;
4
+ export declare const orderedListWithLocalId: NodeSpec;
5
+ export declare const orderedListWithOrder: NodeSpec;
6
+ export declare const orderedListWithOrderAndLocalId: NodeSpec;
@@ -8,6 +8,7 @@ import type { MediaSingleDefinition as MediaSingle } from './media-single';
8
8
  import type { DecisionListDefinition as DecisionList } from './decision-list';
9
9
  import type { TaskListDefinition as TaskList } from './task-list';
10
10
  import type { RuleDefinition as Rule } from './rule';
11
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
11
12
  export declare enum PanelType {
12
13
  INFO = "info",
13
14
  NOTE = "note",
@@ -31,7 +32,9 @@ export interface PanelAttributes {
31
32
  export interface PanelDefinition {
32
33
  attrs: PanelAttributes;
33
34
  /**
35
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
34
36
  * @minItems 1
37
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
35
38
  * @allowUnsupportedBlock true
36
39
  */
37
40
  content: Array<Paragraph | Heading | OrderedList | BulletList | BlockCard | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Rule>;
@@ -46,5 +49,5 @@ export interface DOMAttributes {
46
49
  * Specifically, it allows Media, action, code-block, rule and decision nodes in
47
50
  * addition to content allowed inside panel
48
51
  */
49
- export declare const extendedPanel: (allowCustomPanel: boolean) => import("prosemirror-model").NodeSpec;
50
- export declare const extendedPanelWithLocalId: (allowCustomPanel: boolean) => import("prosemirror-model").NodeSpec;
52
+ export declare const extendedPanel: (allowCustomPanel: boolean) => NodeSpec;
53
+ export declare const extendedPanelWithLocalId: (allowCustomPanel: boolean) => NodeSpec;
@@ -1,6 +1,7 @@
1
1
  import type { AlignmentMarkDefinition, IndentationMarkDefinition } from '../marks';
2
2
  import type { MarksObject, NoMark } from './types/mark';
3
3
  import type { Inline } from './types/inline-content';
4
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
4
5
  export interface ParagraphAttributes {
5
6
  /**
6
7
  * An optional UUID for unique identification of the node
@@ -13,6 +14,7 @@ export interface ParagraphAttributes {
13
14
  export interface ParagraphBaseDefinition {
14
15
  attrs?: ParagraphAttributes;
15
16
  /**
17
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
16
18
  * @allowUnsupportedInline true
17
19
  */
18
20
  content?: Array<Inline>;
@@ -40,4 +42,4 @@ export type ParagraphWithAlignmentDefinition = ParagraphBaseDefinition & MarksOb
40
42
  */
41
43
  export type ParagraphWithIndentationDefinition = ParagraphBaseDefinition & MarksObject<IndentationMarkDefinition>;
42
44
  export type ParagraphWithMarksDefinition = ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition;
43
- export declare const paragraph: import("prosemirror-model").NodeSpec;
45
+ export declare const paragraph: NodeSpec;
@@ -1,12 +1,13 @@
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
1
2
  /**
2
3
  * @name placeholder_node
3
4
  */
4
5
  export interface PlaceholderDefinition {
5
- type: 'placeholder';
6
6
  attrs: {
7
- text: string;
8
7
  localId?: string;
8
+ text: string;
9
9
  };
10
+ type: 'placeholder';
10
11
  }
11
- export declare const placeholder: import("prosemirror-model").NodeSpec;
12
- export declare const placeholderWithLocalId: import("prosemirror-model").NodeSpec;
12
+ export declare const placeholder: NodeSpec;
13
+ export declare const placeholderWithLocalId: NodeSpec;
@@ -1,3 +1,4 @@
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
1
2
  /**
2
3
  * @name rule_node
3
4
  */
@@ -7,5 +8,5 @@ export interface RuleDefinition {
7
8
  };
8
9
  type: 'rule';
9
10
  }
10
- export declare const rule: import("prosemirror-model").NodeSpec;
11
- export declare const ruleWithLocalId: import("prosemirror-model").NodeSpec;
11
+ export declare const rule: NodeSpec;
12
+ export declare const ruleWithLocalId: NodeSpec;
@@ -1,4 +1,5 @@
1
1
  import type { AnnotationMarkDefinition } from '../marks/annotation';
2
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
3
  /**
3
4
  * @name status_node
4
5
  */
@@ -11,14 +12,16 @@ export interface StatusDefinition {
11
12
  */
12
13
  style?: string;
13
14
  /**
15
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
14
16
  * @minLength 1
15
17
  */
16
18
  text: string;
17
19
  };
18
20
  /**
21
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
19
22
  * @stage 0
20
23
  */
21
24
  marks?: Array<AnnotationMarkDefinition>;
22
25
  type: 'status';
23
26
  }
24
- export declare const status: import("prosemirror-model").NodeSpec;
27
+ export declare const status: NodeSpec;
@@ -1,3 +1,4 @@
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
1
2
  import type { BreakoutMarkDefinition } from '../marks';
2
3
  export interface SyncBlockAttrs {
3
4
  /**
@@ -19,4 +20,4 @@ export interface SyncBlockDefinition {
19
20
  marks?: Array<BreakoutMarkDefinition>;
20
21
  type: 'syncBlock';
21
22
  }
22
- export declare const syncBlock: import("prosemirror-model").NodeSpec;
23
+ export declare const syncBlock: NodeSpec;
@@ -1,4 +1,4 @@
1
- import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
1
+ import type { NodeSpec, Node as PmNode, Attrs } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { PanelDefinition as Panel } from './panel';
3
3
  import type { ParagraphDefinition as Paragraph, ParagraphWithAlignmentDefinition as ParagraphWithMarks } from './paragraph';
4
4
  import type { BlockQuoteDefinition as Blockquote } from './blockquote';
@@ -23,10 +23,10 @@ export interface CellAttributes {
23
23
  rowspan?: number;
24
24
  }
25
25
  export declare const tablePrefixSelector = "pm-table";
26
- export declare const tableCellSelector = "pm-table-cell-content-wrap";
27
- export declare const tableHeaderSelector = "pm-table-header-content-wrap";
28
- export declare const tableCellContentWrapperSelector = "pm-table-cell-nodeview-wrapper";
29
- export declare const tableCellContentDomSelector = "pm-table-cell-nodeview-content-dom";
26
+ export declare const tableCellSelector: 'pm-table-cell-content-wrap';
27
+ export declare const tableHeaderSelector: 'pm-table-header-content-wrap';
28
+ export declare const tableCellContentWrapperSelector: 'pm-table-cell-nodeview-wrapper';
29
+ export declare const tableCellContentDomSelector: 'pm-table-cell-nodeview-content-dom';
30
30
  export declare const getCellAttrs: (dom: HTMLElement, defaultValues?: CellAttributes) => {
31
31
  background: string | null;
32
32
  colspan: number;
@@ -61,6 +61,7 @@ export interface TableAttributes {
61
61
  isNumberColumnEnabled?: boolean;
62
62
  layout?: Layout;
63
63
  /**
64
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
64
65
  * @minLength 1
65
66
  */
66
67
  localId?: string;
@@ -72,6 +73,7 @@ export interface TableAttributes {
72
73
  export interface TableDefinition {
73
74
  attrs?: TableAttributes;
74
75
  /**
76
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
75
77
  * @minItems 1
76
78
  */
77
79
  content: Array<TableRow>;
@@ -87,7 +89,9 @@ export interface TableRow {
87
89
  }
88
90
  /**
89
91
  * @name table_cell_content
92
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
90
93
  * @minItems 1
94
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
91
95
  * @allowUnsupportedBlock true
92
96
  */
93
97
  export type TableCellContent = Array<Panel | Paragraph | ParagraphWithMarks | Blockquote | OrderedList | BulletList | Rule | Heading | HeadingWithMarks | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Extension | BlockCard | NestedExpand | EmbedCard>;
@@ -110,6 +114,7 @@ export interface TableHeader {
110
114
  export interface TableWithNestedTableDefinition {
111
115
  attrs?: TableAttributes;
112
116
  /**
117
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
113
118
  * @minItems 1
114
119
  */
115
120
  content: Array<TableRow>;
@@ -131,29 +136,29 @@ export interface TableHeaderWithNestedTableDefinition {
131
136
  type: 'tableHeader';
132
137
  }
133
138
  /** Includes table width attribute */
134
- export declare const table: import("prosemirror-model").NodeSpec;
139
+ export declare const table: NodeSpec;
135
140
  /** @deprecated Do not use, instead use the regular `table` export */
136
- export declare const tableWithCustomWidth: import("prosemirror-model").NodeSpec;
137
- export declare const tableStage0: import("prosemirror-model").NodeSpec;
141
+ export declare const tableWithCustomWidth: NodeSpec;
142
+ export declare const tableStage0: NodeSpec;
138
143
  export declare const tableToJSON: (node: PmNode) => {
139
- attrs: import("prosemirror-model").Attrs;
144
+ attrs: Attrs;
140
145
  };
141
- export declare const tableRow: import("prosemirror-model").NodeSpec;
142
- export declare const tableCell: import("prosemirror-model").NodeSpec;
146
+ export declare const tableRow: NodeSpec;
147
+ export declare const tableCell: NodeSpec;
143
148
  export declare const toJSONTableCell: (node: PmNode) => {
144
149
  attrs: Record<string, any>;
145
150
  };
146
- export declare const tableHeader: import("prosemirror-model").NodeSpec;
151
+ export declare const tableHeader: NodeSpec;
147
152
  export declare const toJSONTableHeader: (node: PmNode) => {
148
153
  attrs: Record<string, any>;
149
154
  };
150
- export declare const tableWithNestedTable: import("prosemirror-model").NodeSpec;
151
- export declare const tableRowWithNestedTable: import("prosemirror-model").NodeSpec;
152
- export declare const tableCellWithNestedTable: import("prosemirror-model").NodeSpec;
153
- export declare const tableHeaderWithNestedTable: import("prosemirror-model").NodeSpec;
154
- export declare const tableRowWithLocalId: import("prosemirror-model").NodeSpec;
155
- export declare const tableCellWithLocalId: import("prosemirror-model").NodeSpec;
156
- export declare const tableHeaderWithLocalId: import("prosemirror-model").NodeSpec;
157
- export declare const tableRowWithNestedTableWithLocalId: import("prosemirror-model").NodeSpec;
158
- export declare const tableCellWithNestedTableWithLocalId: import("prosemirror-model").NodeSpec;
159
- export declare const tableHeaderWithNestedTableWithLocalId: import("prosemirror-model").NodeSpec;
155
+ export declare const tableWithNestedTable: NodeSpec;
156
+ export declare const tableRowWithNestedTable: NodeSpec;
157
+ export declare const tableCellWithNestedTable: NodeSpec;
158
+ export declare const tableHeaderWithNestedTable: NodeSpec;
159
+ export declare const tableRowWithLocalId: NodeSpec;
160
+ export declare const tableCellWithLocalId: NodeSpec;
161
+ export declare const tableHeaderWithLocalId: NodeSpec;
162
+ export declare const tableRowWithNestedTableWithLocalId: NodeSpec;
163
+ export declare const tableCellWithNestedTableWithLocalId: NodeSpec;
164
+ export declare const tableHeaderWithNestedTableWithLocalId: NodeSpec;
@@ -1,6 +1,7 @@
1
1
  import type { Inline } from './types/inline-content';
2
2
  import type { ParagraphDefinition as Paragraph } from './paragraph';
3
3
  import type { ExtensionDefinition as Extension } from './extension';
4
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
4
5
  /**
5
6
  * @name taskItem_node
6
7
  */
@@ -10,6 +11,7 @@ export interface TaskItemDefinition {
10
11
  state: 'TODO' | 'DONE';
11
12
  };
12
13
  /**
14
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
13
15
  * @allowUnsupportedInline true
14
16
  */
15
17
  content?: Array<Inline>;
@@ -24,10 +26,11 @@ export interface BlockTaskItemDefinition {
24
26
  state: 'TODO' | 'DONE';
25
27
  };
26
28
  /**
29
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
27
30
  * @allowUnsupportedInline true
28
31
  */
29
32
  content?: Array<Paragraph | Extension>;
30
33
  type: 'blockTaskItem';
31
34
  }
32
- export declare const taskItem: import("prosemirror-model").NodeSpec;
33
- export declare const blockTaskItem: import("prosemirror-model").NodeSpec;
35
+ export declare const taskItem: NodeSpec;
36
+ export declare const blockTaskItem: NodeSpec;
@@ -1,4 +1,5 @@
1
1
  import type { TaskItemDefinition as TaskItemNode, BlockTaskItemDefinition as BlockTaskItem } from './task-item';
2
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
3
  export interface TaskListContent extends Array<TaskItemNode | TaskListDefinition | BlockTaskItem> {
3
4
  0: TaskItemNode | BlockTaskItem;
4
5
  }
@@ -10,11 +11,13 @@ export interface TaskListDefinition {
10
11
  localId: string;
11
12
  };
12
13
  /**
14
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
13
15
  * @minItems 1
16
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
14
17
  * @allowUnsupportedBlock true
15
18
  */
16
19
  content: TaskListContent;
17
20
  type: 'taskList';
18
21
  }
19
- export declare const taskListSelector = "[data-node-type=\"actionList\"]";
20
- export declare const taskList: import("prosemirror-model").NodeSpec;
22
+ export declare const taskListSelector: '[data-node-type="actionList"]';
23
+ export declare const taskList: NodeSpec;
@@ -1,12 +1,14 @@
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
1
2
  /**
2
3
  * @name text_node
3
4
  */
4
5
  export interface TextDefinition {
5
- type: 'text';
6
+ marks?: Array<any>;
6
7
  /**
8
+ // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
7
9
  * @minLength 1
8
10
  */
9
11
  text: string;
10
- marks?: Array<any>;
12
+ type: 'text';
11
13
  }
12
- export declare const text: import("prosemirror-model").NodeSpec;
14
+ export declare const text: NodeSpec;
@@ -1 +1,2 @@
1
- export declare const unsupportedBlock: import("prosemirror-model").NodeSpec;
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ export declare const unsupportedBlock: NodeSpec;
@@ -1 +1,2 @@
1
- export declare const unsupportedInline: import("prosemirror-model").NodeSpec;
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ export declare const unsupportedInline: NodeSpec;
@@ -63,9 +63,9 @@ export declare class BatchAttrsStep extends Step {
63
63
  invert(doc: PMNode): BatchAttrsStep;
64
64
  map(mapping: Mappable): BatchAttrsStep | null;
65
65
  toJSON(): {
66
- stepType: string;
67
66
  data: BatchAttrsStepData[];
68
67
  inverted: boolean;
68
+ stepType: string;
69
69
  };
70
70
  static fromJSON(_schema: Schema, json: {
71
71
  data: Array<Record<string, unknown>>;
@@ -13,9 +13,9 @@ export declare class SetAttrsStep extends Step {
13
13
  invert(doc: ProseMirrorNode): SetAttrsStep;
14
14
  map(mapping: Mappable): SetAttrsStep | null;
15
15
  toJSON(): {
16
- stepType: string;
17
- pos: number;
18
16
  attrs: object;
17
+ pos: number;
18
+ stepType: string;
19
19
  };
20
20
  static fromJSON(_schema: Schema, json: {
21
21
  attrs: object;