@atlaskit/renderer 109.30.1 → 109.30.2

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 (58) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/react/marks/alignment.js +1 -1
  3. package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
  4. package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +2 -2
  5. package/dist/cjs/react/nodes/media/index.js +2 -2
  6. package/dist/cjs/react/nodes/multiBodiedExtension.js +2 -2
  7. package/dist/cjs/react/nodes/panel.js +2 -2
  8. package/dist/cjs/react/nodes/table/colgroup.js +8 -8
  9. package/dist/cjs/ui/Expand.js +3 -3
  10. package/dist/cjs/ui/Renderer/index.js +1 -1
  11. package/dist/cjs/ui/Renderer/style.js +9 -9
  12. package/dist/cjs/ui/annotations/element/mark.js +1 -1
  13. package/dist/es2019/react/marks/alignment.js +2 -2
  14. package/dist/es2019/react/nodes/codeBlock/components/codeBlockContainer.js +26 -19
  15. package/dist/es2019/react/nodes/codeBlock/components/lightWeightCodeBlock.js +9 -9
  16. package/dist/es2019/react/nodes/media/index.js +14 -14
  17. package/dist/es2019/react/nodes/multiBodiedExtension.js +24 -24
  18. package/dist/es2019/react/nodes/panel.js +15 -15
  19. package/dist/es2019/react/nodes/table/colgroup.js +8 -8
  20. package/dist/es2019/ui/Expand.js +13 -13
  21. package/dist/es2019/ui/Renderer/index.js +1 -1
  22. package/dist/es2019/ui/Renderer/style.js +575 -585
  23. package/dist/es2019/ui/annotations/element/mark.js +10 -10
  24. package/dist/esm/react/marks/alignment.js +1 -1
  25. package/dist/esm/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
  26. package/dist/esm/react/nodes/codeBlock/components/lightWeightCodeBlock.js +2 -2
  27. package/dist/esm/react/nodes/media/index.js +2 -2
  28. package/dist/esm/react/nodes/multiBodiedExtension.js +2 -2
  29. package/dist/esm/react/nodes/panel.js +2 -2
  30. package/dist/esm/react/nodes/table/colgroup.js +8 -8
  31. package/dist/esm/ui/Expand.js +3 -3
  32. package/dist/esm/ui/Renderer/index.js +1 -1
  33. package/dist/esm/ui/Renderer/style.js +9 -9
  34. package/dist/esm/ui/annotations/element/mark.js +1 -1
  35. package/dist/types/actions.d.ts +1 -1
  36. package/dist/types/react/hooks/use-bidi-warnings.d.ts +1 -1
  37. package/dist/types/react/nodes/extension.d.ts +1 -2
  38. package/dist/types/react/nodes/table/colgroup.d.ts +1 -1
  39. package/dist/types/ui/RendererActionsContext/index.d.ts +1 -1
  40. package/dist/types/ui/SmartCardStorage.d.ts +1 -1
  41. package/dist/types/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +1 -4
  42. package/dist/types/ui/TaskItemsFormatContext/index.d.ts +1 -1
  43. package/dist/types/ui/active-header-id-provider.d.ts +1 -1
  44. package/dist/types/ui/annotations/contexts/AnnotationHoverContext.d.ts +1 -1
  45. package/dist/types/ui/annotations/hooks/use-events.d.ts +1 -1
  46. package/dist/types-ts4.5/actions.d.ts +1 -1
  47. package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +1 -1
  48. package/dist/types-ts4.5/react/nodes/extension.d.ts +1 -2
  49. package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +1 -1
  50. package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +1 -1
  51. package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +1 -1
  52. package/dist/types-ts4.5/ui/TaskItemsFormatContext/index.d.ts +1 -1
  53. package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +1 -1
  54. package/dist/types-ts4.5/ui/annotations/contexts/AnnotationHoverContext.d.ts +1 -1
  55. package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +1 -1
  56. package/docs/0-intro.tsx +12 -21
  57. package/package.json +2 -2
  58. package/report.api.md +478 -492
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/renderer"
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
@@ -51,108 +52,106 @@ import type { UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/u
51
52
 
52
53
  // @public (undocumented)
53
54
  export class ADFEncoder<T> {
54
- constructor(createTransformerWithSchema: TransformerProvider<T>);
55
- // (undocumented)
56
- encode: (value: T) => any;
55
+ constructor(createTransformerWithSchema: TransformerProvider<T>);
56
+ // (undocumented)
57
+ encode: (value: T) => any;
57
58
  }
58
59
 
59
60
  // @public (undocumented)
60
61
  type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
61
- action: Action;
62
- actionSubject: ActionSubject;
63
- actionSubjectId?: ActionSubjectID;
64
- attributes?: Attributes;
65
- eventType: EventType;
62
+ action: Action;
63
+ actionSubject: ActionSubject;
64
+ actionSubjectId?: ActionSubjectID;
65
+ attributes?: Attributes;
66
+ eventType: EventType;
66
67
  };
67
68
 
68
69
  // @public (undocumented)
69
70
  type AnalyticsEventPayload<T = void> =
