@atlaskit/editor-core 183.0.0 → 183.0.6

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 (1126) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/plugins/placeholder-text/styles.js +1 -1
  3. package/dist/cjs/version-wrapper.js +1 -1
  4. package/dist/cjs/version.json +1 -1
  5. package/dist/es2019/plugins/placeholder-text/styles.js +5 -5
  6. package/dist/es2019/version-wrapper.js +1 -1
  7. package/dist/es2019/version.json +1 -1
  8. package/dist/esm/plugins/placeholder-text/styles.js +2 -2
  9. package/dist/esm/version-wrapper.js +1 -1
  10. package/dist/esm/version.json +1 -1
  11. package/dist/types-ts4.0/actions/index.d.ts +50 -0
  12. package/dist/types-ts4.0/analytics-api/api.d.ts +9 -0
  13. package/dist/types-ts4.0/analytics-api/attach-payload-into-transaction.d.ts +10 -0
  14. package/dist/types-ts4.0/analytics-api/editor-state-context.d.ts +9 -0
  15. package/dist/types-ts4.0/analytics-api/map-attributes.d.ts +2 -0
  16. package/dist/types-ts4.0/commands/index.d.ts +23 -0
  17. package/dist/types-ts4.0/create-editor/ErrorBoundary.d.ts +42 -0
  18. package/dist/types-ts4.0/create-editor/ReactEditorView.d.ts +8 -0
  19. package/dist/types-ts4.0/create-editor/ReactEditorViewContext.d.ts +2 -0
  20. package/dist/types-ts4.0/create-editor/ReactEditorViewInternal.d.ts +115 -0
  21. package/dist/types-ts4.0/create-editor/ReactEditorViewNext.d.ts +8 -0
  22. package/dist/types-ts4.0/create-editor/WithEditorView.d.ts +6 -0
  23. package/dist/types-ts4.0/create-editor/consts.d.ts +3 -0
  24. package/dist/types-ts4.0/create-editor/create-editor.d.ts +18 -0
  25. package/dist/types-ts4.0/create-editor/create-plugins-list.d.ts +17 -0
  26. package/dist/types-ts4.0/create-editor/create-schema.d.ts +6 -0
  27. package/dist/types-ts4.0/create-editor/feature-flags-from-props.d.ts +7 -0
  28. package/dist/types-ts4.0/create-editor/get-plugins.d.ts +41 -0
  29. package/dist/types-ts4.0/create-editor/get-ui-component.d.ts +3 -0
  30. package/dist/types-ts4.0/create-editor/index.d.ts +3 -0
  31. package/dist/types-ts4.0/create-editor/messages.d.ts +7 -0
  32. package/dist/types-ts4.0/create-editor/preset-utils.d.ts +2 -0
  33. package/dist/types-ts4.0/create-editor/sort-by-order.d.ts +14 -0
  34. package/dist/types-ts4.0/editor-next/editor-internal.d.ts +44 -0
  35. package/dist/types-ts4.0/editor-next/editor-migration-component.d.ts +6 -0
  36. package/dist/types-ts4.0/editor-next/hooks/useEditorMeasuresConstructor.d.ts +17 -0
  37. package/dist/types-ts4.0/editor-next/hooks/useMeasureEditorMountTime.d.ts +13 -0
  38. package/dist/types-ts4.0/editor-next/hooks/useProviderFactory.d.ts +21 -0
  39. package/dist/types-ts4.0/editor-next/index.d.ts +35 -0
  40. package/dist/types-ts4.0/editor-next/utils/deprecationWarnings.d.ts +2 -0
  41. package/dist/types-ts4.0/editor-next/utils/editorMeasureTTICallback.d.ts +5 -0
  42. package/dist/types-ts4.0/editor-next/utils/editorPropTypes.d.ts +19 -0
  43. package/dist/types-ts4.0/editor-next/utils/getBaseFontSize.d.ts +6 -0
  44. package/dist/types-ts4.0/editor-next/utils/getProvidersFromEditorProps.d.ts +9 -0
  45. package/dist/types-ts4.0/editor-next/utils/handleProviders.d.ts +14 -0
  46. package/dist/types-ts4.0/editor-next/utils/onEditorCreated.d.ts +12 -0
  47. package/dist/types-ts4.0/editor-next/utils/sendDurationAnalytics.d.ts +15 -0
  48. package/dist/types-ts4.0/editor-next/utils/trackEditorActions.d.ts +29 -0
  49. package/dist/types-ts4.0/editor.d.ts +146 -0
  50. package/dist/types-ts4.0/element-browser.d.ts +1 -0
  51. package/dist/types-ts4.0/event-dispatcher/index.d.ts +2 -0
  52. package/dist/types-ts4.0/extensibility.d.ts +15 -0
  53. package/dist/types-ts4.0/extensions.d.ts +1 -0
  54. package/dist/types-ts4.0/i18n/cs.d.ts +255 -0
  55. package/dist/types-ts4.0/i18n/da.d.ts +254 -0
  56. package/dist/types-ts4.0/i18n/de.d.ts +254 -0
  57. package/dist/types-ts4.0/i18n/en.d.ts +257 -0
  58. package/dist/types-ts4.0/i18n/en_GB.d.ts +257 -0
  59. package/dist/types-ts4.0/i18n/en_ZZ.d.ts +257 -0
  60. package/dist/types-ts4.0/i18n/es.d.ts +254 -0
  61. package/dist/types-ts4.0/i18n/et.d.ts +168 -0
  62. package/dist/types-ts4.0/i18n/fi.d.ts +254 -0
  63. package/dist/types-ts4.0/i18n/fr.d.ts +254 -0
  64. package/dist/types-ts4.0/i18n/hu.d.ts +254 -0
  65. package/dist/types-ts4.0/i18n/index.d.ts +35 -0
  66. package/dist/types-ts4.0/i18n/is.d.ts +153 -0
  67. package/dist/types-ts4.0/i18n/it.d.ts +254 -0
  68. package/dist/types-ts4.0/i18n/ja.d.ts +254 -0
  69. package/dist/types-ts4.0/i18n/ko.d.ts +254 -0
  70. package/dist/types-ts4.0/i18n/languages.d.ts +38 -0
  71. package/dist/types-ts4.0/i18n/nb.d.ts +254 -0
  72. package/dist/types-ts4.0/i18n/nl.d.ts +254 -0
  73. package/dist/types-ts4.0/i18n/pl.d.ts +254 -0
  74. package/dist/types-ts4.0/i18n/pt_BR.d.ts +254 -0
  75. package/dist/types-ts4.0/i18n/pt_PT.d.ts +180 -0
  76. package/dist/types-ts4.0/i18n/ro.d.ts +153 -0
  77. package/dist/types-ts4.0/i18n/ru.d.ts +254 -0
  78. package/dist/types-ts4.0/i18n/sk.d.ts +168 -0
  79. package/dist/types-ts4.0/i18n/sv.d.ts +254 -0
  80. package/dist/types-ts4.0/i18n/th.d.ts +254 -0
  81. package/dist/types-ts4.0/i18n/tr.d.ts +254 -0
  82. package/dist/types-ts4.0/i18n/uk.d.ts +254 -0
  83. package/dist/types-ts4.0/i18n/vi.d.ts +254 -0
  84. package/dist/types-ts4.0/i18n/zh.d.ts +254 -0
  85. package/dist/types-ts4.0/i18n/zh_TW.d.ts +254 -0
  86. package/dist/types-ts4.0/index.d.ts +93 -0
  87. package/dist/types-ts4.0/insert-api/api.d.ts +9 -0
  88. package/dist/types-ts4.0/insert-api/insert-content-handlers.d.ts +9 -0
  89. package/dist/types-ts4.0/insert-api/insert-node-helpers.d.ts +30 -0
  90. package/dist/types-ts4.0/insert-api/types.d.ts +16 -0
  91. package/dist/types-ts4.0/keymaps/consts.d.ts +1 -0
  92. package/dist/types-ts4.0/keymaps/index.d.ts +2 -0
  93. package/dist/types-ts4.0/labs/CollapsedEditor/index.d.ts +26 -0
  94. package/dist/types-ts4.0/labs/EditorWithActions/index.d.ts +26 -0
  95. package/dist/types-ts4.0/labs/next/ContentComponents.d.ts +8 -0
  96. package/dist/types-ts4.0/labs/next/Editor.d.ts +27 -0
  97. package/dist/types-ts4.0/labs/next/Toolbar.d.ts +6 -0
  98. package/dist/types-ts4.0/labs/next/full-page.d.ts +9 -0
  99. package/dist/types-ts4.0/labs/next/internal/components/EditorContent.d.ts +7 -0
  100. package/dist/types-ts4.0/labs/next/internal/components/EditorInternal.d.ts +9 -0
  101. package/dist/types-ts4.0/labs/next/internal/context/preset-context.d.ts +5 -0
  102. package/dist/types-ts4.0/labs/next/internal/context/shared-config.d.ts +50 -0
  103. package/dist/types-ts4.0/labs/next/internal/editor-props-type.d.ts +29 -0
  104. package/dist/types-ts4.0/labs/next/internal/hooks/use-analytics/index.d.ts +8 -0
  105. package/dist/types-ts4.0/labs/next/internal/hooks/use-editor/create-dispatch-transaction.d.ts +6 -0
  106. package/dist/types-ts4.0/labs/next/internal/hooks/use-editor/create-editor.d.ts +19 -0
  107. package/dist/types-ts4.0/labs/next/internal/hooks/use-editor/index.d.ts +14 -0
  108. package/dist/types-ts4.0/labs/next/mobile.d.ts +12 -0
  109. package/dist/types-ts4.0/labs/next/presets/create-stub-internal-apis.d.ts +16 -0
  110. package/dist/types-ts4.0/labs/next/presets/cxhtml.d.ts +110 -0
  111. package/dist/types-ts4.0/labs/next/presets/default.d.ts +234 -0
  112. package/dist/types-ts4.0/labs/next/presets/mobile.d.ts +115 -0
  113. package/dist/types-ts4.0/labs/next/presets/types.d.ts +6 -0
  114. package/dist/types-ts4.0/labs/next/presets/universal.d.ts +22 -0
  115. package/dist/types-ts4.0/labs/next/presets/useUniversalPreset.d.ts +7 -0
  116. package/dist/types-ts4.0/labs/next/presets/utils.d.ts +3 -0
  117. package/dist/types-ts4.0/labs-next.d.ts +8 -0
  118. package/dist/types-ts4.0/messages.d.ts +59 -0
  119. package/dist/types-ts4.0/nodeviews/ReactNodeView.d.ts +52 -0
  120. package/dist/types-ts4.0/nodeviews/SelectionBasedNodeView.d.ts +53 -0
  121. package/dist/types-ts4.0/nodeviews/context-adapter.d.ts +2 -0
  122. package/dist/types-ts4.0/nodeviews/getInlineNodeViewProducer.d.ts +24 -0
  123. package/dist/types-ts4.0/nodeviews/getInlineNodeViewProducer.styles.d.ts +1 -0
  124. package/dist/types-ts4.0/nodeviews/getPerformanceOptions.d.ts +2 -0
  125. package/dist/types-ts4.0/nodeviews/index.d.ts +3 -0
  126. package/dist/types-ts4.0/nodeviews/types.d.ts +12 -0
  127. package/dist/types-ts4.0/plugins/alignment/commands/index.d.ts +4 -0
  128. package/dist/types-ts4.0/plugins/alignment/index.d.ts +5 -0
  129. package/dist/types-ts4.0/plugins/alignment/pm-plugins/keymap.d.ts +2 -0
  130. package/dist/types-ts4.0/plugins/alignment/pm-plugins/main.d.ts +7 -0
  131. package/dist/types-ts4.0/plugins/alignment/pm-plugins/types.d.ts +5 -0
  132. package/dist/types-ts4.0/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +6 -0
  133. package/dist/types-ts4.0/plugins/alignment/ui/ToolbarAlignment/index.d.ts +34 -0
  134. package/dist/types-ts4.0/plugins/alignment/ui/ToolbarAlignment/messages.d.ts +22 -0
  135. package/dist/types-ts4.0/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +3 -0
  136. package/dist/types-ts4.0/plugins/alignment/utils/index.d.ts +3 -0
  137. package/dist/types-ts4.0/plugins/analytics/consts.d.ts +3 -0
  138. package/dist/types-ts4.0/plugins/analytics/index.d.ts +8 -0
  139. package/dist/types-ts4.0/plugins/analytics/plugin-key.d.ts +2 -0
  140. package/dist/types-ts4.0/plugins/analytics/plugin.d.ts +21 -0
  141. package/dist/types-ts4.0/plugins/analytics/types/dispatch-analytics-event.d.ts +1 -0
  142. package/dist/types-ts4.0/plugins/analytics/types/enums.d.ts +1 -0
  143. package/dist/types-ts4.0/plugins/analytics/types/events.d.ts +1 -0
  144. package/dist/types-ts4.0/plugins/analytics/types/experimental-events.d.ts +1 -0
  145. package/dist/types-ts4.0/plugins/analytics/types/extension-events.d.ts +2 -0
  146. package/dist/types-ts4.0/plugins/analytics/types/general-events.d.ts +2 -0
  147. package/dist/types-ts4.0/plugins/analytics/types/index.d.ts +9 -0
  148. package/dist/types-ts4.0/plugins/analytics/types/inline-comment-events.d.ts +2 -0
  149. package/dist/types-ts4.0/plugins/analytics/types/link-tool-bar-events.d.ts +1 -0
  150. package/dist/types-ts4.0/plugins/analytics/types/media-events.d.ts +1 -0
  151. package/dist/types-ts4.0/plugins/analytics/types/node-events.d.ts +2 -0
  152. package/dist/types-ts4.0/plugins/analytics/types/selection-events.d.ts +1 -0
  153. package/dist/types-ts4.0/plugins/analytics/types/smart-links.d.ts +2 -0
  154. package/dist/types-ts4.0/plugins/analytics/types/toolbar-button.d.ts +2 -0
  155. package/dist/types-ts4.0/plugins/analytics/utils.d.ts +9 -0
  156. package/dist/types-ts4.0/plugins/annotation/commands/index.d.ts +14 -0
  157. package/dist/types-ts4.0/plugins/annotation/commands/transform.d.ts +11 -0
  158. package/dist/types-ts4.0/plugins/annotation/index.d.ts +9 -0
  159. package/dist/types-ts4.0/plugins/annotation/nodeviews/index.d.ts +10 -0
  160. package/dist/types-ts4.0/plugins/annotation/pm-plugins/inline-comment.d.ts +3 -0
  161. package/dist/types-ts4.0/plugins/annotation/pm-plugins/keymap.d.ts +2 -0
  162. package/dist/types-ts4.0/plugins/annotation/pm-plugins/plugin-factory.d.ts +2 -0
  163. package/dist/types-ts4.0/plugins/annotation/pm-plugins/reducer.d.ts +3 -0
  164. package/dist/types-ts4.0/plugins/annotation/pm-plugins/types.d.ts +68 -0
  165. package/dist/types-ts4.0/plugins/annotation/toolbar.d.ts +21 -0
  166. package/dist/types-ts4.0/plugins/annotation/types.d.ts +76 -0
  167. package/dist/types-ts4.0/plugins/annotation/ui/AnnotationViewWrapper.d.ts +10 -0
  168. package/dist/types-ts4.0/plugins/annotation/ui/InlineCommentView.d.ts +11 -0
  169. package/dist/types-ts4.0/plugins/annotation/update-provider.d.ts +8 -0
  170. package/dist/types-ts4.0/plugins/annotation/utils.d.ts +40 -0
  171. package/dist/types-ts4.0/plugins/avatar-group/index.d.ts +14 -0
  172. package/dist/types-ts4.0/plugins/avatar-group/messages.d.ts +7 -0
  173. package/dist/types-ts4.0/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +15 -0
  174. package/dist/types-ts4.0/plugins/base/index.d.ts +19 -0
  175. package/dist/types-ts4.0/plugins/base/pm-plugins/better-type-history.d.ts +5 -0
  176. package/dist/types-ts4.0/plugins/base/pm-plugins/composition.d.ts +8 -0
  177. package/dist/types-ts4.0/plugins/base/pm-plugins/context-identifier.d.ts +12 -0
  178. package/dist/types-ts4.0/plugins/base/pm-plugins/decoration.d.ts +16 -0
  179. package/dist/types-ts4.0/plugins/base/pm-plugins/disable-spell-checking.d.ts +4 -0
  180. package/dist/types-ts4.0/plugins/base/pm-plugins/filter-steps.d.ts +4 -0
  181. package/dist/types-ts4.0/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +5 -0
  182. package/dist/types-ts4.0/plugins/base/pm-plugins/focus-handler.d.ts +6 -0
  183. package/dist/types-ts4.0/plugins/base/pm-plugins/frozen-editor.d.ts +12 -0
  184. package/dist/types-ts4.0/plugins/base/pm-plugins/inline-cursor-target.d.ts +17 -0
  185. package/dist/types-ts4.0/plugins/base/pm-plugins/newline-preserve-marks.d.ts +5 -0
  186. package/dist/types-ts4.0/plugins/base/pm-plugins/react-nodeview.d.ts +13 -0
  187. package/dist/types-ts4.0/plugins/base/pm-plugins/scroll-gutter.d.ts +23 -0
  188. package/dist/types-ts4.0/plugins/base/utils/frozen-editor.d.ts +2 -0
  189. package/dist/types-ts4.0/plugins/base/utils/input-latency-tracking.d.ts +42 -0
  190. package/dist/types-ts4.0/plugins/before-primaryToolbar/index.d.ts +8 -0
  191. package/dist/types-ts4.0/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +5 -0
  192. package/dist/types-ts4.0/plugins/block-type/commands/block-type.d.ts +13 -0
  193. package/dist/types-ts4.0/plugins/block-type/commands/delete-and-move-cursor.d.ts +12 -0
  194. package/dist/types-ts4.0/plugins/block-type/commands/delete-block-content.d.ts +10 -0
  195. package/dist/types-ts4.0/plugins/block-type/commands/index.d.ts +6 -0
  196. package/dist/types-ts4.0/plugins/block-type/commands/insert-block.d.ts +5 -0
  197. package/dist/types-ts4.0/plugins/block-type/commands/transform-to-code-block.d.ts +3 -0
  198. package/dist/types-ts4.0/plugins/block-type/index.d.ts +8 -0
  199. package/dist/types-ts4.0/plugins/block-type/messages.d.ts +152 -0
  200. package/dist/types-ts4.0/plugins/block-type/pm-plugins/input-rule.d.ts +5 -0
  201. package/dist/types-ts4.0/plugins/block-type/pm-plugins/keymap.d.ts +4 -0
  202. package/dist/types-ts4.0/plugins/block-type/pm-plugins/main.d.ts +11 -0
  203. package/dist/types-ts4.0/plugins/block-type/styles.d.ts +2 -0
  204. package/dist/types-ts4.0/plugins/block-type/types.d.ts +43 -0
  205. package/dist/types-ts4.0/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +23 -0
  206. package/dist/types-ts4.0/plugins/block-type/ui/ToolbarBlockType/index.d.ts +29 -0
  207. package/dist/types-ts4.0/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +4 -0
  208. package/dist/types-ts4.0/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.d.ts +7 -0
  209. package/dist/types-ts4.0/plugins/block-type/utils.d.ts +2 -0
  210. package/dist/types-ts4.0/plugins/border/index.d.ts +3 -0
  211. package/dist/types-ts4.0/plugins/breakout/commands/remove-breakout.d.ts +2 -0
  212. package/dist/types-ts4.0/plugins/breakout/commands/set-breakout-mode.d.ts +3 -0
  213. package/dist/types-ts4.0/plugins/breakout/constants.d.ts +4 -0
  214. package/dist/types-ts4.0/plugins/breakout/index.d.ts +8 -0
  215. package/dist/types-ts4.0/plugins/breakout/plugin-key.d.ts +4 -0
  216. package/dist/types-ts4.0/plugins/breakout/types.d.ts +4 -0
  217. package/dist/types-ts4.0/plugins/breakout/ui/LayoutButton.d.ts +17 -0
  218. package/dist/types-ts4.0/plugins/breakout/utils/find-breakout-node.d.ts +9 -0
  219. package/dist/types-ts4.0/plugins/breakout/utils/get-breakout-mode.d.ts +7 -0
  220. package/dist/types-ts4.0/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +9 -0
  221. package/dist/types-ts4.0/plugins/breakout/utils/is-supported-node.d.ts +6 -0
  222. package/dist/types-ts4.0/plugins/caption/index.d.ts +3 -0
  223. package/dist/types-ts4.0/plugins/caption/nodeviews/index.d.ts +16 -0
  224. package/dist/types-ts4.0/plugins/caption/pm-plugins/keymap.d.ts +2 -0
  225. package/dist/types-ts4.0/plugins/caption/pm-plugins/main.d.ts +6 -0
  226. package/dist/types-ts4.0/plugins/caption/pm-plugins/plugin-key.d.ts +2 -0
  227. package/dist/types-ts4.0/plugins/card/index.d.ts +10 -0
  228. package/dist/types-ts4.0/plugins/card/messages.d.ts +82 -0
  229. package/dist/types-ts4.0/plugins/card/nodeviews/blockCard.d.ts +23 -0
  230. package/dist/types-ts4.0/plugins/card/nodeviews/embedCard.d.ts +43 -0
  231. package/dist/types-ts4.0/plugins/card/nodeviews/genericCard.d.ts +34 -0
  232. package/dist/types-ts4.0/plugins/card/nodeviews/inlineCard.d.ts +22 -0
  233. package/dist/types-ts4.0/plugins/card/pm-plugins/actions.d.ts +13 -0
  234. package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/create-analytics-queue.d.ts +10 -0
  235. package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/events-from-tr.d.ts +17 -0
  236. package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/index.d.ts +2 -0
  237. package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/types.d.ts +10 -0
  238. package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/utils.d.ts +26 -0
  239. package/dist/types-ts4.0/plugins/card/pm-plugins/doc.d.ts +17 -0
  240. package/dist/types-ts4.0/plugins/card/pm-plugins/keymap.d.ts +3 -0
  241. package/dist/types-ts4.0/plugins/card/pm-plugins/main.d.ts +5 -0
  242. package/dist/types-ts4.0/plugins/card/pm-plugins/plugin-key.d.ts +2 -0
  243. package/dist/types-ts4.0/plugins/card/pm-plugins/reducers.d.ts +3 -0
  244. package/dist/types-ts4.0/plugins/card/pm-plugins/shouldReplaceLink.d.ts +2 -0
  245. package/dist/types-ts4.0/plugins/card/pm-plugins/util/resolve.d.ts +6 -0
  246. package/dist/types-ts4.0/plugins/card/pm-plugins/util/state.d.ts +28 -0
  247. package/dist/types-ts4.0/plugins/card/styles.d.ts +2 -0
  248. package/dist/types-ts4.0/plugins/card/toolbar.d.ts +9 -0
  249. package/dist/types-ts4.0/plugins/card/types.d.ts +142 -0
  250. package/dist/types-ts4.0/plugins/card/ui/EditLinkToolbar.d.ts +37 -0
  251. package/dist/types-ts4.0/plugins/card/ui/EditorSmartCardEvents.d.ts +5 -0
  252. package/dist/types-ts4.0/plugins/card/ui/EditorSmartCardEventsNext.d.ts +18 -0
  253. package/dist/types-ts4.0/plugins/card/ui/LinkToolbarAppearance.d.ts +25 -0
  254. package/dist/types-ts4.0/plugins/card/ui/LinkToolbarButtonGroup.d.ts +16 -0
  255. package/dist/types-ts4.0/plugins/card/ui/ResizableEmbedCard.d.ts +60 -0
  256. package/dist/types-ts4.0/plugins/card/ui/assets/card.d.ts +3 -0
  257. package/dist/types-ts4.0/plugins/card/ui/assets/embed.d.ts +3 -0
  258. package/dist/types-ts4.0/plugins/card/ui/assets/inline.d.ts +3 -0
  259. package/dist/types-ts4.0/plugins/card/ui/assets/url.d.ts +3 -0
  260. package/dist/types-ts4.0/plugins/card/ui/link-toolbar-button-group-options.d.ts +5 -0
  261. package/dist/types-ts4.0/plugins/card/ui/styled.d.ts +2 -0
  262. package/dist/types-ts4.0/plugins/card/ui/types.d.ts +12 -0
  263. package/dist/types-ts4.0/plugins/card/utils.d.ts +21 -0
  264. package/dist/types-ts4.0/plugins/clear-marks-on-change-to-empty-document/index.d.ts +7 -0
  265. package/dist/types-ts4.0/plugins/clipboard/index.d.ts +3 -0
  266. package/dist/types-ts4.0/plugins/clipboard/plugin-key.d.ts +2 -0
  267. package/dist/types-ts4.0/plugins/clipboard/pm-plugins/main.d.ts +19 -0
  268. package/dist/types-ts4.0/plugins/code-bidi-warning/index.d.ts +8 -0
  269. package/dist/types-ts4.0/plugins/code-bidi-warning/plugin-key.d.ts +2 -0
  270. package/dist/types-ts4.0/plugins/code-bidi-warning/pm-plugins/main.d.ts +5 -0
  271. package/dist/types-ts4.0/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +8 -0
  272. package/dist/types-ts4.0/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +3 -0
  273. package/dist/types-ts4.0/plugins/code-bidi-warning/pm-plugins/types.d.ts +6 -0
  274. package/dist/types-ts4.0/plugins/code-block/actions.d.ts +7 -0
  275. package/dist/types-ts4.0/plugins/code-block/ide-ux/bracket-handling.d.ts +12 -0
  276. package/dist/types-ts4.0/plugins/code-block/ide-ux/commands.d.ts +6 -0
  277. package/dist/types-ts4.0/plugins/code-block/ide-ux/line-handling.d.ts +25 -0
  278. package/dist/types-ts4.0/plugins/code-block/ide-ux/paired-character-handling.d.ts +2 -0
  279. package/dist/types-ts4.0/plugins/code-block/ide-ux/quote-handling.d.ts +12 -0
  280. package/dist/types-ts4.0/plugins/code-block/index.d.ts +6 -0
  281. package/dist/types-ts4.0/plugins/code-block/language-list.d.ts +1641 -0
  282. package/dist/types-ts4.0/plugins/code-block/nodeviews/code-block.d.ts +21 -0
  283. package/dist/types-ts4.0/plugins/code-block/plugin-key.d.ts +2 -0
  284. package/dist/types-ts4.0/plugins/code-block/pm-plugins/actions.d.ts +4 -0
  285. package/dist/types-ts4.0/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +14 -0
  286. package/dist/types-ts4.0/plugins/code-block/pm-plugins/ide-ux.d.ts +3 -0
  287. package/dist/types-ts4.0/plugins/code-block/pm-plugins/keymaps.d.ts +4 -0
  288. package/dist/types-ts4.0/plugins/code-block/pm-plugins/main-state.d.ts +8 -0
  289. package/dist/types-ts4.0/plugins/code-block/pm-plugins/main.d.ts +9 -0
  290. package/dist/types-ts4.0/plugins/code-block/refresh-browser-selection.d.ts +5 -0
  291. package/dist/types-ts4.0/plugins/code-block/styles.d.ts +2 -0
  292. package/dist/types-ts4.0/plugins/code-block/toolbar.d.ts +14 -0
  293. package/dist/types-ts4.0/plugins/code-block/types.d.ts +7 -0
  294. package/dist/types-ts4.0/plugins/code-block/ui/class-names.d.ts +8 -0
  295. package/dist/types-ts4.0/plugins/code-block/utils.d.ts +5 -0
  296. package/dist/types-ts4.0/plugins/collab-edit/actions.d.ts +10 -0
  297. package/dist/types-ts4.0/plugins/collab-edit/analytics.d.ts +5 -0
  298. package/dist/types-ts4.0/plugins/collab-edit/events/handlers.d.ts +23 -0
  299. package/dist/types-ts4.0/plugins/collab-edit/events/initialize.d.ts +14 -0
  300. package/dist/types-ts4.0/plugins/collab-edit/events/send-transaction.d.ts +11 -0
  301. package/dist/types-ts4.0/plugins/collab-edit/get-participants-count.d.ts +2 -0
  302. package/dist/types-ts4.0/plugins/collab-edit/index.d.ts +14 -0
  303. package/dist/types-ts4.0/plugins/collab-edit/native-collab-provider-plugin.d.ts +7 -0
  304. package/dist/types-ts4.0/plugins/collab-edit/participants.d.ts +18 -0
  305. package/dist/types-ts4.0/plugins/collab-edit/plugin-key.d.ts +3 -0
  306. package/dist/types-ts4.0/plugins/collab-edit/plugin-state.d.ts +23 -0
  307. package/dist/types-ts4.0/plugins/collab-edit/plugin.d.ts +11 -0
  308. package/dist/types-ts4.0/plugins/collab-edit/provider/index.d.ts +1 -0
  309. package/dist/types-ts4.0/plugins/collab-edit/provider/types.d.ts +1 -0
  310. package/dist/types-ts4.0/plugins/collab-edit/styles.d.ts +1 -0
  311. package/dist/types-ts4.0/plugins/collab-edit/types.d.ts +36 -0
  312. package/dist/types-ts4.0/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +23 -0
  313. package/dist/types-ts4.0/plugins/collab-edit/ui/avatars.d.ts +12 -0
  314. package/dist/types-ts4.0/plugins/collab-edit/ui/colored-avatar-item.d.ts +7 -0
  315. package/dist/types-ts4.0/plugins/collab-edit/ui/index.d.ts +2 -0
  316. package/dist/types-ts4.0/plugins/collab-edit/ui/invite-to-edit.d.ts +10 -0
  317. package/dist/types-ts4.0/plugins/collab-edit/ui/styles.d.ts +3 -0
  318. package/dist/types-ts4.0/plugins/collab-edit/ui/to-avatar.d.ts +4 -0
  319. package/dist/types-ts4.0/plugins/collab-edit/utils.d.ts +19 -0
  320. package/dist/types-ts4.0/plugins/context-panel/index.d.ts +11 -0
  321. package/dist/types-ts4.0/plugins/context-panel/transforms.d.ts +2 -0
  322. package/dist/types-ts4.0/plugins/context-panel/types.d.ts +1 -0
  323. package/dist/types-ts4.0/plugins/copy-button/commands.d.ts +8 -0
  324. package/dist/types-ts4.0/plugins/copy-button/index.d.ts +3 -0
  325. package/dist/types-ts4.0/plugins/copy-button/pm-plugins/main.d.ts +12 -0
  326. package/dist/types-ts4.0/plugins/copy-button/pm-plugins/plugin-key.d.ts +2 -0
  327. package/dist/types-ts4.0/plugins/copy-button/toolbar.d.ts +12 -0
  328. package/dist/types-ts4.0/plugins/copy-button/utils.d.ts +8 -0
  329. package/dist/types-ts4.0/plugins/custom-autoformat/doc.d.ts +6 -0
  330. package/dist/types-ts4.0/plugins/custom-autoformat/index.d.ts +6 -0
  331. package/dist/types-ts4.0/plugins/custom-autoformat/input-rules.d.ts +9 -0
  332. package/dist/types-ts4.0/plugins/custom-autoformat/reducers.d.ts +4 -0
  333. package/dist/types-ts4.0/plugins/custom-autoformat/types.d.ts +31 -0
  334. package/dist/types-ts4.0/plugins/custom-autoformat/utils.d.ts +5 -0
  335. package/dist/types-ts4.0/plugins/data-consumer/index.d.ts +3 -0
  336. package/dist/types-ts4.0/plugins/date/actions.d.ts +17 -0
  337. package/dist/types-ts4.0/plugins/date/index.d.ts +13 -0
  338. package/dist/types-ts4.0/plugins/date/nodeviews/date.d.ts +3 -0
  339. package/dist/types-ts4.0/plugins/date/nodeviews/messages.d.ts +7 -0
  340. package/dist/types-ts4.0/plugins/date/pm-plugins/keymap.d.ts +3 -0
  341. package/dist/types-ts4.0/plugins/date/pm-plugins/main.d.ts +6 -0
  342. package/dist/types-ts4.0/plugins/date/pm-plugins/plugin-key.d.ts +3 -0
  343. package/dist/types-ts4.0/plugins/date/pm-plugins/types.d.ts +12 -0
  344. package/dist/types-ts4.0/plugins/date/pm-plugins/utils.d.ts +5 -0
  345. package/dist/types-ts4.0/plugins/date/styles.d.ts +1 -0
  346. package/dist/types-ts4.0/plugins/date/types.d.ts +6 -0
  347. package/dist/types-ts4.0/plugins/date/ui/DatePicker/date-picker-input.d.ts +25 -0
  348. package/dist/types-ts4.0/plugins/date/ui/DatePicker/index.d.ts +34 -0
  349. package/dist/types-ts4.0/plugins/date/utils/formatParse.d.ts +27 -0
  350. package/dist/types-ts4.0/plugins/date/utils/internal.d.ts +33 -0
  351. package/dist/types-ts4.0/plugins/editor-disabled/index.d.ts +13 -0
  352. package/dist/types-ts4.0/plugins/emoji/commands/insert-emoji.d.ts +4 -0
  353. package/dist/types-ts4.0/plugins/emoji/index.d.ts +28 -0
  354. package/dist/types-ts4.0/plugins/emoji/messages.d.ts +7 -0
  355. package/dist/types-ts4.0/plugins/emoji/nodeviews/emoji.d.ts +7 -0
  356. package/dist/types-ts4.0/plugins/emoji/pm-plugins/ascii-input-rules.d.ts +9 -0
  357. package/dist/types-ts4.0/plugins/emoji/styles.d.ts +1 -0
  358. package/dist/types-ts4.0/plugins/emoji/types.d.ts +11 -0
  359. package/dist/types-ts4.0/plugins/emoji/ui/Emoji/index.d.ts +4 -0
  360. package/dist/types-ts4.0/plugins/expand/commands.d.ts +12 -0
  361. package/dist/types-ts4.0/plugins/expand/index.d.ts +20 -0
  362. package/dist/types-ts4.0/plugins/expand/nodeviews/index.d.ts +51 -0
  363. package/dist/types-ts4.0/plugins/expand/pm-plugins/keymap.d.ts +2 -0
  364. package/dist/types-ts4.0/plugins/expand/pm-plugins/main.d.ts +7 -0
  365. package/dist/types-ts4.0/plugins/expand/pm-plugins/plugin-factory.d.ts +3 -0
  366. package/dist/types-ts4.0/plugins/expand/reducer.d.ts +3 -0
  367. package/dist/types-ts4.0/plugins/expand/toolbar.d.ts +2 -0
  368. package/dist/types-ts4.0/plugins/expand/types.d.ts +9 -0
  369. package/dist/types-ts4.0/plugins/expand/ui/ExpandIconButton.d.ts +43 -0
  370. package/dist/types-ts4.0/plugins/expand/ui/class-names.d.ts +11 -0
  371. package/dist/types-ts4.0/plugins/expand/ui/styles.d.ts +2 -0
  372. package/dist/types-ts4.0/plugins/expand/utils.d.ts +1 -0
  373. package/dist/types-ts4.0/plugins/extension/actions.d.ts +16 -0
  374. package/dist/types-ts4.0/plugins/extension/commands.d.ts +11 -0
  375. package/dist/types-ts4.0/plugins/extension/context-panel.d.ts +7 -0
  376. package/dist/types-ts4.0/plugins/extension/extension-api.d.ts +14 -0
  377. package/dist/types-ts4.0/plugins/extension/index.d.ts +17 -0
  378. package/dist/types-ts4.0/plugins/extension/nodeviews/extension.d.ts +28 -0
  379. package/dist/types-ts4.0/plugins/extension/plugin-factory.d.ts +4 -0
  380. package/dist/types-ts4.0/plugins/extension/plugin-key.d.ts +3 -0
  381. package/dist/types-ts4.0/plugins/extension/pm-plugins/keymap.d.ts +2 -0
  382. package/dist/types-ts4.0/plugins/extension/pm-plugins/main.d.ts +23 -0
  383. package/dist/types-ts4.0/plugins/extension/pm-plugins/unique-id.d.ts +3 -0
  384. package/dist/types-ts4.0/plugins/extension/pm-plugins/utils.d.ts +3 -0
  385. package/dist/types-ts4.0/plugins/extension/reducer.d.ts +2 -0
  386. package/dist/types-ts4.0/plugins/extension/toolbar.d.ts +34 -0
  387. package/dist/types-ts4.0/plugins/extension/types.d.ts +20 -0
  388. package/dist/types-ts4.0/plugins/extension/ui/Extension/Extension/index.d.ts +104 -0
  389. package/dist/types-ts4.0/plugins/extension/ui/Extension/Extension/styles.d.ts +6 -0
  390. package/dist/types-ts4.0/plugins/extension/ui/Extension/ExtensionComponent.d.ts +48 -0
  391. package/dist/types-ts4.0/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +7 -0
  392. package/dist/types-ts4.0/plugins/extension/ui/Extension/InlineExtension/index.d.ts +12 -0
  393. package/dist/types-ts4.0/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +2 -0
  394. package/dist/types-ts4.0/plugins/extension/ui/Extension/Lozenge.d.ts +14 -0
  395. package/dist/types-ts4.0/plugins/extension/ui/Extension/index.d.ts +25 -0
  396. package/dist/types-ts4.0/plugins/extension/ui/Extension/styles.d.ts +8 -0
  397. package/dist/types-ts4.0/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +4 -0
  398. package/dist/types-ts4.0/plugins/extension/ui/SaveIndicator/messages.d.ts +7 -0
  399. package/dist/types-ts4.0/plugins/extension/ui/SaveIndicator/types.d.ts +11 -0
  400. package/dist/types-ts4.0/plugins/extension/ui/styles.d.ts +1 -0
  401. package/dist/types-ts4.0/plugins/extension/utils.d.ts +10 -0
  402. package/dist/types-ts4.0/plugins/fake-text-cursor/cursor.d.ts +28 -0
  403. package/dist/types-ts4.0/plugins/fake-text-cursor/index.d.ts +7 -0
  404. package/dist/types-ts4.0/plugins/fake-text-cursor/styles.d.ts +1 -0
  405. package/dist/types-ts4.0/plugins/feedback-dialog/getBrowserInfo.d.ts +6 -0
  406. package/dist/types-ts4.0/plugins/feedback-dialog/getDeviceInfo.d.ts +6 -0
  407. package/dist/types-ts4.0/plugins/feedback-dialog/index.d.ts +7 -0
  408. package/dist/types-ts4.0/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +8 -0
  409. package/dist/types-ts4.0/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +17 -0
  410. package/dist/types-ts4.0/plugins/find-replace/actions.d.ts +64 -0
  411. package/dist/types-ts4.0/plugins/find-replace/commands-with-analytics.d.ts +27 -0
  412. package/dist/types-ts4.0/plugins/find-replace/commands.d.ts +12 -0
  413. package/dist/types-ts4.0/plugins/find-replace/index.d.ts +13 -0
  414. package/dist/types-ts4.0/plugins/find-replace/keymap.d.ts +3 -0
  415. package/dist/types-ts4.0/plugins/find-replace/plugin.d.ts +6 -0
  416. package/dist/types-ts4.0/plugins/find-replace/reducer.d.ts +4 -0
  417. package/dist/types-ts4.0/plugins/find-replace/styles.d.ts +3 -0
  418. package/dist/types-ts4.0/plugins/find-replace/types.d.ts +44 -0
  419. package/dist/types-ts4.0/plugins/find-replace/ui/Find.d.ts +70 -0
  420. package/dist/types-ts4.0/plugins/find-replace/ui/FindReplace.d.ts +43 -0
  421. package/dist/types-ts4.0/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +21 -0
  422. package/dist/types-ts4.0/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +18 -0
  423. package/dist/types-ts4.0/plugins/find-replace/ui/Replace.d.ts +26 -0
  424. package/dist/types-ts4.0/plugins/find-replace/ui/styles.d.ts +5 -0
  425. package/dist/types-ts4.0/plugins/find-replace/utils/batch-decorations.d.ts +36 -0
  426. package/dist/types-ts4.0/plugins/find-replace/utils/index.d.ts +49 -0
  427. package/dist/types-ts4.0/plugins/floating-toolbar/index.d.ts +24 -0
  428. package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +18 -0
  429. package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.d.ts +3 -0
  430. package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +1 -0
  431. package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +3 -0
  432. package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +3 -0
  433. package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.d.ts +2 -0
  434. package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/types.d.ts +11 -0
  435. package/dist/types-ts4.0/plugins/floating-toolbar/types.d.ts +1 -0
  436. package/dist/types-ts4.0/plugins/floating-toolbar/ui/Button.d.ts +30 -0
  437. package/dist/types-ts4.0/plugins/floating-toolbar/ui/CheckboxModal.d.ts +4 -0
  438. package/dist/types-ts4.0/plugins/floating-toolbar/ui/ConfirmationModal.d.ts +6 -0
  439. package/dist/types-ts4.0/plugins/floating-toolbar/ui/Dropdown.d.ts +39 -0
  440. package/dist/types-ts4.0/plugins/floating-toolbar/ui/DropdownMenu.d.ts +29 -0
  441. package/dist/types-ts4.0/plugins/floating-toolbar/ui/EditorEmojiAddIcon.d.ts +2 -0
  442. package/dist/types-ts4.0/plugins/floating-toolbar/ui/EmojiPickerButton.d.ts +15 -0
  443. package/dist/types-ts4.0/plugins/floating-toolbar/ui/ExtensionsPlaceholder.d.ts +12 -0
  444. package/dist/types-ts4.0/plugins/floating-toolbar/ui/Input.d.ts +23 -0
  445. package/dist/types-ts4.0/plugins/floating-toolbar/ui/ScrollButtons.d.ts +13 -0
  446. package/dist/types-ts4.0/plugins/floating-toolbar/ui/Select.d.ts +21 -0
  447. package/dist/types-ts4.0/plugins/floating-toolbar/ui/Separator.d.ts +4 -0
  448. package/dist/types-ts4.0/plugins/floating-toolbar/ui/SimpleModal.d.ts +4 -0
  449. package/dist/types-ts4.0/plugins/floating-toolbar/ui/Toolbar.d.ts +38 -0
  450. package/dist/types-ts4.0/plugins/floating-toolbar/ui/ToolbarLoader.d.ts +4 -0
  451. package/dist/types-ts4.0/plugins/floating-toolbar/ui/messages.d.ts +48 -0
  452. package/dist/types-ts4.0/plugins/floating-toolbar/ui/styles.d.ts +20 -0
  453. package/dist/types-ts4.0/plugins/floating-toolbar/ui/types.d.ts +1 -0
  454. package/dist/types-ts4.0/plugins/floating-toolbar/utils.d.ts +4 -0
  455. package/dist/types-ts4.0/plugins/fragment/index.d.ts +3 -0
  456. package/dist/types-ts4.0/plugins/fragment/plugin-key.d.ts +2 -0
  457. package/dist/types-ts4.0/plugins/fragment/pm-plugins/fragment-consistency.d.ts +15 -0
  458. package/dist/types-ts4.0/plugins/grid/index.d.ts +18 -0
  459. package/dist/types-ts4.0/plugins/grid/styles.d.ts +2 -0
  460. package/dist/types-ts4.0/plugins/grid/types.d.ts +6 -0
  461. package/dist/types-ts4.0/plugins/help-dialog/commands.d.ts +3 -0
  462. package/dist/types-ts4.0/plugins/help-dialog/index.d.ts +7 -0
  463. package/dist/types-ts4.0/plugins/help-dialog/plugin-key.d.ts +2 -0
  464. package/dist/types-ts4.0/plugins/help-dialog/ui/HelpDialogLoader.d.ts +4 -0
  465. package/dist/types-ts4.0/plugins/help-dialog/ui/index.d.ts +27 -0
  466. package/dist/types-ts4.0/plugins/help-dialog/ui/styles.d.ts +33 -0
  467. package/dist/types-ts4.0/plugins/history/actions.d.ts +8 -0
  468. package/dist/types-ts4.0/plugins/history/index.d.ts +13 -0
  469. package/dist/types-ts4.0/plugins/history/pm-history-types.d.ts +18 -0
  470. package/dist/types-ts4.0/plugins/history/reducer.d.ts +4 -0
  471. package/dist/types-ts4.0/plugins/history/types.d.ts +4 -0
  472. package/dist/types-ts4.0/plugins/history/utils.d.ts +4 -0
  473. package/dist/types-ts4.0/plugins/hyperlink/HyperlinkToolbarAppearance.d.ts +28 -0
  474. package/dist/types-ts4.0/plugins/hyperlink/Toolbar.d.ts +4 -0
  475. package/dist/types-ts4.0/plugins/hyperlink/analytics.d.ts +2 -0
  476. package/dist/types-ts4.0/plugins/hyperlink/commands.d.ts +16 -0
  477. package/dist/types-ts4.0/plugins/hyperlink/index.d.ts +11 -0
  478. package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/fake-curor-for-toolbar-plugin-key.d.ts +2 -0
  479. package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/fake-cursor-for-toolbar.d.ts +3 -0
  480. package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/input-rule.d.ts +7 -0
  481. package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/keymap.d.ts +3 -0
  482. package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/main.d.ts +46 -0
  483. package/dist/types-ts4.0/plugins/hyperlink/styles.d.ts +6 -0
  484. package/dist/types-ts4.0/plugins/hyperlink/types.d.ts +35 -0
  485. package/dist/types-ts4.0/plugins/hyperlink/ui/EditorLinkPicker/index.d.ts +19 -0
  486. package/dist/types-ts4.0/plugins/hyperlink/ui/EditorLinkPicker/useEscapeClickaway.d.ts +2 -0
  487. package/dist/types-ts4.0/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +109 -0
  488. package/dist/types-ts4.0/plugins/hyperlink/ui/HyperlinkAddToolbar/index.d.ts +19 -0
  489. package/dist/types-ts4.0/plugins/hyperlink/ui/HyperlinkAddToolbar/messages.d.ts +32 -0
  490. package/dist/types-ts4.0/plugins/hyperlink/ui/HyperlinkAddToolbar/utils.d.ts +7 -0
  491. package/dist/types-ts4.0/plugins/hyperlink/utils.d.ts +25 -0
  492. package/dist/types-ts4.0/plugins/image-upload/index.d.ts +3 -0
  493. package/dist/types-ts4.0/plugins/image-upload/pm-plugins/actions.d.ts +2 -0
  494. package/dist/types-ts4.0/plugins/image-upload/pm-plugins/commands.d.ts +4 -0
  495. package/dist/types-ts4.0/plugins/image-upload/pm-plugins/input-rule.d.ts +5 -0
  496. package/dist/types-ts4.0/plugins/image-upload/pm-plugins/main.d.ts +3 -0
  497. package/dist/types-ts4.0/plugins/image-upload/pm-plugins/plugin-key.d.ts +3 -0
  498. package/dist/types-ts4.0/plugins/image-upload/types.d.ts +13 -0
  499. package/dist/types-ts4.0/plugins/image-upload/utils.d.ts +5 -0
  500. package/dist/types-ts4.0/plugins/indentation/commands/index.d.ts +8 -0
  501. package/dist/types-ts4.0/plugins/indentation/commands/utils.d.ts +36 -0
  502. package/dist/types-ts4.0/plugins/indentation/index.d.ts +3 -0
  503. package/dist/types-ts4.0/plugins/indentation/messages.d.ts +12 -0
  504. package/dist/types-ts4.0/plugins/indentation/pm-plugins/keymap.d.ts +3 -0
  505. package/dist/types-ts4.0/plugins/index.d.ts +69 -0
  506. package/dist/types-ts4.0/plugins/insert-block/index.d.ts +20 -0
  507. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +25 -0
  508. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +18 -0
  509. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +27 -0
  510. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +43 -0
  511. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +16 -0
  512. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +46 -0
  513. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +34 -0
  514. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +1 -0
  515. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +1 -0
  516. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +2 -0
  517. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +1 -0
  518. package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +62 -0
  519. package/dist/types-ts4.0/plugins/jira-issue/index.d.ts +5 -0
  520. package/dist/types-ts4.0/plugins/jira-issue/nodeviews/jira-issue.d.ts +7 -0
  521. package/dist/types-ts4.0/plugins/layout/actions.d.ts +22 -0
  522. package/dist/types-ts4.0/plugins/layout/index.d.ts +8 -0
  523. package/dist/types-ts4.0/plugins/layout/pm-plugins/main.d.ts +5 -0
  524. package/dist/types-ts4.0/plugins/layout/pm-plugins/plugin-key.d.ts +3 -0
  525. package/dist/types-ts4.0/plugins/layout/pm-plugins/types.d.ts +14 -0
  526. package/dist/types-ts4.0/plugins/layout/styles.d.ts +4 -0
  527. package/dist/types-ts4.0/plugins/layout/toolbar-messages.d.ts +32 -0
  528. package/dist/types-ts4.0/plugins/layout/toolbar.d.ts +5 -0
  529. package/dist/types-ts4.0/plugins/layout/types.d.ts +13 -0
  530. package/dist/types-ts4.0/plugins/layout/utils.d.ts +1 -0
  531. package/dist/types-ts4.0/plugins/list/actions/conversions.d.ts +6 -0
  532. package/dist/types-ts4.0/plugins/list/actions/indent-list-items-selected.d.ts +2 -0
  533. package/dist/types-ts4.0/plugins/list/actions/indent-list.d.ts +2 -0
  534. package/dist/types-ts4.0/plugins/list/actions/join-list-items-forward.d.ts +16 -0
  535. package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/index.d.ts +5 -0
  536. package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-list-item-with-paragraph.d.ts +9 -0
  537. package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-list-item-with-parent-nested-list.d.ts +9 -0
  538. package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-nested-list-with-parent-list-item.d.ts +9 -0
  539. package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-paragraph-with-list.d.ts +9 -0
  540. package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-sibling-list-items.d.ts +9 -0
  541. package/dist/types-ts4.0/plugins/list/actions/merge-lists.d.ts +7 -0
  542. package/dist/types-ts4.0/plugins/list/actions/outdent-list-items-selected.d.ts +3 -0
  543. package/dist/types-ts4.0/plugins/list/actions/wrap-and-join-lists.d.ts +15 -0
  544. package/dist/types-ts4.0/plugins/list/commands/indent-list.d.ts +5 -0
  545. package/dist/types-ts4.0/plugins/list/commands/index.d.ts +16 -0
  546. package/dist/types-ts4.0/plugins/list/commands/join-list-item-forward.d.ts +2 -0
  547. package/dist/types-ts4.0/plugins/list/commands/listBackspace.d.ts +12 -0
  548. package/dist/types-ts4.0/plugins/list/commands/outdent-list.d.ts +6 -0
  549. package/dist/types-ts4.0/plugins/list/index.d.ts +10 -0
  550. package/dist/types-ts4.0/plugins/list/messages.d.ts +27 -0
  551. package/dist/types-ts4.0/plugins/list/pm-plugins/input-rules/create-list-input-rule.d.ts +9 -0
  552. package/dist/types-ts4.0/plugins/list/pm-plugins/input-rules/index.d.ts +4 -0
  553. package/dist/types-ts4.0/plugins/list/pm-plugins/input-rules/wrapping-join-rule.d.ts +13 -0
  554. package/dist/types-ts4.0/plugins/list/pm-plugins/keymap.d.ts +4 -0
  555. package/dist/types-ts4.0/plugins/list/pm-plugins/main.d.ts +10 -0
  556. package/dist/types-ts4.0/plugins/list/styles.d.ts +1 -0
  557. package/dist/types-ts4.0/plugins/list/transforms.d.ts +16 -0
  558. package/dist/types-ts4.0/plugins/list/types.d.ts +11 -0
  559. package/dist/types-ts4.0/plugins/list/utils/analytics.d.ts +7 -0
  560. package/dist/types-ts4.0/plugins/list/utils/find.d.ts +10 -0
  561. package/dist/types-ts4.0/plugins/list/utils/indentation.d.ts +7 -0
  562. package/dist/types-ts4.0/plugins/list/utils/node.d.ts +21 -0
  563. package/dist/types-ts4.0/plugins/list/utils/replace-content.d.ts +8 -0
  564. package/dist/types-ts4.0/plugins/list/utils/selection.d.ts +24 -0
  565. package/dist/types-ts4.0/plugins/macro/actions.d.ts +8 -0
  566. package/dist/types-ts4.0/plugins/macro/index.d.ts +11 -0
  567. package/dist/types-ts4.0/plugins/macro/plugin-key.d.ts +3 -0
  568. package/dist/types-ts4.0/plugins/macro/types.d.ts +4 -0
  569. package/dist/types-ts4.0/plugins/max-content-size/index.d.ts +13 -0
  570. package/dist/types-ts4.0/plugins/media/commands/captions.d.ts +4 -0
  571. package/dist/types-ts4.0/plugins/media/commands/helpers.d.ts +15 -0
  572. package/dist/types-ts4.0/plugins/media/commands/index.d.ts +1 -0
  573. package/dist/types-ts4.0/plugins/media/commands/linking.d.ts +10 -0
  574. package/dist/types-ts4.0/plugins/media/index.d.ts +14 -0
  575. package/dist/types-ts4.0/plugins/media/media-plugin-options.d.ts +18 -0
  576. package/dist/types-ts4.0/plugins/media/nodeviews/__mocks__/mediaNodeUpdater.d.ts +24 -0
  577. package/dist/types-ts4.0/plugins/media/nodeviews/mediaGroup.d.ts +33 -0
  578. package/dist/types-ts4.0/plugins/media/nodeviews/mediaInline.d.ts +47 -0
  579. package/dist/types-ts4.0/plugins/media/nodeviews/mediaNodeUpdater.d.ts +47 -0
  580. package/dist/types-ts4.0/plugins/media/nodeviews/mediaNodeView/index.d.ts +26 -0
  581. package/dist/types-ts4.0/plugins/media/nodeviews/mediaNodeView/media.d.ts +45 -0
  582. package/dist/types-ts4.0/plugins/media/nodeviews/mediaSingle.d.ts +61 -0
  583. package/dist/types-ts4.0/plugins/media/nodeviews/messages.d.ts +7 -0
  584. package/dist/types-ts4.0/plugins/media/nodeviews/styles.d.ts +16 -0
  585. package/dist/types-ts4.0/plugins/media/nodeviews/types.d.ts +39 -0
  586. package/dist/types-ts4.0/plugins/media/picker-facade.d.ts +44 -0
  587. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/actions.d.ts +10 -0
  588. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/commands.d.ts +3 -0
  589. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/index.d.ts +7 -0
  590. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/keymap.d.ts +3 -0
  591. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/messages.d.ts +37 -0
  592. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/reducer.d.ts +4 -0
  593. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/style.d.ts +3 -0
  594. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/types.d.ts +3 -0
  595. package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/ui/AltTextEdit.d.ts +41 -0
  596. package/dist/types-ts4.0/plugins/media/pm-plugins/keymap-media-single.d.ts +3 -0
  597. package/dist/types-ts4.0/plugins/media/pm-plugins/keymap.d.ts +4 -0
  598. package/dist/types-ts4.0/plugins/media/pm-plugins/linking/actions.d.ts +20 -0
  599. package/dist/types-ts4.0/plugins/media/pm-plugins/linking/index.d.ts +10 -0
  600. package/dist/types-ts4.0/plugins/media/pm-plugins/linking/keymap.d.ts +3 -0
  601. package/dist/types-ts4.0/plugins/media/pm-plugins/linking/reducer.d.ts +4 -0
  602. package/dist/types-ts4.0/plugins/media/pm-plugins/linking/types.d.ts +12 -0
  603. package/dist/types-ts4.0/plugins/media/pm-plugins/main.d.ts +108 -0
  604. package/dist/types-ts4.0/plugins/media/pm-plugins/media-editor-plugin-factory.d.ts +3 -0
  605. package/dist/types-ts4.0/plugins/media/pm-plugins/mediaTaskManager.d.ts +9 -0
  606. package/dist/types-ts4.0/plugins/media/pm-plugins/plugin-key.d.ts +3 -0
  607. package/dist/types-ts4.0/plugins/media/pm-plugins/types.d.ts +60 -0
  608. package/dist/types-ts4.0/plugins/media/styles.d.ts +1 -0
  609. package/dist/types-ts4.0/plugins/media/toolbar/alt-text.d.ts +11 -0
  610. package/dist/types-ts4.0/plugins/media/toolbar/commands.d.ts +9 -0
  611. package/dist/types-ts4.0/plugins/media/toolbar/filePreviewItem.d.ts +9 -0
  612. package/dist/types-ts4.0/plugins/media/toolbar/imageBorder.d.ts +2 -0
  613. package/dist/types-ts4.0/plugins/media/toolbar/index.d.ts +5 -0
  614. package/dist/types-ts4.0/plugins/media/toolbar/linking-toolbar-appearance.d.ts +14 -0
  615. package/dist/types-ts4.0/plugins/media/toolbar/linking.d.ts +8 -0
  616. package/dist/types-ts4.0/plugins/media/toolbar/utils.d.ts +6 -0
  617. package/dist/types-ts4.0/plugins/media/types.d.ts +102 -0
  618. package/dist/types-ts4.0/plugins/media/ui/CaptionPlaceholder/index.d.ts +7 -0
  619. package/dist/types-ts4.0/plugins/media/ui/CaptionPlaceholder/messages.d.ts +7 -0
  620. package/dist/types-ts4.0/plugins/media/ui/ImageBorder/index.d.ts +13 -0
  621. package/dist/types-ts4.0/plugins/media/ui/ImageBorder/messages.d.ts +42 -0
  622. package/dist/types-ts4.0/plugins/media/ui/ImageBorder/styles.d.ts +15 -0
  623. package/dist/types-ts4.0/plugins/media/ui/Media/DropPlaceholder.d.ts +8 -0
  624. package/dist/types-ts4.0/plugins/media/ui/Media/drop-placeholder-messages.d.ts +7 -0
  625. package/dist/types-ts4.0/plugins/media/ui/MediaLinkingToolbar.d.ts +35 -0
  626. package/dist/types-ts4.0/plugins/media/ui/MediaPicker/BrowserWrapper.d.ts +11 -0
  627. package/dist/types-ts4.0/plugins/media/ui/MediaPicker/ClipboardWrapper.d.ts +9 -0
  628. package/dist/types-ts4.0/plugins/media/ui/MediaPicker/DropzoneWrapper.d.ts +13 -0
  629. package/dist/types-ts4.0/plugins/media/ui/MediaPicker/PickerFacadeProvider.d.ts +28 -0
  630. package/dist/types-ts4.0/plugins/media/ui/MediaPicker/index.d.ts +21 -0
  631. package/dist/types-ts4.0/plugins/media/ui/ResizableMediaSingle/index.d.ts +44 -0
  632. package/dist/types-ts4.0/plugins/media/ui/ResizableMediaSingle/styled.d.ts +2 -0
  633. package/dist/types-ts4.0/plugins/media/ui/ResizableMediaSingle/types.d.ts +40 -0
  634. package/dist/types-ts4.0/plugins/media/ui/ToolbarMedia/index.d.ts +17 -0
  635. package/dist/types-ts4.0/plugins/media/ui/ToolbarMedia/toolbar-media-messages.d.ts +7 -0
  636. package/dist/types-ts4.0/plugins/media/ui/media-linking-toolbar-messages.d.ts +7 -0
  637. package/dist/types-ts4.0/plugins/media/utils/check-media-type.d.ts +4 -0
  638. package/dist/types-ts4.0/plugins/media/utils/current-media-node.d.ts +9 -0
  639. package/dist/types-ts4.0/plugins/media/utils/is-image.d.ts +1 -0
  640. package/dist/types-ts4.0/plugins/media/utils/media-common.d.ts +29 -0
  641. package/dist/types-ts4.0/plugins/media/utils/media-files.d.ts +30 -0
  642. package/dist/types-ts4.0/plugins/media/utils/media-single.d.ts +32 -0
  643. package/dist/types-ts4.0/plugins/mentions/analytics.d.ts +13 -0
  644. package/dist/types-ts4.0/plugins/mentions/index.d.ts +8 -0
  645. package/dist/types-ts4.0/plugins/mentions/messages.d.ts +22 -0
  646. package/dist/types-ts4.0/plugins/mentions/nodeviews/mention.d.ts +9 -0
  647. package/dist/types-ts4.0/plugins/mentions/pm-plugins/key.d.ts +3 -0
  648. package/dist/types-ts4.0/plugins/mentions/pm-plugins/main.d.ts +6 -0
  649. package/dist/types-ts4.0/plugins/mentions/pm-plugins/utils.d.ts +3 -0
  650. package/dist/types-ts4.0/plugins/mentions/styles.d.ts +1 -0
  651. package/dist/types-ts4.0/plugins/mentions/type-ahead/index.d.ts +17 -0
  652. package/dist/types-ts4.0/plugins/mentions/types.d.ts +25 -0
  653. package/dist/types-ts4.0/plugins/mentions/ui/InviteItem/index.d.ts +22 -0
  654. package/dist/types-ts4.0/plugins/mentions/ui/InviteItem/styles.d.ts +8 -0
  655. package/dist/types-ts4.0/plugins/mentions/ui/Mention/index.d.ts +19 -0
  656. package/dist/types-ts4.0/plugins/mentions/ui/ToolbarMention/index.d.ts +12 -0
  657. package/dist/types-ts4.0/plugins/mentions/utils.d.ts +8 -0
  658. package/dist/types-ts4.0/plugins/mobile-dimensions/actions.d.ts +23 -0
  659. package/dist/types-ts4.0/plugins/mobile-dimensions/commands.d.ts +4 -0
  660. package/dist/types-ts4.0/plugins/mobile-dimensions/index.d.ts +3 -0
  661. package/dist/types-ts4.0/plugins/mobile-dimensions/plugin-factory.d.ts +5 -0
  662. package/dist/types-ts4.0/plugins/mobile-dimensions/reducer.d.ts +3 -0
  663. package/dist/types-ts4.0/plugins/mobile-dimensions/types.d.ts +10 -0
  664. package/dist/types-ts4.0/plugins/mobile-dimensions/utils.d.ts +2 -0
  665. package/dist/types-ts4.0/plugins/mobile-selection/content-in-selection.d.ts +5 -0
  666. package/dist/types-ts4.0/plugins/mobile-selection/index.d.ts +2 -0
  667. package/dist/types-ts4.0/plugins/mobile-selection/mobile-selection-plugin.d.ts +7 -0
  668. package/dist/types-ts4.0/plugins/mobile-selection/types.d.ts +32 -0
  669. package/dist/types-ts4.0/plugins/panel/actions.d.ts +9 -0
  670. package/dist/types-ts4.0/plugins/panel/index.d.ts +6 -0
  671. package/dist/types-ts4.0/plugins/panel/message.d.ts +37 -0
  672. package/dist/types-ts4.0/plugins/panel/nodeviews/panel.d.ts +35 -0
  673. package/dist/types-ts4.0/plugins/panel/pm-plugins/keymaps.d.ts +3 -0
  674. package/dist/types-ts4.0/plugins/panel/pm-plugins/main.d.ts +11 -0
  675. package/dist/types-ts4.0/plugins/panel/styles.d.ts +2 -0
  676. package/dist/types-ts4.0/plugins/panel/toolbar.d.ts +13 -0
  677. package/dist/types-ts4.0/plugins/panel/types.d.ts +21 -0
  678. package/dist/types-ts4.0/plugins/panel/utils.d.ts +5 -0
  679. package/dist/types-ts4.0/plugins/paste/actions.d.ts +15 -0
  680. package/dist/types-ts4.0/plugins/paste/commands.d.ts +16 -0
  681. package/dist/types-ts4.0/plugins/paste/edge-cases/index.d.ts +7 -0
  682. package/dist/types-ts4.0/plugins/paste/edge-cases/lists.d.ts +18 -0
  683. package/dist/types-ts4.0/plugins/paste/handlers.d.ts +50 -0
  684. package/dist/types-ts4.0/plugins/paste/index.d.ts +14 -0
  685. package/dist/types-ts4.0/plugins/paste/linkify-md-plugin.d.ts +2 -0
  686. package/dist/types-ts4.0/plugins/paste/md.d.ts +2 -0
  687. package/dist/types-ts4.0/plugins/paste/newline-md-plugin.d.ts +2 -0
  688. package/dist/types-ts4.0/plugins/paste/paragraph-md-plugin.d.ts +2 -0
  689. package/dist/types-ts4.0/plugins/paste/pm-plugins/analytics.d.ts +42 -0
  690. package/dist/types-ts4.0/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +13 -0
  691. package/dist/types-ts4.0/plugins/paste/pm-plugins/main.d.ts +10 -0
  692. package/dist/types-ts4.0/plugins/paste/pm-plugins/plugin-factory.d.ts +3 -0
  693. package/dist/types-ts4.0/plugins/paste/reducer.d.ts +3 -0
  694. package/dist/types-ts4.0/plugins/paste/types.d.ts +6 -0
  695. package/dist/types-ts4.0/plugins/paste/util/index.d.ts +18 -0
  696. package/dist/types-ts4.0/plugins/paste/util/tinyMCE.d.ts +32 -0
  697. package/dist/types-ts4.0/plugins/placeholder/index.d.ts +16 -0
  698. package/dist/types-ts4.0/plugins/placeholder/styles.d.ts +1 -0
  699. package/dist/types-ts4.0/plugins/placeholder-text/actions.d.ts +4 -0
  700. package/dist/types-ts4.0/plugins/placeholder-text/index.d.ts +9 -0
  701. package/dist/types-ts4.0/plugins/placeholder-text/placeholder-text-nodeview.d.ts +17 -0
  702. package/dist/types-ts4.0/plugins/placeholder-text/plugin-key.d.ts +3 -0
  703. package/dist/types-ts4.0/plugins/placeholder-text/selection-utils.d.ts +2 -0
  704. package/dist/types-ts4.0/plugins/placeholder-text/styles.d.ts +1 -0
  705. package/dist/types-ts4.0/plugins/placeholder-text/types.d.ts +7 -0
  706. package/dist/types-ts4.0/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +25 -0
  707. package/dist/types-ts4.0/plugins/quick-insert/api.d.ts +6 -0
  708. package/dist/types-ts4.0/plugins/quick-insert/assets/action.d.ts +2 -0
  709. package/dist/types-ts4.0/plugins/quick-insert/assets/code.d.ts +2 -0
  710. package/dist/types-ts4.0/plugins/quick-insert/assets/custom-panel.d.ts +2 -0
  711. package/dist/types-ts4.0/plugins/quick-insert/assets/date.d.ts +2 -0
  712. package/dist/types-ts4.0/plugins/quick-insert/assets/decision.d.ts +2 -0
  713. package/dist/types-ts4.0/plugins/quick-insert/assets/divider.d.ts +2 -0
  714. package/dist/types-ts4.0/plugins/quick-insert/assets/emoji.d.ts +2 -0
  715. package/dist/types-ts4.0/plugins/quick-insert/assets/expand.d.ts +2 -0
  716. package/dist/types-ts4.0/plugins/quick-insert/assets/fallback.d.ts +2 -0
  717. package/dist/types-ts4.0/plugins/quick-insert/assets/feedback.d.ts +2 -0
  718. package/dist/types-ts4.0/plugins/quick-insert/assets/heading1.d.ts +2 -0
  719. package/dist/types-ts4.0/plugins/quick-insert/assets/heading2.d.ts +2 -0
  720. package/dist/types-ts4.0/plugins/quick-insert/assets/heading3.d.ts +2 -0
  721. package/dist/types-ts4.0/plugins/quick-insert/assets/heading4.d.ts +2 -0
  722. package/dist/types-ts4.0/plugins/quick-insert/assets/heading5.d.ts +2 -0
  723. package/dist/types-ts4.0/plugins/quick-insert/assets/heading6.d.ts +2 -0
  724. package/dist/types-ts4.0/plugins/quick-insert/assets/images.d.ts +2 -0
  725. package/dist/types-ts4.0/plugins/quick-insert/assets/index.d.ts +30 -0
  726. package/dist/types-ts4.0/plugins/quick-insert/assets/layout.d.ts +2 -0
  727. package/dist/types-ts4.0/plugins/quick-insert/assets/link.d.ts +2 -0
  728. package/dist/types-ts4.0/plugins/quick-insert/assets/list-number.d.ts +2 -0
  729. package/dist/types-ts4.0/plugins/quick-insert/assets/list.d.ts +2 -0
  730. package/dist/types-ts4.0/plugins/quick-insert/assets/mention.d.ts +2 -0
  731. package/dist/types-ts4.0/plugins/quick-insert/assets/panel-error.d.ts +2 -0
  732. package/dist/types-ts4.0/plugins/quick-insert/assets/panel-note.d.ts +2 -0
  733. package/dist/types-ts4.0/plugins/quick-insert/assets/panel-success.d.ts +2 -0
  734. package/dist/types-ts4.0/plugins/quick-insert/assets/panel-warning.d.ts +2 -0
  735. package/dist/types-ts4.0/plugins/quick-insert/assets/panel.d.ts +2 -0
  736. package/dist/types-ts4.0/plugins/quick-insert/assets/quote.d.ts +2 -0
  737. package/dist/types-ts4.0/plugins/quick-insert/assets/status.d.ts +2 -0
  738. package/dist/types-ts4.0/plugins/quick-insert/commands.d.ts +5 -0
  739. package/dist/types-ts4.0/plugins/quick-insert/index.d.ts +13 -0
  740. package/dist/types-ts4.0/plugins/quick-insert/plugin-key.d.ts +3 -0
  741. package/dist/types-ts4.0/plugins/quick-insert/search.d.ts +5 -0
  742. package/dist/types-ts4.0/plugins/quick-insert/types.d.ts +24 -0
  743. package/dist/types-ts4.0/plugins/quick-insert/ui/ModalElementBrowser/index.d.ts +8 -0
  744. package/dist/types-ts4.0/plugins/rank.d.ts +6 -0
  745. package/dist/types-ts4.0/plugins/rule/commands.d.ts +4 -0
  746. package/dist/types-ts4.0/plugins/rule/index.d.ts +9 -0
  747. package/dist/types-ts4.0/plugins/rule/pm-plugins/input-rule.d.ts +8 -0
  748. package/dist/types-ts4.0/plugins/rule/pm-plugins/keymap.d.ts +4 -0
  749. package/dist/types-ts4.0/plugins/rule/styles.d.ts +2 -0
  750. package/dist/types-ts4.0/plugins/save-on-enter/index.d.ts +10 -0
  751. package/dist/types-ts4.0/plugins/scroll-into-view/index.d.ts +14 -0
  752. package/dist/types-ts4.0/plugins/selection/actions.d.ts +17 -0
  753. package/dist/types-ts4.0/plugins/selection/commands.d.ts +8 -0
  754. package/dist/types-ts4.0/plugins/selection/gap-cursor/actions.d.ts +25 -0
  755. package/dist/types-ts4.0/plugins/selection/gap-cursor/direction.d.ts +10 -0
  756. package/dist/types-ts4.0/plugins/selection/gap-cursor/selection.d.ts +1 -0
  757. package/dist/types-ts4.0/plugins/selection/gap-cursor/styles.d.ts +2 -0
  758. package/dist/types-ts4.0/plugins/selection/gap-cursor/utils/is-ignored.d.ts +1 -0
  759. package/dist/types-ts4.0/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +1 -0
  760. package/dist/types-ts4.0/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +2 -0
  761. package/dist/types-ts4.0/plugins/selection/gap-cursor/utils.d.ts +7 -0
  762. package/dist/types-ts4.0/plugins/selection/gap-cursor-selection.d.ts +2 -0
  763. package/dist/types-ts4.0/plugins/selection/index.d.ts +6 -0
  764. package/dist/types-ts4.0/plugins/selection/plugin-factory.d.ts +2 -0
  765. package/dist/types-ts4.0/plugins/selection/pm-plugins/events/create-selection-between.d.ts +4 -0
  766. package/dist/types-ts4.0/plugins/selection/pm-plugins/events/keydown.d.ts +2 -0
  767. package/dist/types-ts4.0/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +2 -0
  768. package/dist/types-ts4.0/plugins/selection/pm-plugins/gap-cursor-main.d.ts +3 -0
  769. package/dist/types-ts4.0/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +2 -0
  770. package/dist/types-ts4.0/plugins/selection/pm-plugins/keymap.d.ts +3 -0
  771. package/dist/types-ts4.0/plugins/selection/pm-plugins/selection-main.d.ts +7 -0
  772. package/dist/types-ts4.0/plugins/selection/reducer.d.ts +3 -0
  773. package/dist/types-ts4.0/plugins/selection/types.d.ts +14 -0
  774. package/dist/types-ts4.0/plugins/selection/utils.d.ts +64 -0
  775. package/dist/types-ts4.0/plugins/status/actions.d.ts +14 -0
  776. package/dist/types-ts4.0/plugins/status/analytics.d.ts +4 -0
  777. package/dist/types-ts4.0/plugins/status/index.d.ts +6 -0
  778. package/dist/types-ts4.0/plugins/status/keymap.d.ts +3 -0
  779. package/dist/types-ts4.0/plugins/status/nodeviews/messages.d.ts +17 -0
  780. package/dist/types-ts4.0/plugins/status/nodeviews/status.d.ts +24 -0
  781. package/dist/types-ts4.0/plugins/status/plugin-key.d.ts +4 -0
  782. package/dist/types-ts4.0/plugins/status/plugin.d.ts +7 -0
  783. package/dist/types-ts4.0/plugins/status/styles.d.ts +1 -0
  784. package/dist/types-ts4.0/plugins/status/types.d.ts +14 -0
  785. package/dist/types-ts4.0/plugins/status/ui/statusPicker.d.ts +55 -0
  786. package/dist/types-ts4.0/plugins/status/utils.d.ts +5 -0
  787. package/dist/types-ts4.0/plugins/submit-editor/index.d.ts +11 -0
  788. package/dist/types-ts4.0/plugins/tasks-and-decisions/commands.d.ts +16 -0
  789. package/dist/types-ts4.0/plugins/tasks-and-decisions/index.d.ts +6 -0
  790. package/dist/types-ts4.0/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +5 -0
  791. package/dist/types-ts4.0/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +9 -0
  792. package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +15 -0
  793. package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +54 -0
  794. package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +5 -0
  795. package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +9 -0
  796. package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/main.d.ts +5 -0
  797. package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +2 -0
  798. package/dist/types-ts4.0/plugins/tasks-and-decisions/styles.d.ts +1 -0
  799. package/dist/types-ts4.0/plugins/tasks-and-decisions/types.d.ts +23 -0
  800. package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/Decision/index.d.ts +14 -0
  801. package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/Task/index.d.ts +26 -0
  802. package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +27 -0
  803. package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +20 -0
  804. package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +20 -0
  805. package/dist/types-ts4.0/plugins/tasks-and-decisions/utils.d.ts +4 -0
  806. package/dist/types-ts4.0/plugins/text-color/commands/change-color.d.ts +2 -0
  807. package/dist/types-ts4.0/plugins/text-color/commands/remove-color.d.ts +2 -0
  808. package/dist/types-ts4.0/plugins/text-color/commands/toggle-color.d.ts +2 -0
  809. package/dist/types-ts4.0/plugins/text-color/index.d.ts +13 -0
  810. package/dist/types-ts4.0/plugins/text-color/pm-plugins/main.d.ts +25 -0
  811. package/dist/types-ts4.0/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +2 -0
  812. package/dist/types-ts4.0/plugins/text-color/ui/ToolbarTextColor/index.d.ts +51 -0
  813. package/dist/types-ts4.0/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +3 -0
  814. package/dist/types-ts4.0/plugins/text-color/utils/color.d.ts +6 -0
  815. package/dist/types-ts4.0/plugins/text-color/utils/disabled.d.ts +2 -0
  816. package/dist/types-ts4.0/plugins/text-formatting/commands/clear-formatting.d.ts +6 -0
  817. package/dist/types-ts4.0/plugins/text-formatting/commands/text-formatting.d.ts +35 -0
  818. package/dist/types-ts4.0/plugins/text-formatting/commands/transform-to-code.d.ts +2 -0
  819. package/dist/types-ts4.0/plugins/text-formatting/index.d.ts +6 -0
  820. package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/clear-formatting-keymap.d.ts +3 -0
  821. package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/clear-formatting.d.ts +8 -0
  822. package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/cursor.d.ts +3 -0
  823. package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/input-rule.d.ts +23 -0
  824. package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/keymap.d.ts +3 -0
  825. package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/main.d.ts +7 -0
  826. package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/plugin-key.d.ts +3 -0
  827. package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +3 -0
  828. package/dist/types-ts4.0/plugins/text-formatting/styles.d.ts +2 -0
  829. package/dist/types-ts4.0/plugins/text-formatting/types.d.ts +30 -0
  830. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/constants.d.ts +6 -0
  831. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/dropdown-menu.d.ts +15 -0
  832. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.d.ts +2 -0
  833. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.d.ts +9 -0
  834. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/hooks/menu-state.d.ts +5 -0
  835. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/hooks/responsive-toolbar-buttons.d.ts +20 -0
  836. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/index.d.ts +24 -0
  837. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/more-button.d.ts +13 -0
  838. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/single-toolbar-buttons.d.ts +9 -0
  839. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/toolbar-messages.d.ts +87 -0
  840. package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/types.d.ts +32 -0
  841. package/dist/types-ts4.0/plugins/text-formatting/utils.d.ts +15 -0
  842. package/dist/types-ts4.0/plugins/toolbar-lists-indentation/index.d.ts +13 -0
  843. package/dist/types-ts4.0/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +14 -0
  844. package/dist/types-ts4.0/plugins/toolbar-lists-indentation/types.d.ts +20 -0
  845. package/dist/types-ts4.0/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +4 -0
  846. package/dist/types-ts4.0/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +9 -0
  847. package/dist/types-ts4.0/plugins/toolbar-lists-indentation/ui/index.d.ts +22 -0
  848. package/dist/types-ts4.0/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +8 -0
  849. package/dist/types-ts4.0/plugins/type-ahead/api.d.ts +62 -0
  850. package/dist/types-ts4.0/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +12 -0
  851. package/dist/types-ts4.0/plugins/type-ahead/commands/update-list-items.d.ts +3 -0
  852. package/dist/types-ts4.0/plugins/type-ahead/commands/update-query.d.ts +2 -0
  853. package/dist/types-ts4.0/plugins/type-ahead/commands/update-selected-index.d.ts +2 -0
  854. package/dist/types-ts4.0/plugins/type-ahead/constants.d.ts +8 -0
  855. package/dist/types-ts4.0/plugins/type-ahead/index.d.ts +22 -0
  856. package/dist/types-ts4.0/plugins/type-ahead/insert-utils.d.ts +18 -0
  857. package/dist/types-ts4.0/plugins/type-ahead/messages.d.ts +72 -0
  858. package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/actions.d.ts +9 -0
  859. package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/decorations.d.ts +15 -0
  860. package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/input-rules.d.ts +6 -0
  861. package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +2 -0
  862. package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/key.d.ts +3 -0
  863. package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/main.d.ts +15 -0
  864. package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/reducer.d.ts +10 -0
  865. package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/utils.d.ts +4 -0
  866. package/dist/types-ts4.0/plugins/type-ahead/stats-modifier.d.ts +20 -0
  867. package/dist/types-ts4.0/plugins/type-ahead/transforms/close-type-ahead.d.ts +2 -0
  868. package/dist/types-ts4.0/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +10 -0
  869. package/dist/types-ts4.0/plugins/type-ahead/transforms/set-selection-before-query.d.ts +2 -0
  870. package/dist/types-ts4.0/plugins/type-ahead/types.d.ts +65 -0
  871. package/dist/types-ts4.0/plugins/type-ahead/ui/AssistiveText.d.ts +33 -0
  872. package/dist/types-ts4.0/plugins/type-ahead/ui/InputQuery.d.ts +27 -0
  873. package/dist/types-ts4.0/plugins/type-ahead/ui/TypeAheadList.d.ts +25 -0
  874. package/dist/types-ts4.0/plugins/type-ahead/ui/TypeAheadListItem.d.ts +18 -0
  875. package/dist/types-ts4.0/plugins/type-ahead/ui/TypeAheadPopup.d.ts +29 -0
  876. package/dist/types-ts4.0/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +21 -0
  877. package/dist/types-ts4.0/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +7 -0
  878. package/dist/types-ts4.0/plugins/type-ahead/ui/hooks/use-load-items.d.ts +3 -0
  879. package/dist/types-ts4.0/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +11 -0
  880. package/dist/types-ts4.0/plugins/type-ahead/utils.d.ts +29 -0
  881. package/dist/types-ts4.0/plugins/undo-redo/attach-input-meta.d.ts +5 -0
  882. package/dist/types-ts4.0/plugins/undo-redo/commands.d.ts +4 -0
  883. package/dist/types-ts4.0/plugins/undo-redo/enums.d.ts +4 -0
  884. package/dist/types-ts4.0/plugins/undo-redo/index.d.ts +3 -0
  885. package/dist/types-ts4.0/plugins/undo-redo/messages.d.ts +12 -0
  886. package/dist/types-ts4.0/plugins/undo-redo/pm-plugins/keymaps.d.ts +2 -0
  887. package/dist/types-ts4.0/plugins/undo-redo/pm-plugins/main.d.ts +2 -0
  888. package/dist/types-ts4.0/plugins/undo-redo/pm-plugins/plugin-key.d.ts +2 -0
  889. package/dist/types-ts4.0/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +21 -0
  890. package/dist/types-ts4.0/plugins/undo-redo/undo-redo-input-source.d.ts +3 -0
  891. package/dist/types-ts4.0/plugins/unsupported-content/index.d.ts +5 -0
  892. package/dist/types-ts4.0/plugins/unsupported-content/styles.d.ts +5 -0
  893. package/dist/types-ts4.0/plugins/unsupported-content/unsupported-inline-node-view.d.ts +11 -0
  894. package/dist/types-ts4.0/plugins/view-update-subscription/index.d.ts +19 -0
  895. package/dist/types-ts4.0/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +12 -0
  896. package/dist/types-ts4.0/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +9 -0
  897. package/dist/types-ts4.0/plugins/width/index.d.ts +10 -0
  898. package/dist/types-ts4.0/selection-api/api.d.ts +11 -0
  899. package/dist/types-ts4.0/stories/examples.d.ts +9 -0
  900. package/dist/types-ts4.0/test-utils.d.ts +39 -0
  901. package/dist/types-ts4.0/types/allowed-block-types.d.ts +1 -0
  902. package/dist/types-ts4.0/types/browser.d.ts +1 -0
  903. package/dist/types-ts4.0/types/command.d.ts +5 -0
  904. package/dist/types-ts4.0/types/dom-at-pos.d.ts +4 -0
  905. package/dist/types-ts4.0/types/editor-appearance-component.d.ts +48 -0
  906. package/dist/types-ts4.0/types/editor-appearance.d.ts +1 -0
  907. package/dist/types-ts4.0/types/editor-config.d.ts +24 -0
  908. package/dist/types-ts4.0/types/editor-instance.d.ts +19 -0
  909. package/dist/types-ts4.0/types/editor-onchange.d.ts +4 -0
  910. package/dist/types-ts4.0/types/editor-plugin.d.ts +1 -0
  911. package/dist/types-ts4.0/types/editor-props.d.ts +259 -0
  912. package/dist/types-ts4.0/types/editor-react-context.d.ts +1 -0
  913. package/dist/types-ts4.0/types/empty-state-handler.d.ts +1 -0
  914. package/dist/types-ts4.0/types/extension-config.d.ts +5 -0
  915. package/dist/types-ts4.0/types/feature-flags.d.ts +1 -0
  916. package/dist/types-ts4.0/types/get-editor-props.d.ts +12 -0
  917. package/dist/types-ts4.0/types/i18n.d.ts +5 -0
  918. package/dist/types-ts4.0/types/index.d.ts +18 -0
  919. package/dist/types-ts4.0/types/performance-tracking.d.ts +323 -0
  920. package/dist/types-ts4.0/types/pm-config.d.ts +1 -0
  921. package/dist/types-ts4.0/types/pm-plugin-list.d.ts +9 -0
  922. package/dist/types-ts4.0/types/pm-plugin.d.ts +1 -0
  923. package/dist/types-ts4.0/types/ui-components.d.ts +1 -0
  924. package/dist/types-ts4.0/ui/Addon/ClickAreaBlock/index.d.ts +10 -0
  925. package/dist/types-ts4.0/ui/Addon/ClickAreaInline/index.d.ts +8 -0
  926. package/dist/types-ts4.0/ui/Addon/ClickAreaMobile/index.d.ts +31 -0
  927. package/dist/types-ts4.0/ui/Addon/Dropdown/index.d.ts +14 -0
  928. package/dist/types-ts4.0/ui/Addon/Dropdown/styles.d.ts +1 -0
  929. package/dist/types-ts4.0/ui/Addon/DropdownItem/index.d.ts +5 -0
  930. package/dist/types-ts4.0/ui/Addon/DropdownItem/styles.d.ts +1 -0
  931. package/dist/types-ts4.0/ui/Addon/click-area-helper.d.ts +13 -0
  932. package/dist/types-ts4.0/ui/Addon/index.d.ts +6 -0
  933. package/dist/types-ts4.0/ui/Addon/types.d.ts +17 -0
  934. package/dist/types-ts4.0/ui/Alignment/AlignmentButton/index.d.ts +17 -0
  935. package/dist/types-ts4.0/ui/Alignment/index.d.ts +12 -0
  936. package/dist/types-ts4.0/ui/Alignment/messages.d.ts +17 -0
  937. package/dist/types-ts4.0/ui/Alignment/styles.d.ts +1 -0
  938. package/dist/types-ts4.0/ui/Appearance/Chromeless.d.ts +11 -0
  939. package/dist/types-ts4.0/ui/Appearance/Comment/Comment.d.ts +7 -0
  940. package/dist/types-ts4.0/ui/Appearance/Comment/Toolbar.d.ts +10 -0
  941. package/dist/types-ts4.0/ui/Appearance/Comment/index.d.ts +1 -0
  942. package/dist/types-ts4.0/ui/Appearance/FullPage/FullPage.d.ts +25 -0
  943. package/dist/types-ts4.0/ui/Appearance/FullPage/FullPageContentArea.d.ts +34 -0
  944. package/dist/types-ts4.0/ui/Appearance/FullPage/FullPageToolbar.d.ts +36 -0
  945. package/dist/types-ts4.0/ui/Appearance/FullPage/MainToolbar.d.ts +7 -0
  946. package/dist/types-ts4.0/ui/Appearance/FullPage/StyledComponents.d.ts +378 -0
  947. package/dist/types-ts4.0/ui/Appearance/FullPage/index.d.ts +1 -0
  948. package/dist/types-ts4.0/ui/Appearance/FullPage/messages.d.ts +18 -0
  949. package/dist/types-ts4.0/ui/Appearance/Mobile.d.ts +3 -0
  950. package/dist/types-ts4.0/ui/AppearanceComponents/Mobile.d.ts +12 -0
  951. package/dist/types-ts4.0/ui/ChromeCollapsed/index.d.ts +11 -0
  952. package/dist/types-ts4.0/ui/ChromeCollapsed/messages.d.ts +7 -0
  953. package/dist/types-ts4.0/ui/ChromeCollapsed/styles.d.ts +1 -0
  954. package/dist/types-ts4.0/ui/CollapsedEditor/index.d.ts +20 -0
  955. package/dist/types-ts4.0/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +2 -0
  956. package/dist/types-ts4.0/ui/ColorPalette/Palettes/common.d.ts +1 -0
  957. package/dist/types-ts4.0/ui/ColorPalette/Palettes/index.d.ts +2 -0
  958. package/dist/types-ts4.0/ui/ColorPalette/Palettes/paletteMessages.d.ts +2 -0
  959. package/dist/types-ts4.0/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +1 -0
  960. package/dist/types-ts4.0/ui/ColorPalette/Palettes/statusColorPalette.d.ts +1 -0
  961. package/dist/types-ts4.0/ui/ColorPalette/Palettes/textColorPalette.d.ts +1 -0
  962. package/dist/types-ts4.0/ui/ColorPalette/Palettes/type.d.ts +1 -0
  963. package/dist/types-ts4.0/ui/ColorPalette/index.d.ts +3 -0
  964. package/dist/types-ts4.0/ui/ColorPickerButton/index.d.ts +24 -0
  965. package/dist/types-ts4.0/ui/ConfigPanel/ConfigPanel.d.ts +22 -0
  966. package/dist/types-ts4.0/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +20 -0
  967. package/dist/types-ts4.0/ui/ConfigPanel/ConfigPanelLoader.d.ts +5 -0
  968. package/dist/types-ts4.0/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +4 -0
  969. package/dist/types-ts4.0/ui/ConfigPanel/ErrorMessage/index.d.ts +10 -0
  970. package/dist/types-ts4.0/ui/ConfigPanel/FieldMessages.d.ts +12 -0
  971. package/dist/types-ts4.0/ui/ConfigPanel/Fields/Boolean.d.ts +8 -0
  972. package/dist/types-ts4.0/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +8 -0
  973. package/dist/types-ts4.0/ui/ConfigPanel/Fields/ColorPicker.d.ts +21 -0
  974. package/dist/types-ts4.0/ui/ConfigPanel/Fields/CustomSelect.d.ts +24 -0
  975. package/dist/types-ts4.0/ui/ConfigPanel/Fields/Date.d.ts +20 -0
  976. package/dist/types-ts4.0/ui/ConfigPanel/Fields/DateRange.d.ts +20 -0
  977. package/dist/types-ts4.0/ui/ConfigPanel/Fields/Enum.d.ts +10 -0
  978. package/dist/types-ts4.0/ui/ConfigPanel/Fields/Expand.d.ts +18 -0
  979. package/dist/types-ts4.0/ui/ConfigPanel/Fields/Fieldset.d.ts +20 -0
  980. package/dist/types-ts4.0/ui/ConfigPanel/Fields/Number.d.ts +10 -0
  981. package/dist/types-ts4.0/ui/ConfigPanel/Fields/RadioGroup.d.ts +8 -0
  982. package/dist/types-ts4.0/ui/ConfigPanel/Fields/Select.d.ts +11 -0
  983. package/dist/types-ts4.0/ui/ConfigPanel/Fields/SelectItem.d.ts +5 -0
  984. package/dist/types-ts4.0/ui/ConfigPanel/Fields/String.d.ts +10 -0
  985. package/dist/types-ts4.0/ui/ConfigPanel/Fields/TabGroup.d.ts +15 -0
  986. package/dist/types-ts4.0/ui/ConfigPanel/Fields/UnhandledType.d.ts +6 -0
  987. package/dist/types-ts4.0/ui/ConfigPanel/Fields/UserSelect.d.ts +10 -0
  988. package/dist/types-ts4.0/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +1 -0
  989. package/dist/types-ts4.0/ui/ConfigPanel/FormContent.d.ts +4 -0
  990. package/dist/types-ts4.0/ui/ConfigPanel/FormErrorBoundary.d.ts +16 -0
  991. package/dist/types-ts4.0/ui/ConfigPanel/Header.d.ts +21 -0
  992. package/dist/types-ts4.0/ui/ConfigPanel/LoadingState.d.ts +4 -0
  993. package/dist/types-ts4.0/ui/ConfigPanel/NestedForms/RemovableField.d.ts +19 -0
  994. package/dist/types-ts4.0/ui/ConfigPanel/index.d.ts +2 -0
  995. package/dist/types-ts4.0/ui/ConfigPanel/messages.d.ts +87 -0
  996. package/dist/types-ts4.0/ui/ConfigPanel/transformers.d.ts +9 -0
  997. package/dist/types-ts4.0/ui/ConfigPanel/types.d.ts +40 -0
  998. package/dist/types-ts4.0/ui/ConfigPanel/utils.d.ts +13 -0
  999. package/dist/types-ts4.0/ui/ContentStyles/index.d.ts +12 -0
  1000. package/dist/types-ts4.0/ui/ContextPanel/context.d.ts +24 -0
  1001. package/dist/types-ts4.0/ui/ContextPanel/index.d.ts +41 -0
  1002. package/dist/types-ts4.0/ui/Dropdown/index.d.ts +7 -0
  1003. package/dist/types-ts4.0/ui/DropdownMenu/index.d.ts +3 -0
  1004. package/dist/types-ts4.0/ui/DropdownMenu/types.d.ts +1 -0
  1005. package/dist/types-ts4.0/ui/EditorContext/index.d.ts +18 -0
  1006. package/dist/types-ts4.0/ui/ElementBrowser/ElementBrowser.d.ts +36 -0
  1007. package/dist/types-ts4.0/ui/ElementBrowser/InsertMenu.d.ts +4 -0
  1008. package/dist/types-ts4.0/ui/ElementBrowser/ModalElementBrowser.d.ts +17 -0
  1009. package/dist/types-ts4.0/ui/ElementBrowser/categories.d.ts +5 -0
  1010. package/dist/types-ts4.0/ui/ElementBrowser/components/CategoryList.d.ts +10 -0
  1011. package/dist/types-ts4.0/ui/ElementBrowser/components/ElementBrowserLoader.d.ts +5 -0
  1012. package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/ElementList.d.ts +29 -0
  1013. package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/EmptyState.d.ts +6 -0
  1014. package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/NotFoundIllustration.d.ts +2 -0
  1015. package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/cellSizeAndPositionGetter.d.ts +7 -0
  1016. package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/utils.d.ts +12 -0
  1017. package/dist/types-ts4.0/ui/ElementBrowser/components/ElementSearch.d.ts +17 -0
  1018. package/dist/types-ts4.0/ui/ElementBrowser/components/StatelessElementBrowser.d.ts +22 -0
  1019. package/dist/types-ts4.0/ui/ElementBrowser/constants.d.ts +20 -0
  1020. package/dist/types-ts4.0/ui/ElementBrowser/hooks/use-container-width.d.ts +33 -0
  1021. package/dist/types-ts4.0/ui/ElementBrowser/hooks/use-focus.d.ts +35 -0
  1022. package/dist/types-ts4.0/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +68 -0
  1023. package/dist/types-ts4.0/ui/ElementBrowser/index.d.ts +2 -0
  1024. package/dist/types-ts4.0/ui/ElementBrowser/messages.d.ts +7 -0
  1025. package/dist/types-ts4.0/ui/ElementBrowser/types.d.ts +31 -0
  1026. package/dist/types-ts4.0/ui/ErrorBoundary/index.d.ts +25 -0
  1027. package/dist/types-ts4.0/ui/FloatingToolbar/index.d.ts +26 -0
  1028. package/dist/types-ts4.0/ui/FloatingToolbar/styles.d.ts +1 -0
  1029. package/dist/types-ts4.0/ui/FloatingToolbar/utils.d.ts +13 -0
  1030. package/dist/types-ts4.0/ui/LinkSearch/LinkSearchList.d.ts +20 -0
  1031. package/dist/types-ts4.0/ui/LinkSearch/LinkSearchListItem.d.ts +22 -0
  1032. package/dist/types-ts4.0/ui/LinkSearch/ToolbarComponents.d.ts +7 -0
  1033. package/dist/types-ts4.0/ui/LinkSearch/index.d.ts +59 -0
  1034. package/dist/types-ts4.0/ui/LinkSearch/listItemAlts.d.ts +2 -0
  1035. package/dist/types-ts4.0/ui/LinkSearch/transformTimeStamp.d.ts +10 -0
  1036. package/dist/types-ts4.0/ui/LinkSearch/types.d.ts +49 -0
  1037. package/dist/types-ts4.0/ui/LinkSearch/withActivityProvider.d.ts +66 -0
  1038. package/dist/types-ts4.0/ui/MediaAndEmbedsToolbar/index.d.ts +7 -0
  1039. package/dist/types-ts4.0/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +12 -0
  1040. package/dist/types-ts4.0/ui/PanelTextInput/index.d.ts +46 -0
  1041. package/dist/types-ts4.0/ui/PanelTextInput/styles.d.ts +2 -0
  1042. package/dist/types-ts4.0/ui/PluginSlot/index.d.ts +37 -0
  1043. package/dist/types-ts4.0/ui/PortalProvider/PortalProviderThemesProvider.d.ts +6 -0
  1044. package/dist/types-ts4.0/ui/PortalProvider/index.d.ts +51 -0
  1045. package/dist/types-ts4.0/ui/Resizer/index.d.ts +41 -0
  1046. package/dist/types-ts4.0/ui/Resizer/styled.d.ts +2 -0
  1047. package/dist/types-ts4.0/ui/Resizer/types.d.ts +26 -0
  1048. package/dist/types-ts4.0/ui/Resizer/utils.d.ts +6 -0
  1049. package/dist/types-ts4.0/ui/Toolbar/Toolbar.d.ts +3 -0
  1050. package/dist/types-ts4.0/ui/Toolbar/ToolbarInner.d.ts +8 -0
  1051. package/dist/types-ts4.0/ui/Toolbar/ToolbarWithSizeDetector.d.ts +4 -0
  1052. package/dist/types-ts4.0/ui/Toolbar/hooks.d.ts +4 -0
  1053. package/dist/types-ts4.0/ui/Toolbar/index.d.ts +4 -0
  1054. package/dist/types-ts4.0/ui/Toolbar/toolbar-size.d.ts +4 -0
  1055. package/dist/types-ts4.0/ui/Toolbar/toolbar-types.d.ts +34 -0
  1056. package/dist/types-ts4.0/ui/Toolbar/types.d.ts +2 -0
  1057. package/dist/types-ts4.0/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +30 -0
  1058. package/dist/types-ts4.0/ui/ToolbarButton/index.d.ts +4 -0
  1059. package/dist/types-ts4.0/ui/ToolbarFeedback/index.d.ts +45 -0
  1060. package/dist/types-ts4.0/ui/ToolbarFeedback/styles.d.ts +6 -0
  1061. package/dist/types-ts4.0/ui/ToolbarHelp/index.d.ts +11 -0
  1062. package/dist/types-ts4.0/ui/ToolbarHelp/messages.d.ts +7 -0
  1063. package/dist/types-ts4.0/ui/WidthEmitter/index.d.ts +7 -0
  1064. package/dist/types-ts4.0/ui/WithEditorActions/index.d.ts +18 -0
  1065. package/dist/types-ts4.0/ui/WithFlash/index.d.ts +11 -0
  1066. package/dist/types-ts4.0/ui/WithHelpTrigger/index.d.ts +11 -0
  1067. package/dist/types-ts4.0/ui/WithPluginState/index.d.ts +3 -0
  1068. package/dist/types-ts4.0/ui/styles.d.ts +12 -0
  1069. package/dist/types-ts4.0/ui/with-outer-listeners.d.ts +2 -0
  1070. package/dist/types-ts4.0/utils/action.d.ts +10 -0
  1071. package/dist/types-ts4.0/utils/announcer/announcer.d.ts +22 -0
  1072. package/dist/types-ts4.0/utils/array.d.ts +2 -0
  1073. package/dist/types-ts4.0/utils/cell-selection.d.ts +3 -0
  1074. package/dist/types-ts4.0/utils/clipboard.d.ts +4 -0
  1075. package/dist/types-ts4.0/utils/commands.d.ts +75 -0
  1076. package/dist/types-ts4.0/utils/count-nodes.d.ts +8 -0
  1077. package/dist/types-ts4.0/utils/deprecation-warnings.d.ts +8 -0
  1078. package/dist/types-ts4.0/utils/document-logger.d.ts +6 -0
  1079. package/dist/types-ts4.0/utils/document.d.ts +57 -0
  1080. package/dist/types-ts4.0/utils/dom.d.ts +2 -0
  1081. package/dist/types-ts4.0/utils/drag-drop.d.ts +1 -0
  1082. package/dist/types-ts4.0/utils/extensions.d.ts +6 -0
  1083. package/dist/types-ts4.0/utils/filter/privacy-filter.d.ts +9 -0
  1084. package/dist/types-ts4.0/utils/get-editor-plugins.d.ts +10 -0
  1085. package/dist/types-ts4.0/utils/getAttrsWithChangesRecorder.d.ts +23 -0
  1086. package/dist/types-ts4.0/utils/index.d.ts +85 -0
  1087. package/dist/types-ts4.0/utils/input-rules.d.ts +29 -0
  1088. package/dist/types-ts4.0/utils/insert.d.ts +24 -0
  1089. package/dist/types-ts4.0/utils/is-full-page.d.ts +2 -0
  1090. package/dist/types-ts4.0/utils/is-text-input.d.ts +2 -0
  1091. package/dist/types-ts4.0/utils/keymap.d.ts +11 -0
  1092. package/dist/types-ts4.0/utils/linking-utils.d.ts +14 -0
  1093. package/dist/types-ts4.0/utils/list-commands.d.ts +7 -0
  1094. package/dist/types-ts4.0/utils/lists.d.ts +2 -0
  1095. package/dist/types-ts4.0/utils/mark.d.ts +15 -0
  1096. package/dist/types-ts4.0/utils/node-width.d.ts +7 -0
  1097. package/dist/types-ts4.0/utils/nodes-by-localIds.d.ts +8 -0
  1098. package/dist/types-ts4.0/utils/nodes.d.ts +1 -0
  1099. package/dist/types-ts4.0/utils/performance/components/RenderTracking.d.ts +13 -0
  1100. package/dist/types-ts4.0/utils/performance/get-performance-timing.d.ts +8 -0
  1101. package/dist/types-ts4.0/utils/performance/instrumented-plugin.d.ts +17 -0
  1102. package/dist/types-ts4.0/utils/performance/measure-enum.d.ts +8 -0
  1103. package/dist/types-ts4.0/utils/performance/outlier.d.ts +1 -0
  1104. package/dist/types-ts4.0/utils/performance/percentile.d.ts +1 -0
  1105. package/dist/types-ts4.0/utils/performance/plugin-performance-observer.d.ts +22 -0
  1106. package/dist/types-ts4.0/utils/performance/plugin-performance-report.d.ts +48 -0
  1107. package/dist/types-ts4.0/utils/performance/safer-transactions.d.ts +9 -0
  1108. package/dist/types-ts4.0/utils/performance/simple-measure-to-entries.d.ts +28 -0
  1109. package/dist/types-ts4.0/utils/performance/track-transactions.d.ts +30 -0
  1110. package/dist/types-ts4.0/utils/pick-by.d.ts +2 -0
  1111. package/dist/types-ts4.0/utils/plugin-state-factory.d.ts +2 -0
  1112. package/dist/types-ts4.0/utils/prepare-extension-provider.d.ts +5 -0
  1113. package/dist/types-ts4.0/utils/prepare-quick-insert-provider.d.ts +16 -0
  1114. package/dist/types-ts4.0/utils/prosemirror/autojoin.d.ts +13 -0
  1115. package/dist/types-ts4.0/utils/prosemirror/position.d.ts +8 -0
  1116. package/dist/types-ts4.0/utils/react-hooks/use-abortable-effect/index.d.ts +16 -0
  1117. package/dist/types-ts4.0/utils/react-hooks/use-state-from-promise/index.d.ts +18 -0
  1118. package/dist/types-ts4.0/utils/rich-media-utils.d.ts +8 -0
  1119. package/dist/types-ts4.0/utils/selection.d.ts +11 -0
  1120. package/dist/types-ts4.0/utils/sendLogs.d.ts +1 -0
  1121. package/dist/types-ts4.0/utils/slice.d.ts +2 -0
  1122. package/dist/types-ts4.0/utils/step.d.ts +1 -0
  1123. package/dist/types-ts4.0/utils/table.d.ts +2 -0
  1124. package/dist/types-ts4.0/version-wrapper.d.ts +3 -0
  1125. package/package.json +8 -7
  1126. package/tsconfig.json +2 -1
