@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
|
@@ -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'
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -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
|
|
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,
|
|
@@ -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
|
|
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'
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -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
|
|
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
|
+
"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.
|
|
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.
|
|
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": "^
|
|
44
|
+
"@atlaskit/icon": "^25.0.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^3.
|
|
47
|
-
"@atlaskit/tokens": "^4.
|
|
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
|
},
|