@atlaskit/adf-schema 57.7.6 → 57.7.8

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 (310) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/next-schema/full-schema.adf.js +5 -3
  3. package/dist/cjs/next-schema/groups/blockContentGroup.js +2 -2
  4. package/dist/cjs/next-schema/groups/blockGroup.js +2 -2
  5. package/dist/cjs/next-schema/groups/blockRootOnlyGroup.js +2 -2
  6. package/dist/cjs/next-schema/groups/fontStyleGroup.js +2 -2
  7. package/dist/cjs/next-schema/groups/inlineContentGroup.js +2 -2
  8. package/dist/cjs/next-schema/groups/inlineGroup.js +2 -2
  9. package/dist/cjs/next-schema/groups/linkMarkGroup.js +2 -2
  10. package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +2 -2
  11. package/dist/cjs/next-schema/groups/searchQueryMarkGroup.js +2 -2
  12. package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +4 -3
  13. package/dist/cjs/next-schema/marks/alignmentAndIndentation.js +6 -5
  14. package/dist/cjs/next-schema/marks/annotation.js +6 -4
  15. package/dist/cjs/next-schema/marks/border.js +2 -2
  16. package/dist/cjs/next-schema/marks/breakout.js +2 -2
  17. package/dist/cjs/next-schema/marks/code.js +2 -2
  18. package/dist/cjs/next-schema/marks/color.js +5 -4
  19. package/dist/cjs/next-schema/marks/confluenceInlineComment.js +6 -4
  20. package/dist/cjs/next-schema/marks/dataConsumer.js +2 -2
  21. package/dist/cjs/next-schema/marks/em.js +2 -2
  22. package/dist/cjs/next-schema/marks/fontSize.js +2 -2
  23. package/dist/cjs/next-schema/marks/fragment.js +4 -3
  24. package/dist/cjs/next-schema/marks/link.js +4 -3
  25. package/dist/cjs/next-schema/marks/strike.js +2 -2
  26. package/dist/cjs/next-schema/marks/strong.js +2 -2
  27. package/dist/cjs/next-schema/marks/subsup.js +2 -2
  28. package/dist/cjs/next-schema/marks/typeAheadQuery.js +4 -3
  29. package/dist/cjs/next-schema/marks/underline.js +2 -2
  30. package/dist/cjs/next-schema/marks/unsupportedMark.js +6 -4
  31. package/dist/cjs/next-schema/marks/unsupportedNodeAttribute.js +4 -3
  32. package/dist/cjs/next-schema/nodes/blockCard.js +2 -2
  33. package/dist/cjs/next-schema/nodes/blockquote.js +6 -4
  34. package/dist/cjs/next-schema/nodes/bodiedExtension.js +5 -3
  35. package/dist/cjs/next-schema/nodes/bodiedRule.js +5 -3
  36. package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +5 -3
  37. package/dist/cjs/next-schema/nodes/caption.js +5 -3
  38. package/dist/cjs/next-schema/nodes/codeBlock.js +5 -3
  39. package/dist/cjs/next-schema/nodes/confluenceJiraIssue.js +4 -3
  40. package/dist/cjs/next-schema/nodes/confluenceUnsupportedBlock.js +4 -3
  41. package/dist/cjs/next-schema/nodes/confluenceUnsupportedInline.js +4 -3
  42. package/dist/cjs/next-schema/nodes/date.js +2 -2
  43. package/dist/cjs/next-schema/nodes/decisionItem.js +5 -3
  44. package/dist/cjs/next-schema/nodes/decisionList.js +5 -3
  45. package/dist/cjs/next-schema/nodes/embedCard.js +2 -2
  46. package/dist/cjs/next-schema/nodes/emoji.js +2 -2
  47. package/dist/cjs/next-schema/nodes/expand.js +5 -3
  48. package/dist/cjs/next-schema/nodes/extension.js +2 -2
  49. package/dist/cjs/next-schema/nodes/extensionFrame.js +5 -3
  50. package/dist/cjs/next-schema/nodes/hardBreak.js +2 -2
  51. package/dist/cjs/next-schema/nodes/heading.js +5 -3
  52. package/dist/cjs/next-schema/nodes/image.js +4 -3
  53. package/dist/cjs/next-schema/nodes/inlineCard.js +2 -2
  54. package/dist/cjs/next-schema/nodes/inlineExtension.js +2 -2
  55. package/dist/cjs/next-schema/nodes/layoutColumn.js +5 -3
  56. package/dist/cjs/next-schema/nodes/layoutSection.js +8 -5
  57. package/dist/cjs/next-schema/nodes/list.js +9 -7
  58. package/dist/cjs/next-schema/nodes/media.js +2 -2
  59. package/dist/cjs/next-schema/nodes/mediaGroup.js +5 -3
  60. package/dist/cjs/next-schema/nodes/mediaInline.js +2 -2
  61. package/dist/cjs/next-schema/nodes/mediaSingle.js +7 -5
  62. package/dist/cjs/next-schema/nodes/mention.js +2 -2
  63. package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +5 -3
  64. package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -3
  65. package/dist/cjs/next-schema/nodes/panel.js +7 -5
  66. package/dist/cjs/next-schema/nodes/paragraph.js +5 -3
  67. package/dist/cjs/next-schema/nodes/placeholder.js +2 -2
  68. package/dist/cjs/next-schema/nodes/rule.js +2 -2
  69. package/dist/cjs/next-schema/nodes/status.js +2 -2
  70. package/dist/cjs/next-schema/nodes/syncBlock.js +2 -2
  71. package/dist/cjs/next-schema/nodes/tableCellContent.js +2 -2
  72. package/dist/cjs/next-schema/nodes/tableNodes.js +12 -10
  73. package/dist/cjs/next-schema/nodes/tableStub.js +2 -2
  74. package/dist/cjs/next-schema/nodes/task.js +10 -7
  75. package/dist/cjs/next-schema/nodes/text.js +2 -2
  76. package/dist/cjs/next-schema/nodes/unsupportedBlock.js +4 -3
  77. package/dist/cjs/next-schema/nodes/unsupportedInline.js +4 -3
  78. package/dist/es2019/next-schema/full-schema.adf.js +3 -1
  79. package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
  80. package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
  81. package/dist/es2019/next-schema/groups/blockRootOnlyGroup.js +1 -1
  82. package/dist/es2019/next-schema/groups/fontStyleGroup.js +1 -1
  83. package/dist/es2019/next-schema/groups/inlineContentGroup.js +1 -1
  84. package/dist/es2019/next-schema/groups/inlineGroup.js +1 -1
  85. package/dist/es2019/next-schema/groups/linkMarkGroup.js +1 -1
  86. package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  87. package/dist/es2019/next-schema/groups/searchQueryMarkGroup.js +1 -1
  88. package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +2 -1
  89. package/dist/es2019/next-schema/marks/alignmentAndIndentation.js +2 -2
  90. package/dist/es2019/next-schema/marks/annotation.js +3 -1
  91. package/dist/es2019/next-schema/marks/border.js +1 -1
  92. package/dist/es2019/next-schema/marks/breakout.js +1 -1
  93. package/dist/es2019/next-schema/marks/code.js +1 -1
  94. package/dist/es2019/next-schema/marks/color.js +2 -1
  95. package/dist/es2019/next-schema/marks/confluenceInlineComment.js +3 -1
  96. package/dist/es2019/next-schema/marks/dataConsumer.js +1 -1
  97. package/dist/es2019/next-schema/marks/em.js +1 -1
  98. package/dist/es2019/next-schema/marks/fontSize.js +1 -2
  99. package/dist/es2019/next-schema/marks/fragment.js +2 -1
  100. package/dist/es2019/next-schema/marks/link.js +2 -1
  101. package/dist/es2019/next-schema/marks/strike.js +1 -1
  102. package/dist/es2019/next-schema/marks/strong.js +1 -1
  103. package/dist/es2019/next-schema/marks/subsup.js +1 -1
  104. package/dist/es2019/next-schema/marks/typeAheadQuery.js +2 -1
  105. package/dist/es2019/next-schema/marks/underline.js +1 -1
  106. package/dist/es2019/next-schema/marks/unsupportedMark.js +3 -1
  107. package/dist/es2019/next-schema/marks/unsupportedNodeAttribute.js +2 -1
  108. package/dist/es2019/next-schema/nodes/blockCard.js +1 -1
  109. package/dist/es2019/next-schema/nodes/blockquote.js +3 -1
  110. package/dist/es2019/next-schema/nodes/bodiedExtension.js +3 -1
  111. package/dist/es2019/next-schema/nodes/bodiedRule.js +3 -1
  112. package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +3 -1
  113. package/dist/es2019/next-schema/nodes/caption.js +3 -1
  114. package/dist/es2019/next-schema/nodes/codeBlock.js +3 -1
  115. package/dist/es2019/next-schema/nodes/confluenceJiraIssue.js +2 -1
  116. package/dist/es2019/next-schema/nodes/confluenceUnsupportedBlock.js +2 -1
  117. package/dist/es2019/next-schema/nodes/confluenceUnsupportedInline.js +2 -1
  118. package/dist/es2019/next-schema/nodes/date.js +1 -1
  119. package/dist/es2019/next-schema/nodes/decisionItem.js +3 -1
  120. package/dist/es2019/next-schema/nodes/decisionList.js +3 -1
  121. package/dist/es2019/next-schema/nodes/embedCard.js +1 -1
  122. package/dist/es2019/next-schema/nodes/emoji.js +1 -1
  123. package/dist/es2019/next-schema/nodes/expand.js +3 -1
  124. package/dist/es2019/next-schema/nodes/extension.js +1 -1
  125. package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -1
  126. package/dist/es2019/next-schema/nodes/hardBreak.js +1 -1
  127. package/dist/es2019/next-schema/nodes/heading.js +3 -1
  128. package/dist/es2019/next-schema/nodes/image.js +2 -1
  129. package/dist/es2019/next-schema/nodes/inlineCard.js +1 -1
  130. package/dist/es2019/next-schema/nodes/inlineExtension.js +1 -1
  131. package/dist/es2019/next-schema/nodes/layoutColumn.js +3 -1
  132. package/dist/es2019/next-schema/nodes/layoutSection.js +4 -1
  133. package/dist/es2019/next-schema/nodes/list.js +3 -1
  134. package/dist/es2019/next-schema/nodes/media.js +1 -1
  135. package/dist/es2019/next-schema/nodes/mediaGroup.js +3 -1
  136. package/dist/es2019/next-schema/nodes/mediaInline.js +1 -1
  137. package/dist/es2019/next-schema/nodes/mediaSingle.js +3 -1
  138. package/dist/es2019/next-schema/nodes/mention.js +1 -1
  139. package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +3 -1
  140. package/dist/es2019/next-schema/nodes/nestedExpand.js +3 -1
  141. package/dist/es2019/next-schema/nodes/panel.js +3 -1
  142. package/dist/es2019/next-schema/nodes/paragraph.js +3 -1
  143. package/dist/es2019/next-schema/nodes/placeholder.js +1 -1
  144. package/dist/es2019/next-schema/nodes/rule.js +1 -1
  145. package/dist/es2019/next-schema/nodes/status.js +1 -1
  146. package/dist/es2019/next-schema/nodes/syncBlock.js +1 -1
  147. package/dist/es2019/next-schema/nodes/tableCellContent.js +1 -1
  148. package/dist/es2019/next-schema/nodes/tableNodes.js +3 -1
  149. package/dist/es2019/next-schema/nodes/tableStub.js +1 -2
  150. package/dist/es2019/next-schema/nodes/task.js +4 -1
  151. package/dist/es2019/next-schema/nodes/text.js +1 -1
  152. package/dist/es2019/next-schema/nodes/unsupportedBlock.js +2 -1
  153. package/dist/es2019/next-schema/nodes/unsupportedInline.js +2 -1
  154. package/dist/esm/next-schema/full-schema.adf.js +3 -1
  155. package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
  156. package/dist/esm/next-schema/groups/blockGroup.js +1 -1
  157. package/dist/esm/next-schema/groups/blockRootOnlyGroup.js +1 -1
  158. package/dist/esm/next-schema/groups/fontStyleGroup.js +1 -1
  159. package/dist/esm/next-schema/groups/inlineContentGroup.js +1 -1
  160. package/dist/esm/next-schema/groups/inlineGroup.js +1 -1
  161. package/dist/esm/next-schema/groups/linkMarkGroup.js +1 -1
  162. package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  163. package/dist/esm/next-schema/groups/searchQueryMarkGroup.js +1 -1
  164. package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +2 -1
  165. package/dist/esm/next-schema/marks/alignmentAndIndentation.js +2 -2
  166. package/dist/esm/next-schema/marks/annotation.js +3 -1
  167. package/dist/esm/next-schema/marks/border.js +1 -1
  168. package/dist/esm/next-schema/marks/breakout.js +1 -1
  169. package/dist/esm/next-schema/marks/code.js +1 -1
  170. package/dist/esm/next-schema/marks/color.js +2 -1
  171. package/dist/esm/next-schema/marks/confluenceInlineComment.js +3 -1
  172. package/dist/esm/next-schema/marks/dataConsumer.js +1 -1
  173. package/dist/esm/next-schema/marks/em.js +1 -1
  174. package/dist/esm/next-schema/marks/fontSize.js +1 -2
  175. package/dist/esm/next-schema/marks/fragment.js +2 -1
  176. package/dist/esm/next-schema/marks/link.js +2 -1
  177. package/dist/esm/next-schema/marks/strike.js +1 -1
  178. package/dist/esm/next-schema/marks/strong.js +1 -1
  179. package/dist/esm/next-schema/marks/subsup.js +1 -1
  180. package/dist/esm/next-schema/marks/typeAheadQuery.js +2 -1
  181. package/dist/esm/next-schema/marks/underline.js +1 -1
  182. package/dist/esm/next-schema/marks/unsupportedMark.js +3 -1
  183. package/dist/esm/next-schema/marks/unsupportedNodeAttribute.js +2 -1
  184. package/dist/esm/next-schema/nodes/blockCard.js +1 -1
  185. package/dist/esm/next-schema/nodes/blockquote.js +3 -1
  186. package/dist/esm/next-schema/nodes/bodiedExtension.js +3 -1
  187. package/dist/esm/next-schema/nodes/bodiedRule.js +3 -1
  188. package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +3 -1
  189. package/dist/esm/next-schema/nodes/caption.js +3 -1
  190. package/dist/esm/next-schema/nodes/codeBlock.js +3 -1
  191. package/dist/esm/next-schema/nodes/confluenceJiraIssue.js +2 -1
  192. package/dist/esm/next-schema/nodes/confluenceUnsupportedBlock.js +2 -1
  193. package/dist/esm/next-schema/nodes/confluenceUnsupportedInline.js +2 -1
  194. package/dist/esm/next-schema/nodes/date.js +1 -1
  195. package/dist/esm/next-schema/nodes/decisionItem.js +3 -1
  196. package/dist/esm/next-schema/nodes/decisionList.js +3 -1
  197. package/dist/esm/next-schema/nodes/embedCard.js +1 -1
  198. package/dist/esm/next-schema/nodes/emoji.js +1 -1
  199. package/dist/esm/next-schema/nodes/expand.js +3 -1
  200. package/dist/esm/next-schema/nodes/extension.js +1 -1
  201. package/dist/esm/next-schema/nodes/extensionFrame.js +3 -1
  202. package/dist/esm/next-schema/nodes/hardBreak.js +1 -1
  203. package/dist/esm/next-schema/nodes/heading.js +3 -1
  204. package/dist/esm/next-schema/nodes/image.js +2 -1
  205. package/dist/esm/next-schema/nodes/inlineCard.js +1 -1
  206. package/dist/esm/next-schema/nodes/inlineExtension.js +1 -1
  207. package/dist/esm/next-schema/nodes/layoutColumn.js +3 -1
  208. package/dist/esm/next-schema/nodes/layoutSection.js +4 -1
  209. package/dist/esm/next-schema/nodes/list.js +3 -1
  210. package/dist/esm/next-schema/nodes/media.js +1 -1
  211. package/dist/esm/next-schema/nodes/mediaGroup.js +3 -1
  212. package/dist/esm/next-schema/nodes/mediaInline.js +1 -1
  213. package/dist/esm/next-schema/nodes/mediaSingle.js +3 -1
  214. package/dist/esm/next-schema/nodes/mention.js +1 -1
  215. package/dist/esm/next-schema/nodes/multiBodiedExtension.js +3 -1
  216. package/dist/esm/next-schema/nodes/nestedExpand.js +3 -1
  217. package/dist/esm/next-schema/nodes/panel.js +3 -1
  218. package/dist/esm/next-schema/nodes/paragraph.js +3 -1
  219. package/dist/esm/next-schema/nodes/placeholder.js +1 -1
  220. package/dist/esm/next-schema/nodes/rule.js +1 -1
  221. package/dist/esm/next-schema/nodes/status.js +1 -1
  222. package/dist/esm/next-schema/nodes/syncBlock.js +1 -1
  223. package/dist/esm/next-schema/nodes/tableCellContent.js +1 -1
  224. package/dist/esm/next-schema/nodes/tableNodes.js +3 -1
  225. package/dist/esm/next-schema/nodes/tableStub.js +1 -2
  226. package/dist/esm/next-schema/nodes/task.js +4 -1
  227. package/dist/esm/next-schema/nodes/text.js +1 -1
  228. package/dist/esm/next-schema/nodes/unsupportedBlock.js +2 -1
  229. package/dist/esm/next-schema/nodes/unsupportedInline.js +2 -1
  230. package/dist/types/next-schema/full-schema.adf.d.ts +2 -1
  231. package/dist/types/next-schema/groups/blockContentGroup.d.ts +1 -1
  232. package/dist/types/next-schema/groups/blockGroup.d.ts +1 -1
  233. package/dist/types/next-schema/groups/blockRootOnlyGroup.d.ts +1 -1
  234. package/dist/types/next-schema/groups/fontStyleGroup.d.ts +1 -1
  235. package/dist/types/next-schema/groups/inlineContentGroup.d.ts +1 -1
  236. package/dist/types/next-schema/groups/inlineGroup.d.ts +1 -1
  237. package/dist/types/next-schema/groups/linkMarkGroup.d.ts +1 -1
  238. package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +2 -1
  239. package/dist/types/next-schema/groups/searchQueryMarkGroup.d.ts +1 -1
  240. package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +2 -1
  241. package/dist/types/next-schema/marks/alignmentAndIndentation.d.ts +2 -1
  242. package/dist/types/next-schema/marks/annotation.d.ts +3 -1
  243. package/dist/types/next-schema/marks/border.d.ts +2 -1
  244. package/dist/types/next-schema/marks/breakout.d.ts +2 -1
  245. package/dist/types/next-schema/marks/code.d.ts +2 -1
  246. package/dist/types/next-schema/marks/color.d.ts +3 -1
  247. package/dist/types/next-schema/marks/confluenceInlineComment.d.ts +2 -1
  248. package/dist/types/next-schema/marks/dataConsumer.d.ts +2 -1
  249. package/dist/types/next-schema/marks/em.d.ts +2 -1
  250. package/dist/types/next-schema/marks/fontSize.d.ts +2 -1
  251. package/dist/types/next-schema/marks/fragment.d.ts +2 -1
  252. package/dist/types/next-schema/marks/link.d.ts +2 -1
  253. package/dist/types/next-schema/marks/strike.d.ts +2 -1
  254. package/dist/types/next-schema/marks/strong.d.ts +2 -1
  255. package/dist/types/next-schema/marks/subsup.d.ts +2 -1
  256. package/dist/types/next-schema/marks/typeAheadQuery.d.ts +2 -1
  257. package/dist/types/next-schema/marks/underline.d.ts +2 -1
  258. package/dist/types/next-schema/marks/unsupportedMark.d.ts +2 -1
  259. package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +2 -1
  260. package/dist/types/next-schema/nodes/blockCard.d.ts +2 -1
  261. package/dist/types/next-schema/nodes/blockquote.d.ts +2 -1
  262. package/dist/types/next-schema/nodes/bodiedExtension.d.ts +2 -1
  263. package/dist/types/next-schema/nodes/bodiedRule.d.ts +2 -1
  264. package/dist/types/next-schema/nodes/bodiedSyncBlock.d.ts +2 -1
  265. package/dist/types/next-schema/nodes/caption.d.ts +2 -1
  266. package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -1
  267. package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +2 -1
  268. package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +2 -1
  269. package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +2 -1
  270. package/dist/types/next-schema/nodes/date.d.ts +2 -1
  271. package/dist/types/next-schema/nodes/decisionItem.d.ts +2 -1
  272. package/dist/types/next-schema/nodes/decisionList.d.ts +2 -1
  273. package/dist/types/next-schema/nodes/embedCard.d.ts +2 -1
  274. package/dist/types/next-schema/nodes/emoji.d.ts +2 -1
  275. package/dist/types/next-schema/nodes/expand.d.ts +2 -1
  276. package/dist/types/next-schema/nodes/extension.d.ts +2 -1
  277. package/dist/types/next-schema/nodes/extensionFrame.d.ts +2 -1
  278. package/dist/types/next-schema/nodes/hardBreak.d.ts +2 -1
  279. package/dist/types/next-schema/nodes/heading.d.ts +2 -1
  280. package/dist/types/next-schema/nodes/image.d.ts +2 -1
  281. package/dist/types/next-schema/nodes/inlineCard.d.ts +2 -1
  282. package/dist/types/next-schema/nodes/inlineExtension.d.ts +2 -1
  283. package/dist/types/next-schema/nodes/layoutColumn.d.ts +2 -1
  284. package/dist/types/next-schema/nodes/layoutSection.d.ts +2 -1
  285. package/dist/types/next-schema/nodes/list.d.ts +2 -1
  286. package/dist/types/next-schema/nodes/media.d.ts +2 -1
  287. package/dist/types/next-schema/nodes/mediaGroup.d.ts +2 -1
  288. package/dist/types/next-schema/nodes/mediaInline.d.ts +2 -1
  289. package/dist/types/next-schema/nodes/mediaSingle.d.ts +2 -1
  290. package/dist/types/next-schema/nodes/mention.d.ts +2 -1
  291. package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +2 -1
  292. package/dist/types/next-schema/nodes/nestedExpand.d.ts +2 -1
  293. package/dist/types/next-schema/nodes/panel.d.ts +2 -1
  294. package/dist/types/next-schema/nodes/paragraph.d.ts +2 -1
  295. package/dist/types/next-schema/nodes/placeholder.d.ts +2 -1
  296. package/dist/types/next-schema/nodes/rule.d.ts +2 -1
  297. package/dist/types/next-schema/nodes/status.d.ts +2 -1
  298. package/dist/types/next-schema/nodes/syncBlock.d.ts +2 -1
  299. package/dist/types/next-schema/nodes/tableCellContent.d.ts +2 -1
  300. package/dist/types/next-schema/nodes/tableStub.d.ts +2 -1
  301. package/dist/types/next-schema/nodes/task.d.ts +2 -1
  302. package/dist/types/next-schema/nodes/text.d.ts +2 -1
  303. package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +2 -1
  304. package/dist/types/next-schema/nodes/unsupportedInline.d.ts +2 -1
  305. package/package.json +2 -2
  306. package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -1
  307. package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +1 -1
  308. package/schema-generators/json-full-schema.ts +1 -1
  309. package/schema-generators/pm-full-schema.ts +1 -1
  310. package/schema-generators/validator-full-schema.ts +1 -1
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.mention = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
8
  var _annotation = require("../marks/annotation");
