@atlaskit/editor-core 185.15.0 → 185.15.4

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 (103) hide show
  1. package/.eslintrc.js +2 -0
  2. package/CHANGELOG.md +12 -0
  3. package/dist/cjs/actions/index.js +1 -1
  4. package/dist/cjs/commands/index.js +1 -1
  5. package/dist/cjs/editor-next/editor-internal.js +17 -17
  6. package/dist/cjs/editor-next/hooks/useMeasureEditorMountTime.js +1 -1
  7. package/dist/cjs/editor-next/hooks/useProviderFactory.js +3 -3
  8. package/dist/cjs/editor-next/index.js +15 -15
  9. package/dist/cjs/editor-next/utils/editorMeasureTTICallback.js +2 -2
  10. package/dist/cjs/editor-next/utils/onEditorCreated.js +1 -1
  11. package/dist/cjs/editor-next/utils/sendDurationAnalytics.js +1 -1
  12. package/dist/cjs/editor.js +5 -5
  13. package/dist/cjs/messages.js +4 -4
  14. package/dist/cjs/nodeviews/context-adapter.js +1 -1
  15. package/dist/cjs/nodeviews/getInlineNodeViewProducer.styles.js +1 -1
  16. package/dist/cjs/plugins/card/pm-plugins/main.js +1 -1
  17. package/dist/cjs/plugins/type-ahead/commands/insert-type-ahead-item.js +4 -4
  18. package/dist/cjs/test-utils.js +3 -3
  19. package/dist/cjs/version-wrapper.js +1 -1
  20. package/dist/cjs/version.json +1 -1
  21. package/dist/es2019/actions/index.js +2 -3
  22. package/dist/es2019/commands/index.js +1 -1
  23. package/dist/es2019/editor-next/editor-internal.js +6 -7
  24. package/dist/es2019/editor-next/hooks/useMeasureEditorMountTime.js +1 -1
  25. package/dist/es2019/editor-next/hooks/useProviderFactory.js +3 -3
  26. package/dist/es2019/editor-next/index.js +10 -11
  27. package/dist/es2019/editor-next/utils/editorMeasureTTICallback.js +2 -2
  28. package/dist/es2019/editor-next/utils/onEditorCreated.js +1 -1
  29. package/dist/es2019/editor-next/utils/sendDurationAnalytics.js +1 -1
  30. package/dist/es2019/editor.js +1 -1
  31. package/dist/es2019/messages.js +1 -1
  32. package/dist/es2019/nodeviews/context-adapter.js +1 -1
  33. package/dist/es2019/nodeviews/getInlineNodeViewProducer.styles.js +1 -1
  34. package/dist/es2019/plugins/card/pm-plugins/main.js +1 -1
  35. package/dist/es2019/plugins/type-ahead/commands/insert-type-ahead-item.js +5 -5
  36. package/dist/es2019/test-utils.js +3 -3
  37. package/dist/es2019/version-wrapper.js +1 -1
  38. package/dist/es2019/version.json +1 -1
  39. package/dist/esm/actions/index.js +2 -3
  40. package/dist/esm/commands/index.js +1 -1
  41. package/dist/esm/editor-next/editor-internal.js +6 -7
  42. package/dist/esm/editor-next/hooks/useMeasureEditorMountTime.js +1 -1
  43. package/dist/esm/editor-next/hooks/useProviderFactory.js +3 -3
  44. package/dist/esm/editor-next/index.js +10 -11
  45. package/dist/esm/editor-next/utils/editorMeasureTTICallback.js +2 -2
  46. package/dist/esm/editor-next/utils/onEditorCreated.js +1 -1
  47. package/dist/esm/editor-next/utils/sendDurationAnalytics.js +1 -1
  48. package/dist/esm/editor.js +1 -1
  49. package/dist/esm/messages.js +1 -1
  50. package/dist/esm/nodeviews/context-adapter.js +1 -1
  51. package/dist/esm/nodeviews/getInlineNodeViewProducer.styles.js +1 -1
  52. package/dist/esm/plugins/card/pm-plugins/main.js +1 -1
  53. package/dist/esm/plugins/type-ahead/commands/insert-type-ahead-item.js +5 -5
  54. package/dist/esm/test-utils.js +3 -3
  55. package/dist/esm/version-wrapper.js +1 -1
  56. package/dist/esm/version.json +1 -1
  57. package/dist/types/actions/index.d.ts +2 -2
  58. package/dist/types/commands/index.d.ts +2 -2
  59. package/dist/types/create-editor/get-plugins.d.ts +6 -6
  60. package/dist/types/editor-next/editor-internal.d.ts +5 -6
  61. package/dist/types/editor-next/hooks/useMeasureEditorMountTime.d.ts +1 -1
  62. package/dist/types/editor-next/hooks/useProviderFactory.d.ts +3 -3
  63. package/dist/types/editor-next/index.d.ts +2 -1
  64. package/dist/types/editor-next/utils/deprecationWarnings.d.ts +1 -1
  65. package/dist/types/editor-next/utils/handleProviders.d.ts +1 -2
  66. package/dist/types/editor-next/utils/onEditorCreated.d.ts +3 -3
  67. package/dist/types/editor-next/utils/sendDurationAnalytics.d.ts +1 -1
  68. package/dist/types/editor-next/utils/trackEditorActions.d.ts +1 -1
  69. package/dist/types/editor.d.ts +1 -1
  70. package/dist/types/messages.d.ts +1 -1
  71. package/dist/types/selection-api/api.d.ts +1 -1
  72. package/dist/types/test-utils.d.ts +3 -3
  73. package/dist/types/types/editor-appearance-component.d.ts +8 -8
  74. package/dist/types/types/editor-config.d.ts +3 -3
  75. package/dist/types/types/editor-props.d.ts +10 -10
  76. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +1 -1
  77. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +2 -2
  78. package/dist/types/ui/ConfigPanel/FormErrorBoundary.d.ts +1 -1
  79. package/dist/types/ui/ContentStyles/index.d.ts +2 -2
  80. package/dist/types-ts4.5/actions/index.d.ts +2 -2
  81. package/dist/types-ts4.5/commands/index.d.ts +2 -2
  82. package/dist/types-ts4.5/create-editor/get-plugins.d.ts +6 -6
  83. package/dist/types-ts4.5/editor-next/editor-internal.d.ts +5 -6
  84. package/dist/types-ts4.5/editor-next/hooks/useMeasureEditorMountTime.d.ts +1 -1
  85. package/dist/types-ts4.5/editor-next/hooks/useProviderFactory.d.ts +3 -3
  86. package/dist/types-ts4.5/editor-next/index.d.ts +2 -1
  87. package/dist/types-ts4.5/editor-next/utils/deprecationWarnings.d.ts +1 -1
  88. package/dist/types-ts4.5/editor-next/utils/handleProviders.d.ts +1 -2
  89. package/dist/types-ts4.5/editor-next/utils/onEditorCreated.d.ts +3 -3
  90. package/dist/types-ts4.5/editor-next/utils/sendDurationAnalytics.d.ts +1 -1
  91. package/dist/types-ts4.5/editor-next/utils/trackEditorActions.d.ts +1 -1
  92. package/dist/types-ts4.5/editor.d.ts +1 -1
  93. package/dist/types-ts4.5/messages.d.ts +1 -1
  94. package/dist/types-ts4.5/selection-api/api.d.ts +1 -1
  95. package/dist/types-ts4.5/test-utils.d.ts +3 -3
  96. package/dist/types-ts4.5/types/editor-appearance-component.d.ts +8 -8
  97. package/dist/types-ts4.5/types/editor-config.d.ts +3 -3
  98. package/dist/types-ts4.5/types/editor-props.d.ts +10 -10
  99. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +1 -1
  100. package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +2 -2
  101. package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +1 -1
  102. package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
  103. package/package.json +2 -2
