@atlaskit/editor-plugin-layout 1.1.0 → 1.1.1
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 +6 -0
- package/dist/cjs/toolbar.js +1 -0
- package/dist/es2019/toolbar.js +1 -0
- package/dist/esm/toolbar.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-layout
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689) [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) - Updating adf-schema version to 35.10.0
|
|
8
|
+
|
|
3
9
|
## 1.1.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/cjs/toolbar.js
CHANGED
|
@@ -99,6 +99,7 @@ var buildToolbar = exports.buildToolbar = function buildToolbar(state, intl, pos
|
|
|
99
99
|
return (0, _utils.findDomRefAtPos)(pos, view.domAtPos.bind(view));
|
|
100
100
|
},
|
|
101
101
|
nodeType: nodeType,
|
|
102
|
+
groupLabel: intl.formatMessage(_messages.layoutMessages.floatingToolbarRadioGroupAriaLabel),
|
|
102
103
|
items: [].concat((0, _toConsumableArray2.default)(layoutTypes.map(function (i) {
|
|
103
104
|
return buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI);
|
|
104
105
|
})), (0, _toConsumableArray2.default)(addSidebarLayouts ? SIDEBAR_LAYOUT_TYPES.map(function (i) {
|
package/dist/es2019/toolbar.js
CHANGED
|
@@ -85,6 +85,7 @@ export const buildToolbar = (state, intl, pos, _allowBreakout, addSidebarLayouts
|
|
|
85
85
|
title: layoutToolbarTitle,
|
|
86
86
|
getDomRef: view => findDomRefAtPos(pos, view.domAtPos.bind(view)),
|
|
87
87
|
nodeType,
|
|
88
|
+
groupLabel: intl.formatMessage(toolbarMessages.floatingToolbarRadioGroupAriaLabel),
|
|
88
89
|
items: [...layoutTypes.map(i => buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI)), ...(addSidebarLayouts ? SIDEBAR_LAYOUT_TYPES.map(i => buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI)) : []), {
|
|
89
90
|
type: 'copy-button',
|
|
90
91
|
items: [separator, {
|
package/dist/esm/toolbar.js
CHANGED
|
@@ -89,6 +89,7 @@ export var buildToolbar = function buildToolbar(state, intl, pos, _allowBreakout
|
|
|
89
89
|
return findDomRefAtPos(pos, view.domAtPos.bind(view));
|
|
90
90
|
},
|
|
91
91
|
nodeType: nodeType,
|
|
92
|
+
groupLabel: intl.formatMessage(toolbarMessages.floatingToolbarRadioGroupAriaLabel),
|
|
92
93
|
items: [].concat(_toConsumableArray(layoutTypes.map(function (i) {
|
|
93
94
|
return buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI);
|
|
94
95
|
})), _toConsumableArray(addSidebarLayouts ? SIDEBAR_LAYOUT_TYPES.map(function (i) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-layout",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Layout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^35.
|
|
36
|
+
"@atlaskit/adf-schema": "^35.10.0",
|
|
37
37
|
"@atlaskit/editor-common": "^78.31.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|