@atlaskit/editor-core 188.7.0 → 188.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (690) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/messages.js +1 -2
  3. package/dist/cjs/plugins/status/index.js +3 -3
  4. package/dist/cjs/plugins/status/nodeviews/status.js +4 -3
  5. package/dist/cjs/plugins/status/ui/statusPicker.js +7 -2
  6. package/dist/cjs/ui/ContentStyles/index.js +2 -2
  7. package/dist/cjs/version-wrapper.js +1 -1
  8. package/dist/es2019/messages.js +1 -2
  9. package/dist/es2019/plugins/status/index.js +1 -1
  10. package/dist/es2019/plugins/status/nodeviews/status.js +3 -2
  11. package/dist/es2019/plugins/status/ui/statusPicker.js +6 -2
  12. package/dist/es2019/ui/ContentStyles/index.js +1 -1
  13. package/dist/es2019/version-wrapper.js +1 -1
  14. package/dist/esm/messages.js +1 -2
  15. package/dist/esm/plugins/status/index.js +1 -1
  16. package/dist/esm/plugins/status/nodeviews/status.js +3 -2
  17. package/dist/esm/plugins/status/ui/statusPicker.js +7 -2
  18. package/dist/esm/ui/ContentStyles/index.js +1 -1
  19. package/dist/esm/version-wrapper.js +1 -1
  20. package/dist/types/messages.d.ts +1 -2
  21. package/dist/types/plugins/status/analytics.d.ts +1 -1
  22. package/dist/types/plugins/status/nodeviews/status.d.ts +2 -1
  23. package/dist/types/plugins/status/ui/statusPicker.d.ts +1 -0
  24. package/dist/types/ui/ContentStyles/status.d.ts +1 -0
  25. package/dist/types-ts4.5/actions/index.d.ts +49 -0
  26. package/dist/types-ts4.5/commands/index.d.ts +1 -0
  27. package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +34 -0
  28. package/dist/types-ts4.5/composable-editor/editor.d.ts +9 -0
  29. package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +17 -0
  30. package/dist/types-ts4.5/composable-editor/hooks/useMeasureEditorMountTime.d.ts +13 -0
  31. package/dist/types-ts4.5/composable-editor/hooks/useProviderFactory.d.ts +14 -0
  32. package/dist/types-ts4.5/composable-editor/utils/editorMeasureTTICallback.d.ts +5 -0
  33. package/dist/types-ts4.5/composable-editor/utils/getBaseFontSize.d.ts +6 -0
  34. package/dist/types-ts4.5/composable-editor/utils/getProvidersFromEditorProps.d.ts +9 -0
  35. package/dist/types-ts4.5/composable-editor/utils/handleProviders.d.ts +12 -0
  36. package/dist/types-ts4.5/composable-editor/utils/sendDurationAnalytics.d.ts +15 -0
  37. package/dist/types-ts4.5/composable-editor/utils/trackEditorActions.d.ts +29 -0
  38. package/dist/types-ts4.5/composable-editor.d.ts +1 -0
  39. package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +44 -0
  40. package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +8 -0
  41. package/dist/types-ts4.5/create-editor/ReactEditorViewContext.d.ts +2 -0
  42. package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +119 -0
  43. package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +8 -0
  44. package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +6 -0
  45. package/dist/types-ts4.5/create-editor/consts.d.ts +3 -0
  46. package/dist/types-ts4.5/create-editor/create-editor.d.ts +18 -0
  47. package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +16 -0
  48. package/dist/types-ts4.5/create-editor/create-preset.d.ts +3 -0
  49. package/dist/types-ts4.5/create-editor/create-schema.d.ts +6 -0
  50. package/dist/types-ts4.5/create-editor/feature-flags-from-props.d.ts +7 -0
  51. package/dist/types-ts4.5/create-editor/get-plugins.d.ts +44 -0
  52. package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +3 -0
  53. package/dist/types-ts4.5/create-editor/index.d.ts +3 -0
  54. package/dist/types-ts4.5/create-editor/messages.d.ts +7 -0
  55. package/dist/types-ts4.5/create-editor/preset-utils.d.ts +2 -0
  56. package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +14 -0
  57. package/dist/types-ts4.5/editor.d.ts +10 -0
  58. package/dist/types-ts4.5/element-browser.d.ts +1 -0
  59. package/dist/types-ts4.5/event-dispatcher/index.d.ts +2 -0
  60. package/dist/types-ts4.5/extensibility.d.ts +15 -0
  61. package/dist/types-ts4.5/extensions.d.ts +1 -0
  62. package/dist/types-ts4.5/i18n/cs.d.ts +140 -0
  63. package/dist/types-ts4.5/i18n/da.d.ts +139 -0
  64. package/dist/types-ts4.5/i18n/de.d.ts +139 -0
  65. package/dist/types-ts4.5/i18n/en.d.ts +141 -0
  66. package/dist/types-ts4.5/i18n/en_GB.d.ts +141 -0
  67. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +141 -0
  68. package/dist/types-ts4.5/i18n/es.d.ts +139 -0
  69. package/dist/types-ts4.5/i18n/et.d.ts +168 -0
  70. package/dist/types-ts4.5/i18n/fi.d.ts +139 -0
  71. package/dist/types-ts4.5/i18n/fr.d.ts +139 -0
  72. package/dist/types-ts4.5/i18n/hu.d.ts +139 -0
  73. package/dist/types-ts4.5/i18n/index.d.ts +35 -0
  74. package/dist/types-ts4.5/i18n/is.d.ts +153 -0
  75. package/dist/types-ts4.5/i18n/it.d.ts +139 -0
  76. package/dist/types-ts4.5/i18n/ja.d.ts +139 -0
  77. package/dist/types-ts4.5/i18n/ko.d.ts +139 -0
  78. package/dist/types-ts4.5/i18n/languages.d.ts +38 -0
  79. package/dist/types-ts4.5/i18n/nb.d.ts +139 -0
  80. package/dist/types-ts4.5/i18n/nl.d.ts +139 -0
  81. package/dist/types-ts4.5/i18n/pl.d.ts +139 -0
  82. package/dist/types-ts4.5/i18n/pt_BR.d.ts +139 -0
  83. package/dist/types-ts4.5/i18n/pt_PT.d.ts +180 -0
  84. package/dist/types-ts4.5/i18n/ro.d.ts +153 -0
  85. package/dist/types-ts4.5/i18n/ru.d.ts +139 -0
  86. package/dist/types-ts4.5/i18n/sk.d.ts +168 -0
  87. package/dist/types-ts4.5/i18n/sv.d.ts +139 -0
  88. package/dist/types-ts4.5/i18n/th.d.ts +139 -0
  89. package/dist/types-ts4.5/i18n/tr.d.ts +139 -0
  90. package/dist/types-ts4.5/i18n/uk.d.ts +139 -0
  91. package/dist/types-ts4.5/i18n/vi.d.ts +139 -0
  92. package/dist/types-ts4.5/i18n/zh.d.ts +139 -0
  93. package/dist/types-ts4.5/i18n/zh_TW.d.ts +139 -0
  94. package/dist/types-ts4.5/index.d.ts +46 -0
  95. package/dist/types-ts4.5/keymaps/index.d.ts +2 -0
  96. package/dist/types-ts4.5/labs/CollapsedEditor/index.d.ts +26 -0
  97. package/dist/types-ts4.5/labs/EditorWithActions/index.d.ts +26 -0
  98. package/dist/types-ts4.5/labs/next/presets/default.d.ts +1160 -0
  99. package/dist/types-ts4.5/labs/next/presets/types.d.ts +6 -0
  100. package/dist/types-ts4.5/labs/next/presets/universal.d.ts +21 -0
  101. package/dist/types-ts4.5/labs/next/presets/useUniversalPreset.d.ts +7 -0
  102. package/dist/types-ts4.5/labs-next.d.ts +1 -0
  103. package/dist/types-ts4.5/messages.d.ts +7 -0
  104. package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +2 -0
  105. package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.styles.d.ts +1 -0
  106. package/dist/types-ts4.5/nodeviews/getPerformanceOptions.d.ts +2 -0
  107. package/dist/types-ts4.5/nodeviews/index.d.ts +1 -0
  108. package/dist/types-ts4.5/nodeviews/types.d.ts +12 -0
  109. package/dist/types-ts4.5/plugins/alignment/commands/index.d.ts +4 -0
  110. package/dist/types-ts4.5/plugins/alignment/index.d.ts +5 -0
  111. package/dist/types-ts4.5/plugins/alignment/pm-plugins/keymap.d.ts +2 -0
  112. package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +8 -0
  113. package/dist/types-ts4.5/plugins/alignment/pm-plugins/types.d.ts +5 -0
  114. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +6 -0
  115. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/index.d.ts +33 -0
  116. package/dist/{types/plugins/status/nodeviews → types-ts4.5/plugins/alignment/ui/ToolbarAlignment}/messages.d.ts +8 -3
  117. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +3 -0
  118. package/dist/types-ts4.5/plugins/alignment/utils/index.d.ts +3 -0
  119. package/dist/types-ts4.5/plugins/analytics/consts.d.ts +3 -0
  120. package/dist/types-ts4.5/plugins/analytics/index.d.ts +8 -0
  121. package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +8 -0
  122. package/dist/types-ts4.5/plugins/analytics/plugin.d.ts +29 -0
  123. package/dist/types-ts4.5/plugins/analytics/types/dispatch-analytics-event.d.ts +1 -0
  124. package/dist/types-ts4.5/plugins/analytics/types/enums.d.ts +1 -0
  125. package/dist/types-ts4.5/plugins/analytics/types/events.d.ts +1 -0
  126. package/dist/types-ts4.5/plugins/analytics/types/experimental-events.d.ts +1 -0
  127. package/dist/types-ts4.5/plugins/analytics/types/extension-events.d.ts +2 -0
  128. package/dist/types-ts4.5/plugins/analytics/types/general-events.d.ts +2 -0
  129. package/dist/types-ts4.5/plugins/analytics/types/index.d.ts +9 -0
  130. package/dist/types-ts4.5/plugins/analytics/types/inline-comment-events.d.ts +2 -0
  131. package/dist/types-ts4.5/plugins/analytics/types/link-tool-bar-events.d.ts +1 -0
  132. package/dist/types-ts4.5/plugins/analytics/types/media-events.d.ts +1 -0
  133. package/dist/types-ts4.5/plugins/analytics/types/node-events.d.ts +2 -0
  134. package/dist/types-ts4.5/plugins/analytics/types/selection-events.d.ts +1 -0
  135. package/dist/types-ts4.5/plugins/analytics/types/smart-links.d.ts +2 -0
  136. package/dist/types-ts4.5/plugins/analytics/types/toolbar-button.d.ts +2 -0
  137. package/dist/types-ts4.5/plugins/analytics/utils.d.ts +22 -0
  138. package/dist/types-ts4.5/plugins/annotation/commands/index.d.ts +16 -0
  139. package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +11 -0
  140. package/dist/types-ts4.5/plugins/annotation/index.d.ts +12 -0
  141. package/dist/types-ts4.5/plugins/annotation/nodeviews/index.d.ts +11 -0
  142. package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +3 -0
  143. package/dist/types-ts4.5/plugins/annotation/pm-plugins/keymap.d.ts +2 -0
  144. package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +2 -0
  145. package/dist/types-ts4.5/plugins/annotation/pm-plugins/reducer.d.ts +3 -0
  146. package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +78 -0
  147. package/dist/types-ts4.5/plugins/annotation/toolbar.d.ts +4 -0
  148. package/dist/types-ts4.5/plugins/annotation/types.d.ts +86 -0
  149. package/dist/types-ts4.5/plugins/annotation/ui/AnnotationViewWrapper.d.ts +10 -0
  150. package/dist/types-ts4.5/plugins/annotation/ui/InlineCommentView.d.ts +11 -0
  151. package/dist/types-ts4.5/plugins/annotation/update-provider.d.ts +8 -0
  152. package/dist/types-ts4.5/plugins/annotation/utils.d.ts +40 -0
  153. package/dist/types-ts4.5/plugins/avatar-group/index.d.ts +14 -0
  154. package/dist/types-ts4.5/plugins/avatar-group/messages.d.ts +7 -0
  155. package/dist/types-ts4.5/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +15 -0
  156. package/dist/types-ts4.5/plugins/before-primaryToolbar/index.d.ts +8 -0
  157. package/dist/types-ts4.5/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +5 -0
  158. package/dist/types-ts4.5/plugins/better-type-history/index.d.ts +13 -0
  159. package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/main.d.ts +3 -0
  160. package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/plugin-key.d.ts +2 -0
  161. package/dist/types-ts4.5/plugins/breakout/commands/remove-breakout.d.ts +2 -0
  162. package/dist/types-ts4.5/plugins/breakout/commands/set-breakout-mode.d.ts +3 -0
  163. package/dist/types-ts4.5/plugins/breakout/constants.d.ts +4 -0
  164. package/dist/types-ts4.5/plugins/breakout/index.d.ts +14 -0
  165. package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +5 -0
  166. package/dist/types-ts4.5/plugins/breakout/types.d.ts +4 -0
  167. package/dist/types-ts4.5/plugins/breakout/ui/LayoutButton.d.ts +17 -0
  168. package/dist/types-ts4.5/plugins/breakout/utils/find-breakout-node.d.ts +9 -0
  169. package/dist/types-ts4.5/plugins/breakout/utils/get-breakout-mode.d.ts +7 -0
  170. package/dist/types-ts4.5/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +9 -0
  171. package/dist/types-ts4.5/plugins/breakout/utils/is-supported-node.d.ts +6 -0
  172. package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +7 -0
  173. package/dist/types-ts4.5/plugins/code-bidi-warning/index.d.ts +8 -0
  174. package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +2 -0
  175. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +5 -0
  176. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +8 -0
  177. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +3 -0
  178. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/types.d.ts +6 -0
  179. package/dist/types-ts4.5/plugins/code-block/actions.d.ts +18 -0
  180. package/dist/types-ts4.5/plugins/code-block/ide-ux/bracket-handling.d.ts +12 -0
  181. package/dist/types-ts4.5/plugins/code-block/ide-ux/commands.d.ts +6 -0
  182. package/dist/types-ts4.5/plugins/code-block/ide-ux/line-handling.d.ts +25 -0
  183. package/dist/types-ts4.5/plugins/code-block/ide-ux/paired-character-handling.d.ts +2 -0
  184. package/dist/types-ts4.5/plugins/code-block/ide-ux/quote-handling.d.ts +12 -0
  185. package/dist/types-ts4.5/plugins/code-block/index.d.ts +19 -0
  186. package/dist/types-ts4.5/plugins/code-block/language-list.d.ts +1641 -0
  187. package/dist/types-ts4.5/plugins/code-block/nodeviews/code-block.d.ts +21 -0
  188. package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +2 -0
  189. package/dist/types-ts4.5/plugins/code-block/pm-plugins/actions.d.ts +4 -0
  190. package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +14 -0
  191. package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +5 -0
  192. package/dist/types-ts4.5/plugins/code-block/pm-plugins/input-rule.d.ts +3 -0
  193. package/dist/types-ts4.5/plugins/code-block/pm-plugins/keymaps.d.ts +4 -0
  194. package/dist/types-ts4.5/plugins/code-block/pm-plugins/main-state.d.ts +8 -0
  195. package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +10 -0
  196. package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +5 -0
  197. package/dist/types-ts4.5/plugins/code-block/styles.d.ts +2 -0
  198. package/dist/types-ts4.5/plugins/code-block/toolbar.d.ts +14 -0
  199. package/dist/types-ts4.5/plugins/code-block/transform-to-code-block.d.ts +3 -0
  200. package/dist/types-ts4.5/plugins/code-block/types.d.ts +7 -0
  201. package/dist/types-ts4.5/plugins/code-block/ui/class-names.d.ts +8 -0
  202. package/dist/types-ts4.5/plugins/code-block/utils.d.ts +6 -0
  203. package/dist/types-ts4.5/plugins/collab-edit/actions.d.ts +11 -0
  204. package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +6 -0
  205. package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +24 -0
  206. package/dist/types-ts4.5/plugins/collab-edit/events/initialize.d.ts +16 -0
  207. package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +11 -0
  208. package/dist/types-ts4.5/plugins/collab-edit/get-participants-count.d.ts +2 -0
  209. package/dist/types-ts4.5/plugins/collab-edit/index.d.ts +14 -0
  210. package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +7 -0
  211. package/dist/types-ts4.5/plugins/collab-edit/participants.d.ts +18 -0
  212. package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +3 -0
  213. package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +24 -0
  214. package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +11 -0
  215. package/dist/types-ts4.5/plugins/collab-edit/styles.d.ts +1 -0
  216. package/dist/types-ts4.5/plugins/collab-edit/types.d.ts +8 -0
  217. package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +23 -0
  218. package/dist/types-ts4.5/plugins/collab-edit/ui/avatars.d.ts +12 -0
  219. package/dist/types-ts4.5/plugins/collab-edit/ui/colored-avatar-item.d.ts +7 -0
  220. package/dist/types-ts4.5/plugins/collab-edit/ui/index.d.ts +2 -0
  221. package/dist/types-ts4.5/plugins/collab-edit/ui/invite-to-edit.d.ts +10 -0
  222. package/dist/types-ts4.5/plugins/collab-edit/ui/styles.d.ts +3 -0
  223. package/dist/types-ts4.5/plugins/collab-edit/ui/to-avatar.d.ts +4 -0
  224. package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +18 -0
  225. package/dist/types-ts4.5/plugins/custom-autoformat/doc.d.ts +6 -0
  226. package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +6 -0
  227. package/dist/types-ts4.5/plugins/custom-autoformat/input-rules.d.ts +9 -0
  228. package/dist/types-ts4.5/plugins/custom-autoformat/reducers.d.ts +4 -0
  229. package/dist/types-ts4.5/plugins/custom-autoformat/types.d.ts +31 -0
  230. package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +6 -0
  231. package/dist/types-ts4.5/plugins/data-consumer/index.d.ts +3 -0
  232. package/dist/types-ts4.5/plugins/date/actions.d.ts +64 -0
  233. package/dist/types-ts4.5/plugins/date/index.d.ts +2 -0
  234. package/dist/types-ts4.5/plugins/date/nodeviews/date.d.ts +3 -0
  235. package/dist/types-ts4.5/plugins/date/nodeviews/messages.d.ts +7 -0
  236. package/dist/types-ts4.5/plugins/date/plugin.d.ts +3 -0
  237. package/dist/types-ts4.5/plugins/date/pm-plugins/keymap.d.ts +3 -0
  238. package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +6 -0
  239. package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +3 -0
  240. package/dist/types-ts4.5/plugins/date/pm-plugins/types.d.ts +12 -0
  241. package/dist/types-ts4.5/plugins/date/pm-plugins/utils.d.ts +5 -0
  242. package/dist/types-ts4.5/plugins/date/types.d.ts +31 -0
  243. package/dist/types-ts4.5/plugins/date/ui/DatePicker/date-picker-input.d.ts +24 -0
  244. package/dist/types-ts4.5/plugins/date/ui/DatePicker/index.d.ts +36 -0
  245. package/dist/types-ts4.5/plugins/date/utils/formatParse.d.ts +27 -0
  246. package/dist/types-ts4.5/plugins/date/utils/internal.d.ts +33 -0
  247. package/dist/types-ts4.5/plugins/expand/commands.d.ts +12 -0
  248. package/dist/types-ts4.5/plugins/expand/index.d.ts +24 -0
  249. package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +55 -0
  250. package/dist/types-ts4.5/plugins/expand/pm-plugins/keymap.d.ts +4 -0
  251. package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +8 -0
  252. package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +3 -0
  253. package/dist/types-ts4.5/plugins/expand/reducer.d.ts +3 -0
  254. package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +3 -0
  255. package/dist/types-ts4.5/plugins/expand/types.d.ts +9 -0
  256. package/dist/types-ts4.5/plugins/expand/ui/ExpandIconButton.d.ts +43 -0
  257. package/dist/types-ts4.5/plugins/expand/ui/class-names.d.ts +11 -0
  258. package/dist/types-ts4.5/plugins/expand/ui/styles.d.ts +2 -0
  259. package/dist/types-ts4.5/plugins/expand/utils.d.ts +1 -0
  260. package/dist/types-ts4.5/plugins/extension/actions.d.ts +17 -0
  261. package/dist/types-ts4.5/plugins/extension/commands.d.ts +12 -0
  262. package/dist/types-ts4.5/plugins/extension/context-panel.d.ts +8 -0
  263. package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +10 -0
  264. package/dist/types-ts4.5/plugins/extension/index.d.ts +3 -0
  265. package/dist/types-ts4.5/plugins/extension/nodeviews/extension.d.ts +32 -0
  266. package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +4 -0
  267. package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +3 -0
  268. package/dist/types-ts4.5/plugins/extension/pm-plugins/keymap.d.ts +3 -0
  269. package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +27 -0
  270. package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +3 -0
  271. package/dist/types-ts4.5/plugins/extension/pm-plugins/utils.d.ts +3 -0
  272. package/dist/types-ts4.5/plugins/extension/reducer.d.ts +2 -0
  273. package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +42 -0
  274. package/dist/types-ts4.5/plugins/extension/types.d.ts +22 -0
  275. package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/index.d.ts +109 -0
  276. package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/styles.d.ts +6 -0
  277. package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionComponent.d.ts +51 -0
  278. package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +7 -0
  279. package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/index.d.ts +12 -0
  280. package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +2 -0
  281. package/dist/types-ts4.5/plugins/extension/ui/Extension/Lozenge.d.ts +14 -0
  282. package/dist/types-ts4.5/plugins/extension/ui/Extension/index.d.ts +28 -0
  283. package/dist/types-ts4.5/plugins/extension/ui/Extension/styles.d.ts +8 -0
  284. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +4 -0
  285. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/messages.d.ts +7 -0
  286. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/types.d.ts +11 -0
  287. package/dist/types-ts4.5/plugins/extension/ui/styles.d.ts +1 -0
  288. package/dist/types-ts4.5/plugins/extension/utils.d.ts +10 -0
  289. package/dist/types-ts4.5/plugins/fake-text-cursor/cursor.d.ts +30 -0
  290. package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +7 -0
  291. package/dist/types-ts4.5/plugins/fake-text-cursor/styles.d.ts +1 -0
  292. package/dist/types-ts4.5/plugins/feedback-dialog/getBrowserInfo.d.ts +6 -0
  293. package/dist/types-ts4.5/plugins/feedback-dialog/getDeviceInfo.d.ts +6 -0
  294. package/dist/types-ts4.5/plugins/feedback-dialog/index.d.ts +7 -0
  295. package/dist/types-ts4.5/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +8 -0
  296. package/dist/types-ts4.5/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +17 -0
  297. package/dist/types-ts4.5/plugins/find-replace/actions.d.ts +64 -0
  298. package/dist/types-ts4.5/plugins/find-replace/commands-with-analytics.d.ts +27 -0
  299. package/dist/types-ts4.5/plugins/find-replace/commands.d.ts +12 -0
  300. package/dist/types-ts4.5/plugins/find-replace/index.d.ts +13 -0
  301. package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +3 -0
  302. package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +6 -0
  303. package/dist/types-ts4.5/plugins/find-replace/reducer.d.ts +4 -0
  304. package/dist/types-ts4.5/plugins/find-replace/styles.d.ts +3 -0
  305. package/dist/types-ts4.5/plugins/find-replace/types.d.ts +44 -0
  306. package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +71 -0
  307. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplace.d.ts +43 -0
  308. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +21 -0
  309. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +18 -0
  310. package/dist/types-ts4.5/plugins/find-replace/ui/Replace.d.ts +26 -0
  311. package/dist/types-ts4.5/plugins/find-replace/ui/styles.d.ts +5 -0
  312. package/dist/types-ts4.5/plugins/find-replace/utils/batch-decorations.d.ts +36 -0
  313. package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +49 -0
  314. package/dist/types-ts4.5/plugins/fragment/index.d.ts +3 -0
  315. package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +2 -0
  316. package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +15 -0
  317. package/dist/types-ts4.5/plugins/history/actions.d.ts +8 -0
  318. package/dist/types-ts4.5/plugins/history/index.d.ts +13 -0
  319. package/dist/types-ts4.5/plugins/history/pm-history-types.d.ts +17 -0
  320. package/dist/types-ts4.5/plugins/history/reducer.d.ts +4 -0
  321. package/dist/types-ts4.5/plugins/history/types.d.ts +4 -0
  322. package/dist/types-ts4.5/plugins/history/utils.d.ts +4 -0
  323. package/dist/types-ts4.5/plugins/indentation/commands/index.d.ts +8 -0
  324. package/dist/types-ts4.5/plugins/indentation/commands/utils.d.ts +36 -0
  325. package/dist/types-ts4.5/plugins/indentation/index.d.ts +3 -0
  326. package/dist/types-ts4.5/plugins/indentation/messages.d.ts +12 -0
  327. package/dist/types-ts4.5/plugins/indentation/pm-plugins/keymap.d.ts +3 -0
  328. package/dist/types-ts4.5/plugins/index.d.ts +43 -0
  329. package/dist/types-ts4.5/plugins/insert-block/index.d.ts +16 -0
  330. package/dist/types-ts4.5/plugins/insert-block/types.d.ts +35 -0
  331. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +28 -0
  332. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +18 -0
  333. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +30 -0
  334. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +44 -0
  335. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +16 -0
  336. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +46 -0
  337. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +34 -0
  338. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +1 -0
  339. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +1 -0
  340. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +2 -0
  341. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +1 -0
  342. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +60 -0
  343. package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +5 -0
  344. package/dist/types-ts4.5/plugins/jira-issue/nodeviews/jira-issue.d.ts +7 -0
  345. package/dist/types-ts4.5/plugins/layout/actions.d.ts +22 -0
  346. package/dist/types-ts4.5/plugins/layout/index.d.ts +15 -0
  347. package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +6 -0
  348. package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +3 -0
  349. package/dist/types-ts4.5/plugins/layout/pm-plugins/types.d.ts +14 -0
  350. package/dist/types-ts4.5/plugins/layout/styles.d.ts +4 -0
  351. package/dist/types-ts4.5/plugins/layout/toolbar-messages.d.ts +32 -0
  352. package/dist/types-ts4.5/plugins/layout/toolbar.d.ts +6 -0
  353. package/dist/types-ts4.5/plugins/layout/types.d.ts +13 -0
  354. package/dist/types-ts4.5/plugins/layout/utils.d.ts +1 -0
  355. package/dist/types-ts4.5/plugins/macro/actions.d.ts +8 -0
  356. package/dist/types-ts4.5/plugins/macro/index.d.ts +11 -0
  357. package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +3 -0
  358. package/dist/types-ts4.5/plugins/macro/types.d.ts +4 -0
  359. package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +13 -0
  360. package/dist/types-ts4.5/plugins/mentions/analytics.d.ts +13 -0
  361. package/dist/types-ts4.5/plugins/mentions/index.d.ts +22 -0
  362. package/dist/types-ts4.5/plugins/mentions/messages.d.ts +22 -0
  363. package/dist/types-ts4.5/plugins/mentions/nodeviews/mention.d.ts +9 -0
  364. package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +3 -0
  365. package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +6 -0
  366. package/dist/types-ts4.5/plugins/mentions/pm-plugins/utils.d.ts +4 -0
  367. package/dist/types-ts4.5/plugins/mentions/type-ahead/index.d.ts +17 -0
  368. package/dist/types-ts4.5/plugins/mentions/types.d.ts +24 -0
  369. package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/index.d.ts +22 -0
  370. package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/styles.d.ts +8 -0
  371. package/dist/types-ts4.5/plugins/mentions/ui/Mention/index.d.ts +19 -0
  372. package/dist/types-ts4.5/plugins/mentions/ui/ToolbarMention/index.d.ts +13 -0
  373. package/dist/types-ts4.5/plugins/mentions/utils.d.ts +8 -0
  374. package/dist/types-ts4.5/plugins/mobile-dimensions/actions.d.ts +18 -0
  375. package/dist/types-ts4.5/plugins/mobile-dimensions/commands.d.ts +3 -0
  376. package/dist/types-ts4.5/plugins/mobile-dimensions/index.d.ts +3 -0
  377. package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +5 -0
  378. package/dist/types-ts4.5/plugins/mobile-dimensions/reducer.d.ts +3 -0
  379. package/dist/types-ts4.5/plugins/mobile-dimensions/types.d.ts +8 -0
  380. package/dist/types-ts4.5/plugins/mobile-dimensions/utils.d.ts +2 -0
  381. package/dist/types-ts4.5/plugins/mobile-selection/content-in-selection.d.ts +5 -0
  382. package/dist/types-ts4.5/plugins/mobile-selection/index.d.ts +2 -0
  383. package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +7 -0
  384. package/dist/types-ts4.5/plugins/mobile-selection/types.d.ts +32 -0
  385. package/dist/types-ts4.5/plugins/panel/actions.d.ts +12 -0
  386. package/dist/types-ts4.5/plugins/panel/index.d.ts +17 -0
  387. package/dist/types-ts4.5/plugins/panel/message.d.ts +37 -0
  388. package/dist/types-ts4.5/plugins/panel/nodeviews/panel.d.ts +36 -0
  389. package/dist/types-ts4.5/plugins/panel/pm-plugins/keymaps.d.ts +3 -0
  390. package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +11 -0
  391. package/dist/types-ts4.5/plugins/panel/styles.d.ts +2 -0
  392. package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +14 -0
  393. package/dist/types-ts4.5/plugins/panel/types.d.ts +21 -0
  394. package/dist/types-ts4.5/plugins/panel/utils.d.ts +5 -0
  395. package/dist/types-ts4.5/plugins/paste/actions.d.ts +15 -0
  396. package/dist/types-ts4.5/plugins/paste/commands.d.ts +30 -0
  397. package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +7 -0
  398. package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +18 -0
  399. package/dist/types-ts4.5/plugins/paste/handlers.d.ts +54 -0
  400. package/dist/types-ts4.5/plugins/paste/index.d.ts +25 -0
  401. package/dist/types-ts4.5/plugins/paste/plugins/media.d.ts +12 -0
  402. package/dist/types-ts4.5/plugins/paste/pm-plugins/analytics.d.ts +45 -0
  403. package/dist/types-ts4.5/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +13 -0
  404. package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +10 -0
  405. package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +3 -0
  406. package/dist/types-ts4.5/plugins/paste/reducer.d.ts +3 -0
  407. package/dist/types-ts4.5/plugins/paste/types.d.ts +6 -0
  408. package/dist/types-ts4.5/plugins/paste/util/index.d.ts +21 -0
  409. package/dist/types-ts4.5/plugins/paste/util/tinyMCE.d.ts +32 -0
  410. package/dist/types-ts4.5/plugins/placeholder-text/actions.d.ts +4 -0
  411. package/dist/types-ts4.5/plugins/placeholder-text/index.d.ts +22 -0
  412. package/dist/types-ts4.5/plugins/placeholder-text/placeholder-text-nodeview.d.ts +17 -0
  413. package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +3 -0
  414. package/dist/types-ts4.5/plugins/placeholder-text/selection-utils.d.ts +2 -0
  415. package/dist/types-ts4.5/plugins/placeholder-text/styles.d.ts +1 -0
  416. package/dist/types-ts4.5/plugins/placeholder-text/types.d.ts +7 -0
  417. package/dist/types-ts4.5/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +25 -0
  418. package/dist/types-ts4.5/plugins/rank.d.ts +6 -0
  419. package/dist/types-ts4.5/plugins/save-on-enter/index.d.ts +10 -0
  420. package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +14 -0
  421. package/dist/types-ts4.5/plugins/status/actions.d.ts +16 -0
  422. package/dist/types-ts4.5/plugins/status/analytics.d.ts +4 -0
  423. package/dist/types-ts4.5/plugins/status/index.d.ts +17 -0
  424. package/dist/types-ts4.5/plugins/status/keymap.d.ts +3 -0
  425. package/dist/types-ts4.5/plugins/status/nodeviews/status.d.ts +25 -0
  426. package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +4 -0
  427. package/dist/types-ts4.5/plugins/status/plugin.d.ts +7 -0
  428. package/dist/types-ts4.5/plugins/status/types.d.ts +18 -0
  429. package/dist/types-ts4.5/plugins/status/ui/statusPicker.d.ts +63 -0
  430. package/dist/types-ts4.5/plugins/status/utils.d.ts +5 -0
  431. package/dist/types-ts4.5/plugins/submit-editor/index.d.ts +16 -0
  432. package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +16 -0
  433. package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +6 -0
  434. package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +5 -0
  435. package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +9 -0
  436. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +15 -0
  437. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +76 -0
  438. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +5 -0
  439. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +8 -0
  440. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +5 -0
  441. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +2 -0
  442. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/types.d.ts +8 -0
  443. package/dist/types-ts4.5/plugins/tasks-and-decisions/styles.d.ts +1 -0
  444. package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +26 -0
  445. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Decision/index.d.ts +14 -0
  446. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/index.d.ts +27 -0
  447. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +28 -0
  448. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +20 -0
  449. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +20 -0
  450. package/dist/types-ts4.5/plugins/tasks-and-decisions/utils.d.ts +5 -0
  451. package/dist/types-ts4.5/plugins/text-color/commands/change-color.d.ts +3 -0
  452. package/dist/types-ts4.5/plugins/text-color/commands/remove-color.d.ts +2 -0
  453. package/dist/types-ts4.5/plugins/text-color/commands/toggle-color.d.ts +2 -0
  454. package/dist/types-ts4.5/plugins/text-color/index.d.ts +7 -0
  455. package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +25 -0
  456. package/dist/types-ts4.5/plugins/text-color/types.d.ts +12 -0
  457. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +2 -0
  458. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/index.d.ts +53 -0
  459. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +3 -0
  460. package/dist/types-ts4.5/plugins/text-color/utils/color.d.ts +6 -0
  461. package/dist/types-ts4.5/plugins/text-color/utils/disabled.d.ts +2 -0
  462. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +19 -0
  463. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +17 -0
  464. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/types.d.ts +20 -0
  465. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +4 -0
  466. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +9 -0
  467. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/index.d.ts +24 -0
  468. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +8 -0
  469. package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +61 -0
  470. package/dist/types-ts4.5/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +12 -0
  471. package/dist/types-ts4.5/plugins/type-ahead/commands/update-list-items.d.ts +3 -0
  472. package/dist/types-ts4.5/plugins/type-ahead/commands/update-query.d.ts +2 -0
  473. package/dist/types-ts4.5/plugins/type-ahead/commands/update-selected-index.d.ts +2 -0
  474. package/dist/types-ts4.5/plugins/type-ahead/constants.d.ts +8 -0
  475. package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +15 -0
  476. package/dist/types-ts4.5/plugins/type-ahead/insert-utils.d.ts +18 -0
  477. package/dist/types-ts4.5/plugins/type-ahead/messages.d.ts +72 -0
  478. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/actions.d.ts +9 -0
  479. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +14 -0
  480. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/input-rules.d.ts +6 -0
  481. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +2 -0
  482. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +3 -0
  483. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +14 -0
  484. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/reducer.d.ts +10 -0
  485. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +4 -0
  486. package/dist/types-ts4.5/plugins/type-ahead/stats-modifier.d.ts +20 -0
  487. package/dist/types-ts4.5/plugins/type-ahead/transforms/close-type-ahead.d.ts +2 -0
  488. package/dist/types-ts4.5/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +11 -0
  489. package/dist/types-ts4.5/plugins/type-ahead/transforms/set-selection-before-query.d.ts +2 -0
  490. package/dist/types-ts4.5/plugins/type-ahead/types.d.ts +64 -0
  491. package/dist/types-ts4.5/plugins/type-ahead/ui/AssistiveText.d.ts +33 -0
  492. package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +26 -0
  493. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadList.d.ts +25 -0
  494. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadListItem.d.ts +18 -0
  495. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadPopup.d.ts +29 -0
  496. package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +20 -0
  497. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +7 -0
  498. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-load-items.d.ts +3 -0
  499. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +11 -0
  500. package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +27 -0
  501. package/dist/types-ts4.5/plugins/undo-redo/attach-input-meta.d.ts +5 -0
  502. package/dist/types-ts4.5/plugins/undo-redo/commands.d.ts +4 -0
  503. package/dist/types-ts4.5/plugins/undo-redo/enums.d.ts +4 -0
  504. package/dist/types-ts4.5/plugins/undo-redo/index.d.ts +3 -0
  505. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/keymaps.d.ts +2 -0
  506. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/main.d.ts +2 -0
  507. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +2 -0
  508. package/dist/types-ts4.5/plugins/undo-redo/types.d.ts +7 -0
  509. package/dist/types-ts4.5/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +24 -0
  510. package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +19 -0
  511. package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +12 -0
  512. package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +9 -0
  513. package/dist/types-ts4.5/preset-default.d.ts +1 -0
  514. package/dist/types-ts4.5/preset-universal.d.ts +1 -0
  515. package/dist/types-ts4.5/presets/context.d.ts +15 -0
  516. package/dist/types-ts4.5/stories/examples.d.ts +9 -0
  517. package/dist/types-ts4.5/test-utils.d.ts +40 -0
  518. package/dist/types-ts4.5/types/browser.d.ts +1 -0
  519. package/dist/types-ts4.5/types/command.d.ts +5 -0
  520. package/dist/types-ts4.5/types/dom-at-pos.d.ts +4 -0
  521. package/dist/types-ts4.5/types/editor-appearance-component.d.ts +50 -0
  522. package/dist/types-ts4.5/types/editor-appearance.d.ts +1 -0
  523. package/dist/types-ts4.5/types/editor-config.d.ts +25 -0
  524. package/dist/types-ts4.5/types/editor-instance.d.ts +19 -0
  525. package/dist/types-ts4.5/types/editor-onchange.d.ts +4 -0
  526. package/dist/types-ts4.5/types/editor-plugin.d.ts +1 -0
  527. package/dist/types-ts4.5/types/editor-props.d.ts +262 -0
  528. package/dist/types-ts4.5/types/editor-react-context.d.ts +1 -0
  529. package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -0
  530. package/dist/types-ts4.5/types/extension-config.d.ts +5 -0
  531. package/dist/types-ts4.5/types/feature-flags.d.ts +1 -0
  532. package/dist/types-ts4.5/types/i18n.d.ts +5 -0
  533. package/dist/types-ts4.5/types/index.d.ts +18 -0
  534. package/dist/types-ts4.5/types/performance-tracking.d.ts +1 -0
  535. package/dist/types-ts4.5/types/pm-config.d.ts +1 -0
  536. package/dist/types-ts4.5/types/pm-plugin-list.d.ts +9 -0
  537. package/dist/types-ts4.5/types/pm-plugin.d.ts +1 -0
  538. package/dist/types-ts4.5/types/ui-components.d.ts +1 -0
  539. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +10 -0
  540. package/dist/types-ts4.5/ui/Addon/ClickAreaInline/index.d.ts +8 -0
  541. package/dist/types-ts4.5/ui/Addon/ClickAreaMobile/index.d.ts +31 -0
  542. package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +14 -0
  543. package/dist/types-ts4.5/ui/Addon/Dropdown/styles.d.ts +1 -0
  544. package/dist/types-ts4.5/ui/Addon/DropdownItem/index.d.ts +5 -0
  545. package/dist/types-ts4.5/ui/Addon/DropdownItem/styles.d.ts +1 -0
  546. package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +13 -0
  547. package/dist/types-ts4.5/ui/Addon/index.d.ts +6 -0
  548. package/dist/types-ts4.5/ui/Addon/types.d.ts +17 -0
  549. package/dist/types-ts4.5/ui/Alignment/AlignmentButton/index.d.ts +17 -0
  550. package/dist/types-ts4.5/ui/Alignment/index.d.ts +12 -0
  551. package/dist/types-ts4.5/ui/Alignment/styles.d.ts +1 -0
  552. package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +11 -0
  553. package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +7 -0
  554. package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +9 -0
  555. package/dist/types-ts4.5/ui/Appearance/Comment/index.d.ts +1 -0
  556. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +3 -0
  557. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +39 -0
  558. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +38 -0
  559. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +7 -0
  560. package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +19 -0
  561. package/dist/types-ts4.5/ui/Appearance/FullPage/index.d.ts +1 -0
  562. package/dist/types-ts4.5/ui/Appearance/Mobile.d.ts +3 -0
  563. package/dist/types-ts4.5/ui/AppearanceComponents/Mobile.d.ts +14 -0
  564. package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +11 -0
  565. package/dist/types-ts4.5/ui/ChromeCollapsed/messages.d.ts +7 -0
  566. package/dist/types-ts4.5/ui/ChromeCollapsed/styles.d.ts +1 -0
  567. package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +19 -0
  568. package/dist/types-ts4.5/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +2 -0
  569. package/dist/types-ts4.5/ui/ColorPalette/Palettes/common.d.ts +1 -0
  570. package/dist/types-ts4.5/ui/ColorPalette/Palettes/index.d.ts +2 -0
  571. package/dist/types-ts4.5/ui/ColorPalette/Palettes/paletteMessages.d.ts +2 -0
  572. package/dist/types-ts4.5/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +1 -0
  573. package/dist/types-ts4.5/ui/ColorPalette/Palettes/statusColorPalette.d.ts +1 -0
  574. package/dist/types-ts4.5/ui/ColorPalette/Palettes/textColorPalette.d.ts +1 -0
  575. package/dist/types-ts4.5/ui/ColorPalette/Palettes/type.d.ts +1 -0
  576. package/dist/types-ts4.5/ui/ColorPalette/index.d.ts +3 -0
  577. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +22 -0
  578. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +20 -0
  579. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelLoader.d.ts +5 -0
  580. package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +4 -0
  581. package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/index.d.ts +10 -0
  582. package/dist/types-ts4.5/ui/ConfigPanel/FieldMessages.d.ts +12 -0
  583. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Boolean.d.ts +8 -0
  584. package/dist/types-ts4.5/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +8 -0
  585. package/dist/types-ts4.5/ui/ConfigPanel/Fields/ColorPicker.d.ts +21 -0
  586. package/dist/types-ts4.5/ui/ConfigPanel/Fields/CustomSelect.d.ts +24 -0
  587. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Date.d.ts +20 -0
  588. package/dist/types-ts4.5/ui/ConfigPanel/Fields/DateRange.d.ts +20 -0
  589. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Enum.d.ts +10 -0
  590. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Expand.d.ts +18 -0
  591. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Fieldset.d.ts +20 -0
  592. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Number.d.ts +10 -0
  593. package/dist/types-ts4.5/ui/ConfigPanel/Fields/RadioGroup.d.ts +8 -0
  594. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Select.d.ts +11 -0
  595. package/dist/types-ts4.5/ui/ConfigPanel/Fields/SelectItem.d.ts +5 -0
  596. package/dist/types-ts4.5/ui/ConfigPanel/Fields/String.d.ts +10 -0
  597. package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +15 -0
  598. package/dist/types-ts4.5/ui/ConfigPanel/Fields/UnhandledType.d.ts +6 -0
  599. package/dist/types-ts4.5/ui/ConfigPanel/Fields/UserSelect.d.ts +10 -0
  600. package/dist/types-ts4.5/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +1 -0
  601. package/dist/types-ts4.5/ui/ConfigPanel/FormContent.d.ts +4 -0
  602. package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +16 -0
  603. package/dist/types-ts4.5/ui/ConfigPanel/Header.d.ts +21 -0
  604. package/dist/types-ts4.5/ui/ConfigPanel/LoadingState.d.ts +4 -0
  605. package/dist/types-ts4.5/ui/ConfigPanel/NestedForms/RemovableField.d.ts +19 -0
  606. package/dist/types-ts4.5/ui/ConfigPanel/index.d.ts +2 -0
  607. package/dist/types-ts4.5/ui/ConfigPanel/messages.d.ts +87 -0
  608. package/dist/types-ts4.5/ui/ConfigPanel/transformers.d.ts +9 -0
  609. package/dist/types-ts4.5/ui/ConfigPanel/types.d.ts +40 -0
  610. package/dist/types-ts4.5/ui/ConfigPanel/utils.d.ts +13 -0
  611. package/dist/types-ts4.5/ui/ContentStyles/date.d.ts +1 -0
  612. package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +14 -0
  613. package/dist/types-ts4.5/ui/ContentStyles/media.d.ts +1 -0
  614. package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +41 -0
  615. package/dist/types-ts4.5/ui/EditorContext/index.d.ts +18 -0
  616. package/dist/types-ts4.5/ui/ElementBrowser/InsertMenu.d.ts +4 -0
  617. package/dist/types-ts4.5/ui/ElementBrowser/types.d.ts +22 -0
  618. package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +26 -0
  619. package/dist/types-ts4.5/ui/FloatingToolbar/index.d.ts +28 -0
  620. package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +1 -0
  621. package/dist/types-ts4.5/ui/FloatingToolbar/utils.d.ts +13 -0
  622. package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +12 -0
  623. package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +39 -0
  624. package/dist/types-ts4.5/ui/PluginSlot/mount-plugin-hooks.d.ts +10 -0
  625. package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +3 -0
  626. package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +8 -0
  627. package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +4 -0
  628. package/dist/types-ts4.5/ui/Toolbar/hooks.d.ts +4 -0
  629. package/dist/types-ts4.5/ui/Toolbar/index.d.ts +4 -0
  630. package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +4 -0
  631. package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +34 -0
  632. package/dist/types-ts4.5/ui/Toolbar/types.d.ts +2 -0
  633. package/dist/types-ts4.5/ui/ToolbarButton/index.d.ts +4 -0
  634. package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +27 -0
  635. package/dist/types-ts4.5/ui/ToolbarFeedback/styles.d.ts +6 -0
  636. package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +11 -0
  637. package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +7 -0
  638. package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +18 -0
  639. package/dist/types-ts4.5/ui/WithFlash/index.d.ts +11 -0
  640. package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +13 -0
  641. package/dist/types-ts4.5/ui/WithPluginState/index.d.ts +3 -0
  642. package/dist/types-ts4.5/ui/styles.d.ts +2 -0
  643. package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +2 -0
  644. package/dist/types-ts4.5/use-preset.d.ts +46 -0
  645. package/dist/types-ts4.5/utils/action.d.ts +9 -0
  646. package/dist/types-ts4.5/utils/array.d.ts +1 -0
  647. package/dist/types-ts4.5/utils/clipboard.d.ts +1 -0
  648. package/dist/types-ts4.5/utils/commands.d.ts +14 -0
  649. package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +8 -0
  650. package/dist/types-ts4.5/utils/document-logger.d.ts +6 -0
  651. package/dist/types-ts4.5/utils/document.d.ts +27 -0
  652. package/dist/types-ts4.5/utils/dom.d.ts +2 -0
  653. package/dist/types-ts4.5/utils/editorDeprecationWarnings.d.ts +2 -0
  654. package/dist/types-ts4.5/utils/extensions.d.ts +6 -0
  655. package/dist/types-ts4.5/utils/getAttrsWithChangesRecorder.d.ts +23 -0
  656. package/dist/types-ts4.5/utils/index.d.ts +65 -0
  657. package/dist/types-ts4.5/utils/is-full-page.d.ts +2 -0
  658. package/dist/types-ts4.5/utils/is-text-input.d.ts +2 -0
  659. package/dist/types-ts4.5/utils/node-width.d.ts +7 -0
  660. package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +8 -0
  661. package/dist/types-ts4.5/utils/nodes.d.ts +1 -0
  662. package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +13 -0
  663. package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +16 -0
  664. package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +8 -0
  665. package/dist/types-ts4.5/utils/performance/outlier.d.ts +1 -0
  666. package/dist/types-ts4.5/utils/performance/percentile.d.ts +1 -0
  667. package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +22 -0
  668. package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +48 -0
  669. package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +9 -0
  670. package/dist/types-ts4.5/utils/performance/simple-measure-to-entries.d.ts +28 -0
  671. package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +30 -0
  672. package/dist/types-ts4.5/utils/pick-by.d.ts +2 -0
  673. package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +2 -0
  674. package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +5 -0
  675. package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +16 -0
  676. package/dist/types-ts4.5/utils/react-hooks/use-abortable-effect/index.d.ts +16 -0
  677. package/dist/types-ts4.5/utils/react-hooks/use-state-from-promise/index.d.ts +18 -0
  678. package/dist/types-ts4.5/utils/selection.d.ts +5 -0
  679. package/dist/types-ts4.5/utils/slice.d.ts +2 -0
  680. package/dist/types-ts4.5/utils/step.d.ts +1 -0
  681. package/dist/types-ts4.5/version-wrapper.d.ts +3 -0
  682. package/package.json +4 -4
  683. package/tmp/api-report-tmp.d.ts +791 -0
  684. package/dist/cjs/plugins/status/nodeviews/messages.js +0 -24
  685. package/dist/es2019/plugins/status/nodeviews/messages.js +0 -18
  686. package/dist/esm/plugins/status/nodeviews/messages.js +0 -18
  687. /package/dist/cjs/{plugins/status/styles.js → ui/ContentStyles/status.js} +0 -0
  688. /package/dist/es2019/{plugins/status/styles.js → ui/ContentStyles/status.js} +0 -0
  689. /package/dist/esm/{plugins/status/styles.js → ui/ContentStyles/status.js} +0 -0
  690. /package/dist/{types/plugins/status/styles.d.ts → types-ts4.5/ui/ContentStyles/status.d.ts} +0 -0
