@atlaskit/editor-common 76.5.1 → 76.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/monitoring/error.js +1 -1
  3. package/dist/cjs/styles/index.js +8 -1
  4. package/dist/cjs/styles/shared/media.js +10 -0
  5. package/dist/cjs/types/insert-block.js +5 -0
  6. package/dist/cjs/ui/DropList/index.js +1 -1
  7. package/dist/es2019/monitoring/error.js +1 -1
  8. package/dist/es2019/styles/index.js +2 -1
  9. package/dist/es2019/styles/shared/media.js +4 -0
  10. package/dist/es2019/types/insert-block.js +1 -0
  11. package/dist/es2019/ui/DropList/index.js +1 -1
  12. package/dist/esm/monitoring/error.js +1 -1
  13. package/dist/esm/styles/index.js +2 -1
  14. package/dist/esm/styles/shared/media.js +4 -0
  15. package/dist/esm/types/insert-block.js +1 -0
  16. package/dist/esm/ui/DropList/index.js +1 -1
  17. package/dist/types/react-node-view/index.d.ts +2 -2
  18. package/dist/types/styles/index.d.ts +1 -0
  19. package/dist/types/styles/shared/media.d.ts +3 -0
  20. package/dist/types/types/index.d.ts +1 -0
  21. package/dist/types/types/insert-block.d.ts +2 -0
  22. package/package.json +4 -4
  23. package/dist/types-ts4.5/__tests_external__/cases/fundamentals/collection.d.ts +0 -3
  24. package/dist/types-ts4.5/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +0 -3
  25. package/dist/types-ts4.5/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +0 -3
  26. package/dist/types-ts4.5/__tests_external__/cases/smart-links/index.d.ts +0 -4
  27. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +0 -3
  28. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +0 -4
  29. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +0 -3
  30. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +0 -3
  31. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +0 -3
  32. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +0 -4
  33. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +0 -3
  34. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +0 -3
  35. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +0 -3
  36. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +0 -4
  37. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +0 -3
  38. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +0 -3
  39. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +0 -3
  40. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/types.d.ts +0 -4
  41. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +0 -3
  42. package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +0 -3
  43. package/dist/types-ts4.5/__tests_external__/cases/types.d.ts +0 -7
  44. package/dist/types-ts4.5/__tests_external__/index.d.ts +0 -3
  45. package/dist/types-ts4.5/__tests_external__/page-objects/Editor.d.ts +0 -9
  46. package/dist/types-ts4.5/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -40
  47. package/dist/types-ts4.5/__tests_external__/page-objects/Renderer.d.ts +0 -6
  48. package/dist/types-ts4.5/analytics/analytics-queue.d.ts +0 -10
  49. package/dist/types-ts4.5/analytics/api.d.ts +0 -5
  50. package/dist/types-ts4.5/analytics/fire-analytics-event.d.ts +0 -4
  51. package/dist/types-ts4.5/analytics/index.d.ts +0 -7
  52. package/dist/types-ts4.5/analytics/linking-utils.d.ts +0 -14
  53. package/dist/types-ts4.5/analytics/types/avatar.d.ts +0 -5
  54. package/dist/types-ts4.5/analytics/types/block.d.ts +0 -3
  55. package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +0 -17
  56. package/dist/types-ts4.5/analytics/types/cut-copy-events.d.ts +0 -12
  57. package/dist/types-ts4.5/analytics/types/date-events.d.ts +0 -17
  58. package/dist/types-ts4.5/analytics/types/dispatch-analytics-event.d.ts +0 -2
  59. package/dist/types-ts4.5/analytics/types/element-browser-events.d.ts +0 -11
  60. package/dist/types-ts4.5/analytics/types/enums.d.ts +0 -357
  61. package/dist/types-ts4.5/analytics/types/events.d.ts +0 -130
  62. package/dist/types-ts4.5/analytics/types/experimental-events.d.ts +0 -16
  63. package/dist/types-ts4.5/analytics/types/extension-events.d.ts +0 -37
  64. package/dist/types-ts4.5/analytics/types/find-replace-events.d.ts +0 -23
  65. package/dist/types-ts4.5/analytics/types/format-events.d.ts +0 -49
  66. package/dist/types-ts4.5/analytics/types/general-events.d.ts +0 -182
  67. package/dist/types-ts4.5/analytics/types/index.d.ts +0 -36
  68. package/dist/types-ts4.5/analytics/types/inline-comment-events.d.ts +0 -17
  69. package/dist/types-ts4.5/analytics/types/insert-events.d.ts +0 -128
  70. package/dist/types-ts4.5/analytics/types/link-tool-bar-events.d.ts +0 -76
  71. package/dist/types-ts4.5/analytics/types/list-events.d.ts +0 -66
  72. package/dist/types-ts4.5/analytics/types/media-events.d.ts +0 -35
  73. package/dist/types-ts4.5/analytics/types/node-events.d.ts +0 -56
  74. package/dist/types-ts4.5/analytics/types/paste-events.d.ts +0 -39
  75. package/dist/types-ts4.5/analytics/types/performance-report.d.ts +0 -24
  76. package/dist/types-ts4.5/analytics/types/referentiality-events.d.ts +0 -52
  77. package/dist/types-ts4.5/analytics/types/selection-events.d.ts +0 -21
  78. package/dist/types-ts4.5/analytics/types/smart-links.d.ts +0 -14
  79. package/dist/types-ts4.5/analytics/types/substitute-events.d.ts +0 -26
  80. package/dist/types-ts4.5/analytics/types/table-events.d.ts +0 -142
  81. package/dist/types-ts4.5/analytics/types/toolbar-button.d.ts +0 -22
  82. package/dist/types-ts4.5/analytics/types/type-ahead.d.ts +0 -27
  83. package/dist/types-ts4.5/analytics/types/utils.d.ts +0 -46
  84. package/dist/types-ts4.5/analytics/utils.d.ts +0 -3
  85. package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +0 -16
  86. package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +0 -11
  87. package/dist/types-ts4.5/card/cardOptions.d.ts +0 -13
  88. package/dist/types-ts4.5/card/index.d.ts +0 -7
  89. package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +0 -5
  90. package/dist/types-ts4.5/card/types.d.ts +0 -27
  91. package/dist/types-ts4.5/card/ui/assets/card.d.ts +0 -3
  92. package/dist/types-ts4.5/card/ui/assets/embed.d.ts +0 -3
  93. package/dist/types-ts4.5/card/ui/assets/inline.d.ts +0 -3
  94. package/dist/types-ts4.5/card/ui/assets/url.d.ts +0 -3
  95. package/dist/types-ts4.5/card/utils.d.ts +0 -18
  96. package/dist/types-ts4.5/clipboard/index.d.ts +0 -6
  97. package/dist/types-ts4.5/collab/index.d.ts +0 -379
  98. package/dist/types-ts4.5/commands/index.d.ts +0 -21
  99. package/dist/types-ts4.5/commands/insert-block.d.ts +0 -5
  100. package/dist/types-ts4.5/copy-button/index.d.ts +0 -7
  101. package/dist/types-ts4.5/core-utils/index.d.ts +0 -1
  102. package/dist/types-ts4.5/core-utils/inside.d.ts +0 -2
  103. package/dist/types-ts4.5/editor-analytics/index.d.ts +0 -1
  104. package/dist/types-ts4.5/editor-analytics/withAnalytics.d.ts +0 -34
  105. package/dist/types-ts4.5/element-browser/ElementBrowser.d.ts +0 -37
  106. package/dist/types-ts4.5/element-browser/ViewMore.d.ts +0 -6
  107. package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +0 -10
  108. package/dist/types-ts4.5/element-browser/components/ElementBrowserLoader.d.ts +0 -6
  109. package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +0 -33
  110. package/dist/types-ts4.5/element-browser/components/ElementList/EmptyState.d.ts +0 -6
  111. package/dist/types-ts4.5/element-browser/components/ElementList/NotFoundIllustration.d.ts +0 -2
  112. package/dist/types-ts4.5/element-browser/components/ElementList/cellSizeAndPositionGetter.d.ts +0 -7
  113. package/dist/types-ts4.5/element-browser/components/ElementList/utils.d.ts +0 -12
  114. package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +0 -18
  115. package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +0 -23
  116. package/dist/types-ts4.5/element-browser/constants.d.ts +0 -19
  117. package/dist/types-ts4.5/element-browser/hooks/use-container-width.d.ts +0 -33
  118. package/dist/types-ts4.5/element-browser/hooks/use-focus.d.ts +0 -35
  119. package/dist/types-ts4.5/element-browser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +0 -72
  120. package/dist/types-ts4.5/element-browser/index.d.ts +0 -2
  121. package/dist/types-ts4.5/element-browser/types.d.ts +0 -12
  122. package/dist/types-ts4.5/emoji.d.ts +0 -3
  123. package/dist/types-ts4.5/event-dispatcher/index.d.ts +0 -21
  124. package/dist/types-ts4.5/extensions/combine-extension-providers.d.ts +0 -7
  125. package/dist/types-ts4.5/extensions/default-extension-provider.d.ts +0 -17
  126. package/dist/types-ts4.5/extensions/extension-fields-helpers.d.ts +0 -10
  127. package/dist/types-ts4.5/extensions/extension-handlers.d.ts +0 -13
  128. package/dist/types-ts4.5/extensions/index.d.ts +0 -8
  129. package/dist/types-ts4.5/extensions/manifest-helpers.d.ts +0 -9
  130. package/dist/types-ts4.5/extensions/module-helpers.d.ts +0 -11
  131. package/dist/types-ts4.5/extensions/types/extension-handler.d.ts +0 -40
  132. package/dist/types-ts4.5/extensions/types/extension-manifest-common.d.ts +0 -8
  133. package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +0 -45
  134. package/dist/types-ts4.5/extensions/types/extension-manifest.d.ts +0 -101
  135. package/dist/types-ts4.5/extensions/types/extension-parameters.d.ts +0 -5
  136. package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +0 -8
  137. package/dist/types-ts4.5/extensions/types/field-definitions.d.ts +0 -171
  138. package/dist/types-ts4.5/extensions/types/index.d.ts +0 -8
  139. package/dist/types-ts4.5/extensions/types/utils.d.ts +0 -18
  140. package/dist/types-ts4.5/extensions.d.ts +0 -2
  141. package/dist/types-ts4.5/floating-toolbar/index.d.ts +0 -6
  142. package/dist/types-ts4.5/guideline/constants.d.ts +0 -2
  143. package/dist/types-ts4.5/guideline/defaultGuideline.d.ts +0 -2
  144. package/dist/types-ts4.5/guideline/dynamicGuideline.d.ts +0 -6
  145. package/dist/types-ts4.5/guideline/fixedGuideline.d.ts +0 -32
  146. package/dist/types-ts4.5/guideline/index.d.ts +0 -9
  147. package/dist/types-ts4.5/guideline/relativeGuideline.d.ts +0 -8
  148. package/dist/types-ts4.5/guideline/snapping.d.ts +0 -19
  149. package/dist/types-ts4.5/guideline/types.d.ts +0 -67
  150. package/dist/types-ts4.5/guideline/updateGuideline.d.ts +0 -5
  151. package/dist/types-ts4.5/guideline/utils.d.ts +0 -27
  152. package/dist/types-ts4.5/hooks/index.d.ts +0 -3
  153. package/dist/types-ts4.5/hooks/useConstructor.d.ts +0 -9
  154. package/dist/types-ts4.5/hooks/usePreviousState.d.ts +0 -11
  155. package/dist/types-ts4.5/hooks/useSharedPluginState.d.ts +0 -68
  156. package/dist/types-ts4.5/i18n/cs.d.ts +0 -211
  157. package/dist/types-ts4.5/i18n/da.d.ts +0 -211
  158. package/dist/types-ts4.5/i18n/de.d.ts +0 -211
  159. package/dist/types-ts4.5/i18n/en.d.ts +0 -211
  160. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -211
  161. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -211
  162. package/dist/types-ts4.5/i18n/es.d.ts +0 -211
  163. package/dist/types-ts4.5/i18n/et.d.ts +0 -8
  164. package/dist/types-ts4.5/i18n/fi.d.ts +0 -211
  165. package/dist/types-ts4.5/i18n/fr.d.ts +0 -211
  166. package/dist/types-ts4.5/i18n/hu.d.ts +0 -211
  167. package/dist/types-ts4.5/i18n/index.d.ts +0 -32
  168. package/dist/types-ts4.5/i18n/it.d.ts +0 -211
  169. package/dist/types-ts4.5/i18n/ja.d.ts +0 -211
  170. package/dist/types-ts4.5/i18n/ko.d.ts +0 -211
  171. package/dist/types-ts4.5/i18n/languages.d.ts +0 -35
  172. package/dist/types-ts4.5/i18n/nb.d.ts +0 -211
  173. package/dist/types-ts4.5/i18n/nl.d.ts +0 -211
  174. package/dist/types-ts4.5/i18n/pl.d.ts +0 -211
  175. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -211
  176. package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -8
  177. package/dist/types-ts4.5/i18n/ru.d.ts +0 -211
  178. package/dist/types-ts4.5/i18n/sk.d.ts +0 -8
  179. package/dist/types-ts4.5/i18n/sv.d.ts +0 -211
  180. package/dist/types-ts4.5/i18n/th.d.ts +0 -211
  181. package/dist/types-ts4.5/i18n/tr.d.ts +0 -211
  182. package/dist/types-ts4.5/i18n/uk.d.ts +0 -211
  183. package/dist/types-ts4.5/i18n/vi.d.ts +0 -211
  184. package/dist/types-ts4.5/i18n/zh.d.ts +0 -211
  185. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -211
  186. package/dist/types-ts4.5/icons/index.d.ts +0 -10
  187. package/dist/types-ts4.5/icons/shared/BorderIcon.d.ts +0 -3
  188. package/dist/types-ts4.5/icons/shared/PanelErrorIcon.d.ts +0 -3
  189. package/dist/types-ts4.5/icons/shared/PanelInfoIcon.d.ts +0 -3
  190. package/dist/types-ts4.5/icons/shared/PanelNoteIcon.d.ts +0 -3
  191. package/dist/types-ts4.5/icons/shared/PanelSuccessIcon.d.ts +0 -3
  192. package/dist/types-ts4.5/icons/shared/PanelWarningIcon.d.ts +0 -3
  193. package/dist/types-ts4.5/icons/shared/table.d.ts +0 -2
  194. package/dist/types-ts4.5/in-product.d.ts +0 -1
  195. package/dist/types-ts4.5/index.d.ts +0 -1
  196. package/dist/types-ts4.5/insert/index.d.ts +0 -26
  197. package/dist/types-ts4.5/keymaps/consts.d.ts +0 -12
  198. package/dist/types-ts4.5/keymaps/index.d.ts +0 -97
  199. package/dist/types-ts4.5/keymaps/keymap.d.ts +0 -11
  200. package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +0 -23
  201. package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +0 -2
  202. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +0 -115
  203. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +0 -21
  204. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/messages.d.ts +0 -32
  205. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/utils.d.ts +0 -8
  206. package/dist/types-ts4.5/link/LinkSearch/LinkSearchList.d.ts +0 -20
  207. package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +0 -22
  208. package/dist/types-ts4.5/link/LinkSearch/ToolbarComponents.d.ts +0 -3
  209. package/dist/types-ts4.5/link/LinkSearch/index.d.ts +0 -59
  210. package/dist/types-ts4.5/link/LinkSearch/listItemAlts.d.ts +0 -2
  211. package/dist/types-ts4.5/link/LinkSearch/transformTimeStamp.d.ts +0 -10
  212. package/dist/types-ts4.5/link/LinkSearch/types.d.ts +0 -49
  213. package/dist/types-ts4.5/link/LinkSearch/withActivityProvider.d.ts +0 -66
  214. package/dist/types-ts4.5/link/index.d.ts +0 -16
  215. package/dist/types-ts4.5/link/types.d.ts +0 -40
  216. package/dist/types-ts4.5/link/utils.d.ts +0 -3
  217. package/dist/types-ts4.5/lists/analytics.d.ts +0 -4
  218. package/dist/types-ts4.5/lists/indentation.d.ts +0 -5
  219. package/dist/types-ts4.5/lists/index.d.ts +0 -6
  220. package/dist/types-ts4.5/lists/node.d.ts +0 -18
  221. package/dist/types-ts4.5/lists/replace-content.d.ts +0 -8
  222. package/dist/types-ts4.5/lists/selection.d.ts +0 -13
  223. package/dist/types-ts4.5/mark/commands.d.ts +0 -18
  224. package/dist/types-ts4.5/mark/index.d.ts +0 -2
  225. package/dist/types-ts4.5/mark/text-formatting.d.ts +0 -8
  226. package/dist/types-ts4.5/media-single/constants.d.ts +0 -22
  227. package/dist/types-ts4.5/media-single/index.d.ts +0 -2
  228. package/dist/types-ts4.5/media-single/utils.d.ts +0 -92
  229. package/dist/types-ts4.5/mention.d.ts +0 -2
  230. package/dist/types-ts4.5/messages/alignment.d.ts +0 -17
  231. package/dist/types-ts4.5/messages/annotation.d.ts +0 -17
  232. package/dist/types-ts4.5/messages/block-type.d.ts +0 -152
  233. package/dist/types-ts4.5/messages/card.d.ts +0 -87
  234. package/dist/types-ts4.5/messages/codeBidiWarning.d.ts +0 -11
  235. package/dist/types-ts4.5/messages/codeBlockButton.d.ts +0 -22
  236. package/dist/types-ts4.5/messages/full-page.d.ts +0 -17
  237. package/dist/types-ts4.5/messages/index.d.ts +0 -138
  238. package/dist/types-ts4.5/messages/insert-block.d.ts +0 -172
  239. package/dist/types-ts4.5/messages/link-toolbar.d.ts +0 -57
  240. package/dist/types-ts4.5/messages/link.d.ts +0 -7
  241. package/dist/types-ts4.5/messages/list.d.ts +0 -27
  242. package/dist/types-ts4.5/messages/media-and-embed-toolbar.d.ts +0 -12
  243. package/dist/types-ts4.5/messages/toolbar.d.ts +0 -92
  244. package/dist/types-ts4.5/messages/undo-redo.d.ts +0 -12
  245. package/dist/types-ts4.5/messages/unsupportedContent.d.ts +0 -17
  246. package/dist/types-ts4.5/monitoring/error.d.ts +0 -4
  247. package/dist/types-ts4.5/monitoring/index.d.ts +0 -1
  248. package/dist/types-ts4.5/node-width/index.d.ts +0 -15
  249. package/dist/types-ts4.5/normalize-feature-flags.d.ts +0 -27
  250. package/dist/types-ts4.5/panel.d.ts +0 -1
  251. package/dist/types-ts4.5/paste/clipboard.d.ts +0 -2
  252. package/dist/types-ts4.5/paste/index.d.ts +0 -2
  253. package/dist/types-ts4.5/paste/md-plugins/ignore-list-heading-md-plugin.d.ts +0 -2
  254. package/dist/types-ts4.5/paste/md-plugins/linkify-md-plugin.d.ts +0 -2
  255. package/dist/types-ts4.5/paste/md-plugins/newline-md-plugin.d.ts +0 -2
  256. package/dist/types-ts4.5/paste/md-plugins/paragraph-md-plugin.d.ts +0 -2
  257. package/dist/types-ts4.5/paste/md.d.ts +0 -2
  258. package/dist/types-ts4.5/preset/builder.d.ts +0 -36
  259. package/dist/types-ts4.5/preset/core-plugin.d.ts +0 -22
  260. package/dist/types-ts4.5/preset/editor-commands.d.ts +0 -21
  261. package/dist/types-ts4.5/preset/index.d.ts +0 -3
  262. package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +0 -53
  263. package/dist/types-ts4.5/provider-factory/autoformatting-provider.d.ts +0 -9
  264. package/dist/types-ts4.5/provider-factory/card-provider.d.ts +0 -7
  265. package/dist/types-ts4.5/provider-factory/context-identifier-provider.d.ts +0 -6
  266. package/dist/types-ts4.5/provider-factory/context.d.ts +0 -6
  267. package/dist/types-ts4.5/provider-factory/image-upload-provider.d.ts +0 -7
  268. package/dist/types-ts4.5/provider-factory/macro-provider.d.ts +0 -25
  269. package/dist/types-ts4.5/provider-factory/media-provider.d.ts +0 -15
  270. package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +0 -6
  271. package/dist/types-ts4.5/provider-factory/provider-factory.d.ts +0 -17
  272. package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +0 -30
  273. package/dist/types-ts4.5/provider-factory/search-provider.d.ts +0 -12
  274. package/dist/types-ts4.5/provider-factory/types.d.ts +0 -37
  275. package/dist/types-ts4.5/provider-factory/with-providers.d.ts +0 -18
  276. package/dist/types-ts4.5/provider-factory.d.ts +0 -13
  277. package/dist/types-ts4.5/provider-helpers/combine-providers.d.ts +0 -9
  278. package/dist/types-ts4.5/provider-helpers/index.d.ts +0 -1
  279. package/dist/types-ts4.5/provider-helpers/promise-helpers.d.ts +0 -32
  280. package/dist/types-ts4.5/quick-insert/assets/action.d.ts +0 -2
  281. package/dist/types-ts4.5/quick-insert/assets/code.d.ts +0 -2
  282. package/dist/types-ts4.5/quick-insert/assets/custom-panel.d.ts +0 -2
  283. package/dist/types-ts4.5/quick-insert/assets/datasource-assets-objects.d.ts +0 -2
  284. package/dist/types-ts4.5/quick-insert/assets/datasource-jira-issue.d.ts +0 -2
  285. package/dist/types-ts4.5/quick-insert/assets/date.d.ts +0 -2
  286. package/dist/types-ts4.5/quick-insert/assets/decision.d.ts +0 -2
  287. package/dist/types-ts4.5/quick-insert/assets/divider.d.ts +0 -2
  288. package/dist/types-ts4.5/quick-insert/assets/emoji.d.ts +0 -2
  289. package/dist/types-ts4.5/quick-insert/assets/expand.d.ts +0 -2
  290. package/dist/types-ts4.5/quick-insert/assets/fallback.d.ts +0 -2
  291. package/dist/types-ts4.5/quick-insert/assets/feedback.d.ts +0 -2
  292. package/dist/types-ts4.5/quick-insert/assets/heading1.d.ts +0 -2
  293. package/dist/types-ts4.5/quick-insert/assets/heading2.d.ts +0 -2
  294. package/dist/types-ts4.5/quick-insert/assets/heading3.d.ts +0 -2
  295. package/dist/types-ts4.5/quick-insert/assets/heading4.d.ts +0 -2
  296. package/dist/types-ts4.5/quick-insert/assets/heading5.d.ts +0 -2
  297. package/dist/types-ts4.5/quick-insert/assets/heading6.d.ts +0 -2
  298. package/dist/types-ts4.5/quick-insert/assets/images.d.ts +0 -2
  299. package/dist/types-ts4.5/quick-insert/assets/index.d.ts +0 -32
  300. package/dist/types-ts4.5/quick-insert/assets/layout.d.ts +0 -2
  301. package/dist/types-ts4.5/quick-insert/assets/link.d.ts +0 -2
  302. package/dist/types-ts4.5/quick-insert/assets/list-number.d.ts +0 -2
  303. package/dist/types-ts4.5/quick-insert/assets/list.d.ts +0 -2
  304. package/dist/types-ts4.5/quick-insert/assets/mention.d.ts +0 -2
  305. package/dist/types-ts4.5/quick-insert/assets/panel-error.d.ts +0 -2
  306. package/dist/types-ts4.5/quick-insert/assets/panel-note.d.ts +0 -2
  307. package/dist/types-ts4.5/quick-insert/assets/panel-success.d.ts +0 -2
  308. package/dist/types-ts4.5/quick-insert/assets/panel-warning.d.ts +0 -2
  309. package/dist/types-ts4.5/quick-insert/assets/panel.d.ts +0 -2
  310. package/dist/types-ts4.5/quick-insert/assets/quote.d.ts +0 -2
  311. package/dist/types-ts4.5/quick-insert/assets/status.d.ts +0 -2
  312. package/dist/types-ts4.5/quick-insert/index.d.ts +0 -2
  313. package/dist/types-ts4.5/quick-insert/use-icon-themed.d.ts +0 -9
  314. package/dist/types-ts4.5/quick-insert/utils.d.ts +0 -7
  315. package/dist/types-ts4.5/react-node-view/getInlineNodeViewProducer.d.ts +0 -20
  316. package/dist/types-ts4.5/react-node-view/index.d.ts +0 -56
  317. package/dist/types-ts4.5/react-node-view/types.d.ts +0 -12
  318. package/dist/types-ts4.5/resizer/Resizer.d.ts +0 -52
  319. package/dist/types-ts4.5/resizer/index.d.ts +0 -2
  320. package/dist/types-ts4.5/resizer/types.d.ts +0 -28
  321. package/dist/types-ts4.5/resizer/utils.d.ts +0 -6
  322. package/dist/types-ts4.5/safe-plugin/index.d.ts +0 -6
  323. package/dist/types-ts4.5/selection/gap-cursor/selection.d.ts +0 -41
  324. package/dist/types-ts4.5/selection/gap-cursor/utils/index.d.ts +0 -2
  325. package/dist/types-ts4.5/selection/gap-cursor/utils/is-ignored.d.ts +0 -2
  326. package/dist/types-ts4.5/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -2
  327. package/dist/types-ts4.5/selection/gap-cursor/utils/setGapCursorSelection.d.ts +0 -3
  328. package/dist/types-ts4.5/selection/index.d.ts +0 -29
  329. package/dist/types-ts4.5/selection/types.d.ts +0 -32
  330. package/dist/types-ts4.5/selection/utils.d.ts +0 -11
  331. package/dist/types-ts4.5/selection-based-node-view/SelectionBasedNodeView.d.ts +0 -49
  332. package/dist/types-ts4.5/selection-based-node-view/index.d.ts +0 -1
  333. package/dist/types-ts4.5/styles/index.d.ts +0 -31
  334. package/dist/types-ts4.5/styles/shared/annotation.d.ts +0 -12
  335. package/dist/types-ts4.5/styles/shared/block-marks.d.ts +0 -1
  336. package/dist/types-ts4.5/styles/shared/blockquote.d.ts +0 -1
  337. package/dist/types-ts4.5/styles/shared/code-block.d.ts +0 -12
  338. package/dist/types-ts4.5/styles/shared/code-mark.d.ts +0 -2
  339. package/dist/types-ts4.5/styles/shared/column-layout.d.ts +0 -2
  340. package/dist/types-ts4.5/styles/shared/date.d.ts +0 -5
  341. package/dist/types-ts4.5/styles/shared/dropdown-menu.d.ts +0 -4
  342. package/dist/types-ts4.5/styles/shared/embedCard.d.ts +0 -2
  343. package/dist/types-ts4.5/styles/shared/emoji.d.ts +0 -7
  344. package/dist/types-ts4.5/styles/shared/expand.d.ts +0 -1
  345. package/dist/types-ts4.5/styles/shared/extension.d.ts +0 -2
  346. package/dist/types-ts4.5/styles/shared/grid.d.ts +0 -2
  347. package/dist/types-ts4.5/styles/shared/headings.d.ts +0 -2
  348. package/dist/types-ts4.5/styles/shared/indentation.d.ts +0 -1
  349. package/dist/types-ts4.5/styles/shared/layout.d.ts +0 -2
  350. package/dist/types-ts4.5/styles/shared/link.d.ts +0 -2
  351. package/dist/types-ts4.5/styles/shared/lists.d.ts +0 -4
  352. package/dist/types-ts4.5/styles/shared/media-single.d.ts +0 -3
  353. package/dist/types-ts4.5/styles/shared/mention.d.ts +0 -3
  354. package/dist/types-ts4.5/styles/shared/panel.d.ts +0 -85
  355. package/dist/types-ts4.5/styles/shared/paragraph.d.ts +0 -1
  356. package/dist/types-ts4.5/styles/shared/plugins.d.ts +0 -4
  357. package/dist/types-ts4.5/styles/shared/resizer.d.ts +0 -9
  358. package/dist/types-ts4.5/styles/shared/rule.d.ts +0 -2
  359. package/dist/types-ts4.5/styles/shared/shadow.d.ts +0 -15
  360. package/dist/types-ts4.5/styles/shared/smart-card.d.ts +0 -8
  361. package/dist/types-ts4.5/styles/shared/smartCard.d.ts +0 -3
  362. package/dist/types-ts4.5/styles/shared/status.d.ts +0 -4
  363. package/dist/types-ts4.5/styles/shared/table.d.ts +0 -35
  364. package/dist/types-ts4.5/styles/shared/tableCell.d.ts +0 -1
  365. package/dist/types-ts4.5/styles/shared/task-decision.d.ts +0 -6
  366. package/dist/types-ts4.5/styles/shared/text-color.d.ts +0 -1
  367. package/dist/types-ts4.5/styles/shared/unsupported-content.d.ts +0 -5
  368. package/dist/types-ts4.5/styles/shared/whitespace.d.ts +0 -2
  369. package/dist/types-ts4.5/transforms/expand.d.ts +0 -5
  370. package/dist/types-ts4.5/transforms/extension.d.ts +0 -6
  371. package/dist/types-ts4.5/transforms/index.d.ts +0 -3
  372. package/dist/types-ts4.5/transforms/layout.d.ts +0 -15
  373. package/dist/types-ts4.5/type-ahead/index.d.ts +0 -12
  374. package/dist/types-ts4.5/types/annotation/emitter.d.ts +0 -33
  375. package/dist/types-ts4.5/types/annotation/index.d.ts +0 -85
  376. package/dist/types-ts4.5/types/block-type.d.ts +0 -4
  377. package/dist/types-ts4.5/types/breakout.d.ts +0 -1
  378. package/dist/types-ts4.5/types/command.d.ts +0 -6
  379. package/dist/types-ts4.5/types/context-panel.d.ts +0 -3
  380. package/dist/types-ts4.5/types/copy-button.d.ts +0 -24
  381. package/dist/types-ts4.5/types/datasource.d.ts +0 -1
  382. package/dist/types-ts4.5/types/doc-builder.d.ts +0 -26
  383. package/dist/types-ts4.5/types/editor-actions.d.ts +0 -21
  384. package/dist/types-ts4.5/types/editor-appearance.d.ts +0 -1
  385. package/dist/types-ts4.5/types/editor-command.d.ts +0 -5
  386. package/dist/types-ts4.5/types/editor-container-width.d.ts +0 -19
  387. package/dist/types-ts4.5/types/editor-plugin.d.ts +0 -92
  388. package/dist/types-ts4.5/types/editor-public-api.d.ts +0 -4
  389. package/dist/types-ts4.5/types/editor-react-context.d.ts +0 -6
  390. package/dist/types-ts4.5/types/empty-state-handler.d.ts +0 -7
  391. package/dist/types-ts4.5/types/feature-flags.d.ts +0 -311
  392. package/dist/types-ts4.5/types/floating-toolbar.d.ts +0 -260
  393. package/dist/types-ts4.5/types/grid.d.ts +0 -1
  394. package/dist/types-ts4.5/types/hyperlink.d.ts +0 -35
  395. package/dist/types-ts4.5/types/image-upload-reference-event.d.ts +0 -10
  396. package/dist/types-ts4.5/types/index.d.ts +0 -51
  397. package/dist/types-ts4.5/types/input-rules.d.ts +0 -8
  398. package/dist/types-ts4.5/types/layout.d.ts +0 -6
  399. package/dist/types-ts4.5/types/next-editor-plugin.d.ts +0 -157
  400. package/dist/types-ts4.5/types/performance-tracking.d.ts +0 -343
  401. package/dist/types-ts4.5/types/plugin-factory.d.ts +0 -27
  402. package/dist/types-ts4.5/types/prosemirror-config.d.ts +0 -14
  403. package/dist/types-ts4.5/types/quick-insert.d.ts +0 -38
  404. package/dist/types-ts4.5/types/resizable-media-single.d.ts +0 -15
  405. package/dist/types-ts4.5/types/selection.d.ts +0 -3
  406. package/dist/types-ts4.5/types/supported-browsers.d.ts +0 -15
  407. package/dist/types-ts4.5/types/tables.d.ts +0 -13
  408. package/dist/types-ts4.5/types/text-formatting.d.ts +0 -36
  409. package/dist/types-ts4.5/types/toolbar.d.ts +0 -30
  410. package/dist/types-ts4.5/types/type-ahead.d.ts +0 -72
  411. package/dist/types-ts4.5/types/ui-components.d.ts +0 -23
  412. package/dist/types-ts4.5/ufo/experience-store.d.ts +0 -33
  413. package/dist/types-ts4.5/ufo/index.d.ts +0 -1
  414. package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +0 -23
  415. package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +0 -15
  416. package/dist/types-ts4.5/ui/Caption/index.d.ts +0 -19
  417. package/dist/types-ts4.5/ui/Caption/messages.d.ts +0 -7
  418. package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +0 -24
  419. package/dist/types-ts4.5/ui/DropList/index.d.ts +0 -21
  420. package/dist/types-ts4.5/ui/Emoji/index.d.ts +0 -22
  421. package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +0 -25
  422. package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +0 -36
  423. package/dist/types-ts4.5/ui/Expand/index.d.ts +0 -42
  424. package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +0 -30
  425. package/dist/types-ts4.5/ui/FloatingToolbar/Separator.d.ts +0 -4
  426. package/dist/types-ts4.5/ui/FloatingToolbar/SmallerEditIcon.d.ts +0 -3
  427. package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +0 -20
  428. package/dist/types-ts4.5/ui/IntlErrorBoundary/index.d.ts +0 -15
  429. package/dist/types-ts4.5/ui/IntlProviderIfMissingWrapper/index.d.ts +0 -6
  430. package/dist/types-ts4.5/ui/Layer/index.d.ts +0 -47
  431. package/dist/types-ts4.5/ui/Layer/internal/helpers.d.ts +0 -5
  432. package/dist/types-ts4.5/ui/LinkSearch/const.d.ts +0 -4
  433. package/dist/types-ts4.5/ui/MediaSingle/grid.d.ts +0 -25
  434. package/dist/types-ts4.5/ui/MediaSingle/index.d.ts +0 -28
  435. package/dist/types-ts4.5/ui/MediaSingle/link.d.ts +0 -1
  436. package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +0 -57
  437. package/dist/types-ts4.5/ui/MediaSingle/types.d.ts +0 -12
  438. package/dist/types-ts4.5/ui/Mention/index.d.ts +0 -21
  439. package/dist/types-ts4.5/ui/Mention/mention-with-profilecard.d.ts +0 -15
  440. package/dist/types-ts4.5/ui/Mention/mention-with-providers.d.ts +0 -22
  441. package/dist/types-ts4.5/ui/Mention/types.d.ts +0 -2
  442. package/dist/types-ts4.5/ui/Messages/index.d.ts +0 -11
  443. package/dist/types-ts4.5/ui/OverflowShadow/index.d.ts +0 -103
  444. package/dist/types-ts4.5/ui/OverflowShadow/shadowObserver.d.ts +0 -27
  445. package/dist/types-ts4.5/ui/PanelTextInput/index.d.ts +0 -45
  446. package/dist/types-ts4.5/ui/PanelTextInput/styles.d.ts +0 -2
  447. package/dist/types-ts4.5/ui/Popup/index.d.ts +0 -85
  448. package/dist/types-ts4.5/ui/Popup/utils.d.ts +0 -42
  449. package/dist/types-ts4.5/ui/PortalProvider/PortalProviderThemesProvider.d.ts +0 -6
  450. package/dist/types-ts4.5/ui/PortalProvider/index.d.ts +0 -51
  451. package/dist/types-ts4.5/ui/ResizerLegacy/index.d.ts +0 -43
  452. package/dist/types-ts4.5/ui/ResizerLegacy/styled.d.ts +0 -2
  453. package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +0 -26
  454. package/dist/types-ts4.5/ui/ResizerLegacy/utils.d.ts +0 -6
  455. package/dist/types-ts4.5/ui/Toolbar/index.d.ts +0 -5
  456. package/dist/types-ts4.5/ui/UnsupportedBlock/index.d.ts +0 -14
  457. package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +0 -14
  458. package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +0 -29
  459. package/dist/types-ts4.5/ui/WithCreateAnalyticsEvent/index.d.ts +0 -6
  460. package/dist/types-ts4.5/ui/clear-next-sibling-margin-top.d.ts +0 -2
  461. package/dist/types-ts4.5/ui/index.d.ts +0 -43
  462. package/dist/types-ts4.5/ui/unsupported-content-helper.d.ts +0 -3
  463. package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +0 -8
  464. package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +0 -20
  465. package/dist/types-ts4.5/ui-color/ColorPalette/Color/styles.d.ts +0 -4
  466. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +0 -3
  467. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +0 -3
  468. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/common.d.ts +0 -2
  469. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +0 -2
  470. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/index.d.ts +0 -3
  471. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +0 -123
  472. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.d.ts +0 -1444
  473. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/panelBackgroundPalette.d.ts +0 -4
  474. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
  475. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +0 -2
  476. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +0 -12
  477. package/dist/types-ts4.5/ui-color/ColorPalette/index.d.ts +0 -38
  478. package/dist/types-ts4.5/ui-color/ColorPalette/styles.d.ts +0 -1
  479. package/dist/types-ts4.5/ui-color/ColorPalette/utils.d.ts +0 -12
  480. package/dist/types-ts4.5/ui-color/index.d.ts +0 -12
  481. package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.d.ts +0 -7
  482. package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.d.ts +0 -7
  483. package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/index.d.ts +0 -3
  484. package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/types.d.ts +0 -36
  485. package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +0 -28
  486. package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +0 -44
  487. package/dist/types-ts4.5/ui-menu/DropdownContainer/index.d.ts +0 -3
  488. package/dist/types-ts4.5/ui-menu/DropdownMenu/index.d.ts +0 -22
  489. package/dist/types-ts4.5/ui-menu/DropdownMenu/types.d.ts +0 -52
  490. package/dist/types-ts4.5/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +0 -31
  491. package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +0 -57
  492. package/dist/types-ts4.5/ui-menu/ToolbarButton/styles.d.ts +0 -4
  493. package/dist/types-ts4.5/ui-menu/index.d.ts +0 -11
  494. package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +0 -8
  495. package/dist/types-ts4.5/ui-react/index.d.ts +0 -2
  496. package/dist/types-ts4.5/ui-react/with-react-editor-view-outer-listeners.d.ts +0 -12
  497. package/dist/types-ts4.5/utils/analytics.d.ts +0 -29
  498. package/dist/types-ts4.5/utils/annotation/index.d.ts +0 -8
  499. package/dist/types-ts4.5/utils/breakout.d.ts +0 -50
  500. package/dist/types-ts4.5/utils/browser-extensions.d.ts +0 -43
  501. package/dist/types-ts4.5/utils/browser.d.ts +0 -4
  502. package/dist/types-ts4.5/utils/commands.d.ts +0 -48
  503. package/dist/types-ts4.5/utils/compare-props.d.ts +0 -32
  504. package/dist/types-ts4.5/utils/compareNodes.d.ts +0 -49
  505. package/dist/types-ts4.5/utils/compose.d.ts +0 -30
  506. package/dist/types-ts4.5/utils/count-nodes.d.ts +0 -8
  507. package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +0 -15
  508. package/dist/types-ts4.5/utils/datasource.d.ts +0 -3
  509. package/dist/types-ts4.5/utils/date.d.ts +0 -18
  510. package/dist/types-ts4.5/utils/dedupe.d.ts +0 -1
  511. package/dist/types-ts4.5/utils/document.d.ts +0 -25
  512. package/dist/types-ts4.5/utils/dom.d.ts +0 -40
  513. package/dist/types-ts4.5/utils/editor-core-utils.d.ts +0 -34
  514. package/dist/types-ts4.5/utils/error-reporter.d.ts +0 -13
  515. package/dist/types-ts4.5/utils/extension-handler.d.ts +0 -2
  516. package/dist/types-ts4.5/utils/filter/privacy-filter.d.ts +0 -9
  517. package/dist/types-ts4.5/utils/get-performance-options.d.ts +0 -16
  518. package/dist/types-ts4.5/utils/getModeFromTheme.d.ts +0 -1
  519. package/dist/types-ts4.5/utils/grid.d.ts +0 -3
  520. package/dist/types-ts4.5/utils/hyperlink.d.ts +0 -29
  521. package/dist/types-ts4.5/utils/imageLoader.d.ts +0 -14
  522. package/dist/types-ts4.5/utils/index.d.ts +0 -86
  523. package/dist/types-ts4.5/utils/input-rules.d.ts +0 -16
  524. package/dist/types-ts4.5/utils/is-text-input.d.ts +0 -2
  525. package/dist/types-ts4.5/utils/list.d.ts +0 -14
  526. package/dist/types-ts4.5/utils/macro.d.ts +0 -10
  527. package/dist/types-ts4.5/utils/nodes.d.ts +0 -52
  528. package/dist/types-ts4.5/utils/outdated-browsers.d.ts +0 -1
  529. package/dist/types-ts4.5/utils/performance/get-performance-timing.d.ts +0 -8
  530. package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +0 -19
  531. package/dist/types-ts4.5/utils/performance/is-performance-api-available.d.ts +0 -3
  532. package/dist/types-ts4.5/utils/performance/measure-render.d.ts +0 -52
  533. package/dist/types-ts4.5/utils/performance/measure-tti.d.ts +0 -14
  534. package/dist/types-ts4.5/utils/performance/measure.d.ts +0 -3
  535. package/dist/types-ts4.5/utils/performance/navigation.d.ts +0 -1
  536. package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +0 -16
  537. package/dist/types-ts4.5/utils/profiler/render-count.d.ts +0 -50
  538. package/dist/types-ts4.5/utils/prosemirror/autojoin.d.ts +0 -13
  539. package/dist/types-ts4.5/utils/referentiality.d.ts +0 -18
  540. package/dist/types-ts4.5/utils/rich-media-utils.d.ts +0 -9
  541. package/dist/types-ts4.5/utils/scroll-gutter.d.ts +0 -3
  542. package/dist/types-ts4.5/utils/should-force-tracking.d.ts +0 -1
  543. package/dist/types-ts4.5/utils/slice.d.ts +0 -11
  544. package/dist/types-ts4.5/utils/table.d.ts +0 -5
  545. package/dist/types-ts4.5/utils/track-unsupported-content.d.ts +0 -20
  546. package/dist/types-ts4.5/utils/traversor.d.ts +0 -9
  547. package/dist/types-ts4.5/utils/types.d.ts +0 -2
  548. package/dist/types-ts4.5/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +0 -57
  549. package/dist/types-ts4.5/utils/validate-using-spec.d.ts +0 -19
  550. package/dist/types-ts4.5/utils/validator.d.ts +0 -42
  551. package/dist/types-ts4.5/utils/whitespace.d.ts +0 -2
  552. package/dist/types-ts4.5/utils/wrap-selection-in.d.ts +0 -9
  553. package/dist/types-ts4.5/validator.d.ts +0 -2
  554. package/dist/types-ts4.5/with-plugin-state/index.d.ts +0 -108
  555. package/dist/types-ts4.5/with-plugin-state/types.d.ts +0 -10
  556. package/tmp/api-report-tmp.d.ts +0 -9