@@ -1,39 +1,39 @@
1
+ import { ReactElement, RefObject } from 'react';
1
2
  import { Node, Schema } from 'prosemirror-model';
2
3
  import { EditorView } from 'prosemirror-view';
3
- import { ReactElement, RefObject } from 'react';
4
- import EditorActions from '../actions';
4
+ import { ActivityProvider } from '@atlaskit/activity-provider';
5
+ import { CardOptions } from '@atlaskit/editor-common/card';
5
6
  import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
7
+ import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
6
8
  import type { ContextIdentifierProvider, Providers, SearchProvider } from '@atlaskit/editor-common/provider-factory';
7
- import type { Transformer, AllEditorPresetPluginTypes } from '@atlaskit/editor-common/types';
9
+ import type { AllEditorPresetPluginTypes, Transformer } from '@atlaskit/editor-common/types';
10
+ import type { LinkingOptions } from '@atlaskit/editor-common/types';
8
11
  import type { ErrorReportingHandler } from '@atlaskit/editor-common/utils';
9
- import { ActivityProvider } from '@atlaskit/activity-provider';
12
+ import { PluginConfig as TablesPluginConfig } from '@atlaskit/editor-plugin-table/types';
10
13
  import { MentionProvider } from '@atlaskit/mention/resource';
