@atlaskit/editor-plugin-layout 2.1.3 → 2.1.4

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,11 @@
1
1
  # @atlaskit/editor-plugin-layout
2
2
 
3
+ ## 2.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.1.3
4
10
 
5
11
  ### Patch Changes
@@ -52,8 +52,6 @@ var moveCursorToNextColumn = function moveCursorToNextColumn(state, dispatch) {
52
52
  }
53
53
  return true;
54
54
  };
55
-
56
- // TODO: Look at memoize-one-ing this fn
57
55
  var getNodeDecoration = function getNodeDecoration(pos, node) {
58
56
  return [_view.Decoration.node(pos, pos + node.nodeSize, {
59
57
  class: 'selected'
@@ -130,7 +130,7 @@ var buildLayoutButton = function buildLayoutButton(intl, item, currentLayout, ed
130
130
  };
131
131
  };
132
132
  var layoutToolbarTitle = exports.layoutToolbarTitle = 'Layout floating controls';
133
- var iconPlaceholder = _layoutTwoColumns.default; // TODO: Replace with proper icon ED-25466
133
+ var iconPlaceholder = _layoutTwoColumns.default; // TODO: ED-25466 - Replace with proper icon
134
134
 
135
135
  var getAdvancedLayoutItems = function getAdvancedLayoutItems(_ref) {
136
136
  var addSidebarLayouts = _ref.addSidebarLayouts,
@@ -49,8 +49,6 @@ const moveCursorToNextColumn = (state, dispatch) => {
49
49
  }
50
50
  return true;
51
51
  };
52
-
53
- // TODO: Look at memoize-one-ing this fn
54
52
  const getNodeDecoration = (pos, node) => [Decoration.node(pos, pos + node.nodeSize, {
55
53
  class: 'selected'
56
54
  })];
@@ -117,7 +117,7 @@ const buildLayoutButton = (intl, item, currentLayout, editorAnalyticsAPI) => ({
117
117
  tabIndex: null
118
118
  });
119
119
  export const layoutToolbarTitle = 'Layout floating controls';
120
- const iconPlaceholder = LayoutTwoColumnsIcon; // TODO: Replace with proper icon ED-25466
120
+ const iconPlaceholder = LayoutTwoColumnsIcon; // TODO: ED-25466 - Replace with proper icon
121
121
 
122
122
  const getAdvancedLayoutItems = ({
123
123
  addSidebarLayouts,
@@ -45,8 +45,6 @@ var moveCursorToNextColumn = function moveCursorToNextColumn(state, dispatch) {
45
45
  }
46
46
  return true;
47
47
  };
48
-
49
- // TODO: Look at memoize-one-ing this fn
50
48
  var getNodeDecoration = function getNodeDecoration(pos, node) {
51
49
  return [Decoration.node(pos, pos + node.nodeSize, {
52
50
  class: 'selected'
@@ -120,7 +120,7 @@ var buildLayoutButton = function buildLayoutButton(intl, item, currentLayout, ed
120
120
  };
121
121
  };
122
122
  export var layoutToolbarTitle = 'Layout floating controls';
123
- var iconPlaceholder = LayoutTwoColumnsIcon; // TODO: Replace with proper icon ED-25466
123
+ var iconPlaceholder = LayoutTwoColumnsIcon; // TODO: ED-25466 - Replace with proper icon
124
124
 
125
125
  var getAdvancedLayoutItems = function getAdvancedLayoutItems(_ref) {
126
126
  var addSidebarLayouts = _ref.addSidebarLayouts,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-layout",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "Layout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,17 +34,17 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^47.6.0",
37
- "@atlaskit/editor-common": "^102.0.0",
37
+ "@atlaskit/editor-common": "^102.4.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.1.0",
39
39
  "@atlaskit/editor-plugin-decorations": "^2.0.0",
40
40
  "@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
41
- "@atlaskit/editor-plugin-selection": "^2.0.0",
41
+ "@atlaskit/editor-plugin-selection": "^2.1.0",
42
42
  "@atlaskit/editor-plugin-width": "^3.0.0",
43
43
  "@atlaskit/editor-prosemirror": "7.0.0",
44
- "@atlaskit/icon": "^24.1.0",
44
+ "@atlaskit/icon": "^25.0.0",
45
45
  "@atlaskit/platform-feature-flags": "^1.1.0",
46
- "@atlaskit/tmp-editor-statsig": "^3.4.0",
47
- "@atlaskit/tokens": "^4.3.0",
46
+ "@atlaskit/tmp-editor-statsig": "^3.6.0",
47
+ "@atlaskit/tokens": "^4.4.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1"
50
50
  },