@atlaskit/editor-plugin-layout 4.0.2 → 4.0.3

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-layout
2
2
 
3
+ ## 4.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b76a419d23d3d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b76a419d23d3d) -
8
+ [ux] ED-29143 Transform nodes into layout
9
+ - Updated dependencies
10
+
3
11
  ## 4.0.2
4
12
 
5
13
  ### Patch Changes
@@ -30,7 +30,7 @@ var LayoutBlockMenuItem = function LayoutBlockMenuItem(_ref) {
30
30
  }, [selection]);
31
31
  var handleClick = function handleClick() {
32
32
  var _api$blockMenu;
33
- 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('layout'));
33
+ 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'));
34
34
  };
35
35
  return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
36
36
  onClick: handleClick,
@@ -23,7 +23,7 @@ const LayoutBlockMenuItem = ({
23
23
  }, [selection]);
24
24
  const handleClick = () => {
25
25
  var _api$blockMenu;
26
- 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('layout'));
26
+ 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'));
27
27
  };
28
28
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
29
29
  onClick: handleClick,
@@ -21,7 +21,7 @@ var LayoutBlockMenuItem = function LayoutBlockMenuItem(_ref) {
21
21
  }, [selection]);
22
22
  var handleClick = function handleClick() {
23
23
  var _api$blockMenu;
24
- 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('layout'));
24
+ 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'));
25
25
  };
26
26
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
27
27
  onClick: handleClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-layout",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Layout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -44,13 +44,13 @@
44
44
  "@atlaskit/icon": "^28.1.0",
45
45
  "@atlaskit/icon-lab": "^5.7.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
- "@atlaskit/tmp-editor-statsig": "^12.4.0",
47
+ "@atlaskit/tmp-editor-statsig": "^12.5.0",
48
48
  "@atlaskit/tokens": "^6.2.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^108.2.0",
53
+ "@atlaskit/editor-common": "^108.3.0",
54
54
  "react": "^18.2.0",
55
55
  "react-intl-next": "npm:react-intl@^5.18.1"
56
56
  },