@atlaskit/editor-plugin-extension 1.4.4 → 1.4.6

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-extension
2
2
 
3
+ ## 1.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#98080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98080)
8
+ [`23c03580e38c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23c03580e38c) -
9
+ [ux] [ED-23247] Allow floating toolbar copy buttons in live pages view mode.
10
+
11
+ ## 1.4.5
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 1.4.4
4
18
 
5
19
  ### Patch Changes
@@ -168,13 +168,14 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(_ref
168
168
  separator: 'end'
169
169
  }, {
170
170
  type: 'copy-button',
171
+ supportsViewMode: true,
171
172
  items: [{
172
173
  state: state,
173
174
  formatMessage: intl.formatMessage,
174
175
  nodeType: nodeType
175
- }, {
176
- type: 'separator'
177
176
  }]
177
+ }, {
178
+ type: 'separator'
178
179
  }, {
179
180
  id: 'editor.extension.delete',
180
181
  type: 'button',
@@ -165,13 +165,14 @@ export const getToolbarConfig = ({
165
165
  separator: 'end'
166
166
  }, {
167
167
  type: 'copy-button',
168
+ supportsViewMode: true,
168
169
  items: [{
169
170
  state,
170
171
  formatMessage: intl.formatMessage,
171
172
  nodeType
172
- }, {
173
- type: 'separator'
174
173
  }]
174
+ }, {
175
+ type: 'separator'
175
176
  }, {
176
177
  id: 'editor.extension.delete',
177
178
  type: 'button',
@@ -161,13 +161,14 @@ export var getToolbarConfig = function getToolbarConfig(_ref) {
161
161
  separator: 'end'
162
162
  }, {
163
163
  type: 'copy-button',
164
+ supportsViewMode: true,
164
165
  items: [{
165
166
  state: state,
166
167
  formatMessage: intl.formatMessage,
167
168
  nodeType: nodeType
168
- }, {
169
- type: 'separator'
170
169
  }]
170
+ }, {
171
+ type: 'separator'
171
172
  }, {
172
173
  id: 'editor.extension.delete',
173
174
  type: 'button',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  "@atlaskit/button": "^17.14.0",
32
32
  "@atlaskit/checkbox": "^13.3.0",
33
33
  "@atlaskit/datetime-picker": "^13.5.0",
34
- "@atlaskit/editor-common": "^79.2.0",
34
+ "@atlaskit/editor-common": "^79.4.0",
35
35
  "@atlaskit/editor-json-transformer": "^8.12.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.1.0",
37
37
  "@atlaskit/editor-plugin-context-identifier": "^1.1.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/editor-shared-styles": "^2.10.0",
44
44
  "@atlaskit/editor-tables": "^2.7.0",
45
45
  "@atlaskit/empty-state": "^7.8.0",
46
- "@atlaskit/form": "^9.3.0",
46
+ "@atlaskit/form": "^10.0.0",
47
47
  "@atlaskit/icon": "^22.1.0",
48
48
  "@atlaskit/platform-feature-flags": "^0.2.0",
49
49
  "@atlaskit/primitives": "^6.1.0",
@@ -57,7 +57,7 @@
57
57
  "@atlaskit/textfield": "^6.3.0",
58
58
  "@atlaskit/theme": "^12.8.0",
59
59
  "@atlaskit/toggle": "^13.1.0",
60
- "@atlaskit/tokens": "^1.46.0",
60
+ "@atlaskit/tokens": "^1.48.0",
61
61
  "@atlaskit/tooltip": "^18.3.0",
62
62
  "@babel/runtime": "^7.0.0",
63
63
  "@emotion/react": "^11.7.1",