@atlaskit/editor-plugin-layout 6.0.7 → 6.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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-layout
|
|
2
2
|
|
|
3
|
+
## 6.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
|
+
|
|
3
12
|
## 6.0.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -31,8 +31,8 @@ var LayoutBlockMenuItem = function LayoutBlockMenuItem(_ref) {
|
|
|
31
31
|
}, [selection]);
|
|
32
32
|
var handleClick = function handleClick(event) {
|
|
33
33
|
var _api$blockMenu;
|
|
34
|
-
var
|
|
35
|
-
var
|
|
34
|
+
var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? _analytics.INPUT_METHOD.KEYBOARD : _analytics.INPUT_METHOD.MOUSE;
|
|
35
|
+
var inputMethod = _analytics.INPUT_METHOD.BLOCK_MENU;
|
|
36
36
|
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('layoutSection', {
|
|
37
37
|
inputMethod: inputMethod,
|
|
38
38
|
triggeredFrom: triggeredFrom
|
|
@@ -24,8 +24,8 @@ const LayoutBlockMenuItem = ({
|
|
|
24
24
|
}, [selection]);
|
|
25
25
|
const handleClick = event => {
|
|
26
26
|
var _api$blockMenu;
|
|
27
|
-
const
|
|
28
|
-
const
|
|
27
|
+
const triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
|
|
28
|
+
const inputMethod = INPUT_METHOD.BLOCK_MENU;
|
|
29
29
|
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('layoutSection', {
|
|
30
30
|
inputMethod,
|
|
31
31
|
triggeredFrom
|
|
@@ -22,8 +22,8 @@ var LayoutBlockMenuItem = function LayoutBlockMenuItem(_ref) {
|
|
|
22
22
|
}, [selection]);
|
|
23
23
|
var handleClick = function handleClick(event) {
|
|
24
24
|
var _api$blockMenu;
|
|
25
|
-
var
|
|
26
|
-
var
|
|
25
|
+
var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
|
|
26
|
+
var inputMethod = INPUT_METHOD.BLOCK_MENU;
|
|
27
27
|
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('layoutSection', {
|
|
28
28
|
inputMethod: inputMethod,
|
|
29
29
|
triggeredFrom: triggeredFrom
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-layout",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.8",
|
|
4
4
|
"description": "Layout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@atlaskit/editor-plugin-editor-disabled": "^6.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-guideline": "^6.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-interaction": "^8.0.0",
|
|
39
|
-
"@atlaskit/editor-plugin-selection": "^6.
|
|
39
|
+
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-width": "^7.0.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"@atlaskit/icon": "^28.4.0",
|
|
45
45
|
"@atlaskit/icon-lab": "^5.9.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^13.4.0",
|
|
48
48
|
"@atlaskit/tokens": "^6.4.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@atlaskit/editor-common": "^110.
|
|
53
|
+
"@atlaskit/editor-common": "^110.7.0",
|
|
54
54
|
"react": "^18.2.0",
|
|
55
55
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
56
56
|
},
|