@atlaskit/editor-core 183.0.0 → 183.0.8

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 (385) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/plugins/floating-toolbar/ui/Toolbar.js +7 -2
  3. package/dist/cjs/plugins/placeholder-text/styles.js +1 -1
  4. package/dist/cjs/version-wrapper.js +1 -1
  5. package/dist/cjs/version.json +1 -1
  6. package/dist/es2019/plugins/floating-toolbar/ui/Toolbar.js +5 -1
  7. package/dist/es2019/plugins/placeholder-text/styles.js +5 -5
  8. package/dist/es2019/version-wrapper.js +1 -1
  9. package/dist/es2019/version.json +1 -1
  10. package/dist/esm/plugins/floating-toolbar/ui/Toolbar.js +7 -2
  11. package/dist/esm/plugins/placeholder-text/styles.js +2 -2
  12. package/dist/esm/version-wrapper.js +1 -1
  13. package/dist/esm/version.json +1 -1
  14. package/dist/types/analytics-api/api.d.ts +1 -1
  15. package/dist/types/analytics-api/attach-payload-into-transaction.d.ts +1 -1
  16. package/dist/types/commands/index.d.ts +3 -3
  17. package/dist/types/create-editor/ErrorBoundary.d.ts +3 -3
  18. package/dist/types/create-editor/ReactEditorViewInternal.d.ts +1 -1
  19. package/dist/types/create-editor/get-plugins.d.ts +4 -4
  20. package/dist/types/editor-next/hooks/useProviderFactory.d.ts +1 -1
  21. package/dist/types/editor-next/utils/editorPropTypes.d.ts +1 -1
  22. package/dist/types/editor-next/utils/getProvidersFromEditorProps.d.ts +3 -3
  23. package/dist/types/editor.d.ts +2 -2
  24. package/dist/types/i18n/cs.d.ts +6 -6
  25. package/dist/types/i18n/da.d.ts +6 -6
  26. package/dist/types/i18n/de.d.ts +6 -6
  27. package/dist/types/i18n/en.d.ts +6 -6
  28. package/dist/types/i18n/en_GB.d.ts +6 -6
  29. package/dist/types/i18n/en_ZZ.d.ts +6 -6
  30. package/dist/types/i18n/es.d.ts +6 -6
  31. package/dist/types/i18n/et.d.ts +6 -6
  32. package/dist/types/i18n/fi.d.ts +6 -6
  33. package/dist/types/i18n/fr.d.ts +6 -6
  34. package/dist/types/i18n/hu.d.ts +6 -6
  35. package/dist/types/i18n/is.d.ts +6 -6
  36. package/dist/types/i18n/it.d.ts +6 -6
  37. package/dist/types/i18n/ja.d.ts +6 -6
  38. package/dist/types/i18n/ko.d.ts +6 -6
  39. package/dist/types/i18n/languages.d.ts +6 -6
  40. package/dist/types/i18n/nb.d.ts +6 -6
  41. package/dist/types/i18n/nl.d.ts +6 -6
  42. package/dist/types/i18n/pl.d.ts +6 -6
  43. package/dist/types/i18n/pt_BR.d.ts +6 -6
  44. package/dist/types/i18n/pt_PT.d.ts +6 -6
  45. package/dist/types/i18n/ro.d.ts +6 -6
  46. package/dist/types/i18n/ru.d.ts +6 -6
  47. package/dist/types/i18n/sk.d.ts +6 -6
  48. package/dist/types/i18n/sv.d.ts +6 -6
  49. package/dist/types/i18n/th.d.ts +6 -6
  50. package/dist/types/i18n/tr.d.ts +6 -6
  51. package/dist/types/i18n/uk.d.ts +6 -6
  52. package/dist/types/i18n/vi.d.ts +6 -6
  53. package/dist/types/i18n/zh.d.ts +6 -6
  54. package/dist/types/i18n/zh_TW.d.ts +6 -6
  55. package/dist/types/insert-api/api.d.ts +1 -1
  56. package/dist/types/insert-api/insert-content-handlers.d.ts +1 -1
  57. package/dist/types/insert-api/insert-node-helpers.d.ts +4 -4
  58. package/dist/types/insert-api/types.d.ts +3 -3
  59. package/dist/types/labs/CollapsedEditor/index.d.ts +1 -1
  60. package/dist/types/labs/next/ContentComponents.d.ts +1 -1
  61. package/dist/types/labs/next/full-page.d.ts +1 -1
  62. package/dist/types/labs/next/internal/context/shared-config.d.ts +1 -1
  63. package/dist/types/labs/next/internal/editor-props-type.d.ts +2 -2
  64. package/dist/types/labs/next/internal/hooks/use-editor/create-editor.d.ts +1 -1
  65. package/dist/types/labs/next/presets/cxhtml.d.ts +1 -1
  66. package/dist/types/labs/next/presets/default.d.ts +1 -1
  67. package/dist/types/labs/next/presets/mobile.d.ts +2 -2
  68. package/dist/types/labs/next/presets/universal.d.ts +1 -1
  69. package/dist/types/nodeviews/SelectionBasedNodeView.d.ts +2 -2
  70. package/dist/types/nodeviews/getInlineNodeViewProducer.d.ts +4 -4
  71. package/dist/types/nodeviews/types.d.ts +6 -6
  72. package/dist/types/plugins/alignment/commands/index.d.ts +2 -2
  73. package/dist/types/plugins/alignment/pm-plugins/types.d.ts +2 -2
  74. package/dist/types/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +1 -1
  75. package/dist/types/plugins/analytics/utils.d.ts +1 -1
  76. package/dist/types/plugins/annotation/commands/index.d.ts +1 -1
  77. package/dist/types/plugins/annotation/pm-plugins/types.d.ts +3 -3
  78. package/dist/types/plugins/annotation/types.d.ts +6 -6
  79. package/dist/types/plugins/annotation/ui/AnnotationViewWrapper.d.ts +1 -1
  80. package/dist/types/plugins/annotation/update-provider.d.ts +2 -2
  81. package/dist/types/plugins/avatar-group/index.d.ts +1 -1
  82. package/dist/types/plugins/base/pm-plugins/context-identifier.d.ts +2 -2
  83. package/dist/types/plugins/base/pm-plugins/decoration.d.ts +1 -1
  84. package/dist/types/plugins/base/pm-plugins/frozen-editor.d.ts +1 -1
  85. package/dist/types/plugins/base/pm-plugins/react-nodeview.d.ts +1 -1
  86. package/dist/types/plugins/base/pm-plugins/scroll-gutter.d.ts +1 -1
  87. package/dist/types/plugins/before-primaryToolbar/index.d.ts +1 -1
  88. package/dist/types/plugins/block-type/commands/block-type.d.ts +1 -1
  89. package/dist/types/plugins/block-type/pm-plugins/main.d.ts +2 -2
  90. package/dist/types/plugins/block-type/types.d.ts +4 -4
  91. package/dist/types/plugins/block-type/ui/ToolbarBlockType/index.d.ts +1 -1
  92. package/dist/types/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +1 -1
  93. package/dist/types/plugins/block-type/utils.d.ts +1 -1
  94. package/dist/types/plugins/breakout/commands/set-breakout-mode.d.ts +1 -1
  95. package/dist/types/plugins/card/nodeviews/blockCard.d.ts +1 -1
  96. package/dist/types/plugins/card/nodeviews/embedCard.d.ts +2 -2
  97. package/dist/types/plugins/card/nodeviews/genericCard.d.ts +1 -1
  98. package/dist/types/plugins/card/nodeviews/inlineCard.d.ts +1 -1
  99. package/dist/types/plugins/card/pm-plugins/analytics/types.d.ts +1 -1
  100. package/dist/types/plugins/card/pm-plugins/doc.d.ts +4 -4
  101. package/dist/types/plugins/card/toolbar.d.ts +2 -1
  102. package/dist/types/plugins/card/types.d.ts +19 -19
  103. package/dist/types/plugins/card/ui/EditLinkToolbar.d.ts +1 -1
  104. package/dist/types/plugins/card/ui/EditorSmartCardEventsNext.d.ts +1 -1
  105. package/dist/types/plugins/card/ui/LinkToolbarAppearance.d.ts +1 -1
  106. package/dist/types/plugins/card/ui/ResizableEmbedCard.d.ts +3 -3
  107. package/dist/types/plugins/card/utils.d.ts +4 -4
  108. package/dist/types/plugins/code-bidi-warning/index.d.ts +1 -1
  109. package/dist/types/plugins/code-bidi-warning/pm-plugins/types.d.ts +1 -1
  110. package/dist/types/plugins/code-block/ide-ux/bracket-handling.d.ts +1 -1
  111. package/dist/types/plugins/code-block/ide-ux/quote-handling.d.ts +1 -1
  112. package/dist/types/plugins/code-block/language-list.d.ts +1 -1
  113. package/dist/types/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +1 -1
  114. package/dist/types/plugins/code-block/pm-plugins/main-state.d.ts +1 -1
  115. package/dist/types/plugins/code-block/utils.d.ts +1 -1
  116. package/dist/types/plugins/collab-edit/actions.d.ts +2 -2
  117. package/dist/types/plugins/collab-edit/analytics.d.ts +1 -1
  118. package/dist/types/plugins/collab-edit/events/handlers.d.ts +2 -2
  119. package/dist/types/plugins/collab-edit/events/initialize.d.ts +1 -1
  120. package/dist/types/plugins/collab-edit/events/send-transaction.d.ts +1 -1
  121. package/dist/types/plugins/collab-edit/types.d.ts +6 -6
  122. package/dist/types/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +1 -1
  123. package/dist/types/plugins/collab-edit/utils.d.ts +1 -1
  124. package/dist/types/plugins/context-panel/index.d.ts +1 -1
  125. package/dist/types/plugins/copy-button/commands.d.ts +1 -1
  126. package/dist/types/plugins/copy-button/pm-plugins/main.d.ts +1 -1
  127. package/dist/types/plugins/copy-button/toolbar.d.ts +1 -1
  128. package/dist/types/plugins/custom-autoformat/input-rules.d.ts +2 -2
  129. package/dist/types/plugins/custom-autoformat/reducers.d.ts +1 -1
  130. package/dist/types/plugins/custom-autoformat/types.d.ts +7 -7
  131. package/dist/types/plugins/date/actions.d.ts +2 -2
  132. package/dist/types/plugins/date/pm-plugins/types.d.ts +2 -2
  133. package/dist/types/plugins/date/types.d.ts +2 -2
  134. package/dist/types/plugins/editor-disabled/index.d.ts +1 -1
  135. package/dist/types/plugins/emoji/index.d.ts +2 -2
  136. package/dist/types/plugins/emoji/nodeviews/emoji.d.ts +1 -1
  137. package/dist/types/plugins/emoji/types.d.ts +1 -1
  138. package/dist/types/plugins/expand/commands.d.ts +1 -1
  139. package/dist/types/plugins/expand/types.d.ts +1 -1
  140. package/dist/types/plugins/extension/actions.d.ts +3 -3
  141. package/dist/types/plugins/extension/commands.d.ts +1 -1
  142. package/dist/types/plugins/extension/context-panel.d.ts +1 -1
  143. package/dist/types/plugins/extension/pm-plugins/main.d.ts +2 -2
  144. package/dist/types/plugins/extension/types.d.ts +2 -2
  145. package/dist/types/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +1 -1
  146. package/dist/types/plugins/extension/utils.d.ts +1 -1
  147. package/dist/types/plugins/feedback-dialog/index.d.ts +1 -1
  148. package/dist/types/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +1 -1
  149. package/dist/types/plugins/find-replace/actions.d.ts +1 -1
  150. package/dist/types/plugins/find-replace/commands.d.ts +1 -1
  151. package/dist/types/plugins/find-replace/index.d.ts +1 -1
  152. package/dist/types/plugins/find-replace/types.d.ts +4 -4
  153. package/dist/types/plugins/find-replace/ui/Find.d.ts +1 -1
  154. package/dist/types/plugins/find-replace/ui/FindReplace.d.ts +1 -1
  155. package/dist/types/plugins/find-replace/ui/Replace.d.ts +2 -2
  156. package/dist/types/plugins/find-replace/utils/index.d.ts +1 -1
  157. package/dist/types/plugins/floating-toolbar/index.d.ts +2 -2
  158. package/dist/types/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +1 -1
  159. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/types.d.ts +2 -2
  160. package/dist/types/plugins/floating-toolbar/ui/Toolbar.d.ts +2 -2
  161. package/dist/types/plugins/floating-toolbar/utils.d.ts +2 -2
  162. package/dist/types/plugins/grid/index.d.ts +1 -1
  163. package/dist/types/plugins/grid/types.d.ts +2 -2
  164. package/dist/types/plugins/help-dialog/commands.d.ts +1 -1
  165. package/dist/types/plugins/help-dialog/ui/index.d.ts +1 -1
  166. package/dist/types/plugins/hyperlink/commands.d.ts +2 -2
  167. package/dist/types/plugins/hyperlink/pm-plugins/main.d.ts +5 -5
  168. package/dist/types/plugins/hyperlink/types.d.ts +1 -1
  169. package/dist/types/plugins/hyperlink/ui/EditorLinkPicker/index.d.ts +1 -1
  170. package/dist/types/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +2 -2
  171. package/dist/types/plugins/image-upload/types.d.ts +2 -2
  172. package/dist/types/plugins/indentation/commands/utils.d.ts +4 -4
  173. package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +1 -1
  174. package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +1 -1
  175. package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +1 -1
  176. package/dist/types/plugins/layout/pm-plugins/types.d.ts +2 -2
  177. package/dist/types/plugins/layout/types.d.ts +1 -1
  178. package/dist/types/plugins/list/actions/join-list-items-forward.d.ts +3 -3
  179. package/dist/types/plugins/list/actions/join-list-items-scenarios/join-list-item-with-paragraph.d.ts +1 -1
  180. package/dist/types/plugins/list/actions/join-list-items-scenarios/join-list-item-with-parent-nested-list.d.ts +1 -1
  181. package/dist/types/plugins/list/actions/join-list-items-scenarios/join-nested-list-with-parent-list-item.d.ts +1 -1
  182. package/dist/types/plugins/list/actions/join-list-items-scenarios/join-paragraph-with-list.d.ts +1 -1
  183. package/dist/types/plugins/list/actions/join-list-items-scenarios/join-sibling-list-items.d.ts +1 -1
  184. package/dist/types/plugins/list/actions/merge-lists.d.ts +1 -1
  185. package/dist/types/plugins/list/commands/indent-list.d.ts +1 -1
  186. package/dist/types/plugins/list/commands/index.d.ts +1 -1
  187. package/dist/types/plugins/list/commands/listBackspace.d.ts +1 -1
  188. package/dist/types/plugins/list/commands/outdent-list.d.ts +1 -1
  189. package/dist/types/plugins/list/pm-plugins/input-rules/create-list-input-rule.d.ts +1 -1
  190. package/dist/types/plugins/list/pm-plugins/input-rules/wrapping-join-rule.d.ts +1 -1
  191. package/dist/types/plugins/list/types.d.ts +1 -1
  192. package/dist/types/plugins/list/utils/node.d.ts +2 -2
  193. package/dist/types/plugins/list/utils/replace-content.d.ts +1 -1
  194. package/dist/types/plugins/list/utils/selection.d.ts +2 -2
  195. package/dist/types/plugins/macro/actions.d.ts +2 -2
  196. package/dist/types/plugins/macro/types.d.ts +1 -1
  197. package/dist/types/plugins/max-content-size/index.d.ts +1 -1
  198. package/dist/types/plugins/media/commands/linking.d.ts +1 -1
  199. package/dist/types/plugins/media/media-plugin-options.d.ts +1 -1
  200. package/dist/types/plugins/media/nodeviews/mediaGroup.d.ts +1 -1
  201. package/dist/types/plugins/media/nodeviews/mediaInline.d.ts +1 -1
  202. package/dist/types/plugins/media/nodeviews/mediaNodeUpdater.d.ts +3 -3
  203. package/dist/types/plugins/media/nodeviews/mediaNodeView/index.d.ts +1 -1
  204. package/dist/types/plugins/media/nodeviews/mediaSingle.d.ts +1 -1
  205. package/dist/types/plugins/media/nodeviews/styles.d.ts +1 -1
  206. package/dist/types/plugins/media/picker-facade.d.ts +7 -7
  207. package/dist/types/plugins/media/pm-plugins/alt-text/actions.d.ts +4 -4
  208. package/dist/types/plugins/media/pm-plugins/alt-text/types.d.ts +1 -1
  209. package/dist/types/plugins/media/pm-plugins/alt-text/ui/AltTextEdit.d.ts +2 -2
  210. package/dist/types/plugins/media/pm-plugins/linking/actions.d.ts +1 -1
  211. package/dist/types/plugins/media/pm-plugins/linking/types.d.ts +2 -2
  212. package/dist/types/plugins/media/pm-plugins/main.d.ts +4 -4
  213. package/dist/types/plugins/media/pm-plugins/mediaTaskManager.d.ts +2 -2
  214. package/dist/types/plugins/media/toolbar/alt-text.d.ts +2 -2
  215. package/dist/types/plugins/media/toolbar/linking.d.ts +1 -1
  216. package/dist/types/plugins/media/types.d.ts +6 -6
  217. package/dist/types/plugins/media/ui/ImageBorder/styles.d.ts +1 -1
  218. package/dist/types/plugins/media/ui/Media/DropPlaceholder.d.ts +1 -1
  219. package/dist/types/plugins/media/ui/MediaLinkingToolbar.d.ts +1 -1
  220. package/dist/types/plugins/media/ui/MediaPicker/BrowserWrapper.d.ts +1 -1
  221. package/dist/types/plugins/media/ui/MediaPicker/ClipboardWrapper.d.ts +1 -1
  222. package/dist/types/plugins/media/ui/MediaPicker/DropzoneWrapper.d.ts +1 -1
  223. package/dist/types/plugins/media/ui/MediaPicker/PickerFacadeProvider.d.ts +2 -2
  224. package/dist/types/plugins/media/ui/MediaPicker/index.d.ts +2 -2
  225. package/dist/types/plugins/media/ui/ResizableMediaSingle/index.d.ts +2 -2
  226. package/dist/types/plugins/media/ui/ResizableMediaSingle/types.d.ts +2 -2
  227. package/dist/types/plugins/media/utils/is-image.d.ts +1 -1
  228. package/dist/types/plugins/media/utils/media-common.d.ts +1 -1
  229. package/dist/types/plugins/media/utils/media-files.d.ts +2 -2
  230. package/dist/types/plugins/media/utils/media-single.d.ts +3 -3
  231. package/dist/types/plugins/mentions/analytics.d.ts +5 -5
  232. package/dist/types/plugins/mentions/nodeviews/mention.d.ts +1 -1
  233. package/dist/types/plugins/mentions/type-ahead/index.d.ts +1 -1
  234. package/dist/types/plugins/mentions/types.d.ts +2 -2
  235. package/dist/types/plugins/mobile-dimensions/actions.d.ts +1 -1
  236. package/dist/types/plugins/mobile-dimensions/types.d.ts +1 -1
  237. package/dist/types/plugins/mobile-selection/types.d.ts +1 -1
  238. package/dist/types/plugins/panel/actions.d.ts +1 -1
  239. package/dist/types/plugins/panel/nodeviews/panel.d.ts +1 -1
  240. package/dist/types/plugins/panel/pm-plugins/main.d.ts +1 -1
  241. package/dist/types/plugins/panel/toolbar.d.ts +1 -1
  242. package/dist/types/plugins/panel/types.d.ts +2 -2
  243. package/dist/types/plugins/panel/utils.d.ts +1 -1
  244. package/dist/types/plugins/paste/actions.d.ts +1 -1
  245. package/dist/types/plugins/paste/index.d.ts +1 -1
  246. package/dist/types/plugins/paste/pm-plugins/analytics.d.ts +2 -2
  247. package/dist/types/plugins/paste/util/index.d.ts +1 -1
  248. package/dist/types/plugins/placeholder-text/placeholder-text-nodeview.d.ts +1 -1
  249. package/dist/types/plugins/quick-insert/api.d.ts +1 -1
  250. package/dist/types/plugins/quick-insert/assets/index.d.ts +1 -1
  251. package/dist/types/plugins/quick-insert/index.d.ts +1 -1
  252. package/dist/types/plugins/quick-insert/search.d.ts +2 -2
  253. package/dist/types/plugins/quick-insert/types.d.ts +4 -4
  254. package/dist/types/plugins/quick-insert/ui/ModalElementBrowser/index.d.ts +1 -1
  255. package/dist/types/plugins/save-on-enter/index.d.ts +1 -1
  256. package/dist/types/plugins/selection/actions.d.ts +1 -1
  257. package/dist/types/plugins/selection/commands.d.ts +1 -1
  258. package/dist/types/plugins/selection/gap-cursor/actions.d.ts +2 -2
  259. package/dist/types/plugins/selection/utils.d.ts +2 -2
  260. package/dist/types/plugins/status/actions.d.ts +2 -2
  261. package/dist/types/plugins/status/analytics.d.ts +1 -1
  262. package/dist/types/plugins/status/nodeviews/status.d.ts +1 -1
  263. package/dist/types/plugins/status/plugin.d.ts +1 -1
  264. package/dist/types/plugins/status/types.d.ts +2 -2
  265. package/dist/types/plugins/submit-editor/index.d.ts +1 -1
  266. package/dist/types/plugins/tasks-and-decisions/commands.d.ts +3 -3
  267. package/dist/types/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +1 -1
  268. package/dist/types/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +1 -1
  269. package/dist/types/plugins/tasks-and-decisions/types.d.ts +4 -4
  270. package/dist/types/plugins/text-color/index.d.ts +1 -1
  271. package/dist/types/plugins/text-color/pm-plugins/main.d.ts +2 -2
  272. package/dist/types/plugins/text-formatting/commands/text-formatting.d.ts +2 -2
  273. package/dist/types/plugins/text-formatting/ui/Toolbar/dropdown-menu.d.ts +1 -1
  274. package/dist/types/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.d.ts +1 -1
  275. package/dist/types/plugins/text-formatting/ui/Toolbar/hooks/responsive-toolbar-buttons.d.ts +1 -1
  276. package/dist/types/plugins/text-formatting/ui/Toolbar/index.d.ts +1 -1
  277. package/dist/types/plugins/text-formatting/ui/Toolbar/more-button.d.ts +1 -1
  278. package/dist/types/plugins/text-formatting/ui/Toolbar/types.d.ts +2 -2
  279. package/dist/types/plugins/toolbar-lists-indentation/index.d.ts +1 -1
  280. package/dist/types/plugins/toolbar-lists-indentation/types.d.ts +1 -1
  281. package/dist/types/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +1 -1
  282. package/dist/types/plugins/type-ahead/api.d.ts +2 -2
  283. package/dist/types/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +1 -1
  284. package/dist/types/plugins/type-ahead/index.d.ts +1 -1
  285. package/dist/types/plugins/type-ahead/insert-utils.d.ts +1 -1
  286. package/dist/types/plugins/type-ahead/pm-plugins/decorations.d.ts +2 -2
  287. package/dist/types/plugins/type-ahead/pm-plugins/main.d.ts +1 -1
  288. package/dist/types/plugins/type-ahead/pm-plugins/reducer.d.ts +1 -1
  289. package/dist/types/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +1 -1
  290. package/dist/types/plugins/type-ahead/types.d.ts +14 -14
  291. package/dist/types/plugins/type-ahead/ui/AssistiveText.d.ts +3 -3
  292. package/dist/types/plugins/type-ahead/ui/InputQuery.d.ts +1 -1
  293. package/dist/types/plugins/type-ahead/ui/TypeAheadListItem.d.ts +1 -1
  294. package/dist/types/plugins/type-ahead/ui/TypeAheadPopup.d.ts +1 -1
  295. package/dist/types/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +1 -1
  296. package/dist/types/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +1 -1
  297. package/dist/types/plugins/type-ahead/utils.d.ts +3 -3
  298. package/dist/types/plugins/undo-redo/attach-input-meta.d.ts +1 -1
  299. package/dist/types/plugins/unsupported-content/unsupported-inline-node-view.d.ts +1 -1
  300. package/dist/types/plugins/view-update-subscription/index.d.ts +2 -2
  301. package/dist/types/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
  302. package/dist/types/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +2 -2
  303. package/dist/types/plugins/width/index.d.ts +1 -1
  304. package/dist/types/selection-api/api.d.ts +1 -1
  305. package/dist/types/test-utils.d.ts +1 -1
  306. package/dist/types/types/allowed-block-types.d.ts +1 -1
  307. package/dist/types/types/command.d.ts +3 -3
  308. package/dist/types/types/dom-at-pos.d.ts +1 -1
  309. package/dist/types/types/editor-config.d.ts +1 -1
  310. package/dist/types/types/editor-onchange.d.ts +1 -1
  311. package/dist/types/types/editor-props.d.ts +8 -8
  312. package/dist/types/types/get-editor-props.d.ts +2 -2
  313. package/dist/types/types/performance-tracking.d.ts +13 -13
  314. package/dist/types/types/pm-plugin-list.d.ts +1 -1
  315. package/dist/types/ui/Addon/types.d.ts +1 -1
  316. package/dist/types/ui/Appearance/Comment/Toolbar.d.ts +1 -1
  317. package/dist/types/ui/AppearanceComponents/Mobile.d.ts +1 -1
  318. package/dist/types/ui/CollapsedEditor/index.d.ts +1 -1
  319. package/dist/types/ui/ColorPickerButton/index.d.ts +1 -1
  320. package/dist/types/ui/ConfigPanel/ConfigPanel.d.ts +1 -1
  321. package/dist/types/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +1 -1
  322. package/dist/types/ui/ConfigPanel/Fields/Fieldset.d.ts +1 -1
  323. package/dist/types/ui/ConfigPanel/types.d.ts +2 -2
  324. package/dist/types/ui/ConfigPanel/utils.d.ts +2 -2
  325. package/dist/types/ui/ContentStyles/index.d.ts +3 -3
  326. package/dist/types/ui/ContextPanel/context.d.ts +2 -2
  327. package/dist/types/ui/ContextPanel/index.d.ts +4 -4
  328. package/dist/types/ui/Dropdown/index.d.ts +1 -1
  329. package/dist/types/ui/EditorContext/index.d.ts +1 -1
  330. package/dist/types/ui/ElementBrowser/ElementBrowser.d.ts +1 -1
  331. package/dist/types/ui/ElementBrowser/components/ElementList/ElementList.d.ts +1 -1
  332. package/dist/types/ui/ElementBrowser/components/ElementList/EmptyState.d.ts +1 -1
  333. package/dist/types/ui/ElementBrowser/components/ElementList/utils.d.ts +2 -2
  334. package/dist/types/ui/ElementBrowser/components/StatelessElementBrowser.d.ts +1 -1
  335. package/dist/types/ui/ElementBrowser/hooks/use-container-width.d.ts +1 -1
  336. package/dist/types/ui/ElementBrowser/hooks/use-focus.d.ts +1 -1
  337. package/dist/types/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +3 -3
  338. package/dist/types/ui/ElementBrowser/types.d.ts +5 -5
  339. package/dist/types/ui/ErrorBoundary/index.d.ts +1 -1
  340. package/dist/types/ui/FloatingToolbar/index.d.ts +1 -1
  341. package/dist/types/ui/FloatingToolbar/styles.d.ts +1 -1
  342. package/dist/types/ui/FloatingToolbar/utils.d.ts +1 -1
  343. package/dist/types/ui/LinkSearch/transformTimeStamp.d.ts +1 -1
  344. package/dist/types/ui/LinkSearch/types.d.ts +2 -2
  345. package/dist/types/ui/MediaAndEmbedsToolbar/index.d.ts +1 -1
  346. package/dist/types/ui/PluginSlot/index.d.ts +2 -2
  347. package/dist/types/ui/PortalProvider/index.d.ts +5 -5
  348. package/dist/types/ui/Resizer/index.d.ts +2 -2
  349. package/dist/types/ui/Resizer/types.d.ts +2 -2
  350. package/dist/types/ui/Toolbar/toolbar-size.d.ts +2 -2
  351. package/dist/types/ui/Toolbar/toolbar-types.d.ts +1 -1
  352. package/dist/types/ui/ToolbarFeedback/index.d.ts +1 -1
  353. package/dist/types/utils/announcer/announcer.d.ts +1 -1
  354. package/dist/types/utils/cell-selection.d.ts +1 -1
  355. package/dist/types/utils/clipboard.d.ts +1 -1
  356. package/dist/types/utils/commands.d.ts +3 -3
  357. package/dist/types/utils/count-nodes.d.ts +2 -2
  358. package/dist/types/utils/document-logger.d.ts +2 -2
  359. package/dist/types/utils/document.d.ts +1 -1
  360. package/dist/types/utils/getAttrsWithChangesRecorder.d.ts +1 -1
  361. package/dist/types/utils/index.d.ts +2 -2
  362. package/dist/types/utils/input-rules.d.ts +4 -4
  363. package/dist/types/utils/insert.d.ts +3 -3
  364. package/dist/types/utils/linking-utils.d.ts +1 -1
  365. package/dist/types/utils/mark.d.ts +4 -4
  366. package/dist/types/utils/nodes-by-localIds.d.ts +1 -1
  367. package/dist/types/utils/performance/components/RenderTracking.d.ts +3 -3
  368. package/dist/types/utils/performance/instrumented-plugin.d.ts +1 -1
  369. package/dist/types/utils/performance/plugin-performance-report.d.ts +1 -1
  370. package/dist/types/utils/performance/simple-measure-to-entries.d.ts +1 -1
  371. package/dist/types/utils/performance/track-transactions.d.ts +1 -1
  372. package/dist/types/utils/prepare-extension-provider.d.ts +1 -1
  373. package/dist/types/utils/react-hooks/use-abortable-effect/index.d.ts +2 -2
  374. package/dist/types/utils/react-hooks/use-state-from-promise/index.d.ts +1 -1
  375. package/dist/types/utils/rich-media-utils.d.ts +1 -1
  376. package/editor/package.json +2 -2
  377. package/element-browser/package.json +2 -2
  378. package/extensibility/package.json +2 -2
  379. package/extensions/package.json +2 -2
  380. package/labs-next/package.json +2 -2
  381. package/messages/package.json +2 -2
  382. package/package.json +24 -15
  383. package/test-utils/package.json +2 -2
  384. package/tsconfig.json +2 -1
  385. package/version-wrapper/package.json +2 -2
