@atlaskit/editor-common 70.2.0 → 70.2.1

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 (327) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/ui/DropList/index.js +1 -1
  3. package/dist/cjs/version.json +1 -1
  4. package/dist/es2019/ui/DropList/index.js +1 -1
  5. package/dist/es2019/version.json +1 -1
  6. package/dist/esm/ui/DropList/index.js +1 -1
  7. package/dist/esm/version.json +1 -1
  8. package/package.json +4 -12
  9. package/dist/types-ts4.0/__tests_external__/cases/fundamentals/collection.d.ts +0 -3
  10. package/dist/types-ts4.0/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +0 -3
  11. package/dist/types-ts4.0/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +0 -3
  12. package/dist/types-ts4.0/__tests_external__/cases/smart-links/index.d.ts +0 -4
  13. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +0 -3
  14. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +0 -4
  15. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +0 -3
  16. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +0 -3
  17. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +0 -3
  18. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +0 -4
  19. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +0 -3
  20. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +0 -3
  21. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +0 -3
  22. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +0 -4
  23. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +0 -3
  24. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +0 -3
  25. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +0 -3
  26. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/types.d.ts +0 -4
  27. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +0 -3
  28. package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +0 -3
  29. package/dist/types-ts4.0/__tests_external__/cases/types.d.ts +0 -7
  30. package/dist/types-ts4.0/__tests_external__/index.d.ts +0 -3
  31. package/dist/types-ts4.0/__tests_external__/page-objects/Editor.d.ts +0 -9
  32. package/dist/types-ts4.0/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -40
  33. package/dist/types-ts4.0/__tests_external__/page-objects/Renderer.d.ts +0 -6
  34. package/dist/types-ts4.0/analytics/api.d.ts +0 -5
  35. package/dist/types-ts4.0/analytics/index.d.ts +0 -3
  36. package/dist/types-ts4.0/analytics/types/avatar.d.ts +0 -5
  37. package/dist/types-ts4.0/analytics/types/block.d.ts +0 -3
  38. package/dist/types-ts4.0/analytics/types/config-panel-events.d.ts +0 -17
  39. package/dist/types-ts4.0/analytics/types/cut-copy-events.d.ts +0 -12
  40. package/dist/types-ts4.0/analytics/types/date-events.d.ts +0 -17
  41. package/dist/types-ts4.0/analytics/types/dispatch-analytics-event.d.ts +0 -2
  42. package/dist/types-ts4.0/analytics/types/element-browser-events.d.ts +0 -11
  43. package/dist/types-ts4.0/analytics/types/enums.d.ts +0 -314
  44. package/dist/types-ts4.0/analytics/types/events.d.ts +0 -127
  45. package/dist/types-ts4.0/analytics/types/experimental-events.d.ts +0 -17
  46. package/dist/types-ts4.0/analytics/types/extension-events.d.ts +0 -37
  47. package/dist/types-ts4.0/analytics/types/find-replace-events.d.ts +0 -23
  48. package/dist/types-ts4.0/analytics/types/format-events.d.ts +0 -49
  49. package/dist/types-ts4.0/analytics/types/general-events.d.ts +0 -179
  50. package/dist/types-ts4.0/analytics/types/index.d.ts +0 -34
  51. package/dist/types-ts4.0/analytics/types/inline-comment-events.d.ts +0 -17
  52. package/dist/types-ts4.0/analytics/types/insert-events.d.ts +0 -128
  53. package/dist/types-ts4.0/analytics/types/link-tool-bar-events.d.ts +0 -76
  54. package/dist/types-ts4.0/analytics/types/list-events.d.ts +0 -52
  55. package/dist/types-ts4.0/analytics/types/media-events.d.ts +0 -16
  56. package/dist/types-ts4.0/analytics/types/node-events.d.ts +0 -56
  57. package/dist/types-ts4.0/analytics/types/paste-events.d.ts +0 -39
  58. package/dist/types-ts4.0/analytics/types/performance-report.d.ts +0 -24
  59. package/dist/types-ts4.0/analytics/types/referentiality-events.d.ts +0 -9
  60. package/dist/types-ts4.0/analytics/types/selection-events.d.ts +0 -18
  61. package/dist/types-ts4.0/analytics/types/smart-links.d.ts +0 -13
  62. package/dist/types-ts4.0/analytics/types/substitute-events.d.ts +0 -26
  63. package/dist/types-ts4.0/analytics/types/table-events.d.ts +0 -102
  64. package/dist/types-ts4.0/analytics/types/toolbar-button.d.ts +0 -22
  65. package/dist/types-ts4.0/analytics/types/type-ahead.d.ts +0 -27
  66. package/dist/types-ts4.0/analytics/types/utils.d.ts +0 -46
  67. package/dist/types-ts4.0/card/cardOptions.d.ts +0 -9
  68. package/dist/types-ts4.0/card/index.d.ts +0 -1
  69. package/dist/types-ts4.0/collab/types.d.ts +0 -82
  70. package/dist/types-ts4.0/collab.d.ts +0 -1
  71. package/dist/types-ts4.0/core-utils/index.d.ts +0 -1
  72. package/dist/types-ts4.0/core-utils/inside.d.ts +0 -2
  73. package/dist/types-ts4.0/emoji.d.ts +0 -3
  74. package/dist/types-ts4.0/event-dispatcher/index.d.ts +0 -19
  75. package/dist/types-ts4.0/extensions/combine-extension-providers.d.ts +0 -7
  76. package/dist/types-ts4.0/extensions/default-extension-provider.d.ts +0 -17
  77. package/dist/types-ts4.0/extensions/extension-fields-helpers.d.ts +0 -10
  78. package/dist/types-ts4.0/extensions/extension-handlers.d.ts +0 -13
  79. package/dist/types-ts4.0/extensions/index.d.ts +0 -8
  80. package/dist/types-ts4.0/extensions/manifest-helpers.d.ts +0 -8
  81. package/dist/types-ts4.0/extensions/module-helpers.d.ts +0 -11
  82. package/dist/types-ts4.0/extensions/types/extension-handler.d.ts +0 -40
  83. package/dist/types-ts4.0/extensions/types/extension-manifest-common.d.ts +0 -8
  84. package/dist/types-ts4.0/extensions/types/extension-manifest-toolbar-item.d.ts +0 -45
  85. package/dist/types-ts4.0/extensions/types/extension-manifest.d.ts +0 -101
  86. package/dist/types-ts4.0/extensions/types/extension-parameters.d.ts +0 -5
  87. package/dist/types-ts4.0/extensions/types/extension-provider.d.ts +0 -8
  88. package/dist/types-ts4.0/extensions/types/field-definitions.d.ts +0 -171
  89. package/dist/types-ts4.0/extensions/types/index.d.ts +0 -8
  90. package/dist/types-ts4.0/extensions/types/utils.d.ts +0 -18
  91. package/dist/types-ts4.0/extensions.d.ts +0 -2
  92. package/dist/types-ts4.0/i18n/cs.d.ts +0 -100
  93. package/dist/types-ts4.0/i18n/da.d.ts +0 -100
  94. package/dist/types-ts4.0/i18n/de.d.ts +0 -100
  95. package/dist/types-ts4.0/i18n/en.d.ts +0 -100
  96. package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -100
  97. package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -100
  98. package/dist/types-ts4.0/i18n/es.d.ts +0 -100
  99. package/dist/types-ts4.0/i18n/et.d.ts +0 -8
  100. package/dist/types-ts4.0/i18n/fi.d.ts +0 -100
  101. package/dist/types-ts4.0/i18n/fr.d.ts +0 -100
  102. package/dist/types-ts4.0/i18n/hu.d.ts +0 -100
  103. package/dist/types-ts4.0/i18n/index.d.ts +0 -31
  104. package/dist/types-ts4.0/i18n/it.d.ts +0 -100
  105. package/dist/types-ts4.0/i18n/ja.d.ts +0 -100
  106. package/dist/types-ts4.0/i18n/ko.d.ts +0 -100
  107. package/dist/types-ts4.0/i18n/nb.d.ts +0 -100
  108. package/dist/types-ts4.0/i18n/nl.d.ts +0 -100
  109. package/dist/types-ts4.0/i18n/pl.d.ts +0 -100
  110. package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -100
  111. package/dist/types-ts4.0/i18n/pt_PT.d.ts +0 -8
  112. package/dist/types-ts4.0/i18n/ru.d.ts +0 -100
  113. package/dist/types-ts4.0/i18n/sk.d.ts +0 -8
  114. package/dist/types-ts4.0/i18n/sv.d.ts +0 -100
  115. package/dist/types-ts4.0/i18n/th.d.ts +0 -100
  116. package/dist/types-ts4.0/i18n/tr.d.ts +0 -100
  117. package/dist/types-ts4.0/i18n/uk.d.ts +0 -100
  118. package/dist/types-ts4.0/i18n/vi.d.ts +0 -100
  119. package/dist/types-ts4.0/i18n/zh.d.ts +0 -100
  120. package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -100
  121. package/dist/types-ts4.0/icons/index.d.ts +0 -9
  122. package/dist/types-ts4.0/icons/shared/PanelErrorIcon.d.ts +0 -3
  123. package/dist/types-ts4.0/icons/shared/PanelInfoIcon.d.ts +0 -3
  124. package/dist/types-ts4.0/icons/shared/PanelNoteIcon.d.ts +0 -3
  125. package/dist/types-ts4.0/icons/shared/PanelSuccessIcon.d.ts +0 -3
  126. package/dist/types-ts4.0/icons/shared/PanelWarningIcon.d.ts +0 -3
  127. package/dist/types-ts4.0/icons/shared/table.d.ts +0 -2
  128. package/dist/types-ts4.0/in-product.d.ts +0 -1
  129. package/dist/types-ts4.0/index.d.ts +0 -1
  130. package/dist/types-ts4.0/keymaps/consts.d.ts +0 -12
  131. package/dist/types-ts4.0/keymaps/index.d.ts +0 -89
  132. package/dist/types-ts4.0/mention.d.ts +0 -2
  133. package/dist/types-ts4.0/messages/codeBidiWarning.d.ts +0 -11
  134. package/dist/types-ts4.0/messages/codeBlockCopyButton.d.ts +0 -12
  135. package/dist/types-ts4.0/messages/index.d.ts +0 -128
  136. package/dist/types-ts4.0/messages/insert-block.d.ts +0 -167
  137. package/dist/types-ts4.0/messages/link.d.ts +0 -7
  138. package/dist/types-ts4.0/messages/unsupportedContent.d.ts +0 -17
  139. package/dist/types-ts4.0/node-width/index.d.ts +0 -7
  140. package/dist/types-ts4.0/normalize-feature-flags.d.ts +0 -20
  141. package/dist/types-ts4.0/panel.d.ts +0 -1
  142. package/dist/types-ts4.0/provider-factory/autoformatting-provider.d.ts +0 -9
  143. package/dist/types-ts4.0/provider-factory/card-provider.d.ts +0 -7
  144. package/dist/types-ts4.0/provider-factory/context-identifier-provider.d.ts +0 -6
  145. package/dist/types-ts4.0/provider-factory/context.d.ts +0 -6
  146. package/dist/types-ts4.0/provider-factory/image-upload-provider.d.ts +0 -6
  147. package/dist/types-ts4.0/provider-factory/macro-provider.d.ts +0 -25
  148. package/dist/types-ts4.0/provider-factory/media-provider.d.ts +0 -15
  149. package/dist/types-ts4.0/provider-factory/profile-card-provider.d.ts +0 -6
  150. package/dist/types-ts4.0/provider-factory/provider-factory.d.ts +0 -17
  151. package/dist/types-ts4.0/provider-factory/quick-insert-provider.d.ts +0 -24
  152. package/dist/types-ts4.0/provider-factory/search-provider.d.ts +0 -12
  153. package/dist/types-ts4.0/provider-factory/types.d.ts +0 -37
  154. package/dist/types-ts4.0/provider-factory/with-providers.d.ts +0 -18
  155. package/dist/types-ts4.0/provider-factory.d.ts +0 -13
  156. package/dist/types-ts4.0/provider-helpers/combine-providers.d.ts +0 -9
  157. package/dist/types-ts4.0/provider-helpers/index.d.ts +0 -1
  158. package/dist/types-ts4.0/provider-helpers/promise-helpers.d.ts +0 -32
  159. package/dist/types-ts4.0/react-node-view/index.d.ts +0 -52
  160. package/dist/types-ts4.0/react-node-view/types.d.ts +0 -12
  161. package/dist/types-ts4.0/safe-plugin/index.d.ts +0 -6
  162. package/dist/types-ts4.0/selection/gap-cursor/selection.d.ts +0 -40
  163. package/dist/types-ts4.0/selection/gap-cursor/utils/index.d.ts +0 -2
  164. package/dist/types-ts4.0/selection/gap-cursor/utils/is-ignored.d.ts +0 -2
  165. package/dist/types-ts4.0/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -2
  166. package/dist/types-ts4.0/selection/index.d.ts +0 -5
  167. package/dist/types-ts4.0/selection/types.d.ts +0 -26
  168. package/dist/types-ts4.0/selection/utils.d.ts +0 -4
  169. package/dist/types-ts4.0/styles/index.d.ts +0 -23
  170. package/dist/types-ts4.0/styles/shared/annotation.d.ts +0 -12
  171. package/dist/types-ts4.0/styles/shared/block-marks.d.ts +0 -1
  172. package/dist/types-ts4.0/styles/shared/blockquote.d.ts +0 -1
  173. package/dist/types-ts4.0/styles/shared/code-block.d.ts +0 -11
  174. package/dist/types-ts4.0/styles/shared/code-mark.d.ts +0 -2
  175. package/dist/types-ts4.0/styles/shared/column-layout.d.ts +0 -2
  176. package/dist/types-ts4.0/styles/shared/date.d.ts +0 -5
  177. package/dist/types-ts4.0/styles/shared/emoji.d.ts +0 -7
  178. package/dist/types-ts4.0/styles/shared/extension.d.ts +0 -2
  179. package/dist/types-ts4.0/styles/shared/headings.d.ts +0 -2
  180. package/dist/types-ts4.0/styles/shared/indentation.d.ts +0 -1
  181. package/dist/types-ts4.0/styles/shared/layout.d.ts +0 -2
  182. package/dist/types-ts4.0/styles/shared/link.d.ts +0 -2
  183. package/dist/types-ts4.0/styles/shared/lists.d.ts +0 -2
  184. package/dist/types-ts4.0/styles/shared/media-single.d.ts +0 -3
  185. package/dist/types-ts4.0/styles/shared/mention.d.ts +0 -3
  186. package/dist/types-ts4.0/styles/shared/panel.d.ts +0 -84
  187. package/dist/types-ts4.0/styles/shared/paragraph.d.ts +0 -1
  188. package/dist/types-ts4.0/styles/shared/rule.d.ts +0 -2
  189. package/dist/types-ts4.0/styles/shared/shadow.d.ts +0 -15
  190. package/dist/types-ts4.0/styles/shared/smart-card.d.ts +0 -7
  191. package/dist/types-ts4.0/styles/shared/status.d.ts +0 -4
  192. package/dist/types-ts4.0/styles/shared/table.d.ts +0 -28
  193. package/dist/types-ts4.0/styles/shared/task-decision.d.ts +0 -4
  194. package/dist/types-ts4.0/styles/shared/text-color.d.ts +0 -1
  195. package/dist/types-ts4.0/styles/shared/whitespace.d.ts +0 -2
  196. package/dist/types-ts4.0/transforms/expand.d.ts +0 -5
  197. package/dist/types-ts4.0/transforms/extension.d.ts +0 -6
  198. package/dist/types-ts4.0/transforms/index.d.ts +0 -3
  199. package/dist/types-ts4.0/transforms/layout.d.ts +0 -15
  200. package/dist/types-ts4.0/type-ahead/index.d.ts +0 -12
  201. package/dist/types-ts4.0/types/annotation/emitter.d.ts +0 -33
  202. package/dist/types-ts4.0/types/annotation/index.d.ts +0 -84
  203. package/dist/types-ts4.0/types/collab.d.ts +0 -8
  204. package/dist/types-ts4.0/types/command.d.ts +0 -5
  205. package/dist/types-ts4.0/types/context-panel.d.ts +0 -3
  206. package/dist/types-ts4.0/types/copy-button.d.ts +0 -20
  207. package/dist/types-ts4.0/types/editor-actions.d.ts +0 -20
  208. package/dist/types-ts4.0/types/editor-appearance.d.ts +0 -1
  209. package/dist/types-ts4.0/types/editor-container-width.d.ts +0 -20
  210. package/dist/types-ts4.0/types/editor-plugin.d.ts +0 -61
  211. package/dist/types-ts4.0/types/editor-react-context.d.ts +0 -6
  212. package/dist/types-ts4.0/types/empty-state-handler.d.ts +0 -7
  213. package/dist/types-ts4.0/types/feature-flags.d.ts +0 -344
  214. package/dist/types-ts4.0/types/floating-toolbar.d.ts +0 -210
  215. package/dist/types-ts4.0/types/index.d.ts +0 -34
  216. package/dist/types-ts4.0/types/plugin-factory.d.ts +0 -27
  217. package/dist/types-ts4.0/types/prosemirror-config.d.ts +0 -14
  218. package/dist/types-ts4.0/types/quick-insert.d.ts +0 -26
  219. package/dist/types-ts4.0/types/supported-browsers.d.ts +0 -15
  220. package/dist/types-ts4.0/types/toolbar.d.ts +0 -30
  221. package/dist/types-ts4.0/types/type-ahead.d.ts +0 -64
  222. package/dist/types-ts4.0/types/ui-components.d.ts +0 -22
  223. package/dist/types-ts4.0/ufo/experience-store.d.ts +0 -33
  224. package/dist/types-ts4.0/ufo/index.d.ts +0 -1
  225. package/dist/types-ts4.0/ui/BaseTheme/index.d.ts +0 -15
  226. package/dist/types-ts4.0/ui/Caption/index.d.ts +0 -19
  227. package/dist/types-ts4.0/ui/Caption/messages.d.ts +0 -7
  228. package/dist/types-ts4.0/ui/DropList/index.d.ts +0 -19
  229. package/dist/types-ts4.0/ui/Emoji/index.d.ts +0 -20
  230. package/dist/types-ts4.0/ui/ErrorBoundary/index.d.ts +0 -24
  231. package/dist/types-ts4.0/ui/EventHandlers/index.d.ts +0 -36
  232. package/dist/types-ts4.0/ui/Expand/index.d.ts +0 -43
  233. package/dist/types-ts4.0/ui/IntlErrorBoundary/index.d.ts +0 -15
  234. package/dist/types-ts4.0/ui/IntlProviderIfMissingWrapper/index.d.ts +0 -6
  235. package/dist/types-ts4.0/ui/Layer/index.d.ts +0 -47
  236. package/dist/types-ts4.0/ui/Layer/internal/helpers.d.ts +0 -5
  237. package/dist/types-ts4.0/ui/MediaSingle/grid.d.ts +0 -10
  238. package/dist/types-ts4.0/ui/MediaSingle/index.d.ts +0 -24
  239. package/dist/types-ts4.0/ui/MediaSingle/link.d.ts +0 -1
  240. package/dist/types-ts4.0/ui/MediaSingle/styled.d.ts +0 -43
  241. package/dist/types-ts4.0/ui/Mention/index.d.ts +0 -21
  242. package/dist/types-ts4.0/ui/Mention/mention-with-profilecard.d.ts +0 -15
  243. package/dist/types-ts4.0/ui/Mention/mention-with-providers.d.ts +0 -22
  244. package/dist/types-ts4.0/ui/Mention/types.d.ts +0 -2
  245. package/dist/types-ts4.0/ui/Messages/index.d.ts +0 -11
  246. package/dist/types-ts4.0/ui/OverflowShadow/index.d.ts +0 -103
  247. package/dist/types-ts4.0/ui/OverflowShadow/shadowObserver.d.ts +0 -27
  248. package/dist/types-ts4.0/ui/Popup/index.d.ts +0 -64
  249. package/dist/types-ts4.0/ui/Popup/utils.d.ts +0 -42
  250. package/dist/types-ts4.0/ui/PortalProvider/PortalProviderThemesProvider.d.ts +0 -6
  251. package/dist/types-ts4.0/ui/PortalProvider/index.d.ts +0 -51
  252. package/dist/types-ts4.0/ui/UnsupportedBlock/index.d.ts +0 -14
  253. package/dist/types-ts4.0/ui/UnsupportedInline/index.d.ts +0 -14
  254. package/dist/types-ts4.0/ui/WidthProvider/index.d.ts +0 -29
  255. package/dist/types-ts4.0/ui/WithCreateAnalyticsEvent/index.d.ts +0 -6
  256. package/dist/types-ts4.0/ui/clear-next-sibling-margin-top.d.ts +0 -2
  257. package/dist/types-ts4.0/ui/index.d.ts +0 -26
  258. package/dist/types-ts4.0/ui/unsupported-content-helper.d.ts +0 -3
  259. package/dist/types-ts4.0/ui/with-outer-listeners.d.ts +0 -8
  260. package/dist/types-ts4.0/ui-color/ColorPalette/Color/index.d.ts +0 -19
  261. package/dist/types-ts4.0/ui-color/ColorPalette/Color/styles.d.ts +0 -4
  262. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +0 -3
  263. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/common.d.ts +0 -2
  264. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +0 -2
  265. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/index.d.ts +0 -2
  266. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +0 -113
  267. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/panelBackgroundPalette.d.ts +0 -4
  268. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
  269. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +0 -3
  270. package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/type.d.ts +0 -8
  271. package/dist/types-ts4.0/ui-color/ColorPalette/index.d.ts +0 -15
  272. package/dist/types-ts4.0/ui-color/ColorPalette/styles.d.ts +0 -1
  273. package/dist/types-ts4.0/ui-color/index.d.ts +0 -9
  274. package/dist/types-ts4.0/ui-menu/Dropdown/index.d.ts +0 -35
  275. package/dist/types-ts4.0/ui-menu/DropdownMenu/index.d.ts +0 -19
  276. package/dist/types-ts4.0/ui-menu/DropdownMenu/types.d.ts +0 -46
  277. package/dist/types-ts4.0/ui-menu/ToolbarButton/index.d.ts +0 -53
  278. package/dist/types-ts4.0/ui-menu/ToolbarButton/styles.d.ts +0 -4
  279. package/dist/types-ts4.0/ui-menu/index.d.ts +0 -5
  280. package/dist/types-ts4.0/ui-react/ReactEditorViewContext.d.ts +0 -8
  281. package/dist/types-ts4.0/ui-react/index.d.ts +0 -2
  282. package/dist/types-ts4.0/ui-react/with-react-editor-view-outer-listeners.d.ts +0 -9
  283. package/dist/types-ts4.0/utils/analytics.d.ts +0 -48
  284. package/dist/types-ts4.0/utils/annotation/index.d.ts +0 -8
  285. package/dist/types-ts4.0/utils/breakout.d.ts +0 -35
  286. package/dist/types-ts4.0/utils/browser-extensions.d.ts +0 -43
  287. package/dist/types-ts4.0/utils/browser.d.ts +0 -4
  288. package/dist/types-ts4.0/utils/collab.d.ts +0 -2
  289. package/dist/types-ts4.0/utils/compare-props.d.ts +0 -32
  290. package/dist/types-ts4.0/utils/compareNodes.d.ts +0 -31
  291. package/dist/types-ts4.0/utils/compose.d.ts +0 -30
  292. package/dist/types-ts4.0/utils/date.d.ts +0 -18
  293. package/dist/types-ts4.0/utils/dom.d.ts +0 -40
  294. package/dist/types-ts4.0/utils/editor-core-utils.d.ts +0 -24
  295. package/dist/types-ts4.0/utils/error-reporter.d.ts +0 -13
  296. package/dist/types-ts4.0/utils/extension-handler.d.ts +0 -2
  297. package/dist/types-ts4.0/utils/get-performance-options.d.ts +0 -18
  298. package/dist/types-ts4.0/utils/getModeFromTheme.d.ts +0 -1
  299. package/dist/types-ts4.0/utils/imageLoader.d.ts +0 -14
  300. package/dist/types-ts4.0/utils/index.d.ts +0 -49
  301. package/dist/types-ts4.0/utils/is-text-input.d.ts +0 -2
  302. package/dist/types-ts4.0/utils/macro.d.ts +0 -10
  303. package/dist/types-ts4.0/utils/nodes.d.ts +0 -35
  304. package/dist/types-ts4.0/utils/outdated-browsers.d.ts +0 -1
  305. package/dist/types-ts4.0/utils/performance/hooks/use-component-render-tracking/index.d.ts +0 -19
  306. package/dist/types-ts4.0/utils/performance/is-performance-api-available.d.ts +0 -3
  307. package/dist/types-ts4.0/utils/performance/measure-render.d.ts +0 -41
  308. package/dist/types-ts4.0/utils/performance/measure-tti.d.ts +0 -14
  309. package/dist/types-ts4.0/utils/performance/measure.d.ts +0 -3
  310. package/dist/types-ts4.0/utils/performance/navigation.d.ts +0 -1
  311. package/dist/types-ts4.0/utils/plugin-state-factory.d.ts +0 -16
  312. package/dist/types-ts4.0/utils/profiler/render-count.d.ts +0 -50
  313. package/dist/types-ts4.0/utils/referentiality.d.ts +0 -3
  314. package/dist/types-ts4.0/utils/sendLogs.d.ts +0 -1
  315. package/dist/types-ts4.0/utils/should-force-tracking.d.ts +0 -1
  316. package/dist/types-ts4.0/utils/slice.d.ts +0 -11
  317. package/dist/types-ts4.0/utils/table.d.ts +0 -4
  318. package/dist/types-ts4.0/utils/track-unsupported-content.d.ts +0 -8
  319. package/dist/types-ts4.0/utils/traversor.d.ts +0 -9
  320. package/dist/types-ts4.0/utils/types.d.ts +0 -2
  321. package/dist/types-ts4.0/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +0 -57
  322. package/dist/types-ts4.0/utils/validate-using-spec.d.ts +0 -19
  323. package/dist/types-ts4.0/utils/validator.d.ts +0 -42
  324. package/dist/types-ts4.0/utils/whitespace.d.ts +0 -2
  325. package/dist/types-ts4.0/validator.d.ts +0 -2
  326. package/dist/types-ts4.0/with-plugin-state/index.d.ts +0 -88
  327. package/dist/types-ts4.0/with-plugin-state/types.d.ts +0 -10
