@atlaskit/renderer 126.2.4 → 126.2.5
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 +7 -0
- package/dist/cjs/react/nodes/blockCard.js +10 -1
- package/dist/cjs/react/nodes/inlineCard.js +1 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/blockCard.js +10 -1
- package/dist/es2019/react/nodes/inlineCard.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/blockCard.js +10 -1
- package/dist/esm/react/nodes/inlineCard.js +1 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -132,7 +132,16 @@ function BlockCard(props) {
|
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
var cardComponent;
|
|
135
|
-
if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (
|
|
135
|
+
if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (
|
|
136
|
+
// Clean up feature gates when both are fully rolled out.
|
|
137
|
+
// - platform_ssr_smartlink_cards: Controls SSR smart links for confluence (100% rolled out)
|
|
138
|
+
// - jfp-magma-ssr-iv-editor-links: Controls SSR smart links for jira (at time of comment: 50% rolled out)
|
|
139
|
+
// Once both gates are 100% rolled out, remove this condition entirely and make
|
|
140
|
+
// smart link SSR behavior the default.
|
|
141
|
+
// NOTE: This is a temporary solution to allow for the gradual rollout of SSR smart links for jira and keep it
|
|
142
|
+
// fully rolled out for confluence since both gates target different products keep only one gate to control the behavior
|
|
143
|
+
// isnt correct.
|
|
144
|
+
(0, _platformFeatureFlags.fg)('platform_ssr_smartlink_cards') || (0, _platformFeatureFlags.fg)('jfp-magma-ssr-iv-editor-links'))) {
|
|
136
145
|
cardComponent = (0, _react.jsx)(_ssr.CardSSR, (0, _extends2.default)({
|
|
137
146
|
appearance: "block",
|
|
138
147
|
platform: platform
|
|
@@ -214,7 +214,7 @@ var InlineCard = function InlineCard(props) {
|
|
|
214
214
|
showHoverPreview: !hideHoverPreview,
|
|
215
215
|
actionOptions: actionOptions,
|
|
216
216
|
onClick: onClick
|
|
217
|
-
}));
|
|
217
|
+
}), CompetitorPromptComponent);
|
|
218
218
|
} else if (ssr && url && (0, _experiments.editorExperiment)('platform_editor_preview_panel_linking_exp', true, {
|
|
219
219
|
exposure: true
|
|
220
220
|
})) {
|
|
@@ -70,7 +70,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
70
70
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
71
71
|
var RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
72
72
|
var packageName = "@atlaskit/renderer";
|
|
73
|
-
var packageVersion = "126.2.
|
|
73
|
+
var packageVersion = "126.2.4";
|
|
74
74
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
75
75
|
containerName: 'ak-renderer-wrapper',
|
|
76
76
|
containerType: 'inline-size'
|
|
@@ -119,7 +119,16 @@ export default function BlockCard(props) {
|
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
let cardComponent;
|
|
122
|
-
if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (
|
|
122
|
+
if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (
|
|
123
|
+
// Clean up feature gates when both are fully rolled out.
|
|
124
|
+
// - platform_ssr_smartlink_cards: Controls SSR smart links for confluence (100% rolled out)
|
|
125
|
+
// - jfp-magma-ssr-iv-editor-links: Controls SSR smart links for jira (at time of comment: 50% rolled out)
|
|
126
|
+
// Once both gates are 100% rolled out, remove this condition entirely and make
|
|
127
|
+
// smart link SSR behavior the default.
|
|
128
|
+
// NOTE: This is a temporary solution to allow for the gradual rollout of SSR smart links for jira and keep it
|
|
129
|
+
// fully rolled out for confluence since both gates target different products keep only one gate to control the behavior
|
|
130
|
+
// isnt correct.
|
|
131
|
+
fg('platform_ssr_smartlink_cards') || fg('jfp-magma-ssr-iv-editor-links'))) {
|
|
123
132
|
cardComponent = jsx(CardSSR, _extends({
|
|
124
133
|
appearance: "block",
|
|
125
134
|
platform: platform
|
|
@@ -198,7 +198,7 @@ const InlineCard = props => {
|
|
|
198
198
|
showHoverPreview: !hideHoverPreview,
|
|
199
199
|
actionOptions: actionOptions,
|
|
200
200
|
onClick: onClick
|
|
201
|
-
}));
|
|
201
|
+
}), CompetitorPromptComponent);
|
|
202
202
|
} else if (ssr && url && editorExperiment('platform_editor_preview_panel_linking_exp', true, {
|
|
203
203
|
exposure: true
|
|
204
204
|
})) {
|
|
@@ -56,7 +56,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
56
56
|
const TABLE_INFO_TIMEOUT = 10000;
|
|
57
57
|
const RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
58
58
|
const packageName = "@atlaskit/renderer";
|
|
59
|
-
const packageVersion = "126.2.
|
|
59
|
+
const packageVersion = "126.2.4";
|
|
60
60
|
const setAsQueryContainerStyles = css({
|
|
61
61
|
containerName: 'ak-renderer-wrapper',
|
|
62
62
|
containerType: 'inline-size'
|
|
@@ -124,7 +124,16 @@ export default function BlockCard(props) {
|
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
var cardComponent;
|
|
127
|
-
if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (
|
|
127
|
+
if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (
|
|
128
|
+
// Clean up feature gates when both are fully rolled out.
|
|
129
|
+
// - platform_ssr_smartlink_cards: Controls SSR smart links for confluence (100% rolled out)
|
|
130
|
+
// - jfp-magma-ssr-iv-editor-links: Controls SSR smart links for jira (at time of comment: 50% rolled out)
|
|
131
|
+
// Once both gates are 100% rolled out, remove this condition entirely and make
|
|
132
|
+
// smart link SSR behavior the default.
|
|
133
|
+
// NOTE: This is a temporary solution to allow for the gradual rollout of SSR smart links for jira and keep it
|
|
134
|
+
// fully rolled out for confluence since both gates target different products keep only one gate to control the behavior
|
|
135
|
+
// isnt correct.
|
|
136
|
+
fg('platform_ssr_smartlink_cards') || fg('jfp-magma-ssr-iv-editor-links'))) {
|
|
128
137
|
cardComponent = jsx(CardSSR, _extends({
|
|
129
138
|
appearance: "block",
|
|
130
139
|
platform: platform
|
|
@@ -205,7 +205,7 @@ var InlineCard = function InlineCard(props) {
|
|
|
205
205
|
showHoverPreview: !hideHoverPreview,
|
|
206
206
|
actionOptions: actionOptions,
|
|
207
207
|
onClick: onClick
|
|
208
|
-
}));
|
|
208
|
+
}), CompetitorPromptComponent);
|
|
209
209
|
} else if (ssr && url && editorExperiment('platform_editor_preview_panel_linking_exp', true, {
|
|
210
210
|
exposure: true
|
|
211
211
|
})) {
|
|
@@ -61,7 +61,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
61
61
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
62
62
|
var RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
63
63
|
var packageName = "@atlaskit/renderer";
|
|
64
|
-
var packageVersion = "126.2.
|
|
64
|
+
var packageVersion = "126.2.4";
|
|
65
65
|
var setAsQueryContainerStyles = css({
|
|
66
66
|
containerName: 'ak-renderer-wrapper',
|
|
67
67
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "126.2.
|
|
3
|
+
"version": "126.2.5",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@atlaskit/status": "^3.1.0",
|
|
58
58
|
"@atlaskit/task-decision": "^19.2.0",
|
|
59
59
|
"@atlaskit/theme": "^21.0.0",
|
|
60
|
-
"@atlaskit/tmp-editor-statsig": "^17.
|
|
60
|
+
"@atlaskit/tmp-editor-statsig": "^17.5.0",
|
|
61
61
|
"@atlaskit/tokens": "^10.1.0",
|
|
62
62
|
"@atlaskit/tooltip": "^20.14.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": "^111.
|
|
74
|
+
"@atlaskit/editor-common": "^111.10.0",
|
|
75
75
|
"@atlaskit/link-provider": "^4.1.0",
|
|
76
76
|
"@atlaskit/media-core": "^37.0.0",
|
|
77
77
|
"react": "^18.2.0",
|