@atlaskit/adf-schema 51.5.0 → 51.5.2

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 (583) hide show
  1. package/CHANGELOG.md +763 -424
  2. package/README.md +5 -0
  3. package/codemods/23.0.0-move-bitbucket-schema-to-own-entry-points.ts +1 -3
  4. package/codemods/23.0.0-move-confluence-schema-to-own-entry-points.ts +1 -3
  5. package/codemods/migrates/update-bitbucket-schema-entry-points.ts +5 -5
  6. package/codemods/migrates/update-confluence-schema-entry-points.ts +10 -10
  7. package/codemods/migrates/update-default-schema-entry-points.ts +15 -15
  8. package/codemods/migrates/update-jira-schema-entry-points.ts +60 -60
  9. package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  10. package/dist/cjs/next-schema/marks/link.js +1 -1
  11. package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +1 -1
  12. package/dist/cjs/schema/bitbucket-schema.js +1 -0
  13. package/dist/cjs/schema/confluence-schema.js +2 -0
  14. package/dist/cjs/schema/create-schema.js +0 -2
  15. package/dist/cjs/schema/createPMSpecFactory.js +2 -0
  16. package/dist/cjs/schema/inline-nodes.js +3 -0
  17. package/dist/cjs/schema/jira-schema.js +2 -0
  18. package/dist/cjs/schema/marks/annotation.js +6 -5
  19. package/dist/cjs/schema/marks/background-color.js +2 -0
  20. package/dist/cjs/schema/marks/border.js +1 -0
  21. package/dist/cjs/schema/marks/breakout.js +2 -0
  22. package/dist/cjs/schema/marks/indentation.js +1 -0
  23. package/dist/cjs/schema/marks/link.js +4 -0
  24. package/dist/cjs/schema/marks/strong.js +5 -1
  25. package/dist/cjs/schema/marks/text-color.js +2 -0
  26. package/dist/cjs/schema/nodes/block-card.js +4 -1
  27. package/dist/cjs/schema/nodes/bodied-extension.js +1 -0
  28. package/dist/cjs/schema/nodes/bodied-sync-block.js +1 -0
  29. package/dist/cjs/schema/nodes/caption.js +4 -2
  30. package/dist/cjs/schema/nodes/code-block.js +33 -8
  31. package/dist/cjs/schema/nodes/confluence-jira-issue.js +1 -0
  32. package/dist/cjs/schema/nodes/confluence-unsupported-block.js +1 -0
  33. package/dist/cjs/schema/nodes/confluence-unsupported-inline.js +1 -0
  34. package/dist/cjs/schema/nodes/date.js +2 -0
  35. package/dist/cjs/schema/nodes/decision-item.js +1 -0
  36. package/dist/cjs/schema/nodes/embed-card.js +18 -4
  37. package/dist/cjs/schema/nodes/emoji.js +20 -0
  38. package/dist/cjs/schema/nodes/expand.js +1 -0
  39. package/dist/cjs/schema/nodes/extension.js +1 -0
  40. package/dist/cjs/schema/nodes/heading.js +3 -2
  41. package/dist/cjs/schema/nodes/image.js +1 -0
  42. package/dist/cjs/schema/nodes/inline-extension.js +1 -0
  43. package/dist/cjs/schema/nodes/layout-column.js +6 -2
  44. package/dist/cjs/schema/nodes/media-group.js +1 -1
  45. package/dist/cjs/schema/nodes/media-single.js +1 -0
  46. package/dist/cjs/schema/nodes/media.js +25 -16
  47. package/dist/cjs/schema/nodes/mention.js +5 -0
  48. package/dist/cjs/schema/nodes/nested-expand.js +2 -1
  49. package/dist/cjs/schema/nodes/ordered-list.js +3 -0
  50. package/dist/cjs/schema/nodes/panel.js +6 -0
  51. package/dist/cjs/schema/nodes/paragraph.js +1 -0
  52. package/dist/cjs/schema/nodes/placeholder.js +6 -2
  53. package/dist/cjs/schema/nodes/status.js +3 -0
  54. package/dist/cjs/schema/nodes/sync-block.js +1 -0
  55. package/dist/cjs/schema/nodes/tableNodes.js +32 -15
  56. package/dist/cjs/schema/nodes/task-item.js +2 -0
  57. package/dist/cjs/schema/nodes/unsupported-block.js +1 -0
  58. package/dist/cjs/schema/nodes/unsupported-inline.js +1 -0
  59. package/dist/cjs/schema/sanitizeNodes.js +11 -6
  60. package/dist/cjs/steps/analytics.js +1 -1
  61. package/dist/cjs/steps/batch-attrs-step.js +1 -1
  62. package/dist/cjs/utils/colors.js +21 -8
  63. package/dist/cjs/utils/editor-palette.js +7 -0
  64. package/dist/cjs/utils/lch-color-inversion.js +11 -5
  65. package/dist/cjs/utils/url.js +9 -6
  66. package/dist/cjs/utils/uuid.js +7 -7
  67. package/dist/cjs/validator-schema/generated/validatorSpec.js +1 -1
  68. package/dist/es2019/index.js +4 -1
  69. package/dist/es2019/json-schema/index.js +1 -0
  70. package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  71. package/dist/es2019/next-schema/index.js +1 -0
  72. package/dist/es2019/next-schema/marks/alignmentAndIndentation.js +1 -2
  73. package/dist/es2019/next-schema/marks/color.js +1 -2
  74. package/dist/es2019/next-schema/marks/link.js +1 -1
  75. package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +1 -1
  76. package/dist/es2019/schema/bitbucket-schema.js +1 -0
  77. package/dist/es2019/schema/confluence-schema.js +2 -0
  78. package/dist/es2019/schema/create-schema.js +0 -2
  79. package/dist/es2019/schema/createPMSpecFactory.js +2 -0
  80. package/dist/es2019/schema/index.js +4 -1
  81. package/dist/es2019/schema/inline-nodes.js +3 -0
  82. package/dist/es2019/schema/jira-schema.js +1 -0
  83. package/dist/es2019/schema/marks/annotation.js +7 -5
  84. package/dist/es2019/schema/marks/background-color.js +3 -1
  85. package/dist/es2019/schema/marks/border.js +1 -0
  86. package/dist/es2019/schema/marks/breakout.js +2 -0
  87. package/dist/es2019/schema/marks/indentation.js +1 -0
  88. package/dist/es2019/schema/marks/index.js +1 -0
  89. package/dist/es2019/schema/marks/link.js +4 -0
  90. package/dist/es2019/schema/marks/strong.js +5 -1
  91. package/dist/es2019/schema/marks/text-color.js +3 -1
  92. package/dist/es2019/schema/nodes/block-card.js +4 -1
  93. package/dist/es2019/schema/nodes/blockquote.js +1 -2
  94. package/dist/es2019/schema/nodes/bodied-extension.js +1 -0
  95. package/dist/es2019/schema/nodes/bodied-sync-block.js +1 -0
  96. package/dist/es2019/schema/nodes/caption.js +4 -2
  97. package/dist/es2019/schema/nodes/code-block.js +34 -9
  98. package/dist/es2019/schema/nodes/confluence-jira-issue.js +1 -0
  99. package/dist/es2019/schema/nodes/confluence-unsupported-block.js +1 -0
  100. package/dist/es2019/schema/nodes/confluence-unsupported-inline.js +1 -0
  101. package/dist/es2019/schema/nodes/date.js +2 -0
  102. package/dist/es2019/schema/nodes/decision-item.js +1 -0
  103. package/dist/es2019/schema/nodes/embed-card.js +18 -4
  104. package/dist/es2019/schema/nodes/emoji.js +20 -0
  105. package/dist/es2019/schema/nodes/expand.js +1 -0
  106. package/dist/es2019/schema/nodes/extension.js +1 -0
  107. package/dist/es2019/schema/nodes/heading.js +6 -7
  108. package/dist/es2019/schema/nodes/image.js +1 -0
  109. package/dist/es2019/schema/nodes/index.js +1 -0
  110. package/dist/es2019/schema/nodes/inline-extension.js +1 -0
  111. package/dist/es2019/schema/nodes/layout-column.js +6 -2
  112. package/dist/es2019/schema/nodes/layout-section.js +1 -2
  113. package/dist/es2019/schema/nodes/media-group.js +1 -1
  114. package/dist/es2019/schema/nodes/media-single.js +1 -0
  115. package/dist/es2019/schema/nodes/media.js +22 -15
  116. package/dist/es2019/schema/nodes/mention.js +5 -0
  117. package/dist/es2019/schema/nodes/multi-bodied-extension.js +1 -2
  118. package/dist/es2019/schema/nodes/nested-expand.js +2 -1
  119. package/dist/es2019/schema/nodes/ordered-list.js +3 -0
  120. package/dist/es2019/schema/nodes/panel.js +6 -0
  121. package/dist/es2019/schema/nodes/paragraph.js +1 -0
  122. package/dist/es2019/schema/nodes/placeholder.js +6 -2
  123. package/dist/es2019/schema/nodes/status.js +4 -1
  124. package/dist/es2019/schema/nodes/sync-block.js +1 -0
  125. package/dist/es2019/schema/nodes/tableNodes.js +22 -8
  126. package/dist/es2019/schema/nodes/task-item.js +2 -0
  127. package/dist/es2019/schema/nodes/unsupported-block.js +1 -0
  128. package/dist/es2019/schema/nodes/unsupported-inline.js +1 -0
  129. package/dist/es2019/schema/sanitizeNodes.js +11 -6
  130. package/dist/es2019/steps/analytics.js +1 -1
  131. package/dist/es2019/steps/batch-attrs-step.js +1 -1
  132. package/dist/es2019/steps/set-attrs.js +5 -5
  133. package/dist/es2019/steps.js +1 -0
  134. package/dist/es2019/utils/colors.js +23 -9
  135. package/dist/es2019/utils/editor-palette.js +6 -0
  136. package/dist/es2019/utils/index.js +1 -0
  137. package/dist/es2019/utils/lch-color-inversion.js +8 -3
  138. package/dist/es2019/utils/url.js +9 -6
  139. package/dist/es2019/utils/uuid.js +3 -4
  140. package/dist/es2019/validator-schema/generated/validatorSpec.js +1 -1
  141. package/dist/esm/index.js +4 -1
  142. package/dist/esm/json-schema/index.js +1 -0
  143. package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  144. package/dist/esm/next-schema/index.js +1 -0
  145. package/dist/esm/next-schema/marks/alignmentAndIndentation.js +1 -2
  146. package/dist/esm/next-schema/marks/color.js +1 -2
  147. package/dist/esm/next-schema/marks/link.js +1 -1
  148. package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +1 -1
  149. package/dist/esm/schema/bitbucket-schema.js +1 -0
  150. package/dist/esm/schema/confluence-schema.js +2 -0
  151. package/dist/esm/schema/create-schema.js +0 -2
  152. package/dist/esm/schema/createPMSpecFactory.js +2 -0
  153. package/dist/esm/schema/index.js +4 -1
  154. package/dist/esm/schema/inline-nodes.js +3 -0
  155. package/dist/esm/schema/jira-schema.js +1 -0
  156. package/dist/esm/schema/marks/annotation.js +6 -5
  157. package/dist/esm/schema/marks/background-color.js +2 -0
  158. package/dist/esm/schema/marks/border.js +1 -0
  159. package/dist/esm/schema/marks/breakout.js +2 -0
  160. package/dist/esm/schema/marks/indentation.js +1 -0
  161. package/dist/esm/schema/marks/index.js +1 -0
  162. package/dist/esm/schema/marks/link.js +4 -0
  163. package/dist/esm/schema/marks/strong.js +5 -1
  164. package/dist/esm/schema/marks/text-color.js +2 -0
  165. package/dist/esm/schema/nodes/block-card.js +4 -1
  166. package/dist/esm/schema/nodes/blockquote.js +1 -2
  167. package/dist/esm/schema/nodes/bodied-extension.js +1 -0
  168. package/dist/esm/schema/nodes/bodied-sync-block.js +1 -0
  169. package/dist/esm/schema/nodes/caption.js +4 -2
  170. package/dist/esm/schema/nodes/code-block.js +33 -8
  171. package/dist/esm/schema/nodes/confluence-jira-issue.js +1 -0
  172. package/dist/esm/schema/nodes/confluence-unsupported-block.js +1 -0
  173. package/dist/esm/schema/nodes/confluence-unsupported-inline.js +1 -0
  174. package/dist/esm/schema/nodes/date.js +2 -0
  175. package/dist/esm/schema/nodes/decision-item.js +1 -0
  176. package/dist/esm/schema/nodes/embed-card.js +18 -4
  177. package/dist/esm/schema/nodes/emoji.js +20 -0
  178. package/dist/esm/schema/nodes/expand.js +1 -0
  179. package/dist/esm/schema/nodes/extension.js +1 -0
  180. package/dist/esm/schema/nodes/heading.js +3 -2
  181. package/dist/esm/schema/nodes/image.js +1 -0
  182. package/dist/esm/schema/nodes/index.js +1 -0
  183. package/dist/esm/schema/nodes/inline-extension.js +1 -0
  184. package/dist/esm/schema/nodes/layout-column.js +6 -2
  185. package/dist/esm/schema/nodes/layout-section.js +1 -2
  186. package/dist/esm/schema/nodes/media-group.js +1 -1
  187. package/dist/esm/schema/nodes/media-single.js +1 -0
  188. package/dist/esm/schema/nodes/media.js +26 -18
  189. package/dist/esm/schema/nodes/mention.js +5 -0
  190. package/dist/esm/schema/nodes/multi-bodied-extension.js +1 -2
  191. package/dist/esm/schema/nodes/nested-expand.js +2 -1
  192. package/dist/esm/schema/nodes/ordered-list.js +3 -0
  193. package/dist/esm/schema/nodes/panel.js +6 -0
  194. package/dist/esm/schema/nodes/paragraph.js +1 -0
  195. package/dist/esm/schema/nodes/placeholder.js +6 -2
  196. package/dist/esm/schema/nodes/status.js +3 -0
  197. package/dist/esm/schema/nodes/sync-block.js +1 -0
  198. package/dist/esm/schema/nodes/tableNodes.js +32 -15
  199. package/dist/esm/schema/nodes/task-item.js +2 -0
  200. package/dist/esm/schema/nodes/unsupported-block.js +1 -0
  201. package/dist/esm/schema/nodes/unsupported-inline.js +1 -0
  202. package/dist/esm/schema/sanitizeNodes.js +11 -6
  203. package/dist/esm/steps/analytics.js +1 -1
  204. package/dist/esm/steps/batch-attrs-step.js +1 -1
  205. package/dist/esm/steps.js +1 -0
  206. package/dist/esm/utils/colors.js +20 -8
  207. package/dist/esm/utils/editor-palette.js +6 -0
  208. package/dist/esm/utils/index.js +1 -0
  209. package/dist/esm/utils/lch-color-inversion.js +11 -5
  210. package/dist/esm/utils/url.js +9 -6
  211. package/dist/esm/utils/uuid.js +7 -7
  212. package/dist/esm/validator-schema/generated/validatorSpec.js +1 -1
  213. package/dist/types/next-schema/full-schema.adf.d.ts +1 -1
  214. package/dist/types/next-schema/generated/markTypes.d.ts +1 -1
  215. package/dist/types/next-schema/generated/nodeTypes.d.ts +4 -4
  216. package/dist/types/next-schema/groups/blockContentGroup.d.ts +1 -1
  217. package/dist/types/next-schema/groups/blockGroup.d.ts +1 -1
  218. package/dist/types/next-schema/groups/blockRootOnlyGroup.d.ts +1 -1
  219. package/dist/types/next-schema/groups/fontStyleGroup.d.ts +1 -1
  220. package/dist/types/next-schema/groups/inlineContentGroup.d.ts +1 -1
  221. package/dist/types/next-schema/groups/inlineGroup.d.ts +1 -1
  222. package/dist/types/next-schema/groups/linkMarkGroup.d.ts +1 -1
  223. package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +6 -6
  224. package/dist/types/next-schema/groups/searchQueryMarkGroup.d.ts +1 -1
  225. package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +7 -67
  226. package/dist/types/next-schema/marks/alignmentAndIndentation.d.ts +2 -2
  227. package/dist/types/next-schema/marks/annotation.d.ts +2 -2
  228. package/dist/types/next-schema/marks/border.d.ts +1 -1
  229. package/dist/types/next-schema/marks/breakout.d.ts +1 -1
  230. package/dist/types/next-schema/marks/code.d.ts +1 -1
  231. package/dist/types/next-schema/marks/color.d.ts +3 -3
  232. package/dist/types/next-schema/marks/confluenceInlineComment.d.ts +1 -1
  233. package/dist/types/next-schema/marks/dataConsumer.d.ts +1 -1
  234. package/dist/types/next-schema/marks/em.d.ts +1 -1
  235. package/dist/types/next-schema/marks/fragment.d.ts +1 -1
  236. package/dist/types/next-schema/marks/link.d.ts +1 -1
  237. package/dist/types/next-schema/marks/strike.d.ts +1 -1
  238. package/dist/types/next-schema/marks/strong.d.ts +1 -1
  239. package/dist/types/next-schema/marks/subsup.d.ts +1 -1
  240. package/dist/types/next-schema/marks/typeAheadQuery.d.ts +1 -1
  241. package/dist/types/next-schema/marks/underline.d.ts +1 -1
  242. package/dist/types/next-schema/marks/unsupportedMark.d.ts +1 -1
  243. package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +1 -1
  244. package/dist/types/next-schema/nodes/blockCard.d.ts +1 -1
  245. package/dist/types/next-schema/nodes/blockquote.d.ts +3 -3
  246. package/dist/types/next-schema/nodes/bodiedExtension.d.ts +4 -4
  247. package/dist/types/next-schema/nodes/bodiedSyncBlock.d.ts +1 -1
  248. package/dist/types/next-schema/nodes/caption.d.ts +1 -1
  249. package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -2
  250. package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +1 -1
  251. package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +1 -1
  252. package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +1 -1
  253. package/dist/types/next-schema/nodes/date.d.ts +1 -1
  254. package/dist/types/next-schema/nodes/decisionItem.d.ts +1 -1
  255. package/dist/types/next-schema/nodes/decisionList.d.ts +1 -1
  256. package/dist/types/next-schema/nodes/embedCard.d.ts +1 -1
  257. package/dist/types/next-schema/nodes/emoji.d.ts +1 -1
  258. package/dist/types/next-schema/nodes/expand.d.ts +2 -2
  259. package/dist/types/next-schema/nodes/extension.d.ts +3 -3
  260. package/dist/types/next-schema/nodes/extensionFrame.d.ts +1 -1
  261. package/dist/types/next-schema/nodes/hardBreak.d.ts +1 -1
  262. package/dist/types/next-schema/nodes/heading.d.ts +20 -20
  263. package/dist/types/next-schema/nodes/image.d.ts +1 -1
  264. package/dist/types/next-schema/nodes/inlineCard.d.ts +2 -2
  265. package/dist/types/next-schema/nodes/inlineExtension.d.ts +2 -2
  266. package/dist/types/next-schema/nodes/layoutColumn.d.ts +1 -1
  267. package/dist/types/next-schema/nodes/layoutSection.d.ts +7 -7
  268. package/dist/types/next-schema/nodes/list.d.ts +2 -2
  269. package/dist/types/next-schema/nodes/media.d.ts +1 -1
  270. package/dist/types/next-schema/nodes/mediaGroup.d.ts +1 -1
  271. package/dist/types/next-schema/nodes/mediaInline.d.ts +1 -1
  272. package/dist/types/next-schema/nodes/mediaSingle.d.ts +10 -10
  273. package/dist/types/next-schema/nodes/mention.d.ts +1 -1
  274. package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +1 -1
  275. package/dist/types/next-schema/nodes/nestedExpand.d.ts +3 -3
  276. package/dist/types/next-schema/nodes/panel.d.ts +1 -1
  277. package/dist/types/next-schema/nodes/paragraph.d.ts +13 -13
  278. package/dist/types/next-schema/nodes/placeholder.d.ts +1 -1
  279. package/dist/types/next-schema/nodes/rule.d.ts +1 -1
  280. package/dist/types/next-schema/nodes/status.d.ts +1 -1
  281. package/dist/types/next-schema/nodes/syncBlock.d.ts +1 -1
  282. package/dist/types/next-schema/nodes/tableCellContent.d.ts +1 -1
  283. package/dist/types/next-schema/nodes/tableNodes.d.ts +1 -1
  284. package/dist/types/next-schema/nodes/task.d.ts +3 -3
  285. package/dist/types/next-schema/nodes/text.d.ts +5 -5
  286. package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +1 -1
  287. package/dist/types/next-schema/nodes/unsupportedInline.d.ts +1 -1
  288. package/dist/types/schema/bitbucket-schema.d.ts +1 -1
  289. package/dist/types/schema/confluence-schema.d.ts +1 -1
  290. package/dist/types/schema/create-schema.d.ts +4 -3
  291. package/dist/types/schema/createPMSpecFactory.d.ts +3 -3
  292. package/dist/types/schema/default-schema.d.ts +1 -1
  293. package/dist/types/schema/index.d.ts +1 -1
  294. package/dist/types/schema/jira-schema.d.ts +8 -8
  295. package/dist/types/schema/marks/alignment.d.ts +2 -2
  296. package/dist/types/schema/marks/annotation.d.ts +5 -5
  297. package/dist/types/schema/marks/background-color.d.ts +3 -3
  298. package/dist/types/schema/marks/border.d.ts +6 -6
  299. package/dist/types/schema/marks/breakout.d.ts +2 -2
  300. package/dist/types/schema/marks/code.d.ts +1 -1
  301. package/dist/types/schema/marks/confluence-inline-comment.d.ts +2 -2
  302. package/dist/types/schema/marks/data-consumer.d.ts +2 -2
  303. package/dist/types/schema/marks/em.d.ts +1 -1
  304. package/dist/types/schema/marks/fragment.d.ts +2 -2
  305. package/dist/types/schema/marks/indentation.d.ts +2 -2
  306. package/dist/types/schema/marks/index.d.ts +3 -3
  307. package/dist/types/schema/marks/link.d.ts +12 -12
  308. package/dist/types/schema/marks/strike.d.ts +1 -1
  309. package/dist/types/schema/marks/strong.d.ts +1 -1
  310. package/dist/types/schema/marks/subsup.d.ts +2 -2
  311. package/dist/types/schema/marks/text-color.d.ts +2 -2
  312. package/dist/types/schema/marks/type-ahead-query.d.ts +1 -1
  313. package/dist/types/schema/marks/underline.d.ts +1 -1
  314. package/dist/types/schema/marks/unsupported-mark.d.ts +1 -1
  315. package/dist/types/schema/marks/unsupported-node-attributes.d.ts +1 -1
  316. package/dist/types/schema/nodes/block-card.d.ts +6 -6
  317. package/dist/types/schema/nodes/blockquote.d.ts +10 -11
  318. package/dist/types/schema/nodes/bodied-extension.d.ts +7 -7
  319. package/dist/types/schema/nodes/bodied-sync-block.d.ts +23 -24
  320. package/dist/types/schema/nodes/caption.d.ts +12 -12
  321. package/dist/types/schema/nodes/code-block.d.ts +7 -7
  322. package/dist/types/schema/nodes/date.d.ts +3 -3
  323. package/dist/types/schema/nodes/decision-item.d.ts +6 -6
  324. package/dist/types/schema/nodes/decision-list.d.ts +5 -5
  325. package/dist/types/schema/nodes/doc.d.ts +10 -10
  326. package/dist/types/schema/nodes/embed-card.d.ts +4 -4
  327. package/dist/types/schema/nodes/emoji.d.ts +3 -3
  328. package/dist/types/schema/nodes/expand.d.ts +7 -7
  329. package/dist/types/schema/nodes/extension.d.ts +5 -5
  330. package/dist/types/schema/nodes/heading.d.ts +9 -9
  331. package/dist/types/schema/nodes/index.d.ts +6 -6
  332. package/dist/types/schema/nodes/inline-card.d.ts +3 -3
  333. package/dist/types/schema/nodes/inline-extension.d.ts +5 -5
  334. package/dist/types/schema/nodes/layout-column.d.ts +3 -3
  335. package/dist/types/schema/nodes/layout-section.d.ts +9 -9
  336. package/dist/types/schema/nodes/media-group.d.ts +2 -2
  337. package/dist/types/schema/nodes/media-inline.d.ts +6 -6
  338. package/dist/types/schema/nodes/media-single.d.ts +10 -10
  339. package/dist/types/schema/nodes/media.d.ts +27 -27
  340. package/dist/types/schema/nodes/mention.d.ts +5 -5
  341. package/dist/types/schema/nodes/multi-bodied-extension.d.ts +21 -22
  342. package/dist/types/schema/nodes/nested-expand.d.ts +14 -14
  343. package/dist/types/schema/nodes/panel.d.ts +14 -15
  344. package/dist/types/schema/nodes/paragraph.d.ts +5 -5
  345. package/dist/types/schema/nodes/rule.d.ts +1 -1
  346. package/dist/types/schema/nodes/status.d.ts +6 -6
  347. package/dist/types/schema/nodes/sync-block.d.ts +7 -7
  348. package/dist/types/schema/nodes/tableNodes.d.ts +36 -37
  349. package/dist/types/schema/nodes/task-item.d.ts +13 -13
  350. package/dist/types/schema/nodes/task-list.d.ts +5 -5
  351. package/dist/types/schema/nodes/types/block-content.d.ts +17 -18
  352. package/dist/types/schema/nodes/types/inline-content.d.ts +12 -12
  353. package/dist/types/schema/nodes/types/list.d.ts +18 -18
  354. package/dist/types/schema/nodes/types/non-nestable-block-content.d.ts +15 -16
  355. package/dist/types/schema/nodes/unknown-block.d.ts +1 -1
  356. package/dist/types/schema/sanitizeNodes.d.ts +1 -1
  357. package/dist/types/steps/analytics.d.ts +4 -3
  358. package/dist/types/steps/batch-attrs-step.d.ts +4 -4
  359. package/dist/types/steps/link-meta-step.d.ts +7 -6
  360. package/dist/types/steps/override-document-step.d.ts +4 -4
  361. package/dist/types/steps/set-attrs.d.ts +4 -3
  362. package/dist/types/steps/type-ahead.d.ts +2 -2
  363. package/dist/types/utils/colors.d.ts +1 -1
  364. package/dist/types/utils/confluence/emoji.d.ts +1 -1
  365. package/dist/types/utils/extensions.d.ts +1 -1
  366. package/dist/types/utils/index.d.ts +1 -1
  367. package/dist/types/utils/url.d.ts +3 -3
  368. package/dist/types/validator-schema/generated/validatorSpec.d.ts +12 -12
  369. package/dist/types-ts4.5/index.d.ts +8 -0
  370. package/dist/types-ts4.5/next-schema/full-schema.adf.d.ts +4 -0
  371. package/dist/types-ts4.5/next-schema/generated/markTypes.d.ts +206 -0
  372. package/dist/types-ts4.5/next-schema/generated/nodeGroupTypes.d.ts +10 -0
  373. package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +976 -0
  374. package/dist/types-ts4.5/next-schema/groups/blockContentGroup.d.ts +12 -0
  375. package/dist/types-ts4.5/next-schema/groups/blockGroup.d.ts +1 -0
  376. package/dist/types-ts4.5/next-schema/groups/blockRootOnlyGroup.d.ts +1 -0
  377. package/dist/types-ts4.5/next-schema/groups/fontStyleGroup.d.ts +1 -0
  378. package/dist/types-ts4.5/next-schema/groups/inlineContentGroup.d.ts +10 -0
  379. package/dist/types-ts4.5/next-schema/groups/inlineGroup.d.ts +1 -0
  380. package/dist/types-ts4.5/next-schema/groups/linkMarkGroup.d.ts +1 -0
  381. package/dist/types-ts4.5/next-schema/groups/nonNestableBlockContentGroup.d.ts +30 -0
  382. package/dist/types-ts4.5/next-schema/groups/searchQueryMarkGroup.d.ts +1 -0
  383. package/dist/types-ts4.5/next-schema/groups/tableCellContentPseudoGroup.d.ts +26 -0
  384. package/dist/types-ts4.5/next-schema/index.d.ts +3 -0
  385. package/dist/types-ts4.5/next-schema/marks/alignmentAndIndentation.d.ts +2 -0
  386. package/dist/types-ts4.5/next-schema/marks/annotation.d.ts +2 -0
  387. package/dist/types-ts4.5/next-schema/marks/border.d.ts +1 -0
  388. package/dist/types-ts4.5/next-schema/marks/breakout.d.ts +1 -0
  389. package/dist/types-ts4.5/next-schema/marks/code.d.ts +1 -0
  390. package/dist/types-ts4.5/next-schema/marks/color.d.ts +3 -0
  391. package/dist/types-ts4.5/next-schema/marks/confluenceInlineComment.d.ts +1 -0
  392. package/dist/types-ts4.5/next-schema/marks/dataConsumer.d.ts +1 -0
  393. package/dist/types-ts4.5/next-schema/marks/em.d.ts +1 -0
  394. package/dist/types-ts4.5/next-schema/marks/fragment.d.ts +1 -0
  395. package/dist/types-ts4.5/next-schema/marks/link.d.ts +1 -0
  396. package/dist/types-ts4.5/next-schema/marks/strike.d.ts +1 -0
  397. package/dist/types-ts4.5/next-schema/marks/strong.d.ts +1 -0
  398. package/dist/types-ts4.5/next-schema/marks/subsup.d.ts +1 -0
  399. package/dist/types-ts4.5/next-schema/marks/typeAheadQuery.d.ts +1 -0
  400. package/dist/types-ts4.5/next-schema/marks/underline.d.ts +1 -0
  401. package/dist/types-ts4.5/next-schema/marks/unsupportedMark.d.ts +1 -0
  402. package/dist/types-ts4.5/next-schema/marks/unsupportedNodeAttribute.d.ts +1 -0
  403. package/dist/types-ts4.5/next-schema/nodes/blockCard.d.ts +3 -0
  404. package/dist/types-ts4.5/next-schema/nodes/blockquote.d.ts +14 -0
  405. package/dist/types-ts4.5/next-schema/nodes/bodiedExtension.d.ts +8 -0
  406. package/dist/types-ts4.5/next-schema/nodes/bodiedSyncBlock.d.ts +3 -0
  407. package/dist/types-ts4.5/next-schema/nodes/caption.d.ts +3 -0
  408. package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +8 -0
  409. package/dist/types-ts4.5/next-schema/nodes/confluenceJiraIssue.d.ts +3 -0
  410. package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedBlock.d.ts +3 -0
  411. package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedInline.d.ts +3 -0
  412. package/dist/types-ts4.5/next-schema/nodes/date.d.ts +3 -0
  413. package/dist/types-ts4.5/next-schema/nodes/decisionItem.d.ts +3 -0
  414. package/dist/types-ts4.5/next-schema/nodes/decisionList.d.ts +3 -0
  415. package/dist/types-ts4.5/next-schema/nodes/embedCard.d.ts +3 -0
  416. package/dist/types-ts4.5/next-schema/nodes/emoji.d.ts +3 -0
  417. package/dist/types-ts4.5/next-schema/nodes/expand.d.ts +8 -0
  418. package/dist/types-ts4.5/next-schema/nodes/extension.d.ts +7 -0
  419. package/dist/types-ts4.5/next-schema/nodes/extensionFrame.d.ts +3 -0
  420. package/dist/types-ts4.5/next-schema/nodes/hardBreak.d.ts +3 -0
  421. package/dist/types-ts4.5/next-schema/nodes/heading.d.ts +38 -0
  422. package/dist/types-ts4.5/next-schema/nodes/image.d.ts +3 -0
  423. package/dist/types-ts4.5/next-schema/nodes/inlineCard.d.ts +6 -0
  424. package/dist/types-ts4.5/next-schema/nodes/inlineExtension.d.ts +6 -0
  425. package/dist/types-ts4.5/next-schema/nodes/layoutColumn.d.ts +3 -0
  426. package/dist/types-ts4.5/next-schema/nodes/layoutSection.d.ts +25 -0
  427. package/dist/types-ts4.5/next-schema/nodes/list.d.ts +6 -0
  428. package/dist/types-ts4.5/next-schema/nodes/media.d.ts +3 -0
  429. package/dist/types-ts4.5/next-schema/nodes/mediaGroup.d.ts +3 -0
  430. package/dist/types-ts4.5/next-schema/nodes/mediaInline.d.ts +3 -0
  431. package/dist/types-ts4.5/next-schema/nodes/mediaSingle.d.ts +57 -0
  432. package/dist/types-ts4.5/next-schema/nodes/mention.d.ts +3 -0
  433. package/dist/types-ts4.5/next-schema/nodes/multiBodiedExtension.d.ts +3 -0
  434. package/dist/types-ts4.5/next-schema/nodes/nestedExpand.d.ts +11 -0
  435. package/dist/types-ts4.5/next-schema/nodes/panel.d.ts +3 -0
  436. package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +24 -0
  437. package/dist/types-ts4.5/next-schema/nodes/placeholder.d.ts +3 -0
  438. package/dist/types-ts4.5/next-schema/nodes/rule.d.ts +3 -0
  439. package/dist/types-ts4.5/next-schema/nodes/status.d.ts +3 -0
  440. package/dist/types-ts4.5/next-schema/nodes/syncBlock.d.ts +3 -0
  441. package/dist/types-ts4.5/next-schema/nodes/tableCellContent.d.ts +3 -0
  442. package/dist/types-ts4.5/next-schema/nodes/tableNodes.d.ts +4 -0
  443. package/dist/types-ts4.5/next-schema/nodes/task.d.ts +9 -0
  444. package/dist/types-ts4.5/next-schema/nodes/text.d.ts +25 -0
  445. package/dist/types-ts4.5/next-schema/nodes/unsupportedBlock.d.ts +3 -0
  446. package/dist/types-ts4.5/next-schema/nodes/unsupportedInline.d.ts +3 -0
  447. package/dist/types-ts4.5/schema/bitbucket-schema.d.ts +5 -0
  448. package/dist/types-ts4.5/schema/confluence-schema.d.ts +9 -0
  449. package/dist/types-ts4.5/schema/create-schema.d.ts +27 -0
  450. package/dist/types-ts4.5/schema/createPMSpecFactory.d.ts +33 -0
  451. package/dist/types-ts4.5/schema/default-schema.d.ts +7 -0
  452. package/dist/types-ts4.5/schema/groups.d.ts +6 -0
  453. package/dist/types-ts4.5/schema/index.d.ts +12 -0
  454. package/dist/types-ts4.5/schema/inline-nodes.d.ts +1 -0
  455. package/dist/types-ts4.5/schema/jira-schema.d.ts +65 -0
  456. package/dist/types-ts4.5/schema/marks/alignment.d.ts +16 -0
  457. package/dist/types-ts4.5/schema/marks/annotation.d.ts +32 -0
  458. package/dist/types-ts4.5/schema/marks/background-color.d.ts +20 -0
  459. package/dist/types-ts4.5/schema/marks/border.d.ts +23 -0
  460. package/dist/types-ts4.5/schema/marks/breakout.d.ts +12 -0
  461. package/dist/types-ts4.5/schema/marks/code.d.ts +8 -0
  462. package/dist/types-ts4.5/schema/marks/confluence-inline-comment.d.ts +12 -0
  463. package/dist/types-ts4.5/schema/marks/data-consumer.d.ts +46 -0
  464. package/dist/types-ts4.5/schema/marks/em.d.ts +8 -0
  465. package/dist/types-ts4.5/schema/marks/fragment.d.ts +29 -0
  466. package/dist/types-ts4.5/schema/marks/indentation.d.ts +16 -0
  467. package/dist/types-ts4.5/schema/marks/index.d.ts +36 -0
  468. package/dist/types-ts4.5/schema/marks/link.d.ts +39 -0
  469. package/dist/types-ts4.5/schema/marks/strike.d.ts +8 -0
  470. package/dist/types-ts4.5/schema/marks/strong.d.ts +8 -0
  471. package/dist/types-ts4.5/schema/marks/subsup.d.ts +15 -0
  472. package/dist/types-ts4.5/schema/marks/text-color.d.ts +26 -0
  473. package/dist/types-ts4.5/schema/marks/type-ahead-query.d.ts +2 -0
  474. package/dist/types-ts4.5/schema/marks/underline.d.ts +8 -0
  475. package/dist/types-ts4.5/schema/marks/unsupported-mark.d.ts +2 -0
  476. package/dist/types-ts4.5/schema/marks/unsupported-node-attributes.d.ts +2 -0
  477. package/dist/types-ts4.5/schema/nodes/block-card.d.ts +44 -0
  478. package/dist/types-ts4.5/schema/nodes/blockquote.d.ts +27 -0
  479. package/dist/types-ts4.5/schema/nodes/bodied-extension.d.ts +23 -0
  480. package/dist/types-ts4.5/schema/nodes/bodied-sync-block.d.ts +43 -0
  481. package/dist/types-ts4.5/schema/nodes/bullet-list.d.ts +3 -0
  482. package/dist/types-ts4.5/schema/nodes/caption.d.ts +24 -0
  483. package/dist/types-ts4.5/schema/nodes/code-block.d.ts +31 -0
  484. package/dist/types-ts4.5/schema/nodes/confluence-jira-issue.d.ts +1 -0
  485. package/dist/types-ts4.5/schema/nodes/confluence-unsupported-block.d.ts +1 -0
  486. package/dist/types-ts4.5/schema/nodes/confluence-unsupported-inline.d.ts +1 -0
  487. package/dist/types-ts4.5/schema/nodes/date.d.ts +20 -0
  488. package/dist/types-ts4.5/schema/nodes/decision-item.d.ts +16 -0
  489. package/dist/types-ts4.5/schema/nodes/decision-list.d.ts +17 -0
  490. package/dist/types-ts4.5/schema/nodes/doc.d.ts +20 -0
  491. package/dist/types-ts4.5/schema/nodes/embed-card.d.ts +19 -0
  492. package/dist/types-ts4.5/schema/nodes/emoji.d.ts +20 -0
  493. package/dist/types-ts4.5/schema/nodes/expand.d.ts +34 -0
  494. package/dist/types-ts4.5/schema/nodes/extension.d.ts +17 -0
  495. package/dist/types-ts4.5/schema/nodes/hard-break.d.ts +10 -0
  496. package/dist/types-ts4.5/schema/nodes/heading.d.ts +39 -0
  497. package/dist/types-ts4.5/schema/nodes/image.d.ts +1 -0
  498. package/dist/types-ts4.5/schema/nodes/index.d.ts +98 -0
  499. package/dist/types-ts4.5/schema/nodes/inline-card.d.ts +15 -0
  500. package/dist/types-ts4.5/schema/nodes/inline-extension.d.ts +17 -0
  501. package/dist/types-ts4.5/schema/nodes/layout-column.d.ts +22 -0
  502. package/dist/types-ts4.5/schema/nodes/layout-section.d.ts +49 -0
  503. package/dist/types-ts4.5/schema/nodes/list-item.d.ts +12 -0
  504. package/dist/types-ts4.5/schema/nodes/media-group.d.ts +13 -0
  505. package/dist/types-ts4.5/schema/nodes/media-inline.d.ts +20 -0
  506. package/dist/types-ts4.5/schema/nodes/media-single.d.ts +69 -0
  507. package/dist/types-ts4.5/schema/nodes/media.d.ts +71 -0
  508. package/dist/types-ts4.5/schema/nodes/mention.d.ts +30 -0
  509. package/dist/types-ts4.5/schema/nodes/multi-bodied-extension.d.ts +50 -0
  510. package/dist/types-ts4.5/schema/nodes/nested-expand.d.ts +40 -0
  511. package/dist/types-ts4.5/schema/nodes/ordered-list.d.ts +5 -0
  512. package/dist/types-ts4.5/schema/nodes/panel.d.ts +50 -0
  513. package/dist/types-ts4.5/schema/nodes/paragraph.d.ts +43 -0
  514. package/dist/types-ts4.5/schema/nodes/placeholder.d.ts +12 -0
  515. package/dist/types-ts4.5/schema/nodes/rule.d.ts +11 -0
  516. package/dist/types-ts4.5/schema/nodes/status.d.ts +24 -0
  517. package/dist/types-ts4.5/schema/nodes/sync-block.d.ts +22 -0
  518. package/dist/types-ts4.5/schema/nodes/tableNodes.d.ts +159 -0
  519. package/dist/types-ts4.5/schema/nodes/task-item.d.ts +33 -0
  520. package/dist/types-ts4.5/schema/nodes/task-list.d.ts +20 -0
  521. package/dist/types-ts4.5/schema/nodes/text.d.ts +12 -0
  522. package/dist/types-ts4.5/schema/nodes/types/block-content.d.ts +21 -0
  523. package/dist/types-ts4.5/schema/nodes/types/extensions.d.ts +34 -0
  524. package/dist/types-ts4.5/schema/nodes/types/inline-content.d.ts +28 -0
  525. package/dist/types-ts4.5/schema/nodes/types/list.d.ts +51 -0
  526. package/dist/types-ts4.5/schema/nodes/types/mark.d.ts +15 -0
  527. package/dist/types-ts4.5/schema/nodes/types/non-nestable-block-content.d.ts +19 -0
  528. package/dist/types-ts4.5/schema/nodes/types/rich-media-common.d.ts +37 -0
  529. package/dist/types-ts4.5/schema/nodes/unknown-block.d.ts +3 -0
  530. package/dist/types-ts4.5/schema/nodes/unsupported-block.d.ts +1 -0
  531. package/dist/types-ts4.5/schema/nodes/unsupported-inline.d.ts +1 -0
  532. package/dist/types-ts4.5/schema/sanitizeNodes.d.ts +8 -0
  533. package/dist/types-ts4.5/schema/unsupported.d.ts +1 -0
  534. package/dist/types-ts4.5/steps/analytics.d.ts +60 -0
  535. package/dist/types-ts4.5/steps/batch-attrs-step.d.ts +74 -0
  536. package/dist/types-ts4.5/steps/link-meta-step.d.ts +50 -0
  537. package/dist/types-ts4.5/steps/override-document-step.d.ts +26 -0
  538. package/dist/types-ts4.5/steps/set-attrs.d.ts +24 -0
  539. package/dist/types-ts4.5/steps/type-ahead.d.ts +35 -0
  540. package/dist/types-ts4.5/steps/types.d.ts +96 -0
  541. package/dist/types-ts4.5/steps.d.ts +10 -0
  542. package/dist/types-ts4.5/utils/colors.d.ts +81 -0
  543. package/dist/types-ts4.5/utils/confluence/emoji.d.ts +50 -0
  544. package/dist/types-ts4.5/utils/editor-palette.d.ts +257 -0
  545. package/dist/types-ts4.5/utils/extensions.d.ts +3 -0
  546. package/dist/types-ts4.5/utils/index.d.ts +7 -0
  547. package/dist/types-ts4.5/utils/lch-color-inversion.d.ts +2 -0
  548. package/dist/types-ts4.5/utils/parseDOM.d.ts +1 -0
  549. package/dist/types-ts4.5/utils/url.d.ts +40 -0
  550. package/dist/types-ts4.5/utils/uuid.d.ts +5 -0
  551. package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +1981 -0
  552. package/eslint-plugin-warn-schema.js +2 -1
  553. package/eslint.config.js +12 -14
  554. package/json-schema/package.json +8 -1
  555. package/json-schema/v1/full.json +3 -0
  556. package/json-schema/v1/stage-0.json +6 -0
  557. package/package.json +90 -82
  558. package/schema/package.json +8 -1
  559. package/schema-bitbucket/package.json +8 -1
  560. package/schema-confluence/package.json +8 -1
  561. package/schema-default/package.json +8 -1
  562. package/schema-generators/__tests__/helpers/_utils.ts +73 -77
  563. package/schema-generators/__tests__/helpers/utils.unit.ts +53 -59
  564. package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +79 -84
  565. package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +43 -40
  566. package/schema-generators/__tests__/unit/validator-schema.ts +3 -3
  567. package/schema-generators/helpers/writeToFile.ts +12 -11
  568. package/schema-generators/json-full-schema.ts +4 -4
  569. package/schema-generators/pm-full-schema.ts +7 -5
  570. package/schema-generators/validator-full-schema.ts +7 -9
  571. package/schema-jira/package.json +8 -1
  572. package/schema-next/package.json +9 -3
  573. package/schema-validator/package.json +9 -3
  574. package/steps/package.json +8 -1
  575. package/url/package.json +8 -1
  576. package/warn-schema-change.js +121 -136
  577. package/warn-schema-change.test.js +31 -30
  578. package/copy-dist-to-afe.js +0 -32
  579. package/dist/json-schema/package.json +0 -8
  580. package/dist/json-schema/v1/full.json +0 -2916
  581. package/dist/json-schema/v1/stage-0.json +0 -3211
  582. package/dist/types/json-schema/index.d.ts +0 -2
  583. package/sanitize-nodes/package.json +0 -8
