@atlaskit/editor-plugin-card 0.8.6 → 0.8.7

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,12 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 0.8.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749) [`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect yarn changeset to packages, upgrade adf-schema
8
+ - Updated dependencies
9
+
3
10
  ## 0.8.6
4
11
 
5
12
  ### Patch Changes
@@ -9,6 +9,7 @@ exports.findChanged = void 0;
9
9
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
10
10
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
11
  var _steps = require("@atlaskit/adf-schema/steps");
12
+ var _customSteps = require("@atlaskit/custom-steps");
12
13
  var _analytics = require("@atlaskit/editor-common/analytics");
13
14
  var _card = require("@atlaskit/editor-common/card");
14
15
  var _utils = require("@atlaskit/editor-common/utils");
@@ -300,7 +301,7 @@ function eventsFromTransaction(tr, state) {
300
301
  var isRemote = tr.getMeta('isRemote');
301
302
  var isReplaceDocument = tr.getMeta('replaceDocument');
302
303
  var isTableSort = tr.steps.find(function (step) {
303
- return step instanceof _steps.TableSortStep;
304
+ return step instanceof _customSteps.TableSortStep;
304
305
  });
305
306
  if (isRemote || isReplaceDocument || isTableSort) {
306
307
  return events;
@@ -1,4 +1,5 @@
1
- import { LinkMetaStep, TableSortStep } from '@atlaskit/adf-schema/steps';
1
+ import { LinkMetaStep } from '@atlaskit/adf-schema/steps';
2
+ import { TableSortStep } from '@atlaskit/custom-steps';
2
3
  import { ACTION } from '@atlaskit/editor-common/analytics';
3
4
  import { getLinkMetadataFromTransaction } from '@atlaskit/editor-common/card';
4
5
  import { isLinkMark, pmHistoryPluginKey } from '@atlaskit/editor-common/utils';
@@ -1,6 +1,7 @@
1
1
  import _typeof from "@babel/runtime/helpers/typeof";
2
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
- import { LinkMetaStep, TableSortStep } from '@atlaskit/adf-schema/steps';
3
+ import { LinkMetaStep } from '@atlaskit/adf-schema/steps';
4
+ import { TableSortStep } from '@atlaskit/custom-steps';
4
5
  import { ACTION } from '@atlaskit/editor-common/analytics';
5
6
  import { getLinkMetadataFromTransaction } from '@atlaskit/editor-common/card';
6
7
  import { isLinkMark, pmHistoryPluginKey } from '@atlaskit/editor-common/utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,8 +31,9 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/adf-schema": "^29.1.0",
34
+ "@atlaskit/adf-schema": "^32.0.0",
35
35
  "@atlaskit/analytics-next": "^9.1.0",
36
+ "@atlaskit/custom-steps": "^0.0.2",
36
37
  "@atlaskit/editor-common": "^76.1.0",
37
38
  "@atlaskit/editor-plugin-analytics": "^0.2.0",
38
39
  "@atlaskit/editor-plugin-decorations": "^0.2.0",
@@ -47,7 +48,7 @@
47
48
  "@atlaskit/link-analytics": "^8.3.0",
48
49
  "@atlaskit/link-datasource": "^1.4.0",
49
50
  "@atlaskit/platform-feature-flags": "^0.2.0",
50
- "@atlaskit/smart-card": "^26.30.0",
51
+ "@atlaskit/smart-card": "^26.31.0",
51
52
  "@atlaskit/theme": "^12.6.0",
52
53
  "@atlaskit/tokens": "^1.25.0",
53
54
  "@babel/runtime": "^7.0.0",