@atlaskit/editor-plugin-layout 1.1.0 → 1.1.2

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,17 @@
1
1
  # @atlaskit/editor-plugin-layout
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901) [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) - [ED-23097] Bump ADF schema to version 35.12.1
8
+
9
+ ## 1.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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
14
+
3
15
  ## 1.1.0
4
16
 
5
17
  ### Minor Changes
@@ -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) {
@@ -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, {
@@ -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.0",
3
+ "version": "1.1.2",
4
4
  "description": "Layout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,8 +33,8 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/adf-schema": "^35.9.2",
37
- "@atlaskit/editor-common": "^78.31.0",
36
+ "@atlaskit/adf-schema": "^35.12.1",
37
+ "@atlaskit/editor-common": "^78.36.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^1.1.0",
39
39
  "@atlaskit/editor-plugin-decorations": "^1.1.0",
40
40
  "@atlaskit/editor-prosemirror": "4.0.0",