@atlaskit/editor-plugin-card 11.3.0 → 11.3.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,19 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 11.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1a90419a2ae30`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a90419a2ae30) -
14
+ [ED-29484] remove references to platform_editor_smart_link_cmd_ctrl_click
15
+ - Updated dependencies
16
+
3
17
  ## 11.3.0
4
18
 
5
19
  ### Minor Changes
@@ -149,9 +149,7 @@ var InlineCard = exports.InlineCard = /*#__PURE__*/(0, _react.memo)(function (_r
149
149
  propsOnClick === null || propsOnClick === void 0 || propsOnClick(event);
150
150
  }
151
151
  }, [propsOnClick, url, view, pluginInjectionApi]);
152
- var onClick = (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _experiments.editorExperiment)('platform_editor_smart_link_cmd_ctrl_click', true, {
153
- exposure: true
154
- }) ? handleOnClick : propsOnClick;
152
+ var onClick = (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? handleOnClick : propsOnClick;
155
153
  var card = (0, _react.useMemo)(function () {
156
154
  if (
157
155
  // The `isSSRDataAvailable` check is only required when the OTP experiment is on,
@@ -122,9 +122,7 @@ export const InlineCard = /*#__PURE__*/memo(({
122
122
  propsOnClick === null || propsOnClick === void 0 ? void 0 : propsOnClick(event);
123
123
  }
124
124
  }, [propsOnClick, url, view, pluginInjectionApi]);
125
- const onClick = editorExperiment('platform_editor_controls', 'variant1') && editorExperiment('platform_editor_smart_link_cmd_ctrl_click', true, {
126
- exposure: true
127
- }) ? handleOnClick : propsOnClick;
125
+ const onClick = editorExperiment('platform_editor_controls', 'variant1') ? handleOnClick : propsOnClick;
128
126
  const card = useMemo(() => {
129
127
  if (
130
128
  // The `isSSRDataAvailable` check is only required when the OTP experiment is on,
@@ -138,9 +138,7 @@ export var InlineCard = /*#__PURE__*/memo(function (_ref) {
138
138
  propsOnClick === null || propsOnClick === void 0 || propsOnClick(event);
139
139
  }
140
140
  }, [propsOnClick, url, view, pluginInjectionApi]);
141
- var onClick = editorExperiment('platform_editor_controls', 'variant1') && editorExperiment('platform_editor_smart_link_cmd_ctrl_click', true, {
142
- exposure: true
143
- }) ? handleOnClick : propsOnClick;
141
+ var onClick = editorExperiment('platform_editor_controls', 'variant1') ? handleOnClick : propsOnClick;
144
142
  var card = useMemo(function () {
145
143
  if (
146
144
  // The `isSSRDataAvailable` check is only required when the OTP experiment is on,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "11.3.0",
3
+ "version": "11.3.2",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,10 +43,10 @@
43
43
  "@atlaskit/editor-plugin-feature-flags": "^5.0.0",
44
44
  "@atlaskit/editor-plugin-floating-toolbar": "^8.2.0",
45
45
  "@atlaskit/editor-plugin-grid": "^6.0.0",
46
- "@atlaskit/editor-plugin-toolbar": "^3.1.0",
46
+ "@atlaskit/editor-plugin-toolbar": "^3.3.0",
47
47
  "@atlaskit/editor-plugin-width": "^7.0.0",
48
48
  "@atlaskit/editor-prosemirror": "7.0.0",
49
- "@atlaskit/editor-shared-styles": "^3.6.0",
49
+ "@atlaskit/editor-shared-styles": "^3.7.0",
50
50
  "@atlaskit/frontend-utilities": "^3.2.0",
51
51
  "@atlaskit/icon": "^28.5.0",
52
52
  "@atlaskit/link": "^3.2.0",
@@ -55,16 +55,16 @@
55
55
  "@atlaskit/link-datasource": "^4.25.0",
56
56
  "@atlaskit/link-extractors": "^2.4.0",
57
57
  "@atlaskit/linking-common": "^9.7.0",
58
- "@atlaskit/linking-types": "^14.0.0",
58
+ "@atlaskit/linking-types": "^14.1.0",
59
59
  "@atlaskit/menu": "^8.4.0",
60
60
  "@atlaskit/platform-feature-flags": "^1.1.0",
61
61
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
62
- "@atlaskit/primitives": "^14.15.0",
62
+ "@atlaskit/primitives": "^15.0.0",
63
63
  "@atlaskit/prosemirror-history": "^0.2.0",
64
64
  "@atlaskit/smart-card": "^43.1.0",
65
65
  "@atlaskit/theme": "^21.0.0",
66
- "@atlaskit/tmp-editor-statsig": "^13.6.0",
67
- "@atlaskit/tokens": "^6.4.0",
66
+ "@atlaskit/tmp-editor-statsig": "^13.10.0",
67
+ "@atlaskit/tokens": "^6.5.0",
68
68
  "@babel/runtime": "^7.0.0",
69
69
  "@emotion/react": "^11.7.1",
70
70
  "lodash": "^4.17.21",
@@ -73,7 +73,7 @@
73
73
  "uuid": "^3.1.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "@atlaskit/editor-common": "^110.10.0",
76
+ "@atlaskit/editor-common": "^110.12.0",
77
77
  "@atlaskit/link-provider": "^4.0.0",
78
78
  "react": "^18.2.0",
79
79
  "react-intl-next": "npm:react-intl@^5.18.1"