@atlaskit/renderer 120.5.2 → 120.5.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 120.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2dbce9ef92219`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2dbce9ef92219) -
8
+ Added a jira specific featuer flag to SSR the EmbedCard and BlockCard.
9
+ - Updated dependencies
10
+
3
11
  ## 120.5.2
4
12
 
5
13
  ### Patch Changes
@@ -127,7 +127,7 @@ function BlockCard(props) {
127
127
  });
128
128
  }
129
129
  var cardComponent;
130
- if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (0, _platformFeatureFlags.fg)('platform_ssr_smartlink_cards')) {
130
+ if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && ((0, _platformFeatureFlags.fg)('platform_ssr_smartlink_cards') || (0, _platformFeatureFlags.fg)('jfp-magma-ssr-iv-editor-links'))) {
131
131
  cardComponent = (0, _react.jsx)(_ssr.CardSSR, (0, _extends2.default)({
132
132
  appearance: "block",
133
133
  platform: platform
@@ -156,7 +156,7 @@ function EmbedCardInternal(props) {
156
156
  }
157
157
  };
158
158
  var cardComponent;
159
- if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (0, _platformFeatureFlags.fg)('platform_ssr_smartlink_embeds')) {
159
+ if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && ((0, _platformFeatureFlags.fg)('platform_ssr_smartlink_embeds') || (0, _platformFeatureFlags.fg)('jfp-magma-ssr-iv-editor-links'))) {
160
160
  var _smartLinks$frameStyl2;
161
161
  var ssrCardProps = {
162
162
  url: url,
@@ -63,7 +63,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
63
63
  var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
64
64
  var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
65
65
  var packageName = "@atlaskit/renderer";
66
- var packageVersion = "120.5.1";
66
+ var packageVersion = "120.5.2";
67
67
  var setAsQueryContainerStyles = (0, _react2.css)({
68
68
  containerName: 'ak-renderer-wrapper',
69
69
  containerType: 'inline-size'
@@ -114,7 +114,7 @@ export default function BlockCard(props) {
114
114
  });
115
115
  }
116
116
  let cardComponent;
117
- if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && fg('platform_ssr_smartlink_cards')) {
117
+ if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (fg('platform_ssr_smartlink_cards') || fg('jfp-magma-ssr-iv-editor-links'))) {
118
118
  cardComponent = jsx(CardSSR, _extends({
119
119
  appearance: "block",
120
120
  platform: platform
@@ -144,7 +144,7 @@ function EmbedCardInternal(props) {
144
144
  }
145
145
  };
146
146
  let cardComponent;
147
- if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && fg('platform_ssr_smartlink_embeds')) {
147
+ if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (fg('platform_ssr_smartlink_embeds') || fg('jfp-magma-ssr-iv-editor-links'))) {
148
148
  var _smartLinks$frameStyl2;
149
149
  const ssrCardProps = {
150
150
  url,
@@ -49,7 +49,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
49
49
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
50
50
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
51
51
  const packageName = "@atlaskit/renderer";
52
- const packageVersion = "120.5.1";
52
+ const packageVersion = "120.5.2";
53
53
  const setAsQueryContainerStyles = css({
54
54
  containerName: 'ak-renderer-wrapper',
55
55
  containerType: 'inline-size'
@@ -119,7 +119,7 @@ export default function BlockCard(props) {
119
119
  });
120
120
  }
121
121
  var cardComponent;
122
- if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && fg('platform_ssr_smartlink_cards')) {
122
+ if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (fg('platform_ssr_smartlink_cards') || fg('jfp-magma-ssr-iv-editor-links'))) {
123
123
  cardComponent = jsx(CardSSR, _extends({
124
124
  appearance: "block",
125
125
  platform: platform
@@ -148,7 +148,7 @@ function EmbedCardInternal(props) {
148
148
  }
149
149
  };
150
150
  var cardComponent;
151
- if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && fg('platform_ssr_smartlink_embeds')) {
151
+ if (smartLinks !== null && smartLinks !== void 0 && smartLinks.ssr && url && (fg('platform_ssr_smartlink_embeds') || fg('jfp-magma-ssr-iv-editor-links'))) {
152
152
  var _smartLinks$frameStyl2;
153
153
  var ssrCardProps = {
154
154
  url: url,
@@ -54,7 +54,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
54
54
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
55
55
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
56
56
  var packageName = "@atlaskit/renderer";
57
- var packageVersion = "120.5.1";
57
+ var packageVersion = "120.5.2";
58
58
  var setAsQueryContainerStyles = css({
59
59
  containerName: 'ak-renderer-wrapper',
60
60
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "120.5.2",
3
+ "version": "120.5.3",
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": "^50.2.1",
26
+ "@atlaskit/adf-schema": "^50.2.2",
27
27
  "@atlaskit/adf-utils": "^19.21.0",
28
28
  "@atlaskit/analytics-listeners": "^9.0.0",
29
29
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/status": "^3.0.0",
55
55
  "@atlaskit/task-decision": "^19.2.0",
56
56
  "@atlaskit/theme": "^19.0.0",
57
- "@atlaskit/tmp-editor-statsig": "^11.6.0",
57
+ "@atlaskit/tmp-editor-statsig": "^11.7.0",
58
58
  "@atlaskit/tokens": "^6.0.0",
59
59
  "@atlaskit/tooltip": "^20.4.0",
60
60
  "@atlaskit/visually-hidden": "^3.0.0",
@@ -68,7 +68,7 @@
68
68
  "uuid": "^3.1.0"
69
69
  },
70
70
  "peerDependencies": {
71
- "@atlaskit/editor-common": "^107.29.0",
71
+ "@atlaskit/editor-common": "^107.31.0",
72
72
  "@atlaskit/link-provider": "^3.7.0",
73
73
  "@atlaskit/media-core": "^37.0.0",
74
74
  "react": "^18.2.0",
@@ -265,6 +265,9 @@
265
265
  },
266
266
  "jfp-magma-ssr-iv-editor-media": {
267
267
  "type": "boolean"
268
+ },
269
+ "jfp-magma-ssr-iv-editor-links": {
270
+ "type": "boolean"
268
271
  }
269
272
  },
270
273
  "af:exports": {