70
- | AnchorLinkAEP
71
- | AnnotationAEP
72
- | AnnotationDeleteAEP
73
- | CodeBlockCopyAEP
74
- | CodeBlockWrapAEP
75
- | ComponentCrashErrorAEP
76
- | ExpandAEP
77
- | HeadingAnchorLinkButtonAEP
78
- | InvalidProsemirrorDocumentErrorAEP
79
- | MediaLnkTransformedAEP
80
- | RendererReRenderedAEP<T>
81
- | RendererRenderedAEP
82
- | RendererSelectAllCaughtAEP
83
- | RendererSelectAllEscapedAEP
84
- | RendererStartAEP
85
- | RendererTTIAEP
86
- | RendererUnsupportedContentLevelsTrackingErrored
87
- | RendererUnsupportedContentLevelsTrackingSucceeded
88
- | TableSortColumnAEP
89
- | TableSortColumnNotAllowedAEP
90
- | UnsupportedContentPayload
91
- | UnsupportedContentTooltipPayload
92
- | VisitLinkAEP
93
- | VisitMediaLinkAEP;
71
+ | AnchorLinkAEP
72
+ | AnnotationAEP
73
+ | AnnotationDeleteAEP
74
+ | CodeBlockCopyAEP
75
+ | CodeBlockWrapAEP
76
+ | ComponentCrashErrorAEP
77
+ | ExpandAEP
78
+ | HeadingAnchorLinkButtonAEP
79
+ | InvalidProsemirrorDocumentErrorAEP
80
+ | MediaLnkTransformedAEP
81
+ | RendererReRenderedAEP<T>
82
+ | RendererRenderedAEP
83
+ | RendererSelectAllCaughtAEP
84
+ | RendererSelectAllEscapedAEP
85
+ | RendererStartAEP
86
+ | RendererTTIAEP
87
+ | RendererUnsupportedContentLevelsTrackingErrored
88
+ | RendererUnsupportedContentLevelsTrackingSucceeded
89
+ | TableSortColumnAEP
90
+ | TableSortColumnNotAllowedAEP
91
+ | UnsupportedContentPayload
92
+ | UnsupportedContentTooltipPayload
93
+ | VisitLinkAEP
94
+ | VisitMediaLinkAEP;
94
95
 
95
96
  // @public (undocumented)
96
97
  type AnchorLinkAEP = UIAEP<
97
- ACTION.VIEWED,
98
- ACTION_SUBJECT.ANCHOR_LINK,
99
- undefined,
100
- {
101
- platform: PLATFORM.WEB;
102
- mode: MODE.RENDERER;
103
- }
98
+ ACTION.VIEWED,
99
+ ACTION_SUBJECT.ANCHOR_LINK,
100
+ undefined,
101
+ {
102
+ platform: PLATFORM.WEB;
103
+ mode: MODE.RENDERER;
104
+ }
104
105
  >;
105
106
 
106
107
  // @public (undocumented)
107
108
  type AnnotationActionType =
108
- | ACTION.CLOSED
109
- | ACTION.CREATE_NOT_ALLOWED
110
- | ACTION.DELETED
111
- | ACTION.EDITED
112
- | ACTION.INSERTED
113
- | ACTION.OPENED
114
- | ACTION.RESOLVED
115
- | ACTION.VIEWED;
109
+ | ACTION.CLOSED
110
+ | ACTION.CREATE_NOT_ALLOWED
111
+ | ACTION.DELETED
112
+ | ACTION.EDITED
113
+ | ACTION.INSERTED
114
+ | ACTION.OPENED
115
+ | ACTION.RESOLVED
116
+ | ACTION.VIEWED;
116
117
 
117
118
  // @public (undocumented)
118
119
  type AnnotationAEP = AEP<
119
- AnnotationActionType,
120
- ACTION_SUBJECT.ANNOTATION,
121
- ACTION_SUBJECT_ID.INLINE_COMMENT,
122
- AnnotationAEPAttributes,
123
- undefined
120
+ AnnotationActionType,
121
+ ACTION_SUBJECT.ANNOTATION,
122
+ ACTION_SUBJECT_ID.INLINE_COMMENT,
123
+ AnnotationAEPAttributes,
124
+ undefined
124
125
  >;
125
126
 
126
127
  // @public (undocumented)
127
- type AnnotationAEPAttributes =
128
- | AnnotationDraftAEPAttributes
129
- | AnnotationResolvedAEPAttributes;
128
+ type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
130
129
 
131
130
  // @public (undocumented)
132
131
  type AnnotationDeleteAEP = AEP<
133
- AnnotationActionType,
134
- ACTION_SUBJECT.ANNOTATION,
135
- ACTION_SUBJECT_ID,
136
- undefined,
137
- EVENT_TYPE.TRACK
132
+ AnnotationActionType,
133
+ ACTION_SUBJECT.ANNOTATION,
134
+ ACTION_SUBJECT_ID,
135
+ undefined,
136
+ EVENT_TYPE.TRACK
138
137
  >;
139
138
 
140
139
  // @public (undocumented)
141
140
  type AnnotationDraftAEPAttributes = {
142
- overlap?: number;
141
+ overlap?: number;
143
142
  };
144
143
 
145
144
  // @public (undocumented)
146
145
  type AnnotationResolvedAEPAttributes = {
147
- method?: RESOLVE_METHOD;
146
+ method?: RESOLVE_METHOD;
148
147
  };
149
148
 
150
149
  // @public (undocumented)
151
150
  type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<
152
- ACTION.CLICKED,
153
- ACTION_SUBJECT.BUTTON,
154
- ActionSubjectID,
155
- Attributes
151
+ ACTION.CLICKED,
152
+ ACTION_SUBJECT.BUTTON,
153
+ ActionSubjectID,
154
+ Attributes
156
155
  >;
157
156
 
158
157
  // @public (undocumented)
@@ -160,27 +159,27 @@ type CodeBlockCopyAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_COPY, undefined>;
160
159
 
161
160
  // @public (undocumented)
162
161
  type CodeBlockWrapAEP = ButtonAEP<
163
- ACTION_SUBJECT_ID.CODEBLOCK_WRAP,
164
- {
165
- wrapped: boolean;
166
- }
162
+ ACTION_SUBJECT_ID.CODEBLOCK_WRAP,
163
+ {
164
+ wrapped: boolean;
165
+ }
167
166
  >;
168
167
 
169
168
  // @public (undocumented)
170
169
  type ComponentCrashErrorAEP = OperationalAEP<
