@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
@@ -1,6 +0,0 @@
1
- import type { FeatureFlags } from '../../../types/feature-flags';
2
- export interface EditorPresetProps {
3
- excludes?: Set<string>;
4
- experimental?: Array<string>;
5
- featureFlags?: FeatureFlags;
6
- }
@@ -1,21 +0,0 @@
1
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
- import type { EditorAppearance } from '@atlaskit/editor-common/types';
3
- import type { DefaultPresetPluginOptions } from './default';
4
- import type { EditorPresetProps } from './types';
5
- import type { EditorSharedPropsWithPlugins, EditorPluginFeatureProps, EditorProviderProps } from '../../../types/editor-props';
6
- import type { FeatureFlags } from '../../../types/feature-flags';
7
- import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
8
- type UniversalPresetProps = EditorPresetProps & DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & EditorPluginFeatureProps & EditorProviderProps;
9
- /**
10
- * Creates a preset with all of the available plugins.
11
- * Basis for create-plugins-list and can be used to migrate from Editor -> EditorNext (Presets project)
12
- * with minimal friction.
13
- *
14
- * @param appearance
15
- * @param props A subset of full EditorProps for the full feature preset
16
- * @param featureFlags
17
- * @param prevAppearance The appearance of the editor in the previous render
18
- * @returns a full featured preset configured according to the provided props - basis for create-plugins-list
19
- */
20
- export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): EditorPresetBuilder<any, any>;
21
- export {};
@@ -1,7 +0,0 @@
1
- import type { EditorProps } from '../../../types/editor-props';
2
- import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
3
- interface PresetProps {
4
- props: EditorProps;
5
- }
6
- export default function useUniversalPreset({ props }: PresetProps): EditorPresetBuilder<any, any>;
7
- export {};
@@ -1 +0,0 @@
1
- export { createDefaultPreset } from './labs/next/presets/default';
@@ -1,8 +0,0 @@
1
- import commonMessages, { linkMessages, linkToolbarMessages } from '@atlaskit/editor-common/messages';
2
- import { messages as dateMessages } from './plugins/date/nodeviews/messages';
3
- import { messages as statusMessages } from './plugins/status/nodeviews/messages';
4
- export { linkMessages };
5
- export { statusMessages };
6
- export { dateMessages };
7
- export { linkToolbarMessages };
8
- export default commonMessages;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const ContextAdapter: React.FunctionComponent;
@@ -1 +0,0 @@
1
- export declare const InlineNodeViewSharedStyles: import("@emotion/react").SerializedStyles;
@@ -1,2 +0,0 @@
1
- import { getPerformanceOptions, startMeasureReactNodeViewRendered, stopMeasureReactNodeViewRendered } from '@atlaskit/editor-common/utils';
2
- export { getPerformanceOptions, startMeasureReactNodeViewRendered, stopMeasureReactNodeViewRendered, };
@@ -1 +0,0 @@
1
- export type { ProsemirrorGetPosHandler, ReactNodeProps, ReactComponentProps, getPosHandler, getPosHandlerNode, ForwardRef, } from './types';
@@ -1,12 +0,0 @@
1
- import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- export interface ReactNodeProps {
3
- selected: boolean;
4
- }
5
- export type ProsemirrorGetPosHandler = () => number | undefined;
6
- export type getPosHandler = getPosHandlerNode | boolean;
7
- export type getPosHandlerNode = () => number | undefined;
8
- export type ReactComponentProps = {
9
- [key: string]: unknown;
10
- };
11
- export type ForwardRef = (node: HTMLElement | null) => void;
12
- export type shouldUpdate = (nextNode: PMNode) => boolean;
@@ -1,4 +0,0 @@
1
- import { Command } from '../../../types/command';
2
- import { AlignmentState } from '../pm-plugins/types';
3
- export declare const isAlignable: (align?: AlignmentState) => Command;
4
- export declare const changeAlignment: (align?: AlignmentState) => Command;
@@ -1,5 +0,0 @@
1
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- import { AlignmentPluginState } from './pm-plugins/types';
3
- export declare const defaultConfig: AlignmentPluginState;
4
- declare const alignmentPlugin: NextEditorPlugin<'alignment'>;
5
- export default alignmentPlugin;
@@ -1,2 +0,0 @@
1
- import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- export declare function keymapPlugin(): SafePlugin;
@@ -1,8 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
4
- import type { Dispatch } from '../../../event-dispatcher';
5
- import type { AlignmentPluginState } from './types';
6
- export declare function createInitialPluginState(editorState: EditorState, pluginConfig: AlignmentPluginState): AlignmentPluginState;
7
- export declare const pluginKey: PluginKey<AlignmentPluginState>;
8
- export declare function createPlugin(dispatch: Dispatch, pluginConfig: AlignmentPluginState): SafePlugin;
@@ -1,5 +0,0 @@
1
- export type AlignmentState = 'start' | 'end' | 'center';
2
- export type AlignmentPluginState = {
3
- align: AlignmentState;
4
- isEnabled?: boolean;
5
- };
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- type Props = {
3
- alignment: string;
4
- };
5
- export declare const IconMap: (props: Props) => JSX.Element;
6
- export {};
@@ -1,33 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- import { jsx } from '@emotion/react';
4
- import type { WrappedComponentProps } from 'react-intl-next';
5
- import type { AlignmentPluginState, AlignmentState } from '../../pm-plugins/types';
6
- export interface State {
7
- isOpen: boolean;
8
- }
9
- export interface Props {
10
- pluginState: AlignmentPluginState;
11
- changeAlignment: (align: AlignmentState) => void;
12
- popupsMountPoint?: HTMLElement;
13
- popupsBoundariesElement?: HTMLElement;
14
- popupsScrollableElement?: HTMLElement;
15
- isReducedSpacing?: boolean;
16
- disabled?: boolean;
17
- }
18
- export declare class AlignmentToolbar extends React.Component<Props & WrappedComponentProps, State> {
19
- static displayName: string;
20
- private toolbarItemRef;
21
- state: State;
22
- render(): jsx.JSX.Element;
23
- componentDidUpdate(prevProps: Props): void;
24
- private changeAlignment;
25
- private toggleOpen;
26
- private toggleOpenByKeyboard;
27
- private hide;
28
- private hideOnEscape;
29
- }
30
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
31
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
32
- };
33
- export default _default;
@@ -1,22 +0,0 @@
1
- export declare const messages: {
2
- alignment: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- alignLeft: {
8
- id: string;
9
- defaultMessage: string;
10
- description: string;
11
- };
12
- alignRight: {
13
- id: string;
14
- defaultMessage: string;
15
- description: string;
16
- };
17
- alignCenter: {
18
- id: string;
19
- defaultMessage: string;
20
- description: string;
21
- };
22
- };
@@ -1,3 +0,0 @@
1
- export declare const triggerWrapper: import("@emotion/react").SerializedStyles;
2
- export declare const wrapper: import("@emotion/react").SerializedStyles;
3
- export declare const expandIconWrapper: import("@emotion/react").SerializedStyles;
@@ -1,3 +0,0 @@
1
- import type { EditorState } from '@atlaskit/editor-prosemirror/state';
2
- import type { AlignmentState } from '../pm-plugins/types';
3
- export declare const getActiveAlignment: (state: EditorState) => AlignmentState | undefined;
@@ -1,3 +0,0 @@
1
- import { FabricChannel } from '@atlaskit/analytics-listeners';
2
- export declare const analyticsEventKey = "EDITOR_ANALYTICS_EVENT";
3
- export declare const editorAnalyticsChannel = FabricChannel.editor;
@@ -1,8 +0,0 @@
1
- import analyticsPlugin from './plugin';
2
- export { ACTION_SUBJECT_ID, ACTION_SUBJECT, ACTION, BROWSER_FREEZE_INTERACTION_TYPE, EVENT_TYPE, FULL_WIDTH_MODE, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, MODE, PasteContents, PasteSources, PasteTypes, PLATFORMS, PUNC, SYMBOL, TABLE_ACTION, TABLE_BREAKOUT, TRIGGER_METHOD, USER_CONTEXT, DELETE_DIRECTION, fireAnalyticsEvent, getAnalyticsEventsFromTransaction, } from '@atlaskit/editor-common/analytics';
3
- export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadWithChannel, CommonListAnalyticsAttributes, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, ErrorEventPayload, ErrorEventAttributes, FormatEventPayload, GeneralEventPayload, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, SubstituteEventPayload, TableEventPayload, FireAnalyticsCallback, FireAnalyticsEvent, } from '@atlaskit/editor-common/analytics';
4
- export { withAnalytics, addAnalytics } from './utils';
5
- export declare const analyticsPluginKey: import("prosemirror-state").PluginKey<any>;
6
- export default analyticsPlugin;
7
- export type { HigherOrderCommand } from '../../types/command';
8
- export type { DispatchAnalyticsEvent } from './types/dispatch-analytics-event';
@@ -1,8 +0,0 @@
1
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- /**
3
- * @private
4
- * @deprecated
5
- * Do not use the analytics plugin key directly.
6
- * This will be deprecated soon.
7
- */
8
- export declare const analyticsPluginKey: PluginKey<any>;
@@ -1,29 +0,0 @@
1
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
3
- import type { AnalyticsEventPayload } from './types';
4
- import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
5
- import type { PerformanceTracking } from '../../types/performance-tracking';
6
- import type { analyticsPlugin as newAnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
7
- interface AnalyticsPluginOptions {
8
- createAnalyticsEvent?: CreateUIAnalyticsEvent;
9
- performanceTracking?: PerformanceTracking;
10
- }
11
- /**
12
- * @private
13
- * @deprecated
14
- * Do not use this analytics plugin.
15
- * This will be deprecated soon.
16
- */
17
- declare const analyticsPlugin: NextEditorPlugin<'deprecatedAnalytics', {
18
- pluginConfiguration: AnalyticsPluginOptions;
19
- dependencies: [
20
- FeatureFlagsPlugin,
21
- typeof newAnalyticsPlugin
22
- ];
23
- }>;
24
- export declare function extendPayload({ payload, duration, distortedDuration, }: {
25
- payload: AnalyticsEventPayload;
26
- duration: number;
27
- distortedDuration: boolean;
28
- }): AnalyticsEventPayload<void>;
29
- export default analyticsPlugin;
@@ -1 +0,0 @@
1
- export type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
@@ -1 +0,0 @@
1
- export { EVENT_TYPE, ACTION, INPUT_METHOD, TRIGGER_METHOD, ACTION_SUBJECT, ACTION_SUBJECT_ID, FLOATING_CONTROLS_TITLE, CONTENT_COMPONENT, } from '@atlaskit/editor-common/analytics';
@@ -1 +0,0 @@
1
- export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, FeatureExposureAEP, TransactionEventPayload, ErrorEventAttributes, ErrorEventPayload, } from '@atlaskit/editor-common/analytics';
@@ -1 +0,0 @@
1
- export type { TextColorSelectedAttr, TextColorSelectedAEP, TextColorShowPaletteToggleAttr, TextColorShowPaletteToggleAEP, ExperimentalEventPayload, } from '@atlaskit/editor-common/analytics';
@@ -1,2 +0,0 @@
1
- export { SELECTION_TYPE, GAP_CURSOR_POSITION, TARGET_SELECTION_SOURCE, } from '@atlaskit/editor-common/analytics';
2
- export type { SelectionJson, ExtensionType, ExtensionEventPayload, } from '@atlaskit/editor-common/analytics';
@@ -1,2 +0,0 @@
1
- export { PLATFORMS, MODE, FULL_WIDTH_MODE, BROWSER_FREEZE_INTERACTION_TYPE, } from '@atlaskit/editor-common/analytics';
2
- export type { UfoSessionCompletePayloadAEP, ColorPickerAEP, GeneralEventPayload, } from '@atlaskit/editor-common/analytics';
@@ -1,9 +0,0 @@
1
- export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD, TRIGGER_METHOD, CONTENT_COMPONENT, FLOATING_CONTROLS_TITLE, } from './enums';
2
- export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadWithChannel, AnalyticsEventPayloadCallback, ErrorEventPayload, ErrorEventAttributes, } from './events';
3
- export { BROWSER_FREEZE_INTERACTION_TYPE, FULL_WIDTH_MODE, MODE, PLATFORMS, } from './general-events';
4
- export type { GeneralEventPayload } from './general-events';
5
- export type { MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, } from './media-events';
6
- export type { DispatchAnalyticsEvent } from './dispatch-analytics-event';
7
- export type { CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, } from './link-tool-bar-events';
8
- export type { FormatEventPayload, CommonListAnalyticsAttributes, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, ListEventPayload, PasteContent, PasteEventPayload, PasteSource, PasteType, PasteContents, SubstituteEventPayload, TableEventPayload, PasteSources, PasteTypes, PASTE_ACTION_SUBJECT_ID, } from '@atlaskit/editor-common/analytics';
9
- export { USER_CONTEXT, DELETE_DIRECTION, INDENT_DIRECTION, PUNC, TABLE_ACTION, INDENT_TYPE, SYMBOL, TABLE_BREAKOUT, } from '@atlaskit/editor-common/analytics';
@@ -1,2 +0,0 @@
1
- export type { AnnotationActionType, AnnotationAEP, AnnotationAEPAttributes, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, } from '@atlaskit/editor-common/analytics';
2
- export { RESOLVE_METHOD } from '@atlaskit/editor-common/analytics';
@@ -1 +0,0 @@
1
- export type { RecentActivitiesPerfAEP, QuickSearchPerfAEP, ViewedCreateLinkInlineDialogAEP, DismissedCreateLinkInlineDialogAEP, EnteredTextLinkSearchInputAEP, ShownPreQuerySearchResultsAEP, ShownPostQuerySearchResultsAEP, HighlightedSearchResultsAEP, SelectedSearchResultsAEP, EditLinkToolbarAEP, UnlinkToolbarAEP, CreateLinkInlineDialogEventPayload, CreateLinkInlineDialogActionType, } from '@atlaskit/editor-common/analytics';
@@ -1 +0,0 @@
1
- export type { MediaLinkAEP, CaptionTrackAction, MediaAltTextActionType, MediaEventPayload, } from '@atlaskit/editor-common/analytics';
@@ -1,2 +0,0 @@
1
- export { LAYOUT_TYPE, SMART_LINK_TYPE, } from '@atlaskit/editor-common/analytics';
2
- export type { NodeEventPayload } from '@atlaskit/editor-common/analytics';
@@ -1 +0,0 @@
1
- export type { SelectNodeAEP, SelectRangeAEP, SelectAllAEP, SelectCellAEP, SelectionEventPayload, } from '@atlaskit/editor-common/analytics';
@@ -1,2 +0,0 @@
1
- export type { SmartLinkNodeContext, InsertSmartLinkAEP, } from '@atlaskit/editor-common/analytics';
2
- export { SmartLinkNodeContexts } from '@atlaskit/editor-common/analytics';
@@ -1,2 +0,0 @@
1
- export { TOOLBAR_ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
2
- export type { ToolbarEventPayload } from '@atlaskit/editor-common/analytics';
@@ -1,22 +0,0 @@
1
- import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
2
- import type { AnalyticsEventPayload } from './types';
3
- import type { HigherOrderCommand } from '../../types/command';
4
- /**
5
- *
6
- * @private
7
- * @deprecated
8
- *
9
- * Do not use this anymore. Please use @atlaskit/editor-plugin-analytics
10
- *
11
- */
12
- export declare function addAnalytics(state: EditorState, tr: Transaction, payload: AnalyticsEventPayload, channel?: string): Transaction;
13
- export type AnalyticsEventPayloadCallback = (state: EditorState) => AnalyticsEventPayload | undefined;
14
- /**
15
- *
16
- * @private
17
- * @deprecated
18
- *
19
- * Do not use this anymore. Please use @atlaskit/editor-plugin-analytics
20
- *
21
- */
22
- export declare function withAnalytics(payload: AnalyticsEventPayload | AnalyticsEventPayloadCallback, channel?: string): HigherOrderCommand;
@@ -1,16 +0,0 @@
1
- import type { EditorState } from '@atlaskit/editor-prosemirror/state';
2
- import type { RESOLVE_METHOD } from './../../analytics/types/inline-comment-events';
3
- import type { Command } from '../../../types';
4
- import { AnnotationTypes } from '@atlaskit/adf-schema';
5
- import { INPUT_METHOD } from '../../analytics';
6
- import type { InlineCommentMap, InlineCommentMouseData } from '../pm-plugins/types';
7
- export declare const updateInlineCommentResolvedState: (partialNewState: InlineCommentMap, resolveMethod?: RESOLVE_METHOD) => Command;
8
- export declare const closeComponent: (state: EditorState) => Command;
9
- export declare const clearDirtyMark: () => Command;
10
- export declare const removeInlineCommentNearSelection: (id: string) => Command;
11
- export declare const setInlineCommentDraftState: (drafting: boolean, inputMethod?: INPUT_METHOD.TOOLBAR | INPUT_METHOD.SHORTCUT) => Command;
12
- export declare const addInlineComment: (id: string) => Command;
13
- export declare const updateMouseState: (mouseData: InlineCommentMouseData) => Command;
14
- export declare const setSelectedAnnotation: (id: string) => Command;
15
- export declare const createAnnotation: (id: string, annotationType?: AnnotationTypes) => Command;
16
- export declare const setInlineCommentsVisibility: (isVisible: boolean) => Command;
@@ -1,11 +0,0 @@
1
- import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
2
- import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
- import type { RESOLVE_METHOD } from '../../analytics/types/inline-comment-events';
4
- declare const _default: {
5
- addAnnotationMark: (id: string) => (transaction: Transaction, state: EditorState) => Transaction;
6
- addInlineComment: (id: string) => (transaction: Transaction, state: EditorState) => Transaction;
7
- addOpenCloseAnalytics: (drafting: boolean, method?: INPUT_METHOD.SHORTCUT | INPUT_METHOD.TOOLBAR) => (transaction: Transaction, state: EditorState) => Transaction;
8
- addInsertAnalytics: (transaction: Transaction, state: EditorState) => Transaction;
9
- addResolveAnalytics: (method?: RESOLVE_METHOD | undefined) => (transaction: Transaction, state: EditorState) => Transaction;
10
- };
11
- export default _default;
@@ -1,12 +0,0 @@
1
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- import type { AnnotationProviders, InlineCommentAnnotationProvider, AnnotationInfo, AnnotationState, InlineCommentState, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationTypeProvider } from './types';
3
- import type { UpdateEvent } from './update-provider';
4
- import { AnnotationUpdateEmitter } from './update-provider';
5
- import type { InlineCommentPluginState } from './pm-plugins/types';
6
- declare const annotationPlugin: NextEditorPlugin<'annotation', {
7
- pluginConfiguration: AnnotationProviders | undefined;
8
- sharedState: InlineCommentPluginState | undefined;
9
- }>;
10
- export default annotationPlugin;
11
- export { AnnotationUpdateEmitter };
12
- export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationTypeProvider, AnnotationInfo, AnnotationState, InlineCommentState, UpdateEvent, };
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { ForwardRef } from '../../../nodeviews';
3
- import ReactNodeView from '@atlaskit/editor-common/react-node-view';
4
- export declare class AnnotationNodeView extends ReactNodeView {
5
- createDomRef(): HTMLSpanElement;
6
- getContentDOM(): {
7
- dom: HTMLSpanElement;
8
- };
9
- render(_props: {}, forwardRef: ForwardRef): JSX.Element;
10
- }
11
- export declare const getAnnotationViewClassname: (isUnresolved: boolean, hasFocus: boolean) => string | undefined;
@@ -1,3 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { InlineCommentPluginState, InlineCommentPluginOptions } from './types';
3
- export declare const inlineCommentPlugin: (options: InlineCommentPluginOptions) => SafePlugin<InlineCommentPluginState>;
@@ -1,2 +0,0 @@
1
- import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- export declare function keymapPlugin(): SafePlugin;
@@ -1,2 +0,0 @@
1
- import type { InlineCommentPluginState } from './types';
2
- export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch<any>, initialState: InlineCommentPluginState | ((state: import("prosemirror-state").EditorState) => InlineCommentPluginState)) => import("prosemirror-state").SafeStateField<InlineCommentPluginState>, createCommand: <A = import("./types").InlineCommentAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: ((tr: import("prosemirror-state").Transaction, state: import("prosemirror-state").EditorState) => import("prosemirror-state").Transaction) | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -1,3 +0,0 @@
1
- import type { InlineCommentAction, InlineCommentPluginState } from './types';
2
- declare const _default: (pluginState: InlineCommentPluginState, action: InlineCommentAction) => InlineCommentPluginState;
3
- export default _default;
@@ -1,78 +0,0 @@
1
- import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
2
- import type { EditorState, SelectionBookmark } from '@atlaskit/editor-prosemirror/state';
3
- import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
4
- import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
5
- import type { InlineCommentAnnotationProvider, AnnotationInfo } from '../types';
6
- export declare enum ACTIONS {
7
- UPDATE_INLINE_COMMENT_STATE = 0,
8
- SET_INLINE_COMMENT_DRAFT_STATE = 1,
9
- INLINE_COMMENT_UPDATE_MOUSE_STATE = 2,
10
- INLINE_COMMENT_CLEAR_DIRTY_MARK = 3,
11
- ADD_INLINE_COMMENT = 4,
12
- INLINE_COMMENT_SET_VISIBLE = 5,
13
- CLOSE_COMPONENT = 6,
14
- SET_SELECTED_ANNOTATION = 7
15
- }
16
- export interface InlineCommentPluginOptions {
17
- dispatch: Dispatch;
18
- eventDispatcher: EventDispatcher;
19
- portalProviderAPI: PortalProviderAPI;
20
- provider: InlineCommentAnnotationProvider;
21
- }
22
- export interface InlineCommentMouseData {
23
- isSelecting: boolean;
24
- }
25
- export type InlineCommentMap = {
26
- [key: string]: boolean;
27
- };
28
- export type InlineCommentAction = {
29
- type: ACTIONS.UPDATE_INLINE_COMMENT_STATE;
30
- data: InlineCommentMap;
31
- } | {
32
- type: ACTIONS.SET_INLINE_COMMENT_DRAFT_STATE;
33
- data: {
34
- drafting: boolean;
35
- editorState: EditorState;
36
- };
37
- } | {
38
- type: ACTIONS.INLINE_COMMENT_UPDATE_MOUSE_STATE;
39
- data: {
40
- mouseData: InlineCommentMouseData;
41
- };
42
- } | {
43
- type: ACTIONS.INLINE_COMMENT_CLEAR_DIRTY_MARK;
44
- } | {
45
- type: ACTIONS.CLOSE_COMPONENT;
46
- data: {
47
- lastClosedPos: number;
48
- };
49
- } | {
50
- type: ACTIONS.ADD_INLINE_COMMENT;
51
- data: {
52
- drafting: boolean;
53
- inlineComments: InlineCommentMap;
54
- editorState: EditorState;
55
- selectedAnnotations: AnnotationInfo[];
56
- };
57
- } | {
58
- type: ACTIONS.INLINE_COMMENT_SET_VISIBLE;
59
- data: {
60
- isVisible: boolean;
61
- };
62
- } | {
63
- type: ACTIONS.SET_SELECTED_ANNOTATION;
64
- data: {
65
- selectedAnnotations: AnnotationInfo[];
66
- };
67
- };
68
- export type InlineCommentPluginState = {
69
- annotations: InlineCommentMap;
70
- selectedAnnotations: AnnotationInfo[];
71
- dirtyAnnotations?: boolean;
72
- mouseData: InlineCommentMouseData;
73
- draftDecorationSet?: DecorationSet;
74
- bookmark?: SelectionBookmark;
75
- disallowOnWhitespace: boolean;
76
- isVisible: boolean;
77
- lastClosedPos?: number;
78
- };
@@ -1,4 +0,0 @@
1
- import type { IntlShape } from 'react-intl-next';
2
- import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
- import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
4
- export declare const buildToolbar: (state: EditorState, intl: IntlShape, isToolbarAbove?: boolean) => FloatingToolbarConfig | undefined;
@@ -1,86 +0,0 @@
1
- import type React from 'react';
2
- import type { AnnotationTypes } from '@atlaskit/adf-schema';
3
- import type { AnnotationUpdateEmitter } from './update-provider';
4
- export type AnnotationInfo = {
5
- id: string;
6
- type: AnnotationTypes.INLINE_COMMENT;
7
- };
8
- type AnnotationComponentProps = {
9
- /**
10
- * Selected text (can be used when creating a comment)
11
- */
12
- textSelection?: string;
13
- /**
14
- * DOM element around selected text (for positioning)
15
- */
16
- dom?: HTMLElement;
17
- /**
18
- * Indicates that a draft comment was discarded/cancelled
19
- */
20
- onClose?: () => void;
21
- };
22
- export type InlineCommentCreateComponentProps = AnnotationComponentProps & {
23
- /**
24
- * Creates an annotation mark in the document with the given id.
25
- */
26
- onCreate: (id: string) => void;
27
- };
28
- export type InlineCommentViewComponentProps = AnnotationComponentProps & {
29
- /**
30
- * Existing annotations where the cursor is placed.
31
- * These are provided in order, inner-most first.
32
- */
33
- annotations: Array<AnnotationInfo>;
34
- /**
35
- * Resolves an annotation with the given ID around the selection.
36
- */
37
- onResolve: (id: string) => void;
38
- /**
39
- * Removes the annotation from the document
40
- */
41
- onDelete?: (id: string) => void;
42
- /**
43
- * Ordered list of annotation ids as shown in the document
44
- */
45
- annotationsList?: string[];
46
- };
47
- export interface AnnotationState<Type, State> {
48
- annotationType: Type;
49
- id: string;
50
- state: State;
51
- }
52
- export interface AnnotationTypeProvider<Type, State> {
53
- getState: (annotationIds: string[]) => Promise<AnnotationState<Type, State>[]>;
54
- updateSubscriber?: AnnotationUpdateEmitter;
55
- disallowOnWhitespace?: boolean;
56
- }
57
- export type InlineCommentState = {
58
- resolved: boolean;
59
- };
60
- export type InlineCommentAnnotationProvider = AnnotationTypeProvider<AnnotationTypes.INLINE_COMMENT, InlineCommentState> & {
61
- createComponent?: React.ComponentType<InlineCommentCreateComponentProps>;
62
- viewComponent?: React.ComponentType<InlineCommentViewComponentProps>;
63
- isToolbarAbove?: boolean;
64
- };
65
- export interface AnnotationProviders {
66
- inlineComment: InlineCommentAnnotationProvider;
67
- }
68
- export declare enum AnnotationSelectionType {
69
- INVALID = "invalid",
70
- DISABLED = "disabled",
71
- VALID = "valid"
72
- }
73
- export declare const AnnotationTestIds: {
74
- prefix: string;
75
- floatingComponent: string;
76
- floatingToolbarCreateButton: string;
77
- componentSave: string;
78
- componentClose: string;
79
- };
80
- export type CoordsAtPos = {
81
- top: number;
82
- bottom: number;
83
- left: number;
84
- right: number;
85
- };
86
- export {};
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- export type AnnotationViewWrapperProps = {
3
- children: React.ReactNode;
4
- onViewed?: () => void;
5
- annotationText?: string;
6
- };
7
- export declare class AnnotationViewWrapper extends React.PureComponent<AnnotationViewWrapperProps> {
8
- componentDidMount(): void;
9
- render(): React.ReactNode;
10
- }
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- import type { AnnotationProviders } from '../types';
4
- import type { DispatchAnalyticsEvent } from '../../analytics/types';
5
- interface InlineCommentViewProps {
6
- providers: AnnotationProviders;
7
- editorView: EditorView;
8
- dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
9
- }
10
- export declare function InlineCommentView({ providers, editorView, dispatchAnalyticsEvent, }: InlineCommentViewProps): JSX.Element | null;
11
- export {};
@@ -1,8 +0,0 @@
1
- /// <reference types="node" />
2
- import { EventEmitter } from 'events';
3
- export type UpdateEvent = 'create' | 'delete' | 'resolve' | 'unresolve' | 'setselectedannotation';
4
- export type VisibilityEvent = 'setvisibility';
5
- export declare class AnnotationUpdateEmitter extends EventEmitter {
6
- on(event: VisibilityEvent, listener: (isVisible: boolean) => void): this;
7
- on(event: UpdateEvent, listener: (annotationId: string) => void): this;
8
- }