@@ -1,3 +0,0 @@
1
- import type React from 'react';
2
- import type { EditorState } from 'prosemirror-state';
3
- export declare type ContextPanelHandler = (state: EditorState) => React.ReactNode;
@@ -1,20 +0,0 @@
1
- import { MarkType, NodeType } from 'prosemirror-model';
2
- import { EditorState } from 'prosemirror-state';
3
- import { IntlShape } from 'react-intl-next';
4
- import { Command } from './command';
5
- export declare type MarkOptions = {
6
- state: EditorState;
7
- formatMessage: IntlShape['formatMessage'];
8
- nodeType?: undefined;
9
- markType: MarkType;
10
- onMouseEnter?: undefined;
11
- onMouseLeave?: undefined;
12
- };
13
- export declare type NodeOptions = {
14
- state: EditorState;
15
- formatMessage: IntlShape['formatMessage'];
16
- nodeType: NodeType | Array<NodeType>;
17
- markType?: undefined;
18
- onMouseEnter?: Command;
19
- onMouseLeave?: Command;
20
- };
@@ -1,20 +0,0 @@
1
- import { Node } from 'prosemirror-model';
2
- import { EditorView } from 'prosemirror-view';
3
- import { JSONDocNode } from '@atlaskit/editor-json-transformer';
4
- import { ResolvedEditorState } from '../collab';
5
- import { EventDispatcher } from '../event-dispatcher';
6
- export declare type ContextUpdateHandler = (editorView: EditorView, eventDispatcher: EventDispatcher) => void;
7
- export interface EditorActionsOptions<T = any> {
8
- focus(): boolean;
9
- blur(): boolean;
10
- clear(): boolean;
11
- getValue(): Promise<T | JSONDocNode | undefined>;
12
- getNodeByLocalId(id: string): Node | undefined;
13
- getNodeByFragmentLocalId(id: string): Node | undefined;
14
- getSelectedNode(): Node | undefined;
15
- replaceDocument(rawValue: any): boolean;
16
- replaceSelection(rawValue: Node | Object | string): boolean;
17
- appendText(text: string): boolean;
18
- isDocumentEmpty(): boolean;
19
- getResolvedEditorState(): Promise<ResolvedEditorState | undefined>;
20
- }
@@ -1 +0,0 @@
1
- export declare type EditorAppearance = 'comment' | 'full-page' | 'full-width' | 'chromeless' | 'mobile';
@@ -1,20 +0,0 @@
1
- export declare type EditorContainerWidth = {
2
- /**
3
- * Starts as offsetWidth of document body, and then
4
- * updates to the editors content areas offsetWidth
5
- * via the use of a contentComponent (via the
6
- * container element prop).
7
- */
8
- width: number;
9
- containerWidth?: number;
10
- /**
11
- * Starts as undefined, and then updates to the
12
- * clientWidth of the dom element the EditorView
13
- * is attached to.
14
- *
15
- * Then the WidthEmitter updates this whenever the
16
- * context panel or editor widths change.
17
- */
18
- lineLength?: number;
19
- };
20
- export declare type GetEditorContainerWidth = () => EditorContainerWidth;
@@ -1,61 +0,0 @@
1
- import type { EditorState, Transaction } from 'prosemirror-state';
2
- import type { ContextPanelHandler } from './context-panel';
3
- import type { FloatingToolbarHandler } from './floating-toolbar';
4
- import type { PMPlugin } from './plugin-factory';
5
- import type { MarkConfig, NodeConfig } from './prosemirror-config';
6
- import type { QuickInsertHandler } from './quick-insert';
7
- import type { ToolbarUIComponentFactory } from './toolbar';
8
- import type { TypeAheadHandler } from './type-ahead';
9
- import type { UIComponentFactory } from './ui-components';
10
- export declare type PluginsOptions = {
11
- [pluginName: string]: any;
12
- quickInsert?: QuickInsertHandler;
13
- typeAhead?: TypeAheadHandler;
14
- floatingToolbar?: FloatingToolbarHandler;
15
- contextPanel?: ContextPanelHandler;
16
- };
17
- declare type EditorViewStateUpdatedCallbackProps = {
18
- readonly originalTransaction: Readonly<Transaction>;
19
- readonly transactions: Transaction[];
20
- readonly oldEditorState: Readonly<EditorState>;
21
- readonly newEditorState: Readonly<EditorState>;
22
- };
23
- export interface EditorPlugin {
24
- /**
25
- * Name of a plugin, that other plugins can use to provide options to it or exclude via a preset.
26
- */
27
- name: string;
28
- /**
29
- * Options that will be passed to a plugin with a corresponding name if it exists and enabled.
30
- */
31
- pluginsOptions?: PluginsOptions;
32
- /**
33
- * List of ProseMirror-plugins. This is where we define which plugins will be added to EditorView (main-plugin, keybindings, input-rules, etc.).
34
- */
35
- pmPlugins?: (pluginOptions?: any) => Array<PMPlugin>;
36
- /**
37
- * List of Nodes to add to the schema.
38
- */
39
- nodes?: () => NodeConfig[];
40
- /**
41
- * List of Marks to add to the schema.
42
- */
43
- marks?: () => MarkConfig[];
44
- /**
45
- * Optional UI-component that lives inside the actual content-area (like mention-picker, floating toolbar for links, etc.)
46
- */
47
- contentComponent?: UIComponentFactory;
48
- /**
49
- * Optional UI-component that will be added to the toolbar at the top of the editor (doesn't exist in the compact-editor).
50
- */
51
- primaryToolbarComponent?: ToolbarUIComponentFactory;
52
- /**
53
- * Optional UI-component that will be added to the toolbar at the bottom right of the editor. (doesn't exist in the full-page editor)
54
- * In compact mode this toolbar lives on the right-hand side of the editor.
55
- */
56
- secondaryToolbarComponent?: UIComponentFactory;
57
- onEditorViewStateUpdated?: (props: EditorViewStateUpdatedCallbackProps) => void;
58
- }
59
- export declare type getPosHandler = getPosHandlerNode | boolean;
60
- export declare type getPosHandlerNode = () => number;
61
- export {};
@@ -1,6 +0,0 @@
1
- import type { IntlShape } from 'react-intl-next';
2
- import type { UIAnalyticsEventHandler } from '@atlaskit/analytics-next';
3
- export declare type EditorReactContext = {
4
- getAtlaskitAnalyticsEventHandlers: () => UIAnalyticsEventHandler[];
5
- intl: IntlShape;
6
- };
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export declare type EmptyStateHandler = (params: EmptyStateHandlerParams) => React.ReactElement<any> | null;
3
- export declare type EmptyStateHandlerParams = {
4
- mode: string;
5
- selectedCategory?: string;
6
- searchTerm?: string;
7
- };
@@ -1,344 +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 declare 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 additional text colours within the colour palette.
73
- *
74
- * @see https://product-fabric.atlassian.net/l/c/YhyvfWqg
75
- * @default false
76
- */
77
- moreTextColors?: boolean;
78
- /**
79
- * @description
80
- * Enable find/replace functionality within the editor
81
- *
82
- * @see https://product-fabric.atlassian.net/browse/ED-3504
83
- * @default false
84
- */
85
- findReplace?: boolean;
86
- /**
87
- * @description
88
- * Enable case matching functionality in find/replace feature within the editor
89
- *
90
- * @see https://product-fabric.atlassian.net/browse/ED-9684
91
- * @default false
92
- */
93
- findReplaceMatchCase?: boolean;
94
- /**
95
- * @description
96
- * Enable `localId` generation for extensions.
97
- *
98
- * @see https://product-fabric.atlassian.net/l/c/2m0i9jLX
99
- * @default false
100
- */
101
- extensionLocalIdGeneration?: boolean;
102
- /**
103
- * @description
104
- * Enable date picker which has a textbox for internationalised keyboard date
105
- * input.
106
- *
107
- * @see https://product-fabric.atlassian.net/browse/ED-8928
108
- * @default false
109
- */
110
- keyboardAccessibleDatepicker?: boolean;
111
- /**
112
- * @description
113
- * Enable add column custom step
114
- *
115
- * @see https://product-fabric.atlassian.net/browse/ED-8856
116
- * @default false
117
- */
118
- addColumnWithCustomStep?: boolean;
119
- /**
120
- * @description
121
- * Enable undo/redo buttons and functionality within the editor
122
- *
123
- * @see https://product-fabric.atlassian.net/browse/ED-9537
124
- * @default false
125
- */
126
- undoRedoButtons?: boolean;
127
- /**
128
- * @description
129
- * Measure render performance for all tracked analytics events
130
- *
131
- * @default false
132
- */
133
- catchAllTracking?: boolean;
134
- /**
135
- * @description
136
- * Enables performance optimization for sticky headers in tables
137
- *
138
- * @see https://product-fabric.atlassian.net/browse/ED-11807
139
- * @default false
140
- */
141
- stickyHeadersOptimization?: boolean;
142
- /**
143
- * @description
144
- * Enables performance optimization for initial table render
145
- *
146
- * @see https://product-fabric.atlassian.net/browse/ED-11647
147
- * @default false
148
- */
149
- initialRenderOptimization?: boolean;
150
- /**
151
- * @description
152
- * Enables performance optimization for mousemove inside table
153
- *
154
- * @see https://product-fabric.atlassian.net/browse/ED-11577
155
- * @default false
156
- */
157
- mouseMoveOptimization?: boolean;
158
- /**
159
- * @description
160
- * Enables performance optimization for table rendering on keypress
161
- *
162
- * @see https://product-fabric.atlassian.net/browse/ED-11640
163
- * @default false
164
- */
165
- tableRenderOptimization?: boolean;
166
- /**
167
- * @description
168
- * Enables performance optimization for table rendering on keypress
169
- *
170
- * @see https://product-fabric.atlassian.net/browse/ED-11781
171
- * @default false
172
- */
173
- tableOverflowShadowsOptimization?: boolean;
174
- /**
175
- * @description
176
- * Yield to user interaction work before sending analytics
177
- *
178
- * @see https://product-fabric.atlassian.net/browse/ED-10584
179
- * @default false
180
- */
181
- queueAnalytics?: boolean;
182
- /**
183
- * Enable extend floating toolbars
184
- * @see https://product-fabric.atlassian.net/browse/ED-11963
185
- * @default false
186
- */
187
- extendFloatingToolbar?: boolean;
188
- /**
189
- * Show the avatar group as a plugin
190
- * @see https://product-fabric.atlassian.net/browse/CERN-747
191
- * @default false
192
- */
193
- showAvatarGroupAsPlugin?: boolean;
194
- /**
195
- * @description
196
- * Enables docStructure for unhandleErrorEvents
197
- *
198
- * @see https://product-fabric.atlassian.net/browse/ED-12998
199
- * @default false
200
- */
201
- errorBoundaryDocStructure?: boolean;
202
- /**
203
- * @description
204
- * Enables docStructure for synchronyError
205
- *
206
- * @see https://product-fabric.atlassian.net/browse/ED-12998
207
- * @default false
208
- */
209
- synchronyErrorDocStructure?: boolean;
210
- /**
211
- * @decsription
212
- * Enables the view update subscription plugin
213
- *
214
- * @default false
215
- */
216
- enableViewUpdateSubscription?: boolean;
217
- /**
218
- * @description
219
- * Enable scroll-to-telepointer for collab avatars
220
- *
221
- * @see https://product-fabric.atlassian.net/browse/ED-12460
222
- * @default false
223
- */
224
- collabAvatarScroll?: boolean;
225
- /**
226
- * @description
227
- * Enable UFO experiences
228
- *
229
- * @see https://product-fabric.atlassian.net/browse/ED-13059
230
- * @default false
231
- */
232
- ufo?: boolean;
233
- /**
234
- * Split editor toolbar to two lines when viewport is small
235
- * @see https://product-fabric.atlassian.net/browse/CERN-1124
236
- * @default false
237
- */
238
- twoLineEditorToolbar?: boolean;
239
- /**
240
- * Prevent transactions from being mutated (e.g. apply, filterTransaction,
241
- * appendTransaction) after being dispatched
242
- * @see https://product-fabric.atlassian.net/wiki/spaces/E/pages/3131836958/Editor+DACI+013+Avoid+content+loss+with+bad+transactions+Ghost+Steps
243
- * @see https://product-fabric.atlassian.net/browse/ED-14002
244
- * @default false
245
- */
246
- saferDispatchedTransactions?: boolean;
247
- /**
248
- * Create non-smart hyperlinks on plain text paste (Cmd/Ctrl+Shift+v)
249
- * @see https://product-fabric.atlassian.net/browse/EDM-2492
250
- * @default false
251
- */
252
- plainTextPasteLinkification?: boolean;
253
- /**
254
- * @description
255
- * Enable new collab service
256
- * @see https://product-fabric.atlassian.net/browse/ED-14097
257
- * @default false
258
- */
259
- useNativeCollabPlugin?: boolean;
260
- /**
261
- * Enable custom up/down key handler when cursor below/above an inline media
262
- * @see https://product-fabric.atlassian.net/browse/ED-13066
263
- * Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1227468
264
- * @default undefined
265
- */
266
- chromeCursorHandlerFixedVersion?: number;
267
- /**
268
- * Enable table cell options in the floating toolbar
269
- * @see https://product-fabric.atlassian.net/browse/ED-14418
270
- * @default false
271
- */
272
- tableCellOptionsInFloatingToolbar?: boolean;
273
- /**
274
- * Number to distinguish between which different toolbar is being displayed
275
- * as part of the smart link view changing experiment run by the Linking Platform.
276
- * @see https://product-fabric.atlassian.net/browse/EDM-2640
277
- * @default null
278
- */
279
- viewChangingExperimentToolbarStyle?: string;
280
- /**
281
- * @description
282
- * Enable display of a preview modal on mouse over of inline smart card
283
- *
284
- * @see https://product-fabric.atlassian.net/browse/EDM-2860
285
- * @default false
286
- */
287
- showHoverPreview?: boolean;
288
- /**
289
- * @description
290
- * Generic way of disabling spellcheck per browser by version range
291
- *
292
- * @see https://product-fabric.atlassian.net/browse/ED-14510
293
- * @default {}
294
- * Example:
295
- * {
296
- * ie: {
297
- * minimum: 101,
298
- * },
299
- * chrome: {
300
- * minimum: 96,
301
- * maximum: 109,
302
- * },
303
- * };
304
- */
305
- disableSpellcheckByBrowser?: DisableSpellcheckByBrowser | undefined;
306
- /**
307
- * @description
308
- * Show indentation buttons in the Editor toolbar
309
- *
310
- * @see https://product-fabric.atlassian.net/wiki/spaces/E/pages/3237512038/EXPLORE+Indentation+buttons+in+the+Editor+toolbar
311
- * @see https://product-fabric.atlassian.net/browse/ED-15067
312
- * @default false
313
- */
314
- indentationButtonsInTheToolbar?: boolean;
315
- /**
316
- * @description
317
- * Show copy buttons in the Floating toolbar
318
- *
319
- * @see https://product-fabric.atlassian.net/wiki/spaces/E/pages/3237609689/Cubone+Mini+project+-+Copy+button+in+the+floating+toolbar
320
- * @see https://product-fabric.atlassian.net/browse/ED-15090
321
- * @default false
322
- */
323
- floatingToolbarCopyButton?: boolean;
324
- /**
325
- * @description
326
- * Use the linking platform link picker for link insertion and edit
327
- *
328
- * @see https://product-fabric.atlassian.net/wiki/spaces/EM/pages/3158246501/PP+Link+Picker+-+Standalone
329
- * @see https://product-fabric.atlassian.net/browse/EDM-2577
330
- * @default false
331
- */
332
- lpLinkPicker?: boolean;
333
- /**
334
- * @description
335
- * Show link settings button in the Floating toolbar
336
- *
337
- * @see https://product-fabric.atlassian.net/wiki/spaces/EM/pages/3199172609/POP+Some+users+need+to+work+with+URLs+to+get+their+job+done
338
- * @see https://product-fabric.atlassian.net/browse/EDM-3268
339
- * @default null
340
- */
341
- floatingToolbarLinkSettingsButton?: string;
342
- };
343
- export declare type FeatureFlagKey = keyof FeatureFlags;
344
- export declare type GetEditorFeatureFlags = () => FeatureFlags;