@@ -1,4 +1,4 @@
1
- export declare type TTITracking = {
1
+ export type TTITracking = {
2
2
  /**
3
3
  * @description Whether ttiTracking should be enabled
4
4
  * @default: false
@@ -40,7 +40,7 @@ export declare type TTITracking = {
40
40
  */
41
41
  ttiFromInvocationSeverityDegradedThreshold?: number;
42
42
  };
43
- export declare type TransactionTracking = {
43
+ export type TransactionTracking = {
44
44
  /**
45
45
  * @description Whether transactionTracking should be enabled. When this is false no measurements are taken and no events are sent.
46
46
  * @default false
@@ -72,7 +72,7 @@ export declare type TransactionTracking = {
72
72
  **/
73
73
  outlierFactor?: number;
74
74
  };
75
- export declare type UITracking = {
75
+ export type UITracking = {
76
76
  /**
77
77
  * @description Whether tracking of WithPluginState should be enabled. When this is false no measurements are taken and no events are sent.
78
78
  * @default false
@@ -89,14 +89,14 @@ export declare type UITracking = {
89
89
  **/
90
90
  slowThreshold?: number;
91
91
  };
92
- export declare type CatchAllTracking = {
92
+ export type CatchAllTracking = {
93
93
  /**
94
94
  * @description Control whether a second operational event with a rough performance measurement is sent for every regular analytics event
95
95
  * @default false
96
96
  */
97
97
  enabled: boolean;
98
98
  };
99
- export declare type NodeViewTracking = {
99
+ export type NodeViewTracking = {
100
100
  /**
101
101
  * @description Control whether
102
102
  NodeView performance is tracked. When this is false no measurements are taken and no events are sent.
@@ -114,7 +114,7 @@ export declare type NodeViewTracking = {
114
114
  */
115
115
  slowThreshold?: number;
116
116
  };
117
- export declare type BrowserFreezetracking = {
117
+ export type BrowserFreezetracking = {
118
118
  enabled?: boolean;
119
119
  /**
120
120
  * @description Control whether browser freeze interaction type is tracked. When this is false the interaction type is not recorded.
@@ -137,7 +137,7 @@ export declare type BrowserFreezetracking = {
137
137
  */
138
138
  severityDegradedThreshold?: number;
139
139
  };
140
- export declare type ProseMirrorRenderedTracking = {
140
+ export type ProseMirrorRenderedTracking = {
141
141
  enabled?: boolean;
142
142
  /**
143
143
  * @description Control whether proseMirror rendered event severity is tracked. When this is false the severity is not recorded.
@@ -207,7 +207,7 @@ export interface InputTracking {
207
207
  */
208
208
  trackRenderingTime?: boolean;
209
209
  }
210
- export declare type ContentRetrievalTracking = {
210
+ export type ContentRetrievalTracking = {
211
211
  /**
212
212
  * @description Control whether editor content retrieval success and failure events are dispatched.
213
213
  * When this is false no events are sampled or sent.
@@ -230,7 +230,7 @@ export declare type ContentRetrievalTracking = {
230
230
  */
231
231
  reportErrorStack?: boolean;
232
232
  };
233
- export declare type OnChangeCallbackTracking = {
233
+ export type OnChangeCallbackTracking = {
234
234
  /**
235
235
  * @description Whether onChange callback tracking should be enabled. Requires TransactionTracking
236
236
  * to be enabled.
@@ -238,21 +238,21 @@ export declare type OnChangeCallbackTracking = {
238
238
  */
239
239
  enabled: boolean;
240
240
  };
241
- export declare type OnEditorReadyCallbackTracking = {
241
+ export type OnEditorReadyCallbackTracking = {
242
242
  /**
243
243
  * @description Control whether onEditorReady callback tracking should be enabled.
244
244
  * @default false
245
245
  */
246
246
  enabled: boolean;
247
247
  };
248
- export declare type PasteTracking = {
248
+ export type PasteTracking = {
249
249
  /**
250
250
  * @description Control whether paste tracking should be enabled.
251
251
  * @default false
252
252
  */
253
253
  enabled: boolean;
254
254
  };
255
- export declare type RenderTracking = {
255
+ export type RenderTracking = {
256
256
  /**
257
257
  * @description Control whether editor render tracking should be enabled.
258
258
  * @default false
@@ -266,7 +266,7 @@ export declare type RenderTracking = {
266
266
  useShallow?: boolean;
267
267
  };
268
268
  };
269
- export declare type PerformanceTracking = {
269
+ export type PerformanceTracking = {
270
270
  /**
271
271
  * @description Control whether measurements for all analytics events are performed
272
272
  */
@@ -2,7 +2,7 @@ import { TransactionTracker } from '../utils/performance/track-transactions';
2
2
  import { EditorConfig } from './editor-config';
3
3
  import { PerformanceTracking } from './performance-tracking';
4
4
  import { PMPluginFactoryParams } from './pm-plugin';
5
- export declare type PMPluginCreateConfig = PMPluginFactoryParams & {
5
+ export type PMPluginCreateConfig = PMPluginFactoryParams & {
6
6
  editorConfig: EditorConfig;
7
7
  performanceTracking?: PerformanceTracking;
8
8
  transactionTracker?: TransactionTracker;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import EditorActions from '../../actions';
3
- export declare type RenderOnClickHandler = (editorActions: EditorActions, closePopup: () => void) => React.ReactElement<any>;
3
+ export type RenderOnClickHandler = (editorActions: EditorActions, closePopup: () => void) => React.ReactElement<any>;
4
4
  export interface AddonActions {
5
5
  actionOnClick?: (editorActions: EditorActions) => void;
6
6
  renderOnClick?: RenderOnClickHandler;
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { UseStickyToolbarType } from '../../../types/editor-props';
4
4
  export declare const TableControlsPadding = 20;
5
- declare type MainToolbarProps = {
5
+ type MainToolbarProps = {
6
6
  useStickyToolbar?: UseStickyToolbarType;
7
7
  };
8
8
  export declare const MainToolbar: React.FC<MainToolbarProps>;
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  import { EditorView } from 'prosemirror-view';
5
- declare type MobileAppearanceProps = React.PropsWithChildren<{
5
+ type MobileAppearanceProps = React.PropsWithChildren<{
6
6
  editorView: EditorView | null;
7
7
  maxHeight?: number;
8
8
  persistScrollGutter?: boolean;
@@ -15,6 +15,6 @@ export default class CollapsedEditor extends React.Component<Props, State> {
15
15
  editorComponent?: Editor | EditorNext | EditorMigrationComponent;
16
16
  previouslyExpanded?: boolean;
17
17
  componentDidUpdate(): void;
18
- handleEditorRef: (editorRef?: Editor | undefined, editorRefCallback?: any) => void;
18
+ handleEditorRef: (editorRef?: Editor, editorRefCallback?: any) => void;
19
19
  render(): JSX.Element;
20
20
  }
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { PaletteColor, PaletteTooltipMessages } from '../ColorPalette/Palettes';
4
4
  import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
5
- declare type Props = WithAnalyticsEventsProps & {
5
+ type Props = WithAnalyticsEventsProps & {
6
6
  currentColor?: string;
7
7
  title?: string;
8
8
  onChange?: (color: PaletteColor) => void;
@@ -3,7 +3,7 @@ import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
3
  import type { ExtensionManifest } from '@atlaskit/editor-common/extensions';
4
4
  import { FieldDefinition, Parameters, OnSaveCallback } from '@atlaskit/editor-common/extensions';
5
5
  import { FeatureFlags } from '@atlaskit/editor-common/types';
6
- declare type Props = {
6
+ type Props = {
7
7
  extensionManifest?: ExtensionManifest;
8
8
  fields?: FieldDefinition[];
9
9
  parameters?: Parameters;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ExtensionProvider, ExtensionType, ExtensionKey, Parameters } from '@atlaskit/editor-common/extensions';
3
3
  import { FeatureFlags } from '@atlaskit/editor-common/types';
4
- export declare type PublicProps = {
4
+ export type PublicProps = {
5
5
  extensionProvider: ExtensionProvider;
6
6
  extensionType: ExtensionType;
7
7
  extensionKey: ExtensionKey;
@@ -4,7 +4,7 @@ import { WrappedComponentProps } from 'react-intl-next';
4
4
  import type { ExtensionManifest } from '@atlaskit/editor-common/extensions';
5
5
  import { Fieldset, Parameters } from '@atlaskit/editor-common/extensions';
6
6
  import { FormContentProps, OnFieldChange } from '../types';
7
- declare type Props = {
7
+ type Props = {
8
8
  name: string;
9
9
  extensionManifest: ExtensionManifest;
10
10
  field: Fieldset;
@@ -9,8 +9,8 @@ export declare enum ValidationError {
9
9
  export declare enum FieldTypeError {
10
10
  isMultipleAndRadio = "isMultipleAndRadio"
11
11
  }
12
- export declare type Entry<T> = [string, T];
13
- export declare type OnFieldChange = (name: string, isDirty: boolean) => void;
12
+ export type Entry<T> = [string, T];
13
+ export type OnFieldChange = (name: string, isDirty: boolean) => void;
14
14
  export interface ValidationErrors {
15
15
  [key: string]: any;
16
16
  }
@@ -1,13 +1,13 @@
1
1
  import { Option, FieldDefinition } from '@atlaskit/editor-common/extensions';
2
2
  import { ValidationError } from './types';
3
3
  export declare const validate: <T>(field: Partial<FieldDefinition>, value: T) => ValidationError | undefined;
4
- declare type ValidationProps = {
4
+ type ValidationProps = {
5
5
  isRequired?: boolean;
6
6
  isMultiple?: boolean;
7
7
  };
8
8
  export declare const validateRequired: <T>({ isRequired, isMultiple }: ValidationProps, value: T) => ValidationError | undefined;
9
9
  export declare const getOptionFromValue: (options: Option[], value: string | string[] | undefined) => Option | Option[] | undefined;
10
- export declare const getSafeParentedName: (name: string, parentName?: string | undefined) => string;
10
+ export declare const getSafeParentedName: (name: string, parentName?: string) => string;
11
11
  export declare const isDuplicateField: (key: string) => boolean;
12
12
  export declare const getNameFromDuplicateField: (key: string) => string;
13
13
  export {};
@@ -2,11 +2,11 @@
2
2
  import React from 'react';
3
3
  import { SerializedStyles } from '@emotion/react';
4
4
  import type { FeatureFlags } from '../../types/feature-flags';
5
- declare type ContentStylesProps = {
5
+ type ContentStylesProps = {
6
6
  theme?: any;
7
7
  featureFlags?: FeatureFlags;
8
8
  };
9
- declare type Props = Omit<ContentStylesProps & React.HTMLProps<HTMLDivElement>, 'featureFlags'>;
10
- export declare const createEditorContentStyle: (styles?: SerializedStyles | undefined) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "name" | "color" | "content" | "height" | "width" | "disabled" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "size" | "wrap" | "open" | "multiple" | "type" | "media" | "mediaGroup" | "step" | "action" | "max" | "min" | "target" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "value" | "wmode" | "theme"> & React.RefAttributes<HTMLDivElement>>;
9
+ type Props = Omit<ContentStylesProps & React.HTMLProps<HTMLDivElement>, 'featureFlags'>;
10
+ export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "name" | "color" | "content" | "height" | "width" | "disabled" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "size" | "wrap" | "open" | "multiple" | "type" | "media" | "mediaGroup" | "step" | "action" | "max" | "min" | "target" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "value" | "wmode" | "theme"> & React.RefAttributes<HTMLDivElement>>;
11
11
  declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "name" | "color" | "content" | "height" | "width" | "disabled" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "size" | "wrap" | "open" | "multiple" | "type" | "media" | "mediaGroup" | "step" | "action" | "max" | "min" | "target" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "value" | "wmode" | "theme"> & React.RefAttributes<HTMLDivElement>>;
12
12
  export default _default;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
- export declare type ContextPanelContext = {
2
+ export type ContextPanelContext = {
3
3
  width: number;
4
4
  positionedOverEditor: boolean;
5
5
  broadcastWidth: (width: number) => void;
6
6
  broadcastPosition: (positionedOverEditor: boolean) => void;
7
7
  };
8
8
  export declare const ContextPanel: React.Context<ContextPanelContext>;
9
- export declare type ContextPanelProviderState = {
9
+ export type ContextPanelProviderState = {
10
10
  width?: number;
11
11
  positionedOverEditor?: boolean;
12
12
  };
@@ -4,22 +4,22 @@ import { jsx } from '@emotion/react';
4
4
  import { WidthPluginState } from '../../plugins/width';
5
5
  import { EditorView } from 'prosemirror-view';
6
6
  import { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
7
- export declare type Props = {
7
+ export type Props = {
8
8
  visible: boolean;
9
9
  children?: React.ReactElement;
10
10
  };
11
- declare type EditorWidth = WidthPluginState & {
11
+ type EditorWidth = WidthPluginState & {
12
12
  contentBreakoutModes: BreakoutMarkAttrs['mode'][];
13
13
  };
14
14
  export declare const shouldPanelBePositionedOverEditor: (editorWidth: EditorWidth, panelWidth: number) => boolean;
15
15
  export declare const panel: import("@emotion/react").SerializedStyles;
16
16
  export declare const content: import("@emotion/react").SerializedStyles;
17
- declare type SwappableContentAreaProps = {
17
+ type SwappableContentAreaProps = {
18
18
  pluginContent?: React.ReactNode;
19
19
  editorView?: EditorView;
20
20
  editorWidth?: EditorWidth;
21
21
  } & Props;
22
- declare type State = {
22
+ type State = {
23
23
  mounted: boolean;
24
24
  currentPluginContent?: React.ReactNode;
25
25
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  declare const Dropdown: React.FC<any>;
3
- export declare type OpenChangedEvent = {
3
+ export type OpenChangedEvent = {
4
4
  isOpen: boolean;
5
5
  event: MouseEvent | KeyboardEvent;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import EditorActions from '../../actions';
4
- export declare type EditorContextProps = {
4
+ export type EditorContextProps = {
5
5
  editorActions?: EditorActions;
6
6
  };
7
7
  export declare const useEditorContext: () => EditorContextProps;
@@ -28,7 +28,7 @@ export default class ElementBrowser extends PureComponent<Props, State> {
28
28
  componentDidMount(): void;
29
29
  getCategories: (items?: QuickInsertItem[]) => Category[];
30
30
  filterCategories: (items: QuickInsertItem[], categories?: Category[]) => Category[];
31
- fetchItems: (query?: string | undefined, category?: string | undefined) => QuickInsertItem[];
31
+ fetchItems: (query?: string, category?: string) => QuickInsertItem[];
32
32
  componentDidUpdate(prevProps: Props, prevState: State): void;
33
33
  handleSearch: (searchTerm: string) => void;
34
34
  handleCategorySelection: (clickedCategory: Category) => void;
@@ -15,7 +15,7 @@ export interface Props {
15
15
  selectedCategory?: string;
16
16
  searchTerm?: string;
17
17
  }
18
- declare type ElementItemType = {
18
+ type ElementItemType = {
19
19
  inlineMode: boolean;
20
20
  item: QuickInsertItem;
21
21
  onInsertItem: (item: QuickInsertItem) => void;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type Props = {
2
+ type Props = {
3
3
  onExternalLinkClick: () => void;
4
4
  };
5
5
  export default function EmptyState({ onExternalLinkClick, }: Props): JSX.Element;
@@ -1,9 +1,9 @@
1
1
  export declare function getColumnCount(clientWidth: number): number;
2
- declare type DatumReturnType = {
2
+ type DatumReturnType = {
3
3
  availableWidth: number;
4
4
  columnCount: number;
5
5
  };
6
- declare type Options = {
6
+ type Options = {
7
7
  gutterSize: number;
8
8
  scrollbarWidth: number;
9
9
  };
@@ -4,7 +4,7 @@ import { QuickInsertItem } from '@atlaskit/editor-common/provider-factory';
4
4
  import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
5
5
  import { Category, Modes } from '../types';
6
6
  import { EmptyStateHandler } from '../../../types/empty-state-handler';
7
- export declare type StatelessElementBrowserProps = {
7
+ export type StatelessElementBrowserProps = {
8
8
  categories?: Category[];
9
9
  items: QuickInsertItem[];
10
10
  onSearch: (searchTerm: string) => void;
@@ -25,7 +25,7 @@ import React from 'react';
25
25
  * );
26
26
  *
27
27
  */
28
- declare type useContainerWidthReturnType = {
28
+ type useContainerWidthReturnType = {
29
29
  containerWidth: number;
30
30
  ContainerWidthMonitor: React.ElementType;
31
31
  };
@@ -30,6 +30,6 @@
30
30
  * }
31
31
  *******************************************************************************
32
32
  */
33
- declare type RefType = null | HTMLInputElement | HTMLDivElement;
33
+ type RefType = null | HTMLInputElement | HTMLDivElement;
34
34
  export default function useFocus(focus: boolean): import("react").MutableRefObject<RefType>;
35
35
  export {};
@@ -37,7 +37,7 @@ import React from 'react';
37
37
  * }
38
38
  *
39
39
  */
40
- declare type ReducerState = {
40
+ type ReducerState = {
41
41
  focusOnSearch: boolean;
42
42
  selectedItemIndex: number;
43
43
  focusedItemIndex?: number;
@@ -48,14 +48,14 @@ export declare enum ACTIONS {
48
48
  UPDATE_STATE = "updateState",
49
49
  MOVE = "move"
50
50
  }
51
- export declare type ReducerAction = {
51
+ export type ReducerAction = {
52
52
  type: ACTIONS;
53
53
  payload: Partial<ReducerState> & {
54
54
  positions?: number;
55
55
  step?: number;
56
56
  };
57
57
  };
58
- export declare type useSelectAndFocusReturnType = {
58
+ export type useSelectAndFocusReturnType = {
59
59
  selectedItemIndex: number;
60
60
  onKeyDown: (e: React.KeyboardEvent<HTMLDivElement>) => void;
61
61
  focusOnSearch: boolean;
@@ -2,8 +2,8 @@ import { EditorView } from 'prosemirror-view';
2
2
  import { Transaction } from 'prosemirror-state';
3
3
  import { BlockMenuItem } from '../../plugins/insert-block/ui/ToolbarInsertBlock/create-items';
4
4
  import { MenuItem } from '../DropdownMenu/types';
5
- declare type SimpleEventHandler<T> = (event?: T) => void;
6
- export declare type Category = {
5
+ type SimpleEventHandler<T> = (event?: T) => void;
6
+ export type Category = {
7
7
  title: string;
8
8
  name: string;
9
9
  };
@@ -11,7 +11,7 @@ export declare enum Modes {
11
11
  full = "full",
12
12
  inline = "inline"
13
13
  }
14
- export declare type SelectedItemProps = {
14
+ export type SelectedItemProps = {
15
15
  selectedItemIndex: number;
16
16
  focusedItemIndex?: number;
17
17
  };
@@ -22,10 +22,10 @@ export interface InsertMenuProps {
22
22
  toggleVisiblity: SimpleEventHandler<MouseEvent | KeyboardEvent>;
23
23
  onInsert: OnInsert;
24
24
  }
25
- export declare type OnInsert = ({ item }: {
25
+ export type OnInsert = ({ item }: {
26
26
  item: MenuItem;
27
27
  }) => Transaction;
28
- export declare type SvgGetterParams = {
28
+ export type SvgGetterParams = {
29
29
  name: string;
30
30
  };
31
31
  export {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { DispatchAnalyticsEvent } from '../../plugins/analytics/types';
3
3
  import { ACTION, ErrorEventPayload } from '../../plugins/analytics';
4
- declare type ErrorCrashPayload = Extract<ErrorEventPayload, {
4
+ type ErrorCrashPayload = Extract<ErrorEventPayload, {
5
5
  action: ACTION.EDITOR_CRASHED;
6
6
  }>;
7
7
  interface ErrorBoundaryProps {
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
3
  import { PureComponent } from 'react';
4
- export declare type Coordinates = {
4
+ export type Coordinates = {
5
5
  left?: number;
6
6
  right?: number;
7
7
  top?: number;
@@ -1 +1 @@
1
- export declare const container: (height?: number | undefined) => import("@emotion/react").SerializedStyles;
1
+ export declare const container: (height?: number) => import("@emotion/react").SerializedStyles;
@@ -1,4 +1,4 @@
1
- export declare const getOffsetParent: (editorViewDom: HTMLElement, popupsMountPoint?: HTMLElement | undefined) => HTMLElement;
1
+ export declare const getOffsetParent: (editorViewDom: HTMLElement, popupsMountPoint?: HTMLElement) => HTMLElement;
2
2
  export declare const getNearestNonTextNode: (node: Node) => HTMLElement;
3
3
  export declare const handlePositionCalculatedWith: (offsetParent: HTMLElement, node: Node, getCurrentFixedCoordinates: () => any) => (position: {
4
4
  top?: number;
@@ -1,5 +1,5 @@
1
1
  import { IntlShape } from 'react-intl-next';
2
- export declare const transformTimeStamp: (intl: IntlShape, lastViewedDate?: Date | undefined, lastUpdatedDate?: Date | undefined) => {
2
+ export declare const transformTimeStamp: (intl: IntlShape, lastViewedDate?: Date, lastUpdatedDate?: Date) => {
3
3
  pageAction: string;
4
4
  dateString: string;
5
5
  timeSince?: undefined;
@@ -1,7 +1,7 @@
1
1
  import { KeyboardEvent } from 'react';
2
2
  import { ActivityProvider, ActivityItem } from '@atlaskit/activity-provider';
3
3
  import { INPUT_METHOD } from '../../plugins/analytics';
4
- export declare type RecentSearchInputTypes = INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL;
4
+ export type RecentSearchInputTypes = INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL;
5
5
  export interface ChildProps {
6
6
  activityProvider: ActivityProvider | null;
7
7
  inputProps: {
@@ -32,7 +32,7 @@ export interface RecentSearchState {
32
32
  isLoading: boolean;
33
33
  url: string;
34
34
  }
35
- export declare type LinkSearchListItemData = {
35
+ export type LinkSearchListItemData = {
36
36
  objectId: string;
37
37
  name: string;
38
38
  container: string;
@@ -3,5 +3,5 @@ import { IntlShape } from 'react-intl-next';
3
3
  import { NodeType } from 'prosemirror-model';
4
4
  import { FloatingToolbarItem } from '../../plugins/floating-toolbar/types';
5
5
  import { Command } from '../../types';
6
- declare const buildLayoutButtons: (state: EditorState, intl: IntlShape, nodeType: NodeType, allowResizing?: boolean | undefined, allowResizingInTables?: boolean | undefined, allowWrapping?: boolean, allowAlignment?: boolean) => FloatingToolbarItem<Command>[];
6
+ declare const buildLayoutButtons: (state: EditorState, intl: IntlShape, nodeType: NodeType, allowResizing?: boolean, allowResizingInTables?: boolean, allowWrapping?: boolean, allowAlignment?: boolean) => FloatingToolbarItem<Command>[];
7
7
  export default buildLayoutButtons;
@@ -31,7 +31,7 @@ export default class PluginSlot extends React.Component<Props, any> {
31
31
  UNSAFE_componentWillReceiveProps(nextProps: Props): void;
32
32
  componentWillUnmount(): void;
33
33
  forceComponentUpdate: (event: TransitionEvent) => void;
34
- removeModeChangeListener: (contentArea?: HTMLElement | undefined) => void;
35
- addModeChangeListener: (contentArea?: HTMLElement | undefined) => void;
34
+ removeModeChangeListener: (contentArea?: HTMLElement) => void;
35
+ addModeChangeListener: (contentArea?: HTMLElement) => void;
36
36
  render(): jsx.JSX.Element | null;
37
37
  }
@@ -3,17 +3,17 @@ import { EventDispatcher } from '../../event-dispatcher';
3
3
  import { FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
4
4
  import { IntlShape, WrappedComponentProps } from 'react-intl-next';
5
5
  import type { ThemeModes } from '@atlaskit/theme/types';
6
- export declare type BasePortalProviderProps = {
6
+ export type BasePortalProviderProps = {
7
7
  render: (portalProviderAPI: PortalProviderAPI) => React.ReactChild | JSX.Element | null;
8
8
  onAnalyticsEvent?: FireAnalyticsCallback;
9
9
  useAnalyticsContext?: boolean;
10
10
  themeMode?: ThemeModes;
11
11
  } & WrappedComponentProps;
12
- export declare type Portals = Map<HTMLElement, React.ReactChild>;
13
- export declare type PortalRendererState = {
12
+ export type Portals = Map<HTMLElement, React.ReactChild>;
13
+ export type PortalRendererState = {
14
14
  portals: Portals;
15
15
  };
16
- declare type MountedPortal = {
16
+ type MountedPortal = {
17
17
  children: () => React.ReactChild | null;
18
18
  hasAnalyticsContext: boolean;
19
19
  hasIntlContext: boolean;
@@ -37,7 +37,7 @@ export declare class PortalProviderAPI extends EventDispatcher {
37
37
  export declare const PortalProvider: React.FC<import("react-intl-next").WithIntlProps<BasePortalProviderProps>> & {
38
38
  WrappedComponent: React.ComponentType<BasePortalProviderProps>;
39
39
  };
40
- declare type PortalProviderWithThemeProvidersProps = Omit<BasePortalProviderProps, 'intl' | 'themeMode'>;
40
+ type PortalProviderWithThemeProvidersProps = Omit<BasePortalProviderProps, 'intl' | 'themeMode'>;
41
41
  export declare const PortalProviderWithThemeProviders: ({ onAnalyticsEvent, useAnalyticsContext, render, }: PortalProviderWithThemeProvidersProps) => JSX.Element;
42
42
  export declare class PortalRenderer extends React.Component<{
43
43
  portalProviderAPI: PortalProviderAPI;
@@ -8,7 +8,7 @@ export interface ResizableNumberSize {
8
8
  width: number;
9
9
  height: number;
10
10
  }
11
- export declare type ResizerProps = Omit<ResizableMediaSingleProps, 'height' | 'width'> & {
11
+ export type ResizerProps = Omit<ResizableMediaSingleProps, 'height' | 'width'> & {
12
12
  selected?: boolean;
13
13
  enable: EnabledHandles;
14
14
  calcNewSize: (newWidth: number, stop: boolean) => {
@@ -26,7 +26,7 @@ export declare type ResizerProps = Omit<ResizableMediaSingleProps, 'height' | 'w
26
26
  ratio?: string;
27
27
  handleComponentFunc?: (side: string) => React.ReactElement<any> | undefined;
28
28
  };
29
- export declare type ResizerState = {
29
+ export type ResizerState = {
30
30
  isResizing: boolean;
31
31
  };
32
32
  export default class Resizer extends React.Component<ResizerProps, ResizerState> {