@atlaskit/editor-core 188.3.1 → 188.5.0

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 (782) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/labs/next/presets/universal.js +4 -2
  3. package/dist/cjs/plugins/date/actions.js +14 -8
  4. package/dist/cjs/plugins/date/index.js +5 -179
  5. package/dist/cjs/plugins/date/plugin.js +191 -0
  6. package/dist/cjs/plugins/date/pm-plugins/main.js +5 -5
  7. package/dist/cjs/plugins/date/ui/DatePicker/date-picker-input.js +14 -14
  8. package/dist/cjs/plugins/date/ui/DatePicker/index.js +4 -5
  9. package/dist/cjs/plugins/index.js +2 -9
  10. package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +38 -39
  11. package/dist/cjs/plugins/mentions/index.js +31 -21
  12. package/dist/cjs/plugins/mentions/ui/ToolbarMention/index.js +1 -3
  13. package/dist/cjs/plugins/placeholder-text/index.js +9 -9
  14. package/dist/cjs/plugins/type-ahead/api.js +8 -26
  15. package/dist/cjs/plugins/type-ahead/index.js +135 -4
  16. package/dist/cjs/plugins/undo-redo/index.js +10 -8
  17. package/dist/cjs/plugins/undo-redo/types.js +5 -0
  18. package/dist/cjs/plugins/undo-redo/ui/ToolbarUndoRedo/index.js +10 -9
  19. package/dist/cjs/test-utils.js +0 -7
  20. package/dist/cjs/ui/ContentStyles/index.js +2 -2
  21. package/dist/cjs/version-wrapper.js +1 -1
  22. package/dist/es2019/labs/next/presets/universal.js +3 -1
  23. package/dist/es2019/plugins/date/actions.js +24 -17
  24. package/dist/es2019/plugins/date/index.js +1 -173
  25. package/dist/es2019/plugins/date/plugin.js +177 -0
  26. package/dist/es2019/plugins/date/pm-plugins/main.js +1 -1
  27. package/dist/es2019/plugins/date/ui/DatePicker/date-picker-input.js +3 -2
  28. package/dist/es2019/plugins/date/ui/DatePicker/index.js +2 -2
  29. package/dist/es2019/plugins/index.js +2 -3
  30. package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/index.js +5 -7
  31. package/dist/es2019/plugins/mentions/index.js +30 -22
  32. package/dist/es2019/plugins/mentions/ui/ToolbarMention/index.js +2 -5
  33. package/dist/es2019/plugins/placeholder-text/index.js +8 -8
  34. package/dist/es2019/plugins/type-ahead/api.js +9 -28
  35. package/dist/es2019/plugins/type-ahead/index.js +140 -5
  36. package/dist/es2019/plugins/undo-redo/index.js +5 -2
  37. package/dist/es2019/plugins/undo-redo/types.js +1 -0
  38. package/dist/es2019/plugins/undo-redo/ui/ToolbarUndoRedo/index.js +10 -9
  39. package/dist/es2019/test-utils.js +0 -1
  40. package/dist/es2019/ui/ContentStyles/index.js +1 -1
  41. package/dist/es2019/version-wrapper.js +1 -1
  42. package/dist/esm/labs/next/presets/universal.js +3 -1
  43. package/dist/esm/plugins/date/actions.js +14 -8
  44. package/dist/esm/plugins/date/index.js +1 -175
  45. package/dist/esm/plugins/date/plugin.js +179 -0
  46. package/dist/esm/plugins/date/pm-plugins/main.js +1 -1
  47. package/dist/esm/plugins/date/ui/DatePicker/date-picker-input.js +3 -2
  48. package/dist/esm/plugins/date/ui/DatePicker/index.js +2 -2
  49. package/dist/esm/plugins/index.js +2 -3
  50. package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +32 -33
  51. package/dist/esm/plugins/mentions/index.js +32 -22
  52. package/dist/esm/plugins/mentions/ui/ToolbarMention/index.js +2 -5
  53. package/dist/esm/plugins/placeholder-text/index.js +9 -9
  54. package/dist/esm/plugins/type-ahead/api.js +9 -27
  55. package/dist/esm/plugins/type-ahead/index.js +136 -5
  56. package/dist/esm/plugins/undo-redo/index.js +10 -8
  57. package/dist/esm/plugins/undo-redo/types.js +1 -0
  58. package/dist/esm/plugins/undo-redo/ui/ToolbarUndoRedo/index.js +10 -9
  59. package/dist/esm/test-utils.js +0 -1
  60. package/dist/esm/ui/ContentStyles/index.js +1 -1
  61. package/dist/esm/version-wrapper.js +1 -1
  62. package/dist/types/labs/next/presets/default.d.ts +228 -18
  63. package/dist/types/plugins/date/actions.d.ts +42 -6
  64. package/dist/types/plugins/date/index.d.ts +2 -14
  65. package/dist/types/plugins/date/plugin.d.ts +3 -0
  66. package/dist/types/plugins/date/pm-plugins/main.d.ts +2 -2
  67. package/dist/types/plugins/date/types.d.ts +18 -0
  68. package/dist/types/plugins/date/ui/DatePicker/date-picker-input.d.ts +3 -4
  69. package/dist/types/plugins/date/ui/DatePicker/index.d.ts +1 -1
  70. package/dist/types/plugins/date/utils/internal.d.ts +2 -2
  71. package/dist/types/plugins/index.d.ts +1 -2
  72. package/dist/types/plugins/insert-block/types.d.ts +5 -3
  73. package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +1 -2
  74. package/dist/types/plugins/layout/actions.d.ts +1 -1
  75. package/dist/types/plugins/mentions/index.d.ts +11 -4
  76. package/dist/types/plugins/mentions/ui/ToolbarMention/index.d.ts +1 -0
  77. package/dist/types/plugins/placeholder-text/index.d.ts +8 -3
  78. package/dist/types/plugins/status/actions.d.ts +1 -1
  79. package/dist/types/plugins/tasks-and-decisions/commands.d.ts +1 -1
  80. package/dist/types/plugins/type-ahead/api.d.ts +7 -9
  81. package/dist/types/plugins/type-ahead/utils.d.ts +1 -2
  82. package/dist/types/plugins/undo-redo/index.d.ts +2 -2
  83. package/dist/types/plugins/undo-redo/types.d.ts +5 -0
  84. package/dist/types/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +3 -0
  85. package/dist/types/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
  86. package/dist/types/test-utils.d.ts +0 -1
  87. package/dist/types/types/editor-props.d.ts +1 -1
  88. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
  89. package/dist/types/ui/ConfigPanel/ConfigPanel.d.ts +1 -1
  90. package/dist/types/ui/ContentStyles/index.d.ts +2 -2
  91. package/package.json +12 -7
  92. package/dist/cjs/plugins/border/index.js +0 -19
  93. package/dist/es2019/plugins/border/index.js +0 -11
  94. package/dist/esm/plugins/border/index.js +0 -13
  95. package/dist/types/plugins/border/index.d.ts +0 -3
  96. package/dist/types/plugins/date/styles.d.ts +0 -1
  97. package/dist/types-ts4.5/actions/index.d.ts +0 -49
  98. package/dist/types-ts4.5/commands/index.d.ts +0 -1
  99. package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +0 -34
  100. package/dist/types-ts4.5/composable-editor/editor.d.ts +0 -9
  101. package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +0 -17
  102. package/dist/types-ts4.5/composable-editor/hooks/useMeasureEditorMountTime.d.ts +0 -13
  103. package/dist/types-ts4.5/composable-editor/hooks/useProviderFactory.d.ts +0 -14
  104. package/dist/types-ts4.5/composable-editor/utils/editorMeasureTTICallback.d.ts +0 -5
  105. package/dist/types-ts4.5/composable-editor/utils/getBaseFontSize.d.ts +0 -6
  106. package/dist/types-ts4.5/composable-editor/utils/getProvidersFromEditorProps.d.ts +0 -9
  107. package/dist/types-ts4.5/composable-editor/utils/handleProviders.d.ts +0 -12
  108. package/dist/types-ts4.5/composable-editor/utils/sendDurationAnalytics.d.ts +0 -15
  109. package/dist/types-ts4.5/composable-editor/utils/trackEditorActions.d.ts +0 -29
  110. package/dist/types-ts4.5/composable-editor.d.ts +0 -1
  111. package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +0 -44
  112. package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +0 -8
  113. package/dist/types-ts4.5/create-editor/ReactEditorViewContext.d.ts +0 -2
  114. package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +0 -119
  115. package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +0 -8
  116. package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +0 -6
  117. package/dist/types-ts4.5/create-editor/consts.d.ts +0 -3
  118. package/dist/types-ts4.5/create-editor/create-editor.d.ts +0 -18
  119. package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +0 -16
  120. package/dist/types-ts4.5/create-editor/create-preset.d.ts +0 -3
  121. package/dist/types-ts4.5/create-editor/create-schema.d.ts +0 -6
  122. package/dist/types-ts4.5/create-editor/feature-flags-from-props.d.ts +0 -7
  123. package/dist/types-ts4.5/create-editor/get-plugins.d.ts +0 -44
  124. package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +0 -3
  125. package/dist/types-ts4.5/create-editor/index.d.ts +0 -3
  126. package/dist/types-ts4.5/create-editor/messages.d.ts +0 -7
  127. package/dist/types-ts4.5/create-editor/preset-utils.d.ts +0 -2
  128. package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +0 -14
  129. package/dist/types-ts4.5/editor.d.ts +0 -10
  130. package/dist/types-ts4.5/element-browser.d.ts +0 -1
  131. package/dist/types-ts4.5/event-dispatcher/index.d.ts +0 -2
  132. package/dist/types-ts4.5/extensibility.d.ts +0 -15
  133. package/dist/types-ts4.5/extensions.d.ts +0 -1
  134. package/dist/types-ts4.5/i18n/cs.d.ts +0 -140
  135. package/dist/types-ts4.5/i18n/da.d.ts +0 -139
  136. package/dist/types-ts4.5/i18n/de.d.ts +0 -139
  137. package/dist/types-ts4.5/i18n/en.d.ts +0 -141
  138. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -141
  139. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -141
  140. package/dist/types-ts4.5/i18n/es.d.ts +0 -139
  141. package/dist/types-ts4.5/i18n/et.d.ts +0 -168
  142. package/dist/types-ts4.5/i18n/fi.d.ts +0 -139
  143. package/dist/types-ts4.5/i18n/fr.d.ts +0 -139
  144. package/dist/types-ts4.5/i18n/hu.d.ts +0 -139
  145. package/dist/types-ts4.5/i18n/index.d.ts +0 -35
  146. package/dist/types-ts4.5/i18n/is.d.ts +0 -153
  147. package/dist/types-ts4.5/i18n/it.d.ts +0 -139
  148. package/dist/types-ts4.5/i18n/ja.d.ts +0 -139
  149. package/dist/types-ts4.5/i18n/ko.d.ts +0 -139
  150. package/dist/types-ts4.5/i18n/languages.d.ts +0 -38
  151. package/dist/types-ts4.5/i18n/nb.d.ts +0 -139
  152. package/dist/types-ts4.5/i18n/nl.d.ts +0 -139
  153. package/dist/types-ts4.5/i18n/pl.d.ts +0 -139
  154. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -139
  155. package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -180
  156. package/dist/types-ts4.5/i18n/ro.d.ts +0 -153
  157. package/dist/types-ts4.5/i18n/ru.d.ts +0 -139
  158. package/dist/types-ts4.5/i18n/sk.d.ts +0 -168
  159. package/dist/types-ts4.5/i18n/sv.d.ts +0 -139
  160. package/dist/types-ts4.5/i18n/th.d.ts +0 -139
  161. package/dist/types-ts4.5/i18n/tr.d.ts +0 -139
  162. package/dist/types-ts4.5/i18n/uk.d.ts +0 -139
  163. package/dist/types-ts4.5/i18n/vi.d.ts +0 -139
  164. package/dist/types-ts4.5/i18n/zh.d.ts +0 -139
  165. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -139
  166. package/dist/types-ts4.5/index.d.ts +0 -46
  167. package/dist/types-ts4.5/keymaps/index.d.ts +0 -2
  168. package/dist/types-ts4.5/labs/CollapsedEditor/index.d.ts +0 -26
  169. package/dist/types-ts4.5/labs/EditorWithActions/index.d.ts +0 -26
  170. package/dist/types-ts4.5/labs/next/presets/default.d.ts +0 -906
  171. package/dist/types-ts4.5/labs/next/presets/types.d.ts +0 -6
  172. package/dist/types-ts4.5/labs/next/presets/universal.d.ts +0 -21
  173. package/dist/types-ts4.5/labs/next/presets/useUniversalPreset.d.ts +0 -7
  174. package/dist/types-ts4.5/labs-next.d.ts +0 -1
  175. package/dist/types-ts4.5/messages.d.ts +0 -8
  176. package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +0 -2
  177. package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.styles.d.ts +0 -1
  178. package/dist/types-ts4.5/nodeviews/getPerformanceOptions.d.ts +0 -2
  179. package/dist/types-ts4.5/nodeviews/index.d.ts +0 -1
  180. package/dist/types-ts4.5/nodeviews/types.d.ts +0 -12
  181. package/dist/types-ts4.5/plugins/alignment/commands/index.d.ts +0 -4
  182. package/dist/types-ts4.5/plugins/alignment/index.d.ts +0 -5
  183. package/dist/types-ts4.5/plugins/alignment/pm-plugins/keymap.d.ts +0 -2
  184. package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +0 -8
  185. package/dist/types-ts4.5/plugins/alignment/pm-plugins/types.d.ts +0 -5
  186. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +0 -6
  187. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/index.d.ts +0 -33
  188. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/messages.d.ts +0 -22
  189. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +0 -3
  190. package/dist/types-ts4.5/plugins/alignment/utils/index.d.ts +0 -3
  191. package/dist/types-ts4.5/plugins/analytics/consts.d.ts +0 -3
  192. package/dist/types-ts4.5/plugins/analytics/index.d.ts +0 -8
  193. package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +0 -8
  194. package/dist/types-ts4.5/plugins/analytics/plugin.d.ts +0 -29
  195. package/dist/types-ts4.5/plugins/analytics/types/dispatch-analytics-event.d.ts +0 -1
  196. package/dist/types-ts4.5/plugins/analytics/types/enums.d.ts +0 -1
  197. package/dist/types-ts4.5/plugins/analytics/types/events.d.ts +0 -1
  198. package/dist/types-ts4.5/plugins/analytics/types/experimental-events.d.ts +0 -1
  199. package/dist/types-ts4.5/plugins/analytics/types/extension-events.d.ts +0 -2
  200. package/dist/types-ts4.5/plugins/analytics/types/general-events.d.ts +0 -2
  201. package/dist/types-ts4.5/plugins/analytics/types/index.d.ts +0 -9
  202. package/dist/types-ts4.5/plugins/analytics/types/inline-comment-events.d.ts +0 -2
  203. package/dist/types-ts4.5/plugins/analytics/types/link-tool-bar-events.d.ts +0 -1
  204. package/dist/types-ts4.5/plugins/analytics/types/media-events.d.ts +0 -1
  205. package/dist/types-ts4.5/plugins/analytics/types/node-events.d.ts +0 -2
  206. package/dist/types-ts4.5/plugins/analytics/types/selection-events.d.ts +0 -1
  207. package/dist/types-ts4.5/plugins/analytics/types/smart-links.d.ts +0 -2
  208. package/dist/types-ts4.5/plugins/analytics/types/toolbar-button.d.ts +0 -2
  209. package/dist/types-ts4.5/plugins/analytics/utils.d.ts +0 -22
  210. package/dist/types-ts4.5/plugins/annotation/commands/index.d.ts +0 -16
  211. package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +0 -11
  212. package/dist/types-ts4.5/plugins/annotation/index.d.ts +0 -12
  213. package/dist/types-ts4.5/plugins/annotation/nodeviews/index.d.ts +0 -11
  214. package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +0 -3
  215. package/dist/types-ts4.5/plugins/annotation/pm-plugins/keymap.d.ts +0 -2
  216. package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +0 -2
  217. package/dist/types-ts4.5/plugins/annotation/pm-plugins/reducer.d.ts +0 -3
  218. package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +0 -78
  219. package/dist/types-ts4.5/plugins/annotation/toolbar.d.ts +0 -4
  220. package/dist/types-ts4.5/plugins/annotation/types.d.ts +0 -86
  221. package/dist/types-ts4.5/plugins/annotation/ui/AnnotationViewWrapper.d.ts +0 -10
  222. package/dist/types-ts4.5/plugins/annotation/ui/InlineCommentView.d.ts +0 -11
  223. package/dist/types-ts4.5/plugins/annotation/update-provider.d.ts +0 -8
  224. package/dist/types-ts4.5/plugins/annotation/utils.d.ts +0 -40
  225. package/dist/types-ts4.5/plugins/avatar-group/index.d.ts +0 -14
  226. package/dist/types-ts4.5/plugins/avatar-group/messages.d.ts +0 -7
  227. package/dist/types-ts4.5/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +0 -15
  228. package/dist/types-ts4.5/plugins/before-primaryToolbar/index.d.ts +0 -8
  229. package/dist/types-ts4.5/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +0 -5
  230. package/dist/types-ts4.5/plugins/better-type-history/index.d.ts +0 -13
  231. package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/main.d.ts +0 -3
  232. package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/plugin-key.d.ts +0 -2
  233. package/dist/types-ts4.5/plugins/border/index.d.ts +0 -3
  234. package/dist/types-ts4.5/plugins/breakout/commands/remove-breakout.d.ts +0 -2
  235. package/dist/types-ts4.5/plugins/breakout/commands/set-breakout-mode.d.ts +0 -3
  236. package/dist/types-ts4.5/plugins/breakout/constants.d.ts +0 -4
  237. package/dist/types-ts4.5/plugins/breakout/index.d.ts +0 -14
  238. package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +0 -5
  239. package/dist/types-ts4.5/plugins/breakout/types.d.ts +0 -4
  240. package/dist/types-ts4.5/plugins/breakout/ui/LayoutButton.d.ts +0 -17
  241. package/dist/types-ts4.5/plugins/breakout/utils/find-breakout-node.d.ts +0 -9
  242. package/dist/types-ts4.5/plugins/breakout/utils/get-breakout-mode.d.ts +0 -7
  243. package/dist/types-ts4.5/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +0 -9
  244. package/dist/types-ts4.5/plugins/breakout/utils/is-supported-node.d.ts +0 -6
  245. package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +0 -7
  246. package/dist/types-ts4.5/plugins/code-bidi-warning/index.d.ts +0 -8
  247. package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +0 -2
  248. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +0 -5
  249. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +0 -8
  250. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +0 -3
  251. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/types.d.ts +0 -6
  252. package/dist/types-ts4.5/plugins/code-block/actions.d.ts +0 -18
  253. package/dist/types-ts4.5/plugins/code-block/ide-ux/bracket-handling.d.ts +0 -12
  254. package/dist/types-ts4.5/plugins/code-block/ide-ux/commands.d.ts +0 -6
  255. package/dist/types-ts4.5/plugins/code-block/ide-ux/line-handling.d.ts +0 -25
  256. package/dist/types-ts4.5/plugins/code-block/ide-ux/paired-character-handling.d.ts +0 -2
  257. package/dist/types-ts4.5/plugins/code-block/ide-ux/quote-handling.d.ts +0 -12
  258. package/dist/types-ts4.5/plugins/code-block/index.d.ts +0 -19
  259. package/dist/types-ts4.5/plugins/code-block/language-list.d.ts +0 -1641
  260. package/dist/types-ts4.5/plugins/code-block/nodeviews/code-block.d.ts +0 -21
  261. package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +0 -2
  262. package/dist/types-ts4.5/plugins/code-block/pm-plugins/actions.d.ts +0 -4
  263. package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +0 -14
  264. package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +0 -5
  265. package/dist/types-ts4.5/plugins/code-block/pm-plugins/input-rule.d.ts +0 -3
  266. package/dist/types-ts4.5/plugins/code-block/pm-plugins/keymaps.d.ts +0 -4
  267. package/dist/types-ts4.5/plugins/code-block/pm-plugins/main-state.d.ts +0 -8
  268. package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +0 -10
  269. package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +0 -5
  270. package/dist/types-ts4.5/plugins/code-block/styles.d.ts +0 -2
  271. package/dist/types-ts4.5/plugins/code-block/toolbar.d.ts +0 -14
  272. package/dist/types-ts4.5/plugins/code-block/transform-to-code-block.d.ts +0 -3
  273. package/dist/types-ts4.5/plugins/code-block/types.d.ts +0 -7
  274. package/dist/types-ts4.5/plugins/code-block/ui/class-names.d.ts +0 -8
  275. package/dist/types-ts4.5/plugins/code-block/utils.d.ts +0 -6
  276. package/dist/types-ts4.5/plugins/collab-edit/actions.d.ts +0 -11
  277. package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +0 -6
  278. package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +0 -24
  279. package/dist/types-ts4.5/plugins/collab-edit/events/initialize.d.ts +0 -16
  280. package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +0 -11
  281. package/dist/types-ts4.5/plugins/collab-edit/get-participants-count.d.ts +0 -2
  282. package/dist/types-ts4.5/plugins/collab-edit/index.d.ts +0 -14
  283. package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +0 -7
  284. package/dist/types-ts4.5/plugins/collab-edit/participants.d.ts +0 -18
  285. package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +0 -3
  286. package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +0 -24
  287. package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +0 -11
  288. package/dist/types-ts4.5/plugins/collab-edit/styles.d.ts +0 -1
  289. package/dist/types-ts4.5/plugins/collab-edit/types.d.ts +0 -8
  290. package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +0 -23
  291. package/dist/types-ts4.5/plugins/collab-edit/ui/avatars.d.ts +0 -12
  292. package/dist/types-ts4.5/plugins/collab-edit/ui/colored-avatar-item.d.ts +0 -7
  293. package/dist/types-ts4.5/plugins/collab-edit/ui/index.d.ts +0 -2
  294. package/dist/types-ts4.5/plugins/collab-edit/ui/invite-to-edit.d.ts +0 -10
  295. package/dist/types-ts4.5/plugins/collab-edit/ui/styles.d.ts +0 -3
  296. package/dist/types-ts4.5/plugins/collab-edit/ui/to-avatar.d.ts +0 -4
  297. package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +0 -18
  298. package/dist/types-ts4.5/plugins/custom-autoformat/doc.d.ts +0 -6
  299. package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +0 -6
  300. package/dist/types-ts4.5/plugins/custom-autoformat/input-rules.d.ts +0 -9
  301. package/dist/types-ts4.5/plugins/custom-autoformat/reducers.d.ts +0 -4
  302. package/dist/types-ts4.5/plugins/custom-autoformat/types.d.ts +0 -31
  303. package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +0 -6
  304. package/dist/types-ts4.5/plugins/data-consumer/index.d.ts +0 -3
  305. package/dist/types-ts4.5/plugins/date/actions.d.ts +0 -17
  306. package/dist/types-ts4.5/plugins/date/index.d.ts +0 -17
  307. package/dist/types-ts4.5/plugins/date/nodeviews/date.d.ts +0 -3
  308. package/dist/types-ts4.5/plugins/date/nodeviews/messages.d.ts +0 -7
  309. package/dist/types-ts4.5/plugins/date/pm-plugins/keymap.d.ts +0 -3
  310. package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +0 -6
  311. package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +0 -3
  312. package/dist/types-ts4.5/plugins/date/pm-plugins/types.d.ts +0 -12
  313. package/dist/types-ts4.5/plugins/date/pm-plugins/utils.d.ts +0 -5
  314. package/dist/types-ts4.5/plugins/date/types.d.ts +0 -10
  315. package/dist/types-ts4.5/plugins/date/ui/DatePicker/date-picker-input.d.ts +0 -25
  316. package/dist/types-ts4.5/plugins/date/ui/DatePicker/index.d.ts +0 -36
  317. package/dist/types-ts4.5/plugins/date/utils/formatParse.d.ts +0 -27
  318. package/dist/types-ts4.5/plugins/date/utils/internal.d.ts +0 -33
  319. package/dist/types-ts4.5/plugins/expand/commands.d.ts +0 -12
  320. package/dist/types-ts4.5/plugins/expand/index.d.ts +0 -24
  321. package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +0 -54
  322. package/dist/types-ts4.5/plugins/expand/pm-plugins/keymap.d.ts +0 -4
  323. package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +0 -8
  324. package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +0 -3
  325. package/dist/types-ts4.5/plugins/expand/reducer.d.ts +0 -3
  326. package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +0 -3
  327. package/dist/types-ts4.5/plugins/expand/types.d.ts +0 -9
  328. package/dist/types-ts4.5/plugins/expand/ui/ExpandIconButton.d.ts +0 -43
  329. package/dist/types-ts4.5/plugins/expand/ui/class-names.d.ts +0 -11
  330. package/dist/types-ts4.5/plugins/expand/ui/styles.d.ts +0 -2
  331. package/dist/types-ts4.5/plugins/expand/utils.d.ts +0 -1
  332. package/dist/types-ts4.5/plugins/extension/actions.d.ts +0 -17
  333. package/dist/types-ts4.5/plugins/extension/commands.d.ts +0 -12
  334. package/dist/types-ts4.5/plugins/extension/context-panel.d.ts +0 -8
  335. package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +0 -10
  336. package/dist/types-ts4.5/plugins/extension/index.d.ts +0 -3
  337. package/dist/types-ts4.5/plugins/extension/nodeviews/extension.d.ts +0 -32
  338. package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +0 -4
  339. package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +0 -3
  340. package/dist/types-ts4.5/plugins/extension/pm-plugins/keymap.d.ts +0 -3
  341. package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +0 -27
  342. package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +0 -3
  343. package/dist/types-ts4.5/plugins/extension/pm-plugins/utils.d.ts +0 -3
  344. package/dist/types-ts4.5/plugins/extension/reducer.d.ts +0 -2
  345. package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +0 -42
  346. package/dist/types-ts4.5/plugins/extension/types.d.ts +0 -22
  347. package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/index.d.ts +0 -109
  348. package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/styles.d.ts +0 -6
  349. package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionComponent.d.ts +0 -51
  350. package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +0 -7
  351. package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/index.d.ts +0 -12
  352. package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +0 -2
  353. package/dist/types-ts4.5/plugins/extension/ui/Extension/Lozenge.d.ts +0 -14
  354. package/dist/types-ts4.5/plugins/extension/ui/Extension/index.d.ts +0 -28
  355. package/dist/types-ts4.5/plugins/extension/ui/Extension/styles.d.ts +0 -8
  356. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +0 -4
  357. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/messages.d.ts +0 -7
  358. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/types.d.ts +0 -11
  359. package/dist/types-ts4.5/plugins/extension/ui/styles.d.ts +0 -1
  360. package/dist/types-ts4.5/plugins/extension/utils.d.ts +0 -10
  361. package/dist/types-ts4.5/plugins/fake-text-cursor/cursor.d.ts +0 -30
  362. package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +0 -7
  363. package/dist/types-ts4.5/plugins/fake-text-cursor/styles.d.ts +0 -1
  364. package/dist/types-ts4.5/plugins/feedback-dialog/getBrowserInfo.d.ts +0 -6
  365. package/dist/types-ts4.5/plugins/feedback-dialog/getDeviceInfo.d.ts +0 -6
  366. package/dist/types-ts4.5/plugins/feedback-dialog/index.d.ts +0 -7
  367. package/dist/types-ts4.5/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +0 -8
  368. package/dist/types-ts4.5/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +0 -17
  369. package/dist/types-ts4.5/plugins/find-replace/actions.d.ts +0 -64
  370. package/dist/types-ts4.5/plugins/find-replace/commands-with-analytics.d.ts +0 -27
  371. package/dist/types-ts4.5/plugins/find-replace/commands.d.ts +0 -12
  372. package/dist/types-ts4.5/plugins/find-replace/index.d.ts +0 -13
  373. package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +0 -3
  374. package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +0 -6
  375. package/dist/types-ts4.5/plugins/find-replace/reducer.d.ts +0 -4
  376. package/dist/types-ts4.5/plugins/find-replace/styles.d.ts +0 -3
  377. package/dist/types-ts4.5/plugins/find-replace/types.d.ts +0 -44
  378. package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +0 -71
  379. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplace.d.ts +0 -43
  380. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +0 -21
  381. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +0 -18
  382. package/dist/types-ts4.5/plugins/find-replace/ui/Replace.d.ts +0 -26
  383. package/dist/types-ts4.5/plugins/find-replace/ui/styles.d.ts +0 -5
  384. package/dist/types-ts4.5/plugins/find-replace/utils/batch-decorations.d.ts +0 -36
  385. package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +0 -49
  386. package/dist/types-ts4.5/plugins/fragment/index.d.ts +0 -3
  387. package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +0 -2
  388. package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +0 -15
  389. package/dist/types-ts4.5/plugins/history/actions.d.ts +0 -8
  390. package/dist/types-ts4.5/plugins/history/index.d.ts +0 -13
  391. package/dist/types-ts4.5/plugins/history/pm-history-types.d.ts +0 -17
  392. package/dist/types-ts4.5/plugins/history/reducer.d.ts +0 -4
  393. package/dist/types-ts4.5/plugins/history/types.d.ts +0 -4
  394. package/dist/types-ts4.5/plugins/history/utils.d.ts +0 -4
  395. package/dist/types-ts4.5/plugins/indentation/commands/index.d.ts +0 -8
  396. package/dist/types-ts4.5/plugins/indentation/commands/utils.d.ts +0 -36
  397. package/dist/types-ts4.5/plugins/indentation/index.d.ts +0 -3
  398. package/dist/types-ts4.5/plugins/indentation/messages.d.ts +0 -12
  399. package/dist/types-ts4.5/plugins/indentation/pm-plugins/keymap.d.ts +0 -3
  400. package/dist/types-ts4.5/plugins/index.d.ts +0 -45
  401. package/dist/types-ts4.5/plugins/insert-block/index.d.ts +0 -16
  402. package/dist/types-ts4.5/plugins/insert-block/types.d.ts +0 -31
  403. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +0 -28
  404. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +0 -18
  405. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +0 -30
  406. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +0 -44
  407. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +0 -16
  408. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +0 -46
  409. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +0 -34
  410. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +0 -1
  411. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +0 -1
  412. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +0 -2
  413. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +0 -1
  414. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +0 -61
  415. package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +0 -5
  416. package/dist/types-ts4.5/plugins/jira-issue/nodeviews/jira-issue.d.ts +0 -7
  417. package/dist/types-ts4.5/plugins/layout/actions.d.ts +0 -22
  418. package/dist/types-ts4.5/plugins/layout/index.d.ts +0 -15
  419. package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +0 -6
  420. package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +0 -3
  421. package/dist/types-ts4.5/plugins/layout/pm-plugins/types.d.ts +0 -14
  422. package/dist/types-ts4.5/plugins/layout/styles.d.ts +0 -4
  423. package/dist/types-ts4.5/plugins/layout/toolbar-messages.d.ts +0 -32
  424. package/dist/types-ts4.5/plugins/layout/toolbar.d.ts +0 -6
  425. package/dist/types-ts4.5/plugins/layout/types.d.ts +0 -13
  426. package/dist/types-ts4.5/plugins/layout/utils.d.ts +0 -1
  427. package/dist/types-ts4.5/plugins/macro/actions.d.ts +0 -8
  428. package/dist/types-ts4.5/plugins/macro/index.d.ts +0 -11
  429. package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +0 -3
  430. package/dist/types-ts4.5/plugins/macro/types.d.ts +0 -4
  431. package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +0 -13
  432. package/dist/types-ts4.5/plugins/mentions/analytics.d.ts +0 -13
  433. package/dist/types-ts4.5/plugins/mentions/index.d.ts +0 -15
  434. package/dist/types-ts4.5/plugins/mentions/messages.d.ts +0 -22
  435. package/dist/types-ts4.5/plugins/mentions/nodeviews/mention.d.ts +0 -9
  436. package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +0 -3
  437. package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +0 -6
  438. package/dist/types-ts4.5/plugins/mentions/pm-plugins/utils.d.ts +0 -4
  439. package/dist/types-ts4.5/plugins/mentions/type-ahead/index.d.ts +0 -17
  440. package/dist/types-ts4.5/plugins/mentions/types.d.ts +0 -24
  441. package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/index.d.ts +0 -22
  442. package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/styles.d.ts +0 -8
  443. package/dist/types-ts4.5/plugins/mentions/ui/Mention/index.d.ts +0 -19
  444. package/dist/types-ts4.5/plugins/mentions/ui/ToolbarMention/index.d.ts +0 -12
  445. package/dist/types-ts4.5/plugins/mentions/utils.d.ts +0 -8
  446. package/dist/types-ts4.5/plugins/mobile-dimensions/actions.d.ts +0 -18
  447. package/dist/types-ts4.5/plugins/mobile-dimensions/commands.d.ts +0 -3
  448. package/dist/types-ts4.5/plugins/mobile-dimensions/index.d.ts +0 -3
  449. package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +0 -5
  450. package/dist/types-ts4.5/plugins/mobile-dimensions/reducer.d.ts +0 -3
  451. package/dist/types-ts4.5/plugins/mobile-dimensions/types.d.ts +0 -8
  452. package/dist/types-ts4.5/plugins/mobile-dimensions/utils.d.ts +0 -2
  453. package/dist/types-ts4.5/plugins/mobile-selection/content-in-selection.d.ts +0 -5
  454. package/dist/types-ts4.5/plugins/mobile-selection/index.d.ts +0 -2
  455. package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +0 -7
  456. package/dist/types-ts4.5/plugins/mobile-selection/types.d.ts +0 -32
  457. package/dist/types-ts4.5/plugins/panel/actions.d.ts +0 -12
  458. package/dist/types-ts4.5/plugins/panel/index.d.ts +0 -17
  459. package/dist/types-ts4.5/plugins/panel/message.d.ts +0 -37
  460. package/dist/types-ts4.5/plugins/panel/nodeviews/panel.d.ts +0 -36
  461. package/dist/types-ts4.5/plugins/panel/pm-plugins/keymaps.d.ts +0 -3
  462. package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +0 -11
  463. package/dist/types-ts4.5/plugins/panel/styles.d.ts +0 -2
  464. package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +0 -14
  465. package/dist/types-ts4.5/plugins/panel/types.d.ts +0 -21
  466. package/dist/types-ts4.5/plugins/panel/utils.d.ts +0 -5
  467. package/dist/types-ts4.5/plugins/paste/actions.d.ts +0 -15
  468. package/dist/types-ts4.5/plugins/paste/commands.d.ts +0 -30
  469. package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +0 -7
  470. package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +0 -18
  471. package/dist/types-ts4.5/plugins/paste/handlers.d.ts +0 -54
  472. package/dist/types-ts4.5/plugins/paste/index.d.ts +0 -25
  473. package/dist/types-ts4.5/plugins/paste/plugins/media.d.ts +0 -12
  474. package/dist/types-ts4.5/plugins/paste/pm-plugins/analytics.d.ts +0 -45
  475. package/dist/types-ts4.5/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +0 -13
  476. package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +0 -10
  477. package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +0 -3
  478. package/dist/types-ts4.5/plugins/paste/reducer.d.ts +0 -3
  479. package/dist/types-ts4.5/plugins/paste/types.d.ts +0 -6
  480. package/dist/types-ts4.5/plugins/paste/util/index.d.ts +0 -21
  481. package/dist/types-ts4.5/plugins/paste/util/tinyMCE.d.ts +0 -32
  482. package/dist/types-ts4.5/plugins/placeholder-text/actions.d.ts +0 -4
  483. package/dist/types-ts4.5/plugins/placeholder-text/index.d.ts +0 -13
  484. package/dist/types-ts4.5/plugins/placeholder-text/placeholder-text-nodeview.d.ts +0 -17
  485. package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +0 -3
  486. package/dist/types-ts4.5/plugins/placeholder-text/selection-utils.d.ts +0 -2
  487. package/dist/types-ts4.5/plugins/placeholder-text/styles.d.ts +0 -1
  488. package/dist/types-ts4.5/plugins/placeholder-text/types.d.ts +0 -7
  489. package/dist/types-ts4.5/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +0 -25
  490. package/dist/types-ts4.5/plugins/rank.d.ts +0 -6
  491. package/dist/types-ts4.5/plugins/save-on-enter/index.d.ts +0 -10
  492. package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +0 -14
  493. package/dist/types-ts4.5/plugins/selection/actions.d.ts +0 -17
  494. package/dist/types-ts4.5/plugins/selection/commands.d.ts +0 -10
  495. package/dist/types-ts4.5/plugins/selection/gap-cursor/actions.d.ts +0 -25
  496. package/dist/types-ts4.5/plugins/selection/gap-cursor/direction.d.ts +0 -10
  497. package/dist/types-ts4.5/plugins/selection/gap-cursor/selection.d.ts +0 -1
  498. package/dist/types-ts4.5/plugins/selection/gap-cursor/styles.d.ts +0 -2
  499. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-ignored.d.ts +0 -1
  500. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -1
  501. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +0 -2
  502. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils.d.ts +0 -8
  503. package/dist/types-ts4.5/plugins/selection/gap-cursor-selection.d.ts +0 -2
  504. package/dist/types-ts4.5/plugins/selection/index.d.ts +0 -13
  505. package/dist/types-ts4.5/plugins/selection/plugin-factory.d.ts +0 -2
  506. package/dist/types-ts4.5/plugins/selection/pm-plugins/events/create-selection-between.d.ts +0 -4
  507. package/dist/types-ts4.5/plugins/selection/pm-plugins/events/keydown.d.ts +0 -2
  508. package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +0 -2
  509. package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-main.d.ts +0 -6
  510. package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +0 -2
  511. package/dist/types-ts4.5/plugins/selection/pm-plugins/keymap.d.ts +0 -3
  512. package/dist/types-ts4.5/plugins/selection/pm-plugins/selection-main.d.ts +0 -7
  513. package/dist/types-ts4.5/plugins/selection/reducer.d.ts +0 -3
  514. package/dist/types-ts4.5/plugins/selection/types.d.ts +0 -12
  515. package/dist/types-ts4.5/plugins/selection/utils.d.ts +0 -58
  516. package/dist/types-ts4.5/plugins/status/actions.d.ts +0 -14
  517. package/dist/types-ts4.5/plugins/status/analytics.d.ts +0 -4
  518. package/dist/types-ts4.5/plugins/status/index.d.ts +0 -6
  519. package/dist/types-ts4.5/plugins/status/keymap.d.ts +0 -3
  520. package/dist/types-ts4.5/plugins/status/nodeviews/messages.d.ts +0 -17
  521. package/dist/types-ts4.5/plugins/status/nodeviews/status.d.ts +0 -24
  522. package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +0 -4
  523. package/dist/types-ts4.5/plugins/status/plugin.d.ts +0 -7
  524. package/dist/types-ts4.5/plugins/status/styles.d.ts +0 -1
  525. package/dist/types-ts4.5/plugins/status/types.d.ts +0 -18
  526. package/dist/types-ts4.5/plugins/status/ui/statusPicker.d.ts +0 -62
  527. package/dist/types-ts4.5/plugins/status/utils.d.ts +0 -5
  528. package/dist/types-ts4.5/plugins/submit-editor/index.d.ts +0 -16
  529. package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +0 -16
  530. package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +0 -6
  531. package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +0 -5
  532. package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +0 -9
  533. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +0 -15
  534. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +0 -76
  535. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +0 -5
  536. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +0 -8
  537. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +0 -5
  538. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +0 -2
  539. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/types.d.ts +0 -8
  540. package/dist/types-ts4.5/plugins/tasks-and-decisions/styles.d.ts +0 -1
  541. package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +0 -26
  542. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Decision/index.d.ts +0 -14
  543. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/index.d.ts +0 -27
  544. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +0 -28
  545. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +0 -20
  546. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +0 -20
  547. package/dist/types-ts4.5/plugins/tasks-and-decisions/utils.d.ts +0 -5
  548. package/dist/types-ts4.5/plugins/text-color/commands/change-color.d.ts +0 -3
  549. package/dist/types-ts4.5/plugins/text-color/commands/remove-color.d.ts +0 -2
  550. package/dist/types-ts4.5/plugins/text-color/commands/toggle-color.d.ts +0 -2
  551. package/dist/types-ts4.5/plugins/text-color/index.d.ts +0 -7
  552. package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +0 -25
  553. package/dist/types-ts4.5/plugins/text-color/types.d.ts +0 -12
  554. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +0 -2
  555. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/index.d.ts +0 -53
  556. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +0 -3
  557. package/dist/types-ts4.5/plugins/text-color/utils/color.d.ts +0 -6
  558. package/dist/types-ts4.5/plugins/text-color/utils/disabled.d.ts +0 -2
  559. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +0 -19
  560. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +0 -17
  561. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/types.d.ts +0 -20
  562. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +0 -4
  563. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +0 -9
  564. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/index.d.ts +0 -24
  565. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +0 -8
  566. package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +0 -63
  567. package/dist/types-ts4.5/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +0 -12
  568. package/dist/types-ts4.5/plugins/type-ahead/commands/update-list-items.d.ts +0 -3
  569. package/dist/types-ts4.5/plugins/type-ahead/commands/update-query.d.ts +0 -2
  570. package/dist/types-ts4.5/plugins/type-ahead/commands/update-selected-index.d.ts +0 -2
  571. package/dist/types-ts4.5/plugins/type-ahead/constants.d.ts +0 -8
  572. package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +0 -15
  573. package/dist/types-ts4.5/plugins/type-ahead/insert-utils.d.ts +0 -18
  574. package/dist/types-ts4.5/plugins/type-ahead/messages.d.ts +0 -72
  575. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/actions.d.ts +0 -9
  576. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +0 -14
  577. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/input-rules.d.ts +0 -6
  578. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +0 -2
  579. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +0 -3
  580. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +0 -14
  581. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/reducer.d.ts +0 -10
  582. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +0 -4
  583. package/dist/types-ts4.5/plugins/type-ahead/stats-modifier.d.ts +0 -20
  584. package/dist/types-ts4.5/plugins/type-ahead/transforms/close-type-ahead.d.ts +0 -2
  585. package/dist/types-ts4.5/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +0 -11
  586. package/dist/types-ts4.5/plugins/type-ahead/transforms/set-selection-before-query.d.ts +0 -2
  587. package/dist/types-ts4.5/plugins/type-ahead/types.d.ts +0 -64
  588. package/dist/types-ts4.5/plugins/type-ahead/ui/AssistiveText.d.ts +0 -33
  589. package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +0 -26
  590. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadList.d.ts +0 -25
  591. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadListItem.d.ts +0 -18
  592. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadPopup.d.ts +0 -29
  593. package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +0 -20
  594. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +0 -7
  595. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-load-items.d.ts +0 -3
  596. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +0 -11
  597. package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +0 -28
  598. package/dist/types-ts4.5/plugins/undo-redo/attach-input-meta.d.ts +0 -5
  599. package/dist/types-ts4.5/plugins/undo-redo/commands.d.ts +0 -4
  600. package/dist/types-ts4.5/plugins/undo-redo/enums.d.ts +0 -4
  601. package/dist/types-ts4.5/plugins/undo-redo/index.d.ts +0 -3
  602. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/keymaps.d.ts +0 -2
  603. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/main.d.ts +0 -2
  604. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +0 -2
  605. package/dist/types-ts4.5/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +0 -21
  606. package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +0 -19
  607. package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +0 -12
  608. package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +0 -9
  609. package/dist/types-ts4.5/preset-default.d.ts +0 -1
  610. package/dist/types-ts4.5/preset-universal.d.ts +0 -1
  611. package/dist/types-ts4.5/presets/context.d.ts +0 -15
  612. package/dist/types-ts4.5/selection-api/api.d.ts +0 -11
  613. package/dist/types-ts4.5/stories/examples.d.ts +0 -9
  614. package/dist/types-ts4.5/test-utils.d.ts +0 -41
  615. package/dist/types-ts4.5/types/browser.d.ts +0 -1
  616. package/dist/types-ts4.5/types/command.d.ts +0 -5
  617. package/dist/types-ts4.5/types/dom-at-pos.d.ts +0 -4
  618. package/dist/types-ts4.5/types/editor-appearance-component.d.ts +0 -50
  619. package/dist/types-ts4.5/types/editor-appearance.d.ts +0 -1
  620. package/dist/types-ts4.5/types/editor-config.d.ts +0 -25
  621. package/dist/types-ts4.5/types/editor-instance.d.ts +0 -19
  622. package/dist/types-ts4.5/types/editor-onchange.d.ts +0 -4
  623. package/dist/types-ts4.5/types/editor-plugin.d.ts +0 -1
  624. package/dist/types-ts4.5/types/editor-props.d.ts +0 -262
  625. package/dist/types-ts4.5/types/editor-react-context.d.ts +0 -1
  626. package/dist/types-ts4.5/types/empty-state-handler.d.ts +0 -1
  627. package/dist/types-ts4.5/types/extension-config.d.ts +0 -5
  628. package/dist/types-ts4.5/types/feature-flags.d.ts +0 -1
  629. package/dist/types-ts4.5/types/i18n.d.ts +0 -5
  630. package/dist/types-ts4.5/types/index.d.ts +0 -18
  631. package/dist/types-ts4.5/types/performance-tracking.d.ts +0 -1
  632. package/dist/types-ts4.5/types/pm-config.d.ts +0 -1
  633. package/dist/types-ts4.5/types/pm-plugin-list.d.ts +0 -9
  634. package/dist/types-ts4.5/types/pm-plugin.d.ts +0 -1
  635. package/dist/types-ts4.5/types/ui-components.d.ts +0 -1
  636. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +0 -10
  637. package/dist/types-ts4.5/ui/Addon/ClickAreaInline/index.d.ts +0 -8
  638. package/dist/types-ts4.5/ui/Addon/ClickAreaMobile/index.d.ts +0 -31
  639. package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +0 -14
  640. package/dist/types-ts4.5/ui/Addon/Dropdown/styles.d.ts +0 -1
  641. package/dist/types-ts4.5/ui/Addon/DropdownItem/index.d.ts +0 -5
  642. package/dist/types-ts4.5/ui/Addon/DropdownItem/styles.d.ts +0 -1
  643. package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +0 -13
  644. package/dist/types-ts4.5/ui/Addon/index.d.ts +0 -6
  645. package/dist/types-ts4.5/ui/Addon/types.d.ts +0 -17
  646. package/dist/types-ts4.5/ui/Alignment/AlignmentButton/index.d.ts +0 -17
  647. package/dist/types-ts4.5/ui/Alignment/index.d.ts +0 -12
  648. package/dist/types-ts4.5/ui/Alignment/styles.d.ts +0 -1
  649. package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +0 -11
  650. package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +0 -7
  651. package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +0 -9
  652. package/dist/types-ts4.5/ui/Appearance/Comment/index.d.ts +0 -1
  653. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +0 -3
  654. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +0 -39
  655. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +0 -38
  656. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +0 -7
  657. package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +0 -19
  658. package/dist/types-ts4.5/ui/Appearance/FullPage/index.d.ts +0 -1
  659. package/dist/types-ts4.5/ui/Appearance/Mobile.d.ts +0 -3
  660. package/dist/types-ts4.5/ui/AppearanceComponents/Mobile.d.ts +0 -14
  661. package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +0 -11
  662. package/dist/types-ts4.5/ui/ChromeCollapsed/messages.d.ts +0 -7
  663. package/dist/types-ts4.5/ui/ChromeCollapsed/styles.d.ts +0 -1
  664. package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +0 -19
  665. package/dist/types-ts4.5/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +0 -2
  666. package/dist/types-ts4.5/ui/ColorPalette/Palettes/common.d.ts +0 -1
  667. package/dist/types-ts4.5/ui/ColorPalette/Palettes/index.d.ts +0 -2
  668. package/dist/types-ts4.5/ui/ColorPalette/Palettes/paletteMessages.d.ts +0 -2
  669. package/dist/types-ts4.5/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +0 -1
  670. package/dist/types-ts4.5/ui/ColorPalette/Palettes/statusColorPalette.d.ts +0 -1
  671. package/dist/types-ts4.5/ui/ColorPalette/Palettes/textColorPalette.d.ts +0 -1
  672. package/dist/types-ts4.5/ui/ColorPalette/Palettes/type.d.ts +0 -1
  673. package/dist/types-ts4.5/ui/ColorPalette/index.d.ts +0 -3
  674. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +0 -22
  675. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +0 -20
  676. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelLoader.d.ts +0 -5
  677. package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +0 -4
  678. package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/index.d.ts +0 -10
  679. package/dist/types-ts4.5/ui/ConfigPanel/FieldMessages.d.ts +0 -12
  680. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Boolean.d.ts +0 -8
  681. package/dist/types-ts4.5/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +0 -8
  682. package/dist/types-ts4.5/ui/ConfigPanel/Fields/ColorPicker.d.ts +0 -21
  683. package/dist/types-ts4.5/ui/ConfigPanel/Fields/CustomSelect.d.ts +0 -24
  684. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Date.d.ts +0 -20
  685. package/dist/types-ts4.5/ui/ConfigPanel/Fields/DateRange.d.ts +0 -20
  686. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Enum.d.ts +0 -10
  687. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Expand.d.ts +0 -18
  688. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Fieldset.d.ts +0 -20
  689. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Number.d.ts +0 -10
  690. package/dist/types-ts4.5/ui/ConfigPanel/Fields/RadioGroup.d.ts +0 -8
  691. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Select.d.ts +0 -11
  692. package/dist/types-ts4.5/ui/ConfigPanel/Fields/SelectItem.d.ts +0 -5
  693. package/dist/types-ts4.5/ui/ConfigPanel/Fields/String.d.ts +0 -10
  694. package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +0 -15
  695. package/dist/types-ts4.5/ui/ConfigPanel/Fields/UnhandledType.d.ts +0 -6
  696. package/dist/types-ts4.5/ui/ConfigPanel/Fields/UserSelect.d.ts +0 -10
  697. package/dist/types-ts4.5/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +0 -1
  698. package/dist/types-ts4.5/ui/ConfigPanel/FormContent.d.ts +0 -4
  699. package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +0 -16
  700. package/dist/types-ts4.5/ui/ConfigPanel/Header.d.ts +0 -21
  701. package/dist/types-ts4.5/ui/ConfigPanel/LoadingState.d.ts +0 -4
  702. package/dist/types-ts4.5/ui/ConfigPanel/NestedForms/RemovableField.d.ts +0 -19
  703. package/dist/types-ts4.5/ui/ConfigPanel/index.d.ts +0 -2
  704. package/dist/types-ts4.5/ui/ConfigPanel/messages.d.ts +0 -87
  705. package/dist/types-ts4.5/ui/ConfigPanel/transformers.d.ts +0 -9
  706. package/dist/types-ts4.5/ui/ConfigPanel/types.d.ts +0 -40
  707. package/dist/types-ts4.5/ui/ConfigPanel/utils.d.ts +0 -13
  708. package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +0 -14
  709. package/dist/types-ts4.5/ui/ContentStyles/media.d.ts +0 -1
  710. package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +0 -41
  711. package/dist/types-ts4.5/ui/EditorContext/index.d.ts +0 -18
  712. package/dist/types-ts4.5/ui/ElementBrowser/InsertMenu.d.ts +0 -4
  713. package/dist/types-ts4.5/ui/ElementBrowser/types.d.ts +0 -22
  714. package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +0 -26
  715. package/dist/types-ts4.5/ui/FloatingToolbar/index.d.ts +0 -28
  716. package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +0 -1
  717. package/dist/types-ts4.5/ui/FloatingToolbar/utils.d.ts +0 -13
  718. package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +0 -12
  719. package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +0 -39
  720. package/dist/types-ts4.5/ui/PluginSlot/mount-plugin-hooks.d.ts +0 -10
  721. package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +0 -3
  722. package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +0 -8
  723. package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +0 -4
  724. package/dist/types-ts4.5/ui/Toolbar/hooks.d.ts +0 -4
  725. package/dist/types-ts4.5/ui/Toolbar/index.d.ts +0 -4
  726. package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +0 -4
  727. package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +0 -34
  728. package/dist/types-ts4.5/ui/Toolbar/types.d.ts +0 -2
  729. package/dist/types-ts4.5/ui/ToolbarButton/index.d.ts +0 -4
  730. package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +0 -27
  731. package/dist/types-ts4.5/ui/ToolbarFeedback/styles.d.ts +0 -6
  732. package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +0 -11
  733. package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +0 -7
  734. package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +0 -18
  735. package/dist/types-ts4.5/ui/WithFlash/index.d.ts +0 -11
  736. package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +0 -13
  737. package/dist/types-ts4.5/ui/WithPluginState/index.d.ts +0 -3
  738. package/dist/types-ts4.5/ui/styles.d.ts +0 -2
  739. package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +0 -2
  740. package/dist/types-ts4.5/use-preset.d.ts +0 -46
  741. package/dist/types-ts4.5/utils/action.d.ts +0 -9
  742. package/dist/types-ts4.5/utils/array.d.ts +0 -1
  743. package/dist/types-ts4.5/utils/clipboard.d.ts +0 -1
  744. package/dist/types-ts4.5/utils/commands.d.ts +0 -14
  745. package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +0 -8
  746. package/dist/types-ts4.5/utils/document-logger.d.ts +0 -6
  747. package/dist/types-ts4.5/utils/document.d.ts +0 -27
  748. package/dist/types-ts4.5/utils/dom.d.ts +0 -2
  749. package/dist/types-ts4.5/utils/editorDeprecationWarnings.d.ts +0 -2
  750. package/dist/types-ts4.5/utils/extensions.d.ts +0 -6
  751. package/dist/types-ts4.5/utils/getAttrsWithChangesRecorder.d.ts +0 -23
  752. package/dist/types-ts4.5/utils/index.d.ts +0 -65
  753. package/dist/types-ts4.5/utils/is-full-page.d.ts +0 -2
  754. package/dist/types-ts4.5/utils/is-text-input.d.ts +0 -2
  755. package/dist/types-ts4.5/utils/node-width.d.ts +0 -7
  756. package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +0 -8
  757. package/dist/types-ts4.5/utils/nodes.d.ts +0 -1
  758. package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +0 -13
  759. package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +0 -16
  760. package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +0 -8
  761. package/dist/types-ts4.5/utils/performance/outlier.d.ts +0 -1
  762. package/dist/types-ts4.5/utils/performance/percentile.d.ts +0 -1
  763. package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +0 -22
  764. package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +0 -48
  765. package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +0 -9
  766. package/dist/types-ts4.5/utils/performance/simple-measure-to-entries.d.ts +0 -28
  767. package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +0 -30
  768. package/dist/types-ts4.5/utils/pick-by.d.ts +0 -2
  769. package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +0 -2
  770. package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +0 -5
  771. package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +0 -16
  772. package/dist/types-ts4.5/utils/react-hooks/use-abortable-effect/index.d.ts +0 -16
  773. package/dist/types-ts4.5/utils/react-hooks/use-state-from-promise/index.d.ts +0 -18
  774. package/dist/types-ts4.5/utils/selection.d.ts +0 -8
  775. package/dist/types-ts4.5/utils/slice.d.ts +0 -2
  776. package/dist/types-ts4.5/utils/step.d.ts +0 -1
  777. package/dist/types-ts4.5/version-wrapper.d.ts +0 -3
  778. package/tmp/api-report-tmp.d.ts +0 -791
  779. /package/dist/cjs/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
  780. /package/dist/es2019/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
  781. /package/dist/esm/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
  782. /package/dist/{types-ts4.5/plugins/date/styles.d.ts → types/ui/ContentStyles/date.d.ts} +0 -0