@@ -1 +1 @@
1
- export declare const rule: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
1
+ export declare const rule: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
@@ -1 +1 @@
1
- export declare const status: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
1
+ export declare const status: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
@@ -1 +1 @@
1
- export declare const syncBlock: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
1
+ export declare const syncBlock: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
@@ -1 +1 @@
1
- export declare const tableCellContent: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
1
+ export declare const tableCellContent: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
@@ -1,2 +1,2 @@
1
- declare const table: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
1
+ declare const table: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
2
2
  export { table };
@@ -1,3 +1,3 @@
1
- export declare const taskItem: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
2
- export declare const taskList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
3
- export declare const blockTaskItem: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
1
+ export declare const taskItem: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
2
+ export declare const taskList: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
3
+ export declare const blockTaskItem: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
@@ -1,11 +1,11 @@
1
- export declare const text: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_no_marks", "link_inline", "formatted", "code_inline"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
2
- marks: any[];
1
+ export declare const text: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string, "with_no_marks", "link_inline", "formatted", "code_inline"], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec & {
2
+ marks: never[];
3
3
  noMarks: true;
4
4
  } & {
5
- marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
5
+ marks: import("packages/editor/adf-schema-generator/src/adfMark").ADFMark<import("packages/editor/adf-schema-generator/src/types/ADFMarkSpec").ADFMarkSpec>[];
6
6
  ignore: ("pm-spec" | "json-schema")[];
7
7
  } & {
8
- marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
8
+ marks: import("packages/editor/adf-schema-generator/src/adfMark").ADFMark<import("packages/editor/adf-schema-generator/src/types/ADFMarkSpec").ADFMarkSpec>[];
9
9
  DANGEROUS_MANUAL_OVERRIDE: {
10
10
  'validator-spec': {
11
11
  'props.marks.items[0][9]': {
@@ -15,5 +15,5 @@ export declare const text: import("@atlaskit/adf-schema-generator/dist/types/adf
15
15
  };
16
16
  };
17
17
  } & {
18
- marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
18
+ marks: import("packages/editor/adf-schema-generator/src/adfMark").ADFMark<import("packages/editor/adf-schema-generator/src/types/ADFMarkSpec").ADFMarkSpec>[];
19
19
  }>;
@@ -1 +1 @@
1
- export declare const unsupportedBlock: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
1
+ export declare const unsupportedBlock: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
@@ -1 +1 @@
1
- export declare const unsupportedInline: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec>;
1
+ export declare const unsupportedInline: import("packages/editor/adf-schema-generator/src/adfNode").ADFNode<[string], import("packages/editor/adf-schema-generator/src/types/ADFNodeSpec").ADFCommonNodeSpec>;
@@ -1,4 +1,4 @@
1
- import { Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
4
4
  **/
@@ -1,4 +1,4 @@
1
- import { Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
4
4
  **/
@@ -1,4 +1,5 @@
1
- import { NodeSpec, MarkSpec, Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { NodeSpec, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import { Schema } from '@atlaskit/editor-prosemirror/model';
2
3
  export declare function getNodesAndMarksMap(): {
3
4
  nodes: Record<string, NodeSpec>;
4
5
  marks: Record<string, MarkSpec>;
@@ -8,10 +9,10 @@ export declare function getNodesAndMarksMap(): {
8
9
  */
9
10
  export declare function createSchema<N extends string = string, M extends string = string>(config: SchemaConfig<N, M>): Schema<N, M>;
10
11
  export interface SchemaConfig<N = string, M = string> {
11
- nodes: N[];
12
+ customMarkSpecs?: SchemaCustomMarkSpecs;
12
13
  customNodeSpecs?: SchemaCustomNodeSpecs;
13
14
  marks?: M[];
14
- customMarkSpecs?: SchemaCustomMarkSpecs;
15
+ nodes: N[];
15
16
  }
16
17
  export interface SchemaBuiltInItem {
17
18
  name: string;
@@ -1,14 +1,14 @@
1
- import { DOMOutputSpec, Node as PMNode, NodeSpec, Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { DOMOutputSpec, Node as PMNode, NodeSpec, Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export type NodeSpecOptions<N extends PMNode> = {
3
- toDOM?: (node: N) => DOMOutputSpec;
4
3
  parseDOM?: NodeSpec['parseDOM'];
5
4
  toDebugString?: () => string;
5
+ toDOM?: (node: N) => DOMOutputSpec;
6
6
  };
7
7
  export type NodeSpecFactory = typeof createPMNodeSpecFactory;
8
8
  export type MarkSpecOptions<M extends Mark> = {
9
- toDOM?: (mark: M, inline: boolean) => DOMOutputSpec;
10
9
  parseDOM?: MarkSpec['parseDOM'];
11
10
  toDebugString?: () => string;
11
+ toDOM?: (mark: M, inline: boolean) => DOMOutputSpec;
12
12
  };
13
13
  export type MarkSpecFactory = typeof createPMMarkSpecFactory;
14
14
  /**
@@ -1,4 +1,4 @@
1
- import { SchemaConfig } from './create-schema';
1
+ import type { SchemaConfig } from './create-schema';
2
2
  type DefaultSchemaNodes = 'doc' | 'paragraph' | 'text' | 'bulletList' | 'orderedList' | 'listItem' | 'heading' | 'blockquote' | 'codeBlock' | 'panel' | 'rule' | 'image' | 'mention' | 'media' | 'caption' | 'mediaGroup' | 'mediaSingle' | 'mediaInline' | 'confluenceUnsupportedBlock' | 'confluenceUnsupportedInline' | 'confluenceJiraIssue' | 'expand' | 'nestedExpand' | 'extension' | 'inlineExtension' | 'bodiedExtension' | 'hardBreak' | 'emoji' | 'table' | 'tableCell' | 'tableHeader' | 'tableRow' | 'decisionList' | 'decisionItem' | 'taskList' | 'taskItem' | 'blockTaskItem' | 'unknownBlock' | 'date' | 'status' | 'placeholder' | 'layoutSection' | 'layoutColumn' | 'inlineCard' | 'blockCard' | 'embedCard' | 'syncBlock' | 'bodiedSyncBlock' | 'unsupportedBlock' | 'unsupportedInline';
3
3
  type DefaultSchemaMarks = 'link' | 'em' | 'strong' | 'strike' | 'subsup' | 'underline' | 'code' | 'textColor' | 'backgroundColor' | 'confluenceInlineComment' | 'breakout' | 'alignment' | 'indentation' | 'annotation' | 'border' | 'unsupportedMark' | 'unsupportedNodeAttribute' | 'typeAheadQuery' | 'dataConsumer' | 'fragment';
4
4
  export declare const defaultSchemaConfig: SchemaConfig<DefaultSchemaNodes, DefaultSchemaMarks>;
@@ -9,4 +9,4 @@ export { inlineNodes } from './inline-nodes';
9
9
  export { createSchema } from './create-schema';
10
10
  export { sanitizeNodes } from './sanitizeNodes';
11
11
  export type { NodeSpecOptions, MarkSpecOptions } from './createPMSpecFactory';
12
- export { createPMNodeSpecFactory, createPMMarkSpecFactory, } from './createPMSpecFactory';
12
+ export { createPMNodeSpecFactory, createPMMarkSpecFactory } from './createPMSpecFactory';
@@ -1,19 +1,19 @@
1
- import { Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
4
4
  **/
5
5
  export interface JIRASchemaConfig {
6
- allowLists?: boolean;
7
- allowMentions?: boolean;
8
- allowEmojis?: boolean;
9
- allowLinks?: boolean;
10
6
  allowAdvancedTextFormatting?: boolean;
11
- allowCodeBlock?: boolean;
12
7
  allowBlockQuote?: boolean;
13
- allowSubSup?: boolean;
8
+ allowCodeBlock?: boolean;
9
+ allowEmojis?: boolean;
10
+ allowLinks?: boolean;
11
+ allowLists?: boolean;
14
12
  allowMedia?: boolean;
15
- allowTextColor?: boolean;
13
+ allowMentions?: boolean;
14
+ allowSubSup?: boolean;
16
15
  allowTables?: boolean;
16
+ allowTextColor?: boolean;
17
17
  }
18
18
  /**
19
19
  * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
@@ -1,4 +1,4 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /** TODO: Flip these positions for RTL */
3
3
  export declare const alignmentPositionMap: {
4
4
  [key: string]: string;
@@ -10,7 +10,7 @@ export interface AlignmentAttributes {
10
10
  * @name alignment_mark
11
11
  */
12
12
  export interface AlignmentMarkDefinition {
13
- type: 'alignment';
14
13
  attrs: AlignmentAttributes;
14
+ type: 'alignment';
15
15
  }
16
16
  export declare const alignment: MarkSpec;
@@ -1,14 +1,14 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name annotation_mark
4
4
  */
5
5
  export interface AnnotationMarkDefinition {
6
- type: 'annotation';
7
6
  attrs: AnnotationMarkAttributes;
7
+ type: 'annotation';
8
8
  }
9
9
  export interface AnnotationMarkAttributes {
10
- id: AnnotationId;
11
10
  annotationType: AnnotationTypes;
11
+ id: AnnotationId;
12
12
  }
13
13
  export type AnnotationId = string;
14
14
  export declare enum AnnotationTypes {
@@ -19,10 +19,10 @@ export declare enum AnnotationMarkStates {
19
19
  ACTIVE = "active"
20
20
  }
21
21
  export type AnnotationDataAttributes = {
22
- 'data-mark-type': string;
23
- 'data-mark-annotation-type': AnnotationTypes;
24
22
  'data-id': AnnotationId;
25
23
  'data-mark-annotation-state'?: AnnotationMarkStates;
24
+ 'data-mark-annotation-type': AnnotationTypes;
25
+ 'data-mark-type': string;
26
26
  };
27
27
  type BuildDataAttributesProps = AnnotationMarkAttributes & {
28
28
  state?: AnnotationMarkStates | undefined | null;
@@ -1,11 +1,11 @@
1
- import { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- import { TextColorAttributes } from './text-color';
1
+ import type { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import type { TextColorAttributes } from './text-color';
3
3
  /**
4
4
  * @name backgroundColor_mark
5
5
  */
6
6
  export interface BackgroundColorDefinition {
7
- type: 'backgroundColor';
8
7
  attrs: TextColorAttributes;
8
+ type: 'backgroundColor';
9
9
  }
10
10
  export interface BackgroundColorMark extends Mark {
11
11
  attrs: TextColorAttributes;
@@ -1,22 +1,22 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export type BorderMarkAttributes = {
3
+ /**
4
+ * @pattern "^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$"
5
+ */
6
+ color: string;
3
7
  /**
4
8
  * @minimum 1
5
9
  * @maximum 3
6
10
  */
7
11
  size: number;
8
- /**
9
- * @pattern "^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$"
10
- */
11
- color: string;
12
12
  };
13
13
  /**
14
14
  * @name border_mark
15
15
  * @description This mark adds decoration to an element, and any element decorated with it will also have a border style.
16
16
  */
17
17
  export interface BorderMarkDefinition {
18
- type: 'border';
19
18
  attrs: BorderMarkAttributes;
19
+ type: 'border';
20
20
  }
21
21
  export type BorderColorKey = 'Subtle gray' | 'Gray' | 'Bold gray';
22
22
  export declare const borderColorPalette: Map<string, BorderColorKey>;
@@ -1,4 +1,4 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export type BreakoutMarkAttrs = {
3
3
  mode: 'wide' | 'full-width';
4
4
  };
@@ -6,7 +6,7 @@ export type BreakoutMarkAttrs = {
6
6
  * @name breakout_mark
7
7
  */
8
8
  export interface BreakoutMarkDefinition {
9
- type: 'breakout';
10
9
  attrs: BreakoutMarkAttrs;
10
+ type: 'breakout';
11
11
  }
12
12
  export declare const breakout: MarkSpec;
@@ -1,4 +1,4 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name code_mark
4
4
  */
@@ -1,12 +1,12 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name inline_comment_marker
4
4
  * @description This temporary mark represents a Confluence-backed inline comment that wraps a piece of text. It will be replaced with a cross-product inline comment solution at later date.
5
5
  */
6
6
  export interface ConfluenceInlineCommentDefinition {
7
- type: 'confluenceInlineComment';
8
7
  attrs: {
9
8
  reference: string;
10
9
  };
10
+ type: 'confluenceInlineComment';
11
11
  }
12
12
  export declare const confluenceInlineComment: MarkSpec;
@@ -1,4 +1,4 @@
1
- import { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * This annotation is purely for reference, & does _nothing_ given annotating
4
4
  * `minLength` on an array of strings is not supported with our schema+spec
@@ -22,8 +22,8 @@ export interface DataConsumerAttributes {
22
22
  * from a given source node
23
23
  */
24
24
  export interface DataConsumerDefinition {
25
- type: 'dataConsumer';
26
25
  attrs: DataConsumerAttributes;
26
+ type: 'dataConsumer';
27
27
  }
28
28
  export interface DataConsumerMark extends Mark {
29
29
  attrs: DataConsumerAttributes;
@@ -1,4 +1,4 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name em_mark
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export type LocalId = string;
3
3
  export interface FragmentAttributes {
4
4
  /**
@@ -13,8 +13,8 @@ export interface FragmentAttributes {
13
13
  * This entity can be referred to later by its `localId` attribute.
14
14
  */
15
15
  export interface FragmentDefinition {
16
- type: 'fragment';
17
16
  attrs: FragmentAttributes;
17
+ type: 'fragment';
18
18
  }
19
19
  export interface FragmentMark extends Mark {
20
20
  attrs: FragmentAttributes;
@@ -1,4 +1,4 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export interface IndentationMarkAttributes {
3
3
  /**
4
4
  * @minimum 1
@@ -10,7 +10,7 @@ export interface IndentationMarkAttributes {
10
10
  * @name indentation_mark
11
11
  */
12
12
  export interface IndentationMarkDefinition {
13
- type: 'indentation';
14
13
  attrs: IndentationMarkAttributes;
14
+ type: 'indentation';
15
15
  }
16
16
  export declare const indentation: MarkSpec;
@@ -21,14 +21,14 @@ export type { BreakoutMarkAttrs, BreakoutMarkDefinition } from './breakout';
21
21
  export { alignment, alignmentPositionMap } from './alignment';
22
22
  export type { AlignmentAttributes, AlignmentMarkDefinition } from './alignment';
23
23
  export { indentation } from './indentation';
24
- export type { IndentationMarkAttributes, IndentationMarkDefinition, } from './indentation';
24
+ export type { IndentationMarkAttributes, IndentationMarkDefinition } from './indentation';
25
25
  export { annotation, AnnotationMarkStates, buildDataAttributes as buildAnnotationMarkDataAttributes, AnnotationTypes, } from './annotation';
26
26
  export type { AnnotationMarkDefinition, AnnotationMarkAttributes, AnnotationId, AnnotationDataAttributes, } from './annotation';
27
27
  export { unsupportedMark } from './unsupported-mark';
28
28
  export { unsupportedNodeAttribute } from './unsupported-node-attributes';
29
- export type { DataConsumerAttributes, DataConsumerDefinition, } from './data-consumer';
29
+ export type { DataConsumerAttributes, DataConsumerDefinition } from './data-consumer';
30
30
  export { dataConsumer, toJSON as dataConsumerToJSON } from './data-consumer';
31
- export type { FragmentAttributes, FragmentDefinition, LocalId, } from './fragment';
31
+ export type { FragmentAttributes, FragmentDefinition, LocalId } from './fragment';
32
32
  export { fragment, toJSON as fragmentToJSON } from './fragment';
33
33
  export { border, borderColorPalette } from './border';
34
34
  export type { BorderMarkAttributes, BorderMarkDefinition } from './border';
@@ -1,32 +1,32 @@
1
- import { MarkSpec, Mark } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec, Mark } from '@atlaskit/editor-prosemirror/model';
2
2
  export interface ConfluenceLinkMetadata {
3
- linkType: string;
4
- versionAtSave?: string | null;
5
- fileName?: string | null;
6
- spaceKey?: string | null;
7
- contentTitle?: string | null;
8
- isRenamedTitle?: boolean;
9
3
  anchorName?: string | null;
10
- contentId?: string | null;
11
4
  container?: ConfluenceLinkMetadata;
5
+ contentId?: string | null;
6
+ contentTitle?: string | null;
7
+ fileName?: string | null;
8
+ isRenamedTitle?: boolean;
9
+ linkType: string;
10
+ spaceKey?: string | null;
11
+ versionAtSave?: string | null;
12
12
  }
13
13
  export interface LinkAttributes {
14
+ __confluenceMetadata?: ConfluenceLinkMetadata;
15
+ collection?: string;
14
16
  /**
15
17
  * @validatorFn safeUrl
16
18
  */
17
19
  href: string;
18
- title?: string;
19
20
  id?: string;
20
- collection?: string;
21
21
  occurrenceKey?: string;
22
- __confluenceMetadata?: ConfluenceLinkMetadata;
22
+ title?: string;
23
23
  }
24
24
  /**
25
25
  * @name link_mark
26
26
  */
27
27
  export interface LinkDefinition {
28
- type: 'link';
29
28
  attrs: LinkAttributes;
29
+ type: 'link';
30
30
  }
31
31
  export declare const getLinkAttrs: (attribute: string) => (domNode: Node | string) => false | {
32
32
  __confluenceMetadata: string;
@@ -1,4 +1,4 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name strike_mark
4
4
  */
@@ -1,4 +1,4 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name strong_mark
4
4
  */
@@ -1,4 +1,4 @@
1
- import { MarkSpec, Mark } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec, Mark } from '@atlaskit/editor-prosemirror/model';
2
2
  export interface SubSupAttributes {
3
3
  type: 'sub' | 'sup';
4
4
  }
@@ -6,8 +6,8 @@ export interface SubSupAttributes {
6
6
  * @name subsup_mark
7
7
  */
8
8
  export interface SubSupDefinition {
9
- type: 'subsup';
10
9
  attrs: SubSupAttributes;
10
+ type: 'subsup';
11
11
  }
12
12
  export interface SubSupMark extends Mark {
13
13
  attrs: SubSupAttributes;
@@ -1,4 +1,4 @@
1
- import { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export interface TextColorAttributes {
3
3
  /**
4
4
  * @pattern "^#[0-9a-fA-F]{6}$"
@@ -9,8 +9,8 @@ export interface TextColorAttributes {
9
9
  * @name textColor_mark
10
10
  */
11
11
  export interface TextColorDefinition {
12
- type: 'textColor';
13
12
  attrs: TextColorAttributes;
13
+ type: 'textColor';
14
14
  }
15
15
  export interface TextColorMark extends Mark {
16
16
  attrs: TextColorAttributes;
@@ -1,2 +1,2 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export declare const typeAheadQuery: MarkSpec;
@@ -1,4 +1,4 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name underline_mark
4
4
  */
@@ -1,2 +1,2 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export declare const unsupportedMark: MarkSpec;
@@ -1,2 +1,2 @@
1
- import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
1
+ import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  export declare const unsupportedNodeAttribute: MarkSpec;
@@ -1,10 +1,10 @@
1
- import { OptionalRichMediaAttributes } from './types/rich-media-common';
1
+ import type { OptionalRichMediaAttributes } from './types/rich-media-common';
2
2
  export interface UrlType {
3
+ localId?: string;
3
4
  /**
4
5
  * @validatorFn safeUrl
5
6
  */
6
7
  url: string;
7
- localId?: string;
8
8
  }
9
9
  export interface DataType {
10
10
  /**
@@ -20,25 +20,25 @@ export interface DatasourceAttributeProperties {
20
20
  * @minItems 1
21
21
  */
22
22
  views: {
23
- type: string;
24
23
  properties?: object;
24
+ type: string;
25
25
  }[];
26
26
  }
27
27
  export interface DatasourceAttributes extends OptionalRichMediaAttributes {
28
+ datasource: DatasourceAttributeProperties;
29
+ localId?: string;
28
30
  /**
29
31
  * @validatorFn safeUrl
30
32
  */
31
33
  url?: string;
32
- datasource: DatasourceAttributeProperties;
33
- localId?: string;
34
34
  }
35
35
  export type CardAttributes = UrlType | DataType;
36
36
  /**
37
37
  * @name blockCard_node
38
38
  */
39
39
  export interface BlockCardDefinition {
40
- type: 'blockCard';
41
40
  attrs: DatasourceAttributes | CardAttributes;
41
+ type: 'blockCard';
42
42
  }
43
43
  export declare const blockCard: import("prosemirror-model").NodeSpec;
44
44
  export declare const blockCardWithLocalId: import("prosemirror-model").NodeSpec;
@@ -1,23 +1,22 @@
1
- import { ParagraphDefinition as Paragraph } from './paragraph';
2
- import { OrderedListDefinition as OrderedList } from './types/list';
3
- import { BulletListDefinition as BulletList } from './types/list';
4
- import { CodeBlockDefinition as CodeBlock } from './code-block';
5
- import { MediaGroupDefinition as MediaGroup } from './media-group';
6
- import { MediaSingleDefinition as MediaSingle } from './media-single';
7
- import { ExtensionDefinition as Extension } from './extension';
1
+ import type { ParagraphDefinition as Paragraph } from './paragraph';
2
+ import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from './types/list';
3
+ import type { CodeBlockDefinition as CodeBlock } from './code-block';
4
+ import type { MediaGroupDefinition as MediaGroup } from './media-group';
5
+ import type { MediaSingleDefinition as MediaSingle } from './media-single';
6
+ import type { ExtensionDefinition as Extension } from './extension';
8
7
  /**
9
8
  * @name blockquote_node
10
9
  */
11
10
  export interface BlockQuoteDefinition {
12
- type: 'blockquote';
11
+ attrs?: {
12
+ localId?: string;
13
+ };
13
14
  /**
14
15
  * @minItems 1
15
16
  * @allowUnsupportedBlock true
16
17
  */
17
18
  content: Array<Paragraph | OrderedList | BulletList | CodeBlock | MediaGroup | MediaSingle | Extension>;
18
- attrs?: {
19
- localId?: string;
20
- };
19
+ type: 'blockquote';
21
20
  }
22
21
  export declare const blockquote: import("prosemirror-model").NodeSpec;
23
22
  /**
@@ -1,20 +1,20 @@
1
- import { ExtensionAttributes } from './types/extensions';
2
- import { MarksObject } from './types/mark';
3
- import { NonNestableBlockContent } from './types/non-nestable-block-content';
4
- import { DataConsumerDefinition } from '../marks/data-consumer';
5
- import { FragmentDefinition } from '../marks/fragment';
1
+ import type { ExtensionAttributes } from './types/extensions';
2
+ import type { MarksObject } from './types/mark';
3
+ import type { NonNestableBlockContent } from './types/non-nestable-block-content';
4
+ import type { DataConsumerDefinition } from '../marks/data-consumer';
5
+ import type { FragmentDefinition } from '../marks/fragment';
6
6
  /**
7
7
  * @name bodiedExtension_node
8
8
  */
9
9
  export interface BodiedExtensionBaseDefinition {
10
- type: 'bodiedExtension';
11
10
  attrs: ExtensionAttributes;
12
- marks?: Array<any>;
13
11
  /**
14
12
  * @minItems 1
15
13
  * @allowUnsupportedBlock true
16
14
  */
17
15
  content: Array<NonNestableBlockContent>;
16
+ marks?: Array<any>;
17
+ type: 'bodiedExtension';
18
18
  }
19
19
  /**
20
20
  * @name bodiedExtension_with_marks_node