@atlaskit/editor-plugin-card 36.0.3 → 36.0.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 36.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 36.0.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1a4bf8ba80113`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a4bf8ba80113) -
14
+ Remove the `platform_lp_sllv_preserve_assets_columns` feature gate and permanently preserve
15
+ selected Assets columns when editing AQL within the same object schema.
16
+ - Updated dependencies
17
+
3
18
  ## 36.0.3
4
19
 
5
20
  ### Patch Changes
@@ -613,7 +613,7 @@ var updateCardViaDatasource = exports.updateCardViaDatasource = function updateC
613
613
  oldViews = _ref5[0];
614
614
  var isColumnChange = !(0, _isEqual.default)(oldViews === null || oldViews === void 0 || (_oldViews$properties = oldViews.properties) === null || _oldViews$properties === void 0 ? void 0 : _oldViews$properties.columns, newViews === null || newViews === void 0 || (_newViews$properties = newViews.properties) === null || _newViews$properties === void 0 ? void 0 : _newViews$properties.columns);
615
615
  var isUrlChange = newAttrs.url !== oldAttrs.url;
616
- var isParametersChange = (0, _fg.fg)('platform_lp_sllv_preserve_assets_columns') && !(0, _isEqual.default)(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
616
+ var isParametersChange = !(0, _isEqual.default)(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
617
617
  if (isColumnChange || isUrlChange || isParametersChange) {
618
618
  tr.setNodeMarkup(from, schemaNodes.blockCard, _objectSpread(_objectSpread({}, oldAttrs), newAdf.attrs));
619
619
  }
@@ -580,7 +580,7 @@ export const updateCardViaDatasource = args => {
580
580
  const [oldViews] = (_ref2 = oldAttrs.datasource.views) !== null && _ref2 !== void 0 ? _ref2 : [];
581
581
  const isColumnChange = !isEqual(oldViews === null || oldViews === void 0 ? void 0 : (_oldViews$properties = oldViews.properties) === null || _oldViews$properties === void 0 ? void 0 : _oldViews$properties.columns, newViews === null || newViews === void 0 ? void 0 : (_newViews$properties = newViews.properties) === null || _newViews$properties === void 0 ? void 0 : _newViews$properties.columns);
582
582
  const isUrlChange = newAttrs.url !== oldAttrs.url;
583
- const isParametersChange = fg('platform_lp_sllv_preserve_assets_columns') && !isEqual(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
583
+ const isParametersChange = !isEqual(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
584
584
  if (isColumnChange || isUrlChange || isParametersChange) {
585
585
  tr.setNodeMarkup(from, schemaNodes.blockCard, {
586
586
  ...oldAttrs,
@@ -607,7 +607,7 @@ export var updateCardViaDatasource = function updateCardViaDatasource(args) {
607
607
  oldViews = _ref5[0];
608
608
  var isColumnChange = !isEqual(oldViews === null || oldViews === void 0 || (_oldViews$properties = oldViews.properties) === null || _oldViews$properties === void 0 ? void 0 : _oldViews$properties.columns, newViews === null || newViews === void 0 || (_newViews$properties = newViews.properties) === null || _newViews$properties === void 0 ? void 0 : _newViews$properties.columns);
609
609
  var isUrlChange = newAttrs.url !== oldAttrs.url;
610
- var isParametersChange = fg('platform_lp_sllv_preserve_assets_columns') && !isEqual(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
610
+ var isParametersChange = !isEqual(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
611
611
  if (isColumnChange || isUrlChange || isParametersChange) {
612
612
  tr.setNodeMarkup(from, schemaNodes.blockCard, _objectSpread(_objectSpread({}, oldAttrs), newAdf.attrs));
613
613
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "36.0.3",
3
+ "version": "36.0.5",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -52,18 +52,18 @@
52
52
  "@atlaskit/link": "^5.1.0",
53
53
  "@atlaskit/link-analytics": "^13.0.0",
54
54
  "@atlaskit/link-client-extension": "^8.0.0",
55
- "@atlaskit/link-datasource": "^7.8.0",
55
+ "@atlaskit/link-datasource": "^7.10.0",
56
56
  "@atlaskit/link-extractors": "^5.0.0",
57
57
  "@atlaskit/linking-common": "^13.0.0",
58
- "@atlaskit/linking-types": "^16.0.0",
58
+ "@atlaskit/linking-types": "^16.1.0",
59
59
  "@atlaskit/menu": "^11.0.0",
60
60
  "@atlaskit/platform-feature-experiments": "^0.3.0",
61
61
  "@atlaskit/platform-feature-flags": "^2.2.0",
62
62
  "@atlaskit/platform-feature-flags-react": "^1.2.0",
63
63
  "@atlaskit/primitives": "^22.6.0",
64
64
  "@atlaskit/prosemirror-history": "^1.3.0",
65
- "@atlaskit/smart-card": "^46.10.0",
66
- "@atlaskit/tmp-editor-statsig": "^248.0.0",
65
+ "@atlaskit/smart-card": "^46.11.0",
66
+ "@atlaskit/tmp-editor-statsig": "^249.0.0",
67
67
  "@atlaskit/tokens": "^20.8.0",
68
68
  "@babel/runtime": "^7.0.0",
69
69
  "@emotion/react": "^11.7.1",
@@ -99,9 +99,6 @@
99
99
  },
100
100
  "platform_sl_3p_preauth_value_modal_killswitch": {
101
101
  "type": "boolean"
102
- },
103
- "platform_lp_sllv_preserve_assets_columns": {
104
- "type": "boolean"
105
102
  }
106
103
  },
107
104
  "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/e6f3220b-0ca2-445a-a4c5-78cff6ca2a34",