@@ -41,12 +41,6 @@ Object.defineProperty(exports, "betterTypeHistoryPlugin", {
41
41
  return _betterTypeHistory.default;
42
42
  }
43
43
  });
44
- Object.defineProperty(exports, "borderPlugin", {
45
- enumerable: true,
46
- get: function get() {
47
- return _border.default;
48
- }
49
- });
50
44
  Object.defineProperty(exports, "breakoutPlugin", {
51
45
  enumerable: true,
52
46
  get: function get() {
@@ -92,7 +86,7 @@ Object.defineProperty(exports, "dataConsumerMarkPlugin", {
92
86
  Object.defineProperty(exports, "datePlugin", {
93
87
  enumerable: true,
94
88
  get: function get() {
95
- return _date.default;
89
+ return _date.datePlugin;
96
90
  }
97
91
  });
98
92
  Object.defineProperty(exports, "expandPlugin", {
@@ -285,7 +279,7 @@ var _betterTypeHistory = _interopRequireDefault(require("./better-type-history")
285
279
  var _clearMarksOnChangeToEmptyDocument = _interopRequireDefault(require("./clear-marks-on-change-to-empty-document"));
286
280
  var _codeBlock = _interopRequireDefault(require("./code-block"));
287
281
  var _collabEdit = _interopRequireDefault(require("./collab-edit"));
288
- var _date = _interopRequireDefault(require("./date"));
282
+ var _date = require("./date");
289
283
  var _extension = _interopRequireDefault(require("./extension"));
290
284
  var _fakeTextCursor = _interopRequireDefault(require("./fake-text-cursor"));
291
285
  var _insertBlock = _interopRequireDefault(require("./insert-block"));
@@ -325,6 +319,5 @@ var _avatarGroup = _interopRequireDefault(require("./avatar-group"));
325
319
  var _viewUpdateSubscription = _interopRequireDefault(require("./view-update-subscription"));
326
320
  var _beforePrimaryToolbar = _interopRequireDefault(require("./before-primaryToolbar"));
327
321
  var _codeBidiWarning = _interopRequireDefault(require("./code-bidi-warning"));
328
- var _border = _interopRequireDefault(require("./border"));
329
322
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
330
323
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -22,13 +22,11 @@ var _ui = require("@atlaskit/editor-common/ui");
22
22
  var _ToolbarButton = _interopRequireDefault(require("../../../../ui/ToolbarButton"));
23
23
  var _styles = require("@atlaskit/editor-common/styles");
24
24
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
25
- var _actions = require("../../../date/actions");
26
- var _actions2 = require("../../../placeholder-text/actions");
27
- var _actions3 = require("../../../layout/actions");
25
+ var _actions = require("../../../placeholder-text/actions");
26
+ var _actions2 = require("../../../layout/actions");
28
27
  var _commands = require("../../../tasks-and-decisions/commands");
29
28
  var _commands2 = require("../../../expand/commands");
30
- var _api = require("../../../type-ahead/api");
31
- var _actions4 = require("../../../status/actions");
29
+ var _actions3 = require("../../../status/actions");
32
30
  var _analytics = require("@atlaskit/editor-common/analytics");
33
31
  var _messages = require("./messages");
34
32
  var _createItems3 = require("./create-items");
@@ -174,7 +172,7 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
174
172
  return (_pluginInjectionApi$c = pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.core.actions.execute(pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$h = pluginInjectionApi.hyperlink) === null || _pluginInjectionApi$h === void 0 ? void 0 : _pluginInjectionApi$h.commands.showLinkToolbar(inputMethod))) !== null && _pluginInjectionApi$c !== void 0 ? _pluginInjectionApi$c : false;
175
173
  });
176
174
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "insertMention", function (inputMethod) {
177
- var _pluginInjectionApi$m;
175
+ var _pluginInjectionApi$m, _pluginInjectionApi$m2;
178
176
  var _this$props = _this.props,
179
177
  editorView = _this$props.editorView,
180
178
  pluginInjectionApi = _this$props.pluginInjectionApi;
@@ -185,8 +183,7 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
185
183
  if (pluginState && pluginState.canInsertMention === false) {
186
184
  return false;
187
185
  }
188
- (0, _api.createTypeAheadTools)(editorView).openMention(inputMethod);
189
- return true;
186
+ return Boolean(pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$m2 = pluginInjectionApi.mention) === null || _pluginInjectionApi$m2 === void 0 || (_pluginInjectionApi$m2 = _pluginInjectionApi$m2.actions) === null || _pluginInjectionApi$m2 === void 0 ? void 0 : _pluginInjectionApi$m2.openTypeAhead(inputMethod));
190
187
  });
191
188
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "insertTable", function (inputMethod) {
192
189
  var _pluginInjectionApi$t, _pluginInjectionApi$t2, _pluginInjectionApi$t3, _pluginInjectionApi$t4;
@@ -206,29 +203,31 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
206
203
  })(state, dispatch)) !== null && _pluginInjectionApi$t !== void 0 ? _pluginInjectionApi$t : false;
207
204
  });
