@atlaskit/editor-plugin-extension 14.1.15 → 15.0.1
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,39 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 15.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`019b38e3cf00a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/019b38e3cf00a) -
|
|
8
|
+
Clean up experiment `platform_editor_disable_lcm_copy_button`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 15.0.0
|
|
12
|
+
|
|
13
|
+
### Major Changes
|
|
14
|
+
|
|
15
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
16
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
17
|
+
|
|
18
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
19
|
+
|
|
20
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
21
|
+
|
|
22
|
+
```diff
|
|
23
|
+
- "typesVersions": {
|
|
24
|
+
- ">=4.5 <4.9": {
|
|
25
|
+
- "*": [
|
|
26
|
+
- "dist/types-ts4.5/*",
|
|
27
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
28
|
+
- ]
|
|
29
|
+
- }
|
|
30
|
+
- },
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies
|
|
36
|
+
|
|
3
37
|
## 14.1.15
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -391,8 +391,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(_ref
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
// disable copy button for legacy content macro
|
|
394
|
-
var
|
|
395
|
-
var shouldHideCopyButton = isLegacyContentMacro && (0, _expValEquals.expValEquals)('platform_editor_disable_lcm_copy_button', 'isEnabled', true);
|
|
394
|
+
var shouldHideCopyButton = (extensionObj === null || extensionObj === void 0 ? void 0 : extensionObj.node.attrs.extensionType) === 'com.atlassian.confluence.migration' && (extensionObj === null || extensionObj === void 0 ? void 0 : extensionObj.node.attrs.extensionKey) === 'legacy-content';
|
|
396
395
|
return {
|
|
397
396
|
title: 'Extension floating controls',
|
|
398
397
|
// Ignored via go/ees005
|
|
@@ -392,8 +392,7 @@ export const getToolbarConfig = ({
|
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
// disable copy button for legacy content macro
|
|
395
|
-
const
|
|
396
|
-
const shouldHideCopyButton = isLegacyContentMacro && expValEquals('platform_editor_disable_lcm_copy_button', 'isEnabled', true);
|
|
395
|
+
const shouldHideCopyButton = (extensionObj === null || extensionObj === void 0 ? void 0 : extensionObj.node.attrs.extensionType) === 'com.atlassian.confluence.migration' && (extensionObj === null || extensionObj === void 0 ? void 0 : extensionObj.node.attrs.extensionKey) === 'legacy-content';
|
|
397
396
|
return {
|
|
398
397
|
title: 'Extension floating controls',
|
|
399
398
|
// Ignored via go/ees005
|
|
@@ -385,8 +385,7 @@ export var getToolbarConfig = function getToolbarConfig(_ref2) {
|
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
// disable copy button for legacy content macro
|
|
388
|
-
var
|
|
389
|
-
var shouldHideCopyButton = isLegacyContentMacro && expValEquals('platform_editor_disable_lcm_copy_button', 'isEnabled', true);
|
|
388
|
+
var shouldHideCopyButton = (extensionObj === null || extensionObj === void 0 ? void 0 : extensionObj.node.attrs.extensionType) === 'com.atlassian.confluence.migration' && (extensionObj === null || extensionObj === void 0 ? void 0 : extensionObj.node.attrs.extensionKey) === 'legacy-content';
|
|
390
389
|
return {
|
|
391
390
|
title: 'Extension floating controls',
|
|
392
391
|
// Ignored via go/ees005
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.1",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,48 +21,48 @@
|
|
|
21
21
|
],
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^
|
|
25
|
-
"@atlaskit/adf-utils": "^
|
|
26
|
-
"@atlaskit/analytics-next": "^
|
|
27
|
-
"@atlaskit/avatar": "^
|
|
28
|
-
"@atlaskit/browser-apis": "^0.0
|
|
29
|
-
"@atlaskit/button": "^
|
|
30
|
-
"@atlaskit/checkbox": "^
|
|
31
|
-
"@atlaskit/datetime-picker": "^
|
|
32
|
-
"@atlaskit/editor-json-transformer": "^
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
34
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
35
|
-
"@atlaskit/editor-plugin-context-identifier": "^
|
|
36
|
-
"@atlaskit/editor-plugin-context-panel": "^
|
|
37
|
-
"@atlaskit/editor-plugin-copy-button": "^
|
|
38
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
39
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
40
|
-
"@atlaskit/editor-plugin-mentions": "^
|
|
41
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
42
|
-
"@atlaskit/editor-plugin-width": "^
|
|
43
|
-
"@atlaskit/editor-prosemirror": "^
|
|
44
|
-
"@atlaskit/editor-shared-styles": "^
|
|
45
|
-
"@atlaskit/editor-tables": "^
|
|
46
|
-
"@atlaskit/empty-state": "^
|
|
47
|
-
"@atlaskit/form": "^
|
|
48
|
-
"@atlaskit/heading": "^
|
|
49
|
-
"@atlaskit/icon": "^
|
|
50
|
-
"@atlaskit/link": "^
|
|
51
|
-
"@atlaskit/mention": "^
|
|
52
|
-
"@atlaskit/platform-feature-flags": "^
|
|
53
|
-
"@atlaskit/primitives": "^
|
|
54
|
-
"@atlaskit/radio": "^
|
|
55
|
-
"@atlaskit/section-message": "^
|
|
56
|
-
"@atlaskit/select": "^
|
|
57
|
-
"@atlaskit/smart-user-picker": "^
|
|
58
|
-
"@atlaskit/spinner": "^
|
|
59
|
-
"@atlaskit/tabs": "^
|
|
60
|
-
"@atlaskit/textarea": "^
|
|
61
|
-
"@atlaskit/textfield": "^
|
|
62
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
63
|
-
"@atlaskit/toggle": "^
|
|
64
|
-
"@atlaskit/tokens": "^
|
|
65
|
-
"@atlaskit/tooltip": "^
|
|
24
|
+
"@atlaskit/adf-schema": "^55.0.0",
|
|
25
|
+
"@atlaskit/adf-utils": "^20.0.0",
|
|
26
|
+
"@atlaskit/analytics-next": "^12.0.0",
|
|
27
|
+
"@atlaskit/avatar": "^26.0.0",
|
|
28
|
+
"@atlaskit/browser-apis": "^1.0.0",
|
|
29
|
+
"@atlaskit/button": "^24.0.0",
|
|
30
|
+
"@atlaskit/checkbox": "^18.0.0",
|
|
31
|
+
"@atlaskit/datetime-picker": "^18.0.0",
|
|
32
|
+
"@atlaskit/editor-json-transformer": "^9.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-analytics": "^12.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-connectivity": "^12.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-context-identifier": "^12.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-context-panel": "^14.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-copy-button": "^12.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-decorations": "^12.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-feature-flags": "^11.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-mentions": "^14.1.0",
|
|
41
|
+
"@atlaskit/editor-plugin-toolbar": "^9.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-width": "^13.0.0",
|
|
43
|
+
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
44
|
+
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
45
|
+
"@atlaskit/editor-tables": "^3.0.0",
|
|
46
|
+
"@atlaskit/empty-state": "^11.0.0",
|
|
47
|
+
"@atlaskit/form": "^16.0.0",
|
|
48
|
+
"@atlaskit/heading": "^6.0.0",
|
|
49
|
+
"@atlaskit/icon": "^36.0.0",
|
|
50
|
+
"@atlaskit/link": "^4.0.0",
|
|
51
|
+
"@atlaskit/mention": "^27.0.0",
|
|
52
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
53
|
+
"@atlaskit/primitives": "^20.0.0",
|
|
54
|
+
"@atlaskit/radio": "^9.0.0",
|
|
55
|
+
"@atlaskit/section-message": "^9.0.0",
|
|
56
|
+
"@atlaskit/select": "^22.0.0",
|
|
57
|
+
"@atlaskit/smart-user-picker": "^11.0.0",
|
|
58
|
+
"@atlaskit/spinner": "^20.0.0",
|
|
59
|
+
"@atlaskit/tabs": "^20.0.0",
|
|
60
|
+
"@atlaskit/textarea": "^9.0.0",
|
|
61
|
+
"@atlaskit/textfield": "^9.0.0",
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^105.0.0",
|
|
63
|
+
"@atlaskit/toggle": "^17.0.0",
|
|
64
|
+
"@atlaskit/tokens": "^14.0.0",
|
|
65
|
+
"@atlaskit/tooltip": "^23.0.0",
|
|
66
66
|
"@babel/runtime": "^7.0.0",
|
|
67
67
|
"@emotion/react": "^11.7.1",
|
|
68
68
|
"bind-event-listener": "^3.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"uuid": "^3.1.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@atlaskit/editor-common": "^
|
|
76
|
+
"@atlaskit/editor-common": "^116.1.0",
|
|
77
77
|
"react": "^18.2.0",
|
|
78
78
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
79
79
|
},
|