@atlaskit/editor-plugin-card 0.10.0 → 0.10.1

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,11 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41921](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41921) [`12d685a4b30`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d685a4b30) - Removed chromeCursorHandlerFixedVersion feature flag
8
+
3
9
  ## 0.10.0
4
10
 
5
11
  ### 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.1",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
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.13.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",
@@ -48,9 +48,9 @@
48
48
  "@atlaskit/link-analytics": "^8.3.0",
49
49
  "@atlaskit/link-datasource": "^1.9.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",