208
205
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "createDate", function (inputMethod) {
209
- var editorView = _this.props.editorView;
210
- (0, _actions.insertDate)(undefined, inputMethod)(editorView.state, editorView.dispatch);
211
- return true;
206
+ var _pluginInjectionApi$d, _pluginInjectionApi$d2;
207
+ var _this$props3 = _this.props,
208
+ pluginInjectionApi = _this$props3.pluginInjectionApi,
209
+ editorView = _this$props3.editorView;
210
+ return (_pluginInjectionApi$d = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$d2 = pluginInjectionApi.date) === null || _pluginInjectionApi$d2 === void 0 ? void 0 : _pluginInjectionApi$d2.actions.insertDate(undefined, inputMethod)(editorView.state, editorView.dispatch)) !== null && _pluginInjectionApi$d !== void 0 ? _pluginInjectionApi$d : false;
212
211
  });
213
212
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "createPlaceholderText", function () {
214
213
  var editorView = _this.props.editorView;
215
- (0, _actions2.showPlaceholderFloatingToolbar)(editorView.state, editorView.dispatch);
214
+ (0, _actions.showPlaceholderFloatingToolbar)(editorView.state, editorView.dispatch);
216
215
  return true;
217
216
  });
218
217
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "insertLayoutColumns", function (inputMethod) {
219
218
  var editorView = _this.props.editorView;
220
- (0, _actions3.insertLayoutColumnsWithAnalytics)(inputMethod)(editorView.state, editorView.dispatch);
219
+ (0, _actions2.insertLayoutColumnsWithAnalytics)(inputMethod)(editorView.state, editorView.dispatch);
221
220
  return true;
222
221
  });