@@ -1,311 +0,0 @@
1
- import type { DisableSpellcheckByBrowser } from './supported-browsers';
2
- /**
3
- * Feature Flags for experimental features/behaviours.
4
- *
5
- * This feature flags are not meant to be used as plugin configuration and are only for temporary flags that will eventually be enabled be default or removed.
6
- * If your plugin requires permanent configuration options it's better to keep them in plugin options.
7
- *
8
- * # ADDING NEW FEATURE FLAG
9
- *
10
- * – Every feature flag must have a description explaining what it's meant to be doing.
11
- * – Every feature flag must have an associated ticket and a DUE DATE when this flag will be removed and an owner who will remove it.
12
- *
13
- * ## TEMPLATE
14
- *
15
- * When adding a new feature flag use the following template:
16
- *
17
- * ```
18
- * @description
19
- * What this feature flag is doing. Do not lead with "Feature flag to".
20
- *
21
- * @see https://product-fabric.atlassian.net/browse/ED-1
22
- * @default false
23
- * ```
24
- *
25
- * ## NAMING
26
- * – Name feature flags without `allow`.
27
- * – A name should read as "Feature flag to enable ...".
28
- *
29
- * Example: name = "newInsertionBehaviour" -> "Enable new insertion behaviour"
30
- */
31
- export type FeatureFlags = {
32
- /**
33
- * @description Enable single layout option
34
- *
35
- * @see https://hello.atlassian.net/browse/LOVE-187
36
- * @default false
37
- */
38
- singleLayout?: boolean;
39
- /**
40
- * @description Enable new insertion behaviour
41
- *
42
- * @see https://product-fabric.atlassian.net/l/c/JYoSEu00
43
- * @default false
44
- */
45
- newInsertionBehaviour?: boolean;
46
- /**
47
- * @description Allows to toggle expand open state
48
- * @default true
49
- */
50
- interactiveExpand?: boolean;
51
- /**
52
- * @description
53
- * Whether a placeholder bracket hint was provided (`string => boolean`)
54
- * Placeholder text to be displayed when a bracket '{' is typed and the line is empty e.g. 'Did you mean to use '/' to insert content?'
55
- * This is used to aid migration for TinyMCE power users to the new Fabric editor power user shortcuts.
56
- *
57
- * @see https://product-fabric.atlassian.net/l/c/4JLjusAP
58
- * @default true
59
- */
60
- placeholderBracketHint?: boolean;
61
- /**
62
- * @description
63
- * Whether placeholder hints were provided (`string[] => boolean`)
64
- * Placeholder text values to display on new empty lines.
65
- *
66
- * @see https://product-fabric.atlassian.net/l/c/GG1Yv9cK
67
- * @default false
68
- */
69
- placeholderHints?: boolean;
70
- /**
71
- * @description
72
- * Enable find/replace functionality within the editor
73
- *
74
- * @see https://product-fabric.atlassian.net/browse/ED-3504
75
- * @default false
76
- */
77
- findReplace?: boolean;
78
- /**
79
- * @description
80
- * Enable case matching functionality in find/replace feature within the editor
81
- *
82
- * @see https://product-fabric.atlassian.net/browse/ED-9684
83
- * @default false
84
- */
85
- findReplaceMatchCase?: boolean;
86
- /**
87
- * @description
88
- * Enable `localId` generation for extensions.
89
- *
90
- * @see https://product-fabric.atlassian.net/l/c/2m0i9jLX
91
- * @default false
92
- */
93
- extensionLocalIdGeneration?: boolean;
94
- /**
95
- * @description
96
- * Enable add column custom step
97
- *
98
- * @see https://product-fabric.atlassian.net/browse/ED-8856
99
- * @default false
100
- */
101
- addColumnWithCustomStep?: boolean;
102
- /**
103
- * @description
104
- * Enable undo/redo buttons and functionality within the editor
105
- *
106
- * @see https://product-fabric.atlassian.net/browse/ED-9537
107
- * @default false
108
- */
109
- undoRedoButtons?: boolean;
110
- /**
111
- * @description
112
- * Measure render performance for all tracked analytics events
113
- *
114
- * @default false
115
- */
116
- catchAllTracking?: boolean;
117
- /**
118
- * @description
119
- * Yield to user interaction work before sending analytics
120
- *
121
- * @see https://product-fabric.atlassian.net/browse/ED-10584
122
- * @default false
123
- */
124
- queueAnalytics?: boolean;
125
- /**
126
- * Enable extend floating toolbars
127
- * @see https://product-fabric.atlassian.net/browse/ED-11963
128
- * @default false
129
- */
130
- extendFloatingToolbar?: boolean;
131
- /**
132
- * Show the avatar group as a plugin
133
- * @see https://product-fabric.atlassian.net/browse/CERN-747
134
- * @default false
135
- */
136
- showAvatarGroupAsPlugin?: boolean;
137
- /**
138
- * @description
139
- * Enables docStructure for unhandleErrorEvents
140
- *
141
- * @see https://product-fabric.atlassian.net/browse/ED-12998
142
- * @default false
143
- */
144
- errorBoundaryDocStructure?: boolean;
145
- /**
146
- * @description
147
- * Enables docStructure for synchronyError
148
- *
149
- * @see https://product-fabric.atlassian.net/browse/ED-12998
150
- * @default false
151
- */
152
- synchronyErrorDocStructure?: boolean;
153
- /**
154
- * @decsription
155
- * Enables the view update subscription plugin
156
- *
157
- * @default false
158
- */
159
- enableViewUpdateSubscription?: boolean;
160
- /**
161
- * @description
162
- * Enable scroll-to-telepointer for collab avatars
163
- *
164
- * @see https://product-fabric.atlassian.net/browse/ED-12460
165
- * @default false
166
- */
167
- collabAvatarScroll?: boolean;
168
- /**
169
- * @description
170
- * Enable UFO experiences
171
- *
172
- * @see https://product-fabric.atlassian.net/browse/ED-13059
173
- * @default false
174
- */
175
- ufo?: boolean;
176
- /**
177
- * Split editor toolbar to two lines when viewport is small
178
- * @see https://product-fabric.atlassian.net/browse/CERN-1124
179
- * @default false
180
- */
181
- twoLineEditorToolbar?: boolean;
182
- /**
183
- * Prevent transactions from being mutated (e.g. apply, filterTransaction, appendTransaction) after being dispatched,
184
- * will throw on transaction dispatch unless saferDispatchedTransactionsAnalyticsOnly is enabled.
185
- * @see https://product-fabric.atlassian.net/wiki/spaces/E/pages/3131836958/Editor+DACI+013+Avoid+content+loss+with+bad+transactions+Ghost+Steps
186
- * @see https://product-fabric.atlassian.net/browse/ED-14002
187
- * @default false
188
- */
189
- saferDispatchedTransactions?: boolean;
190
- /**
191
- * Detect when transaction is being mutated after being dispatched and emit analytics event if so (e.g. apply, filterTransaction,
192
- * appendTransaction)
193
- * @see https://product-fabric.atlassian.net/wiki/spaces/E/pages/3131836958/Editor+DACI+013+Avoid+content+loss+with+bad+transactions+Ghost+Steps
194
- * @see https://product-fabric.atlassian.net/browse/ED-14002
195
- * @see https://product-fabric.atlassian.net/wiki/spaces/AS/pages/3321201329/Rolling+out+safer-dispatched+transaction
196
- * @default false
197
- */
198
- saferDispatchedTransactionsAnalyticsOnly?: boolean;
199
- /**
200
- * @description
201
- * Enable new collab service
202
- * @see https://product-fabric.atlassian.net/browse/ED-14097
203
- * @default false
204
- */
205
- useNativeCollabPlugin?: boolean;
206
- /**
207
- * Enable custom up/down key handler when cursor below/above an inline media
208
- * @see https://product-fabric.atlassian.net/browse/ED-13066
209
- * Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1227468
210
- * @default undefined
211
- */
212
- chromeCursorHandlerFixedVersion?: number;
213
- /**
214
- * @description
215
- * Enable display of a preview modal on mouse over of inline smart card
216
- *
217
- * @see https://product-fabric.atlassian.net/browse/EDM-2860
218
- * @default false
219
- */
220
- showHoverPreview?: boolean;
221
- /**
222
- * @description
223
- * Generic way of disabling spellcheck per browser by version range
224
- *
225
- * @see https://product-fabric.atlassian.net/browse/ED-14510
226
- * @default {}
227
- * Example:
228
- * {
229
- * ie: {
230
- * minimum: 101,
231
- * },
232
- * chrome: {
233
- * minimum: 96,
234
- * maximum: 109,
235
- * },
236
- * };
237
- */
238
- disableSpellcheckByBrowser?: DisableSpellcheckByBrowser | undefined;
239
- /**
240
- * @description
241
- * Show indentation buttons in the Editor toolbar
242
- *
243
- * @see https://product-fabric.atlassian.net/wiki/spaces/E/pages/3237512038/EXPLORE+Indentation+buttons+in+the+Editor+toolbar
244
- * @see https://product-fabric.atlassian.net/browse/ED-15067
245
- * @default false
246
- */
247
- indentationButtonsInTheToolbar?: boolean;
248
- /**
249
- * @description
250
- * Use the linking platform link picker for link insertion and edit
251
- *
252
- * @see https://product-fabric.atlassian.net/wiki/spaces/EM/pages/3158246501/PP+Link+Picker+-+Standalone
253
- * @see https://product-fabric.atlassian.net/browse/EDM-2577
254
- * @default false
255
- */
256
- lpLinkPicker?: boolean;
257
- /**
258
- * @description
259
- * Enables focus trap for the linking platform link picker
260
- *
261
- * @see https://product-fabric.atlassian.net/wiki/spaces/EM/pages/3158246501/PP+Link+Picker+-+Standalone
262
- * @see https://product-fabric.atlassian.net/browse/EDM-2577
263
- * @see https://product-fabric.atlassian.net/browse/EDM-4919
264
- * @default false
265
- */
266
- lpLinkPickerFocusTrap?: boolean;
267
- /**
268
- * @description
269
- * Enables linking platform event tracking using @atlaskit/link-analytics
270
- *
271
- * @default false
272
- */
273
- lpAnalyticsEventsNext?: boolean;
274
- /**
275
- * @description
276
- * Show link settings button in the Floating toolbar
277
- *
278
- * @see https://product-fabric.atlassian.net/wiki/spaces/EM/pages/3199172609/POP+Some+users+need+to+work+with+URLs+to+get+their+job+done
279
- * @see https://product-fabric.atlassian.net/browse/EDM-3268
280
- * @default null
281
- */
282
- floatingToolbarLinkSettingsButton?: string;
283
- /**
284
- * @description
285
- * Allow numbered lists to start from any number greater than 0, not just 1
286
- *
287
- * @see https://product-fabric.atlassian.net/wiki/spaces/EUXQ/pages/3257270398/MAKE+PP+Restart+Numbered+Lists
288
- * @see https://product-fabric.atlassian.net/browse/ED-15210
289
- * @default false
290
- */
291
- restartNumberedLists?: boolean;
292
- /**
293
- * @description
294
- * Force the Popup placement if the space does not accomodate the Popup fitHeight
295
- *
296
- * @see https://product-fabric.atlassian.net/wiki/spaces/EM/pages/3158246501/PP+Link+Picker+-+Standalone
297
- * @see https://product-fabric.atlassian.net/browse/EDM-2577
298
- * @default false
299
- */
300
- preventPopupOverflow?: boolean;
301
- /**
302
- * @description
303
- * Enable the new editor media resize experience.
304
- *
305
- * @see https://product-fabric.atlassian.net/browse/ED-18316
306
- * @default false
307
- */
308
- extendedMediaResizeExperience?: boolean | undefined;
309
- };
310
- export type FeatureFlagKey = keyof FeatureFlags;
311
- export type GetEditorFeatureFlags = () => FeatureFlags;
@@ -1,260 +0,0 @@
1
- import type React from 'react';
2
- import type { IntlShape } from 'react-intl-next';
3
- import type { Node, NodeType } from '@atlaskit/editor-prosemirror/model';
4
- import type { EditorState } from '@atlaskit/editor-prosemirror/state';
5
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
- import type { EmojiId } from '@atlaskit/emoji/types';
7
- import type { DispatchAnalyticsEvent } from '../analytics/types/dispatch-analytics-event';
8
- import type { ProviderFactory } from '../provider-factory';
9
- import type { PaletteColor } from '../ui-color/ColorPalette/Palettes/type';
10
- import type { Command } from './command';
11
- import type { MarkOptions, NodeOptions } from './copy-button';
12
- export interface RenderOptionsPropsT<T extends {}> {
13
- hide: () => void;
14
- dispatchCommand: (command: T) => void;
15
- }
16
- export interface DropdownOptionT<T extends {}> {
17
- id?: string;
18
- title: string;
19
- onClick: T;
20
- onMouseDown?: T;
21
- onMouseOver?: T;
22
- onMouseEnter?: T;
23
- onMouseLeave?: T;
24
- onMouseOut?: T;
25
- onFocus?: T;
26
- onBlur?: T;
27
- selected?: boolean;
28
- disabled?: boolean;
29
- hidden?: boolean;
30
- testId?: string;
31
- tooltip?: string;
32
- elemAfter?: React.ReactNode;
33
- }
34
- export type DropdownOptions<T extends {}> = Array<DropdownOptionT<T>> | {
35
- render: (props: RenderOptionsPropsT<T>) => React.ReactElement<any> | null;
36
- height: number;
37
- width: number;
38
- };
39
- export interface SelectOption<T extends {} = {}> {
40
- value: string;
41
- label: string;
42
- selected?: boolean;
43
- disabled?: boolean;
44
- hidden?: boolean;
45
- data?: T;
46
- }
47
- export type ButtonAppearance = 'subtle' | 'danger';
48
- export type Icon = React.ComponentType<{
49
- label: string;
50
- }>;
51
- export type RenderOptionsProps = RenderOptionsPropsT<Command>;
52
- export type AlignType = 'left' | 'center' | 'right';
53
- interface Position {
54
- top?: number;
55
- right?: number;
56
- bottom?: number;
57
- left?: number;
58
- }
59
- type PositionOffset = Position;
60
- export type ConfirmDialogChildInfo = {
61
- id: string;
62
- name: string | null;
63
- amount: number;
64
- };
65
- export interface ConfirmDialogOptions {
66
- title?: string;
67
- message: string;
68
- okButtonLabel?: string;
69
- cancelButtonLabel?: string;
70
- isReferentialityDialog?: boolean;
71
- checkboxLabel?: string;
72
- messagePrefix?: string;
73
- getChildrenInfo?: () => ConfirmDialogChildInfo[];
74
- onConfirm?: (...args: any[]) => Command;
75
- }
76
- export type ConfirmationDialogProps = {
77
- onConfirm: (isCheck?: boolean) => void;
78
- /**
79
- * onClose is called every time when the dialog is closed.
80
- * Either clicking on 'Confirm' button or 'Cancel' button,
81
- * which means it is being called after onConfirm, or by itself when clicking 'Cancel' button.
82
- */
83
- onClose: () => void;
84
- options?: ConfirmDialogOptions;
85
- testId?: string;
86
- };
87
- export type FloatingToolbarCopyButton = {
88
- type: 'copy-button';
89
- items: Array<FloatingToolbarSeparator | MarkOptions | NodeOptions>;
90
- hidden?: boolean;
91
- };
92
- export type FloatingToolbarButton<T extends {}> = {
93
- id?: string;
94
- type: 'button';
95
- title: string;
96
- onClick: T;
97
- showTitle?: boolean;
98
- onMouseEnter?: T;
99
- onMouseLeave?: T;
100
- onFocus?: T;
101
- onBlur?: T;
102
- icon?: Icon;
103
- selected?: boolean;
104
- disabled?: boolean;
105
- hidden?: boolean;
106
- appearance?: ButtonAppearance;
107
- href?: string;
108
- target?: string;
109
- className?: string;
110
- tooltipContent?: React.ReactNode;
111
- testId?: string;
112
- hideTooltipOnClick?: boolean;
113
- confirmDialog?: ConfirmDialogOptions | (() => ConfirmDialogOptions);
114
- metadata?: {
115
- [key: string]: string;
116
- };
117
- ariaHasPopup?: boolean | 'dialog' | 'menu' | 'listbox' | 'tree' | 'grid' | undefined;
118
- tabIndex?: number | null | undefined;
119
- focusEditoronEnter?: boolean;
120
- };
121
- export type FloatingToolbarInput<T extends {}> = {
122
- id: string;
123
- type: 'input';
124
- title?: string;
125
- description?: string;
126
- onSubmit: (...args: any[]) => T;
127
- onBlur: (...args: any[]) => T;
128
- defaultValue?: string;
129
- placeholder?: string;
130
- hidden?: boolean;
131
- };
132
- export type FloatingToolbarCustom<T extends {}> = {
133
- type: 'custom';
134
- /**
135
- * By default -- the floating toolbar supports navigating between
136
- * items using arrow keys (to meet aria guidelines).
137
- * In some cases the floating toolbar is being used to present
138
- * non toolbar content -- such as the link editing experience.
139
- * In these cases you can opt out of arrow navigation using the
140
- * this property.
141
- *
142
- * @default false
143
- */
144
- disableArrowNavigation?: boolean;
145
- fallback: Array<FloatingToolbarFallbackItem<T>>;
146
- render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent) => React.ComponentClass | React.SFC | React.ReactElement<any> | null;
147
- hidden?: boolean;
148
- };
149
- type FloatingToolbarSelectBase<T extends {}, V = SelectOption> = {
150
- id: string;
151
- type: 'select';
152
- selectType: 'list' | 'emoji' | 'date' | 'color';
153
- title?: string;
154
- options: V[];
155
- hidden?: boolean;
156
- hideExpandIcon?: boolean;
157
- defaultValue?: V | null;
158
- placeholder?: string;
159
- onChange: (selected: V) => T;
160
- filterOption?: ((option: V, rawInput: string) => boolean) | null;
161
- };
162
- export type FloatingToolbarListPicker<T extends {}> = FloatingToolbarSelectBase<T> & {
163
- selectType: 'list';
164
- };
165
- export type FloatingToolbarColorPicker<T extends {}> = FloatingToolbarSelectBase<T, PaletteColor> & {
166
- selectType: 'color';
167
- };
168
- export type FloatingToolbarEmojiPicker<T extends {}> = FloatingToolbarSelectBase<T, EmojiId> & {
169
- selectType: 'emoji';
170
- selected?: boolean;
171
- options: never[];
172
- };
173
- export type FloatingToolbarDatePicker<T extends {}> = FloatingToolbarSelectBase<T, number> & {
174
- selectType: 'date';
175
- options: never[];
176
- };
177
- export type FloatingToolbarSelect<T extends {}> = FloatingToolbarEmojiPicker<T> | FloatingToolbarColorPicker<T> | FloatingToolbarListPicker<T> | FloatingToolbarDatePicker<T>;
178
- export type FloatingToolbarSeparator = {
179
- type: 'separator';
180
- hidden?: boolean;
181
- };
182
- export type FloatingToolbarDropdown<T extends {}> = {
183
- testId?: string;
184
- id?: string;
185
- type: 'dropdown';
186
- title: string;
187
- icon?: Icon;
188
- options: DropdownOptions<T>;
189
- hidden?: boolean;
190
- hideExpandIcon?: boolean;
191
- disabled?: boolean;
192
- tooltip?: string;
193
- dropdownWidth?: number;
194
- showSelected?: boolean;
195
- alignDropdownWithToolbar?: boolean;
196
- };
197
- type FloatingToolbarExtensionsPlaceholder = {
198
- type: 'extensions-placeholder';
199
- hidden?: boolean;
200
- separator?: 'start' | 'end' | 'both';
201
- };
202
- /**
203
- * This additional type is introduced in order to prevent infinite loop due to
204
- * `extract-react-types-loader`. The issue occurs when custom type `fallback` field
205
- * is an array of FloatingToolbarItem. Since FloatingToolbarItem is a FloatingToolbarCustom
206
- * type, it stucks in an infinite loop. Custom - Item -> Custom .... go on.
207
- *
208
- * This type is restricted with the items that can be used for fallback.
209
- * Make sure that this type is not a FloatingToolbarCustom type.
210
- */
211
- export type FloatingToolbarFallbackItem<T extends {}> = FloatingToolbarButton<T> | FloatingToolbarCopyButton | FloatingToolbarDropdown<T> | FloatingToolbarSelect<T> | FloatingToolbarInput<T> | FloatingToolbarSeparator;
212
- export type FloatingToolbarItem<T extends {}> = FloatingToolbarButton<T> | FloatingToolbarCopyButton | FloatingToolbarDropdown<T> | FloatingToolbarSelect<T> | FloatingToolbarInput<T> | FloatingToolbarCustom<T> | FloatingToolbarSeparator | FloatingToolbarExtensionsPlaceholder;
213
- export interface FloatingToolbarConfig {
214
- /** Used for the ariaLabel on the <Popup /> component */
215
- title: string;
216
- /**
217
- * Override the DOM reference used to apply as the target for the
218
- * floating toolbar, if the config matches.
219
- *
220
- * By default, it will find the DOM reference of the node from the
221
- * head of the current selection.
222
- */
223
- getDomRef?: (view: EditorView) => HTMLElement | undefined;
224
- /** Can prevent the Toolbar from rendering */
225
- visible?: boolean;
226
- /**
227
- * nodeType or list of `nodeType`s this floating toolbar should be shown for.
228
- **/
229
- nodeType: NodeType | NodeType[];
230
- /** Items that will populate the Toolbar.
231
- *
232
- * See: `FloatingToolbarItem`
233
- */
234
- items: Array<FloatingToolbarItem<Command>> | ((node: Node) => Array<FloatingToolbarItem<Command>>);
235
- align?: AlignType;
236
- /** Class added to Toolbar wrapper */
237
- className?: string;
238
- /** Toolbar height */
239
- height?: number;
240
- /** Toolbar width */
241
- width?: number;
242
- zIndex?: number;
243
- /** Offset the position of the toolbar. */
244
- offset?: [
245
- number,
246
- number
247
- ];
248
- /** Absolute offset of the toolbar */
249
- absoluteOffset?: PositionOffset;
250
- forcePlacement?: boolean;
251
- onPositionCalculated?: (editorView: EditorView, nextPos: Position) => Position;
252
- scrollable?: boolean;
253
- /**
254
- * Enable Popup component's focus trap
255
- */
256
- focusTrap?: boolean;
257
- preventPopupOverflow?: boolean;
258
- }
259
- export type FloatingToolbarHandler = (state: EditorState, intl: IntlShape, providerFactory: ProviderFactory) => FloatingToolbarConfig | undefined;
260
- export {};
@@ -1 +0,0 @@
1
- export type GridType = 'full' | 'wrapped';
@@ -1,35 +0,0 @@
1
- import type { LinkPickerProps } from '@atlaskit/link-picker';
2
- import { INPUT_METHOD } from '../analytics';
3
- import { CardOptions } from '../card';
4
- import { EditorAppearance } from './editor-appearance';
5
- export type LinkInputType = INPUT_METHOD.MANUAL | INPUT_METHOD.TYPEAHEAD;
6
- /**
7
- * Configuration for the link picker
8
- * Extends `LinkPickerProps` to provide future extensibility out-of-the-box
9
- */
10
- export interface LinkPickerOptions extends Partial<LinkPickerProps> {
11
- }
12
- /**
13
- * Configuration for editor linking behaviours
14
- */
15
- export interface LinkingOptions {
16
- /**
17
- * Initial props to configure the link picker component with. Primarily used to provide link search and suggestions capabilities.
18
- * @see https://atlaskit.atlassian.com/packages/editor/editor-core/example/full-page-with-link-picker
19
- * @see https://atlaskit.atlassian.com/packages/linking-platform/link-picker
20
- */
21
- linkPicker?: LinkPickerOptions;
22
- /**
23
- * Enables and configure smart link behaviour
24
- */
25
- smartLinks?: CardOptions;
26
- }
27
- /**
28
- * Configuration for the Hyperlink plugin
29
- */
30
- export interface HyperlinkPluginOptions {
31
- cardOptions?: CardOptions;
32
- linkPicker?: LinkPickerOptions;
33
- platform?: 'mobile' | 'web';
34
- editorAppearance?: EditorAppearance;
35
- }
@@ -1,10 +0,0 @@
1
- export type ImageUploadPluginReferenceEventBase = {
2
- type: 'drop' | 'paste';
3
- };
4
- export type ImageUploadPluginReferenceEventDragEvent = ImageUploadPluginReferenceEventBase & {
5
- dataTransfer?: DataTransfer;
6
- };
7
- export type ImageUploadPluginReferenceEventClipboardEvent = ImageUploadPluginReferenceEventBase & {
8
- clipboardData?: DataTransfer;
9
- };
10
- export type ImageUploadPluginReferenceEvent = ImageUploadPluginReferenceEventDragEvent | ImageUploadPluginReferenceEventClipboardEvent;
@@ -1,51 +0,0 @@
1
- import type { Node } from '@atlaskit/editor-prosemirror/model';
2
- export interface Transformer<T> {
3
- encode(node: Node): T;
4
- parse(content: T): Node;
5
- }
6
- export declare enum SortOrder {
7
- ASC = "asc",
8
- DESC = "desc",
9
- NO_ORDER = "no_order"
10
- }
11
- export { AnnotationUpdateEmitter, AnnotationUpdateEvent } from './annotation';
12
- export type { AnnotationState, AnnotationProviders, AnnotationUpdateEventPayloads, InlineCommentSelectionComponentProps, InlineCommentViewComponentProps, InlineCommentAnnotationProvider, OnAnnotationClickPayload, AnnotationByMatches, AnnotationActionResult, } from './annotation';
13
- export type { ContextUpdateHandler, EditorActionsOptions, ReplaceRawValue, } from './editor-actions';
14
- export type { TypeAheadStats, TypeAheadItemRenderProps, TypeAheadInsert, TypeAheadSelectItem, TypeAheadItem, TypeAheadForceSelect, TypeAheadHandler, } from './type-ahead';
15
- export type { CommandDispatch, Command, HigherOrderCommand, Predicate, } from './command';
16
- export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags, } from './feature-flags';
17
- export type { Browsers, Range, DisableSpellcheckByBrowser, } from './supported-browsers';
18
- export type { EditorContainerWidth, GetEditorContainerWidth, } from './editor-container-width';
19
- export type { EmptyStateHandler, EmptyStateHandlerParams, } from './empty-state-handler';
20
- export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, } from './floating-toolbar';
21
- export type { MarkOptions, NodeOptions } from './copy-button';
22
- export type { ContextPanelHandler } from './context-panel';
23
- export type { EditorAppearance } from './editor-appearance';
24
- export type { ToolbarUiComponentFactoryParams, ToolbarUIComponentFactory, } from './toolbar';
25
- export { ToolbarSize, ToolbarWidths, ToolbarWidthsFullPage } from './toolbar';
26
- export type { UiComponentFactoryParams, UIComponentFactory, ReactHookFactory, } from './ui-components';
27
- export type { EditorReactContext } from './editor-react-context';
28
- export type { PMPluginFactoryParams, PMPluginFactory, PMPlugin, } from './plugin-factory';
29
- export type { NodeConfig, MarkConfig, NodeViewConfig, } from './prosemirror-config';
30
- export type { PluginsOptions, EditorPlugin, getPosHandler, getPosHandlerNode, } from './editor-plugin';
31
- export type { NextEditorPlugin, AllEditorPresetPluginTypes, PluginDependenciesAPI, ExtractPluginNameFromAllBuilderPlugins, SafePresetCheck, DefaultEditorPlugin, OptionalPlugin, PluginInjectionAPI, CreatePluginDependenciesAPI, NextEditorPluginMetadata, ExtractInjectionAPI, ExtractPluginActions, PluginInjectionAPIWithDependency, PluginInjectionAPIWithDependencies, PublicPluginAPI, NextEditorPluginFunctionOptionalConfigDefinition, } from './next-editor-plugin';
32
- export type { ExtractPublicEditorAPI } from './editor-public-api';
33
- export type { EditorCommand, EditorCommandWithMetadata, } from './editor-command';
34
- export type IconProps = {
35
- label?: string;
36
- };
37
- export type { TTITracking, TransactionTracking, UITracking, CatchAllTracking, NodeViewTracking, BrowserFreezetracking, ProseMirrorRenderedTracking, InputTracking, ContentRetrievalTracking, OnChangeCallbackTracking, OnEditorReadyCallbackTracking, PasteTracking, RenderTracking, PerformanceTracking, } from './performance-tracking';
38
- export type { GridType } from './grid';
39
- export type { LinkInputType, LinkPickerOptions, LinkingOptions, HyperlinkPluginOptions, } from './hyperlink';
40
- export type { SnapPointsProps } from './resizable-media-single';
41
- export type { BreakoutMode } from './breakout';
42
- export type { DatasourceModalType } from './datasource';
43
- export type { ImageUploadPluginReferenceEventBase, ImageUploadPluginReferenceEventDragEvent, ImageUploadPluginReferenceEventClipboardEvent, ImageUploadPluginReferenceEvent, } from './image-upload-reference-event';
44
- export type { AllowedBlockTypes, HeadingLevels, NormalTextLevel, HeadingLevelsAndNormalText, } from './block-type';
45
- export type { ColumnResizingPluginState } from './tables';
46
- export type { InputRuleHandler, OnHandlerApply, InputRuleWrapper, } from './input-rules';
47
- export type { TextFormattingOptions, TextFormattingState, InputMethodToolbar, InputMethodBasic, } from './text-formatting';
48
- export type { LayoutPluginOptions } from './layout';
49
- export type { LongPressSelectionPluginOptions } from './selection';
50
- export type { QuickInsertPluginState, QuickInsertPluginStateKeys, QuickInsertOptions, QuickInsertPluginOptions, QuickInsertSearchOptions, QuickInsertSharedState, QuickInsertHandler, } from './quick-insert';
51
- export type { Refs, RefsNode, DocBuilder } from './doc-builder';
@@ -1,8 +0,0 @@
1
- import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
2
- export type InputRuleHandler = (state: EditorState, matchResult: RegExpExecArray, start: number, end: number) => Transaction | null;
3
- export type OnHandlerApply = (state: EditorState, tr: Transaction, matchResult: RegExpExecArray) => void;
4
- export interface InputRuleWrapper {
5
- match: RegExp;
6
- handler: InputRuleHandler;
7
- onHandlerApply?: OnHandlerApply;
8
- }