@atlaskit/editor-core 228.1.4 → 228.1.6

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/create-editor/ReactEditorView.js +6 -12
  3. package/dist/cjs/ui/ContextPanel/index-compiled.compiled.css +1 -3
  4. package/dist/cjs/ui/ContextPanel/index-compiled.js +6 -10
  5. package/dist/cjs/ui/ContextPanel/index-emotion.js +4 -14
  6. package/dist/cjs/ui/ContextPanel/index.js +2 -18
  7. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -2
  8. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +4 -6
  9. package/dist/cjs/version-wrapper.js +1 -1
  10. package/dist/es2019/create-editor/ReactEditorView.js +4 -10
  11. package/dist/es2019/ui/ContextPanel/index-compiled.compiled.css +1 -3
  12. package/dist/es2019/ui/ContextPanel/index-compiled.js +5 -9
  13. package/dist/es2019/ui/ContextPanel/index-emotion.js +3 -13
  14. package/dist/es2019/ui/ContextPanel/index.js +2 -16
  15. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -2
  16. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +5 -7
  17. package/dist/es2019/version-wrapper.js +1 -1
  18. package/dist/esm/create-editor/ReactEditorView.js +6 -12
  19. package/dist/esm/ui/ContextPanel/index-compiled.compiled.css +1 -3
  20. package/dist/esm/ui/ContextPanel/index-compiled.js +7 -11
  21. package/dist/esm/ui/ContextPanel/index-emotion.js +5 -15
  22. package/dist/esm/ui/ContextPanel/index.js +2 -18
  23. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -2
  24. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +5 -7
  25. package/dist/esm/version-wrapper.js +1 -1
  26. package/dist/types/ui/ContextPanel/index-compiled.d.ts +2 -4
  27. package/dist/types/ui/ContextPanel/index-emotion.d.ts +2 -4
  28. package/package.json +10 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 228.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`85ad3990bac78`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/85ad3990bac78) -
