@atlaskit/editor-core 193.24.6 → 193.24.18

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 (113) hide show
  1. package/.eslintrc.js +37 -37
  2. package/CHANGELOG.md +16 -0
  3. package/architecture/0001-record-architecture-decisions.md +6 -3
  4. package/architecture/0002-deep-equality-check-for-getsharedstate.md +9 -8
  5. package/architecture/0003-explicit-plugin-dependencies.md +47 -18
  6. package/codemods/140.0.0-rc-kraken-fix-type-errors.ts +1 -3
  7. package/codemods/145.0.0-deprecate-props.ts +1 -3
  8. package/codemods/172.0.0-transform-smartlinks-prop.ts +1 -3
  9. package/codemods/175.0.0-rename-unsafe-allowUndoRedoButton-prop.ts +1 -1
  10. package/codemods/180.1.0-update-to-editor-migration-component.ts +1 -3
  11. package/codemods/__tests__/next-remove-allow-more-text-colors-prop.ts +29 -31
  12. package/codemods/__tests__/remove-config-panel-width-prop.ts +29 -31
  13. package/codemods/__tests__/rename-editor-to-editor-migration-component.ts +43 -45
  14. package/codemods/__tests__/rename-smartlinks-prop.ts +57 -59
  15. package/codemods/__tests__/rename-unsafe-allowUndoRedoButtons-prop.ts +43 -43
  16. package/codemods/__tests__/rename-unsafe-cards-prop.ts +43 -45
  17. package/codemods/migrates/next-remove-allow-more-text-colors-prop.ts +41 -45
  18. package/codemods/migrates/remove-config-panel-width-prop.ts +20 -29
  19. package/codemods/migrates/rename-editor-to-editor-migration-component.ts +20 -24
  20. package/codemods/migrates/rename-smartlinks-prop.ts +30 -38
  21. package/codemods/migrates/rename-unsafe-allowUndoRedoButtons-prop.ts +4 -5
  22. package/codemods/migrates/rename-unsafe-cards-prop.ts +1 -4
  23. package/codemods/utils.ts +62 -72
  24. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +3 -3
  25. package/dist/cjs/ui/AppearanceComponents/Mobile.js +5 -5
  26. package/dist/cjs/ui/ContentStyles/ai-panels.js +1 -1
  27. package/dist/cjs/ui/ContentStyles/code-block.js +2 -2
  28. package/dist/cjs/ui/ContentStyles/date.js +1 -1
  29. package/dist/cjs/ui/ContentStyles/expand.js +1 -1
  30. package/dist/cjs/ui/ContentStyles/extension.js +2 -2
  31. package/dist/cjs/ui/ContentStyles/index.js +6 -6
  32. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  33. package/dist/cjs/ui/ContentStyles/media.js +1 -1
  34. package/dist/cjs/ui/ContentStyles/panel.js +1 -1
  35. package/dist/cjs/ui/ContentStyles/status.js +1 -1
  36. package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +1 -1
  37. package/dist/cjs/version-wrapper.js +1 -1
  38. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +40 -40
  39. package/dist/es2019/ui/AppearanceComponents/Mobile.js +5 -5
  40. package/dist/es2019/ui/ContentStyles/ai-panels.js +80 -80
  41. package/dist/es2019/ui/ContentStyles/code-block.js +58 -58
  42. package/dist/es2019/ui/ContentStyles/date.js +19 -19
  43. package/dist/es2019/ui/ContentStyles/expand.js +98 -98
  44. package/dist/es2019/ui/ContentStyles/extension.js +154 -159
  45. package/dist/es2019/ui/ContentStyles/index.js +139 -144
  46. package/dist/es2019/ui/ContentStyles/layout.js +125 -125
  47. package/dist/es2019/ui/ContentStyles/media.js +179 -178
  48. package/dist/es2019/ui/ContentStyles/panel.js +29 -30
  49. package/dist/es2019/ui/ContentStyles/status.js +30 -32
  50. package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +18 -19
  51. package/dist/es2019/version-wrapper.js +1 -1
  52. package/dist/esm/ui/Appearance/Comment/Toolbar.js +3 -3
  53. package/dist/esm/ui/AppearanceComponents/Mobile.js +5 -5
  54. package/dist/esm/ui/ContentStyles/ai-panels.js +1 -1
  55. package/dist/esm/ui/ContentStyles/code-block.js +2 -2
  56. package/dist/esm/ui/ContentStyles/date.js +1 -1
  57. package/dist/esm/ui/ContentStyles/expand.js +1 -1
  58. package/dist/esm/ui/ContentStyles/extension.js +2 -2
  59. package/dist/esm/ui/ContentStyles/index.js +6 -6
  60. package/dist/esm/ui/ContentStyles/layout.js +1 -1
  61. package/dist/esm/ui/ContentStyles/media.js +1 -1
  62. package/dist/esm/ui/ContentStyles/panel.js +1 -1
  63. package/dist/esm/ui/ContentStyles/status.js +1 -1
  64. package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +1 -1
  65. package/dist/esm/version-wrapper.js +1 -1
  66. package/dist/types/composable-editor/editor.d.ts +1 -1
  67. package/dist/types/composable-editor/hooks/useProviders.d.ts +1 -1
  68. package/dist/types/create-editor/create-preset.d.ts +135 -9
  69. package/dist/types/create-editor/sort-by-order.d.ts +1 -1
  70. package/dist/types/event-dispatcher/index.d.ts +2 -2
  71. package/dist/types/index.d.ts +2 -2
  72. package/dist/types/presets/default.d.ts +120 -8
  73. package/dist/types/presets/universal.d.ts +135 -9
  74. package/dist/types/presets/useUniversalPreset.d.ts +135 -9
  75. package/dist/types/test-utils.d.ts +1 -1
  76. package/dist/types/types/browser.d.ts +1 -1
  77. package/dist/types/types/editor-plugin.d.ts +1 -1
  78. package/dist/types/types/empty-state-handler.d.ts +1 -1
  79. package/dist/types/types/feature-flags.d.ts +1 -1
  80. package/dist/types/types/index.d.ts +3 -3
  81. package/dist/types/types/pm-config.d.ts +1 -1
  82. package/dist/types/types/ui-components.d.ts +1 -1
  83. package/dist/types/ui/Addon/ClickAreaBlock/index.d.ts +1 -1
  84. package/dist/types/ui/Toolbar/types.d.ts +1 -1
  85. package/dist/types/utils/action.d.ts +1 -4
  86. package/dist/types/utils/performance/plugin-performance-report.d.ts +1 -1
  87. package/dist/types/utils/slice.d.ts +1 -1
  88. package/dist/types-ts4.5/composable-editor/editor.d.ts +1 -1
  89. package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +1 -1
  90. package/dist/types-ts4.5/create-editor/create-preset.d.ts +153 -9
  91. package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +1 -1
  92. package/dist/types-ts4.5/event-dispatcher/index.d.ts +2 -2
  93. package/dist/types-ts4.5/index.d.ts +2 -2
  94. package/dist/types-ts4.5/presets/default.d.ts +136 -8
  95. package/dist/types-ts4.5/presets/universal.d.ts +153 -9
  96. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +153 -9
  97. package/dist/types-ts4.5/test-utils.d.ts +1 -1
  98. package/dist/types-ts4.5/types/browser.d.ts +1 -1
  99. package/dist/types-ts4.5/types/editor-plugin.d.ts +1 -1
  100. package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -1
  101. package/dist/types-ts4.5/types/feature-flags.d.ts +1 -1
  102. package/dist/types-ts4.5/types/index.d.ts +3 -3
  103. package/dist/types-ts4.5/types/pm-config.d.ts +1 -1
  104. package/dist/types-ts4.5/types/ui-components.d.ts +1 -1
  105. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +1 -1
  106. package/dist/types-ts4.5/ui/Toolbar/types.d.ts +1 -1
  107. package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +1 -1
  108. package/dist/types-ts4.5/utils/slice.d.ts +1 -1
  109. package/docs/0-intro.tsx +13 -19
  110. package/docs/1-legacy-editor.tsx +13 -19
  111. package/docs/4-annotations.tsx +222 -223
  112. package/package.json +25 -16
  113. package/report.api.md +448 -473
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-core"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -109,84 +110,82 @@ type AnnotationCallback = (params: string) => void;
109
110
 