223
222
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "createStatus", function (inputMethod) {
224
223
  var editorView = _this.props.editorView;
225
- (0, _actions4.updateStatusWithAnalytics)(inputMethod)(editorView.state, editorView.dispatch);
224
+ (0, _actions3.updateStatusWithAnalytics)(inputMethod)(editorView.state, editorView.dispatch);
226
225
  return true;
227
226
  });
228
227
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "openMediaPicker", function (inputMethod) {
229
- var _this$props3 = _this.props,
230
- onShowMediaPicker = _this$props3.onShowMediaPicker,
231
- dispatchAnalyticsEvent = _this$props3.dispatchAnalyticsEvent;
228
+ var _this$props4 = _this.props,
229
+ onShowMediaPicker = _this$props4.onShowMediaPicker,
230
+ dispatchAnalyticsEvent = _this$props4.dispatchAnalyticsEvent;
232
231
  if (onShowMediaPicker) {
233
232
  onShowMediaPicker();
234
233
  if (dispatchAnalyticsEvent) {
@@ -256,11 +255,11 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
256
255
  });
257
256
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "insertHorizontalRule", function (inputMethod) {
258
257
  var _pluginInjectionApi$r, _pluginInjectionApi$r2;
259
- var _this$props4 = _this.props,
260
- _this$props4$editorVi = _this$props4.editorView,
261
- state = _this$props4$editorVi.state,
262
- dispatch = _this$props4$editorVi.dispatch,
263
- pluginInjectionApi = _this$props4.pluginInjectionApi;
258
+ var _this$props5 = _this.props,
259
+ _this$props5$editorVi = _this$props5.editorView,
260
+ state = _this$props5$editorVi.state,
261
+ dispatch = _this$props5$editorVi.dispatch,
262
+ pluginInjectionApi = _this$props5.pluginInjectionApi;
264
263
  return (_pluginInjectionApi$r = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$r2 = pluginInjectionApi.rule) === null || _pluginInjectionApi$r2 === void 0 ? void 0 : _pluginInjectionApi$r2.actions.insertHorizontalRule(inputMethod)(state, dispatch)) !== null && _pluginInjectionApi$r !== void 0 ? _pluginInjectionApi$r : false;
265
264
  });
