@atlaskit/renderer 149.0.3 → 149.0.5

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 (312) hide show
  1. package/CHANGELOG.md +18 -1
  2. package/dist/cjs/actions/get-renderer-range-inline-node-names.js +3 -3
  3. package/dist/cjs/actions/index.js +10 -10
  4. package/dist/cjs/analytics/unsupported-content.js +9 -8
  5. package/dist/cjs/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
  6. package/dist/cjs/entry-points/experimental-sync-custom-nodes/media.js +1 -1
  7. package/dist/cjs/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
  8. package/dist/cjs/entry-points/react.js +2 -2
  9. package/dist/cjs/entry-points/renderer.js +7 -7
  10. package/dist/cjs/index.js +7 -7
  11. package/dist/cjs/react/index.js +9 -8
  12. package/dist/cjs/react/marks/backgroundColor.js +2 -2
  13. package/dist/cjs/react/marks/breakout.js +5 -5
  14. package/dist/cjs/react/marks/code.js +2 -2
  15. package/dist/cjs/react/marks/link-compiled.js +2 -2
  16. package/dist/cjs/react/marks/link-emotion.js +2 -2
  17. package/dist/cjs/react/marks/link.js +4 -4
  18. package/dist/cjs/react/marks/textColor.js +3 -3
  19. package/dist/cjs/react/nodes/blockCard.js +14 -11
  20. package/dist/cjs/react/nodes/bodiedExtension.js +4 -4
  21. package/dist/cjs/react/nodes/bodiedSyncBlock.js +1 -1
  22. package/dist/cjs/react/nodes/caption.js +2 -2
  23. package/dist/cjs/react/nodes/codeBlock/codeBlock.js +2 -2
  24. package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +3 -3
  25. package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +3 -3
  26. package/dist/cjs/react/nodes/codeBlock/components/codeBlockDownloadButton.js +2 -2
  27. package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +2 -2
  28. package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +22 -21
  29. package/dist/cjs/react/nodes/codeBlock/windowedCodeBlock.js +2 -2
  30. package/dist/cjs/react/nodes/date.js +5 -5
  31. package/dist/cjs/react/nodes/embedCard.js +19 -16
  32. package/dist/cjs/react/nodes/emoji.js +6 -5
  33. package/dist/cjs/react/nodes/extension.js +7 -7
  34. package/dist/cjs/react/nodes/heading.js +8 -8
  35. package/dist/cjs/react/nodes/index.js +7 -5
  36. package/dist/cjs/react/nodes/inlineCard.js +15 -13
  37. package/dist/cjs/react/nodes/layoutColumn-compiled.js +2 -2
  38. package/dist/cjs/react/nodes/layoutColumn-emotion.js +2 -2
  39. package/dist/cjs/react/nodes/media/index.js +24 -21
  40. package/dist/cjs/react/nodes/mediaGroup.js +2 -2
  41. package/dist/cjs/react/nodes/mediaInline.js +8 -8
  42. package/dist/cjs/react/nodes/mediaSingle/index.js +13 -12
  43. package/dist/cjs/react/nodes/mention.js +4 -3
  44. package/dist/cjs/react/nodes/multiBodiedExtension/actions.js +4 -4
  45. package/dist/cjs/react/nodes/multiBodiedExtension/context.js +7 -7
  46. package/dist/cjs/react/nodes/nodes.js +4 -3
  47. package/dist/cjs/react/nodes/orderedList.js +6 -5
  48. package/dist/cjs/react/nodes/panel-compiled.js +2 -2
  49. package/dist/cjs/react/nodes/panel-emotion.js +2 -2
  50. package/dist/cjs/react/nodes/panel.js +11 -7
  51. package/dist/cjs/react/nodes/table/colgroup.js +24 -24
  52. package/dist/cjs/react/nodes/table/sticky.js +2 -2
  53. package/dist/cjs/react/nodes/table/table.js +6 -6
  54. package/dist/cjs/react/nodes/table.js +19 -16
  55. package/dist/cjs/react/nodes/tableCell.js +11 -11
  56. package/dist/cjs/react/nodes/taskItem.js +4 -3
  57. package/dist/cjs/react/utils/EditorMediaClientProvider.js +3 -3
  58. package/dist/cjs/react/utils/use-select-all-trap.js +7 -7
  59. package/dist/cjs/render-document.js +32 -28
  60. package/dist/cjs/text/nodes/date.js +3 -3
  61. package/dist/cjs/text/nodes/orderedList.js +2 -2
  62. package/dist/cjs/ui/Expand.js +17 -16
  63. package/dist/cjs/ui/ExtensionRenderer.js +6 -6
  64. package/dist/cjs/ui/MediaCard.js +9 -9
  65. package/dist/cjs/ui/Renderer/ErrorBoundary.js +7 -7
  66. package/dist/cjs/ui/Renderer/RendererStyleContainer.js +271 -262
  67. package/dist/cjs/ui/Renderer/analytics-utils.js +13 -11
  68. package/dist/cjs/ui/Renderer/breakout-ssr.js +3 -3
  69. package/dist/cjs/ui/Renderer/count-nodes.js +2 -2
  70. package/dist/cjs/ui/Renderer/get-base-font-size.js +3 -3
  71. package/dist/cjs/ui/Renderer/index.js +30 -23
  72. package/dist/cjs/ui/RendererActionsContext/index.js +2 -2
  73. package/dist/cjs/ui/annotations/contexts/AnnotationManagerContext.js +15 -15
  74. package/dist/cjs/ui/annotations/element/index.js +2 -2
  75. package/dist/cjs/ui/annotations/hooks/use-events.js +20 -20
  76. package/dist/cjs/ui/annotations/hooks/use-load-annotations.js +2 -2
  77. package/dist/cjs/ui/annotations/hover/mounter.js +21 -21
  78. package/dist/cjs/ui/annotations/selection/mounter.js +21 -21
  79. package/dist/cjs/ui/hooks/useScrollToBlock.js +6 -4
  80. package/dist/es2019/actions/get-renderer-range-inline-node-names.js +1 -1
  81. package/dist/es2019/actions/index.js +2 -2
  82. package/dist/es2019/analytics/unsupported-content.js +3 -2
  83. package/dist/es2019/custom-nodes.js +1 -1
  84. package/dist/es2019/entry-points/custom-nodes-loosely-lazy.js +1 -1
  85. package/dist/es2019/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
  86. package/dist/es2019/entry-points/experimental-sync-custom-nodes/media.js +1 -1
  87. package/dist/es2019/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
  88. package/dist/es2019/entry-points/loosely-lazy.js +1 -1
  89. package/dist/es2019/entry-points/nodes.js +2 -2
  90. package/dist/es2019/entry-points/react.js +2 -2
  91. package/dist/es2019/entry-points/renderer.js +7 -7
  92. package/dist/es2019/entry-points/text-serializer-text.js +1 -1
  93. package/dist/es2019/entry-points/text.js +1 -1
  94. package/dist/es2019/index.js +7 -7
  95. package/dist/es2019/react/index.js +3 -2
  96. package/dist/es2019/react/marks/backgroundColor.js +1 -1
  97. package/dist/es2019/react/marks/breakout.js +1 -1
  98. package/dist/es2019/react/marks/code.js +1 -1
  99. package/dist/es2019/react/marks/link-compiled.js +1 -1
  100. package/dist/es2019/react/marks/link-emotion.js +1 -1
  101. package/dist/es2019/react/marks/link.js +1 -1
  102. package/dist/es2019/react/marks/textColor.js +1 -1
  103. package/dist/es2019/react/nodes/blockCard.js +6 -3
  104. package/dist/es2019/react/nodes/bodiedExtension.js +1 -1
  105. package/dist/es2019/react/nodes/bodiedSyncBlock.js +1 -1
  106. package/dist/es2019/react/nodes/caption.js +1 -1
  107. package/dist/es2019/react/nodes/codeBlock/codeBlock.js +1 -1
  108. package/dist/es2019/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
  109. package/dist/es2019/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
  110. package/dist/es2019/react/nodes/codeBlock/components/codeBlockDownloadButton.js +1 -1
  111. package/dist/es2019/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -1
  112. package/dist/es2019/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -2
  113. package/dist/es2019/react/nodes/codeBlock/windowedCodeBlock.js +1 -1
  114. package/dist/es2019/react/nodes/date.js +2 -2
  115. package/dist/es2019/react/nodes/embedCard.js +6 -3
  116. package/dist/es2019/react/nodes/emoji.js +3 -2
  117. package/dist/es2019/react/nodes/extension.js +2 -2
  118. package/dist/es2019/react/nodes/heading.js +1 -1
  119. package/dist/es2019/react/nodes/index.js +5 -3
  120. package/dist/es2019/react/nodes/inlineCard.js +7 -5
  121. package/dist/es2019/react/nodes/layoutColumn-compiled.js +1 -1
  122. package/dist/es2019/react/nodes/layoutColumn-emotion.js +1 -1
  123. package/dist/es2019/react/nodes/media/index.js +9 -6
  124. package/dist/es2019/react/nodes/mediaGroup.js +1 -1
  125. package/dist/es2019/react/nodes/mediaInline.js +3 -3
  126. package/dist/es2019/react/nodes/mediaSingle/index.js +4 -3
  127. package/dist/es2019/react/nodes/mention.js +1 -1
  128. package/dist/es2019/react/nodes/multiBodiedExtension/actions.js +1 -1
  129. package/dist/es2019/react/nodes/multiBodiedExtension/context.js +3 -3
  130. package/dist/es2019/react/nodes/nodes.js +2 -1
  131. package/dist/es2019/react/nodes/orderedList.js +3 -2
  132. package/dist/es2019/react/nodes/panel-compiled.js +1 -1
  133. package/dist/es2019/react/nodes/panel-emotion.js +1 -1
  134. package/dist/es2019/react/nodes/panel.js +6 -2
  135. package/dist/es2019/react/nodes/table/colgroup.js +3 -3
  136. package/dist/es2019/react/nodes/table/sticky.js +1 -1
  137. package/dist/es2019/react/nodes/table/table.js +2 -2
  138. package/dist/es2019/react/nodes/table.js +8 -5
  139. package/dist/es2019/react/nodes/tableCell.js +3 -3
  140. package/dist/es2019/react/nodes/taskItem.js +2 -1
  141. package/dist/es2019/react/utils/EditorMediaClientProvider.js +1 -1
  142. package/dist/es2019/react/utils/use-select-all-trap.js +1 -1
  143. package/dist/es2019/render-document.js +7 -3
  144. package/dist/es2019/text/nodes/date.js +1 -1
  145. package/dist/es2019/text/nodes/orderedList.js +1 -1
  146. package/dist/es2019/ui/Expand.js +4 -3
  147. package/dist/es2019/ui/ExtensionRenderer.js +3 -3
  148. package/dist/es2019/ui/MediaCard.js +3 -3
  149. package/dist/es2019/ui/Renderer/ErrorBoundary.js +2 -2
  150. package/dist/es2019/ui/Renderer/RendererStyleContainer.js +18 -9
  151. package/dist/es2019/ui/Renderer/analytics-utils.js +3 -1
  152. package/dist/es2019/ui/Renderer/breakout-ssr.js +1 -1
  153. package/dist/es2019/ui/Renderer/count-nodes.js +1 -1
  154. package/dist/es2019/ui/Renderer/get-base-font-size.js +1 -1
  155. package/dist/es2019/ui/Renderer/index.js +12 -5
  156. package/dist/es2019/ui/RendererActionsContext/index.js +1 -1
  157. package/dist/es2019/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
  158. package/dist/es2019/ui/annotations/element/index.js +1 -1
  159. package/dist/es2019/ui/annotations/hooks/use-events.js +2 -2
  160. package/dist/es2019/ui/annotations/hooks/use-load-annotations.js +1 -1
  161. package/dist/es2019/ui/annotations/hover/mounter.js +1 -1
  162. package/dist/es2019/ui/annotations/selection/mounter.js +1 -1
  163. package/dist/es2019/ui/hooks/useScrollToBlock.js +3 -1
  164. package/dist/esm/actions/get-renderer-range-inline-node-names.js +1 -1
  165. package/dist/esm/actions/index.js +2 -2
  166. package/dist/esm/analytics/unsupported-content.js +3 -2
  167. package/dist/esm/custom-nodes.js +1 -1
  168. package/dist/esm/entry-points/custom-nodes-loosely-lazy.js +1 -1
  169. package/dist/esm/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
  170. package/dist/esm/entry-points/experimental-sync-custom-nodes/media.js +1 -1
  171. package/dist/esm/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
  172. package/dist/esm/entry-points/loosely-lazy.js +1 -1
  173. package/dist/esm/entry-points/nodes.js +2 -2
  174. package/dist/esm/entry-points/react.js +2 -2
  175. package/dist/esm/entry-points/renderer.js +7 -7
  176. package/dist/esm/entry-points/text-serializer-text.js +1 -1
  177. package/dist/esm/entry-points/text.js +1 -1
  178. package/dist/esm/index.js +7 -7
  179. package/dist/esm/react/index.js +3 -2
  180. package/dist/esm/react/marks/backgroundColor.js +1 -1
  181. package/dist/esm/react/marks/breakout.js +1 -1
  182. package/dist/esm/react/marks/code.js +1 -1
  183. package/dist/esm/react/marks/link-compiled.js +1 -1
  184. package/dist/esm/react/marks/link-emotion.js +1 -1
  185. package/dist/esm/react/marks/link.js +1 -1
  186. package/dist/esm/react/marks/textColor.js +1 -1
  187. package/dist/esm/react/nodes/blockCard.js +6 -3
  188. package/dist/esm/react/nodes/bodiedExtension.js +1 -1
  189. package/dist/esm/react/nodes/bodiedSyncBlock.js +1 -1
  190. package/dist/esm/react/nodes/caption.js +1 -1
  191. package/dist/esm/react/nodes/codeBlock/codeBlock.js +1 -1
  192. package/dist/esm/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
  193. package/dist/esm/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
  194. package/dist/esm/react/nodes/codeBlock/components/codeBlockDownloadButton.js +1 -1
  195. package/dist/esm/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -1
  196. package/dist/esm/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -2
  197. package/dist/esm/react/nodes/codeBlock/windowedCodeBlock.js +1 -1
  198. package/dist/esm/react/nodes/date.js +2 -2
  199. package/dist/esm/react/nodes/embedCard.js +6 -3
  200. package/dist/esm/react/nodes/emoji.js +3 -2
  201. package/dist/esm/react/nodes/extension.js +2 -2
  202. package/dist/esm/react/nodes/heading.js +1 -1
  203. package/dist/esm/react/nodes/index.js +5 -3
  204. package/dist/esm/react/nodes/inlineCard.js +7 -5
  205. package/dist/esm/react/nodes/layoutColumn-compiled.js +1 -1
  206. package/dist/esm/react/nodes/layoutColumn-emotion.js +1 -1
  207. package/dist/esm/react/nodes/media/index.js +9 -6
  208. package/dist/esm/react/nodes/mediaGroup.js +1 -1
  209. package/dist/esm/react/nodes/mediaInline.js +3 -3
  210. package/dist/esm/react/nodes/mediaSingle/index.js +4 -3
  211. package/dist/esm/react/nodes/mention.js +1 -1
  212. package/dist/esm/react/nodes/multiBodiedExtension/actions.js +1 -1
  213. package/dist/esm/react/nodes/multiBodiedExtension/context.js +3 -3
  214. package/dist/esm/react/nodes/nodes.js +2 -1
  215. package/dist/esm/react/nodes/orderedList.js +3 -2
  216. package/dist/esm/react/nodes/panel-compiled.js +1 -1
  217. package/dist/esm/react/nodes/panel-emotion.js +1 -1
  218. package/dist/esm/react/nodes/panel.js +6 -2
  219. package/dist/esm/react/nodes/table/colgroup.js +3 -3
  220. package/dist/esm/react/nodes/table/sticky.js +1 -1
  221. package/dist/esm/react/nodes/table/table.js +2 -2
  222. package/dist/esm/react/nodes/table.js +8 -5
  223. package/dist/esm/react/nodes/tableCell.js +3 -3
  224. package/dist/esm/react/nodes/taskItem.js +2 -1
  225. package/dist/esm/react/utils/EditorMediaClientProvider.js +1 -1
  226. package/dist/esm/react/utils/use-select-all-trap.js +1 -1
  227. package/dist/esm/render-document.js +7 -3
  228. package/dist/esm/text/nodes/date.js +1 -1
  229. package/dist/esm/text/nodes/orderedList.js +1 -1
  230. package/dist/esm/ui/Expand.js +4 -3
  231. package/dist/esm/ui/ExtensionRenderer.js +3 -3
  232. package/dist/esm/ui/MediaCard.js +3 -3
  233. package/dist/esm/ui/Renderer/ErrorBoundary.js +2 -2
  234. package/dist/esm/ui/Renderer/RendererStyleContainer.js +18 -9
  235. package/dist/esm/ui/Renderer/analytics-utils.js +3 -1
  236. package/dist/esm/ui/Renderer/breakout-ssr.js +1 -1
  237. package/dist/esm/ui/Renderer/count-nodes.js +1 -1
  238. package/dist/esm/ui/Renderer/get-base-font-size.js +1 -1
  239. package/dist/esm/ui/Renderer/index.js +12 -5
  240. package/dist/esm/ui/RendererActionsContext/index.js +1 -1
  241. package/dist/esm/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
  242. package/dist/esm/ui/annotations/element/index.js +1 -1
  243. package/dist/esm/ui/annotations/hooks/use-events.js +2 -2
  244. package/dist/esm/ui/annotations/hooks/use-load-annotations.js +1 -1
  245. package/dist/esm/ui/annotations/hover/mounter.js +1 -1
  246. package/dist/esm/ui/annotations/selection/mounter.js +1 -1
  247. package/dist/esm/ui/hooks/useScrollToBlock.js +3 -1
  248. package/dist/types/actions/index.d.ts +2 -1
  249. package/dist/types/actions/selection.d.ts +1 -1
  250. package/dist/types/analytics/events.d.ts +9 -2
  251. package/dist/types/analytics/unsupported-content.d.ts +1 -1
  252. package/dist/types/custom-nodes.d.ts +1 -1
  253. package/dist/types/entry-points/custom-nodes-loosely-lazy.d.ts +1 -1
  254. package/dist/types/entry-points/experimental-sync-custom-nodes/cards.d.ts +1 -1
  255. package/dist/types/entry-points/experimental-sync-custom-nodes/media.d.ts +1 -1
  256. package/dist/types/entry-points/experimental-sync-custom-nodes/small-nodes.d.ts +1 -1
  257. package/dist/types/entry-points/loosely-lazy.d.ts +1 -1
  258. package/dist/types/entry-points/nodes.d.ts +2 -2
  259. package/dist/types/entry-points/react.d.ts +2 -2
  260. package/dist/types/entry-points/renderer.d.ts +7 -7
  261. package/dist/types/entry-points/serializer.d.ts +1 -1
  262. package/dist/types/entry-points/text-serializer-text.d.ts +1 -1
  263. package/dist/types/entry-points/text.d.ts +1 -1
  264. package/dist/types/index.d.ts +7 -7
  265. package/dist/types/react/index.d.ts +5 -4
  266. package/dist/types/react/marks/link-compiled.d.ts +1 -1
  267. package/dist/types/react/marks/link-emotion.d.ts +1 -1
  268. package/dist/types/react/nodes/blockCard.d.ts +1 -1
  269. package/dist/types/react/nodes/bodiedExtension.d.ts +3 -2
  270. package/dist/types/react/nodes/embedCard.d.ts +1 -1
  271. package/dist/types/react/nodes/emoji.d.ts +1 -1
  272. package/dist/types/react/nodes/extension.d.ts +4 -3
  273. package/dist/types/react/nodes/extensionFrame.d.ts +2 -2
  274. package/dist/types/react/nodes/index.d.ts +5 -5
  275. package/dist/types/react/nodes/inlineCard.d.ts +2 -2
  276. package/dist/types/react/nodes/inlineExtension.d.ts +2 -2
  277. package/dist/types/react/nodes/media/index.d.ts +3 -3
  278. package/dist/types/react/nodes/mediaGroup.d.ts +3 -3
  279. package/dist/types/react/nodes/mediaInline.d.ts +4 -4
  280. package/dist/types/react/nodes/mediaSingle/index.d.ts +4 -3
  281. package/dist/types/react/nodes/mention.d.ts +3 -3
  282. package/dist/types/react/nodes/multiBodiedExtension/actions.d.ts +1 -1
  283. package/dist/types/react/nodes/multiBodiedExtension/context.d.ts +1 -1
  284. package/dist/types/react/nodes/multiBodiedExtension.d.ts +2 -2
  285. package/dist/types/react/nodes/panel.d.ts +1 -1
  286. package/dist/types/react/nodes/table/sticky.d.ts +1 -1
  287. package/dist/types/react/nodes/table.d.ts +2 -2
  288. package/dist/types/react/nodes/task-item-with-providers.d.ts +1 -1
  289. package/dist/types/react/nodes/taskItem.d.ts +1 -1
  290. package/dist/types/react/types.d.ts +3 -3
  291. package/dist/types/react/utils/getCardClickHandler.d.ts +2 -2
  292. package/dist/types/react/utils/markBlockAsInline.d.ts +2 -1
  293. package/dist/types/render-document.d.ts +2 -2
  294. package/dist/types/renderer-context.d.ts +1 -1
  295. package/dist/types/types/mediaOptions.d.ts +3 -2
  296. package/dist/types/types/smartLinksOptions.d.ts +1 -1
  297. package/dist/types/ui/ExtensionRenderer.d.ts +3 -2
  298. package/dist/types/ui/MediaCard.d.ts +8 -5
  299. package/dist/types/ui/SmartCardStorage.d.ts +1 -1
  300. package/dist/types/ui/annotations/context.d.ts +1 -1
  301. package/dist/types/ui/annotations/contexts/AnnotationManagerContext.d.ts +1 -1
  302. package/dist/types/ui/annotations/element/mark.d.ts +1 -1
  303. package/dist/types/ui/annotations/hooks/use-events.d.ts +2 -1
  304. package/dist/types/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +1 -1
  305. package/dist/types/ui/annotations/hover/mounter.d.ts +1 -1
  306. package/dist/types/ui/annotations/hover/range-validator.d.ts +1 -1
  307. package/dist/types/ui/annotations/selection/mounter.d.ts +1 -1
  308. package/dist/types/ui/annotations/selection/range-validator.d.ts +1 -1
  309. package/dist/types/ui/annotations/types.d.ts +1 -1
  310. package/dist/types/ui/renderer-props.d.ts +8 -7
  311. package/dist/types/utils.d.ts +3 -3
  312. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize } from '@atlaskit/editor-shared-styles';