110
111
  // @public (undocumented)
111
112
  type AnnotationComponentProps = {
112
- textSelection?: string;
113
- dom?: HTMLElement;
114
- onClose?: () => void;
113
+ textSelection?: string;
114
+ dom?: HTMLElement;
115
+ onClose?: () => void;
115
116
  };
116
117
 
117
118
  // @public (undocumented)
118
119
  export type AnnotationInfo = {
119
- id: string;
120
- type: AnnotationTypes.INLINE_COMMENT;
120
+ id: string;
121
+ type: AnnotationTypes.INLINE_COMMENT;
121
122
  };
122
123
 
123
124
  // @public (undocumented)
124
125
  export interface AnnotationProviders {
125
- // (undocumented)
126
- inlineComment: InlineCommentAnnotationProvider;
126
+ // (undocumented)
127
+ inlineComment: InlineCommentAnnotationProvider;
127
128
  }
128
129
 
129
130
  // @public (undocumented)
130
131
  export interface AnnotationState<Type, State> {
131
- // (undocumented)
132
- annotationType: Type;
133
- // (undocumented)
134
- id: string;
135
- // (undocumented)
136
- state: State;
132
+ // (undocumented)
133
+ annotationType: Type;
134
+ // (undocumented)
135
+ id: string;
136
+ // (undocumented)
137
+ state: State;
137
138
  }
138
139
 
139
140
  // @public (undocumented)
140
141
  export interface AnnotationTypeProvider<Type, State> {
141
- // (undocumented)
142
- disallowOnWhitespace?: boolean;
143
- // (undocumented)
144
- getState: (
145
- annotationIds: string[],
146
- ) => Promise<AnnotationState<Type, State>[]>;
147
- // (undocumented)
148
- updateSubscriber?: AnnotationUpdateEmitter;
142
+ // (undocumented)
143
+ disallowOnWhitespace?: boolean;
144
+ // (undocumented)
145
+ getState: (annotationIds: string[]) => Promise<AnnotationState<Type, State>[]>;
146
+ // (undocumented)
147
+ updateSubscriber?: AnnotationUpdateEmitter;
149
148
  }
150
149
 
151
150
  // @public (undocumented)
152
151
  export class AnnotationUpdateEmitter extends EventEmitter_2 {
153
- // (undocumented)
154
- off(event: string, listener: AnnotationCallback | VisibilityCallback): this;
155
- // (undocumented)
156
- on(event: VisibilityEvent, listener: (isVisible: boolean) => void): this;
157
- // (undocumented)
158
- on(event: UpdateEvent, listener: (annotationId: string) => void): this;
152
+ // (undocumented)
153
+ off(event: string, listener: AnnotationCallback | VisibilityCallback): this;
154
+ // (undocumented)
155
+ on(event: VisibilityEvent, listener: (isVisible: boolean) => void): this;
156
+ // (undocumented)
157
+ on(event: UpdateEvent, listener: (annotationId: string) => void): this;
159
158
  }
160
159
 
161
160
  // @public (undocumented)
162
161
  type BeforeAndAfterToolbarComponents = {
163
- before: ReactComponents;
164
- after: ReactComponents;
162
+ before: ReactComponents;
163
+ after: ReactComponents;
165
164
  };
166
165
 
167
166
  export { CardProvider };
168
167
 
169
168
  // @public (undocumented)
170
169
  export class CollapsedEditor extends React_2.Component<Props, State> {
171
- // (undocumented)
172
- componentDidUpdate(): void;
173
- // (undocumented)
174
- editorComponent?: Editor;
175
- // (undocumented)
176
- functionalEditor?: boolean;
177
- // (undocumented)
178
- handleEditorRef: (editorRef?: Editor, editorRefCallback?: any) => void;
179
- // (undocumented)
180
- previouslyExpanded?: boolean;
181
- // (undocumented)
182
- render(): any;
170
+ // (undocumented)
171
+ componentDidUpdate(): void;
172
+ // (undocumented)
173
+ editorComponent?: Editor;
174
+ // (undocumented)
175
+ functionalEditor?: boolean;
176
+ // (undocumented)
177
+ handleEditorRef: (editorRef?: Editor, editorRefCallback?: any) => void;
178
+ // (undocumented)
179
+ previouslyExpanded?: boolean;
180
+ // (undocumented)
181
+ render(): any;
183
182
  }
184
183
 
185
184
  // @public (undocumented)
186
185
  export type Command = (
187
- state: EditorState,
188
- dispatch?: CommandDispatch,
189
- view?: EditorView,
186
+ state: EditorState,
187
+ dispatch?: CommandDispatch,
188
+ view?: EditorView,
190
189
  ) => boolean;
191
190
 
192
191
  // @public (undocumented)
@@ -197,289 +196,289 @@ export function ContextPanel(props: Props_4): jsx.JSX.Element;
197
196
 
