@atlaskit/editor-core 187.48.7 → 188.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/dist/cjs/index.js +3 -305
  3. package/dist/cjs/labs/next/presets/default.js +2 -2
  4. package/dist/cjs/plugins/index.js +0 -7
  5. package/dist/cjs/version-wrapper.js +1 -1
  6. package/dist/es2019/index.js +16 -45
  7. package/dist/es2019/labs/next/presets/default.js +1 -1
  8. package/dist/es2019/plugins/index.js +0 -1
  9. package/dist/es2019/version-wrapper.js +1 -1
  10. package/dist/esm/index.js +16 -45
  11. package/dist/esm/labs/next/presets/default.js +1 -1
  12. package/dist/esm/plugins/index.js +0 -1
  13. package/dist/esm/version-wrapper.js +1 -1
  14. package/dist/types/index.d.ts +19 -63
  15. package/dist/types/plugins/index.d.ts +0 -1
  16. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
  17. package/dist/types/ui/ContentStyles/index.d.ts +2 -2
  18. package/dist/types-ts4.5/index.d.ts +19 -63
  19. package/dist/types-ts4.5/plugins/index.d.ts +0 -1
  20. package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
  21. package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
  22. package/package.json +4 -4
  23. package/report.api.md +8 -1116
  24. package/tmp/api-report-tmp.d.ts +8 -971
  25. package/dist/cjs/plugins/floating-toolbar/index.js +0 -386
  26. package/dist/cjs/plugins/floating-toolbar/pm-plugins/force-focus/index.js +0 -73
  27. package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.js +0 -26
  28. package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.js +0 -16
  29. package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.js +0 -9
  30. package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.js +0 -16
  31. package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +0 -25
  32. package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/types.js +0 -5
  33. package/dist/cjs/plugins/floating-toolbar/ui/CheckboxModal.js +0 -83
  34. package/dist/cjs/plugins/floating-toolbar/ui/ConfirmationModal.js +0 -22
  35. package/dist/cjs/plugins/floating-toolbar/ui/Dropdown.js +0 -208
  36. package/dist/cjs/plugins/floating-toolbar/ui/DropdownMenu.js +0 -205
  37. package/dist/cjs/plugins/floating-toolbar/ui/EditorEmojiAddIcon.js +0 -32
  38. package/dist/cjs/plugins/floating-toolbar/ui/EmojiPickerButton.js +0 -120
  39. package/dist/cjs/plugins/floating-toolbar/ui/ExtensionsPlaceholder.js +0 -179
  40. package/dist/cjs/plugins/floating-toolbar/ui/Input.js +0 -78
  41. package/dist/cjs/plugins/floating-toolbar/ui/ScrollButtons.js +0 -152
  42. package/dist/cjs/plugins/floating-toolbar/ui/Select.js +0 -74
  43. package/dist/cjs/plugins/floating-toolbar/ui/Separator.js +0 -9
  44. package/dist/cjs/plugins/floating-toolbar/ui/SimpleModal.js +0 -42
  45. package/dist/cjs/plugins/floating-toolbar/ui/Toolbar.js +0 -427
  46. package/dist/cjs/plugins/floating-toolbar/ui/ToolbarLoader.js +0 -25
  47. package/dist/cjs/plugins/floating-toolbar/ui/messages.js +0 -55
  48. package/dist/cjs/plugins/floating-toolbar/ui/styles.js +0 -79
  49. package/dist/cjs/plugins/floating-toolbar/utils.js +0 -22
  50. package/dist/es2019/plugins/floating-toolbar/index.js +0 -368
  51. package/dist/es2019/plugins/floating-toolbar/pm-plugins/force-focus/index.js +0 -63
  52. package/dist/es2019/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.js +0 -10
  53. package/dist/es2019/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.js +0 -8
  54. package/dist/es2019/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.js +0 -2
  55. package/dist/es2019/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.js +0 -9
  56. package/dist/es2019/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +0 -16
  57. package/dist/es2019/plugins/floating-toolbar/pm-plugins/toolbar-data/types.js +0 -1
  58. package/dist/es2019/plugins/floating-toolbar/ui/CheckboxModal.js +0 -71
  59. package/dist/es2019/plugins/floating-toolbar/ui/ConfirmationModal.js +0 -13
  60. package/dist/es2019/plugins/floating-toolbar/ui/Dropdown.js +0 -180
  61. package/dist/es2019/plugins/floating-toolbar/ui/DropdownMenu.js +0 -191
  62. package/dist/es2019/plugins/floating-toolbar/ui/EditorEmojiAddIcon.js +0 -25
  63. package/dist/es2019/plugins/floating-toolbar/ui/EmojiPickerButton.js +0 -107
  64. package/dist/es2019/plugins/floating-toolbar/ui/ExtensionsPlaceholder.js +0 -100
  65. package/dist/es2019/plugins/floating-toolbar/ui/Input.js +0 -52
  66. package/dist/es2019/plugins/floating-toolbar/ui/ScrollButtons.js +0 -137
  67. package/dist/es2019/plugins/floating-toolbar/ui/Select.js +0 -62
  68. package/dist/es2019/plugins/floating-toolbar/ui/Separator.js +0 -2
  69. package/dist/es2019/plugins/floating-toolbar/ui/SimpleModal.js +0 -35
  70. package/dist/es2019/plugins/floating-toolbar/ui/Toolbar.js +0 -419
  71. package/dist/es2019/plugins/floating-toolbar/ui/ToolbarLoader.js +0 -6
  72. package/dist/es2019/plugins/floating-toolbar/ui/messages.js +0 -48
  73. package/dist/es2019/plugins/floating-toolbar/ui/styles.js +0 -64
  74. package/dist/es2019/plugins/floating-toolbar/utils.js +0 -16
  75. package/dist/esm/plugins/floating-toolbar/index.js +0 -375
  76. package/dist/esm/plugins/floating-toolbar/pm-plugins/force-focus/index.js +0 -64
  77. package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.js +0 -18
  78. package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.js +0 -8
  79. package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.js +0 -2
  80. package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.js +0 -9
  81. package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +0 -17
  82. package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/types.js +0 -1
  83. package/dist/esm/plugins/floating-toolbar/ui/CheckboxModal.js +0 -72
  84. package/dist/esm/plugins/floating-toolbar/ui/ConfirmationModal.js +0 -14
  85. package/dist/esm/plugins/floating-toolbar/ui/Dropdown.js +0 -199
  86. package/dist/esm/plugins/floating-toolbar/ui/DropdownMenu.js +0 -197
  87. package/dist/esm/plugins/floating-toolbar/ui/EditorEmojiAddIcon.js +0 -25
  88. package/dist/esm/plugins/floating-toolbar/ui/EmojiPickerButton.js +0 -113
  89. package/dist/esm/plugins/floating-toolbar/ui/ExtensionsPlaceholder.js +0 -168
  90. package/dist/esm/plugins/floating-toolbar/ui/Input.js +0 -70
  91. package/dist/esm/plugins/floating-toolbar/ui/ScrollButtons.js +0 -141
  92. package/dist/esm/plugins/floating-toolbar/ui/Select.js +0 -64
  93. package/dist/esm/plugins/floating-toolbar/ui/Separator.js +0 -2
  94. package/dist/esm/plugins/floating-toolbar/ui/SimpleModal.js +0 -31
  95. package/dist/esm/plugins/floating-toolbar/ui/Toolbar.js +0 -417
  96. package/dist/esm/plugins/floating-toolbar/ui/ToolbarLoader.js +0 -12
  97. package/dist/esm/plugins/floating-toolbar/ui/messages.js +0 -48
  98. package/dist/esm/plugins/floating-toolbar/ui/styles.js +0 -68
  99. package/dist/esm/plugins/floating-toolbar/utils.js +0 -16
  100. package/dist/types/plugins/floating-toolbar/index.d.ts +0 -13
  101. package/dist/types/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +0 -21
  102. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.d.ts +0 -3
  103. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +0 -1
  104. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +0 -3
  105. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +0 -3
  106. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.d.ts +0 -3
  107. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/types.d.ts +0 -8
  108. package/dist/types/plugins/floating-toolbar/ui/CheckboxModal.d.ts +0 -4
  109. package/dist/types/plugins/floating-toolbar/ui/ConfirmationModal.d.ts +0 -6
  110. package/dist/types/plugins/floating-toolbar/ui/Dropdown.d.ts +0 -41
  111. package/dist/types/plugins/floating-toolbar/ui/DropdownMenu.d.ts +0 -29
  112. package/dist/types/plugins/floating-toolbar/ui/EditorEmojiAddIcon.d.ts +0 -2
  113. package/dist/types/plugins/floating-toolbar/ui/EmojiPickerButton.d.ts +0 -15
  114. package/dist/types/plugins/floating-toolbar/ui/ExtensionsPlaceholder.d.ts +0 -16
  115. package/dist/types/plugins/floating-toolbar/ui/Input.d.ts +0 -23
  116. package/dist/types/plugins/floating-toolbar/ui/ScrollButtons.d.ts +0 -13
  117. package/dist/types/plugins/floating-toolbar/ui/Select.d.ts +0 -21
  118. package/dist/types/plugins/floating-toolbar/ui/Separator.d.ts +0 -2
  119. package/dist/types/plugins/floating-toolbar/ui/SimpleModal.d.ts +0 -4
  120. package/dist/types/plugins/floating-toolbar/ui/Toolbar.d.ts +0 -44
  121. package/dist/types/plugins/floating-toolbar/ui/ToolbarLoader.d.ts +0 -4
  122. package/dist/types/plugins/floating-toolbar/ui/messages.d.ts +0 -48
  123. package/dist/types/plugins/floating-toolbar/ui/styles.d.ts +0 -20
  124. package/dist/types/plugins/floating-toolbar/utils.d.ts +0 -2
  125. package/dist/types-ts4.5/plugins/floating-toolbar/index.d.ts +0 -13
  126. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +0 -21
  127. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.d.ts +0 -3
  128. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +0 -1
  129. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +0 -3
  130. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +0 -3
  131. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.d.ts +0 -3
  132. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/types.d.ts +0 -8
  133. package/dist/types-ts4.5/plugins/floating-toolbar/ui/CheckboxModal.d.ts +0 -4
  134. package/dist/types-ts4.5/plugins/floating-toolbar/ui/ConfirmationModal.d.ts +0 -6
  135. package/dist/types-ts4.5/plugins/floating-toolbar/ui/Dropdown.d.ts +0 -41
  136. package/dist/types-ts4.5/plugins/floating-toolbar/ui/DropdownMenu.d.ts +0 -29
  137. package/dist/types-ts4.5/plugins/floating-toolbar/ui/EditorEmojiAddIcon.d.ts +0 -2
  138. package/dist/types-ts4.5/plugins/floating-toolbar/ui/EmojiPickerButton.d.ts +0 -15
  139. package/dist/types-ts4.5/plugins/floating-toolbar/ui/ExtensionsPlaceholder.d.ts +0 -16
  140. package/dist/types-ts4.5/plugins/floating-toolbar/ui/Input.d.ts +0 -23
  141. package/dist/types-ts4.5/plugins/floating-toolbar/ui/ScrollButtons.d.ts +0 -13
  142. package/dist/types-ts4.5/plugins/floating-toolbar/ui/Select.d.ts +0 -21
  143. package/dist/types-ts4.5/plugins/floating-toolbar/ui/Separator.d.ts +0 -2
  144. package/dist/types-ts4.5/plugins/floating-toolbar/ui/SimpleModal.d.ts +0 -4
  145. package/dist/types-ts4.5/plugins/floating-toolbar/ui/Toolbar.d.ts +0 -44
  146. package/dist/types-ts4.5/plugins/floating-toolbar/ui/ToolbarLoader.d.ts +0 -4
  147. package/dist/types-ts4.5/plugins/floating-toolbar/ui/messages.d.ts +0 -48
  148. package/dist/types-ts4.5/plugins/floating-toolbar/ui/styles.d.ts +0 -20
  149. package/dist/types-ts4.5/plugins/floating-toolbar/utils.d.ts +0 -2
