@atlaskit/editor-plugin-layout 1.12.11 → 1.12.13
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 +15 -0
- package/dist/cjs/layoutPlugin.js +14 -6
- package/dist/es2019/layoutPlugin.js +14 -6
- package/dist/esm/layoutPlugin.js +14 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-layout
|
|
2
2
|
|
|
3
|
+
## 1.12.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#171783](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171783)
|
|
8
|
+
[`ec56ec65d9dae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ec56ec65d9dae) -
|
|
9
|
+
[ux] ED-25929: Layout option quick insert improvements
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 1.12.12
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 1.12.11
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/cjs/layoutPlugin.js
CHANGED
|
@@ -78,8 +78,10 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
|
|
|
78
78
|
var formatMessage = _ref4.formatMessage;
|
|
79
79
|
return (0, _experiments.editorExperiment)('advanced_layouts', true) ? [{
|
|
80
80
|
id: 'twocolumnslayout',
|
|
81
|
-
title: formatMessage(_messages.layoutMessages.
|
|
82
|
-
description: formatMessage(_messages.toolbarInsertBlockMessages.
|
|
81
|
+
title: formatMessage(_messages.layoutMessages.twoColumnsAdvancedLayout),
|
|
82
|
+
description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
|
|
83
|
+
numberOfColumns: 'two'
|
|
84
|
+
}),
|
|
83
85
|
keywords: ['layout', 'column', 'section', 'two column'],
|
|
84
86
|
priority: 1100,
|
|
85
87
|
icon: function icon() {
|
|
@@ -91,8 +93,10 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
|
|
|
91
93
|
}
|
|
92
94
|
}, {
|
|
93
95
|
id: 'threecolumnslayout',
|
|
94
|
-
title: formatMessage(_messages.layoutMessages.
|
|
95
|
-
description: formatMessage(_messages.toolbarInsertBlockMessages.
|
|
96
|
+
title: formatMessage(_messages.layoutMessages.threeColumnsAdvancedLayout),
|
|
97
|
+
description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
|
|
98
|
+
numberOfColumns: 'three'
|
|
99
|
+
}),
|
|
96
100
|
keywords: ['layout', 'column', 'section', 'three column'],
|
|
97
101
|
priority: 1100,
|
|
98
102
|
icon: function icon() {
|
|
@@ -105,7 +109,9 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
|
|
|
105
109
|
}, {
|
|
106
110
|
id: 'fourcolumnslayout',
|
|
107
111
|
title: formatMessage(_messages.layoutMessages.fourColumns),
|
|
108
|
-
description: formatMessage(_messages.toolbarInsertBlockMessages.
|
|
112
|
+
description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
|
|
113
|
+
numberOfColumns: 'four'
|
|
114
|
+
}),
|
|
109
115
|
keywords: ['layout', 'column', 'section', 'four column'],
|
|
110
116
|
priority: 1100,
|
|
111
117
|
icon: function icon() {
|
|
@@ -118,7 +124,9 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
|
|
|
118
124
|
}, {
|
|
119
125
|
id: 'fivecolumnslayout',
|
|
120
126
|
title: formatMessage(_messages.layoutMessages.fiveColumns),
|
|
121
|
-
description: formatMessage(_messages.toolbarInsertBlockMessages.
|
|
127
|
+
description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
|
|
128
|
+
numberOfColumns: 'five'
|
|
129
|
+
}),
|
|
122
130
|
keywords: ['layout', 'column', 'section', 'five column'],
|
|
123
131
|
priority: 1100,
|
|
124
132
|
icon: function icon() {
|
|
@@ -64,8 +64,10 @@ export const layoutPlugin = ({
|
|
|
64
64
|
formatMessage
|
|
65
65
|
}) => editorExperiment('advanced_layouts', true) ? [{
|
|
66
66
|
id: 'twocolumnslayout',
|
|
67
|
-
title: formatMessage(layoutMessages.
|
|
68
|
-
description: formatMessage(messages.
|
|
67
|
+
title: formatMessage(layoutMessages.twoColumnsAdvancedLayout),
|
|
68
|
+
description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
|
|
69
|
+
numberOfColumns: 'two'
|
|
70
|
+
}),
|
|
69
71
|
keywords: ['layout', 'column', 'section', 'two column'],
|
|
70
72
|
priority: 1100,
|
|
71
73
|
icon: () => /*#__PURE__*/React.createElement(IconTwoColumnLayout, null),
|
|
@@ -75,8 +77,10 @@ export const layoutPlugin = ({
|
|
|
75
77
|
}
|
|
76
78
|
}, {
|
|
77
79
|
id: 'threecolumnslayout',
|
|
78
|
-
title: formatMessage(layoutMessages.
|
|
79
|
-
description: formatMessage(messages.
|
|
80
|
+
title: formatMessage(layoutMessages.threeColumnsAdvancedLayout),
|
|
81
|
+
description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
|
|
82
|
+
numberOfColumns: 'three'
|
|
83
|
+
}),
|
|
80
84
|
keywords: ['layout', 'column', 'section', 'three column'],
|
|
81
85
|
priority: 1100,
|
|
82
86
|
icon: () => /*#__PURE__*/React.createElement(IconThreeColumnLayout, null),
|
|
@@ -87,7 +91,9 @@ export const layoutPlugin = ({
|
|
|
87
91
|
}, {
|
|
88
92
|
id: 'fourcolumnslayout',
|
|
89
93
|
title: formatMessage(layoutMessages.fourColumns),
|
|
90
|
-
description: formatMessage(messages.
|
|
94
|
+
description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
|
|
95
|
+
numberOfColumns: 'four'
|
|
96
|
+
}),
|
|
91
97
|
keywords: ['layout', 'column', 'section', 'four column'],
|
|
92
98
|
priority: 1100,
|
|
93
99
|
icon: () => /*#__PURE__*/React.createElement(IconFourColumnLayout, null),
|
|
@@ -98,7 +104,9 @@ export const layoutPlugin = ({
|
|
|
98
104
|
}, {
|
|
99
105
|
id: 'fivecolumnslayout',
|
|
100
106
|
title: formatMessage(layoutMessages.fiveColumns),
|
|
101
|
-
description: formatMessage(messages.
|
|
107
|
+
description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
|
|
108
|
+
numberOfColumns: 'five'
|
|
109
|
+
}),
|
|
102
110
|
keywords: ['layout', 'column', 'section', 'five column'],
|
|
103
111
|
priority: 1100,
|
|
104
112
|
icon: () => /*#__PURE__*/React.createElement(IconFiveColumnLayout, null),
|
package/dist/esm/layoutPlugin.js
CHANGED
|
@@ -66,8 +66,10 @@ export var layoutPlugin = function layoutPlugin(_ref) {
|
|
|
66
66
|
var formatMessage = _ref4.formatMessage;
|
|
67
67
|
return editorExperiment('advanced_layouts', true) ? [{
|
|
68
68
|
id: 'twocolumnslayout',
|
|
69
|
-
title: formatMessage(layoutMessages.
|
|
70
|
-
description: formatMessage(messages.
|
|
69
|
+
title: formatMessage(layoutMessages.twoColumnsAdvancedLayout),
|
|
70
|
+
description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
|
|
71
|
+
numberOfColumns: 'two'
|
|
72
|
+
}),
|
|
71
73
|
keywords: ['layout', 'column', 'section', 'two column'],
|
|
72
74
|
priority: 1100,
|
|
73
75
|
icon: function icon() {
|
|
@@ -79,8 +81,10 @@ export var layoutPlugin = function layoutPlugin(_ref) {
|
|
|
79
81
|
}
|
|
80
82
|
}, {
|
|
81
83
|
id: 'threecolumnslayout',
|
|
82
|
-
title: formatMessage(layoutMessages.
|
|
83
|
-
description: formatMessage(messages.
|
|
84
|
+
title: formatMessage(layoutMessages.threeColumnsAdvancedLayout),
|
|
85
|
+
description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
|
|
86
|
+
numberOfColumns: 'three'
|
|
87
|
+
}),
|
|
84
88
|
keywords: ['layout', 'column', 'section', 'three column'],
|
|
85
89
|
priority: 1100,
|
|
86
90
|
icon: function icon() {
|
|
@@ -93,7 +97,9 @@ export var layoutPlugin = function layoutPlugin(_ref) {
|
|
|
93
97
|
}, {
|
|
94
98
|
id: 'fourcolumnslayout',
|
|
95
99
|
title: formatMessage(layoutMessages.fourColumns),
|
|
96
|
-
description: formatMessage(messages.
|
|
100
|
+
description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
|
|
101
|
+
numberOfColumns: 'four'
|
|
102
|
+
}),
|
|
97
103
|
keywords: ['layout', 'column', 'section', 'four column'],
|
|
98
104
|
priority: 1100,
|
|
99
105
|
icon: function icon() {
|
|
@@ -106,7 +112,9 @@ export var layoutPlugin = function layoutPlugin(_ref) {
|
|
|
106
112
|
}, {
|
|
107
113
|
id: 'fivecolumnslayout',
|
|
108
114
|
title: formatMessage(layoutMessages.fiveColumns),
|
|
109
|
-
description: formatMessage(messages.
|
|
115
|
+
description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
|
|
116
|
+
numberOfColumns: 'five'
|
|
117
|
+
}),
|
|
110
118
|
keywords: ['layout', 'column', 'section', 'five column'],
|
|
111
119
|
priority: 1100,
|
|
112
120
|
icon: function icon() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-layout",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.13",
|
|
4
4
|
"description": "Layout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
|
-
"@atlaskit/editor-common": "^
|
|
35
|
+
"@atlaskit/editor-common": "^96.1.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
37
37
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|