@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,27 +0,0 @@
1
- import type { NodeSpec, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- import { Schema } from '@atlaskit/editor-prosemirror/model';
3
- export declare function getNodesAndMarksMap(): {
4
- marks: Record<string, MarkSpec>;
5
- nodes: Record<string, NodeSpec>;
6
- };
7
- /**
8
- * Creates a schema preserving order of marks and nodes.
9
- */
10
- export declare function createSchema<N extends string = string, M extends string = string>(config: SchemaConfig<N, M>): Schema<N, M>;
11
- export interface SchemaConfig<N = string, M = string> {
12
- customMarkSpecs?: SchemaCustomMarkSpecs;
13
- customNodeSpecs?: SchemaCustomNodeSpecs;
14
- marks?: M[];
15
- nodes: N[];
16
- }
17
- export interface SchemaBuiltInItem {
18
- name: string;
19
- spec: NodeSpec | MarkSpec;
20
- }
21
- export interface SchemaCustomNodeSpecs {
22
- [name: string]: NodeSpec;
23
- }
24
- export interface SchemaCustomMarkSpecs {
25
- [name: string]: MarkSpec;
26
- }
27
- export declare const allowCustomPanel: boolean;
@@ -1,37 +0,0 @@
1
- import type { DOMOutputSpec, Node as PMNode, NodeSpec, Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export type NodeSpecOptions<N extends PMNode> = {
3
- parseDOM?: NodeSpec['parseDOM'];
4
- toDebugString?: () => string;
5
- toDOM?: (node: N) => DOMOutputSpec;
6
- };
7
- export type NodeSpecFactory = typeof createPMNodeSpecFactory;
8
- export type MarkSpecOptions<M extends Mark> = {
9
- parseDOM?: MarkSpec['parseDOM'];
10
- toDebugString?: () => string;
11
- toDOM?: (mark: M, inline: boolean) => DOMOutputSpec;
12
- };
13
- export type MarkSpecFactory = typeof createPMMarkSpecFactory;
14
- /** Result of calling {@link createPMMarkSpecFactory} with a concrete mark spec (for isolated declarations). */
15
- export type PMMarkSpecFactoryInstance<M extends Omit<Mark, 'toDOM' | 'parseDOM'> = Mark> = (options: MarkSpecOptions<M>) => MarkSpec;
16
- /** Result of calling {@link createPMNodeSpecFactory} with a concrete node spec (for isolated declarations). */
17
- export type PMNodeSpecFactoryInstance<N extends Omit<PMNode, 'toDOM' | 'parseDOM'> = PMNode> = (options: NodeSpecOptions<N>) => NodeSpec;
18
- /**
19
- * Factory method to attach custom parseDOM and/or toDOM for nodeSpec
20
- *
21
- * @example
22
- * createPMNodeSpecFactory<SomeNode>(node)({parseDOM: {}, toDOM: (node) => {} });
23
- *
24
- * @param nodeSpec - NodeSpec without toDom and parseDom
25
- * @returns A function for a node which allows the consumer to define toDom and parseDom
26
- */
27
- export declare const createPMNodeSpecFactory: <N extends Omit<PMNode, "toDOM" | "parseDOM">>(nodeSpec: NodeSpec) => ({ parseDOM, toDOM, toDebugString }: NodeSpecOptions<N>) => NodeSpec;
28
- /**
29
- * Factory method to attach custom parseDOM and/or toDOM for markSpec
30
- *
31
- * @example
32
- * createPMMarkSpecFactory<SomeMark>(mark)({parseDOM: {}, toDOM: (mark, inline) => {} });
33
- *
34
- * @param markSpec - Markspec without toDom and parseDom
35
- * @returns A function for a mark which allows the consumer to define toDom and parseDom
36
- */
37
- export declare const createPMMarkSpecFactory: <M extends Omit<Mark, "toDOM" | "parseDOM">>(markSpec: MarkSpec) => ({ parseDOM, toDOM, toDebugString }: MarkSpecOptions<M>) => MarkSpec;
@@ -1,9 +0,0 @@
1
- import type { MemoizedFn } from 'memoize-one';
2
- import type { SchemaConfig } from './create-schema';
3
- import type { Schema } from '@atlaskit/editor-prosemirror/model';
4
- type DefaultSchemaNodes = 'doc' | 'paragraph' | 'text' | 'bulletList' | 'orderedList' | 'listItem' | 'heading' | 'blockquote' | 'codeBlock' | 'panel' | 'panel_c1' | 'rule' | 'image' | 'mention' | 'media' | 'caption' | 'mediaGroup' | 'mediaSingle' | 'mediaInline' | 'confluenceUnsupportedBlock' | 'confluenceUnsupportedInline' | 'confluenceJiraIssue' | 'expand' | 'nestedExpand' | 'extension' | 'inlineExtension' | 'bodiedExtension' | 'hardBreak' | 'emoji' | 'table' | 'tableCell' | 'tableHeader' | 'tableRow' | 'decisionList' | 'decisionItem' | 'taskList' | 'taskItem' | 'blockTaskItem' | 'unknownBlock' | 'date' | 'status' | 'placeholder' | 'layoutSection' | 'layoutColumn' | 'inlineCard' | 'blockCard' | 'embedCard' | 'syncBlock' | 'bodiedSyncBlock' | 'unsupportedBlock' | 'unsupportedInline';
5
- type DefaultSchemaMarks = 'link' | 'em' | 'strong' | 'strike' | 'subsup' | 'underline' | 'code' | 'textColor' | 'backgroundColor' | 'confluenceInlineComment' | 'breakout' | 'alignment' | 'indentation' | 'annotation' | 'border' | 'fontSize' | 'unsupportedMark' | 'unsupportedNodeAttribute' | 'typeAheadQuery' | 'dataConsumer' | 'fragment';
6
- export declare const defaultSchemaConfig: SchemaConfig<DefaultSchemaNodes, DefaultSchemaMarks>;
7
- export declare const getSchemaBasedOnStage: MemoizedFn<(this: any, stage?: any) => Schema<DefaultSchemaNodes, DefaultSchemaMarks>>;
8
- export declare const defaultSchema: Schema<DefaultSchemaNodes, DefaultSchemaMarks>;
9
- export {};
@@ -1,6 +0,0 @@
1
- export declare const FONT_STYLE = "fontStyle";
2
- export declare const SEARCH_QUERY = "searchQuery";
3
- export declare const LINK = "link";
4
- export declare const COLOR = "color";
5
- export declare const ALIGNMENT = "alignment";
6
- export declare const INDENTATION = "indentation";
@@ -1,12 +0,0 @@
1
- export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineCardWithLocalId, inlineExtension, layoutColumn, layoutColumnStage0, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelC1, extendedPanelC1WithLocalId, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableCellStage0, tableHeaderStage0, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './nodes';
2
- export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionBaseDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableWithNestedTableDefinition, TableRowWithNestedTableDefinition, TableCellWithNestedTableDefinition, TableHeaderWithNestedTableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, ExtensionFrameDefinition, MultiBodiedExtensionDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, } from './nodes';
3
- export { AnnotationTypes, alignment, alignmentPositionMap, annotation, fontSize, breakout, code, colorPalette,
4
- /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
5
- colorPaletteExtended, confluenceInlineComment, dataConsumer, dataConsumerToJSON, em, fragment, fragmentToJSON, indentation, link, linkToJSON, strike, strong, subsup, textColor, typeAheadQuery, underline, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, backgroundColor, backgroundColorPalette, } from './marks';
6
- export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, CodeDefinition, EmDefinition, FontSizeMarkAttrs, FontSizeMarkDefinition, FragmentAttributes, FragmentDefinition, IndentationMarkAttributes, IndentationMarkDefinition, LinkAttributes, LinkDefinition, StrikeDefinition, StrongDefinition, SubSupAttributes, SubSupDefinition, TextColorAttributes, TextColorDefinition, UnderlineDefinition, AnnotationId, AnnotationDataAttributes, DataConsumerAttributes, DataConsumerDefinition, BorderMarkAttributes, BorderMarkDefinition, BackgroundColorDefinition, } from './marks';
7
- export { unsupportedNodeTypesForMediaCards } from './unsupported';
8
- export { inlineNodes } from './inline-nodes';
9
- export { createSchema } from './create-schema';
10
- export { sanitizeNodes } from './sanitizeNodes';
11
- export type { NodeSpecOptions, MarkSpecOptions } from './createPMSpecFactory';
12
- export { createPMNodeSpecFactory, createPMMarkSpecFactory } from './createPMSpecFactory';
@@ -1 +0,0 @@
1
- export declare const inlineNodes: Set<string>;
@@ -1,65 +0,0 @@
1
- import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
4
- **/
5
- export interface JIRASchemaConfig {
6
- allowAdvancedTextFormatting?: boolean;
7
- allowBlockQuote?: boolean;
8
- allowCodeBlock?: boolean;
9
- allowEmojis?: boolean;
10
- allowLinks?: boolean;
11
- allowLists?: boolean;
12
- allowMedia?: boolean;
13
- allowMentions?: boolean;
14
- allowSubSup?: boolean;
15
- allowTables?: boolean;
16
- allowTextColor?: boolean;
17
- }
18
- /**
19
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
20
- **/
21
- export default function makeSchema(config: JIRASchemaConfig): Schema<string, string>;
22
- /**
23
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
24
- **/
25
- export declare function isSchemaWithLists(schema: Schema): boolean;
26
- /**
27
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
28
- **/
29
- export declare function isSchemaWithMentions(schema: Schema): boolean;
30
- /**
31
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
32
- **/
33
- export declare function isSchemaWithEmojis(schema: Schema): boolean;
34
- /**
35
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
36
- **/
37
- export declare function isSchemaWithLinks(schema: Schema): boolean;
38
- /**
39
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
40
- **/
41
- export declare function isSchemaWithAdvancedTextFormattingMarks(schema: Schema): boolean;
42
- /**
43
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
44
- **/
45
- export declare function isSchemaWithSubSupMark(schema: Schema): boolean;
46
- /**
47
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
48
- **/
49
- export declare function isSchemaWithCodeBlock(schema: Schema): boolean;
50
- /**
51
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
52
- **/
53
- export declare function isSchemaWithBlockQuotes(schema: Schema): boolean;
54
- /**
55
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
56
- **/
57
- export declare function isSchemaWithMedia(schema: Schema): boolean;
58
- /**
59
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
60
- **/
61
- export declare function isSchemaWithTextColor(schema: Schema): boolean;
62
- /**
63
- * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
64
- **/
65
- export declare function isSchemaWithTables(schema: Schema): boolean;
@@ -1,16 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- /** TODO: Flip these positions for RTL */
3
- export declare const alignmentPositionMap: {
4
- [key: string]: string;
5
- };
6
- export interface AlignmentAttributes {
7
- align: 'center' | 'end';
8
- }
9
- /**
10
- * @name alignment_mark
11
- */
12
- export interface AlignmentMarkDefinition {
13
- attrs: AlignmentAttributes;
14
- type: 'alignment';
15
- }
16
- export declare const alignment: MarkSpec;
@@ -1,32 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @name annotation_mark
4
- */
5
- export interface AnnotationMarkDefinition {
6
- attrs: AnnotationMarkAttributes;
7
- type: 'annotation';
8
- }
9
- export interface AnnotationMarkAttributes {
10
- annotationType: AnnotationTypes;
11
- id: AnnotationId;
12
- }
13
- export type AnnotationId = string;
14
- export declare enum AnnotationTypes {
15
- INLINE_COMMENT = "inlineComment"
16
- }
17
- export declare enum AnnotationMarkStates {
18
- RESOLVED = "resolved",
19
- ACTIVE = "active"
20
- }
21
- export type AnnotationDataAttributes = {
22
- 'data-id': AnnotationId;
23
- 'data-mark-annotation-state'?: AnnotationMarkStates;
24
- 'data-mark-annotation-type': AnnotationTypes;
25
- 'data-mark-type': string;
26
- };
27
- type BuildDataAttributesProps = AnnotationMarkAttributes & {
28
- state?: AnnotationMarkStates | undefined | null;
29
- };
30
- export declare function buildDataAttributes({ id, annotationType, state, }: BuildDataAttributesProps): AnnotationDataAttributes;
31
- export declare const annotation: MarkSpec;
32
- export {};
@@ -1,15 +0,0 @@
1
- import type { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- import type { TextColorAttributes } from './text-color';
3
- /**
4
- * @name backgroundColor_mark
5
- */
6
- export interface BackgroundColorDefinition {
7
- attrs: TextColorAttributes;
8
- type: 'backgroundColor';
9
- }
10
- export interface BackgroundColorMark extends Mark {
11
- attrs: TextColorAttributes;
12
- }
13
- export type BackgroundColorKey = 'Gray' | 'Teal' | 'Lime' | 'Yellow' | 'Orange' | 'Magenta' | 'Purple';
14
- export declare const backgroundColorPalette: Map<string, BackgroundColorKey>;
15
- export declare const backgroundColor: MarkSpec;
@@ -1,26 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export type BorderMarkAttributes = {
3
- /**
4
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
5
- * @pattern "^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$"
6
- */
7
- color: string;
8
- /**
9
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
10
- * @minimum 1
11
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
12
- * @maximum 3
13
- */
14
- size: number;
15
- };
16
- /**
17
- * @name border_mark
18
- * @description This mark adds decoration to an element, and any element decorated with it will also have a border style.
19
- */
20
- export interface BorderMarkDefinition {
21
- attrs: BorderMarkAttributes;
22
- type: 'border';
23
- }
24
- export type BorderColorKey = 'Subtle gray' | 'Gray' | 'Bold gray';
25
- export declare const borderColorPalette: Map<string, BorderColorKey>;
26
- export declare const border: MarkSpec;
@@ -1,12 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export type BreakoutMarkAttrs = {
3
- mode: 'wide' | 'full-width';
4
- };
5
- /**
6
- * @name breakout_mark
7
- */
8
- export interface BreakoutMarkDefinition {
9
- attrs: BreakoutMarkAttrs;
10
- type: 'breakout';
11
- }
12
- export declare const breakout: MarkSpec;
@@ -1,8 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @name code_mark
4
- */
5
- export interface CodeDefinition {
6
- type: 'code';
7
- }
8
- export declare const code: MarkSpec;
@@ -1,12 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @name inline_comment_marker
4
- * @description This temporary mark represents a Confluence-backed inline comment that wraps a piece of text. It will be replaced with a cross-product inline comment solution at later date.
5
- */
6
- export interface ConfluenceInlineCommentDefinition {
7
- attrs: {
8
- reference: string;
9
- };
10
- type: 'confluenceInlineComment';
11
- }
12
- export declare const confluenceInlineComment: MarkSpec;
@@ -1,48 +0,0 @@
1
- import type { Mark, MarkSpec, Attrs } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * This annotation is purely for reference, & does _nothing_ given annotating
4
- * `minLength` on an array of strings is not supported with our schema+spec
5
- * generator.
6
- *
7
- * We're keeping it to signal that data consumer `sources` shouldn't be empty
8
- * strings
9
- *
10
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
11
- * // @minLength 1
12
- */
13
- type DataConsumerSource = string;
14
- export interface DataConsumerAttributes {
15
- /**
16
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
17
- * @minItems 1
18
- */
19
- sources: Array<DataConsumerSource>;
20
- }
21
- /**
22
- * @name dataConsumer_mark
23
- * @description This mark is used for metadata surrounding a node consuming data
24
- * from a given source node
25
- */
26
- export interface DataConsumerDefinition {
27
- attrs: DataConsumerAttributes;
28
- type: 'dataConsumer';
29
- }
30
- export interface DataConsumerMark extends Mark {
31
- attrs: DataConsumerAttributes;
32
- }
33
- export declare const dataConsumer: MarkSpec;
34
- /**
35
- * We want to ensure any "invalid ADF" doesn't get serialised, but the entire
36
- * mark itself is not valid without a non-empty `sources`.
37
- *
38
- * We _almost could_ simply return `null` if sources length is < 0 & would fit
39
- * the type signature of prosemirror-model's `fragment` but not `mark`'s toJSON.
40
- *
41
- * So we'll leave any extra transformation checks in
42
- * `editor-json-transformer`(?)
43
- */
44
- export declare const toJSON: (mark: Mark) => {
45
- attrs: Attrs;
46
- type: string;
47
- };
48
- export {};
@@ -1,8 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @name em_mark
4
- */
5
- export interface EmDefinition {
6
- type: 'em';
7
- }
8
- export declare const em: MarkSpec;
@@ -1,12 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export type FontSizeMarkAttrs = {
3
- fontSize: 'small';
4
- };
5
- /**
6
- * @name fontSize_mark
7
- */
8
- export interface FontSizeMarkDefinition {
9
- attrs: FontSizeMarkAttrs;
10
- type: 'fontSize';
11
- }
12
- export declare const fontSize: MarkSpec;
@@ -1,30 +0,0 @@
1
- import type { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export type LocalId = string;
3
- export interface FragmentAttributes {
4
- /**
5
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
6
- * @minLength 1
7
- */
8
- localId: LocalId;
9
- name?: string;
10
- }
11
- /**
12
- * @name fragment_mark
13
- * @description Indicates that the elements decorated with this mark belong to a "fragment" entity, which represents a collection of ADF nodes.
14
- * This entity can be referred to later by its `localId` attribute.
15
- */
16
- export interface FragmentDefinition {
17
- attrs: FragmentAttributes;
18
- type: 'fragment';
19
- }
20
- export interface FragmentMark extends Mark {
21
- attrs: FragmentAttributes;
22
- }
23
- export declare const fragment: MarkSpec;
24
- export declare const toJSON: (mark: Mark) => {
25
- attrs: {
26
- localId: any;
27
- name?: any;
28
- };
29
- type: string;
30
- };
@@ -1,16 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export interface IndentationMarkAttributes {
3
- /**
4
- * @minimum 1
5
- * @maximum 6
6
- */
7
- level: number;
8
- }
9
- /**
10
- * @name indentation_mark
11
- */
12
- export interface IndentationMarkDefinition {
13
- attrs: IndentationMarkAttributes;
14
- type: 'indentation';
15
- }
16
- export declare const indentation: MarkSpec;
@@ -1,38 +0,0 @@
1
- export { em } from './em';
2
- export type { EmDefinition } from './em';
3
- export { code } from './code';
4
- export type { CodeDefinition } from './code';
5
- export { strike } from './strike';
6
- export type { StrikeDefinition } from './strike';
7
- export { strong } from './strong';
8
- export type { StrongDefinition } from './strong';
9
- export { underline } from './underline';
10
- export type { UnderlineDefinition } from './underline';
11
- export { link, toJSON as linkToJSON } from './link';
12
- export type { LinkAttributes, LinkDefinition } from './link';
13
- export { typeAheadQuery } from './type-ahead-query';
14
- export { subsup } from './subsup';
15
- export type { SubSupDefinition, SubSupAttributes } from './subsup';
16
- export { textColor, colorPalette, colorPaletteExtended } from './text-color';
17
- export type { TextColorDefinition, TextColorAttributes } from './text-color';
18
- export { confluenceInlineComment } from './confluence-inline-comment';
19
- export { breakout } from './breakout';
20
- export type { BreakoutMarkAttrs, BreakoutMarkDefinition } from './breakout';
21
- export { fontSize } from './font-size';
22
- export type { FontSizeMarkAttrs, FontSizeMarkDefinition } from './font-size';
23
- export { alignment, alignmentPositionMap } from './alignment';
24
- export type { AlignmentAttributes, AlignmentMarkDefinition } from './alignment';
25
- export { indentation } from './indentation';
26
- export type { IndentationMarkAttributes, IndentationMarkDefinition } from './indentation';
27
- export { annotation, AnnotationMarkStates, buildDataAttributes as buildAnnotationMarkDataAttributes, AnnotationTypes, } from './annotation';
28
- export type { AnnotationMarkDefinition, AnnotationMarkAttributes, AnnotationId, AnnotationDataAttributes, } from './annotation';
29
- export { unsupportedMark } from './unsupported-mark';
30
- export { unsupportedNodeAttribute } from './unsupported-node-attributes';
31
- export type { DataConsumerAttributes, DataConsumerDefinition } from './data-consumer';
32
- export { dataConsumer, toJSON as dataConsumerToJSON } from './data-consumer';
33
- export type { FragmentAttributes, FragmentDefinition, LocalId } from './fragment';
34
- export { fragment, toJSON as fragmentToJSON } from './fragment';
35
- export { border, borderColorPalette } from './border';
36
- export type { BorderMarkAttributes, BorderMarkDefinition } from './border';
37
- export { backgroundColor, backgroundColorPalette } from './background-color';
38
- export type { BackgroundColorDefinition } from './background-color';
@@ -1,40 +0,0 @@
1
- import type { MarkSpec, Mark } from '@atlaskit/editor-prosemirror/model';
2
- export interface ConfluenceLinkMetadata {
3
- anchorName?: string | null;
4
- container?: ConfluenceLinkMetadata;
5
- contentId?: string | null;
6
- contentTitle?: string | null;
7
- fileName?: string | null;
8
- isRenamedTitle?: boolean;
9
- linkType: string;
10
- spaceKey?: string | null;
11
- versionAtSave?: string | null;
12
- }
13
- export interface LinkAttributes {
14
- __confluenceMetadata?: ConfluenceLinkMetadata;
15
- collection?: string;
16
- /**
17
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
18
- * @validatorFn safeUrl
19
- */
20
- href: string;
21
- id?: string;
22
- occurrenceKey?: string;
23
- title?: string;
24
- }
25
- /**
26
- * @name link_mark
27
- */
28
- export interface LinkDefinition {
29
- attrs: LinkAttributes;
30
- type: 'link';
31
- }
32
- export declare const getLinkAttrs: (attribute: string) => (domNode: Node | string) => false | {
33
- __confluenceMetadata: string;
34
- href?: string;
35
- };
36
- export declare const link: MarkSpec;
37
- export declare const toJSON: (mark: Mark) => {
38
- attrs: Record<string, string>;
39
- type: string;
40
- };
@@ -1,8 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @name strike_mark
4
- */
5
- export interface StrikeDefinition {
6
- type: 'strike';
7
- }
8
- export declare const strike: MarkSpec;
@@ -1,8 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @name strong_mark
4
- */
5
- export interface StrongDefinition {
6
- type: 'strong';
7
- }
8
- export declare const strong: MarkSpec;
@@ -1,15 +0,0 @@
1
- import type { MarkSpec, Mark } from '@atlaskit/editor-prosemirror/model';
2
- export interface SubSupAttributes {
3
- type: 'sub' | 'sup';
4
- }
5
- /**
6
- * @name subsup_mark
7
- */
8
- export interface SubSupDefinition {
9
- attrs: SubSupAttributes;
10
- type: 'subsup';
11
- }
12
- export interface SubSupMark extends Mark {
13
- attrs: SubSupAttributes;
14
- }
15
- export declare const subsup: MarkSpec;
@@ -1,27 +0,0 @@
1
- import type { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export interface TextColorAttributes {
3
- /**
4
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
5
- * @pattern "^#[0-9a-fA-F]{6}$"
6
- */
7
- color: string;
8
- }
9
- /**
10
- * @name textColor_mark
11
- */
12
- export interface TextColorDefinition {
13
- attrs: TextColorAttributes;
14
- type: 'textColor';
15
- }
16
- export interface TextColorMark extends Mark {
17
- attrs: TextColorAttributes;
18
- }
19
- export type TextColorKey = 'Light gray' | 'Purple' | 'Teal' | 'Green' | 'Red' | 'Orange' | 'Dark gray' | 'Blue' | 'Yellow' | 'Dark blue' | 'Dark teal' | 'Dark green' | 'Dark red' | 'Dark purple' | 'White' | 'Light blue' | 'Light teal' | 'Light green' | 'Light yellow' | 'Light red' | 'Light purple';
20
- export declare const colorPalette: Map<string, TextColorKey>;
21
- /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
22
- export declare const colorPaletteExtended: Map<string, TextColorKey>;
23
- export declare const setGlobalTheme: (theme: string) => void;
24
- export declare const getGlobalTheme: () => {
25
- colorMode: string;
26
- };
27
- export declare const textColor: MarkSpec;
@@ -1,2 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export declare const typeAheadQuery: MarkSpec;
@@ -1,8 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * @name underline_mark
4
- */
5
- export interface UnderlineDefinition {
6
- type: 'underline';
7
- }
8
- export declare const underline: MarkSpec;
@@ -1,2 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export declare const unsupportedMark: MarkSpec;
@@ -1,2 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export declare const unsupportedNodeAttribute: MarkSpec;
@@ -1,49 +0,0 @@
1
- import type { OptionalRichMediaAttributes } from './types/rich-media-common';
2
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
3
- export interface UrlType {
4
- localId?: string;
5
- /**
6
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
7
- * @validatorFn safeUrl
8
- */
9
- url: string;
10
- }
11
- export interface DataType {
12
- /**
13
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
14
- * @additionalProperties true
15
- */
16
- data: object;
17
- localId?: string;
18
- }
19
- export interface DatasourceAttributeProperties {
20
- id: string;
21
- parameters: object;
22
- /**
23
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
24
- * @minItems 1
25
- */
26
- views: {
27
- properties?: object;
28
- type: string;
29
- }[];
30
- }
31
- export interface DatasourceAttributes extends OptionalRichMediaAttributes {
32
- datasource: DatasourceAttributeProperties;
33
- localId?: string;
34
- /**
35
- // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
36
- * @validatorFn safeUrl
37
- */
38
- url?: string;
39
- }
40
- export type CardAttributes = UrlType | DataType;
41
- /**
42
- * @name blockCard_node
43
- */
44
- export interface BlockCardDefinition {
45
- attrs: DatasourceAttributes | CardAttributes;
46
- type: 'blockCard';
47
- }
48
- export declare const blockCard: NodeSpec;
49
- export declare const blockCardWithLocalId: NodeSpec;