@atlaskit/editor-plugin-card 11.3.0 → 11.3.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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 11.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1a90419a2ae30`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a90419a2ae30) -
|
|
8
|
+
[ED-29484] remove references to platform_editor_smart_link_cmd_ctrl_click
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 11.3.0
|
|
4
12
|
|
|
5
13
|
### 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')
|
|
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')
|
|
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')
|
|
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.
|
|
3
|
+
"version": "11.3.1",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
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.
|
|
46
|
+
"@atlaskit/editor-plugin-toolbar": "^3.2.0",
|
|
47
47
|
"@atlaskit/editor-plugin-width": "^7.0.0",
|
|
48
48
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
49
49
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
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.
|
|
66
|
+
"@atlaskit/tmp-editor-statsig": "^13.10.0",
|
|
67
67
|
"@atlaskit/tokens": "^6.4.0",
|
|
68
68
|
"@babel/runtime": "^7.0.0",
|
|
69
69
|
"@emotion/react": "^11.7.1",
|