171
- ACTION.CRASHED,
172
- ACTION_SUBJECT.RENDERER,
173
- ACTION_SUBJECT_ID,
174
- {
175
- platform: PLATFORM.WEB;
176
- errorMessage?: string;
177
- errorStack?: string;
178
- componentStack?: string;
179
- errorRethrown?: boolean;
180
- },
181
- {
182
- errorStack?: string;
183
- }
170
+ ACTION.CRASHED,
171
+ ACTION_SUBJECT.RENDERER,
172
+ ACTION_SUBJECT_ID,
173
+ {
174
+ platform: PLATFORM.WEB;
175
+ errorMessage?: string;
176
+ errorStack?: string;
177
+ componentStack?: string;
178
+ errorRethrown?: boolean;
179
+ },
180
+ {
181
+ errorStack?: string;
182
+ }
184
183
  >;
185
184
 
186
185
  // @public (undocumented)
@@ -188,27 +187,24 @@ type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
188
187
 
189
188
  // @public (undocumented)
190
189
  type ExpandAEP = AEP<
191
- ACTION.TOGGLE_EXPAND,
192
- ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND,
193
- undefined,
194
- {
195
- platform: PLATFORM.WEB;
196
- mode: MODE.RENDERER;
197
- expanded: boolean;
198
- },
199
- EVENT_TYPE.TRACK
190
+ ACTION.TOGGLE_EXPAND,
191
+ ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND,
192
+ undefined,
193
+ {
194
+ platform: PLATFORM.WEB;
195
+ mode: MODE.RENDERER;
196
+ expanded: boolean;
197
+ },
198
+ EVENT_TYPE.TRACK
200
199
  >;
201
200
 
202
201
  // @public (undocumented)
203
- type HeadingAnchorLinkButtonAEP = ButtonAEP<
204
- ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK,
205
- undefined
206
- >;
202
+ type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
207
203
 
208
204
  // @public (undocumented)
209
205
  type HeadingAnchorLinksConfig = {
210
- activeHeadingId?: string;
211
- allowNestedHeaderLinks?: boolean;
206
+ activeHeadingId?: string;
207
+ allowNestedHeaderLinks?: boolean;
212
208
  };
213
209
 
214
210
  // @public (undocumented)
@@ -216,82 +212,82 @@ export type HeadingAnchorLinksProps = HeadingAnchorLinksConfig | boolean;
216
212
 
217
213
  // @public (undocumented)
218
214
  type InvalidProsemirrorDocumentErrorAEP = AEP<
219
- ACTION.INVALID_PROSEMIRROR_DOCUMENT,
220
- ACTION_SUBJECT.RENDERER,
221
- ACTION_SUBJECT_ID,
222
- {
223
- platform: PLATFORM.WEB;
224
- errorStack?: string;
225
- },
226
- EVENT_TYPE.OPERATIONAL
215
+ ACTION.INVALID_PROSEMIRROR_DOCUMENT,
216
+ ACTION_SUBJECT.RENDERER,
217
+ ACTION_SUBJECT_ID,
218
+ {
219
+ platform: PLATFORM.WEB;
220
+ errorStack?: string;
221
+ },
222
+ EVENT_TYPE.OPERATIONAL
227
223
  >;
228
224
 
229
225
  // @public (undocumented)
230
226
  type MediaLnkTransformedAEP = AEP<
231
- ACTION.MEDIA_LINK_TRANSFORMED,
232
- ACTION_SUBJECT.RENDERER,
233
- undefined,
234
- undefined,
235
- EVENT_TYPE.OPERATIONAL
227
+ ACTION.MEDIA_LINK_TRANSFORMED,
228
+ ACTION_SUBJECT.RENDERER,
229
+ undefined,
230
+ undefined,
231
+ EVENT_TYPE.OPERATIONAL
236
232
  >;
237
233
 
238
234
  // @public (undocumented)
239
235
  interface MediaOptions {
240
- // (undocumented)
241
- allowCaptions?: boolean;
242
- // (undocumented)
243
- allowLinking?: boolean;
244
- // (undocumented)
245
- enableDownloadButton?: boolean;
246
- // (undocumented)
247
- featureFlags?: MediaFeatureFlags;
248
- // (undocumented)
249
- ssr?: MediaSSR;
236
+ // (undocumented)
237
+ allowCaptions?: boolean;
238
+ // (undocumented)
239
+ allowLinking?: boolean;
240
+ // (undocumented)
241
+ enableDownloadButton?: boolean;
242
+ // (undocumented)
243
+ featureFlags?: MediaFeatureFlags;
244
+ // (undocumented)
245
+ ssr?: MediaSSR;
250
246
  }
251
247
 
252
248
  // @public (undocumented)
253
249
  export type MediaSSR = {
254
- mode: SSR;
255
- config: MediaClientConfig;
250
+ mode: SSR;
251
+ config: MediaClientConfig;
256
252
  };
257
253
 
258
254
  // @public (undocumented)
259
255
  enum MODE {
260
- // (undocumented)
261
- EDITOR = 'editor',
262
- // (undocumented)
263
- RENDERER = 'renderer',
256
+ // (undocumented)
257
+ EDITOR = 'editor',
258
+ // (undocumented)
259
+ RENDERER = 'renderer',
264
260
  }
265
261
 
266
262
  // @public (undocumented)
267
263
  type NodeComponentsProps = {
268
- [key: string]: React.ComponentType<any>;
264
+ [key: string]: React.ComponentType<any>;
269
265
  };
270
266
 
271
267
  // @public (undocumented)
272
268
  interface ParentInfo {
273
- // (undocumented)
274
- parentIsIncompleteTask: boolean;
275
- // (undocumented)
276
- path: Array<Node_2>;
277
- // (undocumented)
278
- pos: number;
269
+ // (undocumented)
270
+ parentIsIncompleteTask: boolean;
271
+ // (undocumented)
272
+ path: Array<Node_2>;
273
+ // (undocumented)
274
+ pos: number;
279
275
  }
280
276
 
281
277
  // @public (undocumented)
282
278
  enum PLATFORM {
283
- // (undocumented)
284
- HYBRID = 'mobileHybrid',
285
- // (undocumented)
286
- NATIVE = 'mobileNative',
287
- // (undocumented)
288
- WEB = 'web',
279
+ // (undocumented)
280
+ HYBRID = 'mobileHybrid',
281
+ // (undocumented)
282
+ NATIVE = 'mobileNative',
283
+ // (undocumented)
284
+ WEB = 'web',
289
285
  }
