@atlaskit/editor-plugin-copy-button 6.0.5 → 6.0.7
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-copy-button
|
|
2
2
|
|
|
3
|
+
## 6.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`55920a92e882a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55920a92e882a) -
|
|
8
|
+
tsignores added for help-center local consumpton removed
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 6.0.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.0.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -74,14 +74,12 @@ function copyButtonPlugin() {
|
|
|
74
74
|
return new _safePlugin.SafePlugin({
|
|
75
75
|
key: _pluginKey.copyButtonPluginKey,
|
|
76
76
|
state: {
|
|
77
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
78
77
|
init: function init() {
|
|
79
78
|
return {
|
|
80
79
|
copied: false,
|
|
81
80
|
markSelection: undefined
|
|
82
81
|
};
|
|
83
82
|
},
|
|
84
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
85
83
|
apply: function apply(tr, currentPluginState) {
|
|
86
84
|
var meta = tr.getMeta(_pluginKey.copyButtonPluginKey);
|
|
87
85
|
if ((meta === null || meta === void 0 ? void 0 : meta.copied) !== undefined) {
|
|
@@ -118,7 +116,6 @@ function copyButtonPlugin() {
|
|
|
118
116
|
}
|
|
119
117
|
},
|
|
120
118
|
props: {
|
|
121
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
122
119
|
decorations: function decorations(_state) {
|
|
123
120
|
// Showing visual hints for the hyperlink copy button has been disabled
|
|
124
121
|
// due to an issue where invalid hyperlink marks cause the floating toolbar
|
|
@@ -66,16 +66,12 @@ export function copyButtonPlugin() {
|
|
|
66
66
|
return new SafePlugin({
|
|
67
67
|
key: copyButtonPluginKey,
|
|
68
68
|
state: {
|
|
69
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
70
|
-
|
|
71
69
|
init() {
|
|
72
70
|
return {
|
|
73
71
|
copied: false,
|
|
74
72
|
markSelection: undefined
|
|
75
73
|
};
|
|
76
74
|
},
|
|
77
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
78
|
-
|
|
79
75
|
apply(tr, currentPluginState) {
|
|
80
76
|
const meta = tr.getMeta(copyButtonPluginKey);
|
|
81
77
|
if ((meta === null || meta === void 0 ? void 0 : meta.copied) !== undefined) {
|
|
@@ -112,8 +108,6 @@ export function copyButtonPlugin() {
|
|
|
112
108
|
}
|
|
113
109
|
},
|
|
114
110
|
props: {
|
|
115
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
116
|
-
|
|
117
111
|
decorations(_state) {
|
|
118
112
|
// Showing visual hints for the hyperlink copy button has been disabled
|
|
119
113
|
// due to an issue where invalid hyperlink marks cause the floating toolbar
|
|
@@ -65,14 +65,12 @@ export function copyButtonPlugin() {
|
|
|
65
65
|
return new SafePlugin({
|
|
66
66
|
key: copyButtonPluginKey,
|
|
67
67
|
state: {
|
|
68
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
69
68
|
init: function init() {
|
|
70
69
|
return {
|
|
71
70
|
copied: false,
|
|
72
71
|
markSelection: undefined
|
|
73
72
|
};
|
|
74
73
|
},
|
|
75
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
76
74
|
apply: function apply(tr, currentPluginState) {
|
|
77
75
|
var meta = tr.getMeta(copyButtonPluginKey);
|
|
78
76
|
if ((meta === null || meta === void 0 ? void 0 : meta.copied) !== undefined) {
|
|
@@ -109,7 +107,6 @@ export function copyButtonPlugin() {
|
|
|
109
107
|
}
|
|
110
108
|
},
|
|
111
109
|
props: {
|
|
112
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
113
110
|
decorations: function decorations(_state) {
|
|
114
111
|
// Showing visual hints for the hyperlink copy button has been disabled
|
|
115
112
|
// due to an issue where invalid hyperlink marks cause the floating toolbar
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-copy-button",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.7",
|
|
4
4
|
"description": "editor-plugin-copy-button for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,17 +32,15 @@
|
|
|
32
32
|
"@atlaskit/editor-plugin-decorations": "^6.1.0",
|
|
33
33
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
34
34
|
"@atlaskit/icon": "^29.0.0",
|
|
35
|
-
"@atlaskit/
|
|
36
|
-
"@atlaskit/tmp-editor-statsig": "^13.42.0",
|
|
35
|
+
"@atlaskit/tmp-editor-statsig": "^14.2.0",
|
|
37
36
|
"@babel/runtime": "^7.0.0"
|
|
38
37
|
},
|
|
39
38
|
"peerDependencies": {
|
|
40
|
-
"@atlaskit/editor-common": "^110.
|
|
39
|
+
"@atlaskit/editor-common": "^110.36.0",
|
|
41
40
|
"react": "^18.2.0",
|
|
42
41
|
"react-dom": "^18.2.0"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@atlaskit/analytics-next": "^11.1.0",
|
|
46
44
|
"@testing-library/react": "^13.4.0"
|
|
47
45
|
},
|
|
48
46
|
"techstack": {
|