@atlaskit/renderer 123.4.1 → 123.4.3
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 +17 -0
- package/dist/cjs/actions/get-renderer-range-inline-node-names.js +1 -1
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +1 -1
- package/dist/cjs/ui/Renderer/index.js +3 -10
- package/dist/es2019/actions/get-renderer-range-inline-node-names.js +1 -1
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +3 -10
- package/dist/esm/actions/get-renderer-range-inline-node-names.js +1 -1
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +1 -1
- package/dist/esm/ui/Renderer/index.js +3 -10
- package/package.json +10 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 123.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4b9fdb2b3b95f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4b9fdb2b3b95f) -
|
|
8
|
+
Replace feature gate with correct feature gate name
|
|
9
|
+
- [`027304205f6ce`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/027304205f6ce) -
|
|
10
|
+
Clean up gate cc_complexit_fe_progressive_adf_rendering
|
|
11
|
+
|
|
12
|
+
## 123.4.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [`407e1dc11eeed`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/407e1dc11eeed) -
|
|
17
|
+
Minor changes to border radius values.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 123.4.1
|
|
4
21
|
|
|
5
22
|
### 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)('
|
|
29
|
+
if (!(0, _platformFeatureFlags.fg)('cc_comments_log_draft_annotation_ancestor_nodes')) {
|
|
30
30
|
return undefined;
|
|
31
31
|
}
|
|
32
32
|
var doc = actions.doc;
|
|
@@ -527,7 +527,7 @@ var ruleSharedStyles = (0, _react.css)({
|
|
|
527
527
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
528
528
|
margin: "".concat(_editorSharedStyles.akEditorLineHeight, "em 0"),
|
|
529
529
|
height: '2px',
|
|
530
|
-
borderRadius:
|
|
530
|
+
borderRadius: "var(--ds-radius-full, 9999px)"
|
|
531
531
|
}
|
|
532
532
|
});
|
|
533
533
|
var paragraphSharedStylesWithEditorUGC = (0, _react.css)({
|
|
@@ -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 = "
|
|
71
|
+
var packageVersion = "123.4.2";
|
|
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
|
-
|
|
267
|
-
|
|
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;
|
|
@@ -603,7 +603,7 @@ const ruleSharedStyles = css({
|
|
|
603
603
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
604
604
|
margin: `${akEditorLineHeight}em 0`,
|
|
605
605
|
height: '2px',
|
|
606
|
-
borderRadius:
|
|
606
|
+
borderRadius: "var(--ds-radius-full, 9999px)"
|
|
607
607
|
}
|
|
608
608
|
});
|
|
609
609
|
const paragraphSharedStylesWithEditorUGC = css({
|
|
@@ -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 = "
|
|
57
|
+
const packageVersion = "123.4.2";
|
|
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
|
-
|
|
259
|
-
|
|
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('
|
|
22
|
+
if (!fg('cc_comments_log_draft_annotation_ancestor_nodes')) {
|
|
23
23
|
return undefined;
|
|
24
24
|
}
|
|
25
25
|
var doc = actions.doc;
|
|
@@ -520,7 +520,7 @@ var ruleSharedStyles = css({
|
|
|
520
520
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
521
521
|
margin: "".concat(akEditorLineHeight, "em 0"),
|
|
522
522
|
height: '2px',
|
|
523
|
-
borderRadius:
|
|
523
|
+
borderRadius: "var(--ds-radius-full, 9999px)"
|
|
524
524
|
}
|
|
525
525
|
});
|
|
526
526
|
var paragraphSharedStylesWithEditorUGC = css({
|
|
@@ -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 = "
|
|
62
|
+
var packageVersion = "123.4.2";
|
|
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
|
-
|
|
258
|
-
|
|
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.
|
|
3
|
+
"version": "123.4.3",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
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.
|
|
42
|
+
"@atlaskit/icon": "^28.3.0",
|
|
43
43
|
"@atlaskit/link": "^3.2.0",
|
|
44
44
|
"@atlaskit/link-datasource": "^4.24.0",
|
|
45
45
|
"@atlaskit/media-card": "^79.5.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.
|
|
55
|
-
"@atlaskit/smart-card": "^42.
|
|
54
|
+
"@atlaskit/react-ufo": "^4.10.0",
|
|
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.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^12.29.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.
|
|
73
|
+
"@atlaskit/editor-common": "^109.15.0",
|
|
74
74
|
"@atlaskit/link-provider": "^4.0.0",
|
|
75
75
|
"@atlaskit/media-core": "^37.0.0",
|
|
76
76
|
"react": "^18.2.0",
|
|
@@ -89,10 +89,10 @@
|
|
|
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.
|
|
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.
|
|
95
|
-
"@atlaskit/util-data-test": "^18.
|
|
94
|
+
"@atlaskit/profilecard": "^24.14.0",
|
|
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",
|
|
98
98
|
"@testing-library/react-hooks": "^8.0.1",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"confluence_frontend_table_scrollbar_ttvc_fix": {
|
|
128
128
|
"type": "boolean"
|
|
129
129
|
},
|
|
130
|
-
"
|
|
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
|
},
|