9
9
  var _unsupportedMark = require("../marks/unsupportedMark");
10
10
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
11
- var mention = exports.mention = (0, _adfSchemaGenerator.adfNode)('mention').define({
11
+ var mention = exports.mention = (0, _adfNode.adfNode)('mention').define({
12
12
  inline: true,
13
13
  selectable: true,
14
14
  marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
@@ -4,12 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.multiBodiedExtension = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
8
+ var _$or = require("@atlaskit/adf-schema-generator/$or");
9
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
10
  var _breakout = require("../marks/breakout");
9
11
  var _unsupportedMark = require("../marks/unsupportedMark");
10
12
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
11
13
  var _extensionFrame = require("./extensionFrame");
12
- var multiBodiedExtension = exports.multiBodiedExtension = (0, _adfSchemaGenerator.adfNode)('multiBodiedExtension').define({
14
+ var multiBodiedExtension = exports.multiBodiedExtension = (0, _adfNode.adfNode)('multiBodiedExtension').define({
13
15
  stage0: true,
14
16
  definingAsContext: true,
15
17
  selectable: true,
@@ -52,7 +54,7 @@ var multiBodiedExtension = exports.multiBodiedExtension = (0, _adfSchemaGenerato
52
54
  minLength: 1
53
55
  }
54
56
  },
55
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_extensionFrame.extensionFrame))],
57
+ content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(_extensionFrame.extensionFrame))],
56
58
  DANGEROUS_MANUAL_OVERRIDE: {
57
59
  'validator-spec': {
58
60
  'props.content.minItems': {
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.nestedExpand = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
8
+ var _$or = require("@atlaskit/adf-schema-generator/$or");
9
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
10
  var _unsupportedMark = require("../marks/unsupportedMark");
9
11
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
10
12
  var _blockquote = require("./blockquote");
@@ -22,7 +24,7 @@ var _rule = require("./rule");
22
24
  var _task = require("./task");
23
25
  var _unsupportedBlock = require("./unsupportedBlock");
24
26
  var nestedExpandContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _heading.heading.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _codeBlock.codeBlock, _list.bulletList, _list.orderedList, _task.taskList, _decisionList.decisionList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _panel.panel, _blockquote.blockquote, _unsupportedBlock.unsupportedBlock];
25
- var nestedExpand = exports.nestedExpand = (0, _adfSchemaGenerator.adfNode)('nestedExpand').define({
27
+ var nestedExpand = exports.nestedExpand = (0, _adfNode.adfNode)('nestedExpand').define({
26
28
  isolating: true,
27
29
  selectable: true,
28
30
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
@@ -43,7 +45,7 @@ var nestedExpand = exports.nestedExpand = (0, _adfSchemaGenerator.adfNode)('nest
43
45
  optional: true
44
46
  }
45
47
  },
46
- content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, nestedExpandContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation')])))],
48
+ content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, nestedExpandContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation')])))],
47
49
  DANGEROUS_MANUAL_OVERRIDE: {
48
50
  'validator-spec': {
49
51
  'props.attrs.optional': {
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.panel = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
8
+ var _$or = require("@atlaskit/adf-schema-generator/$or");
9
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
10
  var _breakout = require("../marks/breakout");
9
11
  var _unsupportedMark = require("../marks/unsupportedMark");
10
12
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
@@ -23,7 +25,7 @@ var _tableStub = require("./tableStub");
23
25
  var _task = require("./task");
24
26
  var _unsupportedBlock = require("./unsupportedBlock");
25
27
  var panelContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _heading.heading.use('with_no_marks'), _list.bulletList, _list.orderedList, _blockCard.blockCard, _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _decisionList.decisionList, _unsupportedBlock.unsupportedBlock];
26
- var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
28
+ var panel = exports.panel = (0, _adfNode.adfNode)('panel').define({
27
29
  selectable: true,
28
30
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
29
31
  attrs: {
@@ -58,7 +60,7 @@ var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
58
60
  optional: true
59
61
  }
60
62
  },
61
- content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation')])))]
63
+ content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation')])))]
62
64
  }).variant('c1', {
63
65
  // panel_c1 allows all standard panel content plus table. `stage0: true` includes it in the
64
66
  // stage-0 JSON schema (not full) and the validator spec so table-in-panel validates.
@@ -67,7 +69,7 @@ var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
67
69
  // acceptance is gated in adf-utils behind the patch flag.
68
70
  stage0: true,
69
71
  noExtend: true,
70
- content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _tableStub.table])))],
72
+ content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _tableStub.table])))],
71
73
  preserveVariantNameInPm: true
