@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,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * ED-16073:
5
+ * This was manually updated since the original `@atlaskit/i18n-tools` has been deprecated
6
+ */
1
7
  declare const _default: {
2
8
  zh: string;
3
9
  zh_TW: string;
@@ -29,10 +35,4 @@ declare const _default: {
29
35
  uk: string;
30
36
  vi: string;
31
37
  };
32
- /**
33
- * NOTE:
34
- *
35
- * ED-16073:
36
- * This was manually updated since the original `@atlaskit/i18n-tools` has been deprecated
37
- */
38
38
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.action': string;
3
9
  'fabric.editor.action.description': string;
@@ -171,10 +177,4 @@ declare const _default: {
171
177
  'fabric.theme.light-yellow': string;
172
178
  'fabric.theme.white': string;
173
179
  };
174
- /**
175
- * NOTE:
176
- *
177
- * This file is automatically generated by Traduki 2.0.
178
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
179
- */
180
180
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.mediaAddLink': string;
3
9
  'fabric.editor.openLink': string;
@@ -144,10 +150,4 @@ declare const _default: {
144
150
  'fabric.editor.italic': string;
145
151
  'fabric.editor.selected': string;
146
152
  };
147
- /**
148
- * NOTE:
149
- *
150
- * This file is automatically generated by i18n-tools.
151
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
152
- */
153
153
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.action': string;
3
9
  'fabric.editor.action.description': string;
@@ -159,10 +165,4 @@ declare const _default: {
159
165
  'fabric.editor.wrapLeft': string;
160
166
  'fabric.editor.wrapRight': string;
161
167
  };
162
- /**
163
- * NOTE:
164
- *
165
- * This file is automatically generated by Traduki 2.0.
166
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
167
- */
168
168
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.addAltText': string;
3
9
  'fabric.editor.addImageBorder': string;
@@ -245,10 +251,4 @@ declare const _default: {
245
251
  'fabric.editor.wrapRight': string;
246
252
  'fabric.emoji.label': string;
247
253
  };
248
- /**
249
- * NOTE:
250
- *
251
- * This file is automatically generated by Traduki 2.0.
252
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
253
- */
254
254
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import type { EditorView } from 'prosemirror-view';
2
2
  import type { EditorPlugin } from '../types/editor-plugin';
3
3
  import type { InsertNodeAPI } from './types';
4
- declare type Props = {
4
+ type Props = {
5
5
  getEditorView: () => EditorView | undefined | null;
6
6
  getEditorPlugins: () => EditorPlugin[];
7
7
  };
@@ -2,7 +2,7 @@ import type { Transaction } from 'prosemirror-state';
2
2
  import type { EditorPlugin } from '../types/editor-plugin';
3
3
  import type { InsertNodeConfig, CreateNodeHandler } from './types';
4
4
  export declare const findCreateNodeHandler: ({ node, editorPlugins, }: Pick<InsertContentProps, 'node' | 'editorPlugins'>) => CreateNodeHandler | null;
5
- declare type InsertContentProps = {
5
+ type InsertContentProps = {
6
6
  editorPlugins: EditorPlugin[];
7
7
  } & InsertNodeConfig;
8
8
  export declare const handleInsertContent: ({ node, options, editorPlugins }: InsertContentProps) => (tr: Transaction) => boolean;
@@ -1,23 +1,23 @@
1
1
  import { Transaction } from 'prosemirror-state';
2
2
  import { Node as PMNode, Fragment, ResolvedPos } from 'prosemirror-model';
3
- declare type Position = {
3
+ type Position = {
4
4
  $from: ResolvedPos;
5
5
  $to: ResolvedPos;
6
6
  };
7
- declare type InsertBlockNodeProps = {
7
+ type InsertBlockNodeProps = {
8
8
  node: PMNode;
9
9
  tr: Transaction;
10
10
  position: Position;
11
11
  };
12
12
  export declare const insertBlockNode: ({ node, tr, position, }: InsertBlockNodeProps) => Transaction;
13
- declare type InsertInlineNodeOrFragmentProps = {
13
+ type InsertInlineNodeOrFragmentProps = {
14
14
  maybeFragment: Fragment | PMNode;
15
15
  tr: Transaction;
16
16
  position: Position;
17
17
  selectInlineNode: boolean;
18
18
  };
19
19
  export declare const insertInlineNodeOrFragment: ({ maybeFragment, tr, position, selectInlineNode, }: InsertInlineNodeOrFragmentProps) => Transaction;
20
- declare type InsertProseMirrorContentProps = {
20
+ type InsertProseMirrorContentProps = {
21
21
  tr: Transaction;
22
22
  node: PMNode | Fragment;
23
23
  position: {
@@ -1,16 +1,16 @@
1
1
  import type { Node as PMNode, Schema } from 'prosemirror-model';
2
2
  import type { AnalyticsEventPayload } from '../plugins/analytics/types/events';
3
- export declare type InsertNodeConfig = {
3
+ export type InsertNodeConfig = {
4
4
  node: 'table';
5
5
  options: {
6
6
  selectNodeInserted: boolean;
7
7
  analyticsPayload?: AnalyticsEventPayload;
8
8
  };
9
9
  };
10
- export declare type InsertNodeAPI = {
10
+ export type InsertNodeAPI = {
11
11
  insert: (props: InsertNodeConfig) => boolean;
12
12
  };
13
- export declare type CreateNodeHandler = ({ nodeName, schema, }: {
13
+ export type CreateNodeHandler = ({ nodeName, schema, }: {
14
14
  nodeName: string;
15
15
  schema: Schema;
16
16
  }) => PMNode;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import * as EditorImports from '../../';
3
- export declare type EditorModule = {
3
+ export type EditorModule = {
4
4
  EditorContext: typeof EditorImports.EditorContext;
5
5
  WithEditorActions: typeof EditorImports.WithEditorActions;
6
6
  } & {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type ContentComponentsProps = {
2
+ type ContentComponentsProps = {
3
3
  disabled?: any;
4
4
  wrapperElement: HTMLElement | null;
5
5
  containerElement: HTMLElement | null;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
3
  import { EditorProps } from '../../types';
4
4
  import EditorActions from '../../actions';
5
- export declare type FullPageProps = EditorProps & {
5
+ export type FullPageProps = EditorProps & {
6
6
  onMount?: (actions: EditorActions) => void;
7
7
  } & WithAnalyticsEventsProps;
8
8
  declare const FullPageWithAnalytics: React.ForwardRefExoticComponent<Omit<FullPageProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
@@ -11,7 +11,7 @@ import { EditorProps } from '../editor-props-type';
11
11
  * Provides access to most commonly used configurations and instances of classes,
12
12
  * that most editor components rely on.
13
13
  */
14
- export declare type EditorSharedConfig = {
14
+ export type EditorSharedConfig = {
15
15
  editorView: EditorView;
16
16
  eventDispatcher: EventDispatcher;
17
17
  dispatch: Dispatch;
@@ -5,7 +5,7 @@ import { Transformer } from '@atlaskit/editor-common/types';
5
5
  import { EditorPlugin } from '../../../types';
6
6
  import { FireAnalyticsCallback } from '../../../plugins/analytics';
7
7
  import { PortalProviderAPI } from '../../../ui/PortalProvider';
8
- export declare type EditorProps = {
8
+ export type EditorProps = {
9
9
  plugins?: Array<EditorPlugin>;
10
10
  transformer?: (schema: Schema) => Transformer<any>;
11
11
  children?: React.ReactChild;
@@ -24,6 +24,6 @@ export declare type EditorProps = {
24
24
  onMount?: (actions: EditorActions) => void;
25
25
  onDestroy?: () => void;
26
26
  };
27
- export declare type EditorPropsExtended = EditorProps & {
27
+ export type EditorPropsExtended = EditorProps & {
28
28
  portalProviderAPI: PortalProviderAPI;
29
29
  };
@@ -7,7 +7,7 @@ import { EditorPropsExtended } from '../../editor-props-type';
7
7
  import { FeatureFlags } from '../../../../../types/feature-flags';
8
8
  import { IntlShape } from 'react-intl-next';
9
9
  export declare function createEditor({ context, onAnalyticsEvent, transformer, providerFactory, plugins, portalProviderAPI, defaultValue, ref, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, editorActions, disabled, onChange, onDestroy, onMount, featureFlags, getIntl, }: CreateEditorParams): EditorSharedConfig | null;
10
- export declare type CreateEditorParams = Pick<EditorPropsExtended, 'defaultValue' | 'plugins' | 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement' | 'onChange' | 'disabled' | 'transformer' | 'onAnalyticsEvent' | 'onDestroy' | 'onMount'> & {
10
+ export type CreateEditorParams = Pick<EditorPropsExtended, 'defaultValue' | 'plugins' | 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement' | 'onChange' | 'disabled' | 'transformer' | 'onAnalyticsEvent' | 'onDestroy' | 'onMount'> & {
11
11
  context: any;
12
12
  ref?: HTMLDivElement | null;
13
13
  providerFactory: ProviderFactory;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { MentionProvider } from '@atlaskit/mention/resource';
3
3
  import { MediaProvider } from '../../../plugins/media';
4
4
  import { EditorPresetProps } from './types';
5
- export declare type EditorPresetCXHTMLProps = {
5
+ export type EditorPresetCXHTMLProps = {
6
6
  children?: React.ReactNode;
7
7
  placeholder?: string;
8
8
  mentionProvider?: Promise<MentionProvider>;
@@ -14,7 +14,7 @@ import { CardOptions } from '@atlaskit/editor-common/card';
14
14
  import { TypeAheadPluginOptions } from '../../../plugins/type-ahead';
15
15
  import { HyperlinkPluginOptions } from '../../../plugins/hyperlink/types';
16
16
  import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
17
- export declare type DefaultPresetPluginOptions = {
17
+ export type DefaultPresetPluginOptions = {
18
18
  paste: PastePluginOptions;
19
19
  base?: BasePluginOptions;
20
20
  blockType?: BlockTypePluginOptions;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { CustomMediaPicker } from '../../../plugins/media';
3
3
  import { EditorPresetProps } from './types';
4
- declare type EditorPresetMobileProps = {
4
+ type EditorPresetMobileProps = {
5
5
  children?: React.ReactNode;
6
6
  placeholder?: string;
7
7
  maxContentSize?: number;
@@ -74,6 +74,6 @@ export declare function useMobilePreset({ media, placeholder, maxContentSize, cr
74
74
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
75
75
  }>];
76
76
  }>, ...import("@atlaskit/editor-common/types").AllEditorPresetPluginTypes[]]>[];
77
- export declare type MobilePresetProps = EditorPresetMobileProps & EditorPresetProps;
77
+ export type MobilePresetProps = EditorPresetMobileProps & EditorPresetProps;
78
78
  export declare function EditorPresetMobile(props: MobilePresetProps): JSX.Element;
79
79
  export {};
@@ -6,7 +6,7 @@ import { EditorSharedPropsWithPlugins } from '../../../types/editor-props';
6
6
  import { FeatureFlags } from '../../../types/feature-flags';
7
7
  import { EditorPluginFeatureProps, EditorProviderProps } from '../../../types/editor-props';
8
8
  import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
9
- declare type UniversalPresetProps = EditorPresetProps & DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & EditorPluginFeatureProps & EditorProviderProps;
9
+ type UniversalPresetProps = EditorPresetProps & DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & EditorPluginFeatureProps & EditorProviderProps;
10
10
  /**
11
11
  * Creates a preset with all of the available plugins.
12
12
  * Basis for create-plugins-list and can be used to migrate from Editor -> EditorNext (Presets project)
@@ -42,8 +42,8 @@ export declare class SelectionBasedNodeView<P = ReactComponentProps> extends Rea
42
42
  */
43
43
  private updatePos;
44
44
  private getPositionsWithDefault;
45
- isNodeInsideSelection: (from: number, to: number, pos?: number | undefined, posEnd?: number | undefined) => boolean;
46
- isSelectionInsideNode: (from: number, to: number, pos?: number | undefined, posEnd?: number | undefined) => boolean;
45
+ isNodeInsideSelection: (from: number, to: number, pos?: number, posEnd?: number) => boolean;
46
+ isSelectionInsideNode: (from: number, to: number, pos?: number, posEnd?: number) => boolean;
47
47
  private isSelectedNode;
48
48
  insideSelection: () => boolean;
49
49
  nodeInsideSelection: () => boolean;
@@ -2,15 +2,15 @@ import React from 'react';
2
2
  import { EditorProps, EditorView } from 'prosemirror-view';
3
3
  import { Node as PMNode } from 'prosemirror-model';
4
4
  import type { PMPluginFactoryParams } from '../types';
5
- export declare type InlineNodeViewComponentProps = {
5
+ export type InlineNodeViewComponentProps = {
6
6
  view: EditorView;
7
7
  getPos: NodeViewParams['getPos'];
8
8
  node: PMNode;
9
9
  };
10
- declare type InlineNodeViewComponent<ExtraComponentProps> = React.ComponentType<InlineNodeViewComponentProps & ExtraComponentProps>;
10
+ type InlineNodeViewComponent<ExtraComponentProps> = React.ComponentType<InlineNodeViewComponentProps & ExtraComponentProps>;
11
11
  export declare const inlineNodeViewClassname = "inlineNodeView";
12
- declare type NodeViewProducer = NonNullable<EditorProps['nodeViews']>[string];
13
- declare type NodeViewParams = {
12
+ type NodeViewProducer = NonNullable<EditorProps['nodeViews']>[string];
13
+ type NodeViewParams = {
14
14
  node: Parameters<NodeViewProducer>[0];
15
15
  view: Parameters<NodeViewProducer>[1];
16
16
  getPos: Parameters<NodeViewProducer>[2];
@@ -2,11 +2,11 @@ import { Node as PMNode } from 'prosemirror-model';
2
2
  export interface ReactNodeProps {
3
3
  selected: boolean;
4
4
  }
5
- export declare type ProsemirrorGetPosHandler = () => number;
6
- export declare type getPosHandler = getPosHandlerNode | boolean;
7
- export declare type getPosHandlerNode = () => number;
8
- export declare type ReactComponentProps = {
5
+ export type ProsemirrorGetPosHandler = () => number;
6
+ export type getPosHandler = getPosHandlerNode | boolean;
7
+ export type getPosHandlerNode = () => number;
8
+ export type ReactComponentProps = {
9
9
  [key: string]: unknown;
10
10
  };
11
- export declare type ForwardRef = (node: HTMLElement | null) => void;
12
- export declare type shouldUpdate = (nextNode: PMNode) => boolean;
11
+ export type ForwardRef = (node: HTMLElement | null) => void;
12
+ export type shouldUpdate = (nextNode: PMNode) => boolean;
@@ -1,4 +1,4 @@
1
1
  import { Command } from '../../../types/command';
2
2
  import { AlignmentState } from '../pm-plugins/types';
3
- export declare const isAlignable: (align?: AlignmentState | undefined) => Command;
4
- export declare const changeAlignment: (align?: AlignmentState | undefined) => Command;
3
+ export declare const isAlignable: (align?: AlignmentState) => Command;
4
+ export declare const changeAlignment: (align?: AlignmentState) => Command;
@@ -1,5 +1,5 @@
1
- export declare type AlignmentState = 'start' | 'end' | 'center';
2
- export declare type AlignmentPluginState = {
1
+ export type AlignmentState = 'start' | 'end' | 'center';
2
+ export type AlignmentPluginState = {
3
3
  align: AlignmentState;
4
4
  isEnabled?: boolean;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type Props = {
2
+ type Props = {
3
3
  alignment: string;
4
4
  };
5
5
  export declare const IconMap: (props: Props) => JSX.Element;
@@ -5,5 +5,5 @@ import { mapActionSubjectIdToAttributes } from '../../analytics-api/map-attribut
5
5
  import { getStateContext, getSelectionType, findInsertLocation } from '../../analytics-api/editor-state-context';
6
6
  export { getStateContext, mapActionSubjectIdToAttributes, getSelectionType, findInsertLocation, };
7
7
  export declare function addAnalytics(state: EditorState, tr: Transaction, payload: AnalyticsEventPayload, channel?: string): Transaction;
8
- export declare type AnalyticsEventPayloadCallback = (state: EditorState) => AnalyticsEventPayload | undefined;
8
+ export type AnalyticsEventPayloadCallback = (state: EditorState) => AnalyticsEventPayload | undefined;
9
9
  export declare function withAnalytics(payload: AnalyticsEventPayload | AnalyticsEventPayloadCallback, channel?: string): HigherOrderCommand;
@@ -3,7 +3,7 @@ import { Command } from '../../../types';
3
3
  import { AnnotationTypes } from '@atlaskit/adf-schema';
4
4
  import { INPUT_METHOD } from '../../analytics';
5
5
  import { InlineCommentMap, InlineCommentMouseData } from '../pm-plugins/types';
6
- export declare const updateInlineCommentResolvedState: (partialNewState: InlineCommentMap, resolveMethod?: RESOLVE_METHOD | undefined) => Command;
6
+ export declare const updateInlineCommentResolvedState: (partialNewState: InlineCommentMap, resolveMethod?: RESOLVE_METHOD) => Command;
7
7
  export declare const closeComponent: () => Command;
8
8
  export declare const clearDirtyMark: () => Command;
9
9
  export declare const removeInlineCommentNearSelection: (id: string) => Command;