@atlaskit/renderer 132.5.3 → 132.6.0

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 (305) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/actions/main/package.json +1 -8
  3. package/actions/package.json +1 -8
  4. package/actions/renderer-actions-context/package.json +1 -8
  5. package/actions/with-renderer-actions/package.json +1 -8
  6. package/annotations/package.json +1 -8
  7. package/consts/package.json +1 -8
  8. package/custom-nodes/loosely-lazy/package.json +1 -8
  9. package/custom-nodes/package.json +1 -8
  10. package/dist/cjs/react/nodes/emoji.js +28 -2
  11. package/dist/cjs/ui/Renderer/index.js +1 -1
  12. package/dist/es2019/react/nodes/emoji.js +28 -2
  13. package/dist/es2019/ui/Renderer/index.js +1 -1
  14. package/dist/esm/react/nodes/emoji.js +28 -2
  15. package/dist/esm/ui/Renderer/index.js +1 -1
  16. package/events/package.json +1 -8
  17. package/experimental-sync-custom-nodes/cards/package.json +1 -8
  18. package/experimental-sync-custom-nodes/media/package.json +1 -8
  19. package/experimental-sync-custom-nodes/small-nodes/package.json +1 -8
  20. package/extension-renderer/package.json +1 -8
  21. package/loosely-lazy/package.json +1 -8
  22. package/media-options/package.json +1 -8
  23. package/messages/package.json +1 -8
  24. package/nodes/package.json +1 -8
  25. package/package.json +6 -2
  26. package/react/package.json +1 -8
  27. package/react/types/package.json +1 -8
  28. package/render-document/package.json +1 -8
  29. package/renderer/package.json +1 -8
  30. package/renderer-actions-context/package.json +1 -8
  31. package/renderer-context/package.json +1 -8
  32. package/renderer-props/package.json +1 -8
  33. package/serializer/package.json +1 -8
  34. package/text/package.json +1 -8
  35. package/text-serializer/package.json +1 -8
  36. package/text-serializer/text/package.json +1 -8
  37. package/types/package.json +1 -8
  38. package/use-feature-flags/package.json +1 -8
  39. package/utils/package.json +1 -8
  40. package/validation-context/package.json +1 -8
  41. package/dist/types-ts4.5/actions/get-renderer-range-inline-node-names.d.ts +0 -23
  42. package/dist/types-ts4.5/actions/index.d.ts +0 -76
  43. package/dist/types-ts4.5/actions/matches-utils.d.ts +0 -8
  44. package/dist/types-ts4.5/actions/selection.d.ts +0 -8
  45. package/dist/types-ts4.5/analytics/analyticsContext.d.ts +0 -6
  46. package/dist/types-ts4.5/analytics/enums.d.ts +0 -59
  47. package/dist/types-ts4.5/analytics/events.d.ts +0 -184
  48. package/dist/types-ts4.5/analytics/unsupported-content.d.ts +0 -10
  49. package/dist/types-ts4.5/consts.d.ts +0 -24
  50. package/dist/types-ts4.5/custom-nodes.d.ts +0 -1
  51. package/dist/types-ts4.5/entry-points/actions-main.d.ts +0 -1
  52. package/dist/types-ts4.5/entry-points/actions-renderer-actions-context.d.ts +0 -1
  53. package/dist/types-ts4.5/entry-points/actions-with-renderer-actions.d.ts +0 -1
  54. package/dist/types-ts4.5/entry-points/annotations.d.ts +0 -1
  55. package/dist/types-ts4.5/entry-points/consts.d.ts +0 -1
  56. package/dist/types-ts4.5/entry-points/custom-nodes-loosely-lazy.d.ts +0 -1
  57. package/dist/types-ts4.5/entry-points/events.d.ts +0 -2
  58. package/dist/types-ts4.5/entry-points/experimental-sync-custom-nodes/cards.d.ts +0 -9
  59. package/dist/types-ts4.5/entry-points/experimental-sync-custom-nodes/media.d.ts +0 -9
  60. package/dist/types-ts4.5/entry-points/experimental-sync-custom-nodes/small-nodes.d.ts +0 -9
  61. package/dist/types-ts4.5/entry-points/extension-renderer.d.ts +0 -2
  62. package/dist/types-ts4.5/entry-points/loosely-lazy.d.ts +0 -1
  63. package/dist/types-ts4.5/entry-points/media-options.d.ts +0 -1
  64. package/dist/types-ts4.5/entry-points/messages.d.ts +0 -1
  65. package/dist/types-ts4.5/entry-points/nodes.d.ts +0 -2
  66. package/dist/types-ts4.5/entry-points/react-types.d.ts +0 -1
  67. package/dist/types-ts4.5/entry-points/react.d.ts +0 -2
  68. package/dist/types-ts4.5/entry-points/render-document.d.ts +0 -2
  69. package/dist/types-ts4.5/entry-points/renderer-actions-context.d.ts +0 -1
  70. package/dist/types-ts4.5/entry-points/renderer-context.d.ts +0 -2
  71. package/dist/types-ts4.5/entry-points/renderer-props.d.ts +0 -1
  72. package/dist/types-ts4.5/entry-points/renderer.d.ts +0 -3
  73. package/dist/types-ts4.5/entry-points/serializer.d.ts +0 -1
  74. package/dist/types-ts4.5/entry-points/text-serializer-text.d.ts +0 -1
  75. package/dist/types-ts4.5/entry-points/text.d.ts +0 -1
  76. package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
  77. package/dist/types-ts4.5/entry-points/use-feature-flags.d.ts +0 -1
  78. package/dist/types-ts4.5/entry-points/utils.d.ts +0 -2
  79. package/dist/types-ts4.5/entry-points/validation-context.d.ts +0 -1
  80. package/dist/types-ts4.5/i18n/cs.d.ts +0 -18
  81. package/dist/types-ts4.5/i18n/da.d.ts +0 -18
  82. package/dist/types-ts4.5/i18n/de.d.ts +0 -18
  83. package/dist/types-ts4.5/i18n/en.d.ts +0 -18
  84. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -18
  85. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -18
  86. package/dist/types-ts4.5/i18n/es.d.ts +0 -18
  87. package/dist/types-ts4.5/i18n/et.d.ts +0 -8
  88. package/dist/types-ts4.5/i18n/fi.d.ts +0 -18
  89. package/dist/types-ts4.5/i18n/fr.d.ts +0 -18
  90. package/dist/types-ts4.5/i18n/hr.d.ts +0 -18
  91. package/dist/types-ts4.5/i18n/hu.d.ts +0 -18
  92. package/dist/types-ts4.5/i18n/index.d.ts +0 -33
  93. package/dist/types-ts4.5/i18n/it.d.ts +0 -18
  94. package/dist/types-ts4.5/i18n/ja.d.ts +0 -18
  95. package/dist/types-ts4.5/i18n/ko.d.ts +0 -18
  96. package/dist/types-ts4.5/i18n/nb.d.ts +0 -18
  97. package/dist/types-ts4.5/i18n/nl.d.ts +0 -18
  98. package/dist/types-ts4.5/i18n/pl.d.ts +0 -18
  99. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -18
  100. package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -8
  101. package/dist/types-ts4.5/i18n/ru.d.ts +0 -18
  102. package/dist/types-ts4.5/i18n/sk.d.ts +0 -18
  103. package/dist/types-ts4.5/i18n/sl.d.ts +0 -18
  104. package/dist/types-ts4.5/i18n/sr.d.ts +0 -18
  105. package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -18
  106. package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -18
  107. package/dist/types-ts4.5/i18n/sv.d.ts +0 -18
  108. package/dist/types-ts4.5/i18n/th.d.ts +0 -18
  109. package/dist/types-ts4.5/i18n/tr.d.ts +0 -18
  110. package/dist/types-ts4.5/i18n/uk.d.ts +0 -18
  111. package/dist/types-ts4.5/i18n/vi.d.ts +0 -18
  112. package/dist/types-ts4.5/i18n/zh.d.ts +0 -18
  113. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -18
  114. package/dist/types-ts4.5/index.d.ts +0 -16
  115. package/dist/types-ts4.5/messages.d.ts +0 -61
  116. package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +0 -10
  117. package/dist/types-ts4.5/react/hooks/use-in-viewport.d.ts +0 -5
  118. package/dist/types-ts4.5/react/index.d.ts +0 -158
  119. package/dist/types-ts4.5/react/marks/alignment.d.ts +0 -4
  120. package/dist/types-ts4.5/react/marks/annotation.d.ts +0 -6
  121. package/dist/types-ts4.5/react/marks/backgroundColor.d.ts +0 -4
  122. package/dist/types-ts4.5/react/marks/border.d.ts +0 -8
  123. package/dist/types-ts4.5/react/marks/breakout.d.ts +0 -14
  124. package/dist/types-ts4.5/react/marks/code.d.ts +0 -20
  125. package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +0 -9
  126. package/dist/types-ts4.5/react/marks/data-consumer.d.ts +0 -4
  127. package/dist/types-ts4.5/react/marks/em.d.ts +0 -3
  128. package/dist/types-ts4.5/react/marks/fontSize.d.ts +0 -4
  129. package/dist/types-ts4.5/react/marks/fragment.d.ts +0 -4
  130. package/dist/types-ts4.5/react/marks/indentation.d.ts +0 -4
  131. package/dist/types-ts4.5/react/marks/index.d.ts +0 -24
  132. package/dist/types-ts4.5/react/marks/link-compiled.d.ts +0 -13
  133. package/dist/types-ts4.5/react/marks/link-emotion.d.ts +0 -14
  134. package/dist/types-ts4.5/react/marks/link.d.ts +0 -13
  135. package/dist/types-ts4.5/react/marks/strike.d.ts +0 -3
  136. package/dist/types-ts4.5/react/marks/strong.d.ts +0 -3
  137. package/dist/types-ts4.5/react/marks/subsup.d.ts +0 -4
  138. package/dist/types-ts4.5/react/marks/textColor.d.ts +0 -4
  139. package/dist/types-ts4.5/react/marks/underline.d.ts +0 -3
  140. package/dist/types-ts4.5/react/marks/unsupportedMark.d.ts +0 -3
  141. package/dist/types-ts4.5/react/marks/unsupportedNodeAttribute.d.ts +0 -3
  142. package/dist/types-ts4.5/react/nodes/TableStickyScrollbar.d.ts +0 -21
  143. package/dist/types-ts4.5/react/nodes/blockCard.d.ts +0 -22
  144. package/dist/types-ts4.5/react/nodes/blockquote.d.ts +0 -4
  145. package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +0 -31
  146. package/dist/types-ts4.5/react/nodes/bodiedSyncBlock.d.ts +0 -8
  147. package/dist/types-ts4.5/react/nodes/bulletList.d.ts +0 -6
  148. package/dist/types-ts4.5/react/nodes/caption.d.ts +0 -4
  149. package/dist/types-ts4.5/react/nodes/codeBlock/codeBlock.d.ts +0 -22
  150. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockButtonContainer.d.ts +0 -15
  151. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockContainer.d.ts +0 -14
  152. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +0 -9
  153. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +0 -10
  154. package/dist/types-ts4.5/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +0 -17
  155. package/dist/types-ts4.5/react/nodes/codeBlock/windowedCodeBlock.d.ts +0 -4
  156. package/dist/types-ts4.5/react/nodes/date.d.ts +0 -12
  157. package/dist/types-ts4.5/react/nodes/decisionItem.d.ts +0 -3
  158. package/dist/types-ts4.5/react/nodes/decisionList.d.ts +0 -7
  159. package/dist/types-ts4.5/react/nodes/doc.d.ts +0 -3
  160. package/dist/types-ts4.5/react/nodes/embedCard.d.ts +0 -28
  161. package/dist/types-ts4.5/react/nodes/emoji.d.ts +0 -16
  162. package/dist/types-ts4.5/react/nodes/extension.d.ts +0 -42
  163. package/dist/types-ts4.5/react/nodes/extensionFrame.d.ts +0 -27
  164. package/dist/types-ts4.5/react/nodes/fallback.d.ts +0 -25
  165. package/dist/types-ts4.5/react/nodes/hardBreak.d.ts +0 -6
  166. package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +0 -15
  167. package/dist/types-ts4.5/react/nodes/heading.d.ts +0 -27
  168. package/dist/types-ts4.5/react/nodes/index.d.ts +0 -139
  169. package/dist/types-ts4.5/react/nodes/inline.d.ts +0 -1
  170. package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +0 -22
  171. package/dist/types-ts4.5/react/nodes/inlineExtension.d.ts +0 -18
  172. package/dist/types-ts4.5/react/nodes/layoutColumn-compiled.d.ts +0 -16
  173. package/dist/types-ts4.5/react/nodes/layoutColumn-emotion.d.ts +0 -16
  174. package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +0 -9
  175. package/dist/types-ts4.5/react/nodes/layoutSection.d.ts +0 -6
  176. package/dist/types-ts4.5/react/nodes/listItem.d.ts +0 -2
  177. package/dist/types-ts4.5/react/nodes/loosely-lazy.d.ts +0 -4
  178. package/dist/types-ts4.5/react/nodes/media/index.d.ts +0 -35
  179. package/dist/types-ts4.5/react/nodes/mediaGroup.d.ts +0 -30
  180. package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +0 -24
  181. package/dist/types-ts4.5/react/nodes/mediaSingle/index.d.ts +0 -28
  182. package/dist/types-ts4.5/react/nodes/mention.d.ts +0 -14
  183. package/dist/types-ts4.5/react/nodes/multiBodiedExtension/actions.d.ts +0 -10
  184. package/dist/types-ts4.5/react/nodes/multiBodiedExtension/context.d.ts +0 -19
  185. package/dist/types-ts4.5/react/nodes/multiBodiedExtension.d.ts +0 -32
  186. package/dist/types-ts4.5/react/nodes/orderedList.d.ts +0 -10
  187. package/dist/types-ts4.5/react/nodes/panel-compiled.d.ts +0 -22
  188. package/dist/types-ts4.5/react/nodes/panel-emotion.d.ts +0 -23
  189. package/dist/types-ts4.5/react/nodes/panel.d.ts +0 -16
  190. package/dist/types-ts4.5/react/nodes/paragraph.d.ts +0 -3
  191. package/dist/types-ts4.5/react/nodes/placeholder.d.ts +0 -7
  192. package/dist/types-ts4.5/react/nodes/rule.d.ts +0 -2
  193. package/dist/types-ts4.5/react/nodes/status.d.ts +0 -11
  194. package/dist/types-ts4.5/react/nodes/syncBlock.d.ts +0 -7
  195. package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +0 -4
  196. package/dist/types-ts4.5/react/nodes/table/content-mode.d.ts +0 -10
  197. package/dist/types-ts4.5/react/nodes/table/sticky.d.ts +0 -75
  198. package/dist/types-ts4.5/react/nodes/table/table.d.ts +0 -10
  199. package/dist/types-ts4.5/react/nodes/table/types.d.ts +0 -16
  200. package/dist/types-ts4.5/react/nodes/table.d.ts +0 -116
  201. package/dist/types-ts4.5/react/nodes/tableCell.d.ts +0 -30
  202. package/dist/types-ts4.5/react/nodes/tableNew.d.ts +0 -173
  203. package/dist/types-ts4.5/react/nodes/tableRow.d.ts +0 -26
  204. package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +0 -23
  205. package/dist/types-ts4.5/react/nodes/taskItem.d.ts +0 -20
  206. package/dist/types-ts4.5/react/nodes/taskList.d.ts +0 -9
  207. package/dist/types-ts4.5/react/nodes/text-wrapper.d.ts +0 -13
  208. package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +0 -2
  209. package/dist/types-ts4.5/react/renderer-node.d.ts +0 -7
  210. package/dist/types-ts4.5/react/types.d.ts +0 -78
  211. package/dist/types-ts4.5/react/utils/EditorMediaClientProvider.d.ts +0 -5
  212. package/dist/types-ts4.5/react/utils/appearance.d.ts +0 -6
  213. package/dist/types-ts4.5/react/utils/breakout.d.ts +0 -1
  214. package/dist/types-ts4.5/react/utils/clipboard.d.ts +0 -1
  215. package/dist/types-ts4.5/react/utils/element-selection.d.ts +0 -9
  216. package/dist/types-ts4.5/react/utils/getCardClickHandler.d.ts +0 -3
  217. package/dist/types-ts4.5/react/utils/getStandaloneBackgroundColorMarks.d.ts +0 -12
  218. package/dist/types-ts4.5/react/utils/inject-props.d.ts +0 -6
  219. package/dist/types-ts4.5/react/utils/links.d.ts +0 -3
  220. package/dist/types-ts4.5/react/utils/lists.d.ts +0 -2
  221. package/dist/types-ts4.5/react/utils/markBlockAsInline.d.ts +0 -10
  222. package/dist/types-ts4.5/react/utils/render-text-segments.d.ts +0 -5
  223. package/dist/types-ts4.5/react/utils/segment-text.d.ts +0 -10
  224. package/dist/types-ts4.5/react/utils/use-select-all-trap.d.ts +0 -2
  225. package/dist/types-ts4.5/render-document.d.ts +0 -27
  226. package/dist/types-ts4.5/renderer-context.d.ts +0 -11
  227. package/dist/types-ts4.5/serializer.d.ts +0 -4
  228. package/dist/types-ts4.5/steps/index.d.ts +0 -17
  229. package/dist/types-ts4.5/text/index.d.ts +0 -8
  230. package/dist/types-ts4.5/text/nodes/blockquote.d.ts +0 -3
  231. package/dist/types-ts4.5/text/nodes/bulletList.d.ts +0 -3
  232. package/dist/types-ts4.5/text/nodes/date.d.ts +0 -3
  233. package/dist/types-ts4.5/text/nodes/decisionItem.d.ts +0 -3
  234. package/dist/types-ts4.5/text/nodes/hardBreak.d.ts +0 -3
  235. package/dist/types-ts4.5/text/nodes/heading.d.ts +0 -3
  236. package/dist/types-ts4.5/text/nodes/index.d.ts +0 -3
  237. package/dist/types-ts4.5/text/nodes/inlineCard.d.ts +0 -3
  238. package/dist/types-ts4.5/text/nodes/listItem.d.ts +0 -3
  239. package/dist/types-ts4.5/text/nodes/mediaGroup.d.ts +0 -3
  240. package/dist/types-ts4.5/text/nodes/mention.d.ts +0 -3
  241. package/dist/types-ts4.5/text/nodes/orderedList.d.ts +0 -3
  242. package/dist/types-ts4.5/text/nodes/panel.d.ts +0 -3
  243. package/dist/types-ts4.5/text/nodes/paragraph.d.ts +0 -3
  244. package/dist/types-ts4.5/text/nodes/rule.d.ts +0 -3
  245. package/dist/types-ts4.5/text/nodes/status.d.ts +0 -3
  246. package/dist/types-ts4.5/text/nodes/table.d.ts +0 -3
  247. package/dist/types-ts4.5/text/nodes/taskItem.d.ts +0 -3
  248. package/dist/types-ts4.5/text/nodes/unknown.d.ts +0 -3
  249. package/dist/types-ts4.5/text-serializer.d.ts +0 -1
  250. package/dist/types-ts4.5/types/i18n.d.ts +0 -5
  251. package/dist/types-ts4.5/types/mediaOptions.d.ts +0 -23
  252. package/dist/types-ts4.5/types/smartLinksOptions.d.ts +0 -59
  253. package/dist/types-ts4.5/ui/Expand.d.ts +0 -19
  254. package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +0 -38
  255. package/dist/types-ts4.5/ui/MediaCard.d.ts +0 -98
  256. package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +0 -30
  257. package/dist/types-ts4.5/ui/Renderer/PortalContext.d.ts +0 -4
  258. package/dist/types-ts4.5/ui/Renderer/RendererStyleContainer.d.ts +0 -14
  259. package/dist/types-ts4.5/ui/Renderer/ValidationContext.d.ts +0 -14
  260. package/dist/types-ts4.5/ui/Renderer/analytics-utils.d.ts +0 -3
  261. package/dist/types-ts4.5/ui/Renderer/breakout-ssr.d.ts +0 -19
  262. package/dist/types-ts4.5/ui/Renderer/click-to-edit.d.ts +0 -6
  263. package/dist/types-ts4.5/ui/Renderer/count-nodes.d.ts +0 -1
  264. package/dist/types-ts4.5/ui/Renderer/get-base-font-size.d.ts +0 -2
  265. package/dist/types-ts4.5/ui/Renderer/index.d.ts +0 -51
  266. package/dist/types-ts4.5/ui/Renderer/rendererHelper.d.ts +0 -2
  267. package/dist/types-ts4.5/ui/Renderer/style.d.ts +0 -2
  268. package/dist/types-ts4.5/ui/Renderer/truncated-wrapper.d.ts +0 -17
  269. package/dist/types-ts4.5/ui/Renderer/types.d.ts +0 -37
  270. package/dist/types-ts4.5/ui/Renderer/useMemoFromPropsDerivative.d.ts +0 -1
  271. package/dist/types-ts4.5/ui/RendererActionsContext/WithRendererActions.d.ts +0 -8
  272. package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +0 -10
  273. package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +0 -8
  274. package/dist/types-ts4.5/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +0 -16
  275. package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +0 -18
  276. package/dist/types-ts4.5/ui/annotations/context.d.ts +0 -5
  277. package/dist/types-ts4.5/ui/annotations/contexts/AnnotationHoverContext.d.ts +0 -18
  278. package/dist/types-ts4.5/ui/annotations/contexts/AnnotationManagerContext.d.ts +0 -73
  279. package/dist/types-ts4.5/ui/annotations/contexts/AnnotationRangeContext.d.ts +0 -50
  280. package/dist/types-ts4.5/ui/annotations/draft/component.d.ts +0 -30
  281. package/dist/types-ts4.5/ui/annotations/draft/dom.d.ts +0 -7
  282. package/dist/types-ts4.5/ui/annotations/draft/position.d.ts +0 -3
  283. package/dist/types-ts4.5/ui/annotations/draft/text.d.ts +0 -13
  284. package/dist/types-ts4.5/ui/annotations/element/index.d.ts +0 -11
  285. package/dist/types-ts4.5/ui/annotations/element/mark.d.ts +0 -125
  286. package/dist/types-ts4.5/ui/annotations/element/useInlineAnnotationProps.d.ts +0 -24
  287. package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +0 -22
  288. package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +0 -2
  289. package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comments-filter.d.ts +0 -9
  290. package/dist/types-ts4.5/ui/annotations/hooks/use-load-annotations.d.ts +0 -11
  291. package/dist/types-ts4.5/ui/annotations/hooks/user-selection.d.ts +0 -11
  292. package/dist/types-ts4.5/ui/annotations/hooks/utils.d.ts +0 -2
  293. package/dist/types-ts4.5/ui/annotations/hover/mounter.d.ts +0 -19
  294. package/dist/types-ts4.5/ui/annotations/hover/range-validator.d.ts +0 -13
  295. package/dist/types-ts4.5/ui/annotations/index.d.ts +0 -7
  296. package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +0 -19
  297. package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +0 -13
  298. package/dist/types-ts4.5/ui/annotations/types.d.ts +0 -33
  299. package/dist/types-ts4.5/ui/annotations/view/index.d.ts +0 -8
  300. package/dist/types-ts4.5/ui/annotations/wrapper.d.ts +0 -9
  301. package/dist/types-ts4.5/ui/hooks/useScrollToBlock.d.ts +0 -16
  302. package/dist/types-ts4.5/ui/hooks/useStableScroll.d.ts +0 -27
  303. package/dist/types-ts4.5/ui/renderer-props.d.ts +0 -172
  304. package/dist/types-ts4.5/use-feature-flags.d.ts +0 -2
  305. package/dist/types-ts4.5/utils.d.ts +0 -21
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- import { SortOrder } from '@atlaskit/editor-common/types';
3
- type Props = {
4
- allowColumnSorting?: boolean;
5
- children?: React.ReactNode;
6
- index?: number;
7
- innerRef?: React.Ref<HTMLTableRowElement>;
8
- isFirstRow?: boolean;
9
- isLastRow?: boolean;
10
- isNumberColumnEnabled?: number;
11
- onSorting?: (columnIndex?: number, currentSortOrdered?: SortOrder) => void;
12
- tableOrderStatus?: {
13
- columnIndex: number;
14
- order: SortOrder;
15
- };
16
- };
17
- type State = {
18
- colGroupWidths: string[];
19
- };
20
- export default class TableRow extends React.Component<Props, State> {
21
- state: State;
22
- addSortableColumn: (childrenArray: React.ReactNode[]) => React.ReactNode[];
23
- addColGroupWidth: (childrenArray: React.ReactNode[]) => React.ReactNode[];
24
- render(): React.JSX.Element;
25
- }
26
- export {};
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import type { ReactNode } from 'react';
3
- import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
4
- import type { ContentRef, TaskDecisionProvider } from '@atlaskit/task-decision';
5
- interface Props {
6
- children?: ReactNode;
7
- contentRef?: ContentRef;
8
- contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
9
- dataAttributes?: {
10
- [key: string]: string | number;
11
- };
12
- disabled?: boolean;
13
- disableOnChange?: boolean;
14
- isDone: boolean;
15
- isRenderer?: boolean;
16
- objectAri: string;
17
- onChange?: (taskId: string, isChecked: boolean) => void;
18
- showPlaceholder?: boolean;
19
- taskDecisionProvider?: Promise<TaskDecisionProvider>;
20
- taskId: string;
21
- }
22
- export default function TaskItemWithProviders(props: Props): React.JSX.Element;
23
- export {};
@@ -1,20 +0,0 @@
1
- import React, { PureComponent } from 'react';
2
- import type { ReactNode } from 'react';
3
- import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
- import type { RendererContext, NodeProps } from '../types';
5
- export interface Props {
6
- children?: ReactNode;
7
- disabled?: boolean;
8
- disableOnChange?: boolean;
9
- localId: string;
10
- providers?: ProviderFactory;
11
- rendererContext?: RendererContext;
12
- state?: string;
13
- }
14
- export default class TaskItem extends PureComponent<NodeProps<Props>, Object> {
15
- private providerFactory;
16
- constructor(props: NodeProps<Props>);
17
- componentWillUnmount(): void;
18
- private renderWithProvider;
19
- render(): React.JSX.Element;
20
- }
@@ -1,9 +0,0 @@
1
- import React, { PureComponent } from 'react';
2
- import type { ReactNode } from 'react';
3
- export interface Props {
4
- children?: ReactNode;
5
- localId?: string;
6
- }
7
- export default class TaskList extends PureComponent<Props, Object> {
8
- render(): React.JSX.Element | null;
9
- }
@@ -1,13 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- import type { TextHighlighter } from '../types';
4
- import type { Mark } from '@atlaskit/editor-prosemirror/model';
5
- type Props = {
6
- children?: ReactNode | null;
7
- endPos: number;
8
- marks?: readonly Mark[];
9
- startPos: number;
10
- textHighlighter?: TextHighlighter;
11
- };
12
- declare const TextWrapper: (props: Props) => React.JSX.Element | null;
13
- export default TextWrapper;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export default function UnknownBlock(props: React.PropsWithChildren<unknown>): React.JSX.Element;
@@ -1,7 +0,0 @@
1
- import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
2
- export declare const insideBreakoutLayout: (path: Node[]) => boolean;
3
- export declare const insideBreakoutExpand: (path: Node[]) => boolean;
4
- export declare const insideBlockNode: (path: Node[], schema: Schema) => boolean;
5
- export declare const insideMultiBodiedExtension: (path: Node[], schema: Schema) => boolean;
6
- export declare const insideTable: (path: Node[], schema: Schema) => boolean;
7
- export declare const getNestedUnderNodes: (path: Node[], nodeTypeNames: string[]) => string | undefined;
@@ -1,78 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- import type { Node as PMNode, NodeType, Schema } from '@atlaskit/editor-prosemirror/model';
3
- import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
4
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
- import type { EventHandlers } from '@atlaskit/editor-common/ui';
6
- import type { AnalyticsEventPayload } from '../analytics/events';
7
- import type { Serializer } from '../serializer';
8
- import type { RendererAppearance, HeadingAnchorLinksProps, RendererContentMode, NestedRendererType } from '../ui/Renderer/types';
9
- import type { AnnotationId, AnnotationTypes } from '@atlaskit/adf-schema';
10
- export interface RendererContext {
11
- adDoc?: any;
12
- containerAri?: string;
13
- nestedRendererType?: NestedRendererType;
14
- objectAri?: string;
15
- schema?: Schema;
16
- }
17
- export interface NodeMeta {
18
- [key: string]: any;
19
- allowCopyToClipboard?: boolean;
20
- allowCustomPanels?: boolean;
21
- allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
22
- allowPlaceholderText?: boolean;
23
- allowWrapCodeBlock?: boolean;
24
- asInline?: 'on' | undefined;
25
- content?: {
26
- [key: string]: any;
27
- } | null;
28
- dataAttributes: {
29
- 'data-renderer-start-pos': number;
30
- };
31
- eventHandlers?: EventHandlers | undefined;
32
- extensionHandlers?: ExtensionHandlers | undefined;
33
- fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
34
- marks: PMNode['marks'];
35
- nodeType: NodeType['name'];
36
- portal?: HTMLElement | undefined;
37
- providers?: ProviderFactory | undefined;
38
- rendererAppearance?: RendererAppearance;
39
- rendererContentMode?: RendererContentMode;
40
- rendererContext?: RendererContext;
41
- serializer: Serializer<JSX.Element>;
42
- text?: PMNode['text'];
43
- }
44
- export interface MarkMeta {
45
- [key: string]: any;
46
- dataAttributes: {
47
- 'data-block-mark'?: true;
48
- 'data-renderer-mark': true;
49
- };
50
- eventHandlers?: EventHandlers;
51
- fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
52
- isInline?: boolean;
53
- markKey?: any;
54
- }
55
- export interface AnnotationMarkMeta extends MarkMeta {
56
- allowAnnotations: boolean;
57
- annotationParentIds: string[];
58
- annotationType: AnnotationTypes;
59
- id: AnnotationId;
60
- isMediaInline?: boolean;
61
- useBlockLevel?: boolean;
62
- }
63
- export type NodeProps<NodeAttrs = Object> = NodeAttrs & PropsWithChildren<NodeMeta>;
64
- export type MarkProps<MarkAttrs = Object> = MarkAttrs & PropsWithChildren<MarkMeta>;
65
- export type TextHighlighter = {
66
- component: React.ComponentType<{
67
- children: React.ReactNode;
68
- groups: Array<string> | undefined;
69
- marks: Set<string>;
70
- match: string;
71
- startPos: number;
72
- }>;
73
- pattern: RegExp;
74
- };
75
- export interface ExtensionViewportSize {
76
- extensionId?: string;
77
- viewportSize?: string;
78
- }
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import type { MediaSSR } from '../../types/mediaOptions';
3
- export declare const EditorMediaClientProvider: ({ children, ssr, }: React.PropsWithChildren<{
4
- ssr?: MediaSSR;
5
- }>) => React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import type { RendererAppearance } from '../../ui/Renderer/types';
2
- export declare const isFullWidthAppearance: (appearance: RendererAppearance) => appearance is "full-width";
3
- export declare const isMaxWidthAppearance: (appearance: RendererAppearance) => appearance is "max";
4
- export declare const isFullPageAppearance: (appearance: RendererAppearance) => appearance is "full-page";
5
- export declare const isCommentAppearance: (appearance: RendererAppearance) => appearance is "comment";
6
- export declare const isFullWidthOrFullPageAppearance: (appearance: RendererAppearance) => appearance is "full-width" | "full-page" | "max";
@@ -1 +0,0 @@
1
- export declare const calcBreakoutWidthCss: (layout: "full-width" | "wide" | "default") => "100%" | "min(var(--ak-editor--breakout-container-without-gutter-width), var(--ak-editor--full-width-layout-width))" | "min(var(--ak-editor--breakout-container-without-gutter-width), var(--ak-editor--breakout-wide-layout-width))";
@@ -1 +0,0 @@
1
- export declare const copyTextToClipboard: (text: string) => Promise<void>;
@@ -1,9 +0,0 @@
1
- export declare class ElementSelection {
2
- readonly type: string;
3
- readonly range?: Range;
4
- private constructor();
5
- eq(selection?: ElementSelection): boolean;
6
- inside(el: HTMLElement): boolean;
7
- select(el: HTMLElement): ElementSelection;
8
- static fromWindow(win?: Window): ElementSelection;
9
- }
@@ -1,3 +0,0 @@
1
- import type { EventHandlers } from '@atlaskit/editor-common/ui';
2
- import type { CardProps } from '@atlaskit/smart-card';
3
- export declare const getCardClickHandler: (eventHandlers?: EventHandlers, url?: string) => CardProps["onClick"] | undefined;
@@ -1,12 +0,0 @@
1
- import type { Mark, Node } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * Returns an array of **backgroundColor marks** that should be considered "standalone"
4
- * for highlight padding purposes.
5
- *
6
- * Standalone backgroundColor marks are determined by scanning the content array and
7
- * checking for backgroundColor marks that are separated by whitespace boundaries.
8
- *
9
- * @param content Array of ProseMirror nodes to scan for standalone backgroundColor marks.
10
- * @returns Array of backgroundColor marks that are standalone.
11
- */
12
- export declare const getStandaloneBackgroundColorMarks: (content: Node[]) => Mark[];
@@ -1,6 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- /**
3
- * Helper function to recursively injects props to
4
- * all valid children react nodes.
5
- */
6
- export declare function recursivelyInjectProps(children: ReactNode[], propsToInject: Object): ReactNode[];
@@ -1,3 +0,0 @@
1
- import type { HeadingAnchorLinksProps } from '../../ui/Renderer/types';
2
- export declare function isNestedHeaderLinksEnabled(allowHeadingAnchorLinks?: HeadingAnchorLinksProps): boolean;
3
- export declare function getActiveHeadingId(allowHeadingAnchorLinks?: HeadingAnchorLinksProps): string | undefined;
@@ -1,2 +0,0 @@
1
- import type { Node } from '@atlaskit/editor-prosemirror/model';
2
- export declare function getListIndentLevel(path: Node[]): number;
@@ -1,10 +0,0 @@
1
- import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import type { ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
3
- export declare function markBlockAsInline({ nodes, onMark, parentPos, shouldDisplayExtensionAsInline, }: {
4
- nodes: PMNode[];
5
- onMark: ({ pos }: {
6
- pos: number;
7
- }) => void;
8
- parentPos: number;
9
- shouldDisplayExtensionAsInline: (extensionParams: ExtensionParams<Parameters>) => boolean;
10
- }): void;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import type { Mark } from '@atlaskit/editor-prosemirror/model';
3
- import type { TextSegment } from './segment-text';
4
- import type { TextHighlighter } from '../types';
5
- export declare function renderTextSegments(segments: Array<TextSegment>, textHighlighter: TextHighlighter | undefined, marksList: readonly Mark[], startPos: number): string | React.JSX.Element;
@@ -1,10 +0,0 @@
1
- import type { TextHighlighter } from '../types';
2
- export type TextSegment = {
3
- text: string;
4
- type: 'plain';
5
- } | {
6
- groups: Array<string> | undefined;
7
- text: string;
8
- type: 'match';
9
- };
10
- export declare function segmentText(text: string | undefined, highlighter: TextHighlighter | undefined): Array<TextSegment>;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const useSelectAllTrap: <T extends HTMLElement>() => React.MutableRefObject<T | null>;
@@ -1,27 +0,0 @@
1
- import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
2
- import type { ADFStage } from '@atlaskit/editor-common/validator';
3
- import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
4
- import type { AnalyticsEventPayload } from './analytics/events';
5
- import type { Serializer } from './serializer';
6
- import type { RendererAppearance } from './ui/Renderer/types';
7
- export interface RenderOutput<T> {
8
- pmDoc?: PMNode;
9
- result: T;
10
- stat: RenderOutputStat;
11
- }
12
- export interface RenderOutputStat {
13
- buildTreeTime?: number;
14
- nodesCount?: Record<string, number>;
15
- sanitizeTime: number;
16
- serializeTime?: number;
17
- }
18
- export interface ResultWithTime<T> {
19
- output: T;
20
- time: number;
21
- }
22
- type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
23
- export declare const renderDocument: <T>(doc: any, serializer: Serializer<T>, schema?: Schema, adfStage?: ADFStage, useSpecBasedValidator?: boolean, rendererId?: string, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking, appearance?: RendererAppearance, includeNodesCountInStats?: boolean, skipValidation?: boolean, validationOverrides?: {
24
- allowNestedTables?: boolean;
25
- allowTableInPanel?: boolean;
26
- }) => RenderOutput<T | null>;
27
- export {};
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { FeatureFlags } from '@atlaskit/editor-common/types';
3
- import type { NestedRendererType } from './ui/Renderer/types';
4
- export type RendererContextProps = {
5
- featureFlags?: FeatureFlags;
6
- isTopLevelRenderer?: boolean;
7
- nestedRendererType?: NestedRendererType;
8
- timeZone?: string;
9
- };
10
- export declare const useRendererContext: () => RendererContextProps;
11
- export declare const RendererContextProvider: React.Provider<{}>;
@@ -1,4 +0,0 @@
1
- import type { Fragment } from '@atlaskit/editor-prosemirror/model';
2
- export interface Serializer<T> {
3
- serializeFragment(fragment: Fragment, props?: any, target?: any, key?: string): T | null;
4
- }
@@ -1,17 +0,0 @@
1
- import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { AddMarkStep } from '@atlaskit/editor-prosemirror/transform';
3
- export declare function getStartPos(element: HTMLElement): number;
4
- export declare function findParent(element: ChildNode | Node): HTMLElement | null;
5
- export declare function isRendererRoot(element: HTMLElement | null): boolean;
6
- export declare function resolvePos(node: Node | null, offset: number, findEnd?: boolean): number | false;
7
- interface AnnotationStepOptions {
8
- annotationId: string;
9
- annotationType: 'inlineComment';
10
- schema: Schema;
11
- }
12
- export declare function getPosFromRange(range: Range): {
13
- from: number;
14
- to: number;
15
- } | false;
16
- export declare function createAnnotationStep(from: number, to: number, opts: AnnotationStepOptions): AddMarkStep;
17
- export {};
@@ -1,8 +0,0 @@
1
- import type { Fragment, Schema } from '@atlaskit/editor-prosemirror/model';
2
- import type { Serializer } from '../serializer';
3
- export default class TextSerializer implements Serializer<string> {
4
- private schema;
5
- constructor(schema: Schema);
6
- serializeFragment(fragment: Fragment): string;
7
- static fromSchema(schema?: Schema): TextSerializer;
8
- }
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const blockquote: NodeReducer;
3
- export default blockquote;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const bulletList: NodeReducer;
3
- export default bulletList;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const date: NodeReducer;
3
- export default date;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const decisionItem: NodeReducer;
3
- export default decisionItem;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const hardBreak: NodeReducer;
3
- export default hardBreak;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const heading: NodeReducer;
3
- export default heading;
@@ -1,3 +0,0 @@
1
- import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
- export type NodeReducer = (node: PMNode, schema: Schema) => string;
3
- export declare const reduce: NodeReducer;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const inlineCard: NodeReducer;
3
- export default inlineCard;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const listItem: NodeReducer;
3
- export default listItem;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const mediaGroup: NodeReducer;
3
- export default mediaGroup;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const mention: NodeReducer;
3
- export default mention;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const orderedList: NodeReducer;
3
- export default orderedList;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const panel: NodeReducer;
3
- export default panel;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const paragraph: NodeReducer;
3
- export default paragraph;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const rule: NodeReducer;
3
- export default rule;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const status: NodeReducer;
3
- export default status;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const table: NodeReducer;
3
- export default table;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const taskItem: NodeReducer;
3
- export default taskItem;
@@ -1,3 +0,0 @@
1
- import type { NodeReducer } from './';
2
- declare const unknown: NodeReducer;
3
- export default unknown;
@@ -1 +0,0 @@
1
- export { default as TextSerializer } from './text';
@@ -1,5 +0,0 @@
1
- export interface MessageDescriptor {
2
- defaultMessage: string;
3
- description: string;
4
- id: string;
5
- }
@@ -1,23 +0,0 @@
1
- import type { MediaClientConfig } from '@atlaskit/media-core';
2
- import type { MediaFeatureFlags, SSR } from '@atlaskit/media-common';
3
- import type { MediaViewerExtensions } from '@atlaskit/media-viewer';
4
- export type MediaSSR = {
5
- config: MediaClientConfig;
6
- mode: SSR;
7
- };
8
- export interface MediaOptions {
9
- allowCaptions?: boolean;
10
- allowLinking?: boolean;
11
- enableDownloadButton?: boolean;
12
- enableSyncMediaCard?: boolean;
13
- /**
14
- * Optional fallback fetcher to retrieve the media filename from another service
15
- * Workaround for #hot-301450 where media service is missing filenames for DC -> Cloud migrated media
16
- * Receives the file ID and should resolve to the filename string.
17
- */
18
- fallbackMediaNameFetcher?: (id: string) => Promise<string>;
19
- featureFlags?: MediaFeatureFlags;
20
- /** Extensions for the media viewer header (e.g. comment navigation button). */
21
- mediaViewerExtensions?: MediaViewerExtensions;
22
- ssr?: MediaSSR;
23
- }
@@ -1,59 +0,0 @@
1
- import type React from 'react';
2
- import type { CardProps } from '@atlaskit/smart-card';
3
- export interface SmartLinksOptions {
4
- /**
5
- * Configure visibility of actions available.
6
- * By default, smart links show all actions available on the views.
7
- * Set `hide` to true to disable all actions.
8
- * Set `hide` to false and set `exclude` to enable only specific actions.
9
- *
10
- * Component: inline (hover preview), block (card)
11
- */
12
- actionOptions?: CardProps['actionOptions'];
13
- /**
14
- * Competitor Prompt Component for Competitor link
15
- */
16
- CompetitorPrompt?: React.ComponentType<{
17
- linkType?: string;
18
- sourceUrl: string;
19
- }>;
20
- /**
21
- * A prop that determines the style of a frame:
22
- * whether to show it, hide it or only show it when a user hovers over embed.
23
- * Default is `show`
24
- *
25
- * Component: embed
26
- */
27
- frameStyle?: CardProps['frameStyle'];
28
- /**
29
- * Returns a placeholder string for an inline smart link while it is in a resolving state.
30
- * Used to show a preloaded title instead of the raw URL.
31
- *
32
- * Component: inline
33
- */
34
- getResolvingPlaceholder?: (url: string) => string | undefined;
35
- /**
36
- * A flag to disable hover preview on inline Smart Link.
37
- * Default is false.
38
- *
39
- * Component: inline
40
- */
41
- hideHoverPreview?: boolean;
42
- /**
43
- * A flag to enable inline Smart Link to render without lazy loading.
44
- * Default is false.
45
- *
46
- * Component: inline
47
- */
48
- ssr?: boolean;
49
- /**
50
- * A Suspense boundary wrapper to enable inline SmartLinks to wait until data fetchers have completed before rendering
51
- * Default is undefined.
52
- *
53
- * Component: inline
54
- */
55
- SuspenseWrapperForUrl?: React.ComponentType<{
56
- children: React.ReactNode;
57
- url?: string;
58
- }>;
59
- }
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
3
- import type { AnalyticsEventPayload } from '../analytics/events';
4
- import type { RendererAppearance, RendererContentMode } from './Renderer/types';
5
- export interface ExpandProps {
6
- children: React.ReactNode;
7
- fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
8
- loadBodyContent?: boolean;
9
- localId?: string;
10
- nestedHeaderIds?: Array<string>;
11
- nodeType: 'expand' | 'nestedExpand';
12
- rendererAppearance?: RendererAppearance;
13
- rendererContentMode?: RendererContentMode;
14
- title: string;
15
- }
16
- declare const _default_1: React.FC<WithIntlProps<ExpandProps & WrappedComponentProps>> & {
17
- WrappedComponent: React.ComponentType<ExpandProps & WrappedComponentProps>;
18
- };
19
- export default _default_1;
@@ -1,38 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
6
- import React from 'react';
7
- import type { RendererContext } from '../react/types';
8
- import type { ExtensionLayout } from '@atlaskit/adf-schema';
9
- import type { ExtensionHandlers, ExtensionParams, MultiBodiedExtensionActions, Parameters } from '@atlaskit/editor-common/extensions';
10
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
11
- import type { Mark as PMMark } from '@atlaskit/editor-prosemirror/model';
12
- interface Props {
13
- actions?: MultiBodiedExtensionActions;
14
- children: ({ node, result, }: {
15
- node: ExtensionParams<Parameters>;
16
- result?: JSX.Element | null;
17
- }) => JSX.Element;
18
- content?: any;
19
- extensionHandlers?: ExtensionHandlers;
20
- extensionKey: string;
21
- extensionType: string;
22
- layout?: ExtensionLayout;
23
- localId?: string;
24
- marks?: PMMark[];
25
- parameters?: any;
26
- providers?: ProviderFactory;
27
- rendererContext: RendererContext;
28
- text?: string;
29
- type: 'extension' | 'inlineExtension' | 'bodiedExtension' | 'multiBodiedExtension';
30
- }
31
- /** Renders extension (macro) nodes inside the ADF renderer. */
32
- export default function ExtensionRenderer(props: Props): jsx.JSX.Element;
33
- export declare const InlineNodeRendererWrapper: ({ children, isPlainTextMacro, ssrPlaceholder, ssrPlaceholderReplace, }: React.PropsWithChildren<{
34
- isPlainTextMacro?: boolean;
35
- ssrPlaceholder?: string;
36
- ssrPlaceholderReplace?: string;
37
- }>) => jsx.JSX.Element;
38
- export {};