@atlaskit/editor-plugin-panel 1.1.9 → 1.1.11

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,19 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 1.1.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.1.10
10
+
11
+ ### Patch Changes
12
+
13
+ - [#98080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98080)
14
+ [`23c03580e38c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23c03580e38c) -
15
+ [ux] [ED-23247] Allow floating toolbar copy buttons in live pages view mode.
16
+
3
17
  ## 1.1.9
4
18
 
5
19
  ### Patch Changes
@@ -231,11 +231,13 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
231
231
  }
232
232
  }
233
233
  if (state) {
234
+ items.push({
235
+ type: 'separator'
236
+ });
234
237
  items.push({
235
238
  type: 'copy-button',
239
+ supportsViewMode: true,
236
240
  items: [{
237
- type: 'separator'
238
- }, {
239
241
  state: state,
240
242
  formatMessage: formatMessage,
241
243
  nodeType: panelNodeType
@@ -214,11 +214,13 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
214
214
  }
215
215
  }
216
216
  if (state) {
217
+ items.push({
218
+ type: 'separator'
219
+ });
217
220
  items.push({
218
221
  type: 'copy-button',
222
+ supportsViewMode: true,
219
223
  items: [{
220
- type: 'separator'
221
- }, {
222
224
  state,
223
225
  formatMessage,
224
226
  nodeType: panelNodeType
@@ -221,11 +221,13 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
221
221
  }
222
222
  }
223
223
  if (state) {
224
+ items.push({
225
+ type: 'separator'
226
+ });
224
227
  items.push({
225
228
  type: 'copy-button',
229
+ supportsViewMode: true,
226
230
  items: [{
227
- type: 'separator'
228
- }, {
229
231
  state: state,
230
232
  formatMessage: formatMessage,
231
233
  nodeType: panelNodeType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-panel",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^36.1.0",
37
- "@atlaskit/editor-common": "^79.2.0",
37
+ "@atlaskit/editor-common": "^80.0.0",
38
38
  "@atlaskit/editor-palette": "1.6.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^1.1.0",
40
40
  "@atlaskit/editor-plugin-decorations": "^1.1.0",