1
+ import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize } from '@atlaskit/editor-shared-styles/constants';
2
2
  export var getBaseFontSize = function getBaseFontSize(appearance, contentMode) {
3
3
  if (contentMode === 'compact') {
4
4
  return akEditorFullPageDenseFontSize;
@@ -16,16 +16,23 @@ import { v4 as uuid } from 'uuid';
16
16
  import { getSchemaBasedOnStage } from '@atlaskit/adf-schema/schema-default';
17
17
  import { FabricChannel } from '@atlaskit/analytics-listeners/types';
18
18
  import { FabricEditorAnalyticsContext } from '@atlaskit/analytics-namespaced-context/FabricEditorAnalyticsContext';
19
- import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
19
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
20
+ import { BaseTheme } from '@atlaskit/editor-common/BaseTheme';
20
21
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
22
+ import { IntlErrorBoundary } from '@atlaskit/editor-common/intl-error-boundary';
21
23
  import { isPanelNestingTableSupported } from '@atlaskit/editor-common/nesting';
22
24
  import { normalizeFeatureFlags } from '@atlaskit/editor-common/normalize-feature-flags';
23
25
  import { startMeasure, stopMeasure } from '@atlaskit/editor-common/performance-measures';
24
26
  import { getDistortedDurationMonitor } from '@atlaskit/editor-common/performance/measure-render';
25
27
  import { getResponseEndTime } from '@atlaskit/editor-common/performance/navigation';
26
- import { ProviderFactory, ProviderFactoryProvider } from '@atlaskit/editor-common/provider-factory';
27
- import { BaseTheme, IntlErrorBoundary, UnsupportedBlock, WidthProvider, WithCreateAnalyticsEvent } from '@atlaskit/editor-common/ui';
28
- import { getAnalyticsAppearance, getAnalyticsEventSeverity, shouldForceTracking } from '@atlaskit/editor-common/utils';
28
+ import { ProviderFactoryProvider } from '@atlaskit/editor-common/provider-factory/context';
29
+ import ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
30
+ import UnsupportedBlock from '@atlaskit/editor-common/UnsupportedBlock';
31
+ import { getAnalyticsAppearance } from '@atlaskit/editor-common/utils';
32
+ import { getAnalyticsEventSeverity } from '@atlaskit/editor-common/utils/analytics';
33
+ import { shouldForceTracking } from '@atlaskit/editor-common/utils/should-force-tracking';
34
+ import { WidthProvider } from '@atlaskit/editor-common/WidthProvider';
35
+ import { WithCreateAnalyticsEvent } from '@atlaskit/editor-common/WithCreateAnalyticsEvent';
29
36
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
30
37
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
31
38
  import AnalyticsContext from '../../analytics/analyticsContext';
@@ -62,7 +69,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
62
69
  var TABLE_INFO_TIMEOUT = 10000;
63
70
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
64
71
  var packageName = "@atlaskit/renderer";
65
- var packageVersion = "149.0.2";
72
+ var packageVersion = "149.0.4";
66
73
  var setAsQueryContainerStyles = css({
67
74
  containerName: 'ak-renderer-wrapper',
68
75
  containerType: 'inline-size'
@@ -3,7 +3,7 @@
3
3
  import React, { useMemo } from 'react';
4
4
  import { FabricChannel } from '@atlaskit/analytics-listeners/types';
5
5
  import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
6
- import { EVENT_TYPE } from '@atlaskit/editor-common/analytics';
6
+ import { EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
7
7
  import { fg } from '@atlaskit/platform-feature-flags/fg';
8
8
  import RendererActions from '../../actions/index';
9
9
  export var RendererContext = /*#__PURE__*/React.createContext(new RendererActions());
@@ -4,7 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  import React, { createContext, useContext, useEffect, useMemo, useReducer, useRef } from 'react';
6
6
  import { AnnotationMarkStates, AnnotationTypes } from '@atlaskit/adf-schema/annotation';
7
- import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types';
7
+ import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types/emitter';
8
8
  import { RendererContext } from '../../../ui/RendererActionsContext';
9
9
 
10
10
  // oxlint-disable-next-line eslint/no-redeclare
@@ -1,6 +1,6 @@
1
1
  import React, { useMemo, useCallback, useContext } from 'react';
2
2
  import { AnnotationMarkStates } from '@atlaskit/adf-schema/annotation';
3
- import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types';
3
+ import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types/emitter';
4
4
  import { InlineCommentsStateContext } from '../context';
5
5
  import { useAnnotationManagerDispatch } from '../contexts/AnnotationManagerContext';
6
6
  import { useHasFocusEvent } from '../hooks/use-events';
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
5
5
  import { useLayoutEffect, useMemo, useState } from 'react';
6
6
  import { AnnotationTypes } from '@atlaskit/adf-schema/annotation';
7
7
  import { FabricChannel } from '@atlaskit/analytics-listeners/types';
8
- import { ACTION, ACTION_SUBJECT, EVENT_TYPE, ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
9
- import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types';
8
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE, ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics/types/enums';
9
+ import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types/emitter';
10
10
  import { useAnnotationManagerDispatch, useAnnotationManagerState } from '../contexts/AnnotationManagerContext';
11
11
  export var useAnnotationStateByTypeEvent = function useAnnotationStateByTypeEvent(_ref) {
12
12
  var type = _ref.type,
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  import { useContext, useEffect } from 'react';
5
- import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types';
5
+ import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types/emitter';
6
6
  import { RendererContext as ActionsContext } from '../../RendererActionsContext';
7
7
  import { ProvidersContext } from '../context';
8
8
  import { useAnnotationManagerDispatch } from '../contexts/AnnotationManagerContext';
@@ -1,7 +1,7 @@
1
1
  import React, { useCallback, useContext } from 'react';
2
2
  import { AnnotationTypes } from '@atlaskit/adf-schema/annotation';
3
3
  import { FabricChannel } from '@atlaskit/analytics-listeners/types';
4
- import { ACTION, ACTION_SUBJECT, EVENT_TYPE, ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
4
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE, ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics/types/enums';
5
5
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
6
6
  import { RendererContext as ActionsContext } from '../../RendererActionsContext';
7
7
  import { useAnnotationRangeDispatch, useAnnotationRangeState } from '../contexts/AnnotationRangeContext';
@@ -4,7 +4,7 @@ import React, { useCallback, useContext, useMemo, useEffect } from 'react';
4
4
  import { v4 as uuid } from 'uuid';
5
5
  import { AnnotationTypes, AnnotationMarkStates } from '@atlaskit/adf-schema/annotation';
6
6
  import { FabricChannel } from '@atlaskit/analytics-listeners/types';
7
- import { ACTION, ACTION_SUBJECT, EVENT_TYPE, ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
7
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE, ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics/types/enums';
8
8
  import { fg } from '@atlaskit/platform-feature-flags/fg';
9
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
10
10
  import { getRendererRangeInlineNodeNames } from '../../../actions/get-renderer-range-inline-node-names';
@@ -3,7 +3,9 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
3
3
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
4
4
  import { useEffect } from 'react';
5
5
  import { getDocument } from '@atlaskit/browser-apis';
6
- import { DEFAULT_BLOCK_LINK_HASH_PREFIX, expandAllParentsThenScroll, expandElement, isExpandCollapsed, findNodeWithExpandParents, getLocalIdSelector } from '@atlaskit/editor-common/block-menu';
6
+ import { expandElement, isExpandCollapsed, getLocalIdSelector } from '@atlaskit/editor-common/block-menu';
7
+ import { DEFAULT_BLOCK_LINK_HASH_PREFIX } from '@atlaskit/editor-common/block-menu/block-link';
8
+ import { expandAllParentsThenScroll, findNodeWithExpandParents } from '@atlaskit/editor-common/block-menu/scroll-to-block-utils';
7
9
  import { useStableScroll } from './useStableScroll';
8
10
 
9
11
  /**
@@ -1,6 +1,7 @@
1
1
  import type { AnnotationId } from '@atlaskit/adf-schema/annotation';
2
2
  import { AnnotationTypes } from '@atlaskit/adf-schema/annotation';
3
- import type { AnnotationActionResult, AnnotationByMatches, SelectionContext } from '@atlaskit/editor-common/types';
3
+ import type { AnnotationActionResult, AnnotationByMatches } from '@atlaskit/editor-common/types/annotation';
4
+ import type { SelectionContext } from '@atlaskit/editor-common/types/selection';
4
5
  import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
5
6
  import type { Mark, Node, Schema } from '@atlaskit/editor-prosemirror/model';
6
7
  import { RemoveMarkStep, RemoveNodeMarkStep } from '@atlaskit/editor-prosemirror/transform';
@@ -1,4 +1,4 @@
1
- import type { SelectionContext } from '@atlaskit/editor-common/types';
1
+ import type { SelectionContext } from '@atlaskit/editor-common/types/selection';
2
2
  import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
3
3
  type GetSelectionContextOptions = {
4
4
  doc?: PMNode;
@@ -1,7 +1,14 @@
1
- import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, OperationalAEP, ExperienceEventPayload, TABLE_ACTION, SyncedBlockSSRErrorAEP, ExtensionType, MediaRenderedAEP } from '@atlaskit/editor-common/analytics';
1
+ import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
2
+ import type { ExperienceEventPayload } from '@atlaskit/editor-common/analytics/types/experience-events';
3
+ import type { ExtensionType } from '@atlaskit/editor-common/analytics/types/extension-events';
4
+ import type { MediaRenderedAEP } from '@atlaskit/editor-common/analytics/types/media-events';
5
+ import type { SyncedBlockSSRErrorAEP } from '@atlaskit/editor-common/analytics/types/sync-block-events';
6
+ import type { TABLE_ACTION } from '@atlaskit/editor-common/analytics/types/table-events';
7
+ import type { OperationalAEP } from '@atlaskit/editor-common/analytics/types/utils';
2
8
  import type { SortOrder } from '@atlaskit/editor-common/types';
3
- import type { SEVERITY, UNSUPPORTED_CONTENT_LEVEL_SEVERITY, UnsupportedContentPayload, UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
9
+ import type { SEVERITY, UNSUPPORTED_CONTENT_LEVEL_SEVERITY } from '@atlaskit/editor-common/utils';
4
10
  import type { EditorBreakpointKey } from '@atlaskit/editor-common/utils/analytics';
11
+ import type { UnsupportedContentPayload, UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils/unsupportedContent/types';
5
12
  import type { NestedRendererType } from '../ui/Renderer/types';
6
13
  import type { AEP } from './enums';
7
14
  export declare enum PLATFORM {
@@ -1,4 +1,4 @@
1
- import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
1
+ import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils/get-unsupported-content-level-data';
2
2
  import type { AnalyticsEventPayload } from './events';
3
3
  type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
4
4
  type DocumentData = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
3
- * This entry point will be removed in January 2027.
3
+ * This entry point will be removed in December 2026.
4
4
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
5
5
  */
6
6
  export { nodeToReact as defaultNodeComponentsWithLooselyLazy } from './react/nodes/loosely-lazy';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
3
- * This entry point will be removed in January 2027.
3
+ * This entry point will be removed in December 2026.
4
4
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
5
5
  */
6
6
  export { nodeToReact as defaultNodeComponentsWithLooselyLazy } from '../react/nodes/loosely-lazy';
@@ -8,7 +8,7 @@
8
8
  declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
9
9
  /**
10
10
  * @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
11
- * This entry point will be removed in January 2027.
11
+ * This entry point will be removed in December 2026.
12
12
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
13
13
  */
14
14
  export default nodeToReact;
@@ -8,7 +8,7 @@
8
8
  declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
9
9
  /**
10
10
  * @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
11
- * This entry point will be removed in January 2027.
11
+ * This entry point will be removed in December 2026.
12
12
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
13
13
  */
14
14
  export default nodeToReact;
@@ -8,7 +8,7 @@
8
8
  declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
9
9
  /**
10
10
  * @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
11
- * This entry point will be removed in January 2027.
11
+ * This entry point will be removed in December 2026.
12
12
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
13
13
  */
14
14
  export default nodeToReact;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
3
- * This entry point will be removed in January 2027.
3
+ * This entry point will be removed in December 2026.
4
4
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
5
5
  */
6
6
  export { nodeToReact } from '../react/nodes/loosely-lazy';
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
3
- * This entry point will be removed in January 2027.
3
+ * This entry point will be removed in December 2026.
4
4
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
5
5
  */
6
6
  export { BlockCard, Blockquote, BodiedExtension, BulletList, Caption, CodeBlock, Date, DecisionItem, DecisionList, Doc, DocWithSelectAllTrap, EmbedCard, Emoji, Expand, Extension, ExtensionFrame, HardBreak, Heading, InlineCard, InlineExtension, LayoutColumn, LayoutSection, ListItem, Media, MediaGroup, MediaInline, MediaSingle, Mention, MultiBodiedExtension, OrderedList, Panel, Paragraph, Placeholder, Rule, Status, Table, TableCell, TableRow, TaskItem, TaskList, UnknownBlock, WindowedCodeBlock, isEmojiDoc, isText, isTextNode, isTextWrapper, mergeTextNodes, nodeToReact, toReact, } from '../react/nodes/index';
7
7
  /**
8
8
  * @deprecated This entry point is deprecated. Use `nodes` from `@atlaskit/renderer/nodes/default` for default renderer nodes.
9
- * This entry point will be removed in January 2027.
9
+ * This entry point will be removed in December 2026.
10
10
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
11
11
  */
12
12
  export type { TextWrapper } from '../react/nodes/index';
@@ -1,13 +1,13 @@
1
1
  import { type ReactSerializerInit, default as ReactSerializerLegacy } from '../react';
2
2
  /**
3
3
  * @deprecated Use `ReactSerializerInit` from `@atlaskit/renderer/serializer/default` instead.
4
- * This export will be removed in January 2027.
4
+ * This export will be removed in December 2026.
5
5
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
6
6
  */
7
7
  export type { ReactSerializerInit } from '../react/index';
8
8
  /**
9
9
  * @deprecated Use `ReactSerializer` from `@atlaskit/renderer/serializer/default` instead.
10
- * This export will be removed in January 2027.
10
+ * This export will be removed in December 2026.
11
11
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
12
12
  */
13
13
  export default class ReactSerializer extends ReactSerializerLegacy {
@@ -1,37 +1,37 @@
1
1
  import type { ComponentProps, JSX } from 'react';
2
2
  import RendererWithAnnotationSelectionLegacy, { Renderer as RendererLegacy, RendererFunctionalComponent as RendererFunctionalComponentLegacy, RendererWithAnalytics as RendererWithAnalyticsLegacy } from '../ui/Renderer/index';
3
3
  /**
4
- * @deprecated This export will be removed in January 2027.
4
+ * @deprecated This export will be removed in December 2026.
5
5
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
6
6
  * Ping #cc-editor-lego if you are using this export.
7
7
  */
8
8
  export { DEGRADED_SEVERITY_THRESHOLD } from '../ui/Renderer/index';
9
9
  /**
10
- * @deprecated This export will be removed in January 2027.
10
+ * @deprecated This export will be removed in December 2026.
11
11
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
12
12
  * Ping #cc-editor-lego if you are using this export.
13
13
  */
14
14
  export { NORMAL_SEVERITY_THRESHOLD } from '../ui/Renderer/index';
15
15
  /**
16
16
  * @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
17
- * This export will be removed in January 2027.
17
+ * This export will be removed in December 2026.
18
18
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
19
19
  */
20
20
  export declare const Renderer: typeof RendererLegacy;
21
21
  /**
22
22
  * @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
23
- * This export will be removed in January 2027.
23
+ * This export will be removed in December 2026.
24
24
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
25
25
  */
26
26
  export declare const RendererFunctionalComponent: typeof RendererFunctionalComponentLegacy;
27
27
  /**
28
28
  * @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
29
- * This export will be removed in January 2027.
29
+ * This export will be removed in December 2026.
30
30
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
31
31
  */
32
32
  export declare const RendererWithAnalytics: (props: ComponentProps<typeof RendererWithAnalyticsLegacy>) => JSX.Element;
33
33
  /**
34
- * @deprecated This export will be removed in January 2027.
34
+ * @deprecated This export will be removed in December 2026.
35
35
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
36
36
  * Ping #cc-editor-lego if you are using this export.
37
37
  */
@@ -39,7 +39,7 @@ export type { RendererWrapperProps } from '../ui/Renderer/index';
39
39
  declare const RendererWithAnnotationSelection: typeof RendererWithAnnotationSelectionLegacy;
40
40
  /**
41
41
  * @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
42
- * This export will be removed in January 2027.
42
+ * This export will be removed in December 2026.
43
43
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
44
44
  */
45
45
  export default RendererWithAnnotationSelection;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @private
3
3
  * @deprecated Use `Serializer` from `@atlaskit/renderer/serializer/core` instead.
4
- * This export will be removed in January 2027.
4
+ * This export will be removed in December 2026.
5
5
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
6
6
  */
7
7
  export type { Serializer } from '../serializer';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @private
3
3
  * @deprecated Use `TextSerializer` from `@atlaskit/renderer/serializer/text` instead.
4
- * This export will be removed in January 2027.
4
+ * This export will be removed in December 2026.
5
5
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
6
6
  */
7
7
  export { default as TextSerializer } from '../text/index';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @private
3
3
  * @deprecated Use `TextSerializer` from `@atlaskit/renderer/serializer/text` instead.
4
- * This export will be removed in January 2027.
4
+ * This export will be removed in December 2026.
5
5
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
6
6
  */
7
7
  export { default } from '../text/index';
@@ -4,13 +4,13 @@ import { default as ReactSerializerLegacy } from './react';
4
4
  import RendererWithAnnotationSelectionLegacy, { RendererWithAnalytics as RendererWithAnalyticsLegacy } from './ui/Renderer';
5
5
  /**
6
6
  * @deprecated Use `ReactSerializerInit` from `@atlaskit/renderer/serializer/default` instead.
7
- * This export will be removed in January 2027.
7
+ * This export will be removed in December 2026.
8
8
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
9
9
  */
10
10
  export type { ReactSerializerInit } from './react';
11
11
  /**
12
12
  * @deprecated Use `ReactSerializer` from `@atlaskit/renderer/serializer/default` instead.
13
- * This export will be removed in January 2027.
13
+ * This export will be removed in December 2026.
14
14
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
15
15
  */
16
16
  export declare class ReactSerializer extends ReactSerializerLegacy {
@@ -19,25 +19,25 @@ export declare class ReactSerializer extends ReactSerializerLegacy {
19
19
  /**
20
20
  * @private
21
21
  * @deprecated Use `TextSerializer` from `@atlaskit/renderer/serializer/text` instead.
22
- * This export will be removed in January 2027.
22
+ * This export will be removed in December 2026.
23
23
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
24
24
  */
25
25
  export { default as TextSerializer } from './text';
26
26
  /**
27
27
  * @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
28
- * This export will be removed in January 2027.
28
+ * This export will be removed in December 2026.
29
29
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
30
30
  */
31
31
  export declare const ReactRenderer: typeof RendererWithAnnotationSelectionLegacy;
32
32
  /**
33
33
  * @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
34
- * This export will be removed in January 2027.
34
+ * This export will be removed in December 2026.
35
35
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
36
36
  */
37
37
  export declare const RendererWithAnalytics: (props: ComponentProps<typeof RendererWithAnalyticsLegacy>) => JSX.Element;
38
38
  /**
39
39
  * @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
40
- * This export will be removed in January 2027.
40
+ * This export will be removed in December 2026.
41
41
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
42
42
  */
43
43
  export { nodeToReact as defaultNodeComponents } from './react/nodes';
@@ -46,7 +46,7 @@ export { AnnotationsWrapper } from './ui/annotations';
46
46
  export { ValidationContextProvider } from './ui/Renderer/ValidationContext';
47
47
  /**
48
48
  * @deprecated Use `Serializer` from `@atlaskit/renderer/serializer/default` instead.
49
- * This export will be removed in January 2027.
49
+ * This export will be removed in December 2026.
50
50
  * @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
51
51
  */
52
52
  export type { Serializer } from './serializer';
@@ -1,8 +1,9 @@
1
- import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility';
2
- import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
1
+ import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
2
+ import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility/types';
3
+ import type { ExtensionHandlers, ExtensionParams } from '@atlaskit/editor-common/extensions/extension-handler';
4
+ import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
3
5
  import type { MentionNodeDataProvider } from '@atlaskit/editor-common/mention';
4
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
- import type { EventHandlers } from '@atlaskit/editor-common/ui';
6
+ import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
6
7
  import type { Fragment, Mark, Node } from '@atlaskit/editor-prosemirror/model';
7
8
  import type { EmojiProviderLookupOrder, EmojiResourceConfig } from '@atlaskit/emoji/resource';
8
9
  import type { AnalyticsEventPayload } from '../analytics/events';
@@ -9,5 +9,5 @@
9
9
  * Cleanup: delete this file once the experiment has shipped.
10
10
  */
11
11
  import type { ComponentProps } from 'react';
12
- import LinkUrl from '@atlaskit/smart-card/link-url';
12
+ import { LinkUrl } from '@atlaskit/smart-card/link';
13
13
  export declare const LinkUrlCompiled: (props: ComponentProps<typeof LinkUrl>) => JSX.Element;
@@ -10,5 +10,5 @@
10
10
  */
11
11
  import type { ComponentProps } from 'react';
12
12
  import { jsx } from '@emotion/react';
13
- import LinkUrl from '@atlaskit/smart-card/link-url';
13
+ import { LinkUrl } from '@atlaskit/smart-card/link';
14
14
  export declare const LinkUrlEmotion: (props: ComponentProps<typeof LinkUrl>) => jsx.JSX.Element;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
6
  import type { DatasourceAttributeProperties } from '@atlaskit/adf-schema/block-card';
7
- import type { EventHandlers } from '@atlaskit/editor-common/ui';
7
+ import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
8
8
  import type { SmartLinksOptions } from '../../types/smartLinksOptions';
9
9
  import type { RendererAppearance } from '../../ui/Renderer/types';
10
10
  export default function BlockCard(props: {
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { Layout as ExtensionLayout } from '@atlaskit/adf-schema/extensions';
3
- import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
4
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
+ import type { ExtensionHandlers, ExtensionParams } from '@atlaskit/editor-common/extensions/extension-handler';
4
+ import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
5
+ import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
5
6
  import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
6
7
  import type { AnalyticsEventPayload } from '../../analytics/events';
7
8
  import type { Serializer } from '../../serializer';
@@ -5,7 +5,7 @@
5
5
  import type { FC } from 'react';
6
6
  import { jsx } from '@emotion/react';
7
7
  import type { Layout as RichMediaLayout } from '@atlaskit/adf-schema/rich-media-common';
8
- import type { EventHandlers } from '@atlaskit/editor-common/ui';
8
+ import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
9
9
  import type { SmartLinksOptions } from '../../types/smartLinksOptions';
10
10
  import type { RendererAppearance } from '../../ui/Renderer/types';
11
11
  type EmbedCardInternalProps = {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import type { FC, NamedExoticComponent } from 'react';
6
6
  import type { EmojiAttributes } from '@atlaskit/adf-schema/emoji';
7
- import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
7
+ import ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
8
8
  import type { EmojiResourceConfig } from '@atlaskit/emoji/resource';
9
9
  import type { EmojiId, EmojiProviderLookupOrder } from '@atlaskit/emoji/types';
10
10
  import type { MarkDataAttributes } from '../../ui/annotations/element/useInlineAnnotationProps';
@@ -4,9 +4,10 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import type { Layout as ExtensionLayout } from '@atlaskit/adf-schema/extensions';
7
- import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
8
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
9
- import type { OverflowShadowProps, OverflowShadowState } from '@atlaskit/editor-common/ui';
7
+ import type { ExtensionHandlers, ExtensionParams } from '@atlaskit/editor-common/extensions/extension-handler';
8
+ import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
9
+ import type { OverflowShadowProps, OverflowShadowState } from '@atlaskit/editor-common/OverflowShadow';
10
+ import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
10
11
  import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
11
12
  import type { AnalyticsEventPayload } from '../../analytics/events';
12
13
  import type { RendererAppearance } from '../../ui/Renderer/types';
@@ -4,8 +4,8 @@
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
6
  import type { Layout as ExtensionLayout } from '@atlaskit/adf-schema/extensions';
7
- import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
8
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
7
+ import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions/extension-handler';
8
+ import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
9
9
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
10
10
  import type { Serializer } from '../../serializer';
11
11
  import type { RendererContext } from '../types';
@@ -3,12 +3,12 @@ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
3
3
  import Loadable from 'react-loadable';
4
4
  import type { DatasourceAttributeProperties } from '@atlaskit/adf-schema/block-card';
5
5
  import type { Layout as RichMediaLayout } from '@atlaskit/adf-schema/rich-media-common';
6
- import type { MediaInlineAttrs } from '@atlaskit/editor-common/media-inline';
7
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
8
- import { type EventHandlers } from '@atlaskit/editor-common/ui';
9
- import type { Diff } from '@atlaskit/editor-common/utils';
6
+ import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
7
+ import type { MediaInlineAttrs } from '@atlaskit/editor-common/media-inline/types';
8
+ import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
9
+ import type { Diff } from '@atlaskit/editor-common/utils/types';
10
10
  import type { Fragment, Node, Mark } from '@atlaskit/editor-prosemirror/model';
11
- import type { MediaFeatureFlags } from '@atlaskit/media-common';
11
+ import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
12
12
  import type { MediaSSR } from '../../types/mediaOptions';
13
13
  import type { SmartLinksOptions } from '../../types/smartLinksOptions';
14
14
  import type { ExpandProps } from '../../ui/Expand';
@@ -1,6 +1,6 @@
1
1
  import type { ComponentClass } from 'react';
2
- import type { EventHandlers } from '@atlaskit/editor-common/ui';
3
- import type { Diff } from '@atlaskit/editor-common/utils';
2
+ import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
3
+ import type { Diff } from '@atlaskit/editor-common/utils/types';
4
4
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { AnalyticsEventPayload } from '../../analytics/events';
6
6
  import type { SmartLinksOptions } from '../../types/smartLinksOptions';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
3
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
2
+ import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions/extension-handler';
3
+ import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
4
4
  import type { Mark as PMMark } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { RendererContext } from '../types';
6
6
  interface Props {
@@ -9,9 +9,9 @@ import type { AnnotationMarkDefinition } from '@atlaskit/adf-schema/annotation';
9
9
  import type { BorderMarkDefinition } from '@atlaskit/adf-schema/border';
10
10
  import type { DataConsumerDefinition } from '@atlaskit/adf-schema/data-consumer';
11
11
  import type { LinkDefinition } from '@atlaskit/adf-schema/link';
12
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
13
- import type { EventHandlers } from '@atlaskit/editor-common/ui';
14
- import type { MediaFeatureFlags } from '@atlaskit/media-common';
12
+ import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
13
+ import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
14
+ import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
15
15
  import type { MediaViewerExtensions } from '@atlaskit/media-viewer/types';
16
16
  import type { AnalyticsEventPayload } from '../../../analytics/events';
17
17
  import type { MediaRenderEvent } from '../../../types/mediaOptions';
@@ -1,9 +1,9 @@
1
1
  import type { ReactElement } from 'react';
2
2
  import React, { PureComponent } from 'react';
3
- import type { EventHandlers, CardEventClickHandler } from '@atlaskit/editor-common/ui';
3
+ import type { EventHandlers, CardEventClickHandler } from '@atlaskit/editor-common/EventHandlers';
4
4
  import type { CardEvent } from '@atlaskit/media-card/types';
5
- import type { Identifier } from '@atlaskit/media-client';
6
- import type { MediaFeatureFlags } from '@atlaskit/media-common';
5
+ import type { Identifier } from '@atlaskit/media-client/identifier';
6
+ import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
7
7
  import type { MediaProps } from './media';
8
8
  export interface MediaGroupProps {
9
9
  children?: React.ReactNode;