11
14
  import { TaskDecisionProvider } from '@atlaskit/task-decision';
12
- import { CardOptions } from '@atlaskit/editor-common/card';
13
- import { PluginConfig as TablesPluginConfig } from '@atlaskit/editor-plugin-table/types';
15
+ import EditorActions from '../actions';
14
16
  import { AnnotationProviders } from '../plugins/annotation/types';
15
17
  import { BlockTypePluginOptions } from '../plugins/block-type/types';
16
18
  import { CodeBlockOptions } from '../plugins/code-block/types';
17
19
  import { CollabEditOptions } from '../plugins/collab-edit/types';
18
20
  import { DatePluginConfig } from '../plugins/date/types';
19
21
  import { FindReplaceOptions } from '../plugins/find-replace/types';
20
- import type { LinkingOptions } from '@atlaskit/editor-common/types';
21
22
  import { LayoutPluginOptions } from '../plugins/layout/types';
22
23
  import { MediaOptions, MediaState } from '../plugins/media/types';
24
+ import { MentionPluginConfig } from '../plugins/mentions/types';
25
+ import { PanelPluginConfig } from '../plugins/panel/types';
23
26
  import { PlaceholderTextOptions } from '../plugins/placeholder-text/types';
24
27
  import { QuickInsertOptions } from '../plugins/quick-insert/types';
25
28
  import { TextColorPluginConfig } from '../plugins/text-color/pm-plugins/main';
26
29
  import { TextFormattingOptions } from '../plugins/text-formatting/types';
27
30
  import { MenuItem } from '../ui/DropdownMenu/types';
28
- import { MentionPluginConfig } from './../plugins/mentions/types';
29
- import { PanelPluginConfig } from './../plugins/panel/types';
30
31
  import { EditorAppearance } from './editor-appearance';
31
32
  import { EditorOnChangeHandler } from './editor-onchange';
32
33
  import { EditorPlugin } from './editor-plugin';
33
34
  import { EmptyStateHandler } from './empty-state-handler';
34
35
  import { ExtensionConfig } from './extension-config';
35
36
  import { PerformanceTracking } from './performance-tracking';
36
- import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
37
37
  export type ReactComponents = ReactElement<any> | ReactElement<any>[];
38
38
  type ExtensionProviders = (ExtensionProvider | Promise<ExtensionProvider>)[];
39
39
  type ExtensionProvidersWithEditorAction = (editorActions?: EditorActions) => ExtensionProviders;
@@ -32,7 +32,7 @@ type ScrollContainerRefs = {
32
32
  scrollContainer: HTMLDivElement | null;
33
33
  contentArea: HTMLDivElement | null;
34
34
  };
