@atlaskit/adf-schema 54.0.3 → 54.0.4

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 (573) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/alignment/package.json +1 -8
  3. package/annotation/package.json +1 -8
  4. package/background-color/package.json +1 -8
  5. package/block-card/package.json +1 -8
  6. package/block-content/package.json +1 -8
  7. package/blockquote/package.json +1 -8
  8. package/bodied-extension/package.json +1 -8
  9. package/bodied-sync-block/package.json +1 -8
  10. package/border/package.json +1 -8
  11. package/breakout/package.json +1 -8
  12. package/bullet-list/package.json +1 -8
  13. package/caption/package.json +1 -8
  14. package/code/package.json +1 -8
  15. package/code-block/package.json +1 -8
  16. package/colors/package.json +1 -8
  17. package/confluence/emoji/package.json +1 -8
  18. package/confluence-inline-comment/package.json +1 -8
  19. package/confluence-jira-issue/package.json +1 -8
  20. package/confluence-unsupported-block/package.json +1 -8
  21. package/confluence-unsupported-inline/package.json +1 -8
  22. package/create-schema/package.json +1 -8
  23. package/createPMSpecFactory/package.json +1 -8
  24. package/data-consumer/package.json +1 -8
  25. package/date/package.json +1 -8
  26. package/decision-item/package.json +1 -8
  27. package/decision-list/package.json +1 -8
  28. package/dist/cjs/schema/marks/background-color.js +4 -2
  29. package/dist/cjs/schema/marks/strong.js +4 -3
  30. package/dist/cjs/schema/marks/text-color.js +4 -2
  31. package/dist/cjs/schema/nodes/code-block.js +7 -5
  32. package/dist/cjs/schema/nodes/media.js +3 -2
  33. package/dist/cjs/schema/nodes/status.js +4 -2
  34. package/dist/cjs/schema/nodes/tableNodes.js +4 -3
  35. package/dist/cjs/schema/sanitizeNodes.js +5 -3
  36. package/dist/cjs/utils/colors.js +7 -4
  37. package/dist/cjs/utils/lch-color-inversion.js +8 -8
  38. package/dist/es2019/schema/marks/background-color.js +4 -2
  39. package/dist/es2019/schema/marks/strong.js +4 -3
  40. package/dist/es2019/schema/marks/text-color.js +4 -2
  41. package/dist/es2019/schema/nodes/code-block.js +7 -5
  42. package/dist/es2019/schema/nodes/media.js +3 -2
  43. package/dist/es2019/schema/nodes/status.js +3 -2
  44. package/dist/es2019/schema/nodes/tableNodes.js +4 -3
  45. package/dist/es2019/schema/sanitizeNodes.js +5 -3
  46. package/dist/es2019/utils/colors.js +7 -4
  47. package/dist/es2019/utils/lch-color-inversion.js +6 -5
  48. package/dist/esm/schema/marks/background-color.js +4 -2
  49. package/dist/esm/schema/marks/strong.js +4 -3
  50. package/dist/esm/schema/marks/text-color.js +4 -2
  51. package/dist/esm/schema/nodes/code-block.js +7 -5
  52. package/dist/esm/schema/nodes/media.js +3 -2
  53. package/dist/esm/schema/nodes/status.js +3 -2
  54. package/dist/esm/schema/nodes/tableNodes.js +4 -3
  55. package/dist/esm/schema/sanitizeNodes.js +5 -3
  56. package/dist/esm/utils/colors.js +7 -4
  57. package/dist/esm/utils/lch-color-inversion.js +8 -8
  58. package/dist/json-schema/package.json +1 -8
  59. package/doc/package.json +1 -8
  60. package/em/package.json +1 -8
  61. package/embed-card/package.json +1 -8
  62. package/emoji/package.json +1 -8
  63. package/expand/package.json +1 -8
  64. package/extension/package.json +1 -8
  65. package/extensions/package.json +1 -8
  66. package/font-size/package.json +1 -8
  67. package/fragment/package.json +1 -8
  68. package/hard-break/package.json +1 -8
  69. package/heading/package.json +1 -8
  70. package/image/package.json +1 -8
  71. package/indentation/package.json +1 -8
  72. package/inline-card/package.json +1 -8
  73. package/inline-content/package.json +1 -8
  74. package/inline-extension/package.json +1 -8
  75. package/inline-nodes/package.json +1 -8
  76. package/json-schema/package.json +1 -8
  77. package/layout-column/package.json +1 -8
  78. package/layout-section/package.json +1 -8
  79. package/lch-color-inversion/package.json +1 -8
  80. package/link/package.json +1 -8
  81. package/list/package.json +1 -8
  82. package/list-item/package.json +1 -8
  83. package/mark/package.json +1 -8
  84. package/media/package.json +1 -8
  85. package/media-group/package.json +1 -8
  86. package/media-inline/package.json +1 -8
  87. package/media-single/package.json +1 -8
  88. package/mention/package.json +1 -8
  89. package/multi-bodied-extension/package.json +1 -8
  90. package/nested-expand/package.json +1 -8
  91. package/non-nestable-block-content/package.json +1 -8
  92. package/ordered-list/package.json +1 -8
  93. package/package.json +2 -2
  94. package/panel/package.json +1 -8
  95. package/paragraph/package.json +1 -8
  96. package/placeholder/package.json +1 -8
  97. package/rich-media-common/package.json +1 -8
  98. package/rule/package.json +1 -8
  99. package/sanitizeNodes/package.json +1 -8
  100. package/schema/alignment/package.json +1 -8
  101. package/schema/annotation/package.json +1 -8
  102. package/schema/background-color/package.json +1 -8
  103. package/schema/block-card/package.json +1 -8
  104. package/schema/block-content/package.json +1 -8
  105. package/schema/blockquote/package.json +1 -8
  106. package/schema/bodied-extension/package.json +1 -8
  107. package/schema/bodied-sync-block/package.json +1 -8
  108. package/schema/border/package.json +1 -8
  109. package/schema/breakout/package.json +1 -8
  110. package/schema/bullet-list/package.json +1 -8
  111. package/schema/caption/package.json +1 -8
  112. package/schema/code/package.json +1 -8
  113. package/schema/code-block/package.json +1 -8
  114. package/schema/confluence-inline-comment/package.json +1 -8
  115. package/schema/confluence-jira-issue/package.json +1 -8
  116. package/schema/confluence-unsupported-block/package.json +1 -8
  117. package/schema/confluence-unsupported-inline/package.json +1 -8
  118. package/schema/create-schema/package.json +1 -8
  119. package/schema/createPMSpecFactory/package.json +1 -8
  120. package/schema/data-consumer/package.json +1 -8
  121. package/schema/date/package.json +1 -8
  122. package/schema/decision-item/package.json +1 -8
  123. package/schema/decision-list/package.json +1 -8
  124. package/schema/doc/package.json +1 -8
  125. package/schema/em/package.json +1 -8
  126. package/schema/embed-card/package.json +1 -8
  127. package/schema/emoji/package.json +1 -8
  128. package/schema/expand/package.json +1 -8
  129. package/schema/extension/package.json +1 -8
  130. package/schema/extensions/package.json +1 -8
  131. package/schema/font-size/package.json +1 -8
  132. package/schema/fragment/package.json +1 -8
  133. package/schema/hard-break/package.json +1 -8
  134. package/schema/heading/package.json +1 -8
  135. package/schema/image/package.json +1 -8
  136. package/schema/indentation/package.json +1 -8
  137. package/schema/inline-card/package.json +1 -8
  138. package/schema/inline-content/package.json +1 -8
  139. package/schema/inline-extension/package.json +1 -8
  140. package/schema/inline-nodes/package.json +1 -8
  141. package/schema/layout-section/package.json +1 -8
  142. package/schema/link/package.json +1 -8
  143. package/schema/list/package.json +1 -8
  144. package/schema/list-item/package.json +1 -8
  145. package/schema/mark/package.json +1 -8
  146. package/schema/media/package.json +1 -8
  147. package/schema/media-group/package.json +1 -8
  148. package/schema/media-inline/package.json +1 -8
  149. package/schema/media-single/package.json +1 -8
  150. package/schema/mention/package.json +1 -8
  151. package/schema/multi-bodied-extension/package.json +1 -8
  152. package/schema/nested-expand/package.json +1 -8
  153. package/schema/non-nestable-block-content/package.json +1 -8
  154. package/schema/ordered-list/package.json +1 -8
  155. package/schema/package.json +1 -8
  156. package/schema/panel/package.json +1 -8
  157. package/schema/paragraph/package.json +1 -8
  158. package/schema/placeholder/package.json +1 -8
  159. package/schema/rich-media-common/package.json +1 -8
  160. package/schema/rule/package.json +1 -8
  161. package/schema/sanitizeNodes/package.json +1 -8
  162. package/schema/status/package.json +1 -8
  163. package/schema/strike/package.json +1 -8
  164. package/schema/strong/package.json +1 -8
  165. package/schema/subsup/package.json +1 -8
  166. package/schema/sync-block/package.json +1 -8
  167. package/schema/tableNodes/package.json +1 -8
  168. package/schema/task-item/package.json +1 -8
  169. package/schema/task-list/package.json +1 -8
  170. package/schema/text/package.json +1 -8
  171. package/schema/text-color/package.json +1 -8
  172. package/schema/type-ahead-query/package.json +1 -8
  173. package/schema/underline/package.json +1 -8
  174. package/schema/unknown-block/package.json +1 -8
  175. package/schema/unsupported/package.json +1 -8
  176. package/schema/unsupported-block/package.json +1 -8
  177. package/schema/unsupported-inline/package.json +1 -8
  178. package/schema/unsupported-mark/package.json +1 -8
  179. package/schema/unsupported-node-attributes/package.json +1 -8
  180. package/schema-bitbucket/package.json +1 -8
  181. package/schema-confluence/package.json +1 -8
  182. package/schema-default/package.json +1 -8
  183. package/schema-jira/package.json +1 -8
  184. package/schema-next/markTypes/package.json +1 -8
  185. package/schema-next/nodeGroupTypes/package.json +1 -8
  186. package/schema-next/nodeTypes/package.json +1 -8
  187. package/schema-next/package.json +1 -8
  188. package/schema-validator/package.json +1 -8
  189. package/status/package.json +1 -8
  190. package/steps/analytics/package.json +1 -8
  191. package/steps/batch-attrs-step/package.json +1 -8
  192. package/steps/link-meta-step/package.json +1 -8
  193. package/steps/override-document-step/package.json +1 -8
  194. package/steps/package.json +1 -8
  195. package/steps/set-attrs/package.json +1 -8
  196. package/steps/type-ahead/package.json +1 -8
  197. package/strike/package.json +1 -8
  198. package/strong/package.json +1 -8
  199. package/subsup/package.json +1 -8
  200. package/sync-block/package.json +1 -8
  201. package/tableNodes/package.json +1 -8
  202. package/task-item/package.json +1 -8
  203. package/task-list/package.json +1 -8
  204. package/text/package.json +1 -8
  205. package/text-color/package.json +1 -8
  206. package/type-ahead-query/package.json +1 -8
  207. package/underline/package.json +1 -8
  208. package/unknown-block/package.json +1 -8
  209. package/unsupported/package.json +1 -8
  210. package/unsupported-block/package.json +1 -8
  211. package/unsupported-inline/package.json +1 -8
  212. package/unsupported-mark/package.json +1 -8
  213. package/unsupported-node-attributes/package.json +1 -8
  214. package/url/package.json +1 -8
  215. package/uuid/package.json +1 -8
  216. package/dist/types-ts4.5/entry-points/alignment.d.ts +0 -2
  217. package/dist/types-ts4.5/entry-points/annotation.d.ts +0 -2
  218. package/dist/types-ts4.5/entry-points/background-color.d.ts +0 -2
  219. package/dist/types-ts4.5/entry-points/block-card.d.ts +0 -2
  220. package/dist/types-ts4.5/entry-points/block-content.d.ts +0 -1
  221. package/dist/types-ts4.5/entry-points/blockquote.d.ts +0 -2
  222. package/dist/types-ts4.5/entry-points/bodied-extension.d.ts +0 -2
  223. package/dist/types-ts4.5/entry-points/bodied-sync-block.d.ts +0 -2
  224. package/dist/types-ts4.5/entry-points/border.d.ts +0 -2
  225. package/dist/types-ts4.5/entry-points/breakout.d.ts +0 -2
  226. package/dist/types-ts4.5/entry-points/bullet-list.d.ts +0 -1
  227. package/dist/types-ts4.5/entry-points/caption.d.ts +0 -2
  228. package/dist/types-ts4.5/entry-points/code-block.d.ts +0 -2
  229. package/dist/types-ts4.5/entry-points/code.d.ts +0 -2
  230. package/dist/types-ts4.5/entry-points/colors.d.ts +0 -1
  231. package/dist/types-ts4.5/entry-points/confluence-emoji.d.ts +0 -2
  232. package/dist/types-ts4.5/entry-points/confluence-inline-comment.d.ts +0 -1
  233. package/dist/types-ts4.5/entry-points/confluence-jira-issue.d.ts +0 -1
  234. package/dist/types-ts4.5/entry-points/confluence-unsupported-block.d.ts +0 -1
  235. package/dist/types-ts4.5/entry-points/confluence-unsupported-inline.d.ts +0 -1
  236. package/dist/types-ts4.5/entry-points/create-schema.d.ts +0 -1
  237. package/dist/types-ts4.5/entry-points/createPMSpecFactory.d.ts +0 -2
  238. package/dist/types-ts4.5/entry-points/data-consumer.d.ts +0 -2
  239. package/dist/types-ts4.5/entry-points/date.d.ts +0 -2
  240. package/dist/types-ts4.5/entry-points/decision-item.d.ts +0 -2
  241. package/dist/types-ts4.5/entry-points/decision-list.d.ts +0 -2
  242. package/dist/types-ts4.5/entry-points/doc.d.ts +0 -2
  243. package/dist/types-ts4.5/entry-points/em.d.ts +0 -2
  244. package/dist/types-ts4.5/entry-points/embed-card.d.ts +0 -2
  245. package/dist/types-ts4.5/entry-points/emoji.d.ts +0 -2
  246. package/dist/types-ts4.5/entry-points/expand.d.ts +0 -2
  247. package/dist/types-ts4.5/entry-points/extension.d.ts +0 -2
  248. package/dist/types-ts4.5/entry-points/extensions.d.ts +0 -1
  249. package/dist/types-ts4.5/entry-points/font-size.d.ts +0 -2
  250. package/dist/types-ts4.5/entry-points/fragment.d.ts +0 -2
  251. package/dist/types-ts4.5/entry-points/hard-break.d.ts +0 -2
  252. package/dist/types-ts4.5/entry-points/heading.d.ts +0 -2
  253. package/dist/types-ts4.5/entry-points/image.d.ts +0 -1
  254. package/dist/types-ts4.5/entry-points/indentation.d.ts +0 -2
  255. package/dist/types-ts4.5/entry-points/inline-card.d.ts +0 -2
  256. package/dist/types-ts4.5/entry-points/inline-content.d.ts +0 -1
  257. package/dist/types-ts4.5/entry-points/inline-extension.d.ts +0 -2
  258. package/dist/types-ts4.5/entry-points/inline-nodes.d.ts +0 -1
  259. package/dist/types-ts4.5/entry-points/layout-column.d.ts +0 -3
  260. package/dist/types-ts4.5/entry-points/layout-section.d.ts +0 -2
  261. package/dist/types-ts4.5/entry-points/lch-color-inversion.d.ts +0 -1
  262. package/dist/types-ts4.5/entry-points/link.d.ts +0 -2
  263. package/dist/types-ts4.5/entry-points/list-item.d.ts +0 -1
  264. package/dist/types-ts4.5/entry-points/list.d.ts +0 -1
  265. package/dist/types-ts4.5/entry-points/mark.d.ts +0 -1
  266. package/dist/types-ts4.5/entry-points/media-group.d.ts +0 -2
  267. package/dist/types-ts4.5/entry-points/media-inline.d.ts +0 -2
  268. package/dist/types-ts4.5/entry-points/media-single.d.ts +0 -2
  269. package/dist/types-ts4.5/entry-points/media.d.ts +0 -2
  270. package/dist/types-ts4.5/entry-points/mention.d.ts +0 -2
  271. package/dist/types-ts4.5/entry-points/multi-bodied-extension.d.ts +0 -2
  272. package/dist/types-ts4.5/entry-points/nested-expand.d.ts +0 -2
  273. package/dist/types-ts4.5/entry-points/non-nestable-block-content.d.ts +0 -1
  274. package/dist/types-ts4.5/entry-points/ordered-list.d.ts +0 -1
  275. package/dist/types-ts4.5/entry-points/panel.d.ts +0 -2
  276. package/dist/types-ts4.5/entry-points/paragraph.d.ts +0 -2
  277. package/dist/types-ts4.5/entry-points/placeholder.d.ts +0 -2
  278. package/dist/types-ts4.5/entry-points/rich-media-common.d.ts +0 -1
  279. package/dist/types-ts4.5/entry-points/rule.d.ts +0 -2
  280. package/dist/types-ts4.5/entry-points/sanitizeNodes.d.ts +0 -1
  281. package/dist/types-ts4.5/entry-points/schema-alignment.d.ts +0 -2
  282. package/dist/types-ts4.5/entry-points/schema-annotation.d.ts +0 -2
  283. package/dist/types-ts4.5/entry-points/schema-background-color.d.ts +0 -2
  284. package/dist/types-ts4.5/entry-points/schema-block-card.d.ts +0 -2
  285. package/dist/types-ts4.5/entry-points/schema-block-content.d.ts +0 -1
  286. package/dist/types-ts4.5/entry-points/schema-blockquote.d.ts +0 -2
  287. package/dist/types-ts4.5/entry-points/schema-bodied-extension.d.ts +0 -2
  288. package/dist/types-ts4.5/entry-points/schema-bodied-sync-block.d.ts +0 -2
  289. package/dist/types-ts4.5/entry-points/schema-border.d.ts +0 -2
  290. package/dist/types-ts4.5/entry-points/schema-breakout.d.ts +0 -2
  291. package/dist/types-ts4.5/entry-points/schema-bullet-list.d.ts +0 -1
  292. package/dist/types-ts4.5/entry-points/schema-caption.d.ts +0 -2
  293. package/dist/types-ts4.5/entry-points/schema-code-block.d.ts +0 -2
  294. package/dist/types-ts4.5/entry-points/schema-code.d.ts +0 -2
  295. package/dist/types-ts4.5/entry-points/schema-confluence-inline-comment.d.ts +0 -1
  296. package/dist/types-ts4.5/entry-points/schema-confluence-jira-issue.d.ts +0 -1
  297. package/dist/types-ts4.5/entry-points/schema-confluence-unsupported-block.d.ts +0 -1
  298. package/dist/types-ts4.5/entry-points/schema-confluence-unsupported-inline.d.ts +0 -1
  299. package/dist/types-ts4.5/entry-points/schema-create-schema.d.ts +0 -1
  300. package/dist/types-ts4.5/entry-points/schema-createPMSpecFactory.d.ts +0 -2
  301. package/dist/types-ts4.5/entry-points/schema-data-consumer.d.ts +0 -2
  302. package/dist/types-ts4.5/entry-points/schema-date.d.ts +0 -2
  303. package/dist/types-ts4.5/entry-points/schema-decision-item.d.ts +0 -2
  304. package/dist/types-ts4.5/entry-points/schema-decision-list.d.ts +0 -2
  305. package/dist/types-ts4.5/entry-points/schema-doc.d.ts +0 -2
  306. package/dist/types-ts4.5/entry-points/schema-em.d.ts +0 -2
  307. package/dist/types-ts4.5/entry-points/schema-embed-card.d.ts +0 -2
  308. package/dist/types-ts4.5/entry-points/schema-emoji.d.ts +0 -2
  309. package/dist/types-ts4.5/entry-points/schema-expand.d.ts +0 -2
  310. package/dist/types-ts4.5/entry-points/schema-extension.d.ts +0 -2
  311. package/dist/types-ts4.5/entry-points/schema-extensions.d.ts +0 -1
  312. package/dist/types-ts4.5/entry-points/schema-font-size.d.ts +0 -2
  313. package/dist/types-ts4.5/entry-points/schema-fragment.d.ts +0 -2
  314. package/dist/types-ts4.5/entry-points/schema-hard-break.d.ts +0 -2
  315. package/dist/types-ts4.5/entry-points/schema-heading.d.ts +0 -2
  316. package/dist/types-ts4.5/entry-points/schema-image.d.ts +0 -1
  317. package/dist/types-ts4.5/entry-points/schema-indentation.d.ts +0 -2
  318. package/dist/types-ts4.5/entry-points/schema-inline-card.d.ts +0 -2
  319. package/dist/types-ts4.5/entry-points/schema-inline-content.d.ts +0 -1
  320. package/dist/types-ts4.5/entry-points/schema-inline-extension.d.ts +0 -2
  321. package/dist/types-ts4.5/entry-points/schema-inline-nodes.d.ts +0 -1
  322. package/dist/types-ts4.5/entry-points/schema-layout-section.d.ts +0 -2
  323. package/dist/types-ts4.5/entry-points/schema-link.d.ts +0 -2
  324. package/dist/types-ts4.5/entry-points/schema-list-item.d.ts +0 -1
  325. package/dist/types-ts4.5/entry-points/schema-list.d.ts +0 -1
  326. package/dist/types-ts4.5/entry-points/schema-mark.d.ts +0 -1
  327. package/dist/types-ts4.5/entry-points/schema-media-group.d.ts +0 -2
  328. package/dist/types-ts4.5/entry-points/schema-media-inline.d.ts +0 -2
  329. package/dist/types-ts4.5/entry-points/schema-media-single.d.ts +0 -2
  330. package/dist/types-ts4.5/entry-points/schema-media.d.ts +0 -2
  331. package/dist/types-ts4.5/entry-points/schema-mention.d.ts +0 -2
  332. package/dist/types-ts4.5/entry-points/schema-multi-bodied-extension.d.ts +0 -2
  333. package/dist/types-ts4.5/entry-points/schema-nested-expand.d.ts +0 -2
  334. package/dist/types-ts4.5/entry-points/schema-next-markTypes.d.ts +0 -2
  335. package/dist/types-ts4.5/entry-points/schema-next-nodeGroupTypes.d.ts +0 -1
  336. package/dist/types-ts4.5/entry-points/schema-next-nodeTypes.d.ts +0 -2
  337. package/dist/types-ts4.5/entry-points/schema-non-nestable-block-content.d.ts +0 -1
  338. package/dist/types-ts4.5/entry-points/schema-ordered-list.d.ts +0 -1
  339. package/dist/types-ts4.5/entry-points/schema-panel.d.ts +0 -2
  340. package/dist/types-ts4.5/entry-points/schema-paragraph.d.ts +0 -2
  341. package/dist/types-ts4.5/entry-points/schema-placeholder.d.ts +0 -2
  342. package/dist/types-ts4.5/entry-points/schema-rich-media-common.d.ts +0 -1
  343. package/dist/types-ts4.5/entry-points/schema-rule.d.ts +0 -2
  344. package/dist/types-ts4.5/entry-points/schema-sanitizeNodes.d.ts +0 -1
  345. package/dist/types-ts4.5/entry-points/schema-status.d.ts +0 -2
  346. package/dist/types-ts4.5/entry-points/schema-strike.d.ts +0 -2
  347. package/dist/types-ts4.5/entry-points/schema-strong.d.ts +0 -2
  348. package/dist/types-ts4.5/entry-points/schema-subsup.d.ts +0 -2
  349. package/dist/types-ts4.5/entry-points/schema-sync-block.d.ts +0 -2
  350. package/dist/types-ts4.5/entry-points/schema-tableNodes.d.ts +0 -2
  351. package/dist/types-ts4.5/entry-points/schema-task-item.d.ts +0 -2
  352. package/dist/types-ts4.5/entry-points/schema-task-list.d.ts +0 -2
  353. package/dist/types-ts4.5/entry-points/schema-text-color.d.ts +0 -2
  354. package/dist/types-ts4.5/entry-points/schema-text.d.ts +0 -2
  355. package/dist/types-ts4.5/entry-points/schema-type-ahead-query.d.ts +0 -1
  356. package/dist/types-ts4.5/entry-points/schema-underline.d.ts +0 -2
  357. package/dist/types-ts4.5/entry-points/schema-unknown-block.d.ts +0 -1
  358. package/dist/types-ts4.5/entry-points/schema-unsupported-block.d.ts +0 -1
  359. package/dist/types-ts4.5/entry-points/schema-unsupported-inline.d.ts +0 -1
  360. package/dist/types-ts4.5/entry-points/schema-unsupported-mark.d.ts +0 -1
  361. package/dist/types-ts4.5/entry-points/schema-unsupported-node-attributes.d.ts +0 -1
  362. package/dist/types-ts4.5/entry-points/schema-unsupported.d.ts +0 -1
  363. package/dist/types-ts4.5/entry-points/status.d.ts +0 -2
  364. package/dist/types-ts4.5/entry-points/steps-analytics.d.ts +0 -2
  365. package/dist/types-ts4.5/entry-points/steps-batch-attrs-step.d.ts +0 -2
  366. package/dist/types-ts4.5/entry-points/steps-link-meta-step.d.ts +0 -2
  367. package/dist/types-ts4.5/entry-points/steps-override-document-step.d.ts +0 -2
  368. package/dist/types-ts4.5/entry-points/steps-set-attrs.d.ts +0 -1
  369. package/dist/types-ts4.5/entry-points/steps-type-ahead.d.ts +0 -1
  370. package/dist/types-ts4.5/entry-points/strike.d.ts +0 -2
  371. package/dist/types-ts4.5/entry-points/strong.d.ts +0 -2
  372. package/dist/types-ts4.5/entry-points/subsup.d.ts +0 -2
  373. package/dist/types-ts4.5/entry-points/sync-block.d.ts +0 -2
  374. package/dist/types-ts4.5/entry-points/tableNodes.d.ts +0 -2
  375. package/dist/types-ts4.5/entry-points/task-item.d.ts +0 -2
  376. package/dist/types-ts4.5/entry-points/task-list.d.ts +0 -2
  377. package/dist/types-ts4.5/entry-points/text-color.d.ts +0 -2
  378. package/dist/types-ts4.5/entry-points/text.d.ts +0 -2
  379. package/dist/types-ts4.5/entry-points/type-ahead-query.d.ts +0 -1
  380. package/dist/types-ts4.5/entry-points/underline.d.ts +0 -2
  381. package/dist/types-ts4.5/entry-points/unknown-block.d.ts +0 -1
  382. package/dist/types-ts4.5/entry-points/unsupported-block.d.ts +0 -1
  383. package/dist/types-ts4.5/entry-points/unsupported-inline.d.ts +0 -1
  384. package/dist/types-ts4.5/entry-points/unsupported-mark.d.ts +0 -1
  385. package/dist/types-ts4.5/entry-points/unsupported-node-attributes.d.ts +0 -1
  386. package/dist/types-ts4.5/entry-points/unsupported.d.ts +0 -1
  387. package/dist/types-ts4.5/entry-points/uuid.d.ts +0 -1
  388. package/dist/types-ts4.5/index.d.ts +0 -8
  389. package/dist/types-ts4.5/next-schema/full-schema.adf.d.ts +0 -5
  390. package/dist/types-ts4.5/next-schema/generated/markTypes.d.ts +0 -218
  391. package/dist/types-ts4.5/next-schema/generated/nodeGroupTypes.d.ts +0 -10
  392. package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +0 -1056
  393. package/dist/types-ts4.5/next-schema/groups/blockContentGroup.d.ts +0 -14
  394. package/dist/types-ts4.5/next-schema/groups/blockGroup.d.ts +0 -2
  395. package/dist/types-ts4.5/next-schema/groups/blockRootOnlyGroup.d.ts +0 -2
  396. package/dist/types-ts4.5/next-schema/groups/fontStyleGroup.d.ts +0 -2
  397. package/dist/types-ts4.5/next-schema/groups/inlineContentGroup.d.ts +0 -12
  398. package/dist/types-ts4.5/next-schema/groups/inlineGroup.d.ts +0 -2
  399. package/dist/types-ts4.5/next-schema/groups/linkMarkGroup.d.ts +0 -2
  400. package/dist/types-ts4.5/next-schema/groups/nonNestableBlockContentGroup.d.ts +0 -9
  401. package/dist/types-ts4.5/next-schema/groups/searchQueryMarkGroup.d.ts +0 -2
  402. package/dist/types-ts4.5/next-schema/groups/tableCellContentPseudoGroup.d.ts +0 -4
  403. package/dist/types-ts4.5/next-schema/index.d.ts +0 -3
  404. package/dist/types-ts4.5/next-schema/marks/alignmentAndIndentation.d.ts +0 -3
  405. package/dist/types-ts4.5/next-schema/marks/annotation.d.ts +0 -3
  406. package/dist/types-ts4.5/next-schema/marks/border.d.ts +0 -2
  407. package/dist/types-ts4.5/next-schema/marks/breakout.d.ts +0 -2
  408. package/dist/types-ts4.5/next-schema/marks/code.d.ts +0 -2
  409. package/dist/types-ts4.5/next-schema/marks/color.d.ts +0 -4
  410. package/dist/types-ts4.5/next-schema/marks/confluenceInlineComment.d.ts +0 -2
  411. package/dist/types-ts4.5/next-schema/marks/dataConsumer.d.ts +0 -2
  412. package/dist/types-ts4.5/next-schema/marks/em.d.ts +0 -2
  413. package/dist/types-ts4.5/next-schema/marks/fontSize.d.ts +0 -17
  414. package/dist/types-ts4.5/next-schema/marks/fragment.d.ts +0 -2
  415. package/dist/types-ts4.5/next-schema/marks/link.d.ts +0 -2
  416. package/dist/types-ts4.5/next-schema/marks/strike.d.ts +0 -2
  417. package/dist/types-ts4.5/next-schema/marks/strong.d.ts +0 -2
  418. package/dist/types-ts4.5/next-schema/marks/subsup.d.ts +0 -2
  419. package/dist/types-ts4.5/next-schema/marks/typeAheadQuery.d.ts +0 -2
  420. package/dist/types-ts4.5/next-schema/marks/underline.d.ts +0 -2
  421. package/dist/types-ts4.5/next-schema/marks/unsupportedMark.d.ts +0 -2
  422. package/dist/types-ts4.5/next-schema/marks/unsupportedNodeAttribute.d.ts +0 -2
  423. package/dist/types-ts4.5/next-schema/nodes/blockCard.d.ts +0 -4
  424. package/dist/types-ts4.5/next-schema/nodes/blockquote.d.ts +0 -15
  425. package/dist/types-ts4.5/next-schema/nodes/bodiedExtension.d.ts +0 -9
  426. package/dist/types-ts4.5/next-schema/nodes/bodiedSyncBlock.d.ts +0 -4
  427. package/dist/types-ts4.5/next-schema/nodes/caption.d.ts +0 -4
  428. package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +0 -9
  429. package/dist/types-ts4.5/next-schema/nodes/confluenceJiraIssue.d.ts +0 -4
  430. package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedBlock.d.ts +0 -4
  431. package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedInline.d.ts +0 -4
  432. package/dist/types-ts4.5/next-schema/nodes/date.d.ts +0 -4
  433. package/dist/types-ts4.5/next-schema/nodes/decisionItem.d.ts +0 -4
  434. package/dist/types-ts4.5/next-schema/nodes/decisionList.d.ts +0 -4
  435. package/dist/types-ts4.5/next-schema/nodes/embedCard.d.ts +0 -4
  436. package/dist/types-ts4.5/next-schema/nodes/emoji.d.ts +0 -4
  437. package/dist/types-ts4.5/next-schema/nodes/expand.d.ts +0 -9
  438. package/dist/types-ts4.5/next-schema/nodes/extension.d.ts +0 -8
  439. package/dist/types-ts4.5/next-schema/nodes/extensionFrame.d.ts +0 -4
  440. package/dist/types-ts4.5/next-schema/nodes/hardBreak.d.ts +0 -4
  441. package/dist/types-ts4.5/next-schema/nodes/heading.d.ts +0 -39
  442. package/dist/types-ts4.5/next-schema/nodes/image.d.ts +0 -4
  443. package/dist/types-ts4.5/next-schema/nodes/inlineCard.d.ts +0 -7
  444. package/dist/types-ts4.5/next-schema/nodes/inlineExtension.d.ts +0 -7
  445. package/dist/types-ts4.5/next-schema/nodes/layoutColumn.d.ts +0 -4
  446. package/dist/types-ts4.5/next-schema/nodes/layoutSection.d.ts +0 -26
  447. package/dist/types-ts4.5/next-schema/nodes/list.d.ts +0 -7
  448. package/dist/types-ts4.5/next-schema/nodes/media.d.ts +0 -4
  449. package/dist/types-ts4.5/next-schema/nodes/mediaGroup.d.ts +0 -4
  450. package/dist/types-ts4.5/next-schema/nodes/mediaInline.d.ts +0 -4
  451. package/dist/types-ts4.5/next-schema/nodes/mediaSingle.d.ts +0 -7
  452. package/dist/types-ts4.5/next-schema/nodes/mention.d.ts +0 -4
  453. package/dist/types-ts4.5/next-schema/nodes/multiBodiedExtension.d.ts +0 -4
  454. package/dist/types-ts4.5/next-schema/nodes/nestedExpand.d.ts +0 -12
  455. package/dist/types-ts4.5/next-schema/nodes/panel.d.ts +0 -5
  456. package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +0 -30
  457. package/dist/types-ts4.5/next-schema/nodes/placeholder.d.ts +0 -4
  458. package/dist/types-ts4.5/next-schema/nodes/rule.d.ts +0 -4
  459. package/dist/types-ts4.5/next-schema/nodes/status.d.ts +0 -4
  460. package/dist/types-ts4.5/next-schema/nodes/syncBlock.d.ts +0 -4
  461. package/dist/types-ts4.5/next-schema/nodes/tableCellContent.d.ts +0 -4
  462. package/dist/types-ts4.5/next-schema/nodes/tableNodes.d.ts +0 -5
  463. package/dist/types-ts4.5/next-schema/nodes/task.d.ts +0 -10
  464. package/dist/types-ts4.5/next-schema/nodes/text.d.ts +0 -26
  465. package/dist/types-ts4.5/next-schema/nodes/unsupportedBlock.d.ts +0 -4
  466. package/dist/types-ts4.5/next-schema/nodes/unsupportedInline.d.ts +0 -4
  467. package/dist/types-ts4.5/schema/bitbucket-schema.d.ts +0 -5
  468. package/dist/types-ts4.5/schema/confluence-schema.d.ts +0 -9
  469. package/dist/types-ts4.5/schema/create-schema.d.ts +0 -27
  470. package/dist/types-ts4.5/schema/createPMSpecFactory.d.ts +0 -37
  471. package/dist/types-ts4.5/schema/default-schema.d.ts +0 -9
  472. package/dist/types-ts4.5/schema/groups.d.ts +0 -6
  473. package/dist/types-ts4.5/schema/index.d.ts +0 -12
  474. package/dist/types-ts4.5/schema/inline-nodes.d.ts +0 -1
  475. package/dist/types-ts4.5/schema/jira-schema.d.ts +0 -65
  476. package/dist/types-ts4.5/schema/marks/alignment.d.ts +0 -16
  477. package/dist/types-ts4.5/schema/marks/annotation.d.ts +0 -32
  478. package/dist/types-ts4.5/schema/marks/background-color.d.ts +0 -15
  479. package/dist/types-ts4.5/schema/marks/border.d.ts +0 -26
  480. package/dist/types-ts4.5/schema/marks/breakout.d.ts +0 -12
  481. package/dist/types-ts4.5/schema/marks/code.d.ts +0 -8
  482. package/dist/types-ts4.5/schema/marks/confluence-inline-comment.d.ts +0 -12
  483. package/dist/types-ts4.5/schema/marks/data-consumer.d.ts +0 -48
  484. package/dist/types-ts4.5/schema/marks/em.d.ts +0 -8
  485. package/dist/types-ts4.5/schema/marks/font-size.d.ts +0 -12
  486. package/dist/types-ts4.5/schema/marks/fragment.d.ts +0 -30
  487. package/dist/types-ts4.5/schema/marks/indentation.d.ts +0 -16
  488. package/dist/types-ts4.5/schema/marks/index.d.ts +0 -38
  489. package/dist/types-ts4.5/schema/marks/link.d.ts +0 -40
  490. package/dist/types-ts4.5/schema/marks/strike.d.ts +0 -8
  491. package/dist/types-ts4.5/schema/marks/strong.d.ts +0 -8
  492. package/dist/types-ts4.5/schema/marks/subsup.d.ts +0 -15
  493. package/dist/types-ts4.5/schema/marks/text-color.d.ts +0 -27
  494. package/dist/types-ts4.5/schema/marks/type-ahead-query.d.ts +0 -2
  495. package/dist/types-ts4.5/schema/marks/underline.d.ts +0 -8
  496. package/dist/types-ts4.5/schema/marks/unsupported-mark.d.ts +0 -2
  497. package/dist/types-ts4.5/schema/marks/unsupported-node-attributes.d.ts +0 -2
  498. package/dist/types-ts4.5/schema/nodes/block-card.d.ts +0 -49
  499. package/dist/types-ts4.5/schema/nodes/blockquote.d.ts +0 -30
  500. package/dist/types-ts4.5/schema/nodes/bodied-extension.d.ts +0 -26
  501. package/dist/types-ts4.5/schema/nodes/bodied-sync-block.d.ts +0 -46
  502. package/dist/types-ts4.5/schema/nodes/bullet-list.d.ts +0 -4
  503. package/dist/types-ts4.5/schema/nodes/caption.d.ts +0 -27
  504. package/dist/types-ts4.5/schema/nodes/code-block.d.ts +0 -34
  505. package/dist/types-ts4.5/schema/nodes/confluence-jira-issue.d.ts +0 -2
  506. package/dist/types-ts4.5/schema/nodes/confluence-unsupported-block.d.ts +0 -2
  507. package/dist/types-ts4.5/schema/nodes/confluence-unsupported-inline.d.ts +0 -2
  508. package/dist/types-ts4.5/schema/nodes/date.d.ts +0 -23
  509. package/dist/types-ts4.5/schema/nodes/decision-item.d.ts +0 -18
  510. package/dist/types-ts4.5/schema/nodes/decision-list.d.ts +0 -20
  511. package/dist/types-ts4.5/schema/nodes/doc.d.ts +0 -22
  512. package/dist/types-ts4.5/schema/nodes/embed-card.d.ts +0 -17
  513. package/dist/types-ts4.5/schema/nodes/emoji.d.ts +0 -22
  514. package/dist/types-ts4.5/schema/nodes/expand.d.ts +0 -36
  515. package/dist/types-ts4.5/schema/nodes/extension.d.ts +0 -18
  516. package/dist/types-ts4.5/schema/nodes/hard-break.d.ts +0 -11
  517. package/dist/types-ts4.5/schema/nodes/heading.d.ts +0 -43
  518. package/dist/types-ts4.5/schema/nodes/image.d.ts +0 -2
  519. package/dist/types-ts4.5/schema/nodes/index.d.ts +0 -98
  520. package/dist/types-ts4.5/schema/nodes/inline-card.d.ts +0 -17
  521. package/dist/types-ts4.5/schema/nodes/inline-extension.d.ts +0 -18
  522. package/dist/types-ts4.5/schema/nodes/layout-column.d.ts +0 -30
  523. package/dist/types-ts4.5/schema/nodes/layout-section.d.ts +0 -57
  524. package/dist/types-ts4.5/schema/nodes/list-item.d.ts +0 -9
  525. package/dist/types-ts4.5/schema/nodes/media-group.d.ts +0 -16
  526. package/dist/types-ts4.5/schema/nodes/media-inline.d.ts +0 -20
  527. package/dist/types-ts4.5/schema/nodes/media-single.d.ts +0 -78
  528. package/dist/types-ts4.5/schema/nodes/media.d.ts +0 -71
  529. package/dist/types-ts4.5/schema/nodes/mention.d.ts +0 -31
  530. package/dist/types-ts4.5/schema/nodes/multi-bodied-extension.d.ts +0 -55
  531. package/dist/types-ts4.5/schema/nodes/nested-expand.d.ts +0 -43
  532. package/dist/types-ts4.5/schema/nodes/ordered-list.d.ts +0 -6
  533. package/dist/types-ts4.5/schema/nodes/panel.d.ts +0 -64
  534. package/dist/types-ts4.5/schema/nodes/paragraph.d.ts +0 -45
  535. package/dist/types-ts4.5/schema/nodes/placeholder.d.ts +0 -13
  536. package/dist/types-ts4.5/schema/nodes/rule.d.ts +0 -12
  537. package/dist/types-ts4.5/schema/nodes/status.d.ts +0 -27
  538. package/dist/types-ts4.5/schema/nodes/sync-block.d.ts +0 -23
  539. package/dist/types-ts4.5/schema/nodes/tableNodes.d.ts +0 -174
  540. package/dist/types-ts4.5/schema/nodes/task-item.d.ts +0 -36
  541. package/dist/types-ts4.5/schema/nodes/task-list.d.ts +0 -26
  542. package/dist/types-ts4.5/schema/nodes/text.d.ts +0 -14
  543. package/dist/types-ts4.5/schema/nodes/types/block-content.d.ts +0 -21
  544. package/dist/types-ts4.5/schema/nodes/types/extensions.d.ts +0 -34
  545. package/dist/types-ts4.5/schema/nodes/types/inline-content.d.ts +0 -28
  546. package/dist/types-ts4.5/schema/nodes/types/list.d.ts +0 -51
  547. package/dist/types-ts4.5/schema/nodes/types/mark.d.ts +0 -15
  548. package/dist/types-ts4.5/schema/nodes/types/non-nestable-block-content.d.ts +0 -19
  549. package/dist/types-ts4.5/schema/nodes/types/rich-media-common.d.ts +0 -37
  550. package/dist/types-ts4.5/schema/nodes/types/valign.d.ts +0 -6
  551. package/dist/types-ts4.5/schema/nodes/unknown-block.d.ts +0 -3
  552. package/dist/types-ts4.5/schema/nodes/unsupported-block.d.ts +0 -2
  553. package/dist/types-ts4.5/schema/nodes/unsupported-inline.d.ts +0 -2
  554. package/dist/types-ts4.5/schema/sanitizeNodes.d.ts +0 -8
  555. package/dist/types-ts4.5/schema/unsupported.d.ts +0 -1
  556. package/dist/types-ts4.5/steps/analytics.d.ts +0 -60
  557. package/dist/types-ts4.5/steps/batch-attrs-step.d.ts +0 -74
  558. package/dist/types-ts4.5/steps/link-meta-step.d.ts +0 -52
  559. package/dist/types-ts4.5/steps/override-document-step.d.ts +0 -26
  560. package/dist/types-ts4.5/steps/set-attrs.d.ts +0 -24
  561. package/dist/types-ts4.5/steps/type-ahead.d.ts +0 -35
  562. package/dist/types-ts4.5/steps/types.d.ts +0 -96
  563. package/dist/types-ts4.5/steps.d.ts +0 -10
  564. package/dist/types-ts4.5/utils/colors.d.ts +0 -81
  565. package/dist/types-ts4.5/utils/confluence/emoji.d.ts +0 -50
  566. package/dist/types-ts4.5/utils/editor-palette.d.ts +0 -257
  567. package/dist/types-ts4.5/utils/extensions.d.ts +0 -3
  568. package/dist/types-ts4.5/utils/index.d.ts +0 -7
  569. package/dist/types-ts4.5/utils/lch-color-inversion.d.ts +0 -2
  570. package/dist/types-ts4.5/utils/parseDOM.d.ts +0 -1
  571. package/dist/types-ts4.5/utils/url.d.ts +0 -40
  572. package/dist/types-ts4.5/utils/uuid.d.ts +0 -5
  573. package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +0 -2016