290
286
 
291
287
  // @public (undocumented)
292
288
  interface RawObjectFeatureFlags {
293
- // (undocumented)
294
- ['renderer-render-tracking']: string;
289
+ // (undocumented)
290
+ ['renderer-render-tracking']: string;
295
291
  }
296
292
 
297
293
  // @public (undocumented)
@@ -299,423 +295,413 @@ export const ReactRenderer: (props: RendererProps) => jsx.JSX.Element;
299
295
 
300
296
  // @public (undocumented)
301
297
  export class ReactSerializer implements Serializer<JSX.Element> {
302
- constructor(init: ReactSerializerInit);
303
- // (undocumented)
304
- static buildMarkStructure(content: Node_2[]): Mark[];
305
- // (undocumented)
306
- static fromSchema(_: unknown, init: ReactSerializerInit): ReactSerializer;
307
- // (undocumented)
308
- static getChildNodes(fragment: Fragment): (Node_2 | TextWrapper)[];
309
- // (undocumented)
310
- static getMarks(node: Node_2): Mark[];
311
- // (undocumented)
312
- serializeFragment(
313
- fragment: Fragment,
314
- props?: any,
315
- target?: any,
316
- key?: string,
317
- parentInfo?: ParentInfo,
318
- ): JSX.Element | null;
298
+ constructor(init: ReactSerializerInit);
299
+ // (undocumented)
300
+ static buildMarkStructure(content: Node_2[]): Mark[];
301
+ // (undocumented)
302
+ static fromSchema(_: unknown, init: ReactSerializerInit): ReactSerializer;
303
+ // (undocumented)
304
+ static getChildNodes(fragment: Fragment): (Node_2 | TextWrapper)[];
305
+ // (undocumented)
306
+ static getMarks(node: Node_2): Mark[];
307
+ // (undocumented)
308
+ serializeFragment(
309
+ fragment: Fragment,
310
+ props?: any,
311
+ target?: any,
312
+ key?: string,
313
+ parentInfo?: ParentInfo,
314
+ ): JSX.Element | null;
319
315
  }
320
316
 
321
317
  // @public (undocumented)
322
318
  interface ReactSerializerInit {
323
- // (undocumented)
324
- allowAltTextOnImages?: boolean;
325
- // (undocumented)
326
- allowAnnotations?: boolean;
327
- // (undocumented)
328
- allowColumnSorting?: boolean;
329
- // (undocumented)
330
- allowCopyToClipboard?: boolean;
331
- // (undocumented)
332
- allowCustomPanels?: boolean;
333
- // (undocumented)
334
- allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
335
- // (undocumented)
336
- allowMediaLinking?: boolean;
337
- // (undocumented)
338
- allowPlaceholderText?: boolean;
339
- // (undocumented)
340
- allowSelectAllTrap?: boolean;
341
- // (undocumented)
342
- allowWindowedCodeBlock?: boolean;
343
- // (undocumented)
344
- allowWrapCodeBlock?: boolean;
345
- // (undocumented)
346
- appearance?: RendererAppearance;
347
- // (undocumented)
348
- disableActions?: boolean;
349
- // (undocumented)
350
- disableHeadingIDs?: boolean;
351
- // (undocumented)
352
- emojiResourceConfig?: EmojiResourceConfig;
353
- // (undocumented)
354
- eventHandlers?: EventHandlers;
355
- // (undocumented)
356
- extensionHandlers?: ExtensionHandlers;
357
- // (undocumented)
358
- fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
359
- // (undocumented)
360
- media?: MediaOptions;
361
- // (undocumented)
362
- nodeComponents?: NodeComponentsProps;
363
- // (undocumented)
364
- objectContext?: RendererContext;
365
- // (undocumented)
366
- portal?: HTMLElement;
367
- // (undocumented)
368
- providers?: ProviderFactory;
369
- // (undocumented)
370
- shouldOpenMediaViewer?: boolean;
371
- // (undocumented)
372
- smartLinks?: SmartLinksOptions;
373
- // (undocumented)
374
- stickyHeaders?: StickyHeaderConfig;
375
- // (undocumented)
376
- surroundTextNodesWithTextWrapper?: boolean;
319
+ // (undocumented)
320
+ allowAltTextOnImages?: boolean;
321
+ // (undocumented)
322
+ allowAnnotations?: boolean;
323
+ // (undocumented)
324
+ allowColumnSorting?: boolean;
325
+ // (undocumented)
326
+ allowCopyToClipboard?: boolean;
327
+ // (undocumented)
328
+ allowCustomPanels?: boolean;
329
+ // (undocumented)
330
+ allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
331
+ // (undocumented)
332
+ allowMediaLinking?: boolean;
333
+ // (undocumented)
334
+ allowPlaceholderText?: boolean;
335
+ // (undocumented)
336
+ allowSelectAllTrap?: boolean;
337
+ // (undocumented)
338
+ allowWindowedCodeBlock?: boolean;
339
+ // (undocumented)
340
+ allowWrapCodeBlock?: boolean;
341
+ // (undocumented)
342
+ appearance?: RendererAppearance;
343
+ // (undocumented)
344
+ disableActions?: boolean;
345
+ // (undocumented)
346
+ disableHeadingIDs?: boolean;
347
+ // (undocumented)
348
+ emojiResourceConfig?: EmojiResourceConfig;
349
+ // (undocumented)
350
+ eventHandlers?: EventHandlers;
351
+ // (undocumented)
352
+ extensionHandlers?: ExtensionHandlers;
353
+ // (undocumented)
354
+ fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
355
+ // (undocumented)
356
+ media?: MediaOptions;
357
+ // (undocumented)
358
+ nodeComponents?: NodeComponentsProps;
359
+ // (undocumented)
360
+ objectContext?: RendererContext;
361
+ // (undocumented)
362
+ portal?: HTMLElement;
363
+ // (undocumented)
364
+ providers?: ProviderFactory;
365
+ // (undocumented)
366
+ shouldOpenMediaViewer?: boolean;
367
+ // (undocumented)
368
+ smartLinks?: SmartLinksOptions;
369
+ // (undocumented)
370
+ stickyHeaders?: StickyHeaderConfig;
371
+ // (undocumented)
372
+ surroundTextNodesWithTextWrapper?: boolean;
377
373
  }