@@ -0,0 +1,44 @@
1
+ import { DecorationSet } from 'prosemirror-view';
2
+ import { PluginKey } from 'prosemirror-state';
3
+ export interface FindReplacePluginState {
4
+ /** Whether find/replace is active, i.e. displayed */
5
+ isActive: boolean;
6
+ /**
7
+ * Whether we should set focus into and select all text of find textfield
8
+ * This will be true if user highlights a word and hits cmd+f
9
+ */
10
+ shouldFocus: boolean;
11
+ /** Search keyword */
12
+ findText: string;
13
+ /** Text to replace with */
14
+ replaceText: string;
15
+ /** Index of selected word in array of matches, this gets updated as user finds next/prev */
16
+ index: number;
17
+ /** Positions of find results */
18
+ matches: Match[];
19
+ /** Decorations for the search results */
20
+ decorationSet: DecorationSet;
21
+ /** Whether find/replace should match case when searching for results */
22
+ shouldMatchCase: boolean;
23
+ }
24
+ export declare const findReplacePluginKey: PluginKey<FindReplacePluginState, any>;
25
+ export declare type Match = {
26
+ /** Start position */
27
+ start: number;
28
+ /** End position */
29
+ end: number;
30
+ };
31
+ export declare type TextGrouping = {
32
+ /** The concatenated text across nodes */
33
+ text: string;
34
+ /** Start position */
35
+ pos: number;
36
+ } | null;
37
+ export declare type FindReplaceOptions = {
38
+ allowMatchCase?: boolean;
39
+ };
40
+ export declare type MatchCaseProps = {
41
+ allowMatchCase?: boolean;
42
+ shouldMatchCase?: boolean;
43
+ onToggleMatchCase?: () => void;
44
+ };
@@ -0,0 +1,70 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
+ import { TRIGGER_METHOD } from '../../analytics/types';
5
+ import { MatchCaseProps } from '../types';
6
+ export declare type FindProps = {
7
+ findText?: string;
8
+ count: {
9
+ index: number;
10
+ total: number;
11
+ };
12
+ shouldFocus: boolean;
13
+ onFindBlur: () => void;
14
+ onFind: (findText?: string) => void;
15
+ onFindNext: ({ triggerMethod, }: {
16
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
17
+ }) => void;
18
+ onFindPrev: ({ triggerMethod, }: {
19
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
20
+ }) => void;
21
+ onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
22
+ onCancel: ({ triggerMethod, }: {
23
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR | TRIGGER_METHOD.BUTTON;
24
+ }) => void;
25
+ onArrowDown: () => void;
26
+ } & MatchCaseProps;
27
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
28
+ findText?: string | undefined;
29
+ count: {
30
+ index: number;
31
+ total: number;
32
+ };
33
+ shouldFocus: boolean;
34
+ onFindBlur: () => void;
35
+ onFind: (findText?: string | undefined) => void;
36
+ onFindNext: ({ triggerMethod, }: {
37
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD;
38
+ }) => void;
39
+ onFindPrev: ({ triggerMethod, }: {
40
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD;
41
+ }) => void;
42
+ onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
43
+ onCancel: ({ triggerMethod, }: {
44
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR;
45
+ }) => void;
46
+ onArrowDown: () => void;
47
+ } & MatchCaseProps & WrappedComponentProps<"intl">>> & {
48
+ WrappedComponent: React.ComponentType<{
49
+ findText?: string | undefined;
50
+ count: {
51
+ index: number;
52
+ total: number;
53
+ };
54
+ shouldFocus: boolean;
55
+ onFindBlur: () => void;
56
+ onFind: (findText?: string | undefined) => void;
57
+ onFindNext: ({ triggerMethod, }: {
58
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD;
59
+ }) => void;
60
+ onFindPrev: ({ triggerMethod, }: {
61
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD;
62
+ }) => void;
63
+ onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
64
+ onCancel: ({ triggerMethod, }: {
65
+ triggerMethod: TRIGGER_METHOD.BUTTON | TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR;
66
+ }) => void;
67
+ onArrowDown: () => void;
68
+ } & MatchCaseProps & WrappedComponentProps<"intl">>;
69
+ };
70
+ export default _default;
@@ -0,0 +1,43 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { jsx } from '@emotion/react';
4
+ import { TRIGGER_METHOD, DispatchAnalyticsEvent } from '../../analytics/types';
5
+ import { MatchCaseProps } from '../types';
6
+ export declare type FindReplaceProps = {
7
+ findText?: string;
8
+ replaceText?: string;
9
+ count: {
10
+ index: number;
11
+ total: number;
12
+ };
13
+ shouldFocus: boolean;
14
+ onFindBlur: () => void;
15
+ onFind: (findText?: string) => void;
16
+ onFindNext: ({ triggerMethod, }: {
17
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
18
+ }) => void;
19
+ onFindPrev: ({ triggerMethod, }: {
20
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
21
+ }) => void;
22
+ onReplace: ({ triggerMethod, replaceText, }: {
23
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
24
+ replaceText: string;
25
+ }) => void;
26
+ onReplaceAll: ({ replaceText }: {
27
+ replaceText: string;
28
+ }) => void;
29
+ onCancel: ({ triggerMethod, }: {
30
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR | TRIGGER_METHOD.BUTTON;
31
+ }) => void;
32
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
33
+ } & MatchCaseProps;
34
+ declare class FindReplace extends React.PureComponent<FindReplaceProps> {
35
+ private findTextfield;
36
+ private replaceTextfield?;
37
+ setFindTextfieldRef: (findTextfieldRef: React.RefObject<HTMLInputElement>) => void;
38
+ setReplaceTextfieldRef: (replaceTextfieldRef: React.RefObject<HTMLInputElement>) => void;
39
+ setFocusToFind: () => void;
40
+ setFocusToReplace: () => void;
41
+ render(): jsx.JSX.Element;
42
+ }
43
+ export default FindReplace;
@@ -0,0 +1,21 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
+ import { FindReplaceProps } from './FindReplace';
5
+ import { DispatchAnalyticsEvent } from '../../analytics/types';
6
+ export interface FindReplaceToolbarButtonProps extends Omit<FindReplaceProps, 'count'> {
7
+ index: number;
8
+ numMatches: number;
9
+ isActive: boolean;
10
+ onActivate: () => void;
11
+ isReducedSpacing?: boolean;
12
+ popupsMountPoint?: HTMLElement;
13
+ popupsBoundariesElement?: HTMLElement;
14
+ popupsScrollableElement?: HTMLElement;
15
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
16
+ takeFullWidth: boolean;
17
+ }
18
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<FindReplaceToolbarButtonProps & WrappedComponentProps<"intl">>> & {
19
+ WrappedComponent: React.ComponentType<FindReplaceToolbarButtonProps & WrappedComponentProps<"intl">>;
20
+ };
21
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ title: string;
4
+ icon: JSX.Element;
5
+ keymapDescription: string;
6
+ onClick: (ref: React.RefObject<HTMLButtonElement>) => void;
7
+ disabled?: boolean;
8
+ isPressed?: boolean;
9
+ }
10
+ export declare class FindReplaceTooltipButton extends React.PureComponent<Props> {
11
+ private buttonRef;
12
+ static defaultProps: {
13
+ keymapDescription: string;
14
+ };
15
+ handleClick: () => void;
16
+ render(): JSX.Element;
17
+ }
18
+ export {};
@@ -0,0 +1,26 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
+ import { TRIGGER_METHOD, DispatchAnalyticsEvent } from '../../analytics/types';
5
+ export declare type ReplaceProps = {
6
+ canReplace: boolean;
7
+ replaceText?: string;
8
+ onReplace: ({ triggerMethod, replaceText, }: {
9
+ triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
10
+ replaceText: string;
11
+ }) => void;
12
+ onReplaceAll: ({ replaceText }: {
13
+ replaceText: string;
14
+ }) => void;
15
+ onReplaceTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
16
+ onArrowUp: () => void;
17
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
18
+ };
19
+ export declare type ReplaceState = {
20
+ replaceText: string;
21
+ isComposing: boolean;
22
+ };
23
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<ReplaceProps & WrappedComponentProps<"intl">>> & {
24
+ WrappedComponent: React.ComponentType<ReplaceProps & WrappedComponentProps<"intl">>;
25
+ };
26
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare const replaceSectionButtonStyles: import("@emotion/react").SerializedStyles;
2
+ export declare const ruleStyles: import("@emotion/react").SerializedStyles;
3
+ export declare const wrapperStyles: import("@emotion/react").SerializedStyles;
4
+ export declare const sectionWrapperStyles: import("@emotion/react").SerializedStyles;
5
+ export declare const countStyles: import("@emotion/react").SerializedStyles;
@@ -0,0 +1,36 @@
1
+ import { EditorView, Decoration } from 'prosemirror-view';
2
+ /**
3
+ * Provides support for applying search match highlight decorations in batches
4
+ */
5
+ declare class BatchDecorations {
6
+ private rafId?;
7
+ private addDecorations?;
8
+ private removeDecorations?;
9
+ stop(): void;
10
+ /**
11
+ * Applies the decorations needed for the current search results
12
+ * It does so async, splitting them up into batches to help with performance
13
+ */
14
+ applyAllSearchDecorations(editorView: EditorView, containerElement: HTMLElement | null, addDecorations: (decorations: Decoration[]) => void, removeDecorations: (decorations: Decoration[]) => void): Promise<void>;
15
+ private updateDecorationsBetween;
16
+ private addDecorationsBetween;
17
+ private removeDecorationsBetween;
18
+ /**
19
+ * Calculates Prosemirror start and end positions we want to apply the decorations
20
+ * between
21
+ * Also calculates the positions the are the start and end of the user's viewport
22
+ * so we can apply decorations there first and work outwards
23
+ */
24
+ private calcDecorationPositions;
25
+ private getStartPos;
26
+ private getEndPos;
27
+ /**
28
+ * Util to batch function calls by animation frames
29
+ * A counter will start at 0 and increment by provided value until reaches limit
30
+ * Passed in fn receives the counter as a param, return false to skip waiting
31
+ * for the animation frame for the next call
32
+ */
33
+ private batchRequests;
34
+ }
35
+ declare const batchDecorations: BatchDecorations;
36
+ export default batchDecorations;
@@ -0,0 +1,49 @@
1
+ import { Fragment, Node as PmNode, Slice } from 'prosemirror-model';
2
+ import { Decoration, DecorationSet } from 'prosemirror-view';
3
+ import { TextSelection, ReadonlyTransaction, Selection } from 'prosemirror-state';
4
+ import { Step } from 'prosemirror-transform';
5
+ import { Match } from '../types';
6
+ export declare function getSelectedText(selection: TextSelection): string;
7
+ export declare const createDecorations: (selectedIndex: number, matches: {
8
+ start: number;
9
+ end: number;
10
+ }[]) => Decoration[];
11
+ export declare const createDecoration: (start: number, end: number, isSelected?: boolean | undefined) => Decoration<{
12
+ [key: string]: any;
13
+ } & import("prosemirror-view").InlineDecorationSpec>;
14
+ export declare function findMatches(content: PmNode | Fragment, searchText: string, shouldMatchCase: boolean, contentIndex?: number): Match[];
15
+ /**
16
+ * Finds index of first item in matches array that comes after user's cursor pos.
17
+ * If `backward` is `true`, finds index of first item that comes before instead.
18
+ */
19
+ export declare function findSearchIndex(selectionPos: number, matches: Match[], backward?: boolean): number;
20
+ export declare const nextIndex: (currentIndex: number, total: number) => number;
21
+ export declare const prevIndex: (currentIndex: number, total: number) => number;
22
+ export declare const getSelectionForMatch: (selection: Selection, doc: PmNode, index: number, matches: Match[], offset?: number) => TextSelection;
23
+ export declare const findDecorationFromMatch: (decorationSet: DecorationSet, match: Match) => Decoration | undefined;
24
+ export declare const removeDecorationsFromSet: (decorationSet: DecorationSet, decorationsToRemove: Decoration[], doc: PmNode) => DecorationSet;
25
+ export declare const removeMatchesFromSet: (decorationSet: DecorationSet, matches: Match[], doc: PmNode) => DecorationSet<any>;
26
+ /**
27
+ * Finds decorations in prevDecorations that are not in newDecorations or decorationsToRemove
28
+ * These decorations have been lost by Prosemirror during an over eager decoration removal
29
+ * We need to be smart to cope with thousands of decorations without crashing everything
30
+ */
31
+ export declare const findLostAdjacentDecorations: (decorationsToRemove: Decoration[], prevDecorations: Decoration[], newDecorations: Decoration[]) => Decoration[];
32
+ /**
33
+ * Searches through array in bumps of 100 to return the index of the first
34
+ * decoration whose 'from' value is before or equal to the position
35
+ */
36
+ export declare const findIndexBeforePosition: (items: Decoration[], position: number) => number;
37
+ /**
38
+ * Determines whether a find/replace text Match will be changed as a result
39
+ * of a Step modification to the document. This is evaluated by checking
40
+ * both mapped and unmapped versions of the Step as in different cases the
41
+ * matches will match.
42
+ *
43
+ * **Note:** Match state received here is after step has been applied.
44
+ */
45
+ export declare const isMatchAffectedByStep: (match: Match, step: Step<any> & {
46
+ from: number;
47
+ to: number;
48
+ slice: Slice;
49
+ }, tr: ReadonlyTransaction) => boolean;
@@ -0,0 +1,24 @@
1
+ import { PluginKey, Selection, EditorState } from 'prosemirror-state';
2
+ import { Node } from 'prosemirror-model';
3
+ import { NextEditorPlugin } from '@atlaskit/editor-common/types';
4
+ import { FloatingToolbarConfig } from './types';
5
+ import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
6
+ export declare type FloatingToolbarPluginState = Record<'getConfigWithNodeInfo', (state: EditorState) => ConfigWithNodeInfo | null | undefined>;
7
+ export declare type ConfigWithNodeInfo = {
8
+ config: FloatingToolbarConfig | undefined;
9
+ pos: number;
10
+ node: Node;
11
+ };
12
+ export declare const getRelevantConfig: (selection: Selection<any>, configs: Array<FloatingToolbarConfig>) => ConfigWithNodeInfo | undefined;
13
+ declare const floatingToolbarPlugin: NextEditorPlugin<'floatingToolbar', {
14
+ dependencies: [
15
+ typeof featureFlagsPlugin
16
+ ];
17
+ }>;
18
+ export default floatingToolbarPlugin;
19
+ /**
20
+ *
21
+ * ProseMirror Plugin
22
+ *
23
+ */
24
+ export declare const pluginKey: PluginKey<FloatingToolbarPluginState, any>;
@@ -0,0 +1,18 @@
1
+ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
+ import { PluginKey } from 'prosemirror-state';
3
+ import { EditorView } from 'prosemirror-view';
4
+ export declare const forceFocusStateKey: PluginKey<any, any>;
5
+ declare const _default: () => SafePlugin<any, any>;
6
+ /**
7
+ * Used in cases where a floating toolbar button opens a submenu which destroys
8
+ * the button, but the user has pressed ESC to close the submenu and focus needs
9
+ * to move back to the button. */
10
+ export default _default;
11
+ /**
12
+ * The provided selector should be the floating toolbar button that needs focus.
13
+ */
14
+ export declare function forceFocusSelector(selector: string | null, view?: EditorView): void;
15
+ /**
16
+ * If a selector is set and the element exists, focus it.
17
+ */
18
+ export declare function checkShouldForceFocusAndApply(view?: EditorView): void;
@@ -0,0 +1,3 @@
1
+ import { Command } from '../../../../types/command';
2
+ export declare const showConfirmDialog: (buttonIndex: number) => Command;
3
+ export declare const hideConfirmDialog: () => Command;
@@ -0,0 +1 @@
1
+ export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch<any>, initialState: import("./types").FloatingToolbarPluginData | ((state: import("prosemirror-state").EditorState<any>) => import("./types").FloatingToolbarPluginData)) => import("prosemirror-state").SafeStateField<import("./types").FloatingToolbarPluginData, import("prosemirror-model").Schema<any, any>>, createCommand: <A = import("./types").FloatingToolbarPluginAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState<any>>) => false | A), transform?: ((tr: import("prosemirror-state").Transaction<any>, state: import("prosemirror-state").EditorState<any>) => import("prosemirror-state").Transaction<any>) | undefined) => import("@atlaskit/editor-common/types").Command, getPluginState: (state: import("prosemirror-state").EditorState<any>) => import("./types").FloatingToolbarPluginData;
@@ -0,0 +1,3 @@
1
+ import { PluginKey } from 'prosemirror-state';
2
+ import { FloatingToolbarPluginData } from './types';
3
+ export declare const pluginKey: PluginKey<FloatingToolbarPluginData, any>;
@@ -0,0 +1,3 @@
1
+ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
+ import { Dispatch } from '../../../../event-dispatcher';
3
+ export declare const createPlugin: (dispatch: Dispatch) => SafePlugin<import("./types").FloatingToolbarPluginData, import("prosemirror-model").Schema<any, any>>;
@@ -0,0 +1,2 @@
1
+ import { FloatingToolbarPluginAction, FloatingToolbarPluginData } from './types';
2
+ export declare const reducer: (pluginState: FloatingToolbarPluginData, action: FloatingToolbarPluginAction) => FloatingToolbarPluginData;
@@ -0,0 +1,11 @@
1
+ export declare type FloatingToolbarPluginData = {
2
+ confirmDialogForItem?: number;
3
+ };
4
+ export declare type FloatingToolbarPluginAction = {
5
+ type: 'SHOW_CONFIRM_DIALOG';
6
+ data: {
7
+ buttonIndex: number;
8
+ };
9
+ } | {
10
+ type: 'HIDE_CONFIRM_DIALOG';
11
+ };
@@ -0,0 +1 @@
1
+ export type { Icon, RenderOptionsProps, AlignType, ConfirmDialogOptions, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, Command, MarkOptions, NodeOptions, } from '@atlaskit/editor-common/types';
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import type { ButtonAppearance } from '@atlaskit/editor-common/types';
3
+ export type { ButtonAppearance };
4
+ export interface Props {
5
+ title?: string;
6
+ icon?: React.ReactElement<any>;
7
+ iconAfter?: React.ReactElement<any>;
8
+ onClick?: React.MouseEventHandler;
9
+ onKeyDown?: React.KeyboardEventHandler;
10
+ onMouseEnter?: <T>(event: React.MouseEvent<T>) => void;
11
+ onMouseLeave?: <T>(event: React.MouseEvent<T>) => void;
12
+ onFocus?: <T>(event: React.FocusEvent<T>) => void;
13
+ onBlur?: <T>(event: React.FocusEvent<T>) => void;
14
+ selected?: boolean;
15
+ disabled?: boolean;
16
+ appearance?: ButtonAppearance;
17
+ ariaHasPopup?: boolean | 'dialog' | 'menu' | 'listbox' | 'tree' | 'grid' | undefined;
18
+ ariaLabel?: string;
19
+ href?: string;
20
+ target?: string;
21
+ children?: React.ReactNode;
22
+ className?: string;
23
+ tooltipContent?: React.ReactNode;
24
+ testId?: string;
25
+ hideTooltipOnClick?: boolean;
26
+ tabIndex?: number | null | undefined;
27
+ areaControls?: string;
28
+ }
29
+ declare const _default: ({ title, icon, iconAfter, onClick, onKeyDown, onMouseEnter, onMouseLeave, onFocus, onBlur, selected, disabled, href, target, appearance, children, className, tooltipContent, testId, hideTooltipOnClick, ariaHasPopup, tabIndex, areaControls, ariaLabel, }: Props) => JSX.Element;
30
+ export default _default;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ import { ConfirmationDialogProps } from './types';
4
+ export declare const CheckboxModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ import { ConfirmationDialogProps } from './types';
4
+ export declare const ConfirmationModal: React.FC<import("react-intl-next").WithIntlProps<ConfirmationDialogProps & WrappedComponentProps<"intl">>> & {
5
+ WrappedComponent: React.ComponentType<ConfirmationDialogProps & WrappedComponentProps<"intl">>;
6
+ };
@@ -0,0 +1,39 @@
1
+ /** @jsx jsx */
2
+ import React, { Component, ReactElement } from 'react';
3
+ import { jsx } from '@emotion/react';
4
+ import { DropdownOptions } from './types';
5
+ import { EditorView } from 'prosemirror-view';
6
+ export interface Props {
7
+ title: string;
8
+ icon?: ReactElement<any>;
9
+ hideExpandIcon?: boolean;
10
+ options: DropdownOptions<Function>;
11
+ dispatchCommand: (command: Function) => void;
12
+ mountPoint?: HTMLElement;
13
+ boundariesElement?: HTMLElement;
14
+ scrollableElement?: HTMLElement;
15
+ disabled?: boolean;
16
+ tooltip?: string;
17
+ buttonTestId?: string;
18
+ dropdownWidth?: number;
19
+ showSelected?: boolean;
20
+ setDisableParentScroll?: (disable: boolean) => void;
21
+ editorView?: EditorView;
22
+ dropdownListId?: string;
23
+ }
24
+ export interface State {
25
+ isOpen: boolean;
26
+ isOpenedByKeyboard: boolean;
27
+ }
28
+ export default class Dropdown extends Component<Props, State> {
29
+ state: State;
30
+ triggerRef: React.RefObject<HTMLDivElement>;
31
+ render(): jsx.JSX.Element;
32
+ private renderArrayOptions;
33
+ private toggleOpen;
34
+ private toggleOpenByKeyboard;
35
+ private hide;
36
+ private hideOnEsc;
37
+ private onOpenChanged;
38
+ componentDidUpdate(prevProps: Props, prevState: State): void;
39
+ }
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import { ButtonItemProps } from '@atlaskit/menu';
3
+ import { DropdownOptionT } from './types';
4
+ import { WrappedComponentProps } from 'react-intl-next';
5
+ import { EditorView } from 'prosemirror-view';
6
+ export declare const menuItemDimensions: {
7
+ width: number;
8
+ height: number;
9
+ };
10
+ export declare const itemSpacing: number;
11
+ export interface Props {
12
+ hide: Function;
13
+ dispatchCommand: Function;
14
+ items: Array<DropdownOptionT<Function>>;
15
+ showSelected?: boolean;
16
+ editorView?: EditorView;
17
+ }
18
+ export interface DropdownButtonItemProps extends ButtonItemProps {
19
+ onMouseEnter?: (event: React.MouseEvent | React.KeyboardEvent) => void;
20
+ onMouseOver?: (event: React.MouseEvent | React.KeyboardEvent) => void;
21
+ onMouseLeave?: (event: React.MouseEvent | React.KeyboardEvent) => void;
22
+ onMouseOut?: (event: React.MouseEvent | React.KeyboardEvent) => void;
23
+ onFocus?: (event: React.MouseEvent | React.KeyboardEvent) => void;
24
+ onBlur?: (event: React.MouseEvent | React.KeyboardEvent) => void;
25
+ }
26
+ declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
27
+ WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps<"intl">>;
28
+ };
29
+ export default _default;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function EditorEmojiAddIcon(): JSX.Element;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { EditorView } from 'prosemirror-view';
3
+ import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
+ import { EmojiId } from '@atlaskit/emoji';
5
+ export declare const EmojiPickerButton: React.FunctionComponent<{
6
+ className?: string;
7
+ editorView?: EditorView;
8
+ idx?: number;
9
+ providerFactory?: ProviderFactory;
10
+ title?: string;
11
+ onChange?: (emoji: EmojiId) => void;
12
+ isSelected?: boolean;
13
+ mountPoint?: HTMLElement;
14
+ setDisableParentScroll?: (disable: boolean) => void;
15
+ }>;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { Node as PMNode } from 'prosemirror-model';
3
+ import { EditorView } from 'prosemirror-view';
4
+ import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
5
+ interface Props {
6
+ node: PMNode;
7
+ extensionProvider: ExtensionProvider;
8
+ editorView: EditorView;
9
+ separator?: 'start' | 'end' | 'both';
10
+ }
11
+ export declare const ExtensionsPlaceholder: (props: Props) => JSX.Element | null;
12
+ export {};
@@ -0,0 +1,23 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { jsx } from '@emotion/react';
4
+ import { Component } from 'react';
5
+ export interface Props {
6
+ mountPoint?: HTMLElement;
7
+ boundariesElement?: HTMLElement;
8
+ defaultValue?: string;
9
+ placeholder?: string;
10
+ onBlur?: (text: string) => void;
11
+ onSubmit?: (text: string) => void;
12
+ }
13
+ export interface State {
14
+ text: string;
15
+ }
16
+ export default class TextField extends Component<Props, State> {
17
+ constructor(props: Props);
18
+ UNSAFE_componentWillReceiveProps(nextProps: Props): void;
19
+ handleChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
20
+ handleSubmit: (e: React.FormEvent) => void;
21
+ handleBlur: (e: React.FocusEvent<{}>) => void;
22
+ render(): jsx.JSX.Element;
23
+ }
@@ -0,0 +1,13 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { jsx } from '@emotion/react';
4
+ import { Node } from 'prosemirror-model';
5
+ import { IntlShape } from 'react-intl-next';
6
+ export interface Props {
7
+ intl: IntlShape;
8
+ scrollContainerRef: React.RefObject<HTMLDivElement>;
9
+ node: Node;
10
+ disabled: boolean;
11
+ }
12
+ declare const _default: ({ intl, scrollContainerRef, node, disabled }: Props) => jsx.JSX.Element | null;
13
+ export default _default;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { ValueType } from '@atlaskit/select';
3
+ import type { RenderOptionsPropsT, SelectOption } from '@atlaskit/editor-common/types';
4
+ export type { RenderOptionsPropsT, SelectOption };
5
+ export interface Props {
6
+ hideExpandIcon?: boolean;
7
+ options: SelectOption[];
8
+ dispatchCommand: (command: Function) => void;
9
+ mountPoint?: HTMLElement;
10
+ boundariesElement?: HTMLElement;
11
+ scrollableElement?: HTMLElement;
12
+ defaultValue?: SelectOption | null;
13
+ placeholder?: string;
14
+ onChange?: (change: ValueType<SelectOption>) => void;
15
+ width?: number;
16
+ filterOption?: ((option: SelectOption, rawInput: string) => boolean) | null;
17
+ setDisableParentScroll?: (disable: boolean) => void;
18
+ ariaLabel?: string;
19
+ classNamePrefix?: string;
20
+ }
21
+ export default function Search(props: Props): JSX.Element;
@@ -0,0 +1,4 @@
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
3
+ declare const _default: () => jsx.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ import { ConfirmationDialogProps } from './types';
4
+ export declare const SimpleModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;