@@ -0,0 +1,71 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import type { WrappedComponentProps } from 'react-intl-next';
4
+ import { TRIGGER_METHOD } from '../../analytics/types';
5
+ import type { MatchCaseProps } from '../types';
6
+ export declare const FIND_DEBOUNCE_MS = 100;
7
+ export type FindProps = {
8
+ findText?: string;
9
+ count: {
10
+ index: number;
11
+ total: number;
12
+ };
13
+ shouldFocus: boolean;
14
+ onFindBlur: () => void;
15
+ onFind: (findText?: string) => void;
16
+ onFindNext: ({ triggerMethod, }: {
17
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
18
+ }) => void;
19
+ onFindPrev: ({ triggerMethod, }: {
20
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
21
+ }) => void;
22
+ onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
23
+ onCancel: ({ triggerMethod, }: {
24
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR | TRIGGER_METHOD.BUTTON;
25
+ }) => void;
26
+ onArrowDown: () => void;
27
+ } & MatchCaseProps;
28
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
29
+ findText?: string | undefined;
30
+ count: {
31
+ index: number;
32
+ total: number;
33
+ };
34
+ shouldFocus: boolean;
35
+ onFindBlur: () => void;
36
+ onFind: (findText?: string | undefined) => void;
37
+ onFindNext: ({ triggerMethod, }: {
38
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD;
39
+ }) => void;
40
+ onFindPrev: ({ triggerMethod, }: {
41
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD;
42
+ }) => void;
43
+ onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
44
+ onCancel: ({ triggerMethod, }: {
45
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR;
46
+ }) => void;
47
+ onArrowDown: () => void;
48
+ } & MatchCaseProps & WrappedComponentProps<"intl">>> & {
49
+ WrappedComponent: React.ComponentType<{
50
+ findText?: string | undefined;
51
+ count: {
52
+ index: number;
53
+ total: number;
54
+ };
55
+ shouldFocus: boolean;
56
+ onFindBlur: () => void;
57
+ onFind: (findText?: string | undefined) => void;
58
+ onFindNext: ({ triggerMethod, }: {
59
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD;
60
+ }) => void;
61
+ onFindPrev: ({ triggerMethod, }: {
62
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD;
63
+ }) => void;
64
+ onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
65
+ onCancel: ({ triggerMethod, }: {
66
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR;
67
+ }) => void;
68
+ onArrowDown: () => void;
69
+ } & MatchCaseProps & WrappedComponentProps<"intl">>;
70
+ };
71
+ export default _default;
@@ -0,0 +1,43 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { jsx } from '@emotion/react';
4
+ import { TRIGGER_METHOD, DispatchAnalyticsEvent } from '../../analytics/types';
5
+ import { MatchCaseProps } from '../types';
6
+ export type FindReplaceProps = {
7
+ findText?: string;
8
+ replaceText?: string;
9
+ count: {
10
+ index: number;
11
+ total: number;
12
+ };
13
+ shouldFocus: boolean;
14
+ onFindBlur: () => void;
15
+ onFind: (findText?: string) => void;
16
+ onFindNext: ({ triggerMethod, }: {
17
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
18
+ }) => void;
19
+ onFindPrev: ({ triggerMethod, }: {
20
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
21
+ }) => void;
22
+ onReplace: ({ triggerMethod, replaceText, }: {
23
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
24
+ replaceText: string;
25
+ }) => void;
26
+ onReplaceAll: ({ replaceText }: {
27
+ replaceText: string;
28
+ }) => void;
29
+ onCancel: ({ triggerMethod, }: {
30
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR | TRIGGER_METHOD.BUTTON;
31
+ }) => void;
32
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
33
+ } & MatchCaseProps;
34
+ declare class FindReplace extends React.PureComponent<FindReplaceProps> {
35
+ private findTextfield;
36
+ private replaceTextfield?;
37
+ setFindTextfieldRef: (findTextfieldRef: React.RefObject<HTMLInputElement>) => void;
38
+ setReplaceTextfieldRef: (replaceTextfieldRef: React.RefObject<HTMLInputElement>) => void;
39
+ setFocusToFind: () => void;
40
+ setFocusToReplace: () => void;
41
+ render(): jsx.JSX.Element;
42
+ }
43
+ export default FindReplace;
@@ -0,0 +1,21 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import type { WrappedComponentProps } from 'react-intl-next';
4
+ import type { FindReplaceProps } from './FindReplace';
5
+ import type { DispatchAnalyticsEvent } from '../../analytics/types';
6
+ export interface FindReplaceToolbarButtonProps extends Omit<FindReplaceProps, 'count'> {
7
+ index: number;
8
+ numMatches: number;
9
+ isActive: boolean;
10
+ onActivate: () => void;
11
+ isReducedSpacing?: boolean;
12
+ popupsMountPoint?: HTMLElement;
13
+ popupsBoundariesElement?: HTMLElement;
14
+ popupsScrollableElement?: HTMLElement;
15
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
16
+ takeFullWidth: boolean;
17
+ }
18
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<FindReplaceToolbarButtonProps & WrappedComponentProps<"intl">>> & {
19
+ WrappedComponent: React.ComponentType<FindReplaceToolbarButtonProps & WrappedComponentProps<"intl">>;
20
+ };
21
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ title: string;
4
+ icon: JSX.Element;
5
+ keymapDescription: string;
6
+ onClick: (ref: React.RefObject<HTMLButtonElement>) => void;
7
+ disabled?: boolean;
8
+ isPressed?: boolean;
9
+ }
10
+ export declare class FindReplaceTooltipButton extends React.PureComponent<Props> {
11
+ private buttonRef;
12
+ static defaultProps: {
13
+ keymapDescription: string;
14
+ };
15
+ handleClick: () => void;
16
+ render(): JSX.Element;
17
+ }
18
+ export {};
@@ -0,0 +1,26 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
+ import { TRIGGER_METHOD, DispatchAnalyticsEvent } from '../../analytics/types';
5
+ export type ReplaceProps = {
6
+ canReplace: boolean;
7
+ replaceText?: string;
8
+ onReplace: ({ triggerMethod, replaceText, }: {
9
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
10
+ replaceText: string;
11
+ }) => void;
12
+ onReplaceAll: ({ replaceText }: {
13
+ replaceText: string;
14
+ }) => void;
15
+ onReplaceTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
16
+ onArrowUp: () => void;
17
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
18
+ };
19
+ export type ReplaceState = {
20
+ replaceText: string;
21
+ isComposing: boolean;
22
+ };
23
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<ReplaceProps & WrappedComponentProps<"intl">>> & {
24
+ WrappedComponent: React.ComponentType<ReplaceProps & WrappedComponentProps<"intl">>;
25
+ };
26
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare const replaceSectionButtonStyles: import("@emotion/react").SerializedStyles;
2
+ export declare const ruleStyles: import("@emotion/react").SerializedStyles;
3
+ export declare const wrapperStyles: import("@emotion/react").SerializedStyles;
4
+ export declare const sectionWrapperStyles: import("@emotion/react").SerializedStyles;
5
+ export declare const countStyles: import("@emotion/react").SerializedStyles;
@@ -0,0 +1,36 @@
1
+ import type { EditorView, Decoration } from '@atlaskit/editor-prosemirror/view';
2
+ /**
3
+ * Provides support for applying search match highlight decorations in batches
4
+ */
5
+ declare class BatchDecorations {
6
+ private rafId?;
7
+ private addDecorations?;
8
+ private removeDecorations?;
9
+ stop(): void;
10
+ /**
11
+ * Applies the decorations needed for the current search results
12
+ * It does so async, splitting them up into batches to help with performance
13
+ */
14
+ applyAllSearchDecorations(editorView: EditorView, containerElement: HTMLElement | null, addDecorations: (decorations: Decoration[]) => void, removeDecorations: (decorations: Decoration[]) => void): Promise<void>;
15
+ private updateDecorationsBetween;
16
+ private addDecorationsBetween;
17
+ private removeDecorationsBetween;
18
+ /**
19
+ * Calculates Prosemirror start and end positions we want to apply the decorations
20
+ * between
21
+ * Also calculates the positions the are the start and end of the user's viewport
22
+ * so we can apply decorations there first and work outwards
23
+ */
24
+ private calcDecorationPositions;
25
+ private getStartPos;
26
+ private getEndPos;
27
+ /**
28
+ * Util to batch function calls by animation frames
29
+ * A counter will start at 0 and increment by provided value until reaches limit
30
+ * Passed in fn receives the counter as a param, return false to skip waiting
31
+ * for the animation frame for the next call
32
+ */
33
+ private batchRequests;
34
+ }
35
+ declare const batchDecorations: BatchDecorations;
36
+ export default batchDecorations;
@@ -0,0 +1,49 @@
1
+ import type { Fragment, Node as PmNode, Slice } from '@atlaskit/editor-prosemirror/model';
2
+ import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
3
+ import { Decoration } from '@atlaskit/editor-prosemirror/view';
4
+ import type { ReadonlyTransaction, Selection } from '@atlaskit/editor-prosemirror/state';
5
+ import { TextSelection } from '@atlaskit/editor-prosemirror/state';
6
+ import type { Step } from '@atlaskit/editor-prosemirror/transform';
7
+ import type { Match } from '../types';
8
+ export declare function getSelectedText(selection: TextSelection): string;
9
+ export declare const createDecorations: (selectedIndex: number, matches: {
10
+ start: number;
11
+ end: number;
12
+ }[]) => Decoration[];
13
+ export declare const createDecoration: (start: number, end: number, isSelected?: boolean) => Decoration;
14
+ export declare function findMatches(content: PmNode | Fragment, searchText: string, shouldMatchCase: boolean, contentIndex?: number): Match[];
15
+ /**
16
+ * Finds index of first item in matches array that comes after user's cursor pos.
17
+ * If `backward` is `true`, finds index of first item that comes before instead.
18
+ */
19
+ export declare function findSearchIndex(selectionPos: number, matches: Match[], backward?: boolean): number;
20
+ export declare const nextIndex: (currentIndex: number, total: number) => number;
21
+ export declare const prevIndex: (currentIndex: number, total: number) => number;
22
+ export declare const getSelectionForMatch: (selection: Selection, doc: PmNode, index: number, matches: Match[], offset?: number) => Selection;
23
+ export declare const findDecorationFromMatch: (decorationSet: DecorationSet, match: Match) => Decoration | undefined;
24
+ export declare const removeDecorationsFromSet: (decorationSet: DecorationSet, decorationsToRemove: Decoration[], doc: PmNode) => DecorationSet;
25
+ export declare const removeMatchesFromSet: (decorationSet: DecorationSet, matches: Match[], doc: PmNode) => DecorationSet;
26
+ /**
27
+ * Finds decorations in prevDecorations that are not in newDecorations or decorationsToRemove
28
+ * These decorations have been lost by Prosemirror during an over eager decoration removal
29
+ * We need to be smart to cope with thousands of decorations without crashing everything
30
+ */
31
+ export declare const findLostAdjacentDecorations: (decorationsToRemove: Decoration[], prevDecorations: Decoration[], newDecorations: Decoration[]) => Decoration[];
32
+ /**
33
+ * Searches through array in bumps of 100 to return the index of the first
34
+ * decoration whose 'from' value is before or equal to the position
35
+ */
36
+ export declare const findIndexBeforePosition: (items: Decoration[], position: number) => number;
37
+ /**
38
+ * Determines whether a find/replace text Match will be changed as a result
39
+ * of a Step modification to the document. This is evaluated by checking
40
+ * both mapped and unmapped versions of the Step as in different cases the
41
+ * matches will match.
42
+ *
43
+ * **Note:** Match state received here is after step has been applied.
44
+ */
45
+ export declare const isMatchAffectedByStep: (match: Match, step: Step & {
46
+ from: number;
47
+ to: number;
48
+ slice: Slice;
49
+ }, tr: ReadonlyTransaction) => boolean;
@@ -0,0 +1,3 @@
1
+ import { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
+ declare const fragmentMarkPlugin: NextEditorPlugin<'fragmentPlugin'>;
3
+ export default fragmentMarkPlugin;
@@ -0,0 +1,2 @@
1
+ import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
+ export declare const pluginKey: PluginKey<any>;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This plugin ensures that certain nodes (such as tables, and various extension ones)
3
+ * have a unique `localId` attribute value for `fragment` marks.
4
+ * It also ensures the preservation of these IDs when nodes are being cut-and-pasted
5
+ * around the document.
6
+ *
7
+ * The implementation has been _heavily_ borrowed from
8
+ * - packages/editor/editor-core/src/plugins/table/pm-plugins/table-local-id.ts
9
+ */
10
+ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
11
+ import type { Dispatch } from '../../../event-dispatcher';
12
+ /**
13
+ * Ensures presence of `fragment` mark on certain node types and the uniqueness of their `localId` attributes
14
+ */
15
+ export declare const createPlugin: (dispatch: Dispatch) => SafePlugin<any>;
@@ -0,0 +1,8 @@
1
+ export declare enum HistoryActionTypes {
2
+ UPDATE = "UPDATE"
3
+ }
4
+ export interface HistoryAction {
5
+ type: HistoryActionTypes.UPDATE;
6
+ canUndo: boolean;
7
+ canRedo: boolean;
8
+ }
@@ -0,0 +1,13 @@
1
+ import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
3
+ import type { HistoryPluginState } from './types';
4
+ /**
5
+ * Plugin that keeps track of whether undo and redo are currently available
6
+ * This is needed so we can enable/disable controls appropriately
7
+ *
8
+ * Actual undo/redo functionality is handled by prosemirror-history:
9
+ * https://github.com/ProseMirror/prosemirror-history
10
+ */
11
+ export declare const historyPluginKey: PluginKey<HistoryPluginState>;
12
+ declare const historyPlugin: NextEditorPlugin<'history'>;
13
+ export default historyPlugin;
@@ -0,0 +1,17 @@
1
+ import type { StepMap, Step } from '@atlaskit/editor-prosemirror/transform';
2
+ export interface PmHistoryItem {
3
+ map: StepMap;
4
+ step: Step;
5
+ }
6
+ export interface PmHistoryLeaf {
7
+ values: PmHistoryItem[];
8
+ length: number;
9
+ }
10
+ export interface PmHistoryBranch {
11
+ items: PmHistoryLeaf;
12
+ eventCount: number;
13
+ }
14
+ export interface PmHistoryPluginState {
15
+ done: PmHistoryBranch;
16
+ undone: PmHistoryBranch;
17
+ }
@@ -0,0 +1,4 @@
1
+ import { HistoryAction } from './actions';
2
+ import { HistoryPluginState } from './types';
3
+ declare const reducer: (state: HistoryPluginState, action: HistoryAction) => HistoryPluginState;
4
+ export default reducer;
@@ -0,0 +1,4 @@
1
+ export interface HistoryPluginState {
2
+ canUndo: boolean;
3
+ canRedo: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type { Plugin, EditorState } from '@atlaskit/editor-prosemirror/state';
2
+ import type { PmHistoryPluginState } from './pm-history-types';
3
+ export declare const getPmHistoryPlugin: (state: EditorState) => Plugin | undefined;
4
+ export declare const getPmHistoryPluginState: (state: EditorState) => PmHistoryPluginState | undefined;
@@ -0,0 +1,8 @@
1
+ import type { Node as PmNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Command } from '../../../types/command';
3
+ import type { IndentationInputMethod } from './utils';
4
+ export declare const MAX_INDENTATION_LEVEL = 6;
5
+ export declare const isIndentationAllowed: (schema: Schema, node: PmNode) => boolean;
6
+ export declare const getIndentCommand: (inputMethod?: IndentationInputMethod) => Command;
7
+ export declare const getOutdentCommand: (inputMethod?: IndentationInputMethod) => Command;
8
+ export declare const removeIndentation: Command;
@@ -0,0 +1,36 @@
1
+ import type { IndentationMarkAttributes } from '@atlaskit/adf-schema';
2
+ import type { INDENT_DIRECTION, INPUT_METHOD } from '../../analytics';
3
+ import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
4
+ import type { GetAttrsChange } from '../../../utils/getAttrsWithChangesRecorder';
5
+ export type PrevAttributes = IndentationMarkAttributes | undefined;
6
+ export type NewAttributes = IndentationMarkAttributes | undefined | false;
7
+ export type IndentationChangesOptions = {
8
+ direction: INDENT_DIRECTION;
9
+ };
10
+ export type IndentationInputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
11
+ /**
12
+ * Get the current indentation level given prev and new attributes
13
+ * @param prevAttrs - Previous attributes from indentation
14
+ * @param newAttrs - New attributes from indentation
15
+ */
16
+ export declare function getNewIndentLevel(prevAttrs: PrevAttributes, newAttrs: NewAttributes): number;
17
+ /**
18
+ * Get the previous indentation level prev attributes
19
+ * @param prevAttrs - Previous attributes from indentation
20
+ */
21
+ export declare function getPrevIndentLevel(prevAttrs: PrevAttributes): number;
22
+ /**
23
+ * Create a new dispatch function who add analytics events given a list of attributes changes
24
+ *
25
+ * @export
26
+ * @param {*} getAttrsChanges
27
+ * @param {*} state
28
+ * @param dispatch
29
+ * @returns
30
+ */
31
+ export declare function createAnalyticsDispatch({ getAttrsChanges, inputMethod, state, dispatch, }: {
32
+ getAttrsChanges: () => GetAttrsChange<IndentationMarkAttributes, IndentationChangesOptions>[];
33
+ inputMethod: IndentationInputMethod;
34
+ state: EditorState;
35
+ dispatch?: (tr: Transaction) => void;
36
+ }): (tr: Transaction) => void;
@@ -0,0 +1,3 @@
1
+ import { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
+ declare const indentationPlugin: NextEditorPlugin<'indentation'>;
3
+ export default indentationPlugin;
@@ -0,0 +1,12 @@
1
+ export declare const messages: {
2
+ indent: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ description: string;
6
+ };
7
+ outdent: {
8
+ id: string;
9
+ defaultMessage: string;
10
+ description: string;
11
+ };
12
+ };
@@ -0,0 +1,3 @@
1
+ import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
+ export declare function keymapPlugin(): SafePlugin | undefined;
3
+ export default keymapPlugin;
@@ -0,0 +1,43 @@
1
+ export { default as betterTypeHistoryPlugin } from './better-type-history';
2
+ export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
3
+ export { default as codeBlockPlugin } from './code-block';
4
+ export { default as collabEditPlugin } from './collab-edit';
5
+ export { datePlugin } from './date';
6
+ export { default as extensionPlugin } from './extension';
7
+ export { default as fakeTextCursorPlugin } from './fake-text-cursor';
8
+ export { default as insertBlockPlugin } from './insert-block';
9
+ export { default as jiraIssuePlugin } from './jira-issue';
10
+ export { default as layoutPlugin } from './layout';
11
+ export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
12
+ export { default as macroPlugin } from './macro';
13
+ export { default as maxContentSizePlugin } from './max-content-size';
14
+ export { default as mentionsPlugin } from './mentions';
15
+ export { default as panelPlugin } from './panel';
16
+ export { default as pastePlugin } from './paste';
17
+ export { default as placeholderTextPlugin } from './placeholder-text';
18
+ export { default as saveOnEnterPlugin } from './save-on-enter';
19
+ export { default as submitEditorPlugin } from './submit-editor';
20
+ export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
21
+ export { default as textColorPlugin } from './text-color';
22
+ export { default as typeAheadPlugin } from './type-ahead';
23
+ export { default as statusPlugin } from './status';
24
+ export { default as breakoutPlugin } from './breakout';
25
+ export { default as alignmentPlugin } from './alignment';
26
+ export { default as dataConsumerMarkPlugin } from './data-consumer';
27
+ export { default as fragmentMarkPlugin } from './fragment';
28
+ export { default as indentationPlugin } from './indentation';
29
+ export { default as annotationPlugin } from './annotation';
30
+ export { default as analyticsPlugin } from './analytics';
31
+ export { default as customAutoformatPlugin } from './custom-autoformat';
32
+ export { default as feedbackDialogPlugin } from './feedback-dialog';
33
+ export { default as historyPlugin } from './history';
34
+ export { default as expandPlugin, isExpandInsertionEnabled } from './expand';
35
+ export { default as scrollIntoViewPlugin } from './scroll-into-view';
36
+ export { default as mobileDimensionsPlugin } from './mobile-dimensions';
37
+ export { default as findReplacePlugin } from './find-replace';
38
+ export { default as mobileSelectionPlugin } from './mobile-selection';
39
+ export { default as undoRedoPlugin } from './undo-redo';
40
+ export { default as avatarGroupPlugin } from './avatar-group';
41
+ export { default as viewUpdateSubscriptionPlugin } from './view-update-subscription';
42
+ export { default as beforePrimaryToolbarPlugin } from './before-primaryToolbar';
43
+ export { default as codeBidiWarningPlugin } from './code-bidi-warning';
@@ -0,0 +1,16 @@
1
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
+ import type { InsertBlockPluginDependencies } from './types';
3
+ export interface InsertBlockOptions {
4
+ allowTables?: boolean;
5
+ allowExpand?: boolean;
6
+ insertMenuItems?: any;
7
+ horizontalRuleEnabled?: boolean;
8
+ nativeStatusSupported?: boolean;
9
+ replacePlusMenuWithElementBrowser?: boolean;
10
+ showElementBrowserLink?: boolean;
11
+ }
12
+ declare const insertBlockPlugin: NextEditorPlugin<'insertBlock', {
13
+ pluginConfiguration: InsertBlockOptions | undefined;
14
+ dependencies: InsertBlockPluginDependencies;
15
+ }>;
16
+ export default insertBlockPlugin;
@@ -0,0 +1,35 @@
1
+ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
2
+ import type { ImageUploadPlugin } from '@atlaskit/editor-plugin-image-upload';
3
+ import type { EmojiPlugin } from '@atlaskit/editor-plugin-emoji';
4
+ import type { DatePlugin } from '../date';
5
+ import type { tablesPlugin } from '@atlaskit/editor-plugin-table';
6
+ import type { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
7
+ import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
8
+ import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
9
+ import type mentionsPlugin from '../mentions';
10
+ import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
11
+ import type { BlockTypePlugin } from '@atlaskit/editor-plugin-block-type';
12
+ import type codeBlockPlugin from '../code-block';
13
+ import type panelPlugin from '../panel';
14
+ import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
15
+ import type { MediaPlugin } from '@atlaskit/editor-plugin-media';
16
+ import type { MentionPlugin } from '../mentions';
17
+ import type { StatusPlugin } from '../status';
18
+ export type InsertBlockPluginDependencies = [
19
+ FeatureFlagsPlugin,
20
+ OptionalPlugin<typeof tablesPlugin>,
21
+ OptionalPlugin<typeof hyperlinkPlugin>,
22
+ OptionalPlugin<DatePlugin>,
23
+ OptionalPlugin<BlockTypePlugin>,
24
+ OptionalPlugin<typeof analyticsPlugin>,
25
+ OptionalPlugin<ImageUploadPlugin>,
26
+ OptionalPlugin<typeof mentionsPlugin>,
27
+ OptionalPlugin<EmojiPlugin>,
28
+ OptionalPlugin<QuickInsertPlugin>,
29
+ OptionalPlugin<RulePlugin>,
30
+ OptionalPlugin<typeof codeBlockPlugin>,
31
+ OptionalPlugin<typeof panelPlugin>,
32
+ OptionalPlugin<MediaPlugin>,
33
+ OptionalPlugin<MentionPlugin>,
34
+ OptionalPlugin<StatusPlugin>
35
+ ];
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
+ import type { BlockMenuItem } from './create-items';
4
+ import type { OnInsert } from '../../../../ui/ElementBrowser/types';
5
+ import type { PluginInjectionAPIWithDependencies } from '@atlaskit/editor-common/types';
6
+ import type { InsertBlockPluginDependencies } from '../../types';
7
+ type SimpleEventHandler<T> = (event?: T) => void;
8
+ export interface BlockInsertElementBrowserProps {
9
+ disabled: boolean;
10
+ editorView: EditorView;
11
+ items: BlockMenuItem[];
12
+ spacing: 'none' | 'default';
13
+ label: string;
14
+ open: boolean;
15
+ popupsBoundariesElement?: HTMLElement;
16
+ popupsMountPoint?: HTMLElement;
17
+ popupsScrollableElement?: HTMLElement;
18
+ plusButtonRef?: HTMLElement;
19
+ showElementBrowserLink: boolean;
20
+ onRef(el: HTMLElement): void;
21
+ onClick: React.MouseEventHandler;
22
+ onKeyDown?: React.KeyboardEventHandler;
23
+ onInsert: OnInsert;
24
+ togglePlusMenuVisibility: SimpleEventHandler<MouseEvent | KeyboardEvent>;
25
+ pluginInjectionApi: PluginInjectionAPIWithDependencies<InsertBlockPluginDependencies> | undefined;
26
+ }
27
+ export declare const BlockInsertElementBrowser: React.FC<BlockInsertElementBrowserProps>;
28
+ export {};
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import type { BlockMenuItem } from './create-items';
3
+ export interface BlockInsertMenuLegacyProps {
4
+ disabled: boolean;
5
+ spacing: 'none' | 'default';
6
+ label: string;
7
+ open: boolean;
8
+ items: BlockMenuItem[];
9
+ popupsMountPoint?: HTMLElement;
10
+ popupsBoundariesElement?: HTMLElement;
11
+ popupsScrollableElement?: HTMLElement;
12
+ onClick: React.MouseEventHandler;
13
+ onKeyDown?: React.KeyboardEventHandler;
14
+ onRef(el: HTMLElement): void;
15
+ onItemActivated(attrs: any): void;
16
+ onOpenChange(attrs: any): void;
17
+ }
18
+ export declare const BlockInsertMenuLegacy: React.FC<BlockInsertMenuLegacyProps>;
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
+ import type { OnInsert } from '../../../../ui/ElementBrowser/types';
4
+ import type { BlockMenuItem } from './create-items';
5
+ import type { PluginInjectionAPIWithDependencies } from '@atlaskit/editor-common/types';
6
+ import type { InsertBlockPluginDependencies } from '../../types';
7
+ export interface BlockInsertMenuProps {
8
+ disabled: boolean;
9
+ editorView: EditorView;
10
+ items: BlockMenuItem[];
11
+ label: string;
12
+ open: boolean;
13
+ plusButtonRef?: HTMLElement;
14
+ popupsBoundariesElement?: HTMLElement;
15
+ popupsMountPoint?: HTMLElement;
16
+ popupsScrollableElement?: HTMLElement;
17
+ replacePlusMenuWithElementBrowser: boolean;
18
+ spacing: 'none' | 'default';
19
+ showElementBrowserLink: boolean;
20
+ onRef(el: HTMLElement): void;
21
+ onPlusButtonRef(el: HTMLElement): void;
22
+ onClick: React.MouseEventHandler;
23
+ onItemActivated(attrs: any): void;
24
+ onInsert: OnInsert;
25
+ onOpenChange(attrs: any): void;
26
+ togglePlusMenuVisibility(): void;
27
+ onKeyDown?: React.KeyboardEventHandler;
28
+ pluginInjectionApi: PluginInjectionAPIWithDependencies<InsertBlockPluginDependencies> | undefined;
29
+ }
30
+ export declare const BlockInsertMenu: React.FC<BlockInsertMenuProps>;