@@ -1,174 +0,0 @@
1
- import type { NodeSpec, Node as PmNode, Attrs } from '@atlaskit/editor-prosemirror/model';
2
- import type { PanelDefinition as Panel } from './panel';
3
- import type { ParagraphDefinition as Paragraph, ParagraphWithAlignmentDefinition as ParagraphWithMarks } from './paragraph';
4
- import type { BlockQuoteDefinition as Blockquote } from './blockquote';
5
- import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from './types/list';
6
- import type { RuleDefinition as Rule } from './rule';
7
- import type { HeadingDefinition as Heading, HeadingWithMarksDefinition as HeadingWithMarks } from './heading';
8
- import type { CodeBlockDefinition as CodeBlock } from './code-block';
9
- import type { MediaGroupDefinition as MediaGroup } from './media-group';
10
- import type { MediaSingleDefinition as MediaSingle } from './media-single';
11
- import type { DecisionListDefinition as DecisionList } from './decision-list';
12
- import type { TaskListDefinition as TaskList } from './task-list';
13
- import type { ExtensionDefinition as Extension } from './extension';
14
- import type { BlockCardDefinition as BlockCard } from './block-card';
15
- import type { EmbedCardDefinition as EmbedCard } from './embed-card';
16
- import type { NestedExpandDefinition as NestedExpand } from './nested-expand';
17
- import type { FragmentDefinition } from '../marks/fragment';
18
- import type { Valign } from './types/valign';
19
- export interface CellAttributes {
20
- background?: string;
21
- colspan?: number;
22
- colwidth?: number[];
23
- localId?: string;
24
- rowspan?: number;
25
- /**
26
- * @stage 0
27
- */
28
- valign?: Valign;
29
- }
30
- export declare const tablePrefixSelector = "pm-table";
31
- export declare const tableCellSelector: 'pm-table-cell-content-wrap';
32
- export declare const tableHeaderSelector: 'pm-table-header-content-wrap';
33
- export declare const tableCellContentWrapperSelector: 'pm-table-cell-nodeview-wrapper';
34
- export declare const tableCellContentDomSelector: 'pm-table-cell-nodeview-content-dom';
35
- export declare const getCellAttrs: (dom: HTMLElement, defaultValues?: CellAttributes) => {
36
- background: string | null;
37
- colspan: number;
38
- colwidth: number[] | null;
39
- localId?: string;
40
- rowspan: number;
41
- };
42
- export type CellDomAttrs = {
43
- class?: string;
44
- colorname?: string;
45
- colspan?: string;
46
- 'data-cell-background'?: string;
47
- 'data-colwidth'?: string;
48
- 'data-local-id'?: string;
49
- 'data-valign'?: Valign;
50
- rowspan?: string;
51
- style?: string;
52
- };
53
- export declare const setGlobalTheme: (theme: string) => void;
54
- /**
55
- * gets cell dom attributes based on node attributes
56
- * @returns CellDomAttrs
57
- */
58
- export declare const getCellDomAttrs: (node: PmNode) => CellDomAttrs;
59
- export declare const tableBackgroundColorPalette: Map<string, string>;
60
- export declare const tableBackgroundBorderColor: string;
61
- export declare const tableBackgroundColorNames: Map<string, string>;
62
- export type DisplayMode = 'default' | 'fixed';
63
- export type Layout = 'default' | 'full-width' | 'wide' | 'center' | 'align-start' | 'align-end';
64
- export interface TableAttributes {
65
- __autoSize?: boolean;
66
- displayMode?: DisplayMode;
67
- isNumberColumnEnabled?: boolean;
68
- layout?: Layout;
69
- /**
70
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
71
- * @minLength 1
72
- */
73
- localId?: string;
74
- width?: number;
75
- }
76
- /**
77
- * @name table_node
78
- */
79
- export interface TableDefinition {
80
- attrs?: TableAttributes;
81
- /**
82
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
83
- * @minItems 1
84
- */
85
- content: Array<TableRow>;
86
- marks?: Array<FragmentDefinition>;
87
- type: 'table';
88
- }
89
- /**
90
- * @name table_row_node
91
- */
92
- export interface TableRow {
93
- content: Array<TableHeader | TableCell>;
94
- type: 'tableRow';
95
- }
96
- /**
97
- * @name table_cell_content
98
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
99
- * @minItems 1
100
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
101
- * @allowUnsupportedBlock true
102
- */
103
- export type TableCellContent = Array<Panel | Paragraph | ParagraphWithMarks | Blockquote | OrderedList | BulletList | Rule | Heading | HeadingWithMarks | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Extension | BlockCard | NestedExpand | EmbedCard>;
104
- /**
105
- * @name table_cell_node
106
- */
107
- export interface TableCell {
108
- attrs?: CellAttributes;
109
- content: TableCellContent;
110
- type: 'tableCell';
111
- }
112
- /**
113
- * @name table_header_node
114
- */
115
- export interface TableHeader {
116
- attrs?: CellAttributes;
117
- content: TableCellContent;
118
- type: 'tableHeader';
119
- }
120
- export interface TableWithNestedTableDefinition {
121
- attrs?: TableAttributes;
122
- /**
123
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
124
- * @minItems 1
125
- */
126
- content: Array<TableRow>;
127
- marks?: Array<FragmentDefinition>;
128
- type: 'table';
129
- }
130
- export interface TableRowWithNestedTableDefinition {
131
- content: Array<TableHeader | TableCell>;
132
- type: 'tableRow';
133
- }
134
- export interface TableCellWithNestedTableDefinition {
135
- attrs?: CellAttributes;
136
- content: TableCellContent | TableDefinition;
137
- type: 'tableCell';
138
- }
139
- export interface TableHeaderWithNestedTableDefinition {
140
- attrs?: CellAttributes;
141
- content: TableCellContent | TableDefinition;
142
- type: 'tableHeader';
143
- }
144
- /** Includes table width attribute */
145
- export declare const table: NodeSpec;
146
- /** @deprecated Do not use, instead use the regular `table` export */
147
- export declare const tableWithCustomWidth: NodeSpec;
148
- export declare const tableStage0: NodeSpec;
149
- export declare const tableToJSON: (node: PmNode) => {
150
- attrs: Attrs;
151
- };
152
- export declare const tableRow: NodeSpec;
153
- export declare const tableCell: NodeSpec;
154
- export declare const toJSONTableCell: (node: PmNode) => {
155
- attrs: Record<string, any>;
156
- };
157
- export declare const tableHeader: NodeSpec;
158
- export declare const toJSONTableHeader: (node: PmNode) => {
159
- attrs: Record<string, any>;
160
- };
161
- export declare const tableWithNestedTable: NodeSpec;
162
- export declare const tableRowWithNestedTable: NodeSpec;
163
- export declare const tableCellWithNestedTable: NodeSpec;
164
- export declare const tableHeaderWithNestedTable: NodeSpec;
165
- export declare const tableCellStage0: NodeSpec;
166
- export declare const tableHeaderStage0: NodeSpec;
167
- export declare const tableCellWithNestedTableStage0: NodeSpec;
168
- export declare const tableHeaderWithNestedTableStage0: NodeSpec;
169
- export declare const tableRowWithLocalId: NodeSpec;
170
- export declare const tableCellWithLocalId: NodeSpec;
171
- export declare const tableHeaderWithLocalId: NodeSpec;
172
- export declare const tableRowWithNestedTableWithLocalId: NodeSpec;
173
- export declare const tableCellWithNestedTableWithLocalId: NodeSpec;
174
- export declare const tableHeaderWithNestedTableWithLocalId: NodeSpec;
@@ -1,36 +0,0 @@
1
- import type { Inline } from './types/inline-content';
2
- import type { ParagraphDefinition as Paragraph } from './paragraph';
3
- import type { ExtensionDefinition as Extension } from './extension';
4
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
5
- /**
6
- * @name taskItem_node
7
- */
8
- export interface TaskItemDefinition {
9
- attrs: {
10
- localId: string;
11
- state: 'TODO' | 'DONE';
12
- };
13
- /**
14
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
15
- * @allowUnsupportedInline true
16
- */
17
- content?: Array<Inline>;
18
- type: 'taskItem';
19
- }
20
- /**
21
- * @name blockTaskItem_node
22
- */
23
- export interface BlockTaskItemDefinition {
24
- attrs: {
25
- localId: string;
26
- state: 'TODO' | 'DONE';
27
- };
28
- /**
29
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
30
- * @allowUnsupportedInline true
31
- */
32
- content?: Array<Paragraph | Extension>;
33
- type: 'blockTaskItem';
34
- }
35
- export declare const taskItem: NodeSpec;
36
- export declare const blockTaskItem: NodeSpec;
@@ -1,26 +0,0 @@
1
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
- import type { BlockTaskItemDefinition as BlockTaskItem, TaskItemDefinition as TaskItemNode } from './task-item';
3
- export interface TaskListContent extends Array<TaskItemNode | TaskListDefinition | BlockTaskItem> {
4
- 0: TaskItemNode | BlockTaskItem;
5
- }
6
- /**
7
- * @name taskList_node
8
- */
9
- export interface TaskListDefinition {
10
- attrs: {
11
- localId: string;
12
- };
13
- /**
14
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
15
- * @minItems 1
16
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
17
- * @allowUnsupportedBlock true
18
- */
19
- content: TaskListContent;
20
- type: 'taskList';
21
- }
22
- export declare const taskListSelector: '[data-node-type="actionList"]';
23
- /**
24
- * @name taskList
25
- */
26
- export declare const taskList: NodeSpec;
@@ -1,14 +0,0 @@
1
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @name text_node
4
- */
5
- export interface TextDefinition {
6
- marks?: Array<any>;
7
- /**
8
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
9
- * @minLength 1
10
- */
11
- text: string;
12
- type: 'text';
13
- }
14
- export declare const text: NodeSpec;
@@ -1,21 +0,0 @@
1
- import type { ExpandDefinition as Expand } from '../expand';
2
- import type { BodiedExtensionDefinition as BodiedExtension } from '../bodied-extension';
3
- import type { PanelDefinition as Panel } from '../panel';
4
- import type { ParagraphDefinition as Paragraph, ParagraphWithMarksDefinition as ParagraphWithMarks } from '../paragraph';
5
- import type { BlockQuoteDefinition as Blockquote } from '../blockquote';
6
- import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from '../types/list';
7
- import type { RuleDefinition as Rule } from '../rule';
8
- import type { HeadingDefinition as Heading, HeadingWithMarksDefinition as HeadingWithMarks } from '../heading';
9
- import type { CodeBlockDefinition as CodeBlock } from '../code-block';
10
- import type { MediaGroupDefinition as MediaGroup } from '../media-group';
11
- import type { MediaSingleDefinition as MediaSingle } from '../media-single';
12
- import type { DecisionListDefinition as DecisionList } from '../decision-list';
13
- import type { TaskListDefinition as TaskList } from '../task-list';
14
- import type { TableDefinition as Table } from '../tableNodes';
15
- import type { ExtensionDefinition as Extension } from '../extension';
16
- import type { BlockCardDefinition as BlockCard } from '../block-card';
17
- import type { EmbedCardDefinition as EmbedCard } from '../embed-card';
18
- /**
19
- * @name block_content
20
- */
21
- export type BlockContent = Panel | Paragraph | ParagraphWithMarks | Blockquote | OrderedList | BulletList | Rule | Heading | HeadingWithMarks | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Expand | Extension | BodiedExtension | BlockCard | EmbedCard;
@@ -1,34 +0,0 @@
1
- export type Layout = 'default' | 'wide' | 'full-width';
2
- export interface ExtensionAttributes {
3
- /**
4
- * @minLength 1
5
- */
6
- extensionKey: string;
7
- /**
8
- * @minLength 1
9
- */
10
- extensionType: string;
11
- parameters?: object;
12
- text?: string;
13
- layout?: Layout;
14
- /**
15
- * @minLength 1
16
- */
17
- localId?: string;
18
- }
19
- export interface InlineExtensionAttributes {
20
- /**
21
- * @minLength 1
22
- */
23
- extensionKey: string;
24
- /**
25
- * @minLength 1
26
- */
27
- extensionType: string;
28
- parameters?: object;
29
- text?: string;
30
- /**
31
- * @minLength 1
32
- */
33
- localId?: string;
34
- }
@@ -1,28 +0,0 @@
1
- import type { DateDefinition as Date } from '../date';
2
- import type { EmojiDefinition as Emoji } from '../emoji';
3
- import type { HardBreakDefinition as HardBreak } from '../hard-break';
4
- import type { InlineCardDefinition as InlineCard } from '../inline-card';
5
- import type { InlineExtensionDefinition } from '../inline-extension';
6
- import type { MediaInlineDefinition } from '../media-inline';
7
- import type { MentionDefinition as Mention } from '../mention';
8
- import type { PlaceholderDefinition as Placeholder } from '../placeholder';
9
- import type { StatusDefinition as Status } from '../status';
10
- import type { TextDefinition as Text } from '../text';
11
- import type { MarksObject } from './mark';
12
- import type { AnnotationMarkDefinition as Annotation, CodeDefinition as Code, EmDefinition as Em, LinkDefinition as Link, StrikeDefinition as Strike, StrongDefinition as Strong, SubSupDefinition as SubSup, TextColorDefinition as TextColor, UnderlineDefinition as Underline, BackgroundColorDefinition as BackgroundColor } from '../../marks';
13
- /**
14
- * @name formatted_text_inline_node
15
- */
16
- export type InlineFormattedText = Text & MarksObject<Link | Em | Strong | Strike | SubSup | Underline | TextColor | Annotation | BackgroundColor>;
17
- /**
18
- * @name link_text_inline_node
19
- */
20
- export type InlineLinkText = Text & MarksObject<Link>;
21
- /**
22
- * @name code_inline_node
23
- */
24
- export type InlineCode = Text & MarksObject<Code | Link | Annotation>;
25
- /**
26
- * @name inline_node
27
- */
28
- export type Inline = InlineFormattedText | InlineCode | HardBreak | Mention | Emoji | InlineExtensionDefinition | Date | Placeholder | InlineCard | Status | MediaInlineDefinition;
@@ -1,51 +0,0 @@
1
- import type { ParagraphDefinition as Paragraph } from '../paragraph';
2
- import type { MediaSingleDefinition as MediaSingle } from '../media-single';
3
- import type { CodeBlockDefinition as CodeBlock } from '../code-block';
4
- import type { TaskListDefinition as TaskList } from '../task-list';
5
- export interface ListItemArray extends Array<Paragraph | OrderedListDefinition | BulletListDefinition | TaskList | MediaSingle | CodeBlock> {
6
- 0: Paragraph | MediaSingle | CodeBlock;
7
- }
8
- /**
9
- * @name listItem_node
10
- */
11
- export interface ListItemDefinition {
12
- attrs?: {
13
- localId?: string;
14
- };
15
- /**
16
- * @minItems 1
17
- * @allowUnsupportedBlock true
18
- */
19
- content: ListItemArray;
20
- type: 'listItem';
21
- }
22
- /**
23
- * @name bulletList_node
24
- */
25
- export interface BulletListDefinition {
26
- attrs?: {
27
- localId?: string;
28
- };
29
- /**
30
- * @minItems 1
31
- */
32
- content: Array<ListItemDefinition>;
33
- type: 'bulletList';
34
- }
35
- /**
36
- * @name orderedList_node
37
- */
38
- export interface OrderedListDefinition {
39
- attrs?: {
40
- localId?: string;
41
- /**
42
- * @minimum 0
43
- */
44
- order?: number;
45
- };
46
- /**
47
- * @minItems 1
48
- */
49
- content: Array<ListItemDefinition>;
50
- type: 'orderedList';
51
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * @additionalProperties true
3
- */
4
- export interface MarksObject<T> {
5
- marks?: Array<T>;
6
- }
7
- /**
8
- * @additionalProperties true
9
- */
10
- export interface NoMark {
11
- /**
12
- * @maxItems 0
13
- */
14
- marks?: Array<any>;
15
- }
@@ -1,19 +0,0 @@
1
- import type { PanelDefinition as Panel } from '../panel';
2
- import type { ParagraphDefinition as Paragraph } from '../paragraph';
3
- import type { BlockQuoteDefinition as Blockquote } from '../blockquote';
4
- import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from '../types/list';
5
- import type { RuleDefinition as Rule } from '../rule';
6
- import type { HeadingDefinition as Heading } from '../heading';
7
- import type { CodeBlockDefinition as CodeBlock } from '../code-block';
8
- import type { MediaGroupDefinition as MediaGroup } from '../media-group';
9
- import type { MediaSingleDefinition as MediaSingle } from '../media-single';
10
- import type { DecisionListDefinition as DecisionList } from '../decision-list';
11
- import type { TaskListDefinition as TaskList } from '../task-list';
12
- import type { TableDefinition as Table } from '../tableNodes';
13
- import type { ExtensionDefinition as Extension } from '../extension';
14
- import type { BlockCardDefinition as BlockCard } from '../block-card';
15
- import type { EmbedCardDefinition as EmbedCard } from '../embed-card';
16
- /**
17
- * @name non_nestable_block_content
18
- */
19
- export type NonNestableBlockContent = Panel | Paragraph | Blockquote | OrderedList | BulletList | Rule | Heading | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Extension | BlockCard | EmbedCard;
@@ -1,37 +0,0 @@
1
- export type Layout = 'wrap-right' | 'center' | 'wrap-left' | 'wide' | 'full-width' | 'align-end' | 'align-start';
2
- export interface RichMediaAttributes {
3
- /**
4
- * @minimum 0
5
- * @maximum 100
6
- */
7
- width?: number;
8
- layout: Layout;
9
- localId?: string;
10
- }
11
- export interface OptionalRichMediaAttributes {
12
- width?: number;
13
- layout?: Layout;
14
- }
15
- interface DefaultMediaAttributes extends RichMediaAttributes {
16
- /**
17
- * @description optional widthType attribute for media with percentage layout
18
- */
19
- widthType?: 'percentage';
20
- }
21
- /**
22
- * @description The widthType attribute is used to support fixed with media single
23
- */
24
- interface FixedLayoutMediaAttributes {
25
- /**
26
- * @minimum 0
27
- */
28
- width: number;
29
- widthType: 'pixel';
30
- layout: Layout;
31
- }
32
- export declare enum WidthType {
33
- PIXEL = "pixel",
34
- PERCENTAGE = "percentage"
35
- }
36
- export type ExtendedMediaAttributes = DefaultMediaAttributes | FixedLayoutMediaAttributes;
37
- export {};
@@ -1,6 +0,0 @@
1
- export type Valign = 'top' | 'middle' | 'bottom';
2
- /**
3
- * Parses a raw DOM attribute string into a valid {@link Valign}, or `undefined` if
4
- * the value is absent or not one of the allowed values.
5
- */
6
- export declare const parseValign: (raw: string | null) => Valign | undefined;
@@ -1,3 +0,0 @@
1
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
- declare const _default: NodeSpec;
3
- export default _default;
@@ -1,2 +0,0 @@
1
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
- export declare const unsupportedBlock: NodeSpec;
@@ -1,2 +0,0 @@
1
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
- export declare const unsupportedInline: NodeSpec;
@@ -1,8 +0,0 @@
1
- import type { NodeSpec, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export declare function sanitizeNodes(nodes: {
3
- [key: string]: NodeSpec;
4
- }, supportedMarks: {
5
- [key: string]: MarkSpec;
6
- }): {
7
- [key: string]: NodeSpec;
8
- };
@@ -1 +0,0 @@
1
- export declare const unsupportedNodeTypesForMediaCards: Set<string>;
@@ -1,60 +0,0 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import type { Mappable } from '@atlaskit/editor-prosemirror/transform';
3
- import { Step, StepResult, StepMap, ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
4
- export declare const analyticsStepType = "atlaskit-analytics";
5
- export declare const analyticsInvertStepType = "atlaskit-analytics-invert";
6
- export interface AnalyticsPayload {
7
- action: string;
8
- actionSubject: string;
9
- actionSubjectId?: string | null;
10
- attributes?: Record<string, any>;
11
- eventType: string;
12
- }
13
- export interface AnalyticsWithChannel<P extends AnalyticsPayload> {
14
- channel: string;
15
- payload: P;
16
- }
17
- declare enum HISTORY_ACTIONS {
18
- UNDID = "undid",
19
- REDID = "redid"
20
- }
21
- interface UndoAnalyticsEventPayload {
22
- action: HISTORY_ACTIONS.UNDID;
23
- actionSubject: string;
24
- actionSubjectId?: string;
25
- attributes?: Record<string, any>;
26
- eventType: string;
27
- }
28
- interface RedoAnalyticsEventPayload {
29
- action: HISTORY_ACTIONS.REDID;
30
- actionSubject: string;
31
- actionSubjectId?: string;
32
- attributes?: Record<string, any>;
33
- eventType: string;
34
- }
35
- type AnalyticsInvertPayload = UndoAnalyticsEventPayload | RedoAnalyticsEventPayload;
36
- export type AnalyticsInvertStep = AnalyticsStep<AnalyticsInvertPayload>;
37
- /**
38
- * Custom Prosemirror Step to fire our GAS V3 analytics events
39
- * Using a Step means that it will work with prosemirror-history and we get
40
- * undo/redo events for free
41
- */
42
- export declare class AnalyticsStep<P extends AnalyticsPayload> extends Step {
43
- analyticsEvents: AnalyticsWithChannel<P>[];
44
- pos?: number;
45
- private actionsToIgnore;
46
- constructor(analyticsEvents: AnalyticsWithChannel<P>[], actionsToIgnore?: string[], pos?: number);
47
- /**
48
- * Generate new undo/redo analytics event when step is inverted
49
- */
50
- invert(): AnalyticsStep<AnalyticsInvertPayload>;
51
- apply(doc: PMNode): StepResult;
52
- map(mapping: Mappable): AnalyticsStep<P>;
53
- getMap(): StepMap;
54
- merge(other: Step): AnalyticsStep<P> | null;
55
- toJSON(): {
56
- stepType: string;
57
- };
58
- static fromJSON(): ReplaceStep;
59
- }
60
- export {};
@@ -1,74 +0,0 @@
1
- import { type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { Step, StepResult } from '@atlaskit/editor-prosemirror/transform';
4
- import type { Mappable } from '@atlaskit/editor-prosemirror/transform';
5
- export type BatchAttrsStepData = {
6
- attrs: Record<string, unknown>;
7
- nodeType: string;
8
- position: number;
9
- };
10
- /**
11
- * 📢 Public API: Editor FE Platform
12
- *
13
- * Represents a step that applies a batch of attribute changes to nodes in a ProseMirror document.
14
- *
15
- * This step is particularly useful when you need to update the attributes of multiple nodes in a document
16
- * in a single operation. For example, you might want to change the color of several panels or update metadata
17
- * for various sections without needing to perform multiple separate operations.
18
- *
19
- * **Use Cases:**
20
- * - **Efficiency**: Apply multiple attribute changes in a single step to reduce the number of operations.
21
- * - **Atomicity**: Ensure that a group of attribute changes are applied together, maintaining document consistency.
22
- * - **Consistency**: Use when changes are logically related, such as updating theme attributes for a document section.
23
- *
24
- * **When Not to Use:**
25
- * - **Single Changes**: If you only need to change attributes on a single node, a more straightforward step might be suitable like `AttrsStep` from prosemirror.
26
- * - **Complex Node Transformations**: This step is designed for attribute changes rather than structural changes.
27
- * - **Performance Concerns**: While efficient for batch updates, unnecessary use for single updates may add overhead.
28
- *
29
- * @example
30
- * ```typescript
31
- * import { BatchAttrsStep } from '@atlaskit/adf-schema/steps';
32
- *
33
- * // Define the attribute changes
34
- * const changes = [
35
- * {
36
- * position: 0, // Position of the first panel
37
- * nodeType: 'panel',
38
- * attrs: { panelType: 'error' }
39
- * },
40
- * {
41
- * position: 7, // Position of the second panel
42
- * nodeType: 'panel',
43
- * attrs: { panelType: 'success' }
44
- * }
45
- * ];
46
- *
47
- * // Create the step and apply it to the document
48
- * const step = new BatchAttrsStep(changes);
49
- *
50
- * const tr = editorState.tr;
51
- *
52
- * tr.step(step);
53
- * ```
54
- *
55
- * @class
56
- * @augments {Step}
57
- */
58
- export declare class BatchAttrsStep extends Step {
59
- data: Array<BatchAttrsStepData>;
60
- private inverted;
61
- constructor(data: Array<BatchAttrsStepData>, inverted?: boolean);
62
- apply(doc: PMNode): StepResult;
63
- invert(doc: PMNode): BatchAttrsStep;
64
- map(mapping: Mappable): BatchAttrsStep | null;
65
- toJSON(): {
66
- data: BatchAttrsStepData[];
67
- inverted: boolean;
68
- stepType: string;
69
- };
70
- static fromJSON(_schema: Schema, json: {
71
- data: Array<Record<string, unknown>>;
72
- inverted?: boolean;
73
- }): BatchAttrsStep;
74
- }