@atlaskit/editor-plugin-card 0.10.0 → 0.10.2

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,17 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 0.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.10.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#41921](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41921) [`12d685a4b30`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d685a4b30) - Removed chromeCursorHandlerFixedVersion feature flag
14
+
3
15
  ## 0.10.0
4
16
 
5
17
  ### Minor Changes
@@ -56,7 +56,7 @@ function cardKeymap(featureFlags) {
56
56
  var list = {};
57
57
 
58
58
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1227468 introduced since Chrome 91
59
- if (_utils.browser.chrome && _utils.browser.chrome_version > 90 && featureFlags.chromeCursorHandlerFixedVersion && _utils.browser.chrome_version < featureFlags.chromeCursorHandlerFixedVersion) {
59
+ if (_utils.browser.chrome && _utils.browser.chrome_version > 90) {
60
60
  (0, _keymaps.bindKeymapWithCommand)(_keymaps.moveUp.common, selectAboveBelowInlineCard('up'), list);
61
61
  (0, _keymaps.bindKeymapWithCommand)(_keymaps.moveDown.common, selectAboveBelowInlineCard('down'), list);
62
62
  }
@@ -51,7 +51,7 @@ export function cardKeymap(featureFlags) {
51
51
  const list = {};
52
52
 
53
53
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1227468 introduced since Chrome 91
54
- if (browser.chrome && browser.chrome_version > 90 && featureFlags.chromeCursorHandlerFixedVersion && browser.chrome_version < featureFlags.chromeCursorHandlerFixedVersion) {
54
+ if (browser.chrome && browser.chrome_version > 90) {
55
55
  bindKeymapWithCommand(moveUp.common, selectAboveBelowInlineCard('up'), list);
56
56
  bindKeymapWithCommand(moveDown.common, selectAboveBelowInlineCard('down'), list);
57
57
  }
@@ -50,7 +50,7 @@ export function cardKeymap(featureFlags) {
50
50
  var list = {};
51
51
 
52
52
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1227468 introduced since Chrome 91
53
- if (browser.chrome && browser.chrome_version > 90 && featureFlags.chromeCursorHandlerFixedVersion && browser.chrome_version < featureFlags.chromeCursorHandlerFixedVersion) {
53
+ if (browser.chrome && browser.chrome_version > 90) {
54
54
  bindKeymapWithCommand(moveUp.common, selectAboveBelowInlineCard('up'), list);
55
55
  bindKeymapWithCommand(moveDown.common, selectAboveBelowInlineCard('down'), list);
56
56
  }
@@ -1,3 +1,3 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
1
+ import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
2
  import type { FeatureFlags } from '@atlaskit/editor-common/types';
3
3
  export declare function cardKeymap(featureFlags: FeatureFlags): SafePlugin;
@@ -1,3 +1,3 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
1
+ import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
2
  import type { FeatureFlags } from '@atlaskit/editor-common/types';
3
3
  export declare function cardKeymap(featureFlags: FeatureFlags): SafePlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,11 +34,11 @@
34
34
  "@atlaskit/adf-schema": "^32.0.0",
35
35
  "@atlaskit/analytics-next": "^9.1.0",
36
36
  "@atlaskit/custom-steps": "^0.0.2",
37
- "@atlaskit/editor-common": "^76.12.0",
37
+ "@atlaskit/editor-common": "^76.14.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^0.2.0",
39
39
  "@atlaskit/editor-plugin-decorations": "^0.2.0",
40
40
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
41
- "@atlaskit/editor-plugin-floating-toolbar": "^0.6.0",
41
+ "@atlaskit/editor-plugin-floating-toolbar": "^0.7.0",
42
42
  "@atlaskit/editor-plugin-grid": "^0.3.0",
43
43
  "@atlaskit/editor-plugin-hyperlink": "^0.5.0",
44
44
  "@atlaskit/editor-plugin-width": "^0.2.0",
@@ -46,11 +46,11 @@
46
46
  "@atlaskit/editor-shared-styles": "^2.8.0",
47
47
  "@atlaskit/icon": "^21.12.0",
48
48
  "@atlaskit/link-analytics": "^8.3.0",
49
- "@atlaskit/link-datasource": "^1.9.0",
49
+ "@atlaskit/link-datasource": "^1.10.0",
50
50
  "@atlaskit/platform-feature-flags": "^0.2.0",
51
- "@atlaskit/smart-card": "^26.35.0",
51
+ "@atlaskit/smart-card": "^26.37.0",
52
52
  "@atlaskit/theme": "^12.6.0",
53
- "@atlaskit/tokens": "^1.27.0",
53
+ "@atlaskit/tokens": "^1.28.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1",
56
56
  "lodash": "^4.17.21",
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "devDependencies": {
66
66
  "@atlaskit/activity-provider": "^2.4.0",
67
- "@atlaskit/link-test-helpers": "^6.1.0",
67
+ "@atlaskit/link-test-helpers": "^6.2.0",
68
68
  "@atlaskit/media-test-helpers": "^33.0.0",
69
69
  "@atlaskit/ssr": "*",
70
70
  "@atlaskit/util-data-test": "^17.8.0",