@@ -7,166 +7,81 @@
7
7
  /// <reference types="node" />
8
8
  /// <reference types="react" />
9
9
 
10
- import { AbstractMentionResource } from '@atlaskit/mention/resource';
11
10
  import { ACTION } from '@atlaskit/editor-common/analytics';
12
11
  import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
13
12
  import { ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
14
13
  import type { ActivityProvider } from '@atlaskit/activity-provider';
15
- import type { AllEditorPresetPluginTypes } from '@atlaskit/editor-common/types';
16
14
  import { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
17
15
  import type { AnalyticsEventPayload as AnalyticsEventPayload_2 } from '@atlaskit/analytics-next/AnalyticsEvent';
18
- import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
19
- import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
20
16
  import type { AnnotationTypes } from '@atlaskit/adf-schema';
21
- import type { BasePluginOptions } from '@atlaskit/editor-plugin-base';
22
17
  import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
23
18
  import type { CardOptions } from '@atlaskit/editor-common/card';
24
19
  import { CardProvider } from '@atlaskit/editor-common/provider-factory';
25
- import { clearEditorContent } from '@atlaskit/editor-common/commands';
26
20
  import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
27
- import type { Color } from '@atlaskit/status/element';
28
- import { Command as Command_2 } from '@atlaskit/editor-common/types';
29
- import { ComponentType } from 'react';
30
- import type { compositionPlugin } from '@atlaskit/editor-plugin-composition';
31
- import type { ConfigWithNodeInfo } from '@atlaskit/editor-plugin-floating-toolbar';
32
21
  import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
33
22
  import type { ContextUpdateHandler } from '@atlaskit/editor-common/types';
34
- import { createTable } from '@atlaskit/editor-plugin-table/commands';
35
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
36
- import { darkModeStatusColorPalette } from '@atlaskit/editor-common/ui-color';
37
- import type { DecisionItemDefinition } from '@atlaskit/adf-schema';
38
- import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
39
- import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
40
- import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
41
- import { dedupe } from '@atlaskit/editor-common/utils';
42
- import { DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
43
- import type { DirectEditorProps } from '@atlaskit/editor-prosemirror/view';
44
- import { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
45
- import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
46
23
  import type { EditorActionsOptions } from '@atlaskit/editor-common/types';
47
- import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
48
24
  import { EditorAppearance } from '@atlaskit/editor-common/types';
49
- import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
50
- import { FeatureFlags as EditorFeatureFlags } from '@atlaskit/editor-common/types';
51
25
  import { EditorPlugin } from '@atlaskit/editor-common/types';
52
- import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
53
- import { EditorReactContext } from '@atlaskit/editor-common/types';
54
26
  import type { EditorSelectionAPI } from '@atlaskit/editor-common/selection';
55
- import { EditorState } from '@atlaskit/editor-prosemirror/state';
56
- import { EditorView } from '@atlaskit/editor-prosemirror/view';
27
+ import type { EditorState } from '@atlaskit/editor-prosemirror/state';
28
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
57
29
  import { EmojiResource } from '@atlaskit/emoji/resource';
58
30
  import { EmptyStateHandler } from '@atlaskit/editor-common/types';
59
- import type { ErrorReporter } from '@atlaskit/editor-common/utils';
60
31
  import type { ErrorReportingHandler } from '@atlaskit/editor-common/utils';
61
32
  import { EVENT_TYPE } from '@atlaskit/editor-common/analytics';
62
33
  import { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
63
34
  import { EventEmitter as EventEmitter_2 } from 'events';
64
- import { ExperienceStore } from '@atlaskit/editor-common/ufo';
65
35
  import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
66
36
  import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
67
37
  import { ExtensionType } from '@atlaskit/editor-common/provider-factory';
68
- import { FC } from 'react';
69
- import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
70
- import type { FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
71
- import type { FloatingToolbarPlugin } from '@atlaskit/editor-plugin-floating-toolbar';
72
- import type { FocusPlugin } from '@atlaskit/editor-plugin-focus';
73
- import { FULL_WIDTH_MODE } from '@atlaskit/editor-common/analytics';
74
- import { GapCursorSelection } from '@atlaskit/editor-common/selection';
75
- import { Side as GapCursorSide } from '@atlaskit/editor-common/selection';
38
+ import type { FeatureFlags } from '@atlaskit/editor-common/types';
76
39
  import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
77
- import type { GridPlugin } from '@atlaskit/editor-plugin-grid';
78
- import type { GuidelinePlugin } from '@atlaskit/editor-plugin-guideline';
79
- import type { HyperlinkPluginOptions } from '@atlaskit/editor-common/types';
80
40
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
81
- import type { InputMethodInsertMedia } from '@atlaskit/editor-common/analytics';
82
41
  import { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
83
42
  import { jsx } from '@emotion/react';
84
- import { lightModeStatusColorPalette } from '@atlaskit/editor-common/ui-color';
85
43
  import type { LinkingOptions } from '@atlaskit/editor-common/types';
86
44
  import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
87
45
  import { MacroAttributes } from '@atlaskit/editor-common/provider-factory';
88
46
  import { MacroProvider } from '@atlaskit/editor-common/provider-factory';
89
- import { MarkConfig } from '@atlaskit/editor-common/types';
90
- import type { MediaClientConfig } from '@atlaskit/media-core';
91
47
  import type { MediaFeatureFlags } from '@atlaskit/media-common';
92
- import type { MediaFeatureFlags as MediaFeatureFlags_2 } from '@atlaskit/media-common/mediaFeatureFlags';
93
- import type { MediaFile } from '@atlaskit/media-picker/types';
94
- import type { MediaProvider as MediaProvider_2 } from '@atlaskit/editor-common/provider-factory';
95
- import type { MentionDescription } from '@atlaskit/mention';
48
+ import { MediaProvider as MediaProvider_2 } from '@atlaskit/editor-common/provider-factory';
96
49
  import { MentionProvider } from '@atlaskit/mention/resource';
97
- import type { MentionProvider as MentionProvider_2 } from '@atlaskit/mention';
98
50
  import { MentionResource } from '@atlaskit/mention/resource';
99
51
  import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
100
- import { default as messages } from '@atlaskit/editor-common/messages';
101
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
102
52
  import { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
103
- import { NodeConfig } from '@atlaskit/editor-common/types';
104
- import type { NodeType } from '@atlaskit/editor-prosemirror/model';
105
- import type { NodeView } from '@atlaskit/editor-prosemirror/view';
106
- import type { OptionalPlugin } from '@atlaskit/editor-common/types';
107
- import { PaletteColor } from '@atlaskit/editor-common/ui-color';
108
53
  import { PerformanceTracking } from '@atlaskit/editor-common/types';
109
- import type { PlaceholderPluginOptions } from '@atlaskit/editor-plugin-placeholder';
110
54
  import type { PluginConfig } from '@atlaskit/editor-plugin-table/types';
111
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
112
- import { PMPlugin } from '@atlaskit/editor-common/types';
113
55
  import { PortalProvider } from '@atlaskit/editor-common/portal-provider';
114
56
  import { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
115
57
  import { PortalRenderer } from '@atlaskit/editor-common/portal-provider';
116
58
  import type { PositionType } from '@atlaskit/tooltip/types';
117
59
  import { PresenceProvider } from '@atlaskit/mention/resource';
118
- import { PresenceResource } from '@atlaskit/mention/resource';
119
60
  import PropTypes from 'prop-types';
120
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
121
61
  import type { Providers } from '@atlaskit/editor-common/provider-factory';
122
- import type { PublicPluginAPI } from '@atlaskit/editor-common/types';
123
62
  import { QuickInsertItem } from '@atlaskit/editor-common/provider-factory';
124
63
  import type { QuickInsertOptions } from '@atlaskit/editor-common/types';
125
- import type { QuickInsertPluginOptions } from '@atlaskit/editor-common/types';
126
64
  import { QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
127
65
  import { default as React_2 } from 'react';
128
66
  import type { ReactElement } from 'react';
129
- import type { ReactHookFactory } from '@atlaskit/editor-common/types';
130
67
  import type { ReplaceRawValue } from '@atlaskit/editor-common/types';
131
68
  import type { ResolvedEditorState } from '@atlaskit/editor-common/collab';
132
- import type { RichMediaLayout } from '@atlaskit/adf-schema';
133
69
  import type { Schema } from '@atlaskit/editor-prosemirror/model';
134
70
  import type { SearchProvider } from '@atlaskit/editor-common/provider-factory';
135
- import type { SelectionPluginOptions } from '@atlaskit/editor-common/selection';
136
- import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
137
- import { setKeyboardHeight } from '@atlaskit/editor-plugin-base';
138
71
  import { setTextSelection } from '@atlaskit/editor-common/utils';
139
- import type { SEVERITY } from '@atlaskit/editor-common/utils';
140
72
  import type { TaskDecisionProvider } from '@atlaskit/task-decision';
141
- import type { TaskItemDefinition } from '@atlaskit/adf-schema';
142
73
  import { TeamMentionResource } from '@atlaskit/mention/team-resource';
143
- import { InputMethodBasic as TextFormattingInputMethodBasic } from '@atlaskit/editor-common/types';
144
- import { InputMethodToolbar as TextFormattingInputMethodToolbar } from '@atlaskit/editor-common/types';
145
74
  import type { TextFormattingOptions } from '@atlaskit/editor-common/types';
146
75
  import { ToolbarUIComponentFactory } from '@atlaskit/editor-common/types';
147
76
  import type { Transaction } from '@atlaskit/editor-prosemirror/state';
148
- import { TransactionTracking } from '@atlaskit/editor-common/types';
149
77
  import type { Transformer as Transformer_2 } from '@atlaskit/editor-common/types';
150
- import type { TypeAheadHandler } from '@atlaskit/editor-common/types';
151
- import type { TypeAheadInputMethod } from '@atlaskit/editor-plugin-type-ahead';
152
78
  import { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
153
- import type { TypeAheadItem as TypeAheadItem_2 } from '@atlaskit/editor-common/types';
154
- import type { TypeAheadPluginOptions } from '@atlaskit/editor-plugin-type-ahead';
155
- import type { TypeAheadStats } from '@atlaskit/editor-common/types';
156
79
  import { UIComponentFactory } from '@atlaskit/editor-common/types';
157
- import type { UploadEndEventPayload } from '@atlaskit/media-picker/types';
158
- import type { UploadErrorEventPayload } from '@atlaskit/media-picker/types';
159
80
  import type { UploadParams } from '@atlaskit/media-picker/types';
160
- import type { UploadPreviewUpdateEventPayload } from '@atlaskit/media-picker/types';
161
81
  import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
162
82
  import type { WeekDay } from '@atlaskit/calendar/types';
163
- import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
164
- import type { WidthPluginState } from '@atlaskit/editor-plugin-width';
165
83
  import { WithIntlProps } from 'react-intl-next';
166
- import { WithPluginState } from '@atlaskit/editor-common/with-plugin-state';
167
- import { WrappedComponentProps } from 'react-intl-next';
168
-
169
- export { AbstractMentionResource }
84
+ import type { WrappedComponentProps } from 'react-intl-next';
170
85
 
171
86
  export { ACTION }
172
87
 
@@ -174,26 +89,6 @@ export { ACTION_SUBJECT }
174
89
 
175
90
  export { ACTION_SUBJECT_ID }
176
91
 
177
- // @public (undocumented)
178
- type AddItemAttrs = Partial<DecisionItemDefinition['attrs']> | Partial<TaskItemDefinition['attrs']>;
179
-
180
- // @public (undocumented)
181
- type AddItemTransactionCreator = (opts: {
182
- state: EditorState;
183
- tr: Transaction;
184
- list: NodeType;
185
- item: NodeType;
186
- listLocalId: string;
187
- itemLocalId: string;
188
- itemAttrs?: AddItemAttrs;
189
- }) => Transaction | null;
190
-
191
- // @public (undocumented)
192
- interface AllSelectionData {
193
- // (undocumented)
194
- type: 'all';
195
- }
196
-
197
92
  export { AnalyticsEventPayload }
198
93
 
199
94
  // @public (undocumented)
@@ -243,10 +138,6 @@ export class AnnotationUpdateEmitter extends EventEmitter_2 {
243
138
  on(event: UpdateEvent, listener: (annotationId: string) => void): this;
244
139
  }
245
140
 
246
- // @public (undocumented)
247
- export class BaseReactEditorView<T = {}> extends ReactEditorView_2<T> {
248
- }
249
-
250
141
  // @public (undocumented)
251
142
  type BeforeAndAfterToolbarComponents = {
252
143
  before: ReactComponents;
@@ -255,40 +146,6 @@ type BeforeAndAfterToolbarComponents = {
255
146
 
256
147
  export { CardProvider }
257
148
 
258
- // @public (undocumented)
259
- interface CellSelectionData {
260
- // (undocumented)
261
- anchor: number;
262
- // (undocumented)
263
- head: number;
264
- // (undocumented)
265
- type: 'cell';
266
- }
267
-
268
- // @public (undocumented)
269
- export const changeColor: (color: string) => Command;
270
-
271
- export { clearEditorContent }
272
-
273
- // @public (undocumented)
274
- type CloseOptions = {
275
- insertCurrentQueryAsRawText: boolean;
276
- attachCommand?: Command_2;
277
- };
278
-
279
- // @public (undocumented)
280
- enum closingMethods {
281
- // (undocumented)
282
- ArrowLeft = "arrowLeft",
283
- // (undocumented)
284
- ArrowRight = "arrowRight"
285
- }
286
-
287
- // @public (undocumented)
288
- type ClosingPayload = {
289
- closingMethod: closingMethods;
290
- };
291
-
292
149
  // @public (undocumented)
293
150
  interface CodeBlockOptions extends LongPressSelectionPluginOptions {
294
151
  // (undocumented)
@@ -299,22 +156,6 @@ interface CodeBlockOptions extends LongPressSelectionPluginOptions {
299
156
  appearance?: EditorAppearance | undefined;
300
157
  }
301
158
 
302
- // @public (undocumented)
303
- export type CodeBlockPlugin = typeof codeBlockPlugin;
304
-
305
- // @public (undocumented)
306
- const codeBlockPlugin: NextEditorPlugin<'codeBlock', {
307
- pluginConfiguration: CodeBlockOptions;
308
- dependencies: [
309
- typeof decorationsPlugin,
310
- typeof compositionPlugin,
311
- OptionalPlugin<typeof analyticsPlugin>
312
- ];
313
- actions: {
314
- insertCodeBlock: (inputMethod: INPUT_METHOD) => Command_2;
315
- };
316
- }>;
317
-
318
159
  // @public (undocumented)
319
160
  export class CollapsedEditor extends React_2.Component<Props, State> {
320
161
  // (undocumented)
@@ -337,70 +178,11 @@ export type Command = (state: EditorState, dispatch?: CommandDispatch, view?: Ed
337
178
  // @public (undocumented)
338
179
  export type CommandDispatch = (tr: Transaction) => void;
339
180
 
340
- // @public (undocumented)
341
- export const commitStatusPicker: (closingPayload?: ClosingPayload) => (editorView: EditorView) => void;
342
-
343
181
  // @public (undocumented)
344
182
  export function ContextPanel(props: Props_4): jsx.JSX.Element;
345
183
 
346
184
  // @public (undocumented)
347
- interface CreateEditorStateOptions {
348
- // (undocumented)
349
- context: EditorReactContext;
350
- // (undocumented)
351
- doc?: Object | Node_2 | string;
352
- // (undocumented)
353
- props: EditorViewProps;
354
- // (undocumented)
355
- resetting?: boolean;
356
- // (undocumented)
357
- selectionAtStart?: boolean;
358
- }
359
-
360
- export { createTable }
361
-
362
- // @public (undocumented)
363
- export const createTypeAheadTools: (editorView: EditorView) => {
364
- isOpen: () => TypeAheadHandler | false;
365
- currentQuery: () => string | undefined;
366
- close: (options?: CloseOptions) => boolean;
367
- openMention: (inputMethod: TypeAheadInputMethod) => boolean;
368
- searchMention: (query?: string) => {
369
- type: (appendValue: string) => Promise<TypeAheadItem[]> | undefined;
370
- result: () => Promise<TypeAheadItem[] | undefined>;
371
- close: (options?: CloseOptions) => boolean;
372
- insert: ({ index, mode }: {
373
- index: number;
374
- mode?: SelectItemMode | undefined;
375
- }) => Promise<void>;
376
- };
377
- openQuickInsert: (inputMethod: TypeAheadInputMethod) => boolean;
378
- searchQuickInsert: (query?: string) => {
379
- type: (appendValue: string) => Promise<TypeAheadItem[]> | undefined;
380
- result: () => Promise<TypeAheadItem[] | undefined>;
381
- close: (options?: CloseOptions) => boolean;
382
- insert: ({ index, mode }: {
383
- index: number;
384
- mode?: SelectItemMode | undefined;
385
- }) => Promise<void>;
386
- };
387
- openEmoji: (inputMethod: TypeAheadInputMethod) => boolean;
388
- searchEmoji: (query?: string) => {
389
- type: (appendValue: string) => Promise<TypeAheadItem[]> | undefined;
390
- result: () => Promise<TypeAheadItem[] | undefined>;
391
- close: (options?: CloseOptions) => boolean;
392
- insert: ({ index, mode }: {
393
- index: number;
394
- mode?: SelectItemMode | undefined;
395
- }) => Promise<void>;
396
- };
397
- insertItemMention: ({ contentItem, query, sourceListItem }: InsertItemProps) => boolean;
398
- insertItemEmoji: ({ contentItem, query, sourceListItem }: InsertItemProps) => boolean;
399
- insertItemQuickInsert: ({ contentItem, query, sourceListItem }: InsertItemProps) => boolean;
400
- };
401
-
402
- // @public (undocumented)
403
- export interface CustomMediaPicker {
185
+ interface CustomMediaPicker {
404
186
  // (undocumented)
405
187
  destroy(): void;
406
188
  // (undocumented)
@@ -413,72 +195,12 @@ export interface CustomMediaPicker {
413
195
  setUploadParams(uploadParams: UploadParams): void;
414
196
  }
415
197
 
416
- export { darkModeStatusColorPalette }
417
-
418
- // @public (undocumented)
419
- export const dateMessages: {
420
- editText: {
421
- id: string;
422
- defaultMessage: string;
423
- description: string;
424
- };
425
- };
426
-
427
198
  // @public (undocumented)
428
199
  interface DatePluginConfig {
429
200
  // (undocumented)
430
201
  weekStartDay?: WeekDay;
431
202
  }
432
203
 
433
- // @public (undocumented)
434
- export const datePluginKey: PluginKey<DatePluginState>;
435
-
436
- // @public (undocumented)
437
- export type DatePluginState = {
438
- isQuickInsertAction?: boolean;
439
- isNew: boolean;
440
- showDatePickerAt: null | number;
441
- isDateEmpty: boolean;
442
- focusDateInput: boolean;
443
- };
444
-
445
- // @public
446
- export function dateToDateType(date: Date): DateType;
447
-
448
- // @public (undocumented)
449
- type DateType = {
450
- year: number;
451
- month: number;
452
- day?: number;
453
- };
454
-
455
- export { dedupe }
456
-
457
- export { DEFAULT_BORDER_COLOR }
458
-
459
- // @public (undocumented)
460
- type DefaultPresetPluginOptions = {
461
- paste: PastePluginOptions;
462
- base?: BasePluginOptions;
463
- blockType?: BlockTypePluginOptions;
464
- placeholder?: PlaceholderPluginOptions;
465
- textFormatting?: TextFormattingOptions;
466
- submitEditor?: EditorProps['onSave'];
467
- annotationProviders?: AnnotationProviders;
468
- quickInsert?: QuickInsertPluginOptions;
469
- codeBlock?: CodeBlockOptions;
470
- selection?: SelectionPluginOptions;
471
- cardOptions?: CardOptions;
472
- hyperlinkOptions?: HyperlinkPluginOptions;
473
- createAnalyticsEvent?: CreateUIAnalyticsEvent;
474
- typeAhead?: TypeAheadPluginOptions;
475
- allowAnalyticsGASV3?: boolean;
476
- performanceTracking?: EditorProps['performanceTracking'];
477
- };
478
-
479
- // @public
480
- export const deleteDate: () => Command;
481
-
482
204
  // @public (undocumented)
483
205
  export class Editor extends React_2.Component<EditorProps> {
484
206
  constructor(props: EditorProps);
@@ -519,7 +241,7 @@ export class EditorActions<T = any> implements EditorActionsOptions<T> {
519
241
  // (undocumented)
520
242
  _privateGetEventDispatcher(): EventDispatcher | undefined;
521
243
  // (undocumented)
522
- _privateRegisterEditor(editorView: EditorView, eventDispatcher: EventDispatcher, contentTransformer?: Transformer_2<T>, getFeatureFlags?: () => EditorFeatureFlags): void;
244
+ _privateRegisterEditor(editorView: EditorView, eventDispatcher: EventDispatcher, contentTransformer?: Transformer_2<T>, getFeatureFlags?: () => FeatureFlags): void;
523
245
  // (undocumented)
524
246
  _privateSubscribe(cb: ContextUpdateHandler): void;
525
247
  // (undocumented)
@@ -600,29 +322,6 @@ interface EditorBaseProps {
600
322
  useStickyToolbar?: UseStickyToolbarType;
601
323
  }
602
324
 
603
- // @public (undocumented)
604
- interface EditorConfig {
605
- // (undocumented)
606
- contentComponents: UIComponentFactory[];
607
- // (undocumented)
608
- marks: MarkConfig[];
609
- // (undocumented)
610
- nodes: NodeConfig[];
611
- // (undocumented)
612
- onEditorViewStateUpdatedCallbacks: Array<{
613
- pluginName: string;
614
- callback: (props: EditorViewStateUpdatedCallbackProps) => void;
615
- }>;
616
- // (undocumented)
617
- pluginHooks: ReactHookFactory[];
618
- // (undocumented)
619
- pmPlugins: Array<PMPlugin>;
620
- // (undocumented)
621
- primaryToolbarComponents: ToolbarUIComponentFactory[];
622
- // (undocumented)
623
- secondaryToolbarComponents: UIComponentFactory[];
624
- }
625
-
626
325
  // @public (undocumented)
627
326
  export class EditorContext extends React_2.Component<EditorContextProps, {}> {
628
327
  constructor(props: EditorContextProps);
@@ -643,8 +342,6 @@ type EditorContextProps = {
643
342
  editorActions?: EditorActions;
644
343
  };
645
344
 
646
- export { EditorFeatureFlags }
647
-
648
345
  // @public (undocumented)
649
346
  export interface EditorInstance {
650
347
  // (undocumented)
@@ -668,12 +365,6 @@ export interface EditorInstance {
668
365
  secondaryToolbarComponents: UIComponentFactory[];
669
366
  }
670
367
 
671
- // @public (undocumented)
672
- interface EditorNextProps extends EditorBaseProps, EditorSharedPropsWithPlugins, EditorProviderProps {
673
- // (undocumented)
674
- preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
675
- }
676
-
677
368
  // @public (undocumented)
678
369
  type EditorOnChangeHandler = (editorView: EditorView, meta: {
679
370
  source: 'local' | 'remote';
@@ -773,16 +464,6 @@ interface EditorPluginFeatureProps {
773
464
  waitForMediaUpload?: boolean;
774
465
  }
775
466
 
776
- // @public (undocumented)
777
- interface EditorPresetProps {
778
- // (undocumented)
779
- excludes?: Set<string>;
780
- // (undocumented)
781
- experimental?: Array<string>;
782
- // (undocumented)
783
- featureFlags?: EditorFeatureFlags;
784
- }
785
-
786
467
  // @public (undocumented)
787
468
  type EditorProduct = 'bitbucket' | 'confluence' | 'jira' | 'stride' | undefined;
788
469
 
@@ -840,64 +521,10 @@ interface EditorSharedPropsWithPlugins {
840
521
  sanitizePrivateContent?: boolean;
841
522
  }
842
523
 
843
- // @public (undocumented)
844
- interface EditorViewProps {
845
- // (undocumented)
846
- createAnalyticsEvent?: CreateUIAnalyticsEvent;
847
- // (undocumented)
848
- disabled?: boolean;
849
- // (undocumented)
850
- editorProps: EditorNextProps | EditorProps;
851
- // (undocumented)
852
- experienceStore?: ExperienceStore;
853
- // (undocumented)
854
- onEditorCreated: (instance: {
855
- view: EditorView;
856
- config: EditorConfig;
857
- eventDispatcher: EventDispatcher;
858
- transformer?: Transformer_2<string>;
859
- }) => void;
860
- // (undocumented)
861
- onEditorDestroyed: (instance: {
862
- view: EditorView;
863
- config: EditorConfig;
864
- eventDispatcher: EventDispatcher;
865
- transformer?: Transformer_2<string>;
866
- }) => void;
867
- // (undocumented)
868
- portalProviderAPI: PortalProviderAPI;
869
- // (undocumented)
870
- preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
871
- // (undocumented)
872
- providerFactory: ProviderFactory;
873
- // (undocumented)
874
- render?: (props: {
875
- editor: JSX.Element;
876
- view?: EditorView;
877
- config: EditorConfig;
878
- eventDispatcher: EventDispatcher;
879
- transformer?: Transformer_2<string>;
880
- dispatchAnalyticsEvent: DispatchAnalyticsEvent;
881
- editorRef: React_2.RefObject<HTMLDivElement>;
882
- }) => JSX.Element;
883
- // (undocumented)
884
- setEditorApi?: SetEditorAPI;
885
- }
886
-
887
- // @public (undocumented)
888
- type EditorViewStateUpdatedCallbackProps = {
889
- readonly originalTransaction: Readonly<Transaction>;
890
- readonly transactions: readonly Transaction[];
891
- readonly oldEditorState: Readonly<EditorState>;
892
- readonly newEditorState: Readonly<EditorState>;
893
- };
894
-
895
524
  export { EmojiResource }
896
525
 
897
526
  export { EVENT_TYPE }
898
527
 
899
- export { EventDispatcher }
900
-
901
528
  // @public (undocumented)
902
529
  interface ExtensionConfig {
903
530
  // (undocumented)
@@ -935,41 +562,9 @@ type FindReplaceOptions = {
935
562
  allowMatchCase?: boolean;
936
563
  };
937
564
 
938
- export { GapCursorSelection }
939
-
940
- export { GapCursorSide }
941
-
942
- // @public (undocumented)
943
- interface GapSelectionData {
944
- // (undocumented)
945
- pos: number;
946
- // (undocumented)
947
- type: 'gapcursor';
948
- }
949
-
950
- // @public (undocumented)
951
- export function getDefaultPresetOptionsFromEditorProps(props: EditorProps, createAnalyticsEvent?: CreateUIAnalyticsEvent): EditorPresetProps & DefaultPresetPluginOptions & EditorPluginFeatureProps;
952
-
953
565
  // @public (undocumented)
954
566
  export function getNodesCount(node: Node_2): Record<string, number>;
955
567
 
956
- // @public (undocumented)
957
- type getPosHandler = getPosHandlerNode;
958
-
959
- // @public (undocumented)
960
- type getPosHandlerNode = () => number | undefined;
961
-
962
- // @public
963
- export const historyPluginKey: PluginKey<HistoryPluginState>;
964
-
965
- // @public (undocumented)
966
- export interface HistoryPluginState {
967
- // (undocumented)
968
- canRedo: boolean;
969
- // (undocumented)
970
- canUndo: boolean;
971
- }
972
-
973
568
  // @public (undocumented)
974
569
  export type InlineCommentAnnotationProvider = AnnotationTypeProvider<AnnotationTypes.INLINE_COMMENT, InlineCommentState> & {
975
570
  createComponent?: React_2.ComponentType<InlineCommentCreateComponentProps>;
@@ -997,28 +592,6 @@ export type InlineCommentViewComponentProps = AnnotationComponentProps & {
997
592
 
998
593
  export { INPUT_METHOD }
999
594
 
1000
- // @public (undocumented)
1001
- export type InsertBlockInputMethodToolbar = INPUT_METHOD.INSERT_MENU | INPUT_METHOD.TOOLBAR;
1002
-
1003
- // @public (undocumented)
1004
- export const insertDate: (date?: DateType, inputMethod?: InsertBlockInputMethodToolbar, commitMethod?: INPUT_METHOD.KEYBOARD | INPUT_METHOD.PICKER, enterPressed?: boolean) => Command;
1005
-
1006
- // @public (undocumented)
1007
- export const insertExpand: Command;
1008
-
1009
- // @public (undocumented)
1010
- type InsertItemProps = {
1011
- contentItem: TypeAheadItem;
1012
- query: string;
1013
- sourceListItem: TypeAheadItem[];
1014
- };
1015
-
1016
- // @public (undocumented)
1017
- export const insertMediaSingleNode: (view: EditorView, mediaState: MediaState, inputMethod?: InputMethodInsertMedia, collection?: string, alignLeftOnInsert?: boolean, newInsertionBehaviour?: boolean, widthPluginState?: WidthPluginState | undefined, editorAnalyticsAPI?: EditorAnalyticsAPI | undefined) => boolean;
1018
-
1019
- // @public (undocumented)
1020
- export const insertTaskDecisionCommand: (listType: TaskDecisionListType, inputMethod?: INPUT_METHOD.FORMATTING | INPUT_METHOD.QUICK_INSERT | InsertBlockInputMethodToolbar, addItem?: AddItemTransactionCreator, listLocalId?: string, itemLocalId?: string) => Command;
1021
-
1022
595
  // @public (undocumented)
1023
596
  interface LayoutPluginOptions extends LongPressSelectionPluginOptions {
1024
597
  // (undocumented)
@@ -1029,8 +602,6 @@ interface LayoutPluginOptions extends LongPressSelectionPluginOptions {
1029
602
  UNSAFE_allowSingleColumnLayout?: boolean;
1030
603
  }
1031
604
 
1032
- export { lightModeStatusColorPalette }
1033
-
1034
605
  // @public (undocumented)
1035
606
  type Listener = (data: any) => void;
1036
607
 
@@ -1038,17 +609,6 @@ export { MacroAttributes }
1038
609
 
1039
610
  export { MacroProvider }
1040
611
 
1041
- // @public (undocumented)
1042
- interface MeasureHelpers {
1043
- // (undocumented)
1044
- startMeasure: (measureName: string) => void;
1045
- // (undocumented)
1046
- stopMeasure: (measureName: string, onMeasureComplete?: (duration: number, startTime: number) => void) => void;
1047
- }
1048
-
1049
- // @public (undocumented)
1050
- type MeasureListener = (entry: SimpleEntry) => void;
1051
-
1052
612
  // @public (undocumented)
1053
613
  export const measurements: {
1054
614
  EDITOR_MOUNTED: string;
@@ -1058,31 +618,6 @@ export const measurements: {
1058
618
  PASTE: string;
1059
619
  };
1060
620
 
1061
- // @public (undocumented)
1062
- type MediaNextEditorPluginType = NextEditorPlugin<'media', {
1063
- pluginConfiguration: MediaOptions | undefined;
1064
- dependencies: [
1065
- FeatureFlagsPlugin,
1066
- OptionalPlugin<AnalyticsPlugin>,
1067
- GuidelinePlugin,
1068
- GridPlugin,
1069
- WidthPlugin,
1070
- DecorationsPlugin,
1071
- FloatingToolbarPlugin,
1072
- EditorDisabledPlugin,
1073
- FocusPlugin
1074
- ];
1075
- sharedState: MediaPluginState | null;
1076
- }>;
1077
-
1078
- // @public (undocumented)
1079
- interface MediaNodeWithPosHandler {
1080
- // (undocumented)
1081
- getPos: ProsemirrorGetPosHandler;
1082
- // (undocumented)
1083
- node: Node_2;
1084
- }
1085
-
1086
621
  // @public (undocumented)
1087
622
  export interface MediaOptions {
1088
623
  // (undocumented)
@@ -1145,126 +680,6 @@ export interface MediaOptions {
1145
680
  waitForMediaUpload?: boolean;
1146
681
  }
1147
682
 
1148
- // @public (undocumented)
1149
- export const mediaPlugin: MediaNextEditorPluginType;
1150
-
1151
- // @public (undocumented)
1152
- export const mediaPluginKey: PluginKey<MediaPluginState>;
1153
-
1154
- // @public (undocumented)
1155
- type MediaPluginOptions = {
1156
- providerFactory: ProviderFactory;
1157
- nodeViews: {
1158
- [name: string]: (node: Node_2, view: EditorView, getPos: getPosHandler) => NodeView;
1159
- };
1160
- errorReporter?: ErrorReporter;
1161
- uploadErrorHandler?: (state: MediaState) => void;
1162
- waitForMediaUpload?: boolean;
1163
- customDropzoneContainer?: HTMLElement;
1164
- customMediaPicker?: CustomMediaPicker;
1165
- allowResizing: boolean;
1166
- };
1167
-
1168
- // @public (undocumented)
1169
- interface MediaPluginState {
1170
- // (undocumented)
1171
- addPendingTask: (promise: Promise<any>) => void;
1172
- // (undocumented)
1173
- allowsUploads: boolean;
1174
- // (undocumented)
1175
- allUploadsFinished: boolean;
1176
- // (undocumented)
1177
- currentMaxWidth?: number;
1178
- // (undocumented)
1179
- destroy(): void;
1180
- // (undocumented)
1181
- dispatch?: Dispatch;
1182
- // (undocumented)
1183
- editingMediaSinglePos?: number;
1184
- // (undocumented)
1185
- element?: HTMLElement;
1186
- // (undocumented)
1187
- findMediaNode: (id: string) => MediaNodeWithPosHandler | null;
1188
- // (undocumented)
1189
- getMediaOptions: () => MediaPluginOptions;
1190
- // (undocumented)
1191
- handleDrag: (dragState: 'enter' | 'leave') => void;
1192
- // (undocumented)
1193
- handleMediaGroupUpdate: (oldNodes: Node_2[], newNodes: Node_2[]) => void;
1194
- // (undocumented)
1195
- handleMediaNodeMount: (node: Node_2, getPos: ProsemirrorGetPosHandler) => void;
1196
- // (undocumented)
1197
- handleMediaNodeRemoval: (node: Node_2 | undefined, getPos: ProsemirrorGetPosHandler) => void;
1198
- // (undocumented)
1199
- handleMediaNodeUnmount: (oldNode: Node_2) => void;
1200
- // (undocumented)
1201
- ignoreLinks: boolean;
1202
- // (undocumented)
1203
- insertFile: (mediaState: MediaState, onMediaStateChanged: MediaStateEventSubscriber, pickerType?: string) => void;
1204
- // (undocumented)
1205
- isFullscreen: boolean;
1206
- // (undocumented)
1207
- isResizing: boolean;
1208
- // (undocumented)
1209
- layout: RichMediaLayout;
1210
- // (undocumented)
1211
- mediaClientConfig?: MediaClientConfig;
1212
- // (undocumented)
1213
- mediaNodes: MediaNodeWithPosHandler[];
1214
- // (undocumented)
1215
- mediaOptions?: MediaOptions;
1216
- // (undocumented)
1217
- mediaProvider?: MediaProvider_2;
1218
- // (undocumented)
1219
- onContextIdentifierProvider: (_name: string, provider?: Promise<ContextIdentifierProvider>) => Promise<void>;
1220
- // (undocumented)
1221
- onPopupPickerClose: () => void;
1222
- // (undocumented)
1223
- onPopupToggle: (onPopupToogleCallback: (isOpen: boolean) => void) => void;
1224
- // (undocumented)
1225
- options: MediaPluginOptions;
1226
- // (undocumented)
1227
- pickerPromises: Array<Promise<PickerFacade>>;
1228
- // (undocumented)
1229
- pickers: PickerFacade[];
1230
- // (undocumented)
1231
- removeSelectedMediaContainer: () => boolean;
1232
- // (undocumented)
1233
- resizingWidth: number;
1234
- // (undocumented)
1235
- selectedMediaContainerNode: () => Node_2 | undefined;
1236
- // (undocumented)
1237
- setBrowseFn: (browseFn: () => void) => void;
1238
- // (undocumented)
1239
- setIsResizing(isResizing: boolean): void;
1240
- // (undocumented)
1241
- setMediaProvider: (mediaProvider?: Promise<MediaProvider_2>) => Promise<void>;
1242
- // (undocumented)
1243
- setResizingWidth(width: number): void;
1244
- // (undocumented)
1245
- setView(view: EditorView): void;
1246
- // (undocumented)
1247
- showDropzone: boolean;
1248
- // (undocumented)
1249
- showEditingDialog?: boolean;
1250
- // (undocumented)
1251
- showMediaPicker: () => void;
1252
- // (undocumented)
1253
- splitMediaGroup: () => boolean;
1254
- // (undocumented)
1255
- updateAndDispatch(props: Partial<Pick<this, 'allUploadsFinished' | 'allowsUploads' | 'isFullscreen'>>): void;
1256
- // (undocumented)
1257
- updateElement(): void;
1258
- // (undocumented)
1259
- updateMediaSingleNodeAttrs: (id: string, attrs: object) => boolean | undefined;
1260
- // (undocumented)
1261
- uploadMediaClientConfig?: MediaClientConfig;
1262
- // (undocumented)
1263
- waitForMediaUpload: boolean;
1264
- // (undocumented)
1265
- waitForPendingTasks: (timeout?: number, lastTask?: Promise<MediaState | null>) => Promise<MediaState | null>;
1266
- }
1267
-
1268
683
  export { MediaProvider_2 as MediaProvider }
1269
684
 
1270
685
  // @public (undocumented)
@@ -1274,7 +689,7 @@ interface MediaSingleOptions {
1274
689
  }
1275
690
 
1276
691
  // @public (undocumented)
1277
- export interface MediaState {
692
+ interface MediaState {
1278
693
  // (undocumented)
1279
694
  collection?: string;
1280
695
  // (undocumented)
@@ -1304,15 +719,6 @@ export interface MediaState {
1304
719
  status?: MediaStateStatus;
1305
720
  }
1306
721
 
1307
- // @public (undocumented)
1308
- type MediaStateEvent = MediaState;
1309
-
1310
- // @public (undocumented)
1311
- type MediaStateEventListener = (evt: MediaStateEvent) => void;
1312
-
1313
- // @public (undocumented)
1314
- type MediaStateEventSubscriber = (listener: MediaStateEventListener) => void;
1315
-
1316
722
  // @public (undocumented)
1317
723
  type MediaStateStatus = 'cancelled' | 'error' | 'mobile-upload-end' | 'preview' | 'ready' | 'unknown';
1318
724
 
@@ -1324,43 +730,14 @@ interface MentionPluginConfig {
1324
730
  insertDisplayName?: boolean;
1325
731
  }
1326
732
 
1327
- // @public (undocumented)
1328
- export type MentionPluginState = {
1329
- mentionProvider?: MentionProvider_2;
1330
- contextIdentifierProvider?: ContextIdentifierProvider;
1331
- mentions?: Array<MentionDescription>;
1332
- canInsertMention?: boolean;
1333
- };
1334
-
1335
733
  export { MentionProvider }
1336
734
 
1337
735
  export { MentionResource }
1338
736
 
1339
- export { messages }
1340
-
1341
- // @public (undocumented)
1342
- type MobileUploadEndEventPayload = {
1343
- readonly file: MediaFile & {
1344
- readonly collectionName?: string;
1345
- readonly publicId?: string;
1346
- };
1347
- };
1348
-
1349
737
  // @public (undocumented)
1350
738
  const name_2: string;
1351
739
  export { name_2 as name }
1352
740
 
1353
- // @public (undocumented)
1354
- type NewMediaEvent = (state: MediaState, onStateChanged: MediaStateEventSubscriber, pickerType?: string) => void;
1355
-
1356
- // @public (undocumented)
1357
- interface NodeSelectionData {
1358
- // (undocumented)
1359
- anchor: number;
1360
- // (undocumented)
1361
- type: 'node';
1362
- }
1363
-
1364
741
  // @public (undocumented)
1365
742
  type OnEditorViewStateUpdated = (props: {
1366
743
  readonly originalTransaction: Readonly<Transaction>;
@@ -1369,26 +746,6 @@ type OnEditorViewStateUpdated = (props: {
1369
746
  readonly newEditorState: Readonly<EditorState>;
1370
747
  }) => void;
1371
748
 
1372
- // @public (undocumented)
1373
- export const openDatePicker: () => Command;
1374
-
1375
- export { PaletteColor }
1376
-
1377
- // @public (undocumented)
1378
- export type PanelPlugin = typeof panelPlugin;
1379
-
1380
- // @public (undocumented)
1381
- const panelPlugin: NextEditorPlugin<'panel', {
1382
- pluginConfiguration: PanelPluginOptions | undefined;
1383
- dependencies: [
1384
- typeof decorationsPlugin,
1385
- OptionalPlugin<typeof analyticsPlugin>
1386
- ];
1387
- actions: {
1388
- insertPanel: (inputMethod: INPUT_METHOD) => Command_2;
1389
- };
1390
- }>;
1391
-
1392
749
  // @public (undocumented)
1393
750
  interface PanelPluginConfig {
1394
751
  // (undocumented)
@@ -1397,59 +754,6 @@ interface PanelPluginConfig {
1397
754
  allowCustomPanelEdit?: boolean;
1398
755
  }
1399
756
 
1400
- // @public (undocumented)
1401
- interface PanelPluginOptions extends LongPressSelectionPluginOptions, PanelPluginConfig {
1402
- }
1403
-
1404
- // @public (undocumented)
1405
- type PastePluginOptions = {
1406
- cardOptions?: CardOptions;
1407
- sanitizePrivateContent?: boolean;
1408
- };
1409
-
1410
- // @public (undocumented)
1411
- class PickerFacade {
1412
- constructor(pickerType: PickerType, config: PickerFacadeConfig, pickerConfig?: CustomMediaPicker | null | undefined, analyticsName?: string);
1413
- // (undocumented)
1414
- readonly config: PickerFacadeConfig;
1415
- // (undocumented)
1416
- destroy(): void;
1417
- // (undocumented)
1418
- erroredFiles: Set<string>;
1419
- // (undocumented)
1420
- handleMobileUploadEnd: (event: MobileUploadEndEventPayload) => void;
1421
- // (undocumented)
1422
- handleReady: (event: UploadEndEventPayload) => void;
1423
- // (undocumented)
1424
- handleUploadError: ({ error, fileId }: UploadErrorEventPayload) => void;
1425
- // (undocumented)
1426
- handleUploadPreviewUpdate: (event: UploadPreviewUpdateEventPayload) => void;
1427
- // (undocumented)
1428
- init(): Promise<PickerFacade>;
1429
- // (undocumented)
1430
- get mediaPicker(): CustomMediaPicker | undefined;
1431
- // (undocumented)
1432
- onDrag(cb: (state: 'enter' | 'leave') => any): void;
1433
- // (undocumented)
1434
- onNewMedia(cb: NewMediaEvent): void;
1435
- // (undocumented)
1436
- readonly pickerConfig?: CustomMediaPicker | null | undefined;
1437
- // (undocumented)
1438
- setUploadParams(params: UploadParams): void;
1439
- // (undocumented)
1440
- get type(): PickerType;
1441
- }
1442
-
1443
- // @public (undocumented)
1444
- type PickerFacadeConfig = {
1445
- mediaClientConfig: MediaClientConfig;
1446
- errorReporter: ErrorReportingHandler;
1447
- featureFlags?: MediaFeatureFlags_2;
1448
- };
1449
-
1450
- // @public (undocumented)
1451
- type PickerType = 'clipboard' | 'customMediaPicker' | 'dropzone';
1452
-
1453
757
  // @public (undocumented)
1454
758
  interface PlaceholderTextOptions {
1455
759
  // (undocumented)
@@ -1470,8 +774,6 @@ export { PortalRenderer }
1470
774
 
1471
775
  export { PresenceProvider }
1472
776
 
1473
- export { PresenceResource }
1474
-
1475
777
  // @public (undocumented)
1476
778
  type PrimaryToolbarComponents = BeforeAndAfterToolbarComponents | ReactComponents;
1477
779
 
@@ -1521,15 +823,6 @@ type Props_4 = {
1521
823
  children?: React_2.ReactElement;
1522
824
  };
1523
825
 
1524
- // @public (undocumented)
1525
- type Props_5 = {
1526
- oldPluginState: TypeAheadPluginState;
1527
- newPluginState: TypeAheadPluginState;
1528
- };
1529
-
1530
- // @public (undocumented)
1531
- type ProsemirrorGetPosHandler = getPosHandlerNode;
1532
-
1533
826
  export { QuickInsertItem }
1534
827
 
1535
828
  export { QuickInsertProvider }
@@ -1537,199 +830,12 @@ export { QuickInsertProvider }
1537
830
  // @public (undocumented)
1538
831
  type ReactComponents = ReactElement<any> | ReactElement<any>[];
1539
832
 
1540
- // @public (undocumented)
1541
- export const ReactEditorView: FC<WithIntlProps<EditorViewProps & WrappedComponentProps<"intl">>> & {
1542
- WrappedComponent: ComponentType<EditorViewProps & WrappedComponentProps<"intl">>;
1543
- };
1544
-
1545
- // @public (undocumented)
1546
- class ReactEditorView_2<T = {}> extends React_2.Component<EditorViewProps & WrappedComponentProps & T, {}, EditorReactContext> {
1547
- constructor(props: EditorViewProps & WrappedComponentProps & T, context: EditorReactContext);
1548
- // (undocumented)
1549
- blur: () => void;
1550
- // (undocumented)
1551
- componentDidMount(): void;
1552
- componentWillUnmount(): void;
1553
- // (undocumented)
1554
- config: EditorConfig;
1555
- // (undocumented)
1556
- contentTransformer?: Transformer_2<string>;
1557
- // (undocumented)
1558
- static contextTypes: {
1559
- getAtlaskitAnalyticsEventHandlers: PropTypes.Requireable<(...args: any[]) => any>;
1560
- };
1561
- // (undocumented)
1562
- createEditorState: (options: CreateEditorStateOptions) => EditorState;
1563
- // (undocumented)
1564
- dispatch: Dispatch;
1565
- // (undocumented)
1566
- dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void;
1567
- // (undocumented)
1568
- editorRef: React_2.RefObject<HTMLDivElement>;
1569
- // (undocumented)
1570
- editorState: EditorState;
1571
- // (undocumented)
1572
- errorReporter: ErrorReporter;
1573
- // (undocumented)
1574
- eventDispatcher: EventDispatcher;
1575
- // (undocumented)
1576
- experienceStore?: ExperienceStore;
1577
- // (undocumented)
1578
- formatFullWidthAppearance: (appearance: EditorAppearance | undefined) => FULL_WIDTH_MODE;
1579
- // (undocumented)
1580
- getDirectEditorProps: (state?: EditorState) => DirectEditorProps;
1581
- // (undocumented)
1582
- getEditorState: () => EditorState | undefined;
1583
- // (undocumented)
1584
- getEditorView: () => EditorView | undefined;
1585
- // (undocumented)
1586
- getPlugins(preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>): EditorPlugin[];
1587
- // (undocumented)
1588
- handleAnalyticsEvent: FireAnalyticsCallback;
1589
- // (undocumented)
1590
- handleEditorViewRef: (node: HTMLDivElement) => void;
1591
- // (undocumented)
1592
- proseMirrorRenderedSeverity?: SEVERITY;
1593
- // (undocumented)
1594
- reconfigureState(props: EditorViewProps): void;
1595
- // (undocumented)
1596
- render(): JSX.Element;
1597
- // (undocumented)
1598
- resetEditorState: ({ doc, shouldScrollToBottom, }: {
1599
- doc: string;
1600
- shouldScrollToBottom: boolean;
1601
- }) => void;
1602
- // (undocumented)
1603
- transactionTracker: TransactionTracker;
1604
- // (undocumented)
1605
- get transactionTracking(): TransactionTracking;
1606
- // (undocumented)
1607
- UNSAFE_componentWillReceiveProps(nextProps: EditorViewProps): void;
1608
- // (undocumented)
1609
- validTransactionCount: number;
1610
- // (undocumented)
1611
- view?: EditorView;
1612
- }
1613
-
1614
- // @public (undocumented)
1615
- interface RectData {
1616
- // (undocumented)
1617
- left: number;
1618
- // (undocumented)
1619
- top: number;
1620
- }
1621
-
1622
- // @public (undocumented)
1623
- export const removeStatus: (showStatusPickerAt: number) => Command;
1624
-
1625
- // @public (undocumented)
1626
- export type SelectionData = AllSelectionData | CellSelectionData | GapSelectionData | NodeSelectionData | TextSelectionData;
1627
-
1628
- // @public (undocumented)
1629
- export interface SelectionDataState {
1630
- // (undocumented)
1631
- markTypes: string[];
1632
- // (undocumented)
1633
- nodeTypes: string[];
1634
- // (undocumented)
1635
- rect: RectData;
1636
- // (undocumented)
1637
- selection: SelectionData;
1638
- }
1639
-
1640
- // @public (undocumented)
1641
- export const selectionPluginKey: PluginKey<any>;
1642
-
1643
- // @public (undocumented)
1644
- type SetEditorAPI = (editorApi: PublicPluginAPI<any>) => void;
1645
-
1646
- // @public (undocumented)
1647
- export const setIsExpanded: (isExpanded: boolean) => Command_2;
1648
-
1649
- export { setKeyboardHeight }
1650
-
1651
- // @public (undocumented)
1652
- export const setMobilePaddingTop: (paddingTop: number) => Command_2;
1653
-
1654
- // @public (undocumented)
1655
- export const setStatusPickerAt: (showStatusPickerAt: null | number) => (state: EditorState, dispatch: (tr: Transaction) => void) => boolean;
1656
-
1657
833
  export { setTextSelection }
1658
834
 
1659
- // @public (undocumented)
1660
- interface SimpleEntry {
1661
- // (undocumented)
1662
- duration: number;
1663
- // (undocumented)
1664
- name: string;
1665
- // (undocumented)
1666
- startTime: number;
1667
- }
1668
-
1669
835
  // @public (undocumented)
1670
836
  interface State {
1671
837
  }
1672
838
 
1673
- // @public (undocumented)
1674
- export const statusMessages: {
1675
- placeholder: {
1676
- id: string;
1677
- defaultMessage: string;
1678
- description: string;
1679
- };
1680
- editText: {
1681
- id: string;
1682
- defaultMessage: string;
1683
- description: string;
1684
- };
1685
- editColor: {
1686
- id: string;
1687
- defaultMessage: string;
1688
- description: string;
1689
- };
1690
- };
1691
-
1692
- // @public (undocumented)
1693
- export const statusPluginKey: PluginKey<StatusState>;
1694
-
1695
- // @public (undocumented)
1696
- export type StatusState = {
1697
- isNew: boolean;
1698
- showStatusPickerAt: null | number;
1699
- };
1700
-
1701
- // @public (undocumented)
1702
- export type StatusType = {
1703
- color: Color;
1704
- text: string;
1705
- localId?: string;
1706
- };
1707
-
1708
- // @public (undocumented)
1709
- type SubscribeToToolbarAndPickerUpdates = (editorView: EditorView, cb: (args: SubscribeToToolbarAndPickerUpdatesCallbackArgs) => void) => () => void;
1710
-
1711
- // @public (undocumented)
1712
- export const subscribeToToolbarAndPickerUpdates: SubscribeToToolbarAndPickerUpdates;
1713
-
1714
- // @public (undocumented)
1715
- type SubscribeToToolbarAndPickerUpdatesCallbackArgs = {
1716
- dateState?: DatePluginState;
1717
- statusState?: StatusState;
1718
- toolbarConfig: ConfigWithNodeInfo | null | undefined;
1719
- };
1720
-
1721
- // @public (undocumented)
1722
- type SubscribeTypeAheadUpdates = (editorView: EditorView, cb: (props: Props_5) => void) => () => void;
1723
-
1724
- // @public (undocumented)
1725
- export const subscribeTypeAheadUpdates: SubscribeTypeAheadUpdates;
1726
-
1727
- // @public (undocumented)
1728
- export type TaskDecisionInputMethod = INPUT_METHOD.FORMATTING | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR;
1729
-
1730
- // @public (undocumented)
1731
- type TaskDecisionListType = 'decisionList' | 'taskList';
1732
-
1733
839
  export { TeamMentionResource }
1734
840
 
1735
841
  // @public (undocumented)
@@ -1744,31 +850,6 @@ interface TextColorPluginConfig {
1744
850
  defaultColor?: TextColorDefaultColor;
1745
851
  }
1746
852
 
1747
- // @public (undocumented)
1748
- export const textColorPluginKey: PluginKey<TextColorPluginState>;
1749
-
1750
- // @public (undocumented)
1751
- export type TextColorPluginState = {
1752
- palette: Array<PaletteColor>;
1753
- defaultColor: string;
1754
- disabled?: boolean;
1755
- color: null | string;
1756
- };
1757
-
1758
- export { TextFormattingInputMethodBasic }
1759
-
1760
- export { TextFormattingInputMethodToolbar }
1761
-
1762
- // @public (undocumented)
1763
- interface TextSelectionData {
1764
- // (undocumented)
1765
- anchor: number;
1766
- // (undocumented)
1767
- head: number;
1768
- // (undocumented)
1769
- type: 'text';
1770
- }
1771
-
1772
853
  // @public (undocumented)
1773
854
  export function ToolbarFeedback(props: Props_3): jsx.JSX.Element;
1774
855
 
@@ -1777,53 +858,11 @@ export const ToolbarHelp: React_2.FC<WithIntlProps<Props_2 & WrappedComponentPro
1777
858
  WrappedComponent: React_2.ComponentType<Props_2 & WrappedComponentProps<"intl">>;
1778
859
  };
1779
860
 
1780
- // @public (undocumented)
1781
- class TransactionTracker {
1782
- // (undocumented)
1783
- addMeasureListener(listener: MeasureListener): void;
1784
- // (undocumented)
1785
- bumpDispatchCounter: (options: TransactionTracking) => number;
1786
- // (undocumented)
1787
- getMeasureHelpers: (options: TransactionTracking) => MeasureHelpers;
1788
- // (undocumented)
1789
- removeMeasureListener(listener: MeasureListener): void;
1790
- // (undocumented)
1791
- shouldTrackTransaction(options: TransactionTracking): boolean;
1792
- }
1793
-
1794
861
  export { TypeAheadItem }
1795
862
 
1796
- // @public (undocumented)
1797
- export const typeAheadPluginKey: PluginKey<TypeAheadPluginState>;
1798
-
1799
- // @public (undocumented)
1800
- export type TypeAheadPluginState = {
1801
- decorationSet: DecorationSet;
1802
- decorationElement: HTMLElement | null;
1803
- typeAheadHandlers: Array<TypeAheadHandler>;
1804
- query: string;
1805
- items: Array<TypeAheadItem_2>;
1806
- triggerHandler?: TypeAheadHandler;
1807
- selectedIndex: number;
1808
- stats: TypeAheadStatsSerializable | null;
1809
- inputMethod: TypeAheadInputMethod | null;
1810
- };
1811
-
1812
- // @public (undocumented)
1813
- interface TypeAheadStatsSerializable extends TypeAheadStats {
1814
- // (undocumented)
1815
- serialize: () => TypeAheadStats;
1816
- }
1817
-
1818
863
  // @public (undocumented)
1819
864
  export type UpdateEvent = 'create' | 'delete' | 'resolve' | 'setselectedannotation' | 'unresolve';
1820
865
 
1821
- // @public (undocumented)
1822
- export const updateStatus: (status?: StatusType) => Command;
1823
-
1824
- // @public (undocumented)
1825
- export const updateStatusWithAnalytics: (inputMethod: InsertBlockInputMethodToolbar, status?: StatusType) => Command;
1826
-
1827
866
  // @public (undocumented)
1828
867
  export const version: string;
1829
868
 
@@ -1872,8 +911,6 @@ interface WithHelpTriggerProps {
1872
911
  render: (openHelp: () => void) => React_2.ReactNode;
1873
912
  }
1874
913
 
1875
- export { WithPluginState }
1876
-
1877
914
  // (No @packageDocumentation comment for this package)
1878
915
 
1879
916
  ```