@atlaskit/renderer 124.8.3 → 124.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 124.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2261b8ade339b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2261b8ade339b) -
8
+ [ux] EDITOR-2255 integrate data provider for renderer sync block node
9
+ - [`c28cd65d12c24`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c28cd65d12c24) -
10
+ EDITOR-2447 Bump adf-schema to 51.3.1
11
+ - Updated dependencies
12
+
3
13
  ## 124.8.3
4
14
 
5
15
  ### Patch Changes
@@ -0,0 +1,141 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.products.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__renderer/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../adf-utils/afm-products/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../analytics/analytics-listeners/afm-products/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../analytics/analytics-namespaced-context/afm-products/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../analytics/analytics-next/afm-products/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../helpers/browser-apis/afm-products/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/button/afm-products/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/code/afm-products/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../editor-json-transformer/afm-products/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../editor-palette/afm-products/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../editor-shared-styles/afm-products/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../editor-tables/afm-products/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../elements/emoji/afm-products/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../measurement/feature-gate-js-client/afm-products/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../design-system/icon/afm-products/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../../design-system/link/afm-products/tsconfig.json"
70
+ },
71
+ {
72
+ "path": "../../../linking-platform/link-datasource/afm-products/tsconfig.json"
73
+ },
74
+ {
75
+ "path": "../../../linking-platform/link-extractors/afm-products/tsconfig.json"
76
+ },
77
+ {
78
+ "path": "../../../media/media-card/afm-products/tsconfig.json"
79
+ },
80
+ {
81
+ "path": "../../../media/media-client/afm-products/tsconfig.json"
82
+ },
83
+ {
84
+ "path": "../../../media/media-client-react/afm-products/tsconfig.json"
85
+ },
86
+ {
87
+ "path": "../../../media/media-common/afm-products/tsconfig.json"
88
+ },
89
+ {
90
+ "path": "../../../media/media-filmstrip/afm-products/tsconfig.json"
91
+ },
92
+ {
93
+ "path": "../../../media/media-ui/afm-products/tsconfig.json"
94
+ },
95
+ {
96
+ "path": "../../../media/media-viewer/afm-products/tsconfig.json"
97
+ },
98
+ {
99
+ "path": "../../../platform/feature-flags/afm-products/tsconfig.json"
100
+ },
101
+ {
102
+ "path": "../../../platform/feature-flags-react/afm-products/tsconfig.json"
103
+ },
104
+ {
105
+ "path": "../../../react-ufo/atlaskit/afm-products/tsconfig.json"
106
+ },
107
+ {
108
+ "path": "../../../linking-platform/smart-card/afm-products/tsconfig.json"
109
+ },
110
+ {
111
+ "path": "../../../elements/status/afm-products/tsconfig.json"
112
+ },
113
+ {
114
+ "path": "../../../elements/task-decision/afm-products/tsconfig.json"
115
+ },
116
+ {
117
+ "path": "../../../design-system/theme/afm-products/tsconfig.json"
118
+ },
119
+ {
120
+ "path": "../../tmp-editor-statsig/afm-products/tsconfig.json"
121
+ },
122
+ {
123
+ "path": "../../../design-system/tokens/afm-products/tsconfig.json"
124
+ },
125
+ {
126
+ "path": "../../../design-system/tooltip/afm-products/tsconfig.json"
127
+ },
128
+ {
129
+ "path": "../../../design-system/visually-hidden/afm-products/tsconfig.json"
130
+ },
131
+ {
132
+ "path": "../../editor-common/afm-products/tsconfig.json"
133
+ },
134
+ {
135
+ "path": "../../../linking-platform/link-provider/afm-products/tsconfig.json"
136
+ },
137
+ {
138
+ "path": "../../../media/media-core/afm-products/tsconfig.json"
139
+ }
140
+ ]
141
+ }
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = SyncBlock;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- // For sync block to work, we need to pass in a custom syncBlock renderer
9
+ // For sync block to work, we are passing in a custom syncBlock renderer through nodeComponents
10
10
  // However, we need define a basic component to render the sync block
11
11
  function SyncBlock(props) {
12
12
  return /*#__PURE__*/_react.default.createElement("div", {
13
13
  "data-sync-block": true,
14
- "data-local-id": props.localId
14
+ "data-local-id": props.localId,
15
+ "data-resource-id": props.resourceId
15
16
  });
16
17
  }
@@ -68,7 +68,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
68
68
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
69
69
  var TABLE_WIDTH_INFO_TIMEOUT = 10000;
70
70
  var packageName = "@atlaskit/renderer";