378
374
 
379
375
  // @public (undocumented)
380
376
  export const renderDocument: <T>(
381
- doc: any,
382
- serializer: Serializer<T>,
383
- schema?: Schema,
384
- adfStage?: ADFStage,
385
- useSpecBasedValidator?: boolean,
386
- rendererId?: string,
387
- dispatchAnalyticsEvent?: DispatchAnalyticsEvent,
388
- unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking,
389
- appearance?: RendererAppearance,
377
+ doc: any,
378
+ serializer: Serializer<T>,
379
+ schema?: Schema,
380
+ adfStage?: ADFStage,
381
+ useSpecBasedValidator?: boolean,
382
+ rendererId?: string,
383
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent,
384
+ unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking,
385
+ appearance?: RendererAppearance,
390
386
  ) => RenderOutput<T | null>;
391
387
 
392
388
  // @public (undocumented)
393
- export type RendererAppearance =
394
- | 'comment'
395
- | 'full-page'
396
- | 'full-width'
397
- | 'mobile'
398
- | undefined;
389
+ export type RendererAppearance = 'comment' | 'full-page' | 'full-width' | 'mobile' | undefined;
399
390
 
400
391
  // @public (undocumented)
401
392
  export interface RendererContext {
402
- // (undocumented)
403
- adDoc?: any;
404
- // (undocumented)
405
- containerAri?: string;
406
- // (undocumented)
407
- objectAri?: string;
408
- // (undocumented)
409
- schema?: Schema;
393
+ // (undocumented)
394
+ adDoc?: any;
395
+ // (undocumented)
396
+ containerAri?: string;
397
+ // (undocumented)
398
+ objectAri?: string;
399
+ // (undocumented)
400
+ schema?: Schema;
410
401
  }
411
402
 
412
403
  // @public (undocumented)
413
404
  export interface RendererProps {
414
- addTelepointer?: boolean;
415
- // (undocumented)
416
- adfStage?: ADFStage;
417
- // (undocumented)
418
- allowAltTextOnImages?: boolean;
419
- // (undocumented)
420
- allowAnnotations?: boolean;
421
- // (undocumented)
422
- allowColumnSorting?: boolean;
423
- // (undocumented)
424
- allowCopyToClipboard?: boolean;
425
- // (undocumented)
426
- allowCustomPanels?: boolean;
427
- // (undocumented)
428
- allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
429
- // (undocumented)
430
- allowPlaceholderText?: boolean;
431
- // (undocumented)
432
- allowSelectAllTrap?: boolean;
433
- // (undocumented)
434
- allowUgcScrubber?: boolean;
435
- // (undocumented)
436
- allowWrapCodeBlock?: boolean;
437
- // (undocumented)
438
- analyticsEventSeverityTracking?: {
439
- enabled: boolean;
440
- severityNormalThreshold: number;
441
- severityDegradedThreshold: number;
442
- };
443
- // (undocumented)
444
- annotationProvider?: AnnotationProviders | null;
445
- // (undocumented)
446
- appearance?: RendererAppearance;
447
- // (undocumented)
448
- createAnalyticsEvent?: CreateUIAnalyticsEvent;
449
- // (undocumented)
450
- dataProviders?: ProviderFactory;
451
- // (undocumented)
452
- disableActions?: boolean;
453
- // (undocumented)
454
- disableHeadingIDs?: boolean;
455
- // (undocumented)
456
- document: DocNode;
457
- // (undocumented)
458
- emojiResourceConfig?: EmojiResourceConfig;
459
- // (undocumented)
460
- enableSsrInlineScripts?: boolean;
461
- // (undocumented)
462
- eventHandlers?: EventHandlers;
463
- // (undocumented)
464
- extensionHandlers?: ExtensionHandlers;
465
- // (undocumented)
466
- fadeOutHeight?: number;
467
- featureFlags?:
468
- | Partial<RawObjectFeatureFlags>
469
- | {
470
- [featureFlag: string]: boolean;
471
- };
472
- // (undocumented)
473
- innerRef?: React.RefObject<HTMLDivElement>;
474
- // (undocumented)
475
- maxHeight?: number;
476
- // (undocumented)
477
- media?: MediaOptions;
478
- // (undocumented)
479
- nodeComponents?: NodeComponentsProps;
480
- // (undocumented)
481
- onComplete?: (stat: RenderOutputStat) => void;
482
- // (undocumented)
483
- onError?: (error: any) => void;
484
- // (undocumented)
485
- portal?: HTMLElement;
486
- // (undocumented)
487
- rendererContext?: RendererContext;
488
- // (undocumented)
489
- schema?: Schema;
490
- // (undocumented)
491
- shouldOpenMediaViewer?: boolean;
492
- // (undocumented)
493
- smartLinks?: SmartLinksOptions;
494
- // (undocumented)
495
- stickyHeaders?: StickyHeaderProps;
496
- // (undocumented)
497
- truncated?: boolean;
498
- // (undocumented)
499
- unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
500
- // @deprecated (undocumented)
501
- useSpecBasedValidator?: boolean;
405
+ addTelepointer?: boolean;
406
+ // (undocumented)
407
+ adfStage?: ADFStage;
408
+ // (undocumented)
409
+ allowAltTextOnImages?: boolean;
410
+ // (undocumented)
411
+ allowAnnotations?: boolean;
412
+ // (undocumented)
413
+ allowColumnSorting?: boolean;
414
+ // (undocumented)
415
+ allowCopyToClipboard?: boolean;
416
+ // (undocumented)
417
+ allowCustomPanels?: boolean;
418
+ // (undocumented)
419
+ allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
420
+ // (undocumented)
421
+ allowPlaceholderText?: boolean;
422
+ // (undocumented)
423
+ allowSelectAllTrap?: boolean;
424
+ // (undocumented)
425
+ allowUgcScrubber?: boolean;
426
+ // (undocumented)
427
+ allowWrapCodeBlock?: boolean;
428
+ // (undocumented)
429
+ analyticsEventSeverityTracking?: {
430
+ enabled: boolean;
431
+ severityNormalThreshold: number;
432
+ severityDegradedThreshold: number;
433
+ };
434
+ // (undocumented)
435
+ annotationProvider?: AnnotationProviders | null;
436
+ // (undocumented)
437
+ appearance?: RendererAppearance;
438
+ // (undocumented)
439
+ createAnalyticsEvent?: CreateUIAnalyticsEvent;
440
+ // (undocumented)
441
+ dataProviders?: ProviderFactory;
442
+ // (undocumented)
443
+ disableActions?: boolean;
444
+ // (undocumented)
445
+ disableHeadingIDs?: boolean;
446
+ // (undocumented)
447
+ document: DocNode;
448
+ // (undocumented)
449
+ emojiResourceConfig?: EmojiResourceConfig;
450
+ // (undocumented)
451
+ enableSsrInlineScripts?: boolean;
452
+ // (undocumented)
453
+ eventHandlers?: EventHandlers;
454
+ // (undocumented)
455
+ extensionHandlers?: ExtensionHandlers;
456
+ // (undocumented)
457
+ fadeOutHeight?: number;
458
+ featureFlags?:
459
+ | Partial<RawObjectFeatureFlags>
460
+ | {
461
+ [featureFlag: string]: boolean;
462
+ };
463
+ // (undocumented)
464
+ innerRef?: React.RefObject<HTMLDivElement>;
465
+ // (undocumented)
466
+ maxHeight?: number;
467
+ // (undocumented)
468
+ media?: MediaOptions;
469
+ // (undocumented)
470
+ nodeComponents?: NodeComponentsProps;
471
+ // (undocumented)
472
+ onComplete?: (stat: RenderOutputStat) => void;
473
+ // (undocumented)
474
+ onError?: (error: any) => void;
475
+ // (undocumented)
476
+ portal?: HTMLElement;
477
+ // (undocumented)
478
+ rendererContext?: RendererContext;
479
+ // (undocumented)
480
+ schema?: Schema;
481
+ // (undocumented)
482
+ shouldOpenMediaViewer?: boolean;
483
+ // (undocumented)
484
+ smartLinks?: SmartLinksOptions;
485
+ // (undocumented)
486
+ stickyHeaders?: StickyHeaderProps;
487
+ // (undocumented)
488
+ truncated?: boolean;
489
+ // (undocumented)
490
+ unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
491
+ // @deprecated (undocumented)
492
+ useSpecBasedValidator?: boolean;
502
493
  }
