@atlaskit/editor-common 112.11.1 → 112.11.2

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 (416) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/codemods/69.0.0-update-validator-imports.ts +2 -1
  3. package/codemods/migrates/entry-points.ts +2 -1
  4. package/dist/cjs/collab/index.js +3 -1
  5. package/dist/cjs/element-browser/components/ElementList/ElementList.js +1 -0
  6. package/dist/cjs/extensibility/Extension/Extension/styles.js +1 -0
  7. package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -0
  8. package/dist/cjs/extensibility/Extension/styles.js +1 -0
  9. package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +1 -0
  10. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  11. package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -0
  12. package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +1 -0
  13. package/dist/cjs/link/LinkSearch/ToolbarComponents.js +1 -0
  14. package/dist/cjs/media-inline/styles.js +3 -1
  15. package/dist/cjs/media-inline/views/wrapper.js +1 -0
  16. package/dist/cjs/monitoring/error.js +1 -1
  17. package/dist/cjs/selection/gap-cursor/styles.js +3 -1
  18. package/dist/cjs/styles/shared/blockquote.js +1 -0
  19. package/dist/cjs/styles/shared/expand.js +1 -0
  20. package/dist/cjs/styles/shared/headings.js +1 -1
  21. package/dist/cjs/styles/shared/media-single.js +1 -0
  22. package/dist/cjs/styles/shared/native-anchor.js +1 -0
  23. package/dist/cjs/styles/shared/plugins.js +1 -0
  24. package/dist/cjs/styles/shared/table.js +3 -1
  25. package/dist/cjs/styles/shared/tableCell.js +1 -0
  26. package/dist/cjs/ui/DropList/index.js +1 -1
  27. package/dist/cjs/ui/Expand/index.js +1 -0
  28. package/dist/cjs/ui/FloatingToolbar/Button.js +5 -2
  29. package/dist/cjs/ui/HoverLinkOverlay/index.js +8 -6
  30. package/dist/cjs/ui/MediaSingle/link.js +1 -0
  31. package/dist/cjs/ui/MediaSingle/styled.js +1 -0
  32. package/dist/cjs/ui/MultiBodiedExtension/index.js +1 -0
  33. package/dist/cjs/ui/PanelTextInput/styles.js +1 -0
  34. package/dist/cjs/ui/ResizerLegacy/styled.js +3 -1
  35. package/dist/cjs/ui/clear-next-sibling-margin-top.js +1 -0
  36. package/dist/cjs/ui-color/ColorPalette/Color/styles.js +1 -0
  37. package/dist/cjs/ui-color/ColorPalette/styles.js +1 -0
  38. package/dist/es2019/card/ui/assets/card.js +0 -1
  39. package/dist/es2019/card/ui/assets/embed.js +0 -1
  40. package/dist/es2019/card/ui/assets/inline.js +0 -1
  41. package/dist/es2019/card/ui/assets/url.js +0 -1
  42. package/dist/es2019/collab/index.js +2 -0
  43. package/dist/es2019/element-browser/components/ElementList/ElementList.js +1 -0
  44. package/dist/es2019/extensibility/Extension/Extension/styles.js +1 -0
  45. package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -0
  46. package/dist/es2019/extensibility/Extension/styles.js +1 -0
  47. package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +1 -0
  48. package/dist/es2019/icons/shared/BorderIcon.js +0 -1
  49. package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +0 -1
  50. package/dist/es2019/link/ConfigureLinkOverlay/index.js +0 -1
  51. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
  52. package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -0
  53. package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +2 -1
  54. package/dist/es2019/link/LinkSearch/ToolbarComponents.js +1 -0
  55. package/dist/es2019/link/LinkSearch/withActivityProvider.js +1 -0
  56. package/dist/es2019/media-inline/styles.js +1 -0
  57. package/dist/es2019/media-inline/views/wrapper.js +1 -0
  58. package/dist/es2019/media-single/CommentBadge.js +0 -1
  59. package/dist/es2019/monitoring/error.js +1 -1
  60. package/dist/es2019/selection/gap-cursor/styles.js +1 -0
  61. package/dist/es2019/selection-based-node-view/SelectionBasedNodeView.js +0 -1
  62. package/dist/es2019/styles/shared/blockquote.js +1 -0
  63. package/dist/es2019/styles/shared/expand.js +1 -0
  64. package/dist/es2019/styles/shared/headings.js +1 -0
  65. package/dist/es2019/styles/shared/media-single.js +1 -0
  66. package/dist/es2019/styles/shared/native-anchor.js +1 -0
  67. package/dist/es2019/styles/shared/plugins.js +1 -0
  68. package/dist/es2019/styles/shared/table.js +1 -0
  69. package/dist/es2019/styles/shared/tableCell.js +1 -0
  70. package/dist/es2019/ui/DropList/index.js +1 -1
  71. package/dist/es2019/ui/Expand/index.js +1 -0
  72. package/dist/es2019/ui/FloatingToolbar/Button.js +5 -2
  73. package/dist/es2019/ui/FloatingToolbar/ButtonSpotlightCard.js +0 -1
  74. package/dist/es2019/ui/HoverLinkOverlay/index.js +8 -6
  75. package/dist/es2019/ui/Layer/index.js +2 -1
  76. package/dist/es2019/ui/MediaSingle/link.js +1 -1
  77. package/dist/es2019/ui/MediaSingle/styled.js +1 -0
  78. package/dist/es2019/ui/MultiBodiedExtension/index.js +1 -0
  79. package/dist/es2019/ui/PanelTextInput/styles.js +1 -0
  80. package/dist/es2019/ui/Pulse/Pulse.js +0 -1
  81. package/dist/es2019/ui/ResizerLegacy/styled.js +1 -1
  82. package/dist/es2019/ui/TableSelector/index.js +0 -1
  83. package/dist/es2019/ui/clear-next-sibling-margin-top.js +1 -1
  84. package/dist/es2019/ui-color/ColorPalette/Color/index.js +0 -1
  85. package/dist/es2019/ui-color/ColorPalette/Color/styles.js +1 -0
  86. package/dist/es2019/ui-color/ColorPalette/styles.js +1 -0
  87. package/dist/es2019/utils/browser.js +0 -1
  88. package/dist/esm/card/ui/assets/card.js +0 -1
  89. package/dist/esm/card/ui/assets/embed.js +0 -1
  90. package/dist/esm/card/ui/assets/inline.js +0 -1
  91. package/dist/esm/card/ui/assets/url.js +0 -1
  92. package/dist/esm/collab/index.js +2 -0
  93. package/dist/esm/element-browser/components/ElementList/ElementList.js +1 -0
  94. package/dist/esm/extensibility/Extension/Extension/styles.js +1 -0
  95. package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -0
  96. package/dist/esm/extensibility/Extension/styles.js +1 -0
  97. package/dist/esm/extensibility/MultiBodiedExtension/styles.js +1 -0
  98. package/dist/esm/icons/shared/BorderIcon.js +0 -1
  99. package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +0 -1
  100. package/dist/esm/link/ConfigureLinkOverlay/index.js +0 -1
  101. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
  102. package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -0
  103. package/dist/esm/link/LinkSearch/LinkSearchListItem.js +2 -1
  104. package/dist/esm/link/LinkSearch/ToolbarComponents.js +1 -0
  105. package/dist/esm/link/LinkSearch/withActivityProvider.js +1 -0
  106. package/dist/esm/media-inline/styles.js +1 -0
  107. package/dist/esm/media-inline/views/wrapper.js +1 -0
  108. package/dist/esm/media-single/CommentBadge.js +0 -1
  109. package/dist/esm/monitoring/error.js +1 -1
  110. package/dist/esm/selection/gap-cursor/styles.js +1 -0
  111. package/dist/esm/selection-based-node-view/SelectionBasedNodeView.js +0 -1
  112. package/dist/esm/styles/shared/blockquote.js +1 -0
  113. package/dist/esm/styles/shared/expand.js +1 -0
  114. package/dist/esm/styles/shared/headings.js +1 -0
  115. package/dist/esm/styles/shared/media-single.js +1 -0
  116. package/dist/esm/styles/shared/native-anchor.js +1 -0
  117. package/dist/esm/styles/shared/plugins.js +1 -0
  118. package/dist/esm/styles/shared/table.js +1 -0
  119. package/dist/esm/styles/shared/tableCell.js +1 -0
  120. package/dist/esm/ui/DropList/index.js +1 -1
  121. package/dist/esm/ui/Expand/index.js +1 -0
  122. package/dist/esm/ui/FloatingToolbar/Button.js +5 -2
  123. package/dist/esm/ui/FloatingToolbar/ButtonSpotlightCard.js +0 -1
  124. package/dist/esm/ui/HoverLinkOverlay/index.js +8 -6
  125. package/dist/esm/ui/Layer/index.js +2 -1
  126. package/dist/esm/ui/MediaSingle/link.js +1 -1
  127. package/dist/esm/ui/MediaSingle/styled.js +1 -0
  128. package/dist/esm/ui/MultiBodiedExtension/index.js +1 -0
  129. package/dist/esm/ui/PanelTextInput/styles.js +1 -0
  130. package/dist/esm/ui/Pulse/Pulse.js +0 -1
  131. package/dist/esm/ui/ResizerLegacy/styled.js +1 -1
  132. package/dist/esm/ui/TableSelector/index.js +0 -1
  133. package/dist/esm/ui/clear-next-sibling-margin-top.js +1 -1
  134. package/dist/esm/ui-color/ColorPalette/Color/index.js +0 -1
  135. package/dist/esm/ui-color/ColorPalette/Color/styles.js +1 -0
  136. package/dist/esm/ui-color/ColorPalette/styles.js +1 -0
  137. package/dist/esm/utils/browser.js +0 -1
  138. package/dist/types/analytics/analytics-queue.d.ts +1 -1
  139. package/dist/types/analytics/types/ai-command-palette-events.d.ts +2 -2
  140. package/dist/types/analytics/types/ai-definitions-events.d.ts +2 -2
  141. package/dist/types/analytics/types/ai-events.d.ts +1 -1
  142. package/dist/types/analytics/types/ai-inline-suggestion-events.d.ts +3 -3
  143. package/dist/types/analytics/types/ai-streaming.d.ts +1 -1
  144. package/dist/types/analytics/types/alignment-events.d.ts +2 -2
  145. package/dist/types/analytics/types/avatar.d.ts +2 -2
  146. package/dist/types/analytics/types/color-events.d.ts +2 -2
  147. package/dist/types/analytics/types/config-panel-events.d.ts +2 -2
  148. package/dist/types/analytics/types/datasource-clicked-events.d.ts +1 -1
  149. package/dist/types/analytics/types/date-events.d.ts +2 -2
  150. package/dist/types/analytics/types/dispatch-analytics-event.d.ts +1 -1
  151. package/dist/types/analytics/types/link-events.d.ts +2 -2
  152. package/dist/types/analytics/types/mention-events.d.ts +3 -3
  153. package/dist/types/analytics/types/ncs-session-step-events.d.ts +1 -1
  154. package/dist/types/analytics/types/selection-toolbar-events.d.ts +2 -2
  155. package/dist/types/analytics/types/upload-media-events.d.ts +1 -1
  156. package/dist/types/card/MediaAndEmbedsToolbar/index.d.ts +1 -1
  157. package/dist/types/card/link-toolbar-button-group-options.d.ts +1 -1
  158. package/dist/types/card/link-toolbar-dropdown-options.d.ts +1 -1
  159. package/dist/types/card/types.d.ts +2 -2
  160. package/dist/types/code-block/index.d.ts +2 -2
  161. package/dist/types/collab/index.d.ts +2 -2
  162. package/dist/types/copy-button/index.d.ts +1 -1
  163. package/dist/types/element-browser/components/ElementList/ElementList.d.ts +2 -1
  164. package/dist/types/element-browser/components/ElementSearch.d.ts +1 -1
  165. package/dist/types/element-browser/hooks/use-focus.d.ts +1 -1
  166. package/dist/types/extensibility/Extension/Extension/styles.d.ts +1 -1
  167. package/dist/types/extensibility/Extension/InlineExtension/styles.d.ts +1 -1
  168. package/dist/types/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +1 -1
  169. package/dist/types/extensibility/Extension/Lozenge/LozengeComponent.d.ts +1 -1
  170. package/dist/types/extensibility/Extension/Lozenge/index.d.ts +1 -1
  171. package/dist/types/extensibility/Extension/styles.d.ts +1 -1
  172. package/dist/types/extensibility/Extension.d.ts +1 -1
  173. package/dist/types/extensibility/MultiBodiedExtension/styles.d.ts +1 -1
  174. package/dist/types/extensibility/extensionNodeView.d.ts +1 -1
  175. package/dist/types/extensions/extension-fields-helpers.d.ts +2 -2
  176. package/dist/types/extensions/types/extension-manifest-common.d.ts +1 -1
  177. package/dist/types/extensions/types/extension-provider.d.ts +2 -2
  178. package/dist/types/guideline/snapping.d.ts +1 -1
  179. package/dist/types/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -7
  180. package/dist/types/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -1
  181. package/dist/types/link/ConfigureLinkOverlay/handleNavigation.d.ts +3 -3
  182. package/dist/types/link/ConfigureLinkOverlay/index.d.ts +4 -8
  183. package/dist/types/link/LinkPicker/EditorLinkPicker/index.d.ts +1 -1
  184. package/dist/types/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +1 -1
  185. package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +2 -1
  186. package/dist/types/link/LinkSearch/LinkSearchList.d.ts +3 -2
  187. package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +3 -2
  188. package/dist/types/link/LinkSearch/ToolbarComponents.d.ts +1 -1
  189. package/dist/types/link/LinkSearch/index.d.ts +2 -2
  190. package/dist/types/link/LinkSearch/transformTimeStamp.d.ts +1 -1
  191. package/dist/types/link/LinkSearch/types.d.ts +3 -3
  192. package/dist/types/link/LinkSearch/withActivityProvider.d.ts +2 -2
  193. package/dist/types/link/types.d.ts +3 -3
  194. package/dist/types/link/utils.d.ts +1 -1
  195. package/dist/types/mark/text-formatting.d.ts +2 -1
  196. package/dist/types/media-inline/styles.d.ts +1 -1
  197. package/dist/types/media-inline/views/wrapper.d.ts +1 -1
  198. package/dist/types/media-single/CommentBadge.d.ts +1 -5
  199. package/dist/types/media-single/ExternalImageBadge.d.ts +1 -1
  200. package/dist/types/media-single/MediaBadges.d.ts +2 -1
  201. package/dist/types/nesting/utilities.d.ts +1 -1
  202. package/dist/types/performance-ssr-measures/SSRRenderMeasure.d.ts +2 -1
  203. package/dist/types/portal/common.d.ts +1 -1
  204. package/dist/types/portal/usePortalProvider.d.ts +1 -1
  205. package/dist/types/preset/core-plugin/requestDocument.d.ts +1 -1
  206. package/dist/types/preset/plugin-injection-api.d.ts +1 -1
  207. package/dist/types/provider-factory/context.d.ts +1 -1
  208. package/dist/types/provider-factory/profile-card-provider.d.ts +1 -1
  209. package/dist/types/provider-factory/provider-factory.d.ts +1 -1
  210. package/dist/types/resizer/BreakoutResizer.d.ts +3 -3
  211. package/dist/types/resizer/useBreakoutGuidelines.d.ts +1 -1
  212. package/dist/types/safe-plugin/index.d.ts +1 -1
  213. package/dist/types/selection/context-helpers.d.ts +2 -2
  214. package/dist/types/selection/gap-cursor/styles.d.ts +1 -1
  215. package/dist/types/selection-based-node-view/SelectionBasedNodeView.d.ts +6 -5
  216. package/dist/types/styles/shared/blockquote.d.ts +1 -1
  217. package/dist/types/styles/shared/expand.d.ts +1 -1
  218. package/dist/types/styles/shared/headings.d.ts +2 -2
  219. package/dist/types/styles/shared/media-single.d.ts +1 -1
  220. package/dist/types/styles/shared/native-anchor.d.ts +2 -2
  221. package/dist/types/styles/shared/plugins.d.ts +1 -1
  222. package/dist/types/styles/shared/table.d.ts +1 -1
  223. package/dist/types/styles/shared/tableCell.d.ts +1 -1
  224. package/dist/types/sync-block/SyncBlockActionsContext.d.ts +2 -1
  225. package/dist/types/transforms/code-block.d.ts +1 -1
  226. package/dist/types/transforms/expand.d.ts +1 -1
  227. package/dist/types/transforms/layout.d.ts +2 -1
  228. package/dist/types/types/copy-button.d.ts +1 -1
  229. package/dist/types/types/plugin-factory.d.ts +1 -1
  230. package/dist/types/types/resizable-media-single.d.ts +1 -1
  231. package/dist/types/types/type-ahead.d.ts +1 -1
  232. package/dist/types/ugc-tokens/get-editor-ugc-token.d.ts +1 -1
  233. package/dist/types/ui/Emoji/index.d.ts +1 -1
  234. package/dist/types/ui/EventHandlers/index.d.ts +1 -1
  235. package/dist/types/ui/Expand/index.d.ts +2 -1
  236. package/dist/types/ui/FloatingToolbar/Button.d.ts +1 -1
  237. package/dist/types/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +3 -2
  238. package/dist/types/ui/Layer/index.d.ts +3 -2
  239. package/dist/types/ui/MediaSingle/link.d.ts +1 -1
  240. package/dist/types/ui/MediaSingle/styled.d.ts +2 -1
  241. package/dist/types/ui/Mention/index.d.ts +2 -2
  242. package/dist/types/ui/MultiBodiedExtension/index.d.ts +1 -1
  243. package/dist/types/ui/PanelTextInput/styles.d.ts +1 -1
  244. package/dist/types/ui/Pulse/Pulse.d.ts +2 -1
  245. package/dist/types/ui/ResizerLegacy/styled.d.ts +2 -2
  246. package/dist/types/ui/ResizerLegacy/types.d.ts +3 -3
  247. package/dist/types/ui/TableSelector/index.d.ts +1 -1
  248. package/dist/types/ui/WidthProvider/index.d.ts +1 -1
  249. package/dist/types/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
  250. package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -1
  251. package/dist/types/ui/unsupported-content-helper.d.ts +2 -2
  252. package/dist/types/ui-color/ColorPalette/Color/index.d.ts +2 -1
  253. package/dist/types/ui-color/ColorPalette/Color/styles.d.ts +1 -1
  254. package/dist/types/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +1 -1
  255. package/dist/types/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +1 -1
  256. package/dist/types/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
  257. package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +2 -2
  258. package/dist/types/ui-color/ColorPalette/styles.d.ts +1 -1
  259. package/dist/types/ui-menu/ToolbarButton/index.d.ts +2 -2
  260. package/dist/types/ui-menu/ToolbarButton/styles.d.ts +1 -1
  261. package/dist/types/ui-react/ReactEditorViewContext.d.ts +1 -1
  262. package/dist/types/user-intent/UserIntentPopupWrapper.d.ts +1 -1
  263. package/dist/types/user-preferences/hooks.d.ts +1 -1
  264. package/dist/types/user-preferences/persistence-api.d.ts +1 -1
  265. package/dist/types/user-preferences/user-preferences-provider.d.ts +2 -2
  266. package/dist/types/user-preferences/utils.d.ts +1 -1
  267. package/dist/types/utils/browser.d.ts +1 -1
  268. package/dist/types/utils/commands.d.ts +4 -3
  269. package/dist/types/utils/compareNodes.d.ts +2 -2
  270. package/dist/types/utils/create-wrap-selection-transaction.d.ts +1 -1
  271. package/dist/types/utils/get-performance-options.d.ts +1 -1
  272. package/dist/types/utils/macro.d.ts +1 -1
  273. package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +1 -1
  274. package/dist/types/utils/plugin-state-factory.d.ts +2 -2
  275. package/dist/types/utils/processRawValue.d.ts +2 -1
  276. package/dist/types/utils/unsupportedContent/types.d.ts +1 -1
  277. package/dist/types-ts4.5/analytics/analytics-queue.d.ts +1 -1
  278. package/dist/types-ts4.5/analytics/types/ai-command-palette-events.d.ts +2 -2
  279. package/dist/types-ts4.5/analytics/types/ai-definitions-events.d.ts +2 -2
  280. package/dist/types-ts4.5/analytics/types/ai-events.d.ts +1 -1
  281. package/dist/types-ts4.5/analytics/types/ai-inline-suggestion-events.d.ts +3 -3
  282. package/dist/types-ts4.5/analytics/types/ai-streaming.d.ts +1 -1
  283. package/dist/types-ts4.5/analytics/types/alignment-events.d.ts +2 -2
  284. package/dist/types-ts4.5/analytics/types/avatar.d.ts +2 -2
  285. package/dist/types-ts4.5/analytics/types/color-events.d.ts +2 -2
  286. package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +2 -2
  287. package/dist/types-ts4.5/analytics/types/datasource-clicked-events.d.ts +1 -1
  288. package/dist/types-ts4.5/analytics/types/date-events.d.ts +2 -2
  289. package/dist/types-ts4.5/analytics/types/dispatch-analytics-event.d.ts +1 -1
  290. package/dist/types-ts4.5/analytics/types/link-events.d.ts +2 -2
  291. package/dist/types-ts4.5/analytics/types/mention-events.d.ts +3 -3
  292. package/dist/types-ts4.5/analytics/types/ncs-session-step-events.d.ts +1 -1
  293. package/dist/types-ts4.5/analytics/types/selection-toolbar-events.d.ts +2 -2
  294. package/dist/types-ts4.5/analytics/types/upload-media-events.d.ts +1 -1
  295. package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +1 -1
  296. package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +1 -1
  297. package/dist/types-ts4.5/card/link-toolbar-dropdown-options.d.ts +1 -1
  298. package/dist/types-ts4.5/card/types.d.ts +2 -2
  299. package/dist/types-ts4.5/code-block/index.d.ts +2 -2
  300. package/dist/types-ts4.5/collab/index.d.ts +2 -2
  301. package/dist/types-ts4.5/copy-button/index.d.ts +1 -1
  302. package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +2 -1
  303. package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +1 -1
  304. package/dist/types-ts4.5/element-browser/hooks/use-focus.d.ts +1 -1
  305. package/dist/types-ts4.5/extensibility/Extension/Extension/styles.d.ts +1 -1
  306. package/dist/types-ts4.5/extensibility/Extension/InlineExtension/styles.d.ts +1 -1
  307. package/dist/types-ts4.5/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +1 -1
  308. package/dist/types-ts4.5/extensibility/Extension/Lozenge/LozengeComponent.d.ts +1 -1
  309. package/dist/types-ts4.5/extensibility/Extension/Lozenge/index.d.ts +1 -1
  310. package/dist/types-ts4.5/extensibility/Extension/styles.d.ts +1 -1
  311. package/dist/types-ts4.5/extensibility/Extension.d.ts +1 -1
  312. package/dist/types-ts4.5/extensibility/MultiBodiedExtension/styles.d.ts +1 -1
  313. package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +1 -1
  314. package/dist/types-ts4.5/extensions/extension-fields-helpers.d.ts +2 -2
  315. package/dist/types-ts4.5/extensions/types/extension-manifest-common.d.ts +1 -1
  316. package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +2 -2
  317. package/dist/types-ts4.5/guideline/snapping.d.ts +1 -1
  318. package/dist/types-ts4.5/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -7
  319. package/dist/types-ts4.5/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -1
  320. package/dist/types-ts4.5/link/ConfigureLinkOverlay/handleNavigation.d.ts +3 -3
  321. package/dist/types-ts4.5/link/ConfigureLinkOverlay/index.d.ts +4 -8
  322. package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +1 -1
  323. package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +1 -1
  324. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +2 -1
  325. package/dist/types-ts4.5/link/LinkSearch/LinkSearchList.d.ts +3 -2
  326. package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +3 -2
  327. package/dist/types-ts4.5/link/LinkSearch/ToolbarComponents.d.ts +1 -1
  328. package/dist/types-ts4.5/link/LinkSearch/index.d.ts +2 -2
  329. package/dist/types-ts4.5/link/LinkSearch/transformTimeStamp.d.ts +1 -1
  330. package/dist/types-ts4.5/link/LinkSearch/types.d.ts +3 -3
  331. package/dist/types-ts4.5/link/LinkSearch/withActivityProvider.d.ts +2 -2
  332. package/dist/types-ts4.5/link/types.d.ts +3 -3
  333. package/dist/types-ts4.5/link/utils.d.ts +1 -1
  334. package/dist/types-ts4.5/mark/text-formatting.d.ts +2 -1
  335. package/dist/types-ts4.5/media-inline/styles.d.ts +1 -1
  336. package/dist/types-ts4.5/media-inline/views/wrapper.d.ts +1 -1
  337. package/dist/types-ts4.5/media-single/CommentBadge.d.ts +1 -5
  338. package/dist/types-ts4.5/media-single/ExternalImageBadge.d.ts +1 -1
  339. package/dist/types-ts4.5/media-single/MediaBadges.d.ts +2 -1
  340. package/dist/types-ts4.5/nesting/utilities.d.ts +1 -1
  341. package/dist/types-ts4.5/performance-ssr-measures/SSRRenderMeasure.d.ts +2 -1
  342. package/dist/types-ts4.5/portal/common.d.ts +1 -1
  343. package/dist/types-ts4.5/portal/usePortalProvider.d.ts +1 -1
  344. package/dist/types-ts4.5/preset/core-plugin/requestDocument.d.ts +1 -1
  345. package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +1 -1
  346. package/dist/types-ts4.5/provider-factory/context.d.ts +1 -1
  347. package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +1 -1
  348. package/dist/types-ts4.5/provider-factory/provider-factory.d.ts +1 -1
  349. package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +3 -3
  350. package/dist/types-ts4.5/resizer/useBreakoutGuidelines.d.ts +1 -1
  351. package/dist/types-ts4.5/safe-plugin/index.d.ts +1 -1
  352. package/dist/types-ts4.5/selection/context-helpers.d.ts +2 -2
  353. package/dist/types-ts4.5/selection/gap-cursor/styles.d.ts +1 -1
  354. package/dist/types-ts4.5/selection-based-node-view/SelectionBasedNodeView.d.ts +6 -5
  355. package/dist/types-ts4.5/styles/shared/blockquote.d.ts +1 -1
  356. package/dist/types-ts4.5/styles/shared/expand.d.ts +1 -1
  357. package/dist/types-ts4.5/styles/shared/headings.d.ts +2 -2
  358. package/dist/types-ts4.5/styles/shared/media-single.d.ts +1 -1
  359. package/dist/types-ts4.5/styles/shared/native-anchor.d.ts +2 -2
  360. package/dist/types-ts4.5/styles/shared/plugins.d.ts +1 -1
  361. package/dist/types-ts4.5/styles/shared/table.d.ts +1 -1
  362. package/dist/types-ts4.5/styles/shared/tableCell.d.ts +1 -1
  363. package/dist/types-ts4.5/sync-block/SyncBlockActionsContext.d.ts +2 -1
  364. package/dist/types-ts4.5/transforms/code-block.d.ts +1 -1
  365. package/dist/types-ts4.5/transforms/expand.d.ts +1 -1
  366. package/dist/types-ts4.5/transforms/layout.d.ts +2 -1
  367. package/dist/types-ts4.5/types/copy-button.d.ts +1 -1
  368. package/dist/types-ts4.5/types/plugin-factory.d.ts +1 -1
  369. package/dist/types-ts4.5/types/resizable-media-single.d.ts +1 -1
  370. package/dist/types-ts4.5/types/type-ahead.d.ts +1 -1
  371. package/dist/types-ts4.5/ugc-tokens/get-editor-ugc-token.d.ts +1 -1
  372. package/dist/types-ts4.5/ui/Emoji/index.d.ts +1 -1
  373. package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +1 -1
  374. package/dist/types-ts4.5/ui/Expand/index.d.ts +2 -1
  375. package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +1 -1
  376. package/dist/types-ts4.5/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +3 -2
  377. package/dist/types-ts4.5/ui/Layer/index.d.ts +3 -2
  378. package/dist/types-ts4.5/ui/MediaSingle/link.d.ts +1 -1
  379. package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +2 -1
  380. package/dist/types-ts4.5/ui/Mention/index.d.ts +2 -2
  381. package/dist/types-ts4.5/ui/MultiBodiedExtension/index.d.ts +1 -1
  382. package/dist/types-ts4.5/ui/PanelTextInput/styles.d.ts +1 -1
  383. package/dist/types-ts4.5/ui/Pulse/Pulse.d.ts +2 -1
  384. package/dist/types-ts4.5/ui/ResizerLegacy/styled.d.ts +2 -2
  385. package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +3 -3
  386. package/dist/types-ts4.5/ui/TableSelector/index.d.ts +1 -1
  387. package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +1 -1
  388. package/dist/types-ts4.5/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
  389. package/dist/types-ts4.5/ui/clear-next-sibling-margin-top.d.ts +1 -1
  390. package/dist/types-ts4.5/ui/unsupported-content-helper.d.ts +2 -2
  391. package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +2 -1
  392. package/dist/types-ts4.5/ui-color/ColorPalette/Color/styles.d.ts +1 -1
  393. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +1 -1
  394. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +1 -1
  395. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
  396. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +2 -2
  397. package/dist/types-ts4.5/ui-color/ColorPalette/styles.d.ts +1 -1
  398. package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +2 -2
  399. package/dist/types-ts4.5/ui-menu/ToolbarButton/styles.d.ts +1 -1
  400. package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +1 -1
  401. package/dist/types-ts4.5/user-intent/UserIntentPopupWrapper.d.ts +1 -1
  402. package/dist/types-ts4.5/user-preferences/hooks.d.ts +1 -1
  403. package/dist/types-ts4.5/user-preferences/persistence-api.d.ts +1 -1
  404. package/dist/types-ts4.5/user-preferences/user-preferences-provider.d.ts +2 -2
  405. package/dist/types-ts4.5/user-preferences/utils.d.ts +1 -1
  406. package/dist/types-ts4.5/utils/browser.d.ts +1 -1
  407. package/dist/types-ts4.5/utils/commands.d.ts +4 -3
  408. package/dist/types-ts4.5/utils/compareNodes.d.ts +2 -2
  409. package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +1 -1
  410. package/dist/types-ts4.5/utils/get-performance-options.d.ts +1 -1
  411. package/dist/types-ts4.5/utils/macro.d.ts +1 -1
  412. package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +1 -1
  413. package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +2 -2
  414. package/dist/types-ts4.5/utils/processRawValue.d.ts +2 -1
  415. package/dist/types-ts4.5/utils/unsupportedContent/types.d.ts +1 -1
  416. package/package.json +1 -1