71
- var packageVersion = "124.8.2";
71
+ var packageVersion = "124.8.3";
72
72
  var setAsQueryContainerStyles = (0, _react2.css)({
73
73
  containerName: 'ak-renderer-wrapper',
74
74
  containerType: 'inline-size'
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- // For sync block to work, we need to pass in a custom syncBlock renderer
2
+ // For sync block to work, we are passing in a custom syncBlock renderer through nodeComponents
3
3
  // However, we need define a basic component to render the sync block
4
4
  export default function SyncBlock(props) {
5
5
  return /*#__PURE__*/React.createElement("div", {
6
6
  "data-sync-block": true,
7
- "data-local-id": props.localId
7
+ "data-local-id": props.localId,
8
+ "data-resource-id": props.resourceId
8
9
  });
9
10
  }
@@ -54,7 +54,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
54
54
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
55
55
  const TABLE_WIDTH_INFO_TIMEOUT = 10000;
56
56
  const packageName = "@atlaskit/renderer";
57
- const packageVersion = "124.8.2";
57
+ const packageVersion = "124.8.3";
58
58
  const setAsQueryContainerStyles = css({
59
59
  containerName: 'ak-renderer-wrapper',
60
60
  containerType: 'inline-size'
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- // For sync block to work, we need to pass in a custom syncBlock renderer
2
+ // For sync block to work, we are passing in a custom syncBlock renderer through nodeComponents
3
3
  // However, we need define a basic component to render the sync block
4
4
  export default function SyncBlock(props) {
5
5
  return /*#__PURE__*/React.createElement("div", {
6
6
  "data-sync-block": true,
7
- "data-local-id": props.localId
7
+ "data-local-id": props.localId,
8
+ "data-resource-id": props.resourceId
8
9
  });
9
10
  }
@@ -59,7 +59,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
59
59
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
60
60
  var TABLE_WIDTH_INFO_TIMEOUT = 10000;
61
61
  var packageName = "@atlaskit/renderer";
62
- var packageVersion = "124.8.2";
62
+ var packageVersion = "124.8.3";
63
63
  var setAsQueryContainerStyles = css({
64
64
  containerName: 'ak-renderer-wrapper',
65
65
  containerType: 'inline-size'
@@ -3,4 +3,5 @@ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  export default function SyncBlock(props: React.PropsWithChildren<{
4
4
  content?: PMNode[];
5
5
  localId?: string;
6
+ resourceId?: string;
6
7
  }>): React.JSX.Element;
@@ -3,4 +3,5 @@ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  export default function SyncBlock(props: React.PropsWithChildren<{
4
4
  content?: PMNode[];
5
5
  localId?: string;
6
+ resourceId?: string;
6
7
  }>): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "124.8.3",
3
+ "version": "124.8.4",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,7 +23,7 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/adf-schema": "^51.3.0",
26
+ "@atlaskit/adf-schema": "^51.3.1",
27
27
  "@atlaskit/adf-utils": "^19.25.0",
28
28
  "@atlaskit/afm-i18n-platform-editor-renderer": "2.7.0",
29
29
  "@atlaskit/analytics-listeners": "^9.1.0",
@@ -47,17 +47,17 @@
47
47
  "@atlaskit/media-client": "^35.5.0",
48
48
  "@atlaskit/media-client-react": "^4.1.0",
49
49
  "@atlaskit/media-common": "^12.3.0",
50
- "@atlaskit/media-filmstrip": "^51.0.0",
50
+ "@atlaskit/media-filmstrip": "^51.1.0",
51
51
  "@atlaskit/media-ui": "^28.7.0",
52
52
  "@atlaskit/media-viewer": "^52.4.0",
53
53
  "@atlaskit/platform-feature-flags": "^1.1.0",
54
54
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
55
55
  "@atlaskit/react-ufo": "^4.12.0",
56
- "@atlaskit/smart-card": "^43.2.0",
56
+ "@atlaskit/smart-card": "^43.3.0",
57
57
  "@atlaskit/status": "^3.0.0",
58
58
  "@atlaskit/task-decision": "^19.2.0",
59
59
  "@atlaskit/theme": "^21.0.0",
60
- "@atlaskit/tmp-editor-statsig": "^13.17.0",
60
+ "@atlaskit/tmp-editor-statsig": "^13.18.0",
61
61
  "@atlaskit/tokens": "^7.0.0",
62
62
  "@atlaskit/tooltip": "^20.6.0",
63
63
  "@atlaskit/visually-hidden": "^3.0.0",
@@ -71,7 +71,7 @@
71
71
  "uuid": "^3.1.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "@atlaskit/editor-common": "^110.16.0",
74
+ "@atlaskit/editor-common": "^110.18.0",
75
75
  "@atlaskit/link-provider": "^4.0.0",
76
76
  "@atlaskit/media-core": "^37.0.0",
77
77
  "react": "^18.2.0",