72
74
  })
73
75
  // this variant is used to support breakout resizing for panel nodes at the document root
@@ -81,6 +83,6 @@ var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
81
83
  noExtend: true,
82
84
  marks: [_breakout.breakout, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
83
85
  // panel_c1_root_only allows all standard panel content plus table (see c1 above).
84
- content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _tableStub.table])))],
86
+ content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _tableStub.table])))],
85
87
  preserveVariantNameInPm: true
86
88
  });
@@ -4,14 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.paragraph = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _$or = require("@atlaskit/adf-schema-generator/$or");
8
+ var _$zeroPlus = require("@atlaskit/adf-schema-generator/$zeroPlus");
9
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
10
  var _inlineContentGroup = require("../groups/inlineContentGroup");
9
11
  var _inlineGroup = require("../groups/inlineGroup");
10
12
  var _alignmentAndIndentation = require("../marks/alignmentAndIndentation");
11
13
  var _fontSize = require("../marks/fontSize");
12
14
  var _unsupportedMark = require("../marks/unsupportedMark");
13
15
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
14
- var paragraph = exports.paragraph = (0, _adfSchemaGenerator.adfNode)('paragraph').define({
16
+ var paragraph = exports.paragraph = (0, _adfNode.adfNode)('paragraph').define({
15
17
  attrs: {
16
18
  localId: {
17
19
  type: 'string',
@@ -22,7 +24,7 @@ var paragraph = exports.paragraph = (0, _adfSchemaGenerator.adfNode)('paragraph'
22
24
  selectable: false,
23
25
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
24
26
  hasEmptyMarks: true,
25
- content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_inlineGroup.inlineGroup, _inlineContentGroup.inlineContentGroup))]
27
+ content: [(0, _$zeroPlus.$zeroPlus)((0, _$or.$or)(_inlineGroup.inlineGroup, _inlineContentGroup.inlineContentGroup))]
26
28
  }).variant('with_alignment', {
27
29
  marks: [_fontSize.fontSize, _alignmentAndIndentation.alignment, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
28
30
  content: [],
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.placeholder = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
8
  var _unsupportedMark = require("../marks/unsupportedMark");
9
9
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
10
- var placeholder = exports.placeholder = (0, _adfSchemaGenerator.adfNode)('placeholder').define({
10
+ var placeholder = exports.placeholder = (0, _adfNode.adfNode)('placeholder').define({
11
11
  selectable: false,
12
12
  inline: true,
13
13
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.rule = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
8
  var _breakout = require("../marks/breakout");
9
9
  var _unsupportedMark = require("../marks/unsupportedMark");
10
10
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
@@ -34,7 +34,7 @@ var ruleAttributes = {
34
34
  optional: true
35
35
  }
36
36
  };
37
- var rule = exports.rule = (0, _adfSchemaGenerator.adfNode)('rule').define({
37
+ var rule = exports.rule = (0, _adfNode.adfNode)('rule').define({
38
38
  attrs: {
39
39
  localId: {
40
40
  type: 'string',
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.status = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
8
  var _annotation = require("../marks/annotation");
9
9
  var _unsupportedMark = require("../marks/unsupportedMark");
10
10
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
11
- var status = exports.status = (0, _adfSchemaGenerator.adfNode)('status').define({
11
+ var status = exports.status = (0, _adfNode.adfNode)('status').define({
12
12
  inline: true,
13
13
  selectable: true,
14
14
  marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.syncBlock = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
8
  var _breakout = require("../marks/breakout");
9
9
  var _unsupportedMark = require("../marks/unsupportedMark");
10
10
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
11
- var syncBlock = exports.syncBlock = (0, _adfSchemaGenerator.adfNode)('syncBlock').define({
11
+ var syncBlock = exports.syncBlock = (0, _adfNode.adfNode)('syncBlock').define({
12
12
  selectable: true,
13
13
  marks: [_breakout.breakout, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
14
14
  attrs: {
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.tableCellContent = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
8
  var _tableCellContentPseudoGroup = require("../groups/tableCellContentPseudoGroup");
9
9
  // @DSLCompatibilityException This is only used by JSON schema to group the table cell content into a definition.
10
10
  // This node should be deleted and the content should be replicated in the JSON schema for table header and table cell node
11
- var tableCellContent = exports.tableCellContent = (0, _adfSchemaGenerator.adfNode)('tableCellContent').define({
11
+ var tableCellContent = exports.tableCellContent = (0, _adfNode.adfNode)('tableCellContent').define({
12
12
  ignore: ['pm-spec', 'validator-spec'],
13
13
  content: [_tableCellContentPseudoGroup.tableCellContentPseudoGroup]
14
14
  });
@@ -11,7 +11,9 @@ Object.defineProperty(exports, "table", {
11
11
  }
12
12
  });
13
13
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
14
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
14
+ var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
15
+ var _$or = require("@atlaskit/adf-schema-generator/$or");
16
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
15
17
  var _tableCellContentPseudoGroup = require("../groups/tableCellContentPseudoGroup");
16
18
  var _fragment = require("../marks/fragment");
17
19
  var _unsupportedMark = require("../marks/unsupportedMark");
@@ -57,7 +59,7 @@ var cellAttributes = {
57
59
  },
58
60
  valign: valign
59
61
  };
60
- var tableCell = (0, _adfSchemaGenerator.adfNode)('tableCell').define({
62
+ var tableCell = (0, _adfNode.adfNode)('tableCell').define({
61
63
  isolating: true,
62
64
  selectable: false,
63
65
  tableRole: 'cell',
@@ -73,10 +75,10 @@ var tableCell = (0, _adfSchemaGenerator.adfNode)('tableCell').define({
73
75
  }
74
76
  }
75
77
  }).variant('with_nested_table', {
76
- content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, (0, _toConsumableArray2.default)(_tableCellContentPseudoGroup.tableCellContentNodes).concat([_unsupportedBlock.unsupportedBlock, _tableStub.table])))],
78
+ content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, (0, _toConsumableArray2.default)(_tableCellContentPseudoGroup.tableCellContentNodes).concat([_unsupportedBlock.unsupportedBlock, _tableStub.table])))],
77
79
  ignore: ['json-schema', 'validator-spec']
78
80
  });
79
- var tableHeader = (0, _adfSchemaGenerator.adfNode)('tableHeader').define({
81
+ var tableHeader = (0, _adfNode.adfNode)('tableHeader').define({
80
82
  isolating: true,
81
83
  selectable: false,
82
84
  tableRole: 'header_cell',
@@ -92,13 +94,13 @@ var tableHeader = (0, _adfSchemaGenerator.adfNode)('tableHeader').define({
92
94
  }
93
95
  }
94
96
  }).variant('with_nested_table', {
95
- content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, (0, _toConsumableArray2.default)(_tableCellContentPseudoGroup.tableCellContentNodes).concat([_nestedExpand.nestedExpand, _tableStub.table])))],
97
+ content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, (0, _toConsumableArray2.default)(_tableCellContentPseudoGroup.tableCellContentNodes).concat([_nestedExpand.nestedExpand, _tableStub.table])))],
96
98
  ignore: ['json-schema', 'validator-spec']
97
99
  });
98
- var tableRow = (0, _adfSchemaGenerator.adfNode)('tableRow').define({
100
+ var tableRow = (0, _adfNode.adfNode)('tableRow').define({
99
101
  selectable: false,
100
102
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
101
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(tableCell, tableHeader, _tableCellContent.tableCellContent))],
103
+ content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(tableCell, tableHeader, _tableCellContent.tableCellContent))],
102
104
  tableRole: 'row',
103
105
  attrs: {
104
106
  localId: {
@@ -116,7 +118,7 @@ var tableRow = (0, _adfSchemaGenerator.adfNode)('tableRow').define({
116
118
  }
117
119
  }
118
120
  }).variant('with_nested_table', {
119
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(tableCell.use('with_nested_table'), tableHeader.use('with_nested_table')))],
121
+ content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(tableCell.use('with_nested_table'), tableHeader.use('with_nested_table')))],
120
122
  ignore: ['json-schema', 'validator-spec']
121
123
  });
122
124
  _tableStub.table.define({
@@ -159,9 +161,9 @@ _tableStub.table.define({
159
161
  optional: true
160
162
  }
161
163
  },
162
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(tableRow))]
164
+ content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(tableRow))]
163
165
  }).variant('with_nested_table', {
164
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(tableRow.use('with_nested_table')))],
166
+ content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(tableRow.use('with_nested_table')))],
165
167
  ignore: ['json-schema', 'validator-spec']
166
168
  });
167
169
 
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.table = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
8
  // A bare `table` node stub, declared in an import-cycle-free leaf module so that other node
9
9
  // modules (e.g. `panel`) can reference `table` in their content WITHOUT importing the heavy
10
10
  // `tableNodes.ts` definition module. Importing `tableNodes.ts` from `panel.ts` would form a
@@ -14,4 +14,4 @@ var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
14
14
  // `tableNodes.ts` imports this same stub and calls `.define()` / `.variant()` on it, so the
15
15
  // object here is the one and only `table` node. Spec resolution is deferred to codegen traversal,
16
16
  // which is cycle-aware, so referencing this stub before it is defined is safe.
17
- var table = exports.table = (0, _adfSchemaGenerator.adfNode)('table');
17
+ var table = exports.table = (0, _adfNode.adfNode)('table');
@@ -6,7 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.taskList = exports.taskItem = exports.blockTaskItem = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
9
+ var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
10
+ var _$or = require("@atlaskit/adf-schema-generator/$or");
11
+ var _$zeroPlus = require("@atlaskit/adf-schema-generator/$zeroPlus");
12
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
10
13
  var _inlineContentGroup = require("../groups/inlineContentGroup");
11
14
  var _inlineGroup = require("../groups/inlineGroup");
12
15
  var _unsupportedMark = require("../marks/unsupportedMark");
@@ -16,9 +19,9 @@ var _paragraph = require("./paragraph");
16
19
  var _unsupportedBlock = require("./unsupportedBlock");
17
20
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
21
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19
- var taskItem = exports.taskItem = (0, _adfSchemaGenerator.adfNode)('taskItem');
20
- var taskList = exports.taskList = (0, _adfSchemaGenerator.adfNode)('taskList');
21
- var blockTaskItem = exports.blockTaskItem = (0, _adfSchemaGenerator.adfNode)('blockTaskItem');
22
+ var taskItem = exports.taskItem = (0, _adfNode.adfNode)('taskItem');
23
+ var taskList = exports.taskList = (0, _adfNode.adfNode)('taskList');
24
+ var blockTaskItem = exports.blockTaskItem = (0, _adfNode.adfNode)('blockTaskItem');
22
25
  var commonTaskItemProps = {
23
26
  defining: true,
24
27
  selectable: false,
@@ -37,14 +40,14 @@ var commonTaskItemProps = {
37
40
  }
38
41
  };
39
42
  taskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
40
- content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_inlineGroup.inlineGroup, _inlineContentGroup.inlineContentGroup))]
43
+ content: [(0, _$zeroPlus.$zeroPlus)((0, _$or.$or)(_inlineGroup.inlineGroup, _inlineContentGroup.inlineContentGroup))]
41
44
  }));