198
197
  // @public (undocumented)
199
198
  export class Editor extends React_2.Component<EditorProps> {
200
- constructor(props: EditorProps);
201
- // (undocumented)
202
- static defaultProps: EditorProps;
203
- // (undocumented)
204
- render(): jsx.JSX.Element;
199
+ constructor(props: EditorProps);
200
+ // (undocumented)
201
+ static defaultProps: EditorProps;
202
+ // (undocumented)
203
+ render(): jsx.JSX.Element;
205
204
  }
206
205
 
207
206
  // @public (undocumented)
208
207
  export class EditorActions<T = any> implements EditorActionsOptions<T> {
209
- // (undocumented)
210
- __temporaryFixForConfigPanel(): Promise<void>;
211
- // (undocumented)
212
- appendText(text: string): boolean;
213
- // (undocumented)
214
- blur(): boolean;
215
- // (undocumented)
216
- clear(): boolean;
217
- // (undocumented)
218
- dispatchAnalyticsEvent: (payload: AnalyticsEventPayload_2) => void;
219
- // (undocumented)
220
- focus(): boolean;
221
- // (undocumented)
222
- static from<T>(
223
- view: EditorView,
224
- eventDispatcher: EventDispatcher,
225
- transformer?: Transformer_2<T>,
226
- ): EditorActions<T>;
227
- // (undocumented)
228
- getNodeByFragmentLocalId(id: string): Node_2 | undefined;
229
- // (undocumented)
230
- getNodeByLocalId(id: string): Node_2 | undefined;
231
- getResolvedEditorState: () => Promise<ResolvedEditorState | undefined>;
232
- getSelectedNode(): Node_2 | undefined;
233
- // (undocumented)
234
- getValue(): Promise<T | JSONDocNode | undefined>;
235
- // (undocumented)
236
- isDocumentEmpty(): boolean;
237
- // (undocumented)
238
- _privateGetEditorView(): EditorView | undefined;
239
- // (undocumented)
240
- _privateGetEventDispatcher(): EventDispatcher | undefined;
241
- // (undocumented)
242
- _privateRegisterEditor(
243
- editorView: EditorView,
244
- eventDispatcher: EventDispatcher,
245
- contentTransformer?: Transformer_2<T>,
246
- getFeatureFlags?: () => FeatureFlags,
247
- ): void;
248
- // (undocumented)
249
- _privateSubscribe(cb: ContextUpdateHandler): void;
250
- // (undocumented)
251
- _privateUnregisterEditor(): void;
252
- // (undocumented)
253
- _privateUnsubscribe(cb: ContextUpdateHandler): void;
254
- // (undocumented)
255
- replaceDocument(
256
- rawValue: any,
257
- shouldScrollToBottom?: boolean,
258
- shouldAddToHistory?: boolean,
259
- ): boolean;
260
- // (undocumented)
261
- replaceSelection(
262
- rawValue: Array<ReplaceRawValue> | ReplaceRawValue,
263
- tryToReplace?: boolean,
264
- ): boolean;
208
+ // (undocumented)
209
+ __temporaryFixForConfigPanel(): Promise<void>;
210
+ // (undocumented)
211
+ appendText(text: string): boolean;
212
+ // (undocumented)
213
+ blur(): boolean;
214
+ // (undocumented)
215
+ clear(): boolean;
216
+ // (undocumented)
217
+ dispatchAnalyticsEvent: (payload: AnalyticsEventPayload_2) => void;
218
+ // (undocumented)
219
+ focus(): boolean;
220
+ // (undocumented)
221
+ static from<T>(
222
+ view: EditorView,
223
+ eventDispatcher: EventDispatcher,
224
+ transformer?: Transformer_2<T>,
225
+ ): EditorActions<T>;
226
+ // (undocumented)
227
+ getNodeByFragmentLocalId(id: string): Node_2 | undefined;
228
+ // (undocumented)
229
+ getNodeByLocalId(id: string): Node_2 | undefined;
230
+ getResolvedEditorState: () => Promise<ResolvedEditorState | undefined>;
231
+ getSelectedNode(): Node_2 | undefined;
232
+ // (undocumented)
233
+ getValue(): Promise<T | JSONDocNode | undefined>;
234
+ // (undocumented)
235
+ isDocumentEmpty(): boolean;
236
+ // (undocumented)
237
+ _privateGetEditorView(): EditorView | undefined;
238
+ // (undocumented)
239
+ _privateGetEventDispatcher(): EventDispatcher | undefined;
240
+ // (undocumented)
241
+ _privateRegisterEditor(
242
+ editorView: EditorView,
243
+ eventDispatcher: EventDispatcher,
244
+ contentTransformer?: Transformer_2<T>,
245
+ getFeatureFlags?: () => FeatureFlags,
246
+ ): void;
247
+ // (undocumented)
248
+ _privateSubscribe(cb: ContextUpdateHandler): void;
249
+ // (undocumented)
250
+ _privateUnregisterEditor(): void;
251
+ // (undocumented)
252
+ _privateUnsubscribe(cb: ContextUpdateHandler): void;
253
+ // (undocumented)
254
+ replaceDocument(
255
+ rawValue: any,
256
+ shouldScrollToBottom?: boolean,
257
+ shouldAddToHistory?: boolean,
258
+ ): boolean;
259
+ // (undocumented)
260
+ replaceSelection(
261
+ rawValue: Array<ReplaceRawValue> | ReplaceRawValue,
262
+ tryToReplace?: boolean,
263
+ ): boolean;
265
264
  }
266
265
 
267
266
  // @public (undocumented)
