@atlaskit/editor-plugin-expand 1.6.9 → 1.6.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 +16 -0
- package/dist/cjs/legacyExpand/plugin.js +1 -1
- package/dist/cjs/legacyExpand/toolbar.js +3 -2
- package/dist/cjs/singlePlayerExpand/plugin.js +1 -1
- package/dist/cjs/singlePlayerExpand/toolbar.js +3 -2
- package/dist/es2019/legacyExpand/plugin.js +2 -2
- package/dist/es2019/legacyExpand/toolbar.js +3 -2
- package/dist/es2019/singlePlayerExpand/plugin.js +2 -2
- package/dist/es2019/singlePlayerExpand/toolbar.js +3 -2
- package/dist/esm/legacyExpand/plugin.js +2 -2
- package/dist/esm/legacyExpand/toolbar.js +3 -2
- package/dist/esm/singlePlayerExpand/plugin.js +2 -2
- package/dist/esm/singlePlayerExpand/toolbar.js +3 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 1.6.11
|
|
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.6.10
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
16
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
17
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
18
|
+
|
|
3
19
|
## 1.6.9
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -31,13 +31,14 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(api)
|
|
|
31
31
|
offset: [0, 6],
|
|
32
32
|
items: [{
|
|
33
33
|
type: 'copy-button',
|
|
34
|
+
supportsViewMode: true,
|
|
34
35
|
items: [{
|
|
35
36
|
state: state,
|
|
36
37
|
formatMessage: formatMessage,
|
|
37
38
|
nodeType: [nestedExpand, expand]
|
|
38
|
-
}, {
|
|
39
|
-
type: 'separator'
|
|
40
39
|
}]
|
|
40
|
+
}, {
|
|
41
|
+
type: 'separator'
|
|
41
42
|
}, {
|
|
42
43
|
id: 'editor.expand.delete',
|
|
43
44
|
type: 'button',
|
|
@@ -31,13 +31,14 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(api)
|
|
|
31
31
|
offset: [0, 6],
|
|
32
32
|
items: [{
|
|
33
33
|
type: 'copy-button',
|
|
34
|
+
supportsViewMode: true,
|
|
34
35
|
items: [{
|
|
35
36
|
state: state,
|
|
36
37
|
formatMessage: formatMessage,
|
|
37
38
|
nodeType: [nestedExpand, expand]
|
|
38
|
-
}, {
|
|
39
|
-
type: 'separator'
|
|
40
39
|
}]
|
|
40
|
+
}, {
|
|
41
|
+
type: 'separator'
|
|
41
42
|
}, {
|
|
42
43
|
id: 'editor.expand.delete',
|
|
43
44
|
type: 'button',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { expand,
|
|
2
|
+
import { expand, nestedExpand } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { IconExpand } from '@atlaskit/editor-common/quick-insert';
|
|
@@ -22,7 +22,7 @@ export const expandPlugin = ({
|
|
|
22
22
|
node: expand
|
|
23
23
|
}, {
|
|
24
24
|
name: 'nestedExpand',
|
|
25
|
-
node:
|
|
25
|
+
node: nestedExpand
|
|
26
26
|
}];
|
|
27
27
|
},
|
|
28
28
|
actions: {
|
|
@@ -25,13 +25,14 @@ export const getToolbarConfig = api => (state, {
|
|
|
25
25
|
offset: [0, 6],
|
|
26
26
|
items: [{
|
|
27
27
|
type: 'copy-button',
|
|
28
|
+
supportsViewMode: true,
|
|
28
29
|
items: [{
|
|
29
30
|
state,
|
|
30
31
|
formatMessage,
|
|
31
32
|
nodeType: [nestedExpand, expand]
|
|
32
|
-
}, {
|
|
33
|
-
type: 'separator'
|
|
34
33
|
}]
|
|
34
|
+
}, {
|
|
35
|
+
type: 'separator'
|
|
35
36
|
}, {
|
|
36
37
|
id: 'editor.expand.delete',
|
|
37
38
|
type: 'button',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { expand,
|
|
2
|
+
import { expand, nestedExpand } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { IconExpand } from '@atlaskit/editor-common/quick-insert';
|
|
@@ -21,7 +21,7 @@ export const expandPlugin = ({
|
|
|
21
21
|
node: expand
|
|
22
22
|
}, {
|
|
23
23
|
name: 'nestedExpand',
|
|
24
|
-
node:
|
|
24
|
+
node: nestedExpand
|
|
25
25
|
}];
|
|
26
26
|
},
|
|
27
27
|
actions: {
|
|
@@ -24,13 +24,14 @@ export const getToolbarConfig = api => (state, {
|
|
|
24
24
|
offset: [0, 6],
|
|
25
25
|
items: [{
|
|
26
26
|
type: 'copy-button',
|
|
27
|
+
supportsViewMode: true,
|
|
27
28
|
items: [{
|
|
28
29
|
state,
|
|
29
30
|
formatMessage,
|
|
30
31
|
nodeType: [nestedExpand, expand]
|
|
31
|
-
}, {
|
|
32
|
-
type: 'separator'
|
|
33
32
|
}]
|
|
33
|
+
}, {
|
|
34
|
+
type: 'separator'
|
|
34
35
|
}, {
|
|
35
36
|
id: 'editor.expand.delete',
|
|
36
37
|
type: 'button',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { expand,
|
|
2
|
+
import { expand, nestedExpand } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { IconExpand } from '@atlaskit/editor-common/quick-insert';
|
|
@@ -22,7 +22,7 @@ export var expandPlugin = function expandPlugin(_ref) {
|
|
|
22
22
|
node: expand
|
|
23
23
|
}, {
|
|
24
24
|
name: 'nestedExpand',
|
|
25
|
-
node:
|
|
25
|
+
node: nestedExpand
|
|
26
26
|
}];
|
|
27
27
|
},
|
|
28
28
|
actions: {
|
|
@@ -24,13 +24,14 @@ export var getToolbarConfig = function getToolbarConfig(api) {
|
|
|
24
24
|
offset: [0, 6],
|
|
25
25
|
items: [{
|
|
26
26
|
type: 'copy-button',
|
|
27
|
+
supportsViewMode: true,
|
|
27
28
|
items: [{
|
|
28
29
|
state: state,
|
|
29
30
|
formatMessage: formatMessage,
|
|
30
31
|
nodeType: [nestedExpand, expand]
|
|
31
|
-
}, {
|
|
32
|
-
type: 'separator'
|
|
33
32
|
}]
|
|
33
|
+
}, {
|
|
34
|
+
type: 'separator'
|
|
34
35
|
}, {
|
|
35
36
|
id: 'editor.expand.delete',
|
|
36
37
|
type: 'button',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { expand,
|
|
2
|
+
import { expand, nestedExpand } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { IconExpand } from '@atlaskit/editor-common/quick-insert';
|
|
@@ -21,7 +21,7 @@ export var expandPlugin = function expandPlugin(_ref) {
|
|
|
21
21
|
node: expand
|
|
22
22
|
}, {
|
|
23
23
|
name: 'nestedExpand',
|
|
24
|
-
node:
|
|
24
|
+
node: nestedExpand
|
|
25
25
|
}];
|
|
26
26
|
},
|
|
27
27
|
actions: {
|
|
@@ -24,13 +24,14 @@ export var getToolbarConfig = function getToolbarConfig(api) {
|
|
|
24
24
|
offset: [0, 6],
|
|
25
25
|
items: [{
|
|
26
26
|
type: 'copy-button',
|
|
27
|
+
supportsViewMode: true,
|
|
27
28
|
items: [{
|
|
28
29
|
state: state,
|
|
29
30
|
formatMessage: formatMessage,
|
|
30
31
|
nodeType: [nestedExpand, expand]
|
|
31
|
-
}, {
|
|
32
|
-
type: 'separator'
|
|
33
32
|
}]
|
|
33
|
+
}, {
|
|
34
|
+
type: 'separator'
|
|
34
35
|
}, {
|
|
35
36
|
id: 'editor.expand.delete',
|
|
36
37
|
type: 'button',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.11",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^
|
|
36
|
+
"@atlaskit/adf-schema": "^36.1.0",
|
|
37
37
|
"@atlaskit/button": "^17.14.0",
|
|
38
|
-
"@atlaskit/editor-common": "^79.
|
|
38
|
+
"@atlaskit/editor-common": "^79.4.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/editor-plugin-content-insertion": "^1.1.0",
|
|
62
62
|
"@atlaskit/editor-plugin-guideline": "^1.1.0",
|
|
63
63
|
"@atlaskit/editor-plugin-quick-insert": "^1.1.0",
|
|
64
|
-
"@atlaskit/editor-plugin-table": "^7.
|
|
64
|
+
"@atlaskit/editor-plugin-table": "^7.13.0",
|
|
65
65
|
"@atlaskit/editor-plugin-type-ahead": "^1.1.0",
|
|
66
66
|
"@atlaskit/editor-plugin-width": "^1.1.0",
|
|
67
67
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|