503
494
 
504
495
  // @public (undocumented)
505
496
  type RendererRenderedAEP = AEP<
506
- ACTION.RENDERED,
507
- ACTION_SUBJECT.RENDERER,
508
- undefined,
509
- {
510
- platform: PLATFORM.WEB;
511
- duration: number;
512
- distortedDuration: boolean;
513
- ttfb?: number;
514
- nodes: Record<string, number>;
515
- severity?: SEVERITY;
516
- },
517
- EVENT_TYPE.OPERATIONAL
497
+ ACTION.RENDERED,
498
+ ACTION_SUBJECT.RENDERER,
499
+ undefined,
500
+ {
501
+ platform: PLATFORM.WEB;
502
+ duration: number;
503
+ distortedDuration: boolean;
504
+ ttfb?: number;
505
+ nodes: Record<string, number>;
506
+ severity?: SEVERITY;
507
+ },
508
+ EVENT_TYPE.OPERATIONAL
518
509
  >;
519
510
 
520
511
  // @public (undocumented)
521
512
  type RendererReRenderedAEP<Props> = AEP<
522
- ACTION.RE_RENDERED,
523
- ACTION_SUBJECT.RENDERER,
524
- undefined,
525
- {
526
- propsDifference: PropsDifference<Props> | ShallowPropsDifference<Props>;
527
- count: number;
528
- componentId?: string;
529
- },
530
- EVENT_TYPE.OPERATIONAL
513
+ ACTION.RE_RENDERED,
514
+ ACTION_SUBJECT.RENDERER,
515
+ undefined,
516
+ {
517
+ propsDifference: PropsDifference<Props> | ShallowPropsDifference<Props>;
518
+ count: number;
519
+ componentId?: string;
520
+ },
521
+ EVENT_TYPE.OPERATIONAL
531
522
  >;
532
523
 
533
524
  // @public (undocumented)
534
525
  type RendererSelectAllCaughtAEP = AEP<
535
- ACTION.SELECT_ALL_CAUGHT,
536
- ACTION_SUBJECT.RENDERER,
537
- undefined,
538
- {
539
- platform: PLATFORM.WEB;
540
- },
541
- EVENT_TYPE.TRACK
526
+ ACTION.SELECT_ALL_CAUGHT,
527
+ ACTION_SUBJECT.RENDERER,
528
+ undefined,
529
+ {
530
+ platform: PLATFORM.WEB;
531
+ },
532
+ EVENT_TYPE.TRACK
542
533
  >;
543
534
 
544
535
  // @public (undocumented)
545
536
  type RendererSelectAllEscapedAEP = AEP<
546
- ACTION.SELECT_ALL_ESCAPED,
547
- ACTION_SUBJECT.RENDERER,
548
- undefined,
549
- {
550
- platform: PLATFORM.WEB;
551
- },
552
- EVENT_TYPE.TRACK
537
+ ACTION.SELECT_ALL_ESCAPED,
538
+ ACTION_SUBJECT.RENDERER,
539
+ undefined,
540
+ {
541
+ platform: PLATFORM.WEB;
542
+ },
543
+ EVENT_TYPE.TRACK
553
544
  >;