268
267
  interface EditorBaseProps {
269
- // (undocumented)
270
- appearance?: EditorAppearance;
271
- // (undocumented)
272
- assistiveLabel?: string;
273
- // (undocumented)
274
- contentComponents?: ReactComponents;
275
- // (undocumented)
276
- contentTransformerProvider?: (schema: Schema) => Transformer_2<string>;
277
- // (undocumented)
278
- contextPanel?: ReactComponents;
279
- // (undocumented)
280
- defaultValue?: Node_2 | Object | string;
281
- // (undocumented)
282
- disabled?: boolean;
283
- // (undocumented)
284
- editorActions?: EditorActions;
285
- // (undocumented)
286
- errorReporterHandler?: ErrorReportingHandler;
287
- // (undocumented)
288
- extensionProviders?: ExtensionProvidersProp;
289
- featureFlags?: {
290
- [featureFlag: string]: boolean | string;
291
- };
292
- // @deprecated
293
- inputSamplingLimit?: number;
294
- // (undocumented)
295
- maxHeight?: number;
296
- // (undocumented)
297
- minHeight?: number;
298
- // (undocumented)
299
- onCancel?: (editorView: EditorView) => void;
300
- // (undocumented)
301
- onChange?: EditorOnChangeHandler;
302
- // (undocumented)
303
- onDestroy?: () => void;
304
- // (undocumented)
305
- onEditorReady?: (editorActions: EditorActions) => void;
306
- // (undocumented)
307
- persistScrollGutter?: boolean;
308
- // (undocumented)
309
- placeholder?: string;
310
- // (undocumented)
311
- placeholderBracketHint?: string;
312
- // (undocumented)
313
- popupsBoundariesElement?: HTMLElement;
314
- // (undocumented)
315
- popupsMountPoint?: HTMLElement;
316
- // (undocumented)
317
- popupsScrollableElement?: HTMLElement;
318
- // (undocumented)
319
- primaryToolbarIconBefore?: ReactElement;
320
- // (undocumented)
321
- quickInsert?: QuickInsertOptions;
322
- // (undocumented)
323
- secondaryToolbarComponents?: ReactComponents;
324
- // (undocumented)
325
- shouldFocus?: boolean;
326
- trackValidTransactions?:
327
- | boolean
328
- | {
329
- samplingRate: number;
330
- };
331
- // (undocumented)
332
- UNSAFE_useAnalyticsContext?: boolean;
333
- useStickyToolbar?: UseStickyToolbarType;
268
+ // (undocumented)
269
+ appearance?: EditorAppearance;
270
+ // (undocumented)
271
+ assistiveLabel?: string;
272
+ // (undocumented)
273
+ contentComponents?: ReactComponents;
274
+ // (undocumented)
275
+ contentTransformerProvider?: (schema: Schema) => Transformer_2<string>;
276
+ // (undocumented)
277
+ contextPanel?: ReactComponents;
278
+ // (undocumented)
279
+ defaultValue?: Node_2 | Object | string;
280
+ // (undocumented)
281
+ disabled?: boolean;
282
+ // (undocumented)
283
+ editorActions?: EditorActions;
284
+ // (undocumented)
285
+ errorReporterHandler?: ErrorReportingHandler;
286
+ // (undocumented)
287
+ extensionProviders?: ExtensionProvidersProp;
288
+ featureFlags?: {
289
+ [featureFlag: string]: boolean | string;
290
+ };
291
+ // @deprecated
292
+ inputSamplingLimit?: number;
293
+ // (undocumented)
294
+ maxHeight?: number;
295
+ // (undocumented)
296
+ minHeight?: number;
297
+ // (undocumented)
298
+ onCancel?: (editorView: EditorView) => void;
299
+ // (undocumented)
300
+ onChange?: EditorOnChangeHandler;
301
+ // (undocumented)
302
+ onDestroy?: () => void;
303
+ // (undocumented)
304
+ onEditorReady?: (editorActions: EditorActions) => void;
305
+ // (undocumented)
306
+ persistScrollGutter?: boolean;
307
+ // (undocumented)
308
+ placeholder?: string;
309
+ // (undocumented)
310
+ placeholderBracketHint?: string;
311
+ // (undocumented)
312
+ popupsBoundariesElement?: HTMLElement;
313
+ // (undocumented)
314
+ popupsMountPoint?: HTMLElement;
315
+ // (undocumented)
316
+ popupsScrollableElement?: HTMLElement;
317
+ // (undocumented)
318
+ primaryToolbarIconBefore?: ReactElement;
319
+ // (undocumented)
320
+ quickInsert?: QuickInsertOptions;
321
+ // (undocumented)
322
+ secondaryToolbarComponents?: ReactComponents;
323
+ // (undocumented)
324
+ shouldFocus?: boolean;
325
+ trackValidTransactions?:
326
+ | boolean
327
+ | {
328
+ samplingRate: number;
329
+ };
330
+ // (undocumented)
331
+ UNSAFE_useAnalyticsContext?: boolean;
332
+ useStickyToolbar?: UseStickyToolbarType;
334
333
  }
335
334
 
336
335
  // @public (undocumented)
337
336
  export class EditorContext extends React_2.Component<EditorContextProps, {}> {
338
- constructor(props: EditorContextProps);
339
- // (undocumented)
340
- static childContextTypes: {
341
- editorActions: PropTypes.Requireable<object>;
342
- };
343
- // (undocumented)
344
- getChildContext(): {
345
- editorActions: EditorActions<any>;
346
- };
347
- // (undocumented)
348
- render(): JSX.Element;
337
+ constructor(props: EditorContextProps);
338
+ // (undocumented)
339
+ static childContextTypes: {
340
+ editorActions: PropTypes.Requireable<object>;
341
+ };
342
+ // (undocumented)
343
+ getChildContext(): {
344
+ editorActions: EditorActions<any>;
345
+ };
346
+ // (undocumented)
347
+ render(): JSX.Element;
349
348
  }
350
349
 
351
350
  // @public (undocumented)
352
351
  type EditorContextProps = {
353
- editorActions?: EditorActions;
352
+ editorActions?: EditorActions;
354
353
  };
355
354
 
356
355
  // @public (undocumented)
357
356
  export interface EditorInstance {
358
- // (undocumented)
359
- contentComponents: UIComponentFactory[];
360
- // (undocumented)
361
- contentTransformer?: Transformer<string>;
362
- // (undocumented)
363
- editorView: EditorView;
364
- // (undocumented)
365
- eventDispatcher: EventDispatcher;
366
- // (undocumented)
367
- insertMenuItems?: MenuItem[];
368
- // (undocumented)
369
- onEditorViewStateUpdatedCallbacks: {
370
- pluginName: string;
371
- callback: OnEditorViewStateUpdated;
372
- }[];
373
- // (undocumented)
374
- primaryToolbarComponents: ToolbarUIComponentFactory[];
375
- // (undocumented)
376
- secondaryToolbarComponents: UIComponentFactory[];
357
+ // (undocumented)
358
+ contentComponents: UIComponentFactory[];
359
+ // (undocumented)
360
+ contentTransformer?: Transformer<string>;
361
+ // (undocumented)
362
+ editorView: EditorView;
363
+ // (undocumented)
364
+ eventDispatcher: EventDispatcher;
365
+ // (undocumented)
366
+ insertMenuItems?: MenuItem[];
367
+ // (undocumented)
368
+ onEditorViewStateUpdatedCallbacks: {
369
+ pluginName: string;
370
+ callback: OnEditorViewStateUpdated;
371
+ }[];
372
+ // (undocumented)
373
+ primaryToolbarComponents: ToolbarUIComponentFactory[];
374
+ // (undocumented)
375
+ secondaryToolbarComponents: UIComponentFactory[];
377
376
  }
