@atlaskit/editor-plugin-extension 15.0.0 → 15.0.2

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
+ ## 15.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 15.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`019b38e3cf00a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/019b38e3cf00a) -
14
+ Clean up experiment `platform_editor_disable_lcm_copy_button`
15
+ - Updated dependencies
16
+
3
17
  ## 15.0.0
4
18
 
5
19
  ### Major 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 isLegacyContentMacro = (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';
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 isLegacyContentMacro = (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
- 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 isLegacyContentMacro = (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';
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": "15.0.0",
3
+ "version": "15.0.2",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/editor-plugin-copy-button": "^12.0.0",
38
38
  "@atlaskit/editor-plugin-decorations": "^12.0.0",
39
39
  "@atlaskit/editor-plugin-feature-flags": "^11.0.0",
40
- "@atlaskit/editor-plugin-mentions": "^14.0.0",
40
+ "@atlaskit/editor-plugin-mentions": "^14.1.0",
41
41
  "@atlaskit/editor-plugin-toolbar": "^9.0.0",
42
42
  "@atlaskit/editor-plugin-width": "^13.0.0",
43
43
  "@atlaskit/editor-prosemirror": "^8.0.0",
@@ -59,7 +59,7 @@
59
59
  "@atlaskit/tabs": "^20.0.0",
60
60
  "@atlaskit/textarea": "^9.0.0",
61
61
  "@atlaskit/textfield": "^9.0.0",
62
- "@atlaskit/tmp-editor-statsig": "^104.0.0",
62
+ "@atlaskit/tmp-editor-statsig": "^106.0.0",
63
63
  "@atlaskit/toggle": "^17.0.0",
64
64
  "@atlaskit/tokens": "^14.0.0",
65
65
  "@atlaskit/tooltip": "^23.0.0",
@@ -73,7 +73,7 @@
73
73
  "uuid": "^3.1.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "@atlaskit/editor-common": "^116.0.0",
76
+ "@atlaskit/editor-common": "^116.2.0",
77
77
  "react": "^18.2.0",
78
78
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
79
79
  },