@@ -2,8 +2,9 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import React, { type KeyboardEvent } from 'react';
6
- import { type SerializedStyles } from '@emotion/react';
5
+ import React from 'react';
6
+ import type { KeyboardEvent } from 'react';
7
+ import type { SerializedStyles } from '@emotion/react';
7
8
  import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
8
9
  import type { LinkSearchListItemData } from './types';
9
10
  export declare const container: SerializedStyles;
@@ -1,4 +1,4 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const inputWrapper: SerializedStyles;
3
3
  export declare const container: SerializedStyles;
4
4
  export declare const containerWithProvider: SerializedStyles;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { Providers } from '../../provider-factory';
3
3
  import type { Diff } from '../../utils';
4
- import { type RecentSearchProps } from './types';
5
- import { type ExpandedActivityProviderProps, type WithActivityProviderProps } from './withActivityProvider';
4
+ import type { RecentSearchProps } from './types';
5
+ import type { ExpandedActivityProviderProps, WithActivityProviderProps } from './withActivityProvider';
6
6
  declare const _default_1: {
7
7
  new (props: Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & ExpandedActivityProviderProps): {
8
8
  componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
@@ -1,4 +1,4 @@
1
- import { type IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl-next';
2
2
  export declare const transformTimeStamp: (intl: IntlShape, lastViewedDate?: Date, lastUpdatedDate?: Date) => {
3
3
  pageAction: string;
4
4
  dateString: string;
@@ -1,6 +1,6 @@
1
- import { type KeyboardEvent } from 'react';
2
- import { type ActivityItem, type ActivityProvider } from '@atlaskit/activity-provider';
3
- import { type INPUT_METHOD } from '../../analytics';
1
+ import type { KeyboardEvent } from 'react';
2
+ import type { ActivityItem, ActivityProvider } from '@atlaskit/activity-provider';
3
+ import type { INPUT_METHOD } from '../../analytics';
4
4
  export type RecentSearchInputTypes = INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL;
5
5
  export interface ChildProps {
6
6
  activityProvider: ActivityProvider | null;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type ActivityProvider } from '@atlaskit/activity-provider';
3
- import { type ProviderFactory } from '../../provider-factory';
2
+ import type { ActivityProvider } from '@atlaskit/activity-provider';
3
+ import type { ProviderFactory } from '../../provider-factory';
4
4
  import type { Providers } from '../../provider-factory';
5
5
  import type { Diff } from '../../utils';
6
6
  export interface ExpandedActivityProviderProps {
@@ -1,6 +1,6 @@
1
- import { type Node } from '@atlaskit/editor-prosemirror/model';
2
- import { type DecorationSet } from '@atlaskit/editor-prosemirror/view';
3
- import { type INPUT_METHOD } from '../analytics';
1
+ import type { Node } from '@atlaskit/editor-prosemirror/model';
2
+ import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
3
+ import type { INPUT_METHOD } from '../analytics';
4
4
  import type { EditorAppearance } from '../types';
5
5
  export declare enum LinkAction {
6
6
  SHOW_INSERT_TOOLBAR = "SHOW_INSERT_TOOLBAR",
@@ -1,4 +1,4 @@
1
- import { type Node } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
3
3
  import type { Predicate } from '../types';
4
4
  export declare function isTextAtPos(pos: number): (props: {
@@ -1,4 +1,5 @@
1
- import { Mark, type MarkType, type Node } from '@atlaskit/editor-prosemirror/model';
1
+ import { Mark } from '@atlaskit/editor-prosemirror/model';
2
+ import type { MarkType, Node } from '@atlaskit/editor-prosemirror/model';
2
3
  import type { EditorState, SelectionRange } from '@atlaskit/editor-prosemirror/state';
3
4
  /**
4
5
  * Determine if a mark of a specific type exists anywhere in the selection.
@@ -1,4 +1,4 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const INLINE_IMAGE_WRAPPER_CLASS_NAME = "media-inline-image-wrapper";
3
3
  export declare const INLINE_IMAGE_ASPECT_RATIO_CSS_VAR_KEY = "--editor-media-inline-image-aspect-ratio";
4
4
  export declare const INLINE_IMAGE_BORDER_SIZE_CSS_VAR_KEY = "--editor-media-inline-image-border-size";
@@ -1,2 +1,2 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const wrapperStyle: SerializedStyles;
@@ -1,8 +1,4 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
1
+ import type { ForwardRefExoticComponent, RefAttributes } from 'react';
6
2
  import type { IntlShape } from 'react-intl-next';
7
3
  export declare const getBadgeSize: (width?: number, height?: number) => "medium" | "small";
8
4
  export type CommentBadgeProps = {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type MediaType } from '@atlaskit/adf-schema';
2
+ import type { MediaType } from '@atlaskit/adf-schema';
3
3
  type ExternalImageBadgeProps = {
4
4
  type: MediaType;
5
5
  url: string | undefined;
@@ -1,4 +1,5 @@
1
- import React, { type ReactNode } from 'react';
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
2
3
  type ExternalImageBadgeProps = {
3
4
  children: ReactNode | ((props: {
4
5
  visible: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { NodeType, ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type EditorState } from '@atlaskit/editor-prosemirror/state';
2
+ import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
3
  export declare const getParentOfTypeCount: (nodeType: NodeType) => ($pos: ResolvedPos) => number;
4
4
  export declare const getPositionAfterTopParentNodeOfType: (nodeType: NodeType) => ($pos: ResolvedPos) => number | undefined;
5
5
  export declare const isSelectionTableNestedInTable: (state: EditorState) => boolean;
@@ -1,4 +1,5 @@
1
- import React, { type ReactNode } from 'react';
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
2
3
  /**
3
4
  * Props for SSRRenderMeasure component
4
5
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type PortalManager } from './PortalManager';
2
+ import type { PortalManager } from './PortalManager';
3
3
  type RenderFn = (children: () => React.ReactChild | JSX.Element | null, container: HTMLElement, key: string, onBeforeReactDomRender?: () => void, immediate?: boolean) => void;
4
4
  type RemoveFn = (key: string) => void;
5
5
  type DestoryFn = () => void;
@@ -1,4 +1,4 @@
1
- import { type UsePortalProviderReturnType } from './common';
1
+ import type { UsePortalProviderReturnType } from './common';
2
2
  /**
3
3
  * Initializes PortalManager and creates PortalRendererComponent. Offers an API (portalProviderAPI) for managing portals.
4
4
  * @returns {[PortalProviderAPI, PortalRendererComponent]} An array containing two elements:
@@ -1,7 +1,7 @@
1
1
  import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
2
2
  import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
- import { type FireAnalyticsCallback } from '../../analytics';
4
+ import type { FireAnalyticsCallback } from '../../analytics';
5
5
  import type { DefaultTransformerResultCallback, InferTransformerResultCallback, Transformer } from '../../types';
6
6
  export declare function toJSON(node: PMNode): JSONDocNode;
7
7
  /**
@@ -1,6 +1,6 @@
1
1
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
2
2
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- import { type FireAnalyticsCallback } from '../analytics';
3
+ import type { FireAnalyticsCallback } from '../analytics';
4
4
  import type { EditorAppearance } from '../types';
5
5
  import type { BasePluginDependenciesAPI, CorePlugin, NextEditorPlugin, PluginDependenciesAPI } from '../types/next-editor-plugin';
6
6
  type NextEditorPluginInitializedType = ReturnType<NextEditorPlugin<any>>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import ProviderFactory from './provider-factory';
3
- import { type ProviderType } from './types';
3
+ import type { ProviderType } from './types';
4
4
  export declare const ProviderFactoryProvider: React.Provider<ProviderFactory>;
5
5
  export declare const useProviderFactory: () => ProviderFactory;
6
6
  export declare const useProvider: <T extends string>(name: T) => ProviderType<typeof name> | undefined;
@@ -1,4 +1,4 @@
1
- import { type ProfileCardAction, type ProfileClient } from '@atlaskit/profilecard';
1
+ import type { ProfileCardAction, ProfileClient } from '@atlaskit/profilecard';
2
2
  export interface ProfilecardProvider {
3
3
  cloudId: string;
4
4
  getActions: (id: string, text: string, accessLevel?: string) => ProfileCardAction[];
@@ -1,4 +1,4 @@
1
- import { type ProviderHandler, type ProviderName, type Providers, type ProviderType } from './types';
1
+ import type { ProviderHandler, ProviderName, Providers, ProviderType } from './types';
2
2
  export default class ProviderFactory {
3
3
  private providers;
4
4
  private subscribers;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { type EditorView } from '@atlaskit/editor-prosemirror/view';
2
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
3
  import type { EditorAnalyticsAPI } from '../analytics';
4
- import { type GuidelineConfig } from '../guideline';
5
- import { type EditorContainerWidth, type getPosHandlerNode } from '../types';
4
+ import type { GuidelineConfig } from '../guideline';
5
+ import type { EditorContainerWidth, getPosHandlerNode } from '../types';
6
6
  type BreakoutSupportedNodes = 'layoutSection' | 'expand' | 'codeBlock';
7
7
  export declare const ignoreResizerMutations: (mutation: MutationRecord | {
8
8
  target: Node;
@@ -1,4 +1,4 @@
1
- import { type GuidelineConfig } from '../guideline';
1
+ import type { GuidelineConfig } from '../guideline';
2
2
  import type { BreakoutMode, EditorContainerWidth } from '../types';
3
3
  import type { Snap } from './types';
4
4
  export declare const SNAP_GAP = 8;
@@ -1,5 +1,5 @@
1
1
  import type { Mark as PMMark } from '@atlaskit/editor-prosemirror/model';
2
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  import { Plugin } from '@atlaskit/editor-prosemirror/state';
4
4
  import type { SafePluginSpec } from '@atlaskit/editor-prosemirror/state';
5
5
  /**
@@ -1,7 +1,7 @@
1
- import { type JSONNode } from '@atlaskit/editor-json-transformer';
1
+ import type { JSONNode } from '@atlaskit/editor-json-transformer';
2
2
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
4
- import { type Selection } from '@atlaskit/editor-prosemirror/state';
4
+ import type { Selection } from '@atlaskit/editor-prosemirror/state';
5
5
  export declare const selectionCoversAllListItems: ($from: ResolvedPos, $to: ResolvedPos) => boolean;
6
6
  /**
7
7
  * Get the slice of the document corresponding to the selection.
@@ -1,3 +1,3 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const hideCaretModifier = "ProseMirror-hide-gapcursor";
3
3
  export declare const gapCursorStyles: SerializedStyles;
@@ -1,9 +1,10 @@
1
1
  import type React from 'react';
2
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { type EditorView } from '@atlaskit/editor-prosemirror/view';
4
- import { type EventDispatcher } from '../event-dispatcher';
5
- import { type PortalProviderAPI } from '../portal';
6
- import ReactNodeView, { type getPosHandler, type ReactComponentProps, type shouldUpdate } from '../react-node-view';
2
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
+ import type { EventDispatcher } from '../event-dispatcher';
5
+ import type { PortalProviderAPI } from '../portal';
6
+ import ReactNodeView from '../react-node-view';
7
+ import type { getPosHandler, ReactComponentProps, shouldUpdate } from '../react-node-view';
7
8
  /**
8
9
  * A ReactNodeView that handles React components sensitive
9
10
  * to selection changes.
@@ -1,2 +1,2 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const blockquoteSharedStyles: SerializedStyles;
@@ -1,4 +1,4 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const expandIconWrapperStyle: SerializedStyles;
3
3
  /**
4
4
  * @private
@@ -1,3 +1,3 @@
1
- import { type SerializedStyles } from '@emotion/react';
2
- import { type ThemeState } from '@atlaskit/tokens';
1
+ import type { SerializedStyles } from '@emotion/react';
2
+ import type { ThemeState } from '@atlaskit/tokens';
3
3
  export declare const headingsSharedStyles: (_typographyTheme?: ThemeState["typography"]) => SerializedStyles;
@@ -1,4 +1,4 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  declare const richMediaClassName = "rich-media-item";
3
3
  declare const mediaSingleSharedStyle: SerializedStyles;
4
4
  declare const mediaSingleSharedStyleNew: SerializedStyles;
@@ -1,5 +1,5 @@
1
- import { type SerializedStyles } from '@emotion/react';
2
- import { type MemoizedFn } from 'memoize-one';
1
+ import type { SerializedStyles } from '@emotion/react';
2
+ import type { MemoizedFn } from 'memoize-one';
3
3
  export declare const ANCHOR_VARIABLE_NAME = "--ed-pm-node-anchor";
4
4
  export declare const isCSSAttrAnchorSupported: MemoizedFn<() => boolean>;
5
5
  export declare const isCSSAnchorSupported: MemoizedFn<() => boolean | undefined>;
@@ -1,4 +1,4 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  /**
3
3
  * @private
4
4
  * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
@@ -1,4 +1,4 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  import type { TableLayout } from '@atlaskit/adf-schema';
3
3
  export declare const tableMarginTop = 24;
4
4
  export declare const tableMarginBottom = 16;
@@ -1,2 +1,2 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const tableCellBackgroundStyleOverride: () => SerializedStyles;
@@ -1,4 +1,5 @@
1
- import React, { type ReactNode } from 'react';
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
2
3
  export interface SyncBlockActionsContextValue {
3
4
  deleteSyncBlock?: () => void;
4
5
  fetchSourceInfo: (sourceAri: string, hasAccess: boolean) => Promise<{
@@ -1,7 +1,7 @@
1
1
  import { Slice } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { Schema } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { EditorState, Selection } from '@atlaskit/editor-prosemirror/state';
4
- import { type ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
4
+ import type { ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
5
5
  export declare function transformSliceToJoinAdjacentCodeBlocks(slice: Slice): Slice;
6
6
  export declare const transformSingleLineCodeBlockToCodeMark: (slice: Slice, schema: Schema) => Slice;
7
7
  export declare const findCodeBlock: (state: EditorState, selection?: Selection | null) => ContentNodeWithPos | undefined;
@@ -1,7 +1,7 @@
1
1
  import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  import { Slice } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { EditorState, Selection } from '@atlaskit/editor-prosemirror/state';
4
- import { type ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
4
+ import type { ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
5
5
  export declare const findExpand: (state: EditorState, selection?: Selection | null) => ContentNodeWithPos | undefined;
6
6
  export declare const transformSliceToRemoveOpenExpand: (slice: Slice, schema: Schema) => Slice;
7
7
  export declare const transformSliceToRemoveOpenNestedExpand: (slice: Slice, schema: Schema) => Slice;
@@ -1,4 +1,5 @@
1
- import { Fragment, type Node, type Schema, Slice } from '@atlaskit/editor-prosemirror/model';
1
+ import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
2
3
  export declare function unwrapContentFromLayout(maybeLayoutSection: Node): Node | Node[];
3
4
  export declare function removeLayoutFromFirstChild(node: Node, i: number): Node | Node[];
4
5
  export declare function removeLayoutFromLastChild(node: Node, i: number, fragment: Fragment): Node | Node[];
@@ -1,7 +1,7 @@
1
1
  import type { IntlShape } from 'react-intl-next';
2
2
  import type { MarkType, NodeType } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
4
- import { type Command } from './command';
4
+ import type { Command } from './command';
5
5
  export type MarkOptions = {
6
6
  formatMessage: IntlShape['formatMessage'];
7
7
  markType: MarkType;
@@ -2,7 +2,7 @@ import type { IntlShape } from 'react-intl-next';
2
2
  import type { Schema } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { DispatchAnalyticsEvent } from '../analytics/types/dispatch-analytics-event';
4
4
  import type { Dispatch, EventDispatcher } from '../event-dispatcher';
5
- import { type PortalProviderAPI } from '../portal';
5
+ import type { PortalProviderAPI } from '../portal';
6
6
  import type { ProviderFactory } from '../provider-factory';
7
7
  import type { SafePlugin } from '../safe-plugin';
8
8
  import type { ErrorReporter } from '../utils';
@@ -1,4 +1,4 @@
1
- import { type ResolvedPos } from '@atlaskit/editor-prosemirror/model';
1
+ import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
2
2
  export interface SnapPointsProps {
3
3
  $pos?: ResolvedPos | null;
4
4
  akEditorWideLayoutWidth: number;
@@ -1,6 +1,6 @@
1
1
  import type { ReactElement, ReactNode } from 'react';
2
2
  import type { IntlShape } from 'react-intl-next';
3
- import { type Fragment, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Fragment, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { TypeAheadPayload } from '../analytics/types/type-ahead';
6
6
  import type { SelectItemMode, TypeAheadAvailableNodes } from '../type-ahead';
@@ -1,3 +1,3 @@
1
- import { type EditorUGCTokens } from './editor-ugc-token-names';
1
+ import type { EditorUGCTokens } from './editor-ugc-token-names';
2
2
  declare function editorUGCToken<T extends keyof EditorUGCTokens>(path: T): EditorUGCTokens[T];
3
3
  export default editorUGCToken;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { EmojiProvider, EmojiResourceConfig } from '@atlaskit/emoji/resource';
3
3
  import type { EmojiId } from '@atlaskit/emoji/types';
4
- import { type ProviderFactory } from '../../provider-factory';
4
+ import type { ProviderFactory } from '../../provider-factory';
5
5
  export interface EmojiProps extends EmojiId {
6
6
  allowTextFallback?: boolean;
7
7
  emojiProvider?: EmojiProvider;
@@ -1,4 +1,4 @@
1
- import { type SyntheticEvent } from 'react';
1
+ import type { SyntheticEvent } from 'react';
2
2
  import type { CardEvent, InlineCardEvent } from '@atlaskit/media-card';
3
3
  import type { Identifier } from '@atlaskit/media-client';
4
4
  export interface CardSurroundings {
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import { jsx, type SerializedStyles } from '@emotion/react';
2
+ import { jsx } from '@emotion/react';
3
+ import type { SerializedStyles } from '@emotion/react';
3
4
  export declare const messages: {
4
5
  loading: {
5
6
  id: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type TooltipProps } from '@atlaskit/tooltip';
2
+ import type { TooltipProps } from '@atlaskit/tooltip';
3
3
  import type { ButtonAppearance } from '../../types';
4
4
  import type { FloatingToolbarButtonSpotlightConfig } from '../../types/floating-toolbar';
5
5
  export interface Props {
@@ -1,6 +1,7 @@
1
- import React, { type ComponentProps } from 'react';
1
+ import React from 'react';
2
+ import type { ComponentProps } from 'react';
2
3
  import { SpotlightCard } from '@atlaskit/onboarding';
3
- import { type Placement } from '@atlaskit/popper';
4
+ import type { Placement } from '@atlaskit/popper';
4
5
  type PropsFromSpotlightCard = ComponentProps<typeof SpotlightCard>;
5
6
  export type ButtonSpotlightCardProps = PropsFromSpotlightCard & {
6
7
  placement?: Placement;
@@ -1,5 +1,6 @@
1
- import React, { Component, type ReactNode } from 'react';
2
- import { type Data } from 'popper.js';
1
+ import React, { Component } from 'react';
2
+ import type { ReactNode } from 'react';
3
+ import type { Data } from 'popper.js';
3
4
  export type Props = {
4
5
  children?: React.ReactNode;
5
6
  content: ReactNode | null;
@@ -1,2 +1,2 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const mediaLinkStyle: SerializedStyles;
@@ -4,7 +4,8 @@
4
4
  */
5
5
  import type { RefObject } from 'react';
6
6
  import React from 'react';
7
- import { jsx, type SerializedStyles } from '@emotion/react';
7
+ import { jsx } from '@emotion/react';
8
+ import type { SerializedStyles } from '@emotion/react';
8
9
  import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
9
10
  /**
10
11
  * Calculates the image width for non-resized images.
@@ -1,7 +1,7 @@
1
1
  import React, { PureComponent } from 'react';
2
2
  import { ProviderFactory } from '../../provider-factory';
3
- import { type ProfilecardProvider } from '../../provider-factory/profile-card-provider';
4
- import { type MentionEventHandlers } from '../EventHandlers';
3
+ import type { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
4
+ import type { MentionEventHandlers } from '../EventHandlers';
5
5
  export interface MentionProps {
6
6
  accessLevel?: string;
7
7
  eventHandlers?: MentionEventHandlers;
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { type SerializedStyles } from '@emotion/react';
5
+ import type { SerializedStyles } from '@emotion/react';
6
6
  export declare const removeMarginsAndBorder: SerializedStyles;
7
7
  export declare const sharedMultiBodiedExtensionStyles: {
8
8
  mbeExtensionContainer: SerializedStyles;
@@ -1,3 +1,3 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const panelTextInput: SerializedStyles;
3
3
  export declare const panelTextInputWithCustomWidth: (width: number) => SerializedStyles;
@@ -1,4 +1,5 @@
1
- import React, { type ReactNode } from 'react';
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
2
3
  interface Props {
3
4
  children: ReactNode;
4
5
  /** If true, the component will have pulse onboarding effect around it. */
@@ -1,3 +1,3 @@
1
- import { type SerializedStyles } from '@emotion/react';
2
- import { type MediaSingleWrapperProps as MediaSingleDimensionHelperProps } from '../MediaSingle/styled';
1
+ import type { SerializedStyles } from '@emotion/react';
2
+ import type { MediaSingleWrapperProps as MediaSingleDimensionHelperProps } from '../MediaSingle/styled';
3
3
  export declare const wrapperStyle: (props: MediaSingleDimensionHelperProps) => SerializedStyles;
@@ -1,6 +1,6 @@
1
- import { type RichMediaLayout } from '@atlaskit/adf-schema';
2
- import { type EditorView } from '@atlaskit/editor-prosemirror/view';
3
- import { type MediaClientConfig } from '@atlaskit/media-core';
1
+ import type { RichMediaLayout } from '@atlaskit/adf-schema';
2
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
+ import type { MediaClientConfig } from '@atlaskit/media-core';
4
4
  import type { DispatchAnalyticsEvent } from '../../analytics';
5
5
  import type { getPosHandler } from '../../react-node-view';
6
6
  import type { GridType } from '../../types';
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { type SyntheticEvent } from 'react';
5
+ import type { SyntheticEvent } from 'react';
6
6
  import { jsx } from '@emotion/react';
7
7
  export interface OnTableSizeSelection {
8
8
  (rowsCount: number, colsCount: number, event?: SyntheticEvent): void;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import { jsx } from '@emotion/react';
7
- import { type MemoizedFn } from 'memoize-one';
7
+ import type { MemoizedFn } from 'memoize-one';
8
8
  export type Breakpoints = 'S' | 'M' | 'L';
9
9
  export type WidthConsumerContext = {
10
10
  breakpoint: Breakpoints;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  export type Props = {
4
4
  render: (createAnalyticsEvent?: CreateUIAnalyticsEvent) => React.ReactNode;
5
5
  };
@@ -1,3 +1,3 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  export declare const clearNextSiblingMarginTopStyle: SerializedStyles;
3
3
  export declare const clearNextSiblingBlockMarkMarginTopStyle: SerializedStyles;
@@ -1,3 +1,3 @@
1
- import { type IntlShape } from 'react-intl-next';
2
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
1
+ import type { IntlShape } from 'react-intl-next';
2
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  export declare function getUnsupportedContent(message: any, prefix: string, node?: PMNode, intl?: IntlShape): any;
@@ -2,7 +2,8 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import React, { type ReactElement } from 'react';
5
+ import React from 'react';
6
+ import type { ReactElement } from 'react';
6
7
  import { jsx } from '@emotion/react';
7
8
  export interface Props {
8
9
  autoFocus?: boolean;
@@ -1,4 +1,4 @@
1
- import { type SerializedStyles } from '@emotion/react';
1
+ import type { SerializedStyles } from '@emotion/react';
2
2
  /** this is not new usage - old code extracted from editor-core */
3
3
  export declare const buttonStyle: SerializedStyles;
4
4
  /** this is not new usage - old code extracted from editor-core */