378
377
 
379
378
  // @public (undocumented)
380
379
  type EditorOnChangeHandler = (
381
- editorView: EditorView,
382
- meta: {
383
- source: 'local' | 'remote';
384
- },
380
+ editorView: EditorView,
381
+ meta: {
382
+ source: 'local' | 'remote';
383
+ },
385
384
  ) => void;
386
385
 
387
386
  export { EditorPlugin };
388
387
 
389
388
  // @public (undocumented)
390
389
  interface EditorPluginFeatureProps {
391
- // (undocumented)
392
- allowAnalyticsGASV3?: boolean;
393
- // (undocumented)
394
- allowBlockType?: BlockTypePluginOptions['allowBlockType'];
395
- allowBorderMark?: boolean;
396
- // (undocumented)
397
- allowBreakout?: boolean;
398
- // (undocumented)
399
- allowConfluenceInlineComment?: boolean;
400
- // (undocumented)
401
- allowDate?: DatePluginConfig | boolean;
402
- // (undocumented)
403
- allowExpand?:
404
- | boolean
405
- | {
406
- allowInsertion?: boolean;
407
- allowInteractiveExpand?: boolean;
408
- };
409
- // (undocumented)
410
- allowExtension?: ExtensionConfig | boolean;
411
- // (undocumented)
412
- allowFindReplace?: FindReplaceOptions | boolean;
413
- allowFragmentMark?: boolean;
414
- // (undocumented)
415
- allowHelpDialog?: boolean;
416
- // (undocumented)
417
- allowIndentation?: boolean;
418
- // (undocumented)
419
- allowJiraIssue?: boolean;
420
- // (undocumented)
421
- allowLayouts?: LayoutPluginOptions | boolean;
422
- // (undocumented)
423
- allowNestedTasks?: boolean;
424
- allowNewInsertionBehaviour?: boolean;
425
- // (undocumented)
426
- allowPanel?: PanelPluginConfig | boolean;
427
- // (undocumented)
428
- allowRule?: boolean;
429
- // (undocumented)
430
- allowStatus?:
431
- | boolean
432
- | {
433
- menuDisabled: boolean;
434
- };
435
- // (undocumented)
436
- allowTables?: PluginConfig | boolean;
437
- // (undocumented)
438
- allowTasksAndDecisions?: boolean;
439
- // (undocumented)
440
- allowTemplatePlaceholders?: PlaceholderTextOptions | boolean;
441
- // (undocumented)
442
- allowTextAlignment?: boolean;
443
- // (undocumented)
444
- allowTextColor?: TextColorPluginConfig | boolean;
445
- autoScrollIntoView?: boolean;
446
- // (undocumented)
447
- codeBlock?: CodeBlockOptions;
448
- // (undocumented)
449
- elementBrowser?: {
450
- showModal?: boolean;
451
- replacePlusMenu?: boolean;
452
- helpUrl?: string;
453
- emptyStateHandler?: EmptyStateHandler;
454
- };
455
- // (undocumented)
456
- extensionHandlers?: ExtensionHandlers;
457
- // (undocumented)
458
- feedbackInfo?: FeedbackInfo;
459
- // (undocumented)
460
- insertMenuItems?: MenuItem[];
461
- // (undocumented)
462
- maxContentSize?: number;
463
- // (undocumented)
464
- mention?: MentionPluginConfig;
465
- // @deprecated
466
- mentionInsertDisplayName?: boolean;
467
- // (undocumented)
468
- saveOnEnter?: boolean;
469
- // (undocumented)
470
- showIndentationButtons?: boolean;
471
- // @deprecated (undocumented)
472
- smartLinks?: CardOptions;
473
- // (undocumented)
474
- textFormatting?: TextFormattingOptions;
475
- // @deprecated
476
- UNSAFE_allowBorderMark?: boolean;
477
- // @deprecated (undocumented)
478
- UNSAFE_cards?: CardOptions;
479
- // (undocumented)
480
- uploadErrorHandler?: (state: MediaState) => void;
481
- // (undocumented)
482
- waitForMediaUpload?: boolean;
390
+ // (undocumented)
391
+ allowAnalyticsGASV3?: boolean;
392
+ // (undocumented)
393
+ allowBlockType?: BlockTypePluginOptions['allowBlockType'];
394
+ allowBorderMark?: boolean;
395
+ // (undocumented)
396
+ allowBreakout?: boolean;
397
+ // (undocumented)
398
+ allowConfluenceInlineComment?: boolean;
399
+ // (undocumented)
400
+ allowDate?: DatePluginConfig | boolean;
401
+ // (undocumented)
402
+ allowExpand?:
403
+ | boolean
404
+ | {
405
+ allowInsertion?: boolean;
406
+ allowInteractiveExpand?: boolean;
407
+ };
408
+ // (undocumented)
409
+ allowExtension?: ExtensionConfig | boolean;
410
+ // (undocumented)
411
+ allowFindReplace?: FindReplaceOptions | boolean;
412
+ allowFragmentMark?: boolean;
413
+ // (undocumented)
414
+ allowHelpDialog?: boolean;
415
+ // (undocumented)
416
+ allowIndentation?: boolean;
417
+ // (undocumented)
418
+ allowJiraIssue?: boolean;
419
+ // (undocumented)
420
+ allowLayouts?: LayoutPluginOptions | boolean;
421
+ // (undocumented)
422
+ allowNestedTasks?: boolean;
423
+ allowNewInsertionBehaviour?: boolean;
424
+ // (undocumented)
425
+ allowPanel?: PanelPluginConfig | boolean;
426
+ // (undocumented)
427
+ allowRule?: boolean;
428
+ // (undocumented)
429
+ allowStatus?:
430
+ | boolean
431
+ | {
432
+ menuDisabled: boolean;
433
+ };
434
+ // (undocumented)
435
+ allowTables?: PluginConfig | boolean;
436
+ // (undocumented)
437
+ allowTasksAndDecisions?: boolean;
438
+ // (undocumented)
439
+ allowTemplatePlaceholders?: PlaceholderTextOptions | boolean;
440
+ // (undocumented)
441
+ allowTextAlignment?: boolean;
442
+ // (undocumented)
443
+ allowTextColor?: TextColorPluginConfig | boolean;
444
+ autoScrollIntoView?: boolean;
445
+ // (undocumented)
446
+ codeBlock?: CodeBlockOptions;
447
+ // (undocumented)
448
+ elementBrowser?: {
449
+ showModal?: boolean;
450
+ replacePlusMenu?: boolean;
451
+ helpUrl?: string;
452
+ emptyStateHandler?: EmptyStateHandler;
453
+ };
454
+ // (undocumented)
455
+ extensionHandlers?: ExtensionHandlers;
456
+ // (undocumented)
457
+ feedbackInfo?: FeedbackInfo;
458
+ // (undocumented)
459
+ insertMenuItems?: MenuItem[];
460
+ // (undocumented)
461
+ maxContentSize?: number;
462
+ // (undocumented)
463
+ mention?: MentionPluginConfig;
464
+ // @deprecated
465
+ mentionInsertDisplayName?: boolean;
466
+ // (undocumented)
467
+ saveOnEnter?: boolean;
468
+ // (undocumented)
469
+ showIndentationButtons?: boolean;
470
+ // @deprecated (undocumented)
471
+ smartLinks?: CardOptions;
472
+ // (undocumented)
473
+ textFormatting?: TextFormattingOptions;
474
+ // @deprecated
475
+ UNSAFE_allowBorderMark?: boolean;
476
+ // @deprecated (undocumented)
477
+ UNSAFE_cards?: CardOptions;
478
+ // (undocumented)
479
+ uploadErrorHandler?: (state: MediaState) => void;
480
+ // (undocumented)
481
+ waitForMediaUpload?: boolean;
483
482
  }
