@atlaskit/renderer 140.1.2 → 140.1.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
+ ## 140.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`55b2a2034275e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55b2a2034275e) -
8
+ Clean up experiment `platform_editor_disable_lazy_load_media`
9
+ - Updated dependencies
10
+
3
11
  ## 140.1.2
4
12
 
5
13
  ### Patch Changes
@@ -354,7 +354,7 @@ var MediaCardView = exports.MediaCardView = /*#__PURE__*/function (_Component) {
354
354
  // Quick solution to disable lazy loading of images on PDF export pages in Confluence to remedy an issue with images never loading
355
355
  // More robust solution will be implemented as part of CCPDF-233 - Link: https://hello.jira.atlassian.cloud/browse/CCPDF-233
356
356
  var currentUrl = window.location.href;
357
- var shouldDisableLazyLoading = (0, _expValEquals.expValEquals)('platform_editor_disable_lazy_load_media', 'isEnabled', true) && currentUrl.includes('/wiki/pdf/spaces/');
357
+ var shouldDisableLazyLoading = currentUrl.includes('/wiki/pdf/spaces/');
358
358
  var ssrMediaItem = ssr === null || ssr === void 0 || (_ssr$ssrMediaItems = ssr.ssrMediaItems) === null || _ssr$ssrMediaItems === void 0 ? void 0 : _ssr$ssrMediaItems.find(function (item) {
359
359
  return item.id === id;
360
360
  });
@@ -73,7 +73,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
73
73
  var TABLE_INFO_TIMEOUT = 10000;
74
74
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
75
75
  var packageName = "@atlaskit/renderer";
76
- var packageVersion = "140.1.1";
76
+ var packageVersion = "140.1.2";
77
77
  var setAsQueryContainerStyles = (0, _react2.css)({
78
78
  containerName: 'ak-renderer-wrapper',
79
79
  containerType: 'inline-size'
@@ -294,7 +294,7 @@ export class MediaCardView extends Component {
294
294
  // Quick solution to disable lazy loading of images on PDF export pages in Confluence to remedy an issue with images never loading
295
295
  // More robust solution will be implemented as part of CCPDF-233 - Link: https://hello.jira.atlassian.cloud/browse/CCPDF-233
296
296
  const currentUrl = window.location.href;
297
- const shouldDisableLazyLoading = expValEquals('platform_editor_disable_lazy_load_media', 'isEnabled', true) && currentUrl.includes('/wiki/pdf/spaces/');
297
+ const shouldDisableLazyLoading = currentUrl.includes('/wiki/pdf/spaces/');
298
298
  const ssrMediaItem = ssr === null || ssr === void 0 ? void 0 : (_ssr$ssrMediaItems = ssr.ssrMediaItems) === null || _ssr$ssrMediaItems === void 0 ? void 0 : _ssr$ssrMediaItems.find(item => item.id === id);
299
299
  return /*#__PURE__*/React.createElement("div", _extends({}, getClipboardAttrs({
300
300
  id,
@@ -59,7 +59,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
59
59
  const TABLE_INFO_TIMEOUT = 10000;
60
60
  const RENDER_EVENT_SAMPLE_RATE = 0.1;
61
61
  const packageName = "@atlaskit/renderer";
62
- const packageVersion = "140.1.1";
62
+ const packageVersion = "140.1.2";
63
63
  const setAsQueryContainerStyles = css({
64
64
  containerName: 'ak-renderer-wrapper',
65
65
  containerType: 'inline-size'
@@ -345,7 +345,7 @@ export var MediaCardView = /*#__PURE__*/function (_Component) {
345
345
  // Quick solution to disable lazy loading of images on PDF export pages in Confluence to remedy an issue with images never loading
346
346
  // More robust solution will be implemented as part of CCPDF-233 - Link: https://hello.jira.atlassian.cloud/browse/CCPDF-233
347
347
  var currentUrl = window.location.href;
348
- var shouldDisableLazyLoading = expValEquals('platform_editor_disable_lazy_load_media', 'isEnabled', true) && currentUrl.includes('/wiki/pdf/spaces/');
348
+ var shouldDisableLazyLoading = currentUrl.includes('/wiki/pdf/spaces/');
349
349
  var ssrMediaItem = ssr === null || ssr === void 0 || (_ssr$ssrMediaItems = ssr.ssrMediaItems) === null || _ssr$ssrMediaItems === void 0 ? void 0 : _ssr$ssrMediaItems.find(function (item) {
350
350
  return item.id === id;
351
351
  });
@@ -64,7 +64,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
64
64
  var TABLE_INFO_TIMEOUT = 10000;
65
65
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
66
66
  var packageName = "@atlaskit/renderer";
67
- var packageVersion = "140.1.1";
67
+ var packageVersion = "140.1.2";
68
68
  var setAsQueryContainerStyles = css({
69
69
  containerName: 'ak-renderer-wrapper',
70
70
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "140.1.2",
3
+ "version": "140.1.3",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -52,8 +52,8 @@
52
52
  "@atlaskit/link": "^5.1.0",
53
53
  "@atlaskit/link-datasource": "^6.13.0",
54
54
  "@atlaskit/link-extractors": "^4.2.0",
55
- "@atlaskit/linking-common": "^12.1.0",
56
- "@atlaskit/media-card": "^81.10.0",
55
+ "@atlaskit/linking-common": "^12.2.0",
56
+ "@atlaskit/media-card": "^81.12.0",
57
57
  "@atlaskit/media-client": "^38.1.0",
58
58
  "@atlaskit/media-client-react": "^6.4.0",
59
59
  "@atlaskit/media-common": "^14.6.0",
@@ -70,7 +70,7 @@
70
70
  "@atlaskit/status": "^5.11.0",
71
71
  "@atlaskit/task-decision": "^21.10.0",
72
72
  "@atlaskit/theme": "^28.2.0",
73
- "@atlaskit/tmp-editor-statsig": "^192.0.0",
73
+ "@atlaskit/tmp-editor-statsig": "^193.0.0",
74
74
  "@atlaskit/tokens": "^16.12.0",
75
75
  "@atlaskit/tooltip": "^24.3.0",
76
76
  "@atlaskit/visually-hidden": "^4.4.0",
@@ -97,7 +97,7 @@
97
97
  "@af/visual-regression": "workspace:^",
98
98
  "@atlaskit/analytics-gas-types": "^6.2.0",
99
99
  "@atlaskit/checkbox": "^19.2.0",
100
- "@atlaskit/editor-plugin-media": "^20.0.0",
100
+ "@atlaskit/editor-plugin-media": "^20.1.0",
101
101
  "@atlaskit/editor-test-helpers": "workspace:^",
102
102
  "@atlaskit/inline-edit": "^16.4.0",
103
103
  "@atlaskit/json-ld-types": "^2.0.0",