8
+ Clean up experiment `platform_editor_appearance_shared_state`
9
+ - Updated dependencies
10
+
11
+ ## 228.1.5
12
+
13
+ ### Patch Changes
14
+
15
+ - [`9e6211ceb4ceb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9e6211ceb4ceb) -
16
+ Clean up the fully rolled-out `platform_editor_small_font_size` experiment and make its permanent
17
+ `true` behavior unconditional across editor formatting, task and list handling, paste behavior,
18
+ controls, and rendering.
19
+ - [`fd4d98f953d15`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fd4d98f953d15) -
20
+ Clean up `platform_editor_disable_context_panel_animation`; context-panel transitions are now
21
+ permanently disabled.
22
+ - Updated dependencies
23
+
3
24
  ## 228.1.4
4
25
 
5
26
  ### Patch Changes
@@ -216,11 +216,9 @@ function ReactEditorView(props) {
216
216
  return viewRef.current.state;
217
217
  }
218
218
  } else {
219
+ var _config$current$pmPlu;
219
220
  config.current = (0, _createEditor.processPluginsList)((0, _createPluginsList.default)(options.props.preset, 'allowBlockType' in props.editorProps ? props.editorProps : {}, pluginInjectionAPI.current));
220
- if ((0, _expValEquals.expValEquals)('platform_editor_appearance_shared_state', 'isEnabled', true)) {
221
- var _config$current$pmPlu;
222
- (_config$current$pmPlu = config.current.pmPlugins).push.apply(_config$current$pmPlu, (0, _toConsumableArray2.default)(pluginInjectionAPI.current.getInternalPMPlugins()));
223
- }
221
+ (_config$current$pmPlu = config.current.pmPlugins).push.apply(_config$current$pmPlu, (0, _toConsumableArray2.default)(pluginInjectionAPI.current.getInternalPMPlugins()));
224
222
  schema = (0, _createSchema.createSchema)(config.current);
225
223
  }
226
224
  var contentTransformerProvider = options.props.editorProps.contentTransformerProvider;
@@ -442,11 +440,9 @@ function ReactEditorView(props) {
442
440
  // decision and the drop-filter decision below depend on this answer,
443
441
  // so it has to be computed up-front.
444
442
  var buildConfig = function buildConfig(plugins) {
443
+ var _c$pmPlugins;
445
444
  var c = (0, _createEditor.processPluginsList)(plugins);
446
- if ((0, _expValEquals.expValEquals)('platform_editor_appearance_shared_state', 'isEnabled', true)) {
447
- var _c$pmPlugins;
448
- (_c$pmPlugins = c.pmPlugins).push.apply(_c$pmPlugins, (0, _toConsumableArray2.default)(pluginInjectionAPI.current.getInternalPMPlugins()));
449
- }
445
+ (_c$pmPlugins = c.pmPlugins).push.apply(_c$pmPlugins, (0, _toConsumableArray2.default)(pluginInjectionAPI.current.getInternalPMPlugins()));
450
446
  return c;
451
447
  };
452
448
  var nextConfig = buildConfig(editorPlugins);
@@ -1024,10 +1020,8 @@ function ReactEditorView(props) {
1024
1020
  }
1025
1021
  }, [disabled, shouldFocus, previousDisabledState, __livePage]);
1026
1022
  (0, _react.useLayoutEffect)(function () {
1027
- if ((0, _expValEquals.expValEquals)('platform_editor_appearance_shared_state', 'isEnabled', true)) {
1028
- var _pluginInjectionAPI$c3;
1029
- (_pluginInjectionAPI$c3 = pluginInjectionAPI.current.api()) === null || _pluginInjectionAPI$c3 === void 0 || (_pluginInjectionAPI$c3 = _pluginInjectionAPI$c3.core) === null || _pluginInjectionAPI$c3 === void 0 || (_pluginInjectionAPI$c3 = _pluginInjectionAPI$c3.actions) === null || _pluginInjectionAPI$c3 === void 0 || _pluginInjectionAPI$c3.updateAppearance(nextAppearance);
1030
- }
1023
+ var _pluginInjectionAPI$c3;
1024
+ (_pluginInjectionAPI$c3 = pluginInjectionAPI.current.api()) === null || _pluginInjectionAPI$c3 === void 0 || (_pluginInjectionAPI$c3 = _pluginInjectionAPI$c3.core) === null || _pluginInjectionAPI$c3 === void 0 || (_pluginInjectionAPI$c3 = _pluginInjectionAPI$c3.actions) === null || _pluginInjectionAPI$c3 === void 0 || _pluginInjectionAPI$c3.updateAppearance(nextAppearance);
1031
1025
  }, [nextAppearance]);
1032
1026
  (0, _useFireFullWidthEvent.useFireFullWidthEvent)(nextAppearance, dispatchAnalyticsEvent);
1033
1027
 
@@ -1,6 +1,4 @@
1
- ._v5648l2w{transition:width .5s cubic-bezier(.15,1,.3,1)}
2
- ._v564e1q5{transition:width .6s cubic-bezier(.15,1,.3,1)}
3
- ._v564glyw{transition:none}._16qshh4h{box-shadow:inset 2px 0 0 0 var(--ds-border,#0b120e24)}
1
+ ._16qshh4h{box-shadow:inset 2px 0 0 0 var(--ds-border,#0b120e24)}
4
2
  ._18m915vq{overflow-y:hidden}
5
3
  ._18m91wug{overflow-y:auto}
6
4
  ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
@@ -14,8 +14,8 @@ var _runtime = require("@compiled/react/runtime");
14
14
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
15
15
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
16
16
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
17
- var _excluded = ["children", "customWidth", "visible", "disableAnimation"],
18
- _excluded2 = ["children", "customWidth", "visible", "disableAnimation", "hasPadding"];
17
+ var _excluded = ["children", "customWidth", "visible"],
18
+ _excluded2 = ["children", "customWidth", "visible", "hasPadding"];
19
19
  /**
20
20
  * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
21
21
  * Used via `componentWithCondition` in `index.tsx`.
@@ -23,7 +23,6 @@ var _excluded = ["children", "customWidth", "visible", "disableAnimation"],
23
23
  * Cleanup: delete this file once the `platform_editor_core_non_ecc_static_css` experiment has shipped.
24
24
  */
25
25
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
26
- var ANIM_SPEED_MS = 500;
27
26
  var getContextPanelWidthStyle = function getContextPanelWidthStyle(_ref) {
28
27
  var customWidth = _ref.customWidth,
29
28
  visible = _ref.visible;
@@ -40,9 +39,8 @@ var getContextPanelWidthStyle = function getContextPanelWidthStyle(_ref) {
40
39
  return undefined;
41
40
  };
42
41
  var panelStyles = {
43
- panel: "_v5648l2w _1reo15vq _18m915vq _1bsbnklw _4t3i1osq _16qshh4h",
44
- disablePanelAnimation: "_v564glyw",
45
- content: "_v564e1q5 _vchhusvi _1bsbnklw _4t3i1osq _18m91wug",
42
+ panel: "_1reo15vq _18m915vq _1bsbnklw _4t3i1osq _16qshh4h",
43
+ content: "_vchhusvi _1bsbnklw _4t3i1osq _18m91wug",
46
44
  padding: "_ca0qpxbi _u5f3pxbi _n3tdze3t _19bvpxbi",
47
45
  customWidthOverflow: "_1reo15vq"
48
46
  };
@@ -50,7 +48,6 @@ var ContextPanelWrapperCompiled = exports.ContextPanelWrapperCompiled = function
50
48
  var children = _ref2.children,
51
49
  customWidth = _ref2.customWidth,
52
50
  visible = _ref2.visible,
53
- disableAnimation = _ref2.disableAnimation,
54
51
  rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
55
52
  var widthStyle = (0, _react.useMemo)(function () {
56
53
  return getContextPanelWidthStyle({
@@ -63,7 +60,7 @@ var ContextPanelWrapperCompiled = exports.ContextPanelWrapperCompiled = function
63
60
  style: widthStyle
64
61
  // eslint-disable-next-line react/jsx-props-no-spreading
65
62
  }, rest, {
66
- className: (0, _runtime.ax)([panelStyles.panel, customWidth && "", disableAnimation && panelStyles.disablePanelAnimation])
63
+ className: (0, _runtime.ax)([panelStyles.panel, customWidth && ""])
67
64
  }), children);
68
65
  };
69
66
 
@@ -72,7 +69,6 @@ var ContextPanelContentCompiled = exports.ContextPanelContentCompiled = function
72
69
  var children = _ref3.children,
73
70
  customWidth = _ref3.customWidth,
74
71
  visible = _ref3.visible,
75
- disableAnimation = _ref3.disableAnimation,
76
72
  hasPadding = _ref3.hasPadding,
77
73
  rest = (0, _objectWithoutProperties2.default)(_ref3, _excluded2);
78
74
  var widthStyle = (0, _react.useMemo)(function () {
@@ -86,6 +82,6 @@ var ContextPanelContentCompiled = exports.ContextPanelContentCompiled = function
86
82
  style: widthStyle
87
83
  // eslint-disable-next-line react/jsx-props-no-spreading
88
84
  }, rest, {
89
- className: (0, _runtime.ax)([panelStyles.content, hasPadding && panelStyles.padding, customWidth && "", disableAnimation && panelStyles.disablePanelAnimation])
85
+ className: (0, _runtime.ax)([panelStyles.content, hasPadding && panelStyles.padding, customWidth && ""])
90
86
  }), children);
91
87
  };
@@ -10,8 +10,8 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
10
10
  var _react = require("react");
11
11
  var _react2 = require("@emotion/react");
12
12
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
13
- var _excluded = ["children", "customWidth", "visible", "disableAnimation"],
14
- _excluded2 = ["children", "customWidth", "visible", "disableAnimation", "hasPadding"];
13
+ var _excluded = ["children", "customWidth", "visible"],
14
+ _excluded2 = ["children", "customWidth", "visible", "hasPadding"];
15
15
  /**
16
16
  * @jsxRuntime classic
17
17
  * @jsx jsx
@@ -23,7 +23,6 @@ var _excluded = ["children", "customWidth", "visible", "disableAnimation"],
23
23
  * Cleanup: delete this file once the `platform_editor_core_non_ecc_static_css` experiment has shipped.
24
24
  */
25
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
26
- var ANIM_SPEED_MS = 500;
27
26
  var panelHidden = (0, _react2.css)({
28
27
  width: 0
29
28
  });
@@ -31,17 +30,10 @@ var panel = (0, _react2.css)({
31
30
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
32
31
  width: "".concat(_editorSharedStyles.akEditorContextPanelWidth, "px"),
33
32
  height: '100%',
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
35
- transition: "width ".concat(ANIM_SPEED_MS, "ms ").concat(_editorSharedStyles.akEditorSwoopCubicBezier),
36
33
  overflow: 'hidden',
37
34
  boxShadow: "inset 2px 0 0 0 ".concat("var(--ds-border, #0B120E24)")
38
35
  });
39
- var disablePanelAnimation = (0, _react2.css)({
40
- transition: 'none'
41
- });
42
36
  var content = (0, _react2.css)({
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
44
- transition: "width 600ms ".concat(_editorSharedStyles.akEditorSwoopCubicBezier),
45
37
  boxSizing: 'border-box',
46
38
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
47
39
  width: "".concat(_editorSharedStyles.akEditorContextPanelWidth, "px"),
@@ -55,7 +47,6 @@ var ContextPanelWrapperEmotion = exports.ContextPanelWrapperEmotion = function C
55
47
  var children = _ref.children,
56
48
  customWidth = _ref.customWidth,
57
49
  visible = _ref.visible,
58
- disableAnimation = _ref.disableAnimation,
59
50
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
60
51
  var customPanelWidthStyles = (0, _react.useMemo)(function () {
61
52
  return customWidth ? (0, _react2.css)({
@@ -67,7 +58,7 @@ var ContextPanelWrapperEmotion = exports.ContextPanelWrapperEmotion = function C
67
58
  return (0, _react2.jsx)("div", (0, _extends2.default)({
68
59
  css: [panel,
69
60
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage
70
- customPanelWidthStyles, !visible && panelHidden, disableAnimation && disablePanelAnimation]
61
+ customPanelWidthStyles, !visible && panelHidden]
71
62
  // eslint-disable-next-line react/jsx-props-no-spreading
72
63
  }, rest), children);
73
64
  };
@@ -77,7 +68,6 @@ var ContextPanelContentEmotion = exports.ContextPanelContentEmotion = function C
77
68
  var children = _ref2.children,
78
69
  customWidth = _ref2.customWidth,
79
70
  visible = _ref2.visible,
80
- disableAnimation = _ref2.disableAnimation,
81
71
  hasPadding = _ref2.hasPadding,
82
72
  rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
83
73
  var customPanelWidthStyles = (0, _react.useMemo)(function () {
@@ -90,7 +80,7 @@ var ContextPanelContentEmotion = exports.ContextPanelContentEmotion = function C
90
80
  return (0, _react2.jsx)("div", (0, _extends2.default)({
91
81
  css: [content, hasPadding && paddingStyles,
92
82
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage
93
- customPanelWidthStyles, !visible && panelHidden, disableAnimation && disablePanelAnimation]
83
+ customPanelWidthStyles, !visible && panelHidden]
94
84
  // eslint-disable-next-line react/jsx-props-no-spreading
95
85
  }, rest), children);
96
86
  };
@@ -22,7 +22,6 @@ var _hooks = require("@atlaskit/editor-common/hooks");
22
22
  var _messages = require("@atlaskit/editor-common/messages");
23
23
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
24
24
  var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
25
- var _fg = require("@atlaskit/platform-feature-flags/fg");
26
25
  var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
27
26
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
28
27
  var _indexCompiled = require("./index-compiled");
@@ -31,7 +30,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
31
30
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
32
31
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
33
32
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable jsdoc/require-jsdoc -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
34
- var ANIM_SPEED_MS = 500;
35
33
  var ContextPanelWrapperMigration = (0, _componentWithCondition.componentWithCondition)(function () {
36
34
  return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
37
35
  }, _indexCompiled.ContextPanelWrapperCompiled, _indexEmotion.ContextPanelWrapperEmotion);
@@ -49,7 +47,6 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
49
47
  }
50
48
  _this = _callSuper(this, SwappableContentAreaInner, [].concat(args));
51
49
  (0, _defineProperty2.default)(_this, "state", {
52
- mounted: false,
53
50
  currentPluginContent: undefined
54
51
  });
55
52
  (0, _defineProperty2.default)(_this, "handleTransitionExited", function () {
@@ -92,12 +89,11 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
92
89
  if (!currentPluginContent) {
93
90
  return;
94
91
  }
95
- var animSpeedMs = (0, _fg.fg)('platform_editor_disable_context_panel_animation') ? 0 : ANIM_SPEED_MS;
96
92
  var onExited = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_perf_lint_cleanup') ? _this.handleTransitionExited : function () {
97
93
  return _this.unsetPluginContent();
98
94
  };
99
95
  return /*#__PURE__*/_react.default.createElement(_Transition.default, {
100
- timeout: _this.state.mounted ? animSpeedMs : 0,
96
+ timeout: 0,
101
97
  in: !!pluginContent,
102
98
  mountOnEnter: true,
103
99
  unmountOnExit: true,
@@ -109,9 +105,8 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
109
105
  if (!children) {
110
106
  return;
111
107
  }
112
- var animSpeedMs = (0, _fg.fg)('platform_editor_disable_context_panel_animation') ? 0 : ANIM_SPEED_MS;
113
108
  return /*#__PURE__*/_react.default.createElement(_Transition.default, {
114
- timeout: _this.state.mounted ? animSpeedMs : 0,
109
+ timeout: 0,
115
110
  in: isVisible,
116
111
  mountOnEnter: true,
117
112
  unmountOnExit: true,
@@ -128,14 +123,6 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
128
123
  currentPluginContent: undefined
129
124
  });
130
125
  }
131
- }, {
132
- key: "componentDidMount",
133
- value: function componentDidMount() {
134
- // use this to trigger an animation
135
- this.setState({
136
- mounted: true
137
- });
138
- }
139
126
  }, {
140
127
  key: "render",
141
128
  value: function render() {
@@ -145,7 +132,6 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
145
132
  var userVisible = !!this.props.visible;
146
133
  var visible = userVisible || !!this.state.currentPluginContent;
147
134
  var hasPadding = this.props.hasPadding === undefined ? true : this.props.hasPadding;
148
- var disableAnimation = (0, _fg.fg)('platform_editor_disable_context_panel_animation');
149
135
  return /*#__PURE__*/_react.default.createElement(_contextPanel.ContextPanelConsumer, null, function (_ref) {
150
136
  var _this2$props$intl, _this2$props$intl2;
151
137
  var broadcastWidth = _ref.broadcastWidth;
@@ -154,7 +140,6 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
154
140
  return /*#__PURE__*/_react.default.createElement(ContextPanelWrapperMigration, {
155
141
  customWidth: _this2.props.customWidth,
156
142
  visible: visible,
157
- disableAnimation: disableAnimation,
158
143
  "data-testid": "context-panel-panel"
159
144
  // eslint-disable-next-line @atlassian/a11y/no-empty-aria-label -- Pre-existing; intl should always resolve a label here
160
145
  ,
@@ -164,7 +149,6 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
164
149
  }, /*#__PURE__*/_react.default.createElement(ContextPanelContentMigration, {
165
150
  customWidth: _this2.props.customWidth,
166
151
  visible: visible,
167
- disableAnimation: disableAnimation,
168
152
  hasPadding: hasPadding,
169
153
  "data-testid": "context-panel-content"
170
154
  // Adding tabIndex=0 here to make content focusable as it is a scrollable region
@@ -423,14 +423,14 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
423
423
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
424
424
  className: (0, _runtime.ax)([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
425
425
  exposure: true
426
- }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, (0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) && editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, (0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) && editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true, {
426
+ }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true, {
427
427
  exposure: true
428
428
  }) && editorContentStyles.blockquoteSelectedNodeStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true, {
429
429
  exposure: true
430
430
  }) && editorContentStyles.listSelectedNodeStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true, {
431
431
  exposure: true
432
432
  }) && editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, (0, _expValEquals.expValEquals)('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_flexible_list_schema', 'isEnabled', true) && editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, editorContentStyles.smartCardDiffStyles, (0, _expValEquals.expValEquals)('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
433
- editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, (0, _fg.fg)('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : (0, _fg.fg)('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, ((0, _fg.fg)('platform_editor_gracefully_render_status_color') || isUpdateStatusColorsEnabled) && editorContentStyles.statusStylesHexAccent, editorContentStyles.annotationStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) ? editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles : editorContentStyles.smartCardStylesWithSearchMatch, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, (0, _fg.fg)('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, (0, _expValEquals.expValEquals)('platform_editor_table_excerpts_fix', 'isEnabled', true) && editorContentStyles.layoutBaseStylesWithTableExcerptsFix, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorContentStyles.syncBlockInteractiveCursorStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && !(0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && ((0, _editorExperiment.editorExperiment)('advanced_layouts', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, (0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) ? editorContentStyles.tableLayoutFixesWithFontSize : editorContentStyles.tableLayoutFixes, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _fg.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
433
+ editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, (0, _fg.fg)('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : (0, _fg.fg)('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, ((0, _fg.fg)('platform_editor_gracefully_render_status_color') || isUpdateStatusColorsEnabled) && editorContentStyles.statusStylesHexAccent, editorContentStyles.annotationStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) ? editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles : editorContentStyles.smartCardStylesWithSearchMatch, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, (0, _fg.fg)('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, (0, _expValEquals.expValEquals)('platform_editor_table_excerpts_fix', 'isEnabled', true) && editorContentStyles.layoutBaseStylesWithTableExcerptsFix, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorContentStyles.syncBlockInteractiveCursorStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && !(0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && ((0, _editorExperiment.editorExperiment)('advanced_layouts', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _fg.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
434
434
  ref: ref,
435
435
  "data-editor-scroll-container": isScrollable ? 'true' : undefined,
436
436
  "data-testid": "editor-content-container"
@@ -354,7 +354,7 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
354
354
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
355
355
  _indentationStyles.indentationStyles,
356
356
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
357
- (0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) && _fontSizeStyles.fontSizeStyles,
357
+ _fontSizeStyles.fontSizeStyles,
358
358
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
359
359
  _shadowStyles.shadowStyles,
360
360
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -382,7 +382,7 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
382
382
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
383
383
  _editorUGCTokenStyles.editorUGCTokensRefreshed,
384
384
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
385
- (0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) && _editorUGCTokenStyles.editorUGCSmallText,
385
+ _editorUGCTokenStyles.editorUGCSmallText,
386
386
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
387
387
  _blockTypeStyles.blocktypeStyles, isFloatingTocEnabled &&
388
388
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -707,11 +707,9 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
707
707
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
708
708
  _mediaStyles.mediaGroupStyles,
709
709
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
710
- _mediaStyles.mediaAlignmentStyles, (0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) ?
710
+ _mediaStyles.mediaAlignmentStyles,
711
711
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
712
- _tableStyles.tableLayoutFixesWithFontSize :
713
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
714
- _tableStyles.tableLayoutFixes,
712
+ _tableStyles.tableLayoutFixesWithFontSize,
715
713
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
716
714
  _tableStyles.tableContainerStyles,
717
715
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "228.1.3";
9
+ var version = exports.version = "228.1.5";
@@ -180,9 +180,7 @@ export function ReactEditorView(props) {
180
180
  }
181
181
  } else {
182
182
  config.current = processPluginsList(createPluginsList(options.props.preset, 'allowBlockType' in props.editorProps ? props.editorProps : {}, pluginInjectionAPI.current));
183
- if (expValEquals('platform_editor_appearance_shared_state', 'isEnabled', true)) {
184
- config.current.pmPlugins.push(...pluginInjectionAPI.current.getInternalPMPlugins());
185
- }
183
+ config.current.pmPlugins.push(...pluginInjectionAPI.current.getInternalPMPlugins());
186
184
  schema = createSchema(config.current);
187
185
  }
188
186
  const {
@@ -404,9 +402,7 @@ export function ReactEditorView(props) {
404
402
  // so it has to be computed up-front.
405
403
  const buildConfig = plugins => {
406
404
  const c = processPluginsList(plugins);
407
- if (expValEquals('platform_editor_appearance_shared_state', 'isEnabled', true)) {
408
- c.pmPlugins.push(...pluginInjectionAPI.current.getInternalPMPlugins());
409
- }
405
+ c.pmPlugins.push(...pluginInjectionAPI.current.getInternalPMPlugins());
410
406
  return c;
411
407
  };
412
408
  let nextConfig = buildConfig(editorPlugins);
@@ -952,10 +948,8 @@ export function ReactEditorView(props) {
952
948
  }
953
949
  }, [disabled, shouldFocus, previousDisabledState, __livePage]);
954
950
  useLayoutEffect(() => {
955
- if (expValEquals('platform_editor_appearance_shared_state', 'isEnabled', true)) {
956
- var _pluginInjectionAPI$c5, _pluginInjectionAPI$c6, _pluginInjectionAPI$c7;
957
- (_pluginInjectionAPI$c5 = pluginInjectionAPI.current.api()) === null || _pluginInjectionAPI$c5 === void 0 ? void 0 : (_pluginInjectionAPI$c6 = _pluginInjectionAPI$c5.core) === null || _pluginInjectionAPI$c6 === void 0 ? void 0 : (_pluginInjectionAPI$c7 = _pluginInjectionAPI$c6.actions) === null || _pluginInjectionAPI$c7 === void 0 ? void 0 : _pluginInjectionAPI$c7.updateAppearance(nextAppearance);
958
- }
951
+ var _pluginInjectionAPI$c5, _pluginInjectionAPI$c6, _pluginInjectionAPI$c7;
952
+ (_pluginInjectionAPI$c5 = pluginInjectionAPI.current.api()) === null || _pluginInjectionAPI$c5 === void 0 ? void 0 : (_pluginInjectionAPI$c6 = _pluginInjectionAPI$c5.core) === null || _pluginInjectionAPI$c6 === void 0 ? void 0 : (_pluginInjectionAPI$c7 = _pluginInjectionAPI$c6.actions) === null || _pluginInjectionAPI$c7 === void 0 ? void 0 : _pluginInjectionAPI$c7.updateAppearance(nextAppearance);
959
953
  }, [nextAppearance]);
960
954
  useFireFullWidthEvent(nextAppearance, dispatchAnalyticsEvent);
961
955
 
@@ -1,6 +1,4 @@
1
- ._v5648l2w{transition:width .5s cubic-bezier(.15,1,.3,1)}
2
- ._v564e1q5{transition:width .6s cubic-bezier(.15,1,.3,1)}
3
- ._v564glyw{transition:none}._16qshh4h{box-shadow:inset 2px 0 0 0 var(--ds-border,#0b120e24)}
1
+ ._16qshh4h{box-shadow:inset 2px 0 0 0 var(--ds-border,#0b120e24)}
4
2
  ._18m915vq{overflow-y:hidden}
5
3
  ._18m91wug{overflow-y:auto}
6
4
  ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
@@ -10,8 +10,7 @@ import { ax, ix } from "@compiled/react/runtime";
10
10
  * Cleanup: delete this file once the `platform_editor_core_non_ecc_static_css` experiment has shipped.
11
11
  */
12
12
  import { useMemo } from 'react';
13
- import { akEditorContextPanelWidth, akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
14
- const ANIM_SPEED_MS = 500;
13
+ import { akEditorContextPanelWidth } from '@atlaskit/editor-shared-styles';
15
14
  const getContextPanelWidthStyle = ({
16
15
  customWidth,
17
16
  visible
@@ -29,9 +28,8 @@ const getContextPanelWidthStyle = ({
29
28
  return undefined;
30
29
  };
31
30
  const panelStyles = {
32
- panel: "_v5648l2w _1reo15vq _18m915vq _1bsbnklw _4t3i1osq _16qshh4h",
33
- disablePanelAnimation: "_v564glyw",
34
- content: "_v564e1q5 _vchhusvi _1bsbnklw _4t3i1osq _18m91wug",
31
+ panel: "_1reo15vq _18m915vq _1bsbnklw _4t3i1osq _16qshh4h",
32
+ content: "_vchhusvi _1bsbnklw _4t3i1osq _18m91wug",
35
33
  padding: "_ca0qpxbi _u5f3pxbi _n3tdze3t _19bvpxbi",
36
34
  customWidthOverflow: "_1reo15vq"
37
35
  };
@@ -39,7 +37,6 @@ export const ContextPanelWrapperCompiled = ({
39
37
  children,
40
38
  customWidth,
41
39
  visible,
42
- disableAnimation,
43
40
  ...rest
44
41
  }) => {
45
42
  const widthStyle = useMemo(() => getContextPanelWidthStyle({
@@ -51,7 +48,7 @@ export const ContextPanelWrapperCompiled = ({
51
48
  style: widthStyle
52
49
  // eslint-disable-next-line react/jsx-props-no-spreading
53
50
  }, rest, {
54
- className: ax([panelStyles.panel, customWidth && "", disableAnimation && panelStyles.disablePanelAnimation])
51
+ className: ax([panelStyles.panel, customWidth && ""])
55
52
  }), children);
56
53
  };
57
54
 
@@ -60,7 +57,6 @@ export const ContextPanelContentCompiled = ({
60
57
  children,
61
58
  customWidth,
62
59
  visible,
63
- disableAnimation,
64
60
  hasPadding,
65
61
  ...rest
66
62
  }) => {
@@ -73,6 +69,6 @@ export const ContextPanelContentCompiled = ({
73
69
  style: widthStyle
74
70
  // eslint-disable-next-line react/jsx-props-no-spreading
75
71
  }, rest, {
76
- className: ax([panelStyles.content, hasPadding && panelStyles.padding, customWidth && "", disableAnimation && panelStyles.disablePanelAnimation])
72
+ className: ax([panelStyles.content, hasPadding && panelStyles.padding, customWidth && ""])
77
73
  }), children);
78
74
  };
@@ -12,8 +12,7 @@ import _extends from "@babel/runtime/helpers/extends";
12
12
  import { useMemo } from 'react';
13
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
14
14
  import { css, jsx } from '@emotion/react';
15
- import { akEditorContextPanelWidth, akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
16
- const ANIM_SPEED_MS = 500;
15
+ import { akEditorContextPanelWidth } from '@atlaskit/editor-shared-styles';
17
16
  const panelHidden = css({
18
17
  width: 0
19
18
  });
@@ -21,17 +20,10 @@ const panel = css({
21
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
22
21
  width: `${akEditorContextPanelWidth}px`,
23
22
  height: '100%',
24
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
25
- transition: `width ${ANIM_SPEED_MS}ms ${akEditorSwoopCubicBezier}`,
26
23
  overflow: 'hidden',
27
24
  boxShadow: `inset 2px 0 0 0 ${"var(--ds-border, #0B120E24)"}`
28
25
  });
29
- const disablePanelAnimation = css({
30
- transition: 'none'
31
- });
32
26
  const content = css({
33
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
34
- transition: `width 600ms ${akEditorSwoopCubicBezier}`,
35
27
  boxSizing: 'border-box',
36
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
37
29
  width: `${akEditorContextPanelWidth}px`,
@@ -45,7 +37,6 @@ export const ContextPanelWrapperEmotion = ({
45
37
  children,
46
38
  customWidth,
47
39
  visible,
48
- disableAnimation,
49
40
  ...rest
50
41
  }) => {
51
42
  const customPanelWidthStyles = useMemo(() => customWidth ? css({
@@ -56,7 +47,7 @@ export const ContextPanelWrapperEmotion = ({
56
47
  return jsx("div", _extends({
57
48
  css: [panel,
58
49
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage
59
- customPanelWidthStyles, !visible && panelHidden, disableAnimation && disablePanelAnimation]
50
+ customPanelWidthStyles, !visible && panelHidden]
60
51
  // eslint-disable-next-line react/jsx-props-no-spreading
61
52
  }, rest), children);
62
53
  };
@@ -66,7 +57,6 @@ export const ContextPanelContentEmotion = ({
66
57
  children,
67
58
  customWidth,
68
59
  visible,
69
- disableAnimation,
70
60
  hasPadding,
71
61
  ...rest
72
62
  }) => {
@@ -78,7 +68,7 @@ export const ContextPanelContentEmotion = ({
78
68
  return jsx("div", _extends({
79
69
  css: [content, hasPadding && paddingStyles,
80
70
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage
81
- customPanelWidthStyles, !visible && panelHidden, disableAnimation && disablePanelAnimation]
71
+ customPanelWidthStyles, !visible && panelHidden]
82
72
  // eslint-disable-next-line react/jsx-props-no-spreading
83
73
  }, rest), children);
84
74
  };