@atlaskit/renderer 101.1.1 → 102.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 102.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 101.1.1
4
10
 
5
11
  ### Patch Changes
@@ -102,7 +102,7 @@ exports.NORMAL_SEVERITY_THRESHOLD = NORMAL_SEVERITY_THRESHOLD;
102
102
  var DEGRADED_SEVERITY_THRESHOLD = 3000;
103
103
  exports.DEGRADED_SEVERITY_THRESHOLD = DEGRADED_SEVERITY_THRESHOLD;
104
104
  var packageName = "@atlaskit/renderer";
105
- var packageVersion = "101.1.1";
105
+ var packageVersion = "102.0.0";
106
106
 
107
107
  var Renderer = /*#__PURE__*/function (_PureComponent) {
108
108
  (0, _inherits2.default)(Renderer, _PureComponent);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "101.1.1",
3
+ "version": "102.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -36,7 +36,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
36
36
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
37
37
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
38
38
  const packageName = "@atlaskit/renderer";
39
- const packageVersion = "101.1.1";
39
+ const packageVersion = "102.0.0";
40
40
  export class Renderer extends PureComponent {
41
41
  constructor(props) {
42
42
  super(props);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "101.1.1",
3
+ "version": "102.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -50,7 +50,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
50
50
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
51
51
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
52
52
  var packageName = "@atlaskit/renderer";
53
- var packageVersion = "101.1.1";
53
+ var packageVersion = "102.0.0";
54
54
  export var Renderer = /*#__PURE__*/function (_PureComponent) {
55
55
  _inherits(Renderer, _PureComponent);
56
56
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "101.1.1",
3
+ "version": "102.0.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "101.1.1",
3
+ "version": "102.0.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,23 +37,23 @@
37
37
  "@atlaskit/analytics-namespaced-context": "^6.5.0",
38
38
  "@atlaskit/analytics-next": "^8.2.0",
39
39
  "@atlaskit/button": "^16.3.0",
40
- "@atlaskit/code": "^14.3.0",
41
- "@atlaskit/editor-common": "^69.3.0",
40
+ "@atlaskit/code": "^14.4.0",
41
+ "@atlaskit/editor-common": "^70.0.0",
42
42
  "@atlaskit/editor-json-transformer": "^8.8.0",
43
43
  "@atlaskit/editor-shared-styles": "^2.2.0",
44
- "@atlaskit/icon": "^21.10.0",
44
+ "@atlaskit/icon": "^21.11.0",
45
45
  "@atlaskit/media-card": "^74.1.0",
46
- "@atlaskit/media-client": "^17.1.0",
46
+ "@atlaskit/media-client": "^18.0.0",
47
47
  "@atlaskit/media-common": "^2.16.0",
48
- "@atlaskit/media-filmstrip": "^45.0.0",
48
+ "@atlaskit/media-filmstrip": "^46.0.0",
49
49
  "@atlaskit/media-ui": "^22.1.0",
50
50
  "@atlaskit/media-viewer": "^47.1.0",
51
- "@atlaskit/smart-card": "^22.2.0",
51
+ "@atlaskit/smart-card": "^22.3.0",
52
52
  "@atlaskit/status": "^1.1.0",
53
53
  "@atlaskit/task-decision": "^17.5.0",
54
54
  "@atlaskit/theme": "^12.2.0",
55
55
  "@atlaskit/tokens": "^0.10.0",
56
- "@atlaskit/tooltip": "^17.5.0",
56
+ "@atlaskit/tooltip": "^17.6.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "@emotion/react": "^11.7.1",
59
59
  "lodash": "^4.17.21",
@@ -67,28 +67,28 @@
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@atlaskit/link-provider": "^1.2.9",
70
- "@atlaskit/media-core": "^33.0.3",
70
+ "@atlaskit/media-core": "^34.0.0",
71
71
  "react": "^16.8.0",
72
72
  "react-dom": "^16.8.0",
73
73
  "styled-components": "^3.2.6"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@atlaskit/analytics-gas-types": "^5.0.5",
77
- "@atlaskit/avatar": "^21.0.0",
77
+ "@atlaskit/avatar": "^21.1.0",
78
78
  "@atlaskit/css-reset": "^6.3.0",
79
79
  "@atlaskit/docs": "*",
80
- "@atlaskit/editor-core": "^172.2.0",
80
+ "@atlaskit/editor-core": "^173.0.0",
81
81
  "@atlaskit/editor-test-helpers": "^17.2.0",
82
82
  "@atlaskit/link-provider": "^1.0.0",
83
- "@atlaskit/logo": "^13.9.0",
84
- "@atlaskit/media-core": "^33.0.0",
83
+ "@atlaskit/logo": "^13.10.0",
84
+ "@atlaskit/media-core": "^34.0.0",
85
85
  "@atlaskit/media-integration-test-helpers": "^2.6.0",
86
86
  "@atlaskit/media-test-helpers": "^30.0.0",
87
87
  "@atlaskit/mention": "^21.0.0",
88
88
  "@atlaskit/navigation-next": "^9.0.0",
89
89
  "@atlaskit/profilecard": "^17.2.0",
90
90
  "@atlaskit/radio": "^5.4.0",
91
- "@atlaskit/range": "^6.0.0",
91
+ "@atlaskit/range": "^6.1.0",
92
92
  "@atlaskit/ssr": "*",
93
93
  "@atlaskit/util-data-test": "^17.5.0",
94
94
  "@atlaskit/visual-regression": "*",
package/report.api.md CHANGED
@@ -1,6 +1,8 @@
1
- ## API Report File for "@atlaskit/renderer"
1
+ ## API Report File for "@atlaskit/renderer".
2
2
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
3
+ > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
4
6
 
5
7
  ````ts
6
8
  /// <reference types="react" />
@@ -258,6 +260,10 @@ declare enum MODE {
258
260
  EDITOR = 'editor',
259
261
  }
260
262
 
263
+ declare type NodeComponentsProps = {
264
+ [key: string]: React.ComponentType<any>;
265
+ };
266
+
261
267
  declare interface ParentInfo {
262
268
  parentIsIncompleteTask: boolean;
263
269
  path: Array<Node_2>;
@@ -311,6 +317,8 @@ export declare class ReactSerializer implements Serializer<JSX.Element> {
311
317
  private smartLinks?;
312
318
  private allowAnnotations;
313
319
  private allowSelectAllTrap?;
320
+ private nodeComponents?;
321
+ private allowWindowedCodeBlock?;
314
322
  constructor(init: ReactSerializerInit);
315
323
  private resetState;
316
324
  private getNodeProps;
@@ -378,6 +386,8 @@ declare interface ReactSerializerInit {
378
386
  allowCustomPanels?: boolean;
379
387
  allowAnnotations?: boolean;
380
388
  allowSelectAllTrap?: boolean;
389
+ nodeComponents?: NodeComponentsProps;
390
+ allowWindowedCodeBlock?: boolean;
381
391
  }
382
392
 
383
393
  export declare const renderDocument: <T>(
@@ -423,8 +433,6 @@ export declare interface RendererProps {
423
433
  adfStage?: ADFStage;
424
434
  disableHeadingIDs?: boolean;
425
435
  disableActions?: boolean;
426
- /** @deprecated [ED-14507] allowDynamicTextSizing is no longer in use */
427
- allowDynamicTextSizing?: boolean;
428
436
  allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
429
437
  allowPlaceholderText?: boolean;
430
438
  maxHeight?: number;
@@ -451,6 +459,7 @@ export declare interface RendererProps {
451
459
  allowUgcScrubber?: boolean;
452
460
  allowSelectAllTrap?: boolean;
453
461
  unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
462
+ nodeComponents?: NodeComponentsProps;
454
463
  /**
455
464
  * @default undefined
456
465
  * @description