554
545
 
555
546
  // @public (undocumented)
556
547
  type RendererStartAEP = AEP<
557
- ACTION.STARTED,
558
- ACTION_SUBJECT.RENDERER,
559
- undefined,
560
- {
561
- platform: PLATFORM.WEB;
562
- },
563
- EVENT_TYPE.UI
548
+ ACTION.STARTED,
549
+ ACTION_SUBJECT.RENDERER,
550
+ undefined,
551
+ {
552
+ platform: PLATFORM.WEB;
553
+ },
554
+ EVENT_TYPE.UI
564
555
  >;
565
556
 
566
557
  // @public (undocumented)
567
558
  type RendererTTIAEP = AEP<
568
- ACTION.RENDERER_TTI,
569
- ACTION_SUBJECT.RENDERER,
570
- undefined,
571
- {
572
- tti: number;
573
- ttiFromInvocation: number;
574
- canceled: boolean;
575
- },
576
- EVENT_TYPE.OPERATIONAL
559
+ ACTION.RENDERER_TTI,
560
+ ACTION_SUBJECT.RENDERER,
561
+ undefined,
562
+ {
563
+ tti: number;
564
+ ttiFromInvocation: number;
565
+ canceled: boolean;
566
+ },
567
+ EVENT_TYPE.OPERATIONAL
577
568
  >;
578
569
 
579
570
  // @public (undocumented)
580
571
  type RendererUnsupportedContentLevelsTrackingErrored = AEP<
581
- ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED,
582
- ACTION_SUBJECT.RENDERER,
583
- undefined,
584
- {
585
- platform: PLATFORM.WEB;
586
- error: string;
587
- },
588
- EVENT_TYPE.OPERATIONAL
572
+ ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED,
573
+ ACTION_SUBJECT.RENDERER,
574
+ undefined,
575
+ {
576
+ platform: PLATFORM.WEB;
577
+ error: string;
578
+ },
579
+ EVENT_TYPE.OPERATIONAL
589
580
  >;
590
581
 
591
582
  // @public (undocumented)
592
583
  type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<
593
- ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED,
594
- ACTION_SUBJECT.RENDERER,
595
- undefined,
596
- {
597
- appearance?: string;
598
- platform: PLATFORM.WEB;
599
- unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
600
- unsupportedContentLevelPercentage: number;
601
- unsupportedNodesCount: number;
602
- supportedNodesCount: number;
603
- },
604
- EVENT_TYPE.OPERATIONAL
584
+ ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED,
585
+ ACTION_SUBJECT.RENDERER,
586
+ undefined,
587
+ {
588
+ appearance?: string;
589
+ platform: PLATFORM.WEB;
590
+ unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
591
+ unsupportedContentLevelPercentage: number;
592
+ unsupportedNodesCount: number;
593
+ supportedNodesCount: number;
594
+ },
595
+ EVENT_TYPE.OPERATIONAL
605
596
  >;
606
597
 
607
598
  // @public (undocumented)
608
599
  interface RenderOutput<T> {
609
- // (undocumented)
610
- pmDoc?: Node_2;
611
- // (undocumented)
612
- result: T;
613
- // (undocumented)
614
- stat: RenderOutputStat;
600
+ // (undocumented)
601
+ pmDoc?: Node_2;
602
+ // (undocumented)
603
+ result: T;
604
+ // (undocumented)
605
+ stat: RenderOutputStat;
615
606
  }
616
607
 
617
608
  // @public (undocumented)
618
609
  export interface RenderOutputStat {
619
- // (undocumented)
620
- buildTreeTime?: number;
621
- // (undocumented)
622
- sanitizeTime: number;
623
- // (undocumented)
624
- serializeTime?: number;
610
+ // (undocumented)
611
+ buildTreeTime?: number;
612
+ // (undocumented)
613
+ sanitizeTime: number;
614
+ // (undocumented)
615
+ serializeTime?: number;
625
616
  }
626
617
 
627
618
  // @public (undocumented)
628
619
  enum RESOLVE_METHOD {
629
- // (undocumented)
630
- COMPONENT = 'component',
631
- // (undocumented)
632
- CONSUMER = 'consumer',
633
- // (undocumented)
634
- ORPHANED = 'orphaned',
620
+ // (undocumented)
621
+ COMPONENT = 'component',
622
+ // (undocumented)
623
+ CONSUMER = 'consumer',
624
+ // (undocumented)
625
+ ORPHANED = 'orphaned',
635
626
  }
636
627
 
637
628
  // @public (undocumented)
638
629
  export interface Serializer<T> {
639
- // (undocumented)
640
- serializeFragment(
641
- fragment: Fragment,
642
- props?: any,
643
- target?: any,
644
- key?: string,
645
- ): T | null;
630
+ // (undocumented)
631
+ serializeFragment(fragment: Fragment, props?: any, target?: any, key?: string): T | null;
646
632
  }
647
633
 
648
634
  // @public (undocumented)
649
635
  interface SmartLinksOptions {
650
- // (undocumented)
651
- frameStyle?: CardProps['frameStyle'];
652
- // (undocumented)
653
- hideHoverPreview?: boolean;
654
- // (undocumented)
655
- showAuthTooltip?: boolean;
656
- // (undocumented)
657
- showServerActions?: boolean;
658
- // (undocumented)
659
- ssr?: boolean;
636
+ // (undocumented)
637
+ frameStyle?: CardProps['frameStyle'];
638
+ // (undocumented)
639
+ hideHoverPreview?: boolean;
640
+ // (undocumented)
641
+ showAuthTooltip?: boolean;
642
+ // (undocumented)
643
+ showServerActions?: boolean;
644
+ // (undocumented)
645
+ ssr?: boolean;
660
646
  }