35
- export declare const FullPageContentArea: React.ForwardRefExoticComponent<Pick<import("react-intl-next").WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps<"intl"> & React.RefAttributes<ScrollContainerRefs>>>, "key" | "children" | keyof FullPageEditorContentAreaProps | "forwardedRef"> & React.RefAttributes<any>> & {
35
+ export declare const FullPageContentArea: React.ForwardRefExoticComponent<Pick<import("react-intl-next").WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps<"intl"> & React.RefAttributes<ScrollContainerRefs>>>, "key" | "children" | "forwardedRef" | keyof FullPageEditorContentAreaProps> & React.RefAttributes<any>> & {
36
36
  WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps<"intl"> & React.RefAttributes<ScrollContainerRefs>>;
37
37
  };
38
38
  export {};
@@ -3,10 +3,10 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
3
3
  export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
4
4
  theme?: any;
5
5
  featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
6
- } & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "list" | "size" | "className" | "role" | "id" | "start" | "wrap" | "step" | "hidden" | "multiple" | keyof {
6
+ } & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "start" | "list" | "className" | "role" | "id" | "wrap" | "step" | "accessKey" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "multiple" | "target" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof {
7
7
  theme?: any;
8
8
  featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
9
- } | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ }> & import("react").RefAttributes<HTMLDivElement>>;
10
10
  export declare const positionedOverEditorStyle: import("@emotion/react").SerializedStyles;
11
11
  export declare const contentArea: import("@emotion/react").SerializedStyles;
12
12
  export declare const sidebarArea: import("@emotion/react").SerializedStyles;
