@atlaskit/renderer 123.4.2 → 123.5.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,25 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 123.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`687c1b8fa7801`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/687c1b8fa7801) -
8
+ EDITOR-1566 bump adf-schema + update validator
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 123.4.3
15
+
16
+ ### Patch Changes
17
+
18
+ - [`4b9fdb2b3b95f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4b9fdb2b3b95f) -
19
+ Replace feature gate with correct feature gate name
20
+ - [`027304205f6ce`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/027304205f6ce) -
21
+ Clean up gate cc_complexit_fe_progressive_adf_rendering
22
+
3
23
  ## 123.4.2
4
24
 
5
25
  ### Patch Changes
@@ -26,7 +26,7 @@ function getRendererRangeInlineNodeNames(_ref) {
26
26
  function getRendererRangeAncestorNodeNames(_ref2) {
27
27
  var actions = _ref2.actions,
28
28
  pos = _ref2.pos;
29
- if (!(0, _platformFeatureFlags.fg)('cc_comments_create_inline_experience_entry_point')) {
29
+ if (!(0, _platformFeatureFlags.fg)('cc_comments_log_draft_annotation_ancestor_nodes')) {
30
30
  return undefined;
31
31
  }
32
32
  var doc = actions.doc;
@@ -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 = "123.4.1";
71
+ var packageVersion = "123.4.3";
72
72
  var setAsQueryContainerStyles = (0, _react2.css)({
73
73
  containerName: 'ak-renderer-wrapper',
74
74
  containerType: 'inline-size'
@@ -263,15 +263,8 @@ var RendererFunctionalComponent = exports.RendererFunctionalComponent = function
263
263
  };
264
264
  }, [createRendererContext, providerFactory, _fireAnalyticsEvent]);
265
265
  var serializer = (0, _useMemoFromPropsDerivative.useMemoFromPropsDerivative)(function (serializerProps) {
266
- // If progressive rendering is enabled, create a new serializer
267
- if ((0, _platformFeatureFlags.fg)('cc_complexit_fe_progressive_adf_rendering')) {
268
- var _props$createSerializ;
269
- var newSerializer = (_props$createSerializ = props.createSerializer) === null || _props$createSerializ === void 0 ? void 0 : _props$createSerializ.call(props, serializerProps);
270
- if (newSerializer) {
271
- return newSerializer;
272
- }
273
- }
274
- return new _.ReactSerializer(serializerProps);
266
+ var _props$createSerializ, _props$createSerializ2;
267
+ return (_props$createSerializ = (_props$createSerializ2 = props.createSerializer) === null || _props$createSerializ2 === void 0 ? void 0 : _props$createSerializ2.call(props, serializerProps)) !== null && _props$createSerializ !== void 0 ? _props$createSerializ : new _.ReactSerializer(serializerProps);
275
268
  }, deriveSerializerProps, props);
276
269
  var localRef = (0, _react.useRef)(null);
277
270
  var editorRef = props.innerRef || localRef;
@@ -23,7 +23,7 @@ export function getRendererRangeAncestorNodeNames({
23
23
  actions,
24
24
  pos
25
25
  }) {
26
- if (!fg('cc_comments_create_inline_experience_entry_point')) {
26
+ if (!fg('cc_comments_log_draft_annotation_ancestor_nodes')) {
27
27
  return undefined;
28
28
  }
29
29
  const {
@@ -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 = "123.4.1";
57
+ const packageVersion = "123.4.3";
58
58
  const setAsQueryContainerStyles = css({
59
59
  containerName: 'ak-renderer-wrapper',
60
60
  containerType: 'inline-size'
@@ -255,15 +255,8 @@ export const RendererFunctionalComponent = props => {
255
255
  };
256
256
  }, [createRendererContext, providerFactory, fireAnalyticsEvent]);
257
257
  const serializer = useMemoFromPropsDerivative(serializerProps => {
258
- // If progressive rendering is enabled, create a new serializer
259
- if (fg('cc_complexit_fe_progressive_adf_rendering')) {
260
- var _props$createSerializ;
261
- const newSerializer = (_props$createSerializ = props.createSerializer) === null || _props$createSerializ === void 0 ? void 0 : _props$createSerializ.call(props, serializerProps);
262
- if (newSerializer) {
263
- return newSerializer;
264
- }
265
- }
266
- return new ReactSerializer(serializerProps);
258
+ var _props$createSerializ, _props$createSerializ2;
259
+ return (_props$createSerializ = (_props$createSerializ2 = props.createSerializer) === null || _props$createSerializ2 === void 0 ? void 0 : _props$createSerializ2.call(props, serializerProps)) !== null && _props$createSerializ !== void 0 ? _props$createSerializ : new ReactSerializer(serializerProps);
267
260
  }, deriveSerializerProps, props);
268
261
  const localRef = useRef(null);
269
262
  const editorRef = props.innerRef || localRef;
@@ -19,7 +19,7 @@ export function getRendererRangeInlineNodeNames(_ref) {
19
19
  export function getRendererRangeAncestorNodeNames(_ref2) {
20
20
  var actions = _ref2.actions,
21
21
  pos = _ref2.pos;
22
- if (!fg('cc_comments_create_inline_experience_entry_point')) {
22
+ if (!fg('cc_comments_log_draft_annotation_ancestor_nodes')) {
23
23
  return undefined;
24
24
  }
25
25
  var doc = actions.doc;
@@ -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 = "123.4.1";
62
+ var packageVersion = "123.4.3";
63
63
  var setAsQueryContainerStyles = css({
64
64
  containerName: 'ak-renderer-wrapper',
65
65
  containerType: 'inline-size'
@@ -254,15 +254,8 @@ export var RendererFunctionalComponent = function RendererFunctionalComponent(pr
254
254
  };
255
255
  }, [createRendererContext, providerFactory, _fireAnalyticsEvent]);
256
256
  var serializer = useMemoFromPropsDerivative(function (serializerProps) {
257
- // If progressive rendering is enabled, create a new serializer
258
- if (fg('cc_complexit_fe_progressive_adf_rendering')) {
259
- var _props$createSerializ;
260
- var newSerializer = (_props$createSerializ = props.createSerializer) === null || _props$createSerializ === void 0 ? void 0 : _props$createSerializ.call(props, serializerProps);
261
- if (newSerializer) {
262
- return newSerializer;
263
- }
264
- }
265
- return new ReactSerializer(serializerProps);
257
+ var _props$createSerializ, _props$createSerializ2;
258
+ return (_props$createSerializ = (_props$createSerializ2 = props.createSerializer) === null || _props$createSerializ2 === void 0 ? void 0 : _props$createSerializ2.call(props, serializerProps)) !== null && _props$createSerializ !== void 0 ? _props$createSerializ : new ReactSerializer(serializerProps);
266
259
  }, deriveSerializerProps, props);
267
260
  var localRef = useRef(null);
268
261
  var editorRef = props.innerRef || localRef;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "123.4.2",
3
+ "version": "123.5.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,8 +23,8 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/adf-schema": "^51.1.2",
27
- "@atlaskit/adf-utils": "^19.23.0",
26
+ "@atlaskit/adf-schema": "^51.2.0",
27
+ "@atlaskit/adf-utils": "^19.24.0",
28
28
  "@atlaskit/afm-i18n-platform-editor-renderer": "2.7.0",
29
29
  "@atlaskit/analytics-listeners": "^9.0.0",
30
30
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
@@ -32,16 +32,16 @@
32
32
  "@atlaskit/browser-apis": "^0.0.1",
33
33
  "@atlaskit/button": "^23.4.0",
34
34
  "@atlaskit/code": "^17.2.0",
35
- "@atlaskit/editor-json-transformer": "^8.29.0",
35
+ "@atlaskit/editor-json-transformer": "^8.30.0",
36
36
  "@atlaskit/editor-palette": "^2.1.0",
37
37
  "@atlaskit/editor-prosemirror": "7.0.0",
38
38
  "@atlaskit/editor-shared-styles": "^3.6.0",
39
39
  "@atlaskit/editor-tables": "^2.9.0",
40
40
  "@atlaskit/emoji": "^69.5.0",
41
41
  "@atlaskit/feature-gate-js-client": "^5.5.0",
42
- "@atlaskit/icon": "^28.2.0",
42
+ "@atlaskit/icon": "^28.3.0",
43
43
  "@atlaskit/link": "^3.2.0",
44
- "@atlaskit/link-datasource": "^4.24.0",
44
+ "@atlaskit/link-datasource": "^4.25.0",
45
45
  "@atlaskit/media-card": "^79.5.0",
46
46
  "@atlaskit/media-client": "^35.3.0",
47
47
  "@atlaskit/media-client-react": "^4.1.0",
@@ -51,12 +51,12 @@
51
51
  "@atlaskit/media-viewer": "^52.4.0",
52
52
  "@atlaskit/platform-feature-flags": "^1.1.0",
53
53
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
54
- "@atlaskit/react-ufo": "^4.9.0",
54
+ "@atlaskit/react-ufo": "^4.10.0",
55
55
  "@atlaskit/smart-card": "^42.2.0",
56
56
  "@atlaskit/status": "^3.0.0",
57
57
  "@atlaskit/task-decision": "^19.2.0",
58
58
  "@atlaskit/theme": "^21.0.0",
59
- "@atlaskit/tmp-editor-statsig": "^12.29.0",
59
+ "@atlaskit/tmp-editor-statsig": "^12.30.0",
60
60
  "@atlaskit/tokens": "^6.3.0",
61
61
  "@atlaskit/tooltip": "^20.4.0",
62
62
  "@atlaskit/visually-hidden": "^3.0.0",
@@ -70,7 +70,7 @@
70
70
  "uuid": "^3.1.0"
71
71
  },
72
72
  "peerDependencies": {
73
- "@atlaskit/editor-common": "^109.13.0",
73
+ "@atlaskit/editor-common": "^109.16.0",
74
74
  "@atlaskit/link-provider": "^4.0.0",
75
75
  "@atlaskit/media-core": "^37.0.0",
76
76
  "react": "^18.2.0",
@@ -89,9 +89,9 @@
89
89
  "@atlaskit/media-integration-test-helpers": "workspace:^",
90
90
  "@atlaskit/media-test-helpers": "^39.0.0",
91
91
  "@atlaskit/mention": "^24.2.0",
92
- "@atlaskit/modal-dialog": "^14.3.0",
92
+ "@atlaskit/modal-dialog": "^14.4.0",
93
93
  "@atlaskit/navigation-next": "patch:@atlaskit/navigation-next@npm%3A9.0.17#~/.yarn/patches/@atlaskit-navigation-next-npm-9.0.17-958ca0ab9d.patch",
94
- "@atlaskit/profilecard": "^24.13.0",
94
+ "@atlaskit/profilecard": "^24.14.0",
95
95
  "@atlaskit/util-data-test": "^18.3.0",
96
96
  "@atlassian/feature-flags-test-utils": "^0.3.0",
97
97
  "@testing-library/react": "^13.4.0",
@@ -127,7 +127,7 @@
127
127
  "confluence_frontend_table_scrollbar_ttvc_fix": {
128
128
  "type": "boolean"
129
129
  },
130
- "cc_comments_create_inline_experience_entry_point": {
130
+ "cc_comments_log_draft_annotation_ancestor_nodes": {
131
131
  "type": "boolean"
132
132
  },
133
133
  "platform-ssr-table-resize": {
@@ -193,9 +193,6 @@
193
193
  "cc_complexit_fe_memovalidation_redundant_calls_2": {
194
194
  "type": "boolean"
195
195
  },
196
- "cc_complexit_fe_progressive_adf_rendering": {
197
- "type": "boolean"
198
- },
199
196
  "platform_ssr_smartlink_embeds": {
200
197
  "type": "boolean"
201
198
  },