661
647
 
662
648
  // @public (undocumented)
663
649
  type StickyHeaderConfig = {
664
- offsetTop?: number;
650
+ offsetTop?: number;
665
651
  };
666
652
 
667
653
  // @public (undocumented)
668
654
  export type StickyHeaderProps =
669
- | ({
670
- show?: boolean;
671
- } & StickyHeaderConfig)
672
- | boolean;
655
+ | ({
656
+ show?: boolean;
657
+ } & StickyHeaderConfig)
658
+ | boolean;
673
659
 
674
660
  // @public (undocumented)
675
661
  type TableSortColumnAEP = AEP<
676
- ACTION.SORT_COLUMN,
677
- ACTION_SUBJECT.TABLE,
678
- undefined,
679
- {
680
- platform: PLATFORM.WEB;
681
- mode: MODE.RENDERER;
682
- sortOrder: SortOrder;
683
- columnIndex: number;
684
- },
685
- EVENT_TYPE.TRACK
662
+ ACTION.SORT_COLUMN,
663
+ ACTION_SUBJECT.TABLE,
664
+ undefined,
665
+ {
666
+ platform: PLATFORM.WEB;
667
+ mode: MODE.RENDERER;
668
+ sortOrder: SortOrder;
669
+ columnIndex: number;
670
+ },
671
+ EVENT_TYPE.TRACK
686
672
  >;
687
673
 
688
674
  // @public (undocumented)
689
675
  type TableSortColumnNotAllowedAEP = AEP<
690
- ACTION.SORT_COLUMN_NOT_ALLOWED,
691
- ACTION_SUBJECT.TABLE,
692
- undefined,
693
- {
694
- platform: PLATFORM.WEB;
695
- mode: MODE.RENDERER;
696
- },
697
- EVENT_TYPE.TRACK
676
+ ACTION.SORT_COLUMN_NOT_ALLOWED,
677
+ ACTION_SUBJECT.TABLE,
678
+ undefined,
679
+ {
680
+ platform: PLATFORM.WEB;
681
+ mode: MODE.RENDERER;
682
+ },
683
+ EVENT_TYPE.TRACK
698
684
  >;
699
685
 
700
686
  // @public (undocumented)
701
687
  export class TextSerializer implements Serializer<string> {
702
- constructor(schema: Schema);
703
- // (undocumented)
704
- static fromSchema(schema?: Schema): TextSerializer;
705
- // (undocumented)
706
- serializeFragment(fragment: Fragment): string;
688
+ constructor(schema: Schema);
689
+ // (undocumented)
690
+ static fromSchema(schema?: Schema): TextSerializer;
691
+ // (undocumented)
692
+ serializeFragment(fragment: Fragment): string;
707
693
  }
708
694
 
709
695
  // @public (undocumented)
710
696
  interface TextWrapper {
711
- // (undocumented)
712
- content: Node_2[];
713
- // (undocumented)
714
- nodeSize: number;
715
- // (undocumented)
716
- type: {
717
- name: 'textWrapper';
718
- };
697
+ // (undocumented)
698
+ content: Node_2[];
699
+ // (undocumented)
700
+ nodeSize: number;
701
+ // (undocumented)
702
+ type: {
703
+ name: 'textWrapper';
704
+ };
719
705
  }
720
706
 
721
707
  // @public (undocumented)
@@ -723,35 +709,35 @@ type TransformerProvider<T> = (schema: Schema) => Transformer_2<T>;
723
709
 
724
710
  // @public (undocumented)
725
711
  type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<
726
- Action,
727
- ActionSubject,
728
- ActionSubjectID,
729
- Attributes,
730
- EVENT_TYPE.UI
712
+ Action,
713
+ ActionSubject,
714
+ ActionSubjectID,
715
+ Attributes,
716
+ EVENT_TYPE.UI
731
717
  >;
732
718
 
733
719
  // @public (undocumented)
734
720
  type VisitLinkAEP = AEP<
735
- ACTION.VISITED,
736
- ACTION_SUBJECT.LINK,
737
- undefined,
738
- {
739
- platform: PLATFORM.WEB;
740
- mode: MODE.RENDERER;
741
- },
742
- EVENT_TYPE.TRACK
721
+ ACTION.VISITED,
722
+ ACTION_SUBJECT.LINK,
723
+ undefined,
724
+ {
725
+ platform: PLATFORM.WEB;
726
+ mode: MODE.RENDERER;
727
+ },
728
+ EVENT_TYPE.TRACK
743
729
  >;
744
730
 
745
731
  // @public (undocumented)
746
732
  type VisitMediaLinkAEP = AEP<
747
- ACTION.VISITED,
748
- ACTION_SUBJECT.MEDIA,
749
- ACTION_SUBJECT_ID.LINK,
750
- {
751
- platform: PLATFORM.WEB;
752
- mode: MODE.RENDERER;
753
- },
754
- EVENT_TYPE.TRACK
733
+ ACTION.VISITED,
734
+ ACTION_SUBJECT.MEDIA,
735
+ ACTION_SUBJECT_ID.LINK,
736
+ {
737
+ platform: PLATFORM.WEB;
738
+ mode: MODE.RENDERER;
739
+ },
740
+ EVENT_TYPE.TRACK
755
741
  >;
756
742
 
757
743
  // (No @packageDocumentation comment for this package)
@@ -765,10 +751,10 @@ type VisitMediaLinkAEP = AEP<
765
751
 
766
752
  ```json
767
753
  {
768
- "@atlaskit/link-provider": "^1.6.2",
769
- "@atlaskit/media-core": "^34.1.2",
770
- "react": "^16.8.0",
771
- "react-dom": "^16.8.0"
754
+ "@atlaskit/link-provider": "^1.6.2",
755
+ "@atlaskit/media-core": "^34.1.2",
756
+ "react": "^16.8.0",
757
+ "react-dom": "^16.8.0"
772
758
  }
773
759
  ```
774
760