42
45
  blockTaskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
43
46
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
44
47
  allowAnyChildMark: false,
45
48
  // Override the commonTaskItemProps setting
46
49
  contentMinItems: 1,
47
- content: [(0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _extension.extension.use('with_marks'), _extension.extension.use('with_annotation')), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _extension.extension.use('with_marks'), _extension.extension.use('with_annotation')))]
50
+ content: [(0, _$or.$or)(_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _extension.extension.use('with_marks'), _extension.extension.use('with_annotation')), (0, _$zeroPlus.$zeroPlus)((0, _$or.$or)(_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _extension.extension.use('with_marks'), _extension.extension.use('with_annotation')))]
48
51
  }));
49
52
  taskList.define({
50
53
  defining: true,
@@ -57,5 +60,5 @@ taskList.define({
57
60
  }
58
61
  },
59
62
  contentMinItems: 1,
60
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(taskItem, taskList, _unsupportedBlock.unsupportedBlock, blockTaskItem))]
63
+ content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(taskItem, taskList, _unsupportedBlock.unsupportedBlock, blockTaskItem))]
61
64
  });
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.text = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
8
  var _annotation = require("../marks/annotation");
9
9
  var _code = require("../marks/code");
10
10
  var _color = require("../marks/color");
@@ -18,7 +18,7 @@ var _typeAheadQuery = require("../marks/typeAheadQuery");
18
18
  var _underline = require("../marks/underline");