266
265
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "insertExpand", function () {
@@ -271,9 +270,9 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
271
270
  });
272
271
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "insertBlockType", function (itemName) {
273
272
  return function () {
274
- var _this$props5 = _this.props,
275
- editorView = _this$props5.editorView,
276
- onInsertBlockType = _this$props5.onInsertBlockType;
273
+ var _this$props6 = _this.props,
274
+ editorView = _this$props6.editorView,
275
+ onInsertBlockType = _this$props6.onInsertBlockType;
277
276
  var state = editorView.state,
278
277
  dispatch = editorView.dispatch;
279
278
  onInsertBlockType(itemName)(state, dispatch);
@@ -296,11 +295,11 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
296
295
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "onItemActivated", function (_ref2) {
297
296
  var item = _ref2.item,
298
297
  inputMethod = _ref2.inputMethod;
299
- var _this$props6 = _this.props,
300
- editorView = _this$props6.editorView,
301
- editorActions = _this$props6.editorActions,
302
- handleImageUpload = _this$props6.handleImageUpload,
303
- expandEnabled = _this$props6.expandEnabled;
298
+ var _this$props7 = _this.props,
299
+ editorView = _this$props7.editorView,
300
+ editorActions = _this$props7.editorActions,
301
+ handleImageUpload = _this$props7.handleImageUpload,
302
+ expandEnabled = _this$props7.expandEnabled;
304
303
 
305
304
  // need to do this before inserting nodes so scrollIntoView works properly
306
305
  if (!editorView.hasFocus()) {
@@ -416,12 +415,12 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
416
415
  key: "renderPopup",
417
416
  value: function renderPopup() {
418
417
  var emojiPickerOpen = this.state.emojiPickerOpen;
419
- var _this$props7 = this.props,
420
- popupsMountPoint = _this$props7.popupsMountPoint,
421
- popupsBoundariesElement = _this$props7.popupsBoundariesElement,
422
- popupsScrollableElement = _this$props7.popupsScrollableElement,
423
- emojiProvider = _this$props7.emojiProvider,
424
- replacePlusMenuWithElementBrowser = _this$props7.replacePlusMenuWithElementBrowser;
418
+ var _this$props8 = this.props,
419
+ popupsMountPoint = _this$props8.popupsMountPoint,
420
+ popupsBoundariesElement = _this$props8.popupsBoundariesElement,
421
+ popupsScrollableElement = _this$props8.popupsScrollableElement,
422
+ emojiProvider = _this$props8.emojiProvider,
423
+ replacePlusMenuWithElementBrowser = _this$props8.replacePlusMenuWithElementBrowser;
425
424
  var dropdownEmoji = this.state.dropdownItems.some(function (_ref4) {
426
425
  var name = _ref4.value.name;
427
426
  return name === 'emoji';
@@ -458,9 +457,9 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
458
457
  buttons = _this$state.buttons,
459
458
  dropdownItems = _this$state.dropdownItems,
460
459
  emojiPickerOpen = _this$state.emojiPickerOpen;
461
- var _this$props8 = this.props,
462
- isDisabled = _this$props8.isDisabled,
463
- isReducedSpacing = _this$props8.isReducedSpacing;
460
+ var _this$props9 = this.props,
461
+ isDisabled = _this$props9.isDisabled,
462
+ isReducedSpacing = _this$props9.isReducedSpacing;
464
463
  if (buttons.length === 0 && dropdownItems.length === 0) {
465
464
  return null;
466
465
  }
@@ -11,6 +11,7 @@ Object.defineProperty(exports, "mentionPluginKey", {
11
11
  return _key.mentionPluginKey;
12
12
  }
13
13
  });
14
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
15
  var _react = _interopRequireDefault(require("react"));
15
16
  var _uuid = _interopRequireDefault(require("uuid"));
16
17
  var _resource = require("@atlaskit/mention/resource");
@@ -23,12 +24,8 @@ var _messages = require("@atlaskit/editor-common/messages");
23
24
  var _typeAhead = require("./type-ahead");
24
25
  var _key = require("./pm-plugins/key");
25
26
  var _main = require("./pm-plugins/main");
26
- var getSharedState = function getSharedState(editorState) {
27
- if (!editorState) {
28
- return undefined;
29
- }
30
- return _key.mentionPluginKey.getState(editorState);
31
- };
27
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
32
29
  var mentionsPlugin = function mentionsPlugin(_ref) {
33
30
  var options = _ref.config,
34
31
  api = _ref.api;
@@ -70,6 +67,13 @@ var mentionsPlugin = function mentionsPlugin(_ref) {
70
67
  secondaryToolbarComponent: function secondaryToolbarComponent(_ref3) {
71
68
  var editorView = _ref3.editorView,
72
69
  disabled = _ref3.disabled;
70
+ var openMentionTypeAhead = function openMentionTypeAhead() {
71
+ var _api$typeAhead;
72
+ api === null || api === void 0 || (_api$typeAhead = api.typeAhead) === null || _api$typeAhead === void 0 || (_api$typeAhead = _api$typeAhead.actions) === null || _api$typeAhead === void 0 || _api$typeAhead.open({
73
+ triggerHandler: typeAhead,
74
+ inputMethod: _analytics.INPUT_METHOD.INSERT_MENU
75
+ });
76
+ };
73
77
  return /*#__PURE__*/_react.default.createElement(_withPluginState.WithPluginState, {
74
78
  editorView: editorView,
75
79
  plugins: {
@@ -80,12 +84,30 @@ var mentionsPlugin = function mentionsPlugin(_ref) {
80
84
  mentionState = _ref4$mentionState === void 0 ? {} : _ref4$mentionState;
81
85
  return !mentionState.mentionProvider ? null : /*#__PURE__*/_react.default.createElement(_ToolbarMention.default, {
82
86
  editorView: editorView,
87
+ onInsertMention: openMentionTypeAhead,
83
88
  isDisabled: disabled || (api === null || api === void 0 ? void 0 : api.typeAhead.actions.isAllowed(editorView.state))
84
89
  });
85
90
  }
86
91
  });
87
92
  },
88
- getSharedState: getSharedState,
93
+ actions: {
94
+ openTypeAhead: function openTypeAhead(inputMethod) {
95
+ var _api$typeAhead2;
96
+ return Boolean(api === null || api === void 0 || (_api$typeAhead2 = api.typeAhead) === null || _api$typeAhead2 === void 0 || (_api$typeAhead2 = _api$typeAhead2.actions) === null || _api$typeAhead2 === void 0 ? void 0 : _api$typeAhead2.open({
97
+ triggerHandler: typeAhead,
98
+ inputMethod: inputMethod
99
+ }));
100
+ }
101
+ },
102
+ getSharedState: function getSharedState(editorState) {
103
+ if (!editorState) {
104
+ return undefined;
105
+ }
106
+ var mentionPluginState = _key.mentionPluginKey.getState(editorState);
107
+ return _objectSpread(_objectSpread({}, mentionPluginState), {}, {
108
+ typeAheadHandler: typeAhead
109
+ });
110
+ },
89
111
  pluginsOptions: {
90
112
  quickInsert: function quickInsert(_ref5) {
91
113
  var formatMessage = _ref5.formatMessage;
@@ -100,26 +122,14 @@ var mentionsPlugin = function mentionsPlugin(_ref) {
100
122
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconMention, null);
101
123
  },
102
124
  action: function action(insert, state) {
103
- var _api$analytics2;
104
125
  var tr = insert(undefined);
105
- var pluginState = getSharedState(state);
126
+ var pluginState = _key.mentionPluginKey.getState(state);
106
127
  if (pluginState && pluginState.canInsertMention === false) {
107
128
  return false;
108
129
  }
109
- api === null || api === void 0 || api.typeAhead.commands.openTypeAheadAtCursor({
130
+ api === null || api === void 0 || api.typeAhead.actions.openAtTransaction({
110
131
  triggerHandler: typeAhead,
111
132
  inputMethod: _analytics.INPUT_METHOD.QUICK_INSERT
112
- })({
113
- tr: tr
114
- });
115
- api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || _api$analytics2.actions.attachAnalyticsEvent({
116
- action: _analytics.ACTION.INVOKED,
117
- actionSubject: _analytics.ACTION_SUBJECT.TYPEAHEAD,
118
- actionSubjectId: _analytics.ACTION_SUBJECT_ID.TYPEAHEAD_MENTION,
119
- attributes: {
120
- inputMethod: _analytics.INPUT_METHOD.QUICK_INSERT
121
- },
122
- eventType: _analytics.EVENT_TYPE.UI
123
133
  })(tr);
124
134
  return tr;
125
135
  }
@@ -16,8 +16,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
16
16
  var _react = _interopRequireWildcard(require("react"));
17
17
  var _mention = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/mention"));
18
18
  var _uiMenu = require("@atlaskit/editor-common/ui-menu");
19
- var _analytics = require("@atlaskit/editor-common/analytics");
20
- var _api = require("../../../type-ahead/api");
21
19
  var _reactIntlNext = require("react-intl-next");
22
20
  var _messages = require("../../messages");
23
21
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -38,7 +36,7 @@ var ToolbarMention = /*#__PURE__*/function (_PureComponent) {
38
36
  if (!_this.props.editorView) {
39
37
  return false;
40
38
  }
41
- (0, _api.createTypeAheadTools)(_this.props.editorView).openMention(_analytics.INPUT_METHOD.INSERT_MENU);
39
+ _this.props.onInsertMention();
42
40
  return true;
43
41
  });
44
42
  return _this;
@@ -21,19 +21,18 @@ var _pluginKey = require("./plugin-key");
21
21
  var _analytics = require("@atlaskit/editor-common/analytics");
22
22
  var _messages = require("../insert-block/ui/ToolbarInsertBlock/messages");
23
23
  var _selectionUtils = require("./selection-utils");
24
- var _api = require("../type-ahead/api");
25
- var getOpenTypeAhead = function getOpenTypeAhead(view, content) {
26
- var typeAheadAPI = (0, _api.createInternalTypeAheadTools)(view);
27
- var typeAheadHandler = typeAheadAPI.findTypeAheadHandler(content);
24
+ var getOpenTypeAhead = function getOpenTypeAhead(trigger, api) {
25
+ var _api$typeAhead, _api$typeAhead2;
26
+ var typeAheadHandler = api === null || api === void 0 || (_api$typeAhead = api.typeAhead) === null || _api$typeAhead === void 0 || (_api$typeAhead = _api$typeAhead.actions) === null || _api$typeAhead === void 0 ? void 0 : _api$typeAhead.findHandlerByTrigger(trigger);
28
27
  if (!typeAheadHandler || !typeAheadHandler.id) {
29
28
  return null;
30
29
  }
31
- return typeAheadAPI.openTypeAheadHandler({
30
+ return api === null || api === void 0 || (_api$typeAhead2 = api.typeAhead) === null || _api$typeAhead2 === void 0 || (_api$typeAhead2 = _api$typeAhead2.actions) === null || _api$typeAhead2 === void 0 ? void 0 : _api$typeAhead2.openAtTransaction({
32
31
  triggerHandler: typeAheadHandler,
33
32
  inputMethod: _analytics.INPUT_METHOD.KEYBOARD
34
33
  });
35
34
  };
36
- function createPlugin(dispatch, options) {
35
+ function createPlugin(dispatch, options, api) {
37
36
  var allowInserting = !!options.allowInserting;
38
37
  return new _safePlugin.SafePlugin({
39
38
  key: _pluginKey.pluginKey,
@@ -111,7 +110,7 @@ function createPlugin(dispatch, options) {
111
110
  var content = event.data || '';
112
111
  var tr = view.state.tr;
113
112
  tr.delete(startNodePosition, startNodePosition + 1);
114
- var openTypeAhead = getOpenTypeAhead(view, content);
113
+ var openTypeAhead = getOpenTypeAhead(content, api);
115
114
  if (openTypeAhead) {
116
115
  openTypeAhead(tr);
117
116
  } else {
@@ -132,7 +131,8 @@ function createPlugin(dispatch, options) {
132
131
  });
133
132
  }
134
133
  var basePlaceholderTextPlugin = function basePlaceholderTextPlugin(_ref) {
135
- var options = _ref.config;
134
+ var api = _ref.api,
135
+ options = _ref.config;
136
136
  return {
137
137
  name: 'placeholderText',
138
138
  nodes: function nodes() {
@@ -146,7 +146,7 @@ var basePlaceholderTextPlugin = function basePlaceholderTextPlugin(_ref) {
146
146
  name: 'placeholderText',
147
147
  plugin: function plugin(_ref2) {
148
148
  var dispatch = _ref2.dispatch;
149
- return createPlugin(dispatch, options);
149
+ return createPlugin(dispatch, options, api);
150
150
  }
151
151
  }];
152
152
  },
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.createTypeAheadTools = exports.createInternalTypeAheadTools = void 0;
6
+ exports.createTypeAheadTools = void 0;
7
7
  var _typeAhead = require("@atlaskit/editor-common/type-ahead");
8
8
  var _utils = require("./utils");
9
9
  var _analytics = require("@atlaskit/editor-common/analytics");
@@ -186,32 +186,14 @@ var currentQuery = function currentQuery(_ref8) {
186
186
  return (0, _utils.getTypeAheadQuery)(editorView.state);
187
187
  };
188
188
  };
189
- var find = function find(_ref9) {
190
- var editorView = _ref9.editorView;
191
- return function (trigger) {
192
- var editorState = editorView.state;
193
- var handler = (0, _utils.findHandlerByTrigger)({
194
- trigger: trigger,
195
- editorState: editorState
196
- });
197
- if (!handler) {
198
- return null;
199
- }
200
- return handler;
201
- };
202
- };
203
189
 
204
- // This is an internal tool to be used inside of others Editor Plugins
205
- // We shouldn't public export this method.
206
- var createInternalTypeAheadTools = exports.createInternalTypeAheadTools = function createInternalTypeAheadTools(editorView) {
207
- var props = {
208
- editorView: editorView
209
- };
210
- return {
211
- findTypeAheadHandler: find(props),
212
- openTypeAheadHandler: _openTypeaheadAtCursor.openTypeAhead
213
- };
214
- };
190
+ /**
191
+ * Please do not use it. Ping #help-editor and talk to the Lego team before use it.
192
+ *
193
+ * @private
194
+ * @deprecated
195
+ *
196
+ */
215
197
  var createTypeAheadTools = exports.createTypeAheadTools = function createTypeAheadTools(editorView) {
216
198
  var props = {
217
199
  editorView: editorView
@@ -14,6 +14,7 @@ Object.defineProperty(exports, "typeAheadPluginKey", {
14
14
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _typeAhead = require("@atlaskit/editor-common/type-ahead");
17
+ var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
17
18
  var _main = require("./pm-plugins/main");
18
19
  var _insertItemPlugin = require("./pm-plugins/insert-item-plugin");
19
20
  var _withPluginState = require("@atlaskit/editor-common/with-plugin-state");
@@ -27,6 +28,8 @@ var _updateSelectedIndex = require("./commands/update-selected-index");
27
28
  var _statsModifier = require("./stats-modifier");
28
29
  var _analytics = require("@atlaskit/editor-common/analytics");
29
30
  var _openTypeaheadAtCursor = require("./transforms/open-typeahead-at-cursor");
31
+ var _closeTypeAhead = require("./transforms/close-type-ahead");
32
+ var _insertTypeAheadItem = require("./commands/insert-type-ahead-item");
30
33
  /**
31
34
  *
32
35
  * Revamped typeahead using decorations instead of the `typeAheadQuery` mark
@@ -118,6 +121,103 @@ var TypeAheadMenu = /*#__PURE__*/_react.default.memo(function (_ref) {
118
121
  cancel: cancel
119
122
  });
120
123
  });
124
+ var createOpenAtTransaction = function createOpenAtTransaction(editorAnalyticsAPI) {
125
+ return function (props) {
126
+ return function (tr) {
127
+ var triggerHandler = props.triggerHandler,
128
+ inputMethod = props.inputMethod;
129
+ (0, _openTypeaheadAtCursor.openTypeAheadAtCursor)({
130
+ triggerHandler: triggerHandler,
131
+ inputMethod: inputMethod
132
+ })({
133
+ tr: tr
134
+ });
135
+ editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent({
136
+ action: _analytics.ACTION.INVOKED,
137
+ actionSubject: _analytics.ACTION_SUBJECT.TYPEAHEAD,
138
+ actionSubjectId: triggerHandler.id,
139
+ attributes: {
140
+ inputMethod: inputMethod
141
+ },
142
+ eventType: _analytics.EVENT_TYPE.UI
143
+ })(tr);
144
+ return true;
145
+ };
146
+ };
147
+ };
148
+ var createOpenTypeAhead = function createOpenTypeAhead(editorViewRef, editorAnalyticsAPI) {
149
+ return function (props) {
150
+ if (!editorViewRef.current) {
151
+ return false;
152
+ }
153
+ var view = editorViewRef.current;
154
+ var tr = view.state.tr;
155
+ createOpenAtTransaction(editorAnalyticsAPI)(props)(tr);
156
+ view.dispatch(tr);
157
+ return true;
158
+ };
159
+ };
160
+ var createInsertTypeAheadItem = function createInsertTypeAheadItem(editorViewRef) {
161
+ return function (props) {
162
+ if (!editorViewRef.current) {
163
+ return false;
164
+ }
165
+ var view = editorViewRef.current;
166
+ var triggerHandler = props.triggerHandler,
167
+ contentItem = props.contentItem,
168
+ query = props.query,
169
+ sourceListItem = props.sourceListItem,
170
+ mode = props.mode;
171
+ (0, _insertTypeAheadItem.insertTypeAheadItem)(view)({
172
+ handler: triggerHandler,
173
+ item: contentItem,
174
+ mode: mode || _typeAhead.SelectItemMode.SELECTED,
175
+ query: query,
176
+ sourceListItem: sourceListItem
177
+ });
178
+ return true;
179
+ };
180
+ };
181
+ var createFindHandlerByTrigger = function createFindHandlerByTrigger(editorViewRef) {
182
+ return function (trigger) {
183
+ if (!editorViewRef.current) {
184
+ return null;
185
+ }
186
+ var view = editorViewRef.current;
187
+ return (0, _utils.findHandler)(trigger, view.state);
188
+ };
189
+ };
190
+ var createCloseTypeAhead = function createCloseTypeAhead(editorViewRef) {
191
+ return function (options) {
192
+ if (!editorViewRef.current) {
193
+ return false;
194
+ }
195
+ var view = editorViewRef.current;
196
+ var currentQuery = (0, _utils.getTypeAheadQuery)(view.state) || '';
197
+ var state = view.state;
198
+ var tr = state.tr;
199
+ if (options.attachCommand) {
200
+ var fakeDispatch = function fakeDispatch(customTr) {
201
+ tr = customTr;
202
+ };
203
+ options.attachCommand(state, fakeDispatch);
204
+ }
205
+ (0, _closeTypeAhead.closeTypeAhead)(tr);
206
+ if (options.insertCurrentQueryAsRawText && currentQuery && currentQuery.length > 0) {
207
+ var handler = (0, _utils.getTypeAheadHandler)(state);
208
+ if (!handler) {
209
+ return false;
210
+ }
211
+ var text = handler.trigger.concat(currentQuery);
212
+ tr.replaceSelectionWith(state.schema.text(text));
213
+ }
214
+ view.dispatch(tr);
215
+ if (!view.hasFocus()) {
216
+ view.focus();
217
+ }
218
+ return true;
219
+ };
220
+ };
121
221
 
122
222
  /**
123
223
  *
@@ -128,11 +228,16 @@ var TypeAheadMenu = /*#__PURE__*/_react.default.memo(function (_ref) {
128
228
  *
129
229
  */
130
230
  var typeAheadPlugin = function typeAheadPlugin(_ref4) {
131
- var options = _ref4.config;
231
+ var _api$analytics, _api$analytics2;
232
+ var options = _ref4.config,
233
+ api = _ref4.api;
132
234
  var fireAnalyticsCallback = (0, _analytics.fireAnalyticsEvent)(options === null || options === void 0 ? void 0 : options.createAnalyticsEvent);
133
235
  var popupMountRef = {
134
236
  current: null
135
237
  };
238
+ var editorViewRef = {
239
+ current: null
240
+ };
136
241
  return {
137
242
  name: 'typeAhead',
138
243
  marks: function marks() {
@@ -158,6 +263,20 @@ var typeAheadPlugin = function typeAheadPlugin(_ref4) {
158
263
  createAnalyticsEvent: options === null || options === void 0 ? void 0 : options.createAnalyticsEvent
159
264
  });
160
265
  }
266
+ }, {
267
+ name: 'typeAheadEditorViewRef',
268
+ plugin: function plugin() {
269
+ return new _safePlugin.SafePlugin({
270
+ view: function view(_view) {
271
+ editorViewRef.current = _view;
272
+ return {
273
+ destroy: function destroy() {
274
+ editorViewRef.current = null;
275
+ }
276
+ };
277
+ }
278
+ });
279
+ }
161
280
  }, {
162
281
  name: 'typeAheadInsertItem',
163
282
  plugin: _insertItemPlugin.createPlugin
@@ -170,12 +289,24 @@ var typeAheadPlugin = function typeAheadPlugin(_ref4) {
170
289
  }
171
290
  }];
172
291
  },
173
- commands: {
174
- openTypeAheadAtCursor: _openTypeaheadAtCursor.openTypeAheadAtCursor
292
+ getSharedState: function getSharedState(editorState) {
293
+ if (!editorState) {
294
+ return {
295
+ query: ''
296
+ };
297
+ }
298
+ return {
299
+ query: (0, _utils.getTypeAheadQuery)(editorState) || ''
300
+ };
175
301
  },
176
302
  actions: {
177
303
  isOpen: _utils.isTypeAheadOpen,
178
- isAllowed: _utils.isTypeAheadAllowed
304
+ isAllowed: _utils.isTypeAheadAllowed,
305
+ open: createOpenTypeAhead(editorViewRef, api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions),
306
+ openAtTransaction: createOpenAtTransaction(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions),
307
+ findHandlerByTrigger: createFindHandlerByTrigger(editorViewRef),
308
+ insert: createInsertTypeAheadItem(editorViewRef),
309
+ close: createCloseTypeAhead(editorViewRef)
179
310
  },
180
311
  contentComponent: function contentComponent(_ref7) {
181
312
  var editorView = _ref7.editorView,
@@ -11,7 +11,8 @@ var _main = require("./pm-plugins/main");
11
11
  var _history = require("../history");
12
12
  var _ToolbarUndoRedo = _interopRequireDefault(require("./ui/ToolbarUndoRedo"));
13
13
  var _WithPluginState = _interopRequireDefault(require("../../ui/WithPluginState"));
14
- var undoRedoPlugin = function undoRedoPlugin() {
14
+ var undoRedoPlugin = function undoRedoPlugin(_ref) {
15
+ var api = _ref.api;
15
16
  return {
16
17
  name: 'undoRedoPlugin',
17
18
  pmPlugins: function pmPlugins() {
@@ -27,21 +28,22 @@ var undoRedoPlugin = function undoRedoPlugin() {
27
28
  }
28
29
  }];
29
30
  },
30
- primaryToolbarComponent: function primaryToolbarComponent(_ref) {
31
- var editorView = _ref.editorView,
32
- disabled = _ref.disabled,
33
- isToolbarReducedSpacing = _ref.isToolbarReducedSpacing;
31
+ primaryToolbarComponent: function primaryToolbarComponent(_ref2) {
32
+ var editorView = _ref2.editorView,
33
+ disabled = _ref2.disabled,
34
+ isToolbarReducedSpacing = _ref2.isToolbarReducedSpacing;
34
35
  return /*#__PURE__*/_react.default.createElement(_WithPluginState.default, {
35
36
  plugins: {
36
37
  historyState: _history.historyPluginKey
37
38
  },
38
- render: function render(_ref2) {
39
- var historyState = _ref2.historyState;
39
+ render: function render(_ref3) {
40
+ var historyState = _ref3.historyState;
40
41
  return /*#__PURE__*/_react.default.createElement(_ToolbarUndoRedo.default, {
41
42
  isReducedSpacing: isToolbarReducedSpacing,
42
43
  disabled: disabled,
43
44
  historyState: historyState,
44
- editorView: editorView
45
+ editorView: editorView,
46
+ api: api
45
47
  });
46
48
  }
47
49
  });
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });