@atlaskit/editor-plugin-extension 11.0.17 → 11.0.18

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,14 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 11.0.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [`028f8edfca7ff`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/028f8edfca7ff) -
8
+ Conditionally render DescriptionSummary behind platform_editor_conditionally_add_sidebar_summary
9
+ feature gate to prevent duplicate descriptions when using old ContextPanel
10
+ - Updated dependencies
11
+
3
12
  ## 11.0.17
4
13
 
5
14
  ### Patch Changes
@@ -475,7 +475,7 @@ var ConfigPanel = /*#__PURE__*/function (_React$Component) {
475
475
  noValidate: true,
476
476
  onKeyDown: (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? undefined : handleKeyDown,
477
477
  "data-testid": "extension-config-panel"
478
- }), _this2.renderHeader(extensionManifest), (0, _platformFeatureFlags.fg)('platform_editor_ai_object_sidebar_injection') && /*#__PURE__*/_react.default.createElement(_DescriptionSummary.DescriptionSummary, {
478
+ }), _this2.renderHeader(extensionManifest), (!(0, _platformFeatureFlags.fg)('platform_editor_conditionally_add_sidebar_summary') || _this2.props.usingObjectSidebarPanel) && (0, _platformFeatureFlags.fg)('platform_editor_ai_object_sidebar_injection') && /*#__PURE__*/_react.default.createElement(_DescriptionSummary.DescriptionSummary, {
479
479
  extensionManifest: extensionManifest
480
480
  }), /*#__PURE__*/_react.default.createElement(ConfigFormIntlWithBoundary, {
481
481
  api: api,
@@ -414,7 +414,7 @@ class ConfigPanel extends React.Component {
414
414
  noValidate: true,
415
415
  onKeyDown: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? undefined : handleKeyDown,
416
416
  "data-testid": "extension-config-panel"
417
- }), this.renderHeader(extensionManifest), fg('platform_editor_ai_object_sidebar_injection') && /*#__PURE__*/React.createElement(DescriptionSummary, {
417
+ }), this.renderHeader(extensionManifest), (!fg('platform_editor_conditionally_add_sidebar_summary') || this.props.usingObjectSidebarPanel) && fg('platform_editor_ai_object_sidebar_injection') && /*#__PURE__*/React.createElement(DescriptionSummary, {
418
418
  extensionManifest: extensionManifest
419
419
  }), /*#__PURE__*/React.createElement(ConfigFormIntlWithBoundary, {
420
420
  api: api,
@@ -466,7 +466,7 @@ var ConfigPanel = /*#__PURE__*/function (_React$Component) {
466
466
  noValidate: true,
467
467
  onKeyDown: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? undefined : handleKeyDown,
468
468
  "data-testid": "extension-config-panel"
469
- }), _this2.renderHeader(extensionManifest), fg('platform_editor_ai_object_sidebar_injection') && /*#__PURE__*/React.createElement(DescriptionSummary, {
469
+ }), _this2.renderHeader(extensionManifest), (!fg('platform_editor_conditionally_add_sidebar_summary') || _this2.props.usingObjectSidebarPanel) && fg('platform_editor_ai_object_sidebar_injection') && /*#__PURE__*/React.createElement(DescriptionSummary, {
470
470
  extensionManifest: extensionManifest
471
471
  }), /*#__PURE__*/React.createElement(ConfigFormIntlWithBoundary, {
472
472
  api: api,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "11.0.17",
3
+ "version": "11.0.18",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -117,6 +117,9 @@
117
117
  "platform_editor_ai_object_sidebar_injection": {
118
118
  "type": "boolean"
119
119
  },
120
+ "platform_editor_conditionally_add_sidebar_summary": {
121
+ "type": "boolean"
122
+ },
120
123
  "dst-a11y__replace-anchor-with-link__editor-core-ex": {
121
124
  "type": "boolean"
122
125
  }