484
483
 
485
484
  // @public (undocumented)
@@ -487,62 +486,62 @@ type EditorProduct = 'bitbucket' | 'confluence' | 'jira' | 'stride' | undefined;
487
486
 
488
487
  // @public (undocumented)
489
488
  export interface EditorProps
490
- extends EditorBaseProps,
491
- EditorPluginFeatureProps,
492
- EditorSharedPropsWithPlugins,
493
- EditorProviderProps {
494
- // @deprecated (undocumented)
495
- dangerouslyAppendPlugins?: {
496
- __plugins: EditorPlugin[];
497
- };
489
+ extends EditorBaseProps,
490
+ EditorPluginFeatureProps,
491
+ EditorSharedPropsWithPlugins,
492
+ EditorProviderProps {
493
+ // @deprecated (undocumented)
494
+ dangerouslyAppendPlugins?: {
495
+ __plugins: EditorPlugin[];
496
+ };
498
497
  }
499
498
 
500
499
  // @public (undocumented)
501
500
  interface EditorProviderProps {
502
- // (undocumented)
503
- activityProvider?: Promise<ActivityProvider>;
504
- // (undocumented)
505
- annotationProviders?: AnnotationProviders;
506
- // (undocumented)
507
- autoformattingProvider?: Providers['autoformattingProvider'];
508
- // (undocumented)
509
- collabEditProvider?: Providers['collabEditProvider'];
510
- // (undocumented)
511
- contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
512
- // (undocumented)
513
- emojiProvider?: Providers['emojiProvider'];
514
- // (undocumented)
515
- legacyImageUploadProvider?: Providers['imageUploadProvider'];
516
- // (undocumented)
517
- macroProvider?: Providers['macroProvider'];
518
- // (undocumented)
519
- mentionProvider?: Promise<MentionProvider>;
520
- // (undocumented)
521
- presenceProvider?: Promise<any>;
522
- // (undocumented)
523
- searchProvider?: Promise<SearchProvider>;
524
- // (undocumented)
525
- taskDecisionProvider?: Promise<TaskDecisionProvider>;
501
+ // (undocumented)
502
+ activityProvider?: Promise<ActivityProvider>;
503
+ // (undocumented)
504
+ annotationProviders?: AnnotationProviders;
505
+ // (undocumented)
506
+ autoformattingProvider?: Providers['autoformattingProvider'];
507
+ // (undocumented)
508
+ collabEditProvider?: Providers['collabEditProvider'];
509
+ // (undocumented)
510
+ contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
511
+ // (undocumented)
512
+ emojiProvider?: Providers['emojiProvider'];
513
+ // (undocumented)
514
+ legacyImageUploadProvider?: Providers['imageUploadProvider'];
515
+ // (undocumented)
516
+ macroProvider?: Providers['macroProvider'];
517
+ // (undocumented)
518
+ mentionProvider?: Promise<MentionProvider>;
519
+ // (undocumented)
520
+ presenceProvider?: Promise<any>;
521
+ // (undocumented)
522
+ searchProvider?: Promise<SearchProvider>;
523
+ // (undocumented)
524
+ taskDecisionProvider?: Promise<TaskDecisionProvider>;
526
525
  }
527
526
 
528
527
  // @public (undocumented)
529
528
  interface EditorSharedPropsWithPlugins {
530
- // (undocumented)
531
- allowUndoRedoButtons?: boolean;
532
- // (undocumented)
533
- collabEdit?: CollabEditOptions;
534
- // (undocumented)
535
- hideAvatarGroup?: boolean;
536
- linking?: LinkingOptions;
537
- // (undocumented)
538
- media?: MediaOptions;
539
- // (undocumented)
540
- onSave?: (editorView: EditorView) => void;
541
- performanceTracking?: PerformanceTracking;
542
- // (undocumented)
543
- primaryToolbarComponents?: PrimaryToolbarComponents;
544
- // (undocumented)
545
- sanitizePrivateContent?: boolean;
529
+ // (undocumented)
530
+ allowUndoRedoButtons?: boolean;
531
+ // (undocumented)
532
+ collabEdit?: CollabEditOptions;
533
+ // (undocumented)
534
+ hideAvatarGroup?: boolean;
535
+ linking?: LinkingOptions;
536
+ // (undocumented)
537
+ media?: MediaOptions;
538
+ // (undocumented)
539
+ onSave?: (editorView: EditorView) => void;
540
+ performanceTracking?: PerformanceTracking;
541
+ // (undocumented)
542
+ primaryToolbarComponents?: PrimaryToolbarComponents;
543
+ // (undocumented)
544
+ sanitizePrivateContent?: boolean;
546
545
  }
547
546
 
548
547
  export { EmojiResource };
@@ -551,43 +550,39 @@ export { EVENT_TYPE };
551
550
 
552
551
  // @public (undocumented)
553
552
  interface ExtensionConfig {
554
- // (undocumented)
555
- allowAutoSave?: boolean;
556
- // (undocumented)
557
- allowBreakout?: boolean;
558
- // (undocumented)
559
- allowExtendFloatingToolbars?: boolean;
553
+ // (undocumented)
554
+ allowAutoSave?: boolean;
555
+ // (undocumented)
556
+ allowBreakout?: boolean;
557
+ // (undocumented)
558
+ allowExtendFloatingToolbars?: boolean;
560
559
  }
561
560
 
562
561
  // @public (undocumented)
563
562
  type ExtensionProviders = (ExtensionProvider | Promise<ExtensionProvider>)[];
564
563
 
565
564
  // @public (undocumented)
566
- type ExtensionProvidersProp =
567
- | ExtensionProviders
568
- | ExtensionProvidersWithEditorAction;
565
+ type ExtensionProvidersProp = ExtensionProviders | ExtensionProvidersWithEditorAction;
569
566
 
570
567
  // @public (undocumented)
571
- type ExtensionProvidersWithEditorAction = (
572
- editorActions?: EditorActions,
573
- ) => ExtensionProviders;
568
+ type ExtensionProvidersWithEditorAction = (editorActions?: EditorActions) => ExtensionProviders;
574
569
 
575
570
  export { ExtensionType };
576
571
 
577
572
  // @public (undocumented)
578
573
  type FeedbackInfo = {
579
- product?: string;
580
- packageVersion?: string;
581
- packageName?: string;
582
- labels?: Array<string>;
583
- sessionId?: string;
584
- contentId?: string;
585
- tabId?: string;
574
+ product?: string;
575
+ packageVersion?: string;
576
+ packageName?: string;
577
+ labels?: Array<string>;
578
+ sessionId?: string;
579
+ contentId?: string;
580
+ tabId?: string;
586
581
  };
587
582
 
588
583
  // @public (undocumented)
589
584
  type FindReplaceOptions = {
590
- allowMatchCase?: boolean;
585
+ allowMatchCase?: boolean;
591
586
  };
592
587
 
593
588
  // @public (undocumented)
@@ -595,30 +590,30 @@ export function getNodesCount(node: Node_2): Record<string, number>;
595
590
 
596
591
  // @public (undocumented)
597
592
  export type InlineCommentAnnotationProvider = AnnotationTypeProvider<
598
- AnnotationTypes.INLINE_COMMENT,
599
- InlineCommentState
593
+ AnnotationTypes.INLINE_COMMENT,
594
+ InlineCommentState
600
595
  > & {
601
- createComponent?: React_2.ComponentType<InlineCommentCreateComponentProps>;
602
- viewComponent?: React_2.ComponentType<InlineCommentViewComponentProps>;
603
- isToolbarAbove?: boolean;
596
+ createComponent?: React_2.ComponentType<InlineCommentCreateComponentProps>;
597
+ viewComponent?: React_2.ComponentType<InlineCommentViewComponentProps>;
598
+ isToolbarAbove?: boolean;
604
599
  };
605
600
 
606
601
  // @public (undocumented)
607
602
  export type InlineCommentCreateComponentProps = AnnotationComponentProps & {
608
- onCreate: (id: string) => void;
603
+ onCreate: (id: string) => void;
609
604
  };
610
605
 
611
606
  // @public (undocumented)
612
607
  export type InlineCommentState = {
613
- resolved: boolean;
608
+ resolved: boolean;
614
609
  };
615
610
 
616
611
  // @public (undocumented)
617
612
  export type InlineCommentViewComponentProps = AnnotationComponentProps & {
618
- annotations: Array<AnnotationInfo>;
619
- onResolve: (id: string) => void;
620
- onDelete?: (id: string) => void;
621
- annotationsList?: string[];
613
+ annotations: Array<AnnotationInfo>;
614
+ onResolve: (id: string) => void;
615
+ onDelete?: (id: string) => void;
616
+ annotationsList?: string[];
622
617
  };
623
618
 
624
619
  export { INPUT_METHOD };
@@ -629,11 +624,11 @@ export { MacroProvider };
629
624
 
630
625
  // @public (undocumented)
631
626
  export const measurements: {
632
- EDITOR_MOUNTED: string;
633
- PROSEMIRROR_RENDERED: string;
634
- PROSEMIRROR_CONTENT_RENDERED: string;
635
- ON_EDITOR_READY_CALLBACK: string;
636
- PASTE: string;
627
+ EDITOR_MOUNTED: string;
628
+ PROSEMIRROR_RENDERED: string;
629
+ PROSEMIRROR_CONTENT_RENDERED: string;
630
+ ON_EDITOR_READY_CALLBACK: string;
631
+ PASTE: string;
637
632
  };
638
633
 
639
634
  export { MediaOptions };
@@ -650,10 +645,10 @@ export { name_2 as name };
650
645
 
651
646
  // @public (undocumented)
652
647
  type OnEditorViewStateUpdated = (props: {
653
- readonly originalTransaction: Readonly<Transaction>;
654
- readonly transactions: ReadonlyArray<Transaction>;
655
- readonly oldEditorState: Readonly<EditorState>;
656
- readonly newEditorState: Readonly<EditorState>;
648
+ readonly originalTransaction: Readonly<Transaction>;
649
+ readonly transactions: ReadonlyArray<Transaction>;
650
+ readonly oldEditorState: Readonly<EditorState>;
651
+ readonly newEditorState: Readonly<EditorState>;
657
652
  }) => void;
658
653
 
659
654
  export { PortalProvider };
@@ -665,54 +660,52 @@ export { PortalRenderer };
665
660
  export { PresenceProvider };
666
661
 
667
662
  // @public (undocumented)
668
- type PrimaryToolbarComponents =
669
- | BeforeAndAfterToolbarComponents
670
- | ReactComponents;
663
+ type PrimaryToolbarComponents = BeforeAndAfterToolbarComponents | ReactComponents;
671
664
 
672
665
  // @public (undocumented)
673
666
  interface Props {
674
- // (undocumented)
675
- children?: any;
676
- // (undocumented)
677
- isExpanded?: boolean;
678
- // (undocumented)
679
- onExpand?: () => void;
680
- // (undocumented)
681
- onFocus?: (e: React_2.FocusEvent<HTMLInputElement>) => void;
682
- // (undocumented)
683
- placeholder?: string;
667
+ // (undocumented)
668
+ children?: any;
669
+ // (undocumented)
670
+ isExpanded?: boolean;
671
+ // (undocumented)
672
+ onExpand?: () => void;
673
+ // (undocumented)
674
+ onFocus?: (e: React_2.FocusEvent<HTMLInputElement>) => void;
675
+ // (undocumented)
676
+ placeholder?: string;
684
677
  }
685
678
 
686
679
  // @public (undocumented)
687
680
  interface Props_2 {
688
- // (undocumented)
689
- title?: string;
690
- // (undocumented)
691
- titlePosition?: PositionType;
681
+ // (undocumented)
682
+ title?: string;
683
+ // (undocumented)
684
+ titlePosition?: PositionType;
692
685
  }
693
686
 
694
687
  // @public (undocumented)
695
688
  interface Props_3 {
696
- // @deprecated (undocumented)
697
- labels?: string[];
698
- // @deprecated (undocumented)
699
- packageName?: string;
700
- // @deprecated (undocumented)
701
- packageVersion?: string;
702
- // (undocumented)
703
- popupsBoundariesElement?: HTMLElement;
704
- // (undocumented)
705
- popupsMountPoint?: HTMLElement;
706
- // (undocumented)
707
- popupsScrollableElement?: HTMLElement;
708
- // (undocumented)
709
- product?: EditorProduct;
689
+ // @deprecated (undocumented)
690
+ labels?: string[];
691
+ // @deprecated (undocumented)
692
+ packageName?: string;
693
+ // @deprecated (undocumented)
694
+ packageVersion?: string;
695
+ // (undocumented)
696
+ popupsBoundariesElement?: HTMLElement;
697
+ // (undocumented)
698
+ popupsMountPoint?: HTMLElement;
699
+ // (undocumented)
700
+ popupsScrollableElement?: HTMLElement;
701
+ // (undocumented)
702
+ product?: EditorProduct;
710
703
  }
711
704
 
712
705
  // @public (undocumented)
713
706
  type Props_4 = {
714
- visible: boolean;
715
- children?: React_2.ReactElement;
707
+ visible: boolean;
708
+ children?: React_2.ReactElement;
716
709
  };
717
710
 
718
711
  export { QuickInsertItem };
@@ -733,23 +726,14 @@ export { TeamMentionResource };
733
726
  export function ToolbarFeedback(props: Props_3): jsx.JSX.Element;
734
727
 
735
728
  // @public (undocumented)
736
- export const ToolbarHelp: React_2.FC<
737
- WithIntlProps<Props_2 & WrappedComponentProps<'intl'>>
738
- > & {
739
- WrappedComponent: React_2.ComponentType<
740
- Props_2 & WrappedComponentProps<'intl'>
741
- >;
729
+ export const ToolbarHelp: React_2.FC<WithIntlProps<Props_2 & WrappedComponentProps<'intl'>>> & {
730
+ WrappedComponent: React_2.ComponentType<Props_2 & WrappedComponentProps<'intl'>>;
742
731
  };
743
732
 
744
733
  export { TypeAheadItem };
745
734
 
746
735
  // @public (undocumented)
747
- export type UpdateEvent =
748
- | 'create'
749
- | 'delete'
750
- | 'resolve'
751
- | 'setselectedannotation'
752
- | 'unresolve';
736
+ export type UpdateEvent = 'create' | 'delete' | 'resolve' | 'setselectedannotation' | 'unresolve';
753
737
 
754
738
  // @public (undocumented)
755
739
  export const version: string;
@@ -761,54 +745,45 @@ type VisibilityCallback = (params: boolean) => void;
761
745
  type VisibilityEvent = 'setvisibility';
762
746
 
763
747
  // @public (undocumented)
764
- export class WithEditorActions extends React_2.Component<
765
- WithEditorActionsProps,
766
- any
767
- > {
768
- // (undocumented)
769
- componentDidMount(): void;
770
- // (undocumented)
771
- componentWillUnmount(): void;
772
- // (undocumented)
773
- context: {
774
- editorActions: EditorActions;
775
- };
776
- // (undocumented)
777
- static contextTypes: {
778
- editorActions: PropTypes.Validator<object>;
779
- };
780
- // (undocumented)
781
- render(): React_2.ReactElement<
782
- any,
783
- React_2.JSXElementConstructor<any> | string
784
- > | null;
748
+ export class WithEditorActions extends React_2.Component<WithEditorActionsProps, any> {
749
+ // (undocumented)
750
+ componentDidMount(): void;
751
+ // (undocumented)
752
+ componentWillUnmount(): void;
753
+ // (undocumented)
754
+ context: {
755
+ editorActions: EditorActions;
756
+ };
757
+ // (undocumented)
758
+ static contextTypes: {
759
+ editorActions: PropTypes.Validator<object>;
760
+ };
761
+ // (undocumented)
762
+ render(): React_2.ReactElement<any, React_2.JSXElementConstructor<any> | string> | null;
785
763
  }
786
764
 
787
765
  // @public (undocumented)
788
766
  interface WithEditorActionsProps {
789
- // (undocumented)
790
- render(actions: EditorActions): React_2.ReactElement<any> | null;
767
+ // (undocumented)
768
+ render(actions: EditorActions): React_2.ReactElement<any> | null;
791
769
  }
792
770
 
793
771
  // @public (undocumented)
794
- export class WithHelpTrigger extends React_2.Component<
795
- WithHelpTriggerProps,
796
- any
797
- > {
798
- // (undocumented)
799
- static contextTypes: {
800
- editorActions: PropTypes.Validator<object>;
801
- };
802
- // (undocumented)
803
- openHelp: () => void;
804
- // (undocumented)
805
- render(): React_2.ReactNode;
772
+ export class WithHelpTrigger extends React_2.Component<WithHelpTriggerProps, any> {
773
+ // (undocumented)
774
+ static contextTypes: {
775
+ editorActions: PropTypes.Validator<object>;
776
+ };
777
+ // (undocumented)
778
+ openHelp: () => void;
779
+ // (undocumented)
780
+ render(): React_2.ReactNode;
806
781
  }
807
782
 
808
783
  // @public (undocumented)
809
784
  interface WithHelpTriggerProps {
810
- // (undocumented)
811
- render: (openHelp: () => void) => React_2.ReactNode;
785
+ // (undocumented)
786
+ render: (openHelp: () => void) => React_2.ReactNode;
812
787
  }
813
788
 
814
789
  // (No @packageDocumentation comment for this package)
@@ -822,11 +797,11 @@ interface WithHelpTriggerProps {
822
797
 
823
798
  ```json
824
799
  {
825
- "@atlaskit/link-provider": "^1.6.2",
826
- "@atlaskit/media-core": "^34.1.2",
827
- "react": "^16.8.0",
828
- "react-dom": "^16.8.0",
829
- "react-intl-next": "npm:react-intl@^5.18.1"
800
+ "@atlaskit/link-provider": "^1.6.2",
801
+ "@atlaskit/media-core": "^34.1.2",
802
+ "react": "^16.8.0",
803
+ "react-dom": "^16.8.0",
804
+ "react-intl-next": "npm:react-intl@^5.18.1"
830
805
  }
831
806
  ```
832
807