@atlaskit/editor-plugin-card 4.4.6 → 4.4.8
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,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 4.4.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.4.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#165765](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165765)
|
|
14
|
+
[`3f441f30e6507`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f441f30e6507) -
|
|
15
|
+
Bump adf-schema to 46.0.0
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 4.4.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -41,25 +41,28 @@ var OverlayWrapper = function OverlayWrapper(_ref) {
|
|
|
41
41
|
setShowConfigureButton(false);
|
|
42
42
|
}
|
|
43
43
|
}, []);
|
|
44
|
-
return (
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
44
|
+
return (
|
|
45
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
46
|
+
(0, _react2.jsx)("span", {
|
|
47
|
+
onMouseEnter: function onMouseEnter() {
|
|
48
|
+
setShowConfigureButton(true);
|
|
49
|
+
hoverCallback(true);
|
|
50
|
+
},
|
|
51
|
+
onMouseLeave: function onMouseLeave() {
|
|
52
|
+
if (!dropdownOpen) {
|
|
53
|
+
setShowConfigureButton(false);
|
|
54
|
+
hoverCallback(false);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"data-testid": "inline-card-overlay-wrapper"
|
|
58
|
+
}, (0, _react2.jsx)("span", {
|
|
59
|
+
css: ConfigureOverlayWrapperStyles
|
|
60
|
+
}, showConfigureButton && (0, _react2.jsx)(_link.OverlayButton, {
|
|
61
|
+
editorView: view,
|
|
62
|
+
targetElementPos: targetElementPos,
|
|
63
|
+
onDropdownChange: onDropdownChange,
|
|
64
|
+
onOpenLinkClick: onOpenLinkClick
|
|
65
|
+
})), children)
|
|
66
|
+
);
|
|
64
67
|
};
|
|
65
68
|
var _default = exports.default = OverlayWrapper;
|
|
@@ -27,25 +27,28 @@ const OverlayWrapper = ({
|
|
|
27
27
|
setShowConfigureButton(false);
|
|
28
28
|
}
|
|
29
29
|
}, []);
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
30
|
+
return (
|
|
31
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
32
|
+
jsx("span", {
|
|
33
|
+
onMouseEnter: () => {
|
|
34
|
+
setShowConfigureButton(true);
|
|
35
|
+
hoverCallback(true);
|
|
36
|
+
},
|
|
37
|
+
onMouseLeave: () => {
|
|
38
|
+
if (!dropdownOpen) {
|
|
39
|
+
setShowConfigureButton(false);
|
|
40
|
+
hoverCallback(false);
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"data-testid": "inline-card-overlay-wrapper"
|
|
44
|
+
}, jsx("span", {
|
|
45
|
+
css: ConfigureOverlayWrapperStyles
|
|
46
|
+
}, showConfigureButton && jsx(OverlayButton, {
|
|
47
|
+
editorView: view,
|
|
48
|
+
targetElementPos: targetElementPos,
|
|
49
|
+
onDropdownChange: onDropdownChange,
|
|
50
|
+
onOpenLinkClick: onOpenLinkClick
|
|
51
|
+
})), children)
|
|
52
|
+
);
|
|
50
53
|
};
|
|
51
54
|
export default OverlayWrapper;
|
|
@@ -33,25 +33,28 @@ var OverlayWrapper = function OverlayWrapper(_ref) {
|
|
|
33
33
|
setShowConfigureButton(false);
|
|
34
34
|
}
|
|
35
35
|
}, []);
|
|
36
|
-
return
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
36
|
+
return (
|
|
37
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
38
|
+
jsx("span", {
|
|
39
|
+
onMouseEnter: function onMouseEnter() {
|
|
40
|
+
setShowConfigureButton(true);
|
|
41
|
+
hoverCallback(true);
|
|
42
|
+
},
|
|
43
|
+
onMouseLeave: function onMouseLeave() {
|
|
44
|
+
if (!dropdownOpen) {
|
|
45
|
+
setShowConfigureButton(false);
|
|
46
|
+
hoverCallback(false);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"data-testid": "inline-card-overlay-wrapper"
|
|
50
|
+
}, jsx("span", {
|
|
51
|
+
css: ConfigureOverlayWrapperStyles
|
|
52
|
+
}, showConfigureButton && jsx(OverlayButton, {
|
|
53
|
+
editorView: view,
|
|
54
|
+
targetElementPos: targetElementPos,
|
|
55
|
+
onDropdownChange: onDropdownChange,
|
|
56
|
+
onOpenLinkClick: onOpenLinkClick
|
|
57
|
+
})), children)
|
|
58
|
+
);
|
|
56
59
|
};
|
|
57
60
|
export default OverlayWrapper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.8",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^
|
|
34
|
+
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
35
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
36
36
|
"@atlaskit/custom-steps": "^0.9.0",
|
|
37
|
-
"@atlaskit/editor-common": "^95.
|
|
37
|
+
"@atlaskit/editor-common": "^95.7.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
39
39
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
40
40
|
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/link-datasource": "^3.13.0",
|
|
53
53
|
"@atlaskit/linking-common": "^6.0.0",
|
|
54
54
|
"@atlaskit/linking-types": "^9.5.0",
|
|
55
|
-
"@atlaskit/menu": "2.13.
|
|
55
|
+
"@atlaskit/menu": "2.13.4",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
57
57
|
"@atlaskit/primitives": "^13.2.0",
|
|
58
58
|
"@atlaskit/smart-card": "^31.0.0",
|