@atlaskit/editor-plugin-panel 8.0.6 → 8.0.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-panel
|
|
2
2
|
|
|
3
|
+
## 8.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`26917199e153a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/26917199e153a) -
|
|
8
|
+
ED-29473 Add inputMethod attribute for block menu opened and switch inputMethod and triggeredFrom
|
|
9
|
+
attributes for element converted event
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 8.0.7
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 8.0.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -33,8 +33,8 @@ var PanelBlockMenuItem = function PanelBlockMenuItem(_ref) {
|
|
|
33
33
|
}, [selection]);
|
|
34
34
|
var handleClick = function handleClick(event) {
|
|
35
35
|
var _api$blockMenu;
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? _analytics.INPUT_METHOD.KEYBOARD : _analytics.INPUT_METHOD.MOUSE;
|
|
37
|
+
var inputMethod = _analytics.INPUT_METHOD.BLOCK_MENU;
|
|
38
38
|
api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.formatNode(nodeName, {
|
|
39
39
|
inputMethod: inputMethod,
|
|
40
40
|
triggeredFrom: triggeredFrom
|
|
@@ -26,8 +26,8 @@ const PanelBlockMenuItem = ({
|
|
|
26
26
|
}, [selection]);
|
|
27
27
|
const handleClick = event => {
|
|
28
28
|
var _api$blockMenu;
|
|
29
|
-
const
|
|
30
|
-
const
|
|
29
|
+
const triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
|
|
30
|
+
const inputMethod = INPUT_METHOD.BLOCK_MENU;
|
|
31
31
|
api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.formatNode(nodeName, {
|
|
32
32
|
inputMethod,
|
|
33
33
|
triggeredFrom
|
|
@@ -24,8 +24,8 @@ var PanelBlockMenuItem = function PanelBlockMenuItem(_ref) {
|
|
|
24
24
|
}, [selection]);
|
|
25
25
|
var handleClick = function handleClick(event) {
|
|
26
26
|
var _api$blockMenu;
|
|
27
|
-
var
|
|
28
|
-
var
|
|
27
|
+
var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
|
|
28
|
+
var inputMethod = INPUT_METHOD.BLOCK_MENU;
|
|
29
29
|
api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.formatNode(nodeName, {
|
|
30
30
|
inputMethod: inputMethod,
|
|
31
31
|
triggeredFrom: triggeredFrom
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.8",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,22 +33,22 @@
|
|
|
33
33
|
"@atlaskit/editor-plugin-block-menu": "^4.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-decorations": "^6.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-emoji": "^7.1.0",
|
|
36
|
-
"@atlaskit/editor-plugin-selection": "^6.
|
|
36
|
+
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-toolbar": "^3.1.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
40
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
40
|
+
"@atlaskit/editor-toolbar": "^0.14.0",
|
|
41
41
|
"@atlaskit/emoji": "^69.5.0",
|
|
42
42
|
"@atlaskit/icon": "^28.4.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/theme": "^21.0.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^13.4.0",
|
|
46
46
|
"@atlaskit/tokens": "^6.4.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"uuid": "^3.1.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@atlaskit/editor-common": "^110.
|
|
51
|
+
"@atlaskit/editor-common": "^110.7.0",
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-dom": "^18.2.0",
|
|
54
54
|
"react-intl-next": "npm:react-intl@^5.18.1"
|