@@ -12,5 +12,5 @@ interface Props {
12
12
  export declare const FormErrorBoundaryImpl: React.FC<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>> & {
13
13
  WrappedComponent: React.ComponentType<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>;
14
14
  };
15
- export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Pick<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "forwardedRef" | "analyticsContext" | keyof Props> & React.RefAttributes<any>>;
15
+ export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Pick<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "analyticsContext" | "forwardedRef" | keyof Props> & React.RefAttributes<any>>;
16
16
  export {};
@@ -8,6 +8,6 @@ type ContentStylesProps = {
8
8
  featureFlags?: FeatureFlags;
9
9
  };
10
10
  type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
11
- export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "list" | "size" | "className" | "role" | "id" | "start" | "wrap" | "step" | "hidden" | "multiple" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css"> & React.RefAttributes<HTMLDivElement>>;
12
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "list" | "size" | "className" | "role" | "id" | "start" | "wrap" | "step" | "hidden" | "multiple" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css"> & React.RefAttributes<HTMLDivElement>>;
11
+ export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "start" | "list" | "className" | "role" | "id" | "wrap" | "step" | "accessKey" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "multiple" | "target" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
12
+ declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "start" | "list" | "className" | "role" | "id" | "wrap" | "step" | "accessKey" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "multiple" | "target" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
13
13
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import { Node } from 'prosemirror-model';
2
- import { ContextUpdateHandler, EditorActionsOptions, ReplaceRawValue } from '@atlaskit/editor-common/types';
2
+ import { EditorView } from 'prosemirror-view';
3
3
  import { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
4
4
  import type { ResolvedEditorState } from '@atlaskit/collab-provider';
5
+ import { ContextUpdateHandler, EditorActionsOptions, ReplaceRawValue } from '@atlaskit/editor-common/types';
5
6
  import type { FeatureFlags, Transformer } from '@atlaskit/editor-common/types';
6
- import { EditorView } from 'prosemirror-view';
7
7
  import { EventDispatcher } from '../event-dispatcher';
8
8
  export default class EditorActions<T = any> implements EditorActionsOptions<T> {
9
9
  private editorView?;
@@ -1,7 +1,7 @@
1
- import { Node as PMNode, NodeType, MarkType, Schema } from 'prosemirror-model';
1
+ import { MarkType, NodeType, Node as PMNode, Schema } from 'prosemirror-model';
2
2
  import { EditorState, Transaction } from 'prosemirror-state';
3
- import { Command } from '../types';
4
3
  import { AlignmentState } from '../plugins/alignment/pm-plugins/types';
4
+ import { Command } from '../types';
5
5
  export declare function preventDefault(): Command;
6
6
  export declare function insertNewLine(): Command;
7
7
  export declare const insertNewLineWithAnalytics: Command;
@@ -1,13 +1,13 @@
1
1
  import { Schema } from 'prosemirror-model';
2
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
- import { Transaction, EditorState } from 'prosemirror-state';
2
+ import { EditorState, Transaction } from 'prosemirror-state';
3
+ import { IntlShape } from 'react-intl-next';
4
4
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
- import { EventDispatcher, Dispatch } from '../event-dispatcher';
6
- import { MarkConfig, NodeConfig } from '../types/pm-config';
5
+ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
6
+ import type { ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
7
+ import { Dispatch, EventDispatcher } from '../event-dispatcher';
7
8
  import { EditorReactContext } from '../types/editor-react-context';
8
9
  import { FeatureFlags } from '../types/feature-flags';
9
- import { IntlShape } from 'react-intl-next';
10
- import type { UIComponentFactory, ReactHookFactory } from '@atlaskit/editor-common/types';
10
+ import { MarkConfig, NodeConfig } from '../types/pm-config';
11
11
  export type LightPMPluginFactoryParams = {
12
12
  schema: Schema;
13
13
  dispatch: Dispatch;
@@ -1,15 +1,14 @@
1
- /** @jsx jsx */
2
- import type { Transformer, AllEditorPresetPluginTypes } from '@atlaskit/editor-common/types';
3
1
  import { jsx } from '@emotion/react';
4
2
  import { EditorView } from 'prosemirror-view';
5
3
  import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
4
+ import { FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
5
+ import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
6
+ import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
7
+ import type { AllEditorPresetPluginTypes, Transformer } from '@atlaskit/editor-common/types';
6
8
  import { ExperienceStore } from '@atlaskit/editor-common/ufo';
7
9
  import EditorActions from '../actions';
8
10
  import { EventDispatcher } from '../event-dispatcher';
9
- import { FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
10
- import { EditorProps, EditorNextProps } from '../types/editor-props';
11
- import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
12
- import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
11
+ import { EditorNextProps, EditorProps } from '../types/editor-props';
13
12
  interface Props<PropsType> {
14
13
  props: PropsType;
15
14
  handleAnalyticsEvent: FireAnalyticsCallback;
@@ -1,6 +1,6 @@
1
1
  import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
2
  import { ExperienceStore } from '@atlaskit/editor-common/ufo';
3
- import { EditorProps, EditorNextProps } from '../../types/editor-props';
3
+ import { EditorNextProps, EditorProps } from '../../types/editor-props';
4
4
  /**
5
5
  *
6
6
  * Hook to run the analytics for the Editor component.
@@ -1,9 +1,9 @@
1
+ import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
1
3
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
2
- import { EditorNextProps } from '../../types/editor-props';
3
4
  import EditorActions from '../../actions';
4
- import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
5
5
  import { QuickInsertProvider } from '../../plugins/quick-insert/types';
6
- import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
6
+ import { EditorNextProps } from '../../types/editor-props';
7
7
  export type ProviderFactoryState = {
8
8
  extensionProvider?: ExtensionProvider;
9
9
  quickInsertProvider?: Promise<QuickInsertProvider>;
@@ -1,6 +1,7 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
1
3
  import { jsx } from '@emotion/react';
2
4
  import PropTypes from 'prop-types';
3
- import React from 'react';
4
5
  import { EditorNextProps } from '../types/editor-props';
5
6
  import { Context } from './utils/editorPropTypes';
6
7
  export default class EditorNext extends React.Component<EditorNextProps> {
@@ -1,2 +1,2 @@
1
- import { EditorProps, EditorNextProps } from '../../types/editor-props';
1
+ import { EditorNextProps, EditorProps } from '../../types/editor-props';
2
2
  export default function deprecationWarnings(props: EditorProps | EditorNextProps): void;
@@ -1,6 +1,5 @@
1
1
  import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
2
- import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
- import { Providers } from '@atlaskit/editor-common/provider-factory';
2
+ import { ProviderFactory, Providers } from '@atlaskit/editor-common/provider-factory';
4
3
  import { QuickInsertProvider } from '../../plugins/quick-insert/types';
5
4
  /**
6
5
  *
@@ -1,10 +1,10 @@
1
+ import { EditorView } from 'prosemirror-view';
1
2
  import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
- import { ExperienceStore } from '@atlaskit/editor-common/ufo';
3
3
  import { Transformer } from '@atlaskit/editor-common/types';
4
- import { EditorView } from 'prosemirror-view';
4
+ import { ExperienceStore } from '@atlaskit/editor-common/ufo';
5
5
  import EditorActions from '../../actions';
6
6
  import { EventDispatcher } from '../../event-dispatcher';
7
- import { EditorProps, EditorNextProps } from '../../types/editor-props';
7
+ import { EditorNextProps, EditorProps } from '../../types/editor-props';
8
8
  export default function onEditorCreated(instance: {
9
9
  view: EditorView;
10
10
  eventDispatcher: EventDispatcher;
@@ -1,6 +1,6 @@
1
1
  import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
- import { ExperienceStore } from '@atlaskit/editor-common/ufo';
3
2
  import { ACTION } from '@atlaskit/editor-common/analytics';
3
+ import { ExperienceStore } from '@atlaskit/editor-common/ufo';
4
4
  import { EditorProps } from '../../types/editor-props';
5
5
  /**
6
6
  *
@@ -1,5 +1,5 @@
1
- import EditorActions from '../../actions';
2
1
  import { FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
2
+ import EditorActions from '../../actions';
3
3
  import { PerformanceTracking } from '../../types/performance-tracking';
4
4
  /**
5
5
  *
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
- import { jsx } from '@emotion/react';
3
2
  import React from 'react';
3
+ import { jsx } from '@emotion/react';
4
4
  import { EditorProps } from './types/editor-props';
5
5
  export type { AllowedBlockTypes, Command, CommandDispatch, DomAtPos, EditorAppearance, EditorAppearanceComponentProps, EditorConfig, EditorInstance, EditorPlugin, EditorProps, ExtensionConfig, ExtensionProvidersProp, FeedbackInfo, MarkConfig, MessageDescriptor, NodeConfig, NodeViewConfig, PluginsOptions, PMPlugin, PMPluginCreateConfig, PMPluginFactory, PMPluginFactoryParams, ReactComponents, ToolbarUIComponentFactory, ToolbarUiComponentFactoryParams, UIComponentFactory, UiComponentFactoryParams, } from './types';
6
6
  export default class Editor extends React.Component<EditorProps> {
@@ -1,6 +1,6 @@
1
1
  import commonMessages, { linkMessages, linkToolbarMessages } from '@atlaskit/editor-common/messages';
2
- import { messages as statusMessages } from './plugins/status/nodeviews/messages';
3
2
  import { messages as dateMessages } from './plugins/date/nodeviews/messages';
3
+ import { messages as statusMessages } from './plugins/status/nodeviews/messages';
4
4
  export { linkMessages };
5
5
  export { statusMessages };
6
6
  export { dateMessages };
@@ -1,5 +1,5 @@
1
+ import type { EditorState, Selection, Transaction } from 'prosemirror-state';
1
2
  import { RelativeSelectionPos } from '@atlaskit/editor-common/selection';
2
- import type { Transaction, Selection, EditorState } from 'prosemirror-state';
3
3
  import type { SelectionPluginState } from '../plugins/selection/types';
4
4
  export type EditorSelectionAPI = {
5
5
  setSelectionRelativeToNode: (props: {
@@ -1,14 +1,14 @@
1
+ import { Schema } from 'prosemirror-model';
1
2
  import { Plugin } from 'prosemirror-state';
2
3
  import { EditorView } from 'prosemirror-view';
4
+ import { type EditorPluginInjectionAPI, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
5
+ import type { AllEditorPresetPluginTypes, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
3
6
  import { LightPMPlugin, LightPMPluginFactoryParams, OnEditorViewStateUpdated } from './create-editor/get-plugins';
4
- import { Schema } from 'prosemirror-model';
5
7
  import { MarkConfig, NodeConfig } from './types/pm-config';
6
8
  export { createTypeAheadTools } from './plugins/type-ahead/api';
7
9
  export type { LightEditorPlugin } from './create-editor/get-plugins';
8
10
  export type { DispatchAnalyticsEvent } from './plugins/analytics/types';
9
11
  export type { FeatureFlags } from './types/feature-flags';
10
- import { EditorPresetBuilder, type EditorPluginInjectionAPI } from '@atlaskit/editor-common/preset';
11
- import type { AllEditorPresetPluginTypes, UIComponentFactory, ReactHookFactory } from '@atlaskit/editor-common/types';
12
12
  export interface LightEditorConfig {
13
13
  nodes: NodeConfig[];
14
14
  marks: MarkConfig[];
@@ -1,19 +1,19 @@
1
- import { EditorView } from 'prosemirror-view';
2
1
  import { RefObject } from 'react';
2
+ import { ReactElement } from 'react';
3
+ import { EditorView } from 'prosemirror-view';
4
+ import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
3
5
  import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
4
6
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
- import { EventDispatcher } from '../event-dispatcher';
7
+ import type { ReactHookFactory } from '@atlaskit/editor-common/types';
6
8
  import EditorActions from '../actions';
9
+ import { EventDispatcher } from '../event-dispatcher';
10
+ import { CollabEditOptions } from '../plugins/collab-edit/types';
11
+ import { PrimaryToolbarComponents, ReactComponents, UseStickyToolbarType } from '../types/editor-props';
7
12
  import { UIComponentFactory } from '../types/ui-components';
8
- import { ReactComponents, PrimaryToolbarComponents, UseStickyToolbarType } from '../types/editor-props';
13
+ import { MenuItem } from '../ui/DropdownMenu/types';
9
14
  import { ToolbarUIComponentFactory } from '../ui/Toolbar/types';
10
- import { CollabEditOptions } from '../plugins/collab-edit/types';
11
- import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
12
15
  import { EditorAppearance } from './editor-appearance';
13
- import { MenuItem } from '../ui/DropdownMenu/types';
14
- import { ReactElement } from 'react';
15
16
  import { FeatureFlags } from './feature-flags';
16
- import type { ReactHookFactory } from '@atlaskit/editor-common/types';
17
17
  export interface EditorAppearanceComponentProps {
18
18
  appearance?: EditorAppearance;
19
19
  onSave?: (editorView: EditorView) => void;
@@ -1,8 +1,8 @@
1
+ import { EditorState, Transaction } from 'prosemirror-state';
2
+ import type { ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
1
3
  import { ToolbarUIComponentFactory } from '../ui/Toolbar/types';
2
- import { Transaction, EditorState } from 'prosemirror-state';
3
- import { PMPlugin } from './pm-plugin';
4
4
  import { MarkConfig, NodeConfig } from './pm-config';
5
- import type { UIComponentFactory, ReactHookFactory } from '@atlaskit/editor-common/types';
5
+ import { PMPlugin } from './pm-plugin';
6
6
  type EditorViewStateUpdatedCallbackProps = {
7
7
  readonly originalTransaction: Readonly<Transaction>;
8
8
  readonly transactions: readonly Transaction[];
@@ -1,39 +1,39 @@
1
+ import { ReactElement, RefObject } from 'react';
1
2
  import { Node, Schema } from 'prosemirror-model';
2
3
  import { EditorView } from 'prosemirror-view';
3
- import { ReactElement, RefObject } from 'react';
4
- import EditorActions from '../actions';
4
+ import { ActivityProvider } from '@atlaskit/activity-provider';
5
+ import { CardOptions } from '@atlaskit/editor-common/card';
5
6
  import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
7
+ import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
6
8
  import type { ContextIdentifierProvider, Providers, SearchProvider } from '@atlaskit/editor-common/provider-factory';
7
- import type { Transformer, AllEditorPresetPluginTypes } from '@atlaskit/editor-common/types';
9
+ import type { AllEditorPresetPluginTypes, Transformer } from '@atlaskit/editor-common/types';
10
+ import type { LinkingOptions } from '@atlaskit/editor-common/types';
8
11
  import type { ErrorReportingHandler } from '@atlaskit/editor-common/utils';
9
- import { ActivityProvider } from '@atlaskit/activity-provider';
12
+ import { PluginConfig as TablesPluginConfig } from '@atlaskit/editor-plugin-table/types';
10
13
  import { MentionProvider } from '@atlaskit/mention/resource';
11
14
  import { TaskDecisionProvider } from '@atlaskit/task-decision';
12
- import { CardOptions } from '@atlaskit/editor-common/card';
13
- import { PluginConfig as TablesPluginConfig } from '@atlaskit/editor-plugin-table/types';
15
+ import EditorActions from '../actions';
14
16
  import { AnnotationProviders } from '../plugins/annotation/types';
15
17
  import { BlockTypePluginOptions } from '../plugins/block-type/types';
16
18
  import { CodeBlockOptions } from '../plugins/code-block/types';
17
19
  import { CollabEditOptions } from '../plugins/collab-edit/types';
18
20
  import { DatePluginConfig } from '../plugins/date/types';
19
21
  import { FindReplaceOptions } from '../plugins/find-replace/types';
20
- import type { LinkingOptions } from '@atlaskit/editor-common/types';
21
22
  import { LayoutPluginOptions } from '../plugins/layout/types';
22
23
  import { MediaOptions, MediaState } from '../plugins/media/types';
24
+ import { MentionPluginConfig } from '../plugins/mentions/types';
25
+ import { PanelPluginConfig } from '../plugins/panel/types';
23
26
  import { PlaceholderTextOptions } from '../plugins/placeholder-text/types';
24
27
  import { QuickInsertOptions } from '../plugins/quick-insert/types';
25
28
  import { TextColorPluginConfig } from '../plugins/text-color/pm-plugins/main';
26
29
  import { TextFormattingOptions } from '../plugins/text-formatting/types';
27
30
  import { MenuItem } from '../ui/DropdownMenu/types';
28
- import { MentionPluginConfig } from './../plugins/mentions/types';
29
- import { PanelPluginConfig } from './../plugins/panel/types';
30
31
  import { EditorAppearance } from './editor-appearance';
31
32
  import { EditorOnChangeHandler } from './editor-onchange';
32
33
  import { EditorPlugin } from './editor-plugin';
33
34
  import { EmptyStateHandler } from './empty-state-handler';
34
35
  import { ExtensionConfig } from './extension-config';
35
36
  import { PerformanceTracking } from './performance-tracking';
36
- import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
37
37
  export type ReactComponents = ReactElement<any> | ReactElement<any>[];
38
38
  type ExtensionProviders = (ExtensionProvider | Promise<ExtensionProvider>)[];
39
39
  type ExtensionProvidersWithEditorAction = (editorActions?: EditorActions) => ExtensionProviders;
@@ -32,7 +32,7 @@ type ScrollContainerRefs = {
32
32
  scrollContainer: HTMLDivElement | null;
33
33
  contentArea: HTMLDivElement | null;
34
34
  };
35
- export declare const FullPageContentArea: React.ForwardRefExoticComponent<Pick<import("react-intl-next").WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps<"intl"> & React.RefAttributes<ScrollContainerRefs>>>, "key" | "children" | keyof FullPageEditorContentAreaProps | "forwardedRef"> & React.RefAttributes<any>> & {
35
+ export declare const FullPageContentArea: React.ForwardRefExoticComponent<Pick<import("react-intl-next").WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps<"intl"> & React.RefAttributes<ScrollContainerRefs>>>, "key" | "children" | "forwardedRef" | keyof FullPageEditorContentAreaProps> & React.RefAttributes<any>> & {
36
36
  WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps<"intl"> & React.RefAttributes<ScrollContainerRefs>>;
37
37
  };
38
38
  export {};