19
19
  var _unsupportedMark = require("../marks/unsupportedMark");
20
20
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
21
- var text = exports.text = (0, _adfSchemaGenerator.adfNode)('text').define({
21
+ var text = exports.text = (0, _adfNode.adfNode)('text').define({
22
22
  marks: [],
23
23
  hasEmptyMarks: true
24
24
  }).variant('with_no_marks', {
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.unsupportedBlock = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
- var unsupportedBlock = exports.unsupportedBlock = (0, _adfSchemaGenerator.adfNode)('unsupportedBlock').define({
9
- ignore: [_adfSchemaGenerator.JSONSchemaTransformerName, _adfSchemaGenerator.ValidatorSpecTransformerName],
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
+ var _transformerNames = require("@atlaskit/adf-schema-generator/transformerNames");
9
+ var unsupportedBlock = exports.unsupportedBlock = (0, _adfNode.adfNode)('unsupportedBlock').define({
10
+ ignore: [_transformerNames.JSONSchemaTransformerName, _transformerNames.ValidatorSpecTransformerName],
10
11
  atom: true,
11
12
  selectable: true,
12
13
  attrs: {
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.unsupportedInline = void 0;
7
- var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
- var unsupportedInline = exports.unsupportedInline = (0, _adfSchemaGenerator.adfNode)('unsupportedInline').define({
9
- ignore: [_adfSchemaGenerator.JSONSchemaTransformerName, _adfSchemaGenerator.ValidatorSpecTransformerName],
7
+ var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
8
+ var _transformerNames = require("@atlaskit/adf-schema-generator/transformerNames");
9
+ var unsupportedInline = exports.unsupportedInline = (0, _adfNode.adfNode)('unsupportedInline').define({
10
+ ignore: [_transformerNames.JSONSchemaTransformerName, _transformerNames.ValidatorSpecTransformerName],
10
11
  inline: true,
11
12
  selectable: true,
12
13
  attrs: {
@@ -1,4 +1,6 @@
1
- import { $or, $onePlus, adfNode } from '@atlaskit/adf-schema-generator';
1
+ import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
2
+ import { $or } from '@atlaskit/adf-schema-generator/$or';
3
+ import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
2
4
  import { blockContentGroup } from './groups/blockContentGroup';
3
5
  import { blockGroup } from './groups/blockGroup';
4
6
  import { blockRootOnlyGroup } from './groups/blockRootOnlyGroup';
@@ -1,4 +1,4 @@
1
- import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
2
2
  import { blockCard } from '../nodes/blockCard';
3
3
  import { blockquote } from '../nodes/blockquote';
4
4
  import { bodiedExtension } from '../nodes/bodiedExtension';
@@ -1,4 +1,4 @@
1
- import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
2
2
  import { blockCard } from '../nodes/blockCard';
3
3
  import { blockquote } from '../nodes/blockquote';
4
4
  import { bodiedExtension } from '../nodes/bodiedExtension';
@@ -1,4 +1,4 @@
1
- import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
2
2
  import { multiBodiedExtension } from '../nodes/multiBodiedExtension';
3
3
  export const blockRootOnlyGroup = adfNodeGroup('blockRootOnly', [multiBodiedExtension], {
4
4
  // @DSLCompatibilityException - Generated JSON Schema does not have this.
@@ -1,4 +1,4 @@
1
- import { adfMarkGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
2
2
  import { em } from '../marks/em';
3
3
  import { strike } from '../marks/strike';
4
4
  import { strong } from '../marks/strong';
@@ -1,4 +1,4 @@
1
- import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
2
2
  import { confluenceJiraIssue } from '../nodes/confluenceJiraIssue';
3
3
  import { confluenceUnsupportedInline } from '../nodes/confluenceUnsupportedInline';
4
4
  import { date } from '../nodes/date';
@@ -1,4 +1,4 @@
1
- import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
2
2
  import { confluenceJiraIssue } from '../nodes/confluenceJiraIssue';
3
3
  import { confluenceUnsupportedInline } from '../nodes/confluenceUnsupportedInline';
4
4
  import { date } from '../nodes/date';
@@ -1,3 +1,3 @@
1
- import { adfMarkGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
2
2
  import { link } from '../marks/link';
3
3
  export const linkMarkGroup = adfMarkGroup('link', [link]);
@@ -1,4 +1,4 @@
1
- import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
2
2
  import { blockCard } from '../nodes/blockCard';
3
3
  import { blockquote } from '../nodes/blockquote';
4
4
  import { bodiedRule } from '../nodes/bodiedRule';
@@ -1,3 +1,3 @@
1
- import { adfMarkGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
2
2
  import { typeAheadQuery } from '../marks/typeAheadQuery';
3
3
  export const searchQueryMarkGroup = adfMarkGroup('searchQuery', [typeAheadQuery]);
@@ -1,4 +1,5 @@
1
- import { $onePlus, $or } from '@atlaskit/adf-schema-generator';
1
+ import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
2
+ import { $or } from '@atlaskit/adf-schema-generator/$or';
2
3
  import { blockCard } from '../nodes/blockCard';
3
4
  import { blockquote } from '../nodes/blockquote';
4
5
  import { bodiedRule } from '../nodes/bodiedRule';
@@ -1,5 +1,5 @@
1
- import { adfMark, adfMarkGroup } from '@atlaskit/adf-schema-generator';
2
-
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
+ import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
3
3
  // These marks defined together because they form a cycle within the excludes.
4
4
  export const alignment = adfMark('alignment');
5
5
  export const indentation = adfMark('indentation');
@@ -1,4 +1,6 @@
1
- import { MarkExcludesNone, adfMark, adfMarkGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
+ import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
3
+ import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
2
4
  export const annotation = adfMark('annotation');
3
5
  export const annotationGroup = adfMarkGroup('annotation', [annotation]);
4
6
  annotation.define({
@@ -1,4 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
2
  export const border = adfMark('border').define({
3
3
  inclusive: false,
4
4
  attrs: {
@@ -1,4 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
2
  export const breakout = adfMark('breakout').define({
3
3
  spanning: false,
4
4
  inclusive: false,
@@ -1,4 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
2
  import { fontStyleGroup } from '../groups/fontStyleGroup';
3
3
  import { linkMarkGroup } from '../groups/linkMarkGroup';
4
4
  import { searchQueryMarkGroup } from '../groups/searchQueryMarkGroup';
@@ -1,4 +1,5 @@
1
- import { adfMark, adfMarkGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
+ import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
2
3
  export const backgroundColor = adfMark('backgroundColor');
3
4
  export const textColor = adfMark('textColor');
4
5
  export const colorGroup = adfMarkGroup('color', [textColor, backgroundColor]);
@@ -1,4 +1,6 @@
1
- import { JSONSchemaTransformerName, adfMark, MarkExcludesNone } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
+ import { JSONSchemaTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
3
+ import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
2
4
  export const confluenceInlineComment = adfMark('confluenceInlineComment').define({
3
5
  ignore: [JSONSchemaTransformerName],
4
6
  inclusive: false,
@@ -1,4 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
2
  export const dataConsumer = adfMark('dataConsumer').define({
3
3
  attrs: {
4
4
  sources: {
@@ -1,4 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
2
  export const em = adfMark('em').define({
3
3
  inclusive: true
4
4
  });
@@ -1,5 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
2
-
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
3
2
  /**
4
3
  * fontSize mark - applies size styling to block-level content
5
4
  *
@@ -1,4 +1,5 @@
1
- import { adfMark, MarkExcludesNone } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
+ import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
2
3
  export const fragment = adfMark('fragment').define({
3
4
  inclusive: false,
4
5
  excludes: MarkExcludesNone,
@@ -1,4 +1,5 @@
1
- import { adfMark, adfMarkGroup } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
+ import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
2
3
  export const link = adfMark('link');
3
4
 
4
5
  // import { linkMarketGroup } from '../groups/linkMarkGroup' would cause circular deps issue
@@ -1,4 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
2
  export const strike = adfMark('strike').define({
3
3
  inclusive: true
4
4
  });
@@ -1,4 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
2
  export const strong = adfMark('strong').define({
3
3
  inclusive: true
4
4
  });
@@ -1,4 +1,4 @@
1
- import { adfMark } from '@atlaskit/adf-schema-generator';
1
+ import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
2
2
  export const subsup = adfMark('subsup').define({
3
3
  inclusive: true,
4
4
  attrs: {