@atlaskit/editor-common 107.12.5 → 107.12.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.12.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#190588](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190588)
8
+ [`b22e308cfd320`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b22e308cfd320) -
9
+ Replace experiment key platform_editor_useSharedPluginStateSelector with
10
+ platform_editor_useSharedPluginStateWithSelector
11
+ - [#189832](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/189832)
12
+ [`a3b339a1e6839`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3b339a1e6839) -
13
+ [ux] ED-28512 Update extension content styles to use box-sizing and removing unused padding to fix
14
+ flickering issue when cards is nested inside extension nodes
15
+ - Updated dependencies
16
+
3
17
  ## 107.12.5
4
18
 
5
19
  ### Patch Changes
@@ -13,6 +13,7 @@ var _react = _interopRequireWildcard(require("react"));
13
13
  var _react2 = require("@emotion/react");
14
14
  var _classnames2 = _interopRequireDefault(require("classnames"));
15
15
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
16
17
  var _hooks = require("../../../hooks");
17
18
  var _ui = require("../../../ui");
18
19
  var _utils = require("../../../utils");
@@ -131,6 +132,7 @@ function ExtensionWithPluginState(props) {
131
132
  setIsNodeHovered(didHover);
132
133
  }
133
134
  };
135
+ var extensionContentStyles = (0, _expValEquals.expValEquals)('platform_editor_extension_styles', 'isEnabled', true) ? _styles2.extensionContent : _styles2.content;
134
136
  return (0, _react2.jsx)(_react.Fragment, null, showLegacyContentHeader && (0, _react2.jsx)(_LegacyContentHeader.LegacyContentHeader, {
135
137
  isNodeSelected: isNodeSelected,
136
138
  isNodeHovered: isNodeHovered,
@@ -209,7 +211,7 @@ function ExtensionWithPluginState(props) {
209
211
  "data-testid": "extension-content"
210
212
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
211
213
  ,
212
- css: _styles2.content
214
+ css: extensionContentStyles
213
215
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
214
216
  ,
215
217
  className: contentClassNames
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.wrapperStyleInheritedCursor = exports.widerLayoutClassName = exports.overflowWrapperStyles = exports.header = exports.contentWrapper = exports.content = void 0;
6
+ exports.wrapperStyleInheritedCursor = exports.widerLayoutClassName = exports.overflowWrapperStyles = exports.header = exports.extensionContent = exports.contentWrapper = exports.content = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _styles = require("../styles");
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -84,6 +84,26 @@ var content = exports.content = (0, _react.css)({
84
84
  }
85
85
  });
86
86
 
87
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
88
+ var extensionContent = exports.extensionContent = (0, _react.css)({
89
+ boxSizing: 'border-box',
90
+ paddingTop: "var(--ds-space-100, 8px)",
91
+ paddingBottom: "var(--ds-space-100, 8px)",
92
+ background: "var(--ds-surface, white)",
93
+ border: "1px solid ".concat("var(--ds-border, #091E4224)"),
94
+ borderRadius: "var(--ds-border-radius, 3px)",
95
+ cursor: 'initial',
96
+ width: '100%',
97
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
98
+ '&.remove-border': {
99
+ border: 'none'
100
+ },
101
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
102
+ '&.hide-content': {
103
+ display: 'none'
104
+ }
105
+ });
106
+
87
107
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
88
108
  var contentWrapper = exports.contentWrapper = (0, _react.css)({
89
109
  padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
@@ -7,7 +7,7 @@ exports.sharedPluginStateHookMigratorFactory = sharedPluginStateHookMigratorFact
7
7
  var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react");
8
8
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
9
9
  /**
10
- * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstateselector` experiment.**
10
+ * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstatewithselector` experiment.**
11
11
  *
12
12
  * This hook is a migrator for the legacy `useSharedPluginState` hook and will be removed in the future.
13
13
  * Please use `useSharedPluginStateSelector` instead.
@@ -18,6 +18,6 @@ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
18
18
  */
19
19
  function sharedPluginStateHookMigratorFactory(newHook, oldHook) {
20
20
  return (0, _platformFeatureFlagsReact.conditionalHooksFactory)(function () {
21
- return (0, _expValEquals.expValEquals)('platform_editor_usesharedpluginstateselector', 'isEnabled', true);
21
+ return (0, _expValEquals.expValEquals)('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true);
22
22
  }, newHook, oldHook);
23
23
  }
@@ -107,7 +107,7 @@ function usePluginStateEffectInternal(externalPlugins, effect) {
107
107
  // We should store the latest effect in a reference so it is more intuitive to the user
108
108
  // and we are not causing a memory leak by having references to old state.
109
109
  (0, _react.useLayoutEffect)(function () {
110
- if (options.disabled || !(0, _expValEquals.expValEquals)('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
110
+ if (options.disabled || !(0, _expValEquals.expValEquals)('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true)) {
111
111
  return;
112
112
  }
113
113
  latestEffect.current = (0, _debounce.default)(effect);
@@ -116,7 +116,7 @@ function usePluginStateEffectInternal(externalPlugins, effect) {
116
116
  };
117
117
  }, [effect, options.disabled]);
118
118
  (0, _react.useEffect)(function () {
119
- if (options.disabled || (0, _expValEquals.expValEquals)('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
119
+ if (options.disabled || (0, _expValEquals.expValEquals)('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true)) {
120
120
  return;
121
121
  }
122
122
  latestEffect.current = (0, _debounce.default)(effect);
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  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); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "107.12.4";
19
+ var packageVersion = "107.12.5";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "107.12.4";
26
+ var packageVersion = "107.12.5";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -10,6 +10,7 @@ import React, { Fragment } from 'react';
10
10
  import { jsx } from '@emotion/react';
11
11
  import classnames from 'classnames';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
13
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
14
  import { sharedPluginStateHookMigratorFactory, useSharedPluginState, useSharedPluginStateWithSelector } from '../../../hooks';
14
15
  import { overflowShadow } from '../../../ui';
15
16
  import { calculateBreakoutStyles } from '../../../utils';
@@ -17,7 +18,7 @@ import { LegacyContentHeader } from '../LegacyContentHeader';
17
18
  import ExtensionLozenge from '../Lozenge';
18
19
  import { overlay } from '../styles';
19
20
  import { isEmptyBodiedMacro } from './extension-utils';
20
- import { content, contentWrapper, header, overflowWrapperStyles, widerLayoutClassName, wrapperStyleInheritedCursor } from './styles';
21
+ import { content, extensionContent, contentWrapper, header, overflowWrapperStyles, widerLayoutClassName, wrapperStyleInheritedCursor } from './styles';
21
22
  function ExtensionWithPluginState(props) {
22
23
  var _node$attrs, _node$attrs$parameter, _node$attrs$parameter2, _node$attrs$parameter3;
23
24
  const {
@@ -131,6 +132,7 @@ function ExtensionWithPluginState(props) {
131
132
  setIsNodeHovered(didHover);
132
133
  }
133
134
  };
135
+ const extensionContentStyles = expValEquals('platform_editor_extension_styles', 'isEnabled', true) ? extensionContent : content;
134
136
  return jsx(Fragment, null, showLegacyContentHeader && jsx(LegacyContentHeader, {
135
137
  isNodeSelected: isNodeSelected,
136
138
  isNodeHovered: isNodeHovered,
@@ -201,7 +203,7 @@ function ExtensionWithPluginState(props) {
201
203
  "data-testid": "extension-content"
202
204
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
203
205
  ,
204
- css: content
206
+ css: extensionContentStyles
205
207
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
206
208
  ,
207
209
  className: contentClassNames
@@ -77,6 +77,26 @@ export const content = css({
77
77
  }
78
78
  });
79
79
 
80
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
81
+ export const extensionContent = css({
82
+ boxSizing: 'border-box',
83
+ paddingTop: "var(--ds-space-100, 8px)",
84
+ paddingBottom: "var(--ds-space-100, 8px)",
85
+ background: "var(--ds-surface, white)",
86
+ border: `1px solid ${"var(--ds-border, #091E4224)"}`,
87
+ borderRadius: "var(--ds-border-radius, 3px)",
88
+ cursor: 'initial',
89
+ width: '100%',
90
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
91
+ '&.remove-border': {
92
+ border: 'none'
93
+ },
94
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
95
+ '&.hide-content': {
96
+ display: 'none'
97
+ }
98
+ });
99
+
80
100
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
81
101
  export const contentWrapper = css({
82
102
  padding: `0 ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"}`,
@@ -2,7 +2,7 @@ import { conditionalHooksFactory } from '@atlaskit/platform-feature-flags-react'
2
2
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
3
 
4
4
  /**
5
- * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstateselector` experiment.**
5
+ * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstatewithselector` experiment.**
6
6
  *
7
7
  * This hook is a migrator for the legacy `useSharedPluginState` hook and will be removed in the future.
8
8
  * Please use `useSharedPluginStateSelector` instead.
@@ -12,5 +12,5 @@ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
12
12
  * @returns
13
13
  */
14
14
  export function sharedPluginStateHookMigratorFactory(newHook, oldHook) {
15
- return conditionalHooksFactory(() => expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true), newHook, oldHook);
15
+ return conditionalHooksFactory(() => expValEquals('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true), newHook, oldHook);
16
16
  }
@@ -90,7 +90,7 @@ function usePluginStateEffectInternal(externalPlugins, effect, options = {}) {
90
90
  // We should store the latest effect in a reference so it is more intuitive to the user
91
91
  // and we are not causing a memory leak by having references to old state.
92
92
  useLayoutEffect(() => {
93
- if (options.disabled || !expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
93
+ if (options.disabled || !expValEquals('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true)) {
94
94
  return;
95
95
  }
96
96
  latestEffect.current = debounce(effect);
@@ -99,7 +99,7 @@ function usePluginStateEffectInternal(externalPlugins, effect, options = {}) {
99
99
  };
100
100
  }, [effect, options.disabled]);
101
101
  useEffect(() => {
102
- if (options.disabled || expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
102
+ if (options.disabled || expValEquals('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true)) {
103
103
  return;
104
104
  }
105
105
  latestEffect.current = debounce(effect);
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "107.12.4";
4
+ const packageVersion = "107.12.5";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "107.12.4";
16
+ const packageVersion = "107.12.5";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -15,6 +15,7 @@ import React, { Fragment } from 'react';
15
15
  import { jsx } from '@emotion/react';
16
16
  import classnames from 'classnames';
17
17
  import { fg } from '@atlaskit/platform-feature-flags';
18
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
19
  import { sharedPluginStateHookMigratorFactory, useSharedPluginState, useSharedPluginStateWithSelector } from '../../../hooks';
19
20
  import { overflowShadow } from '../../../ui';
20
21
  import { calculateBreakoutStyles } from '../../../utils';
@@ -22,7 +23,7 @@ import { LegacyContentHeader } from '../LegacyContentHeader';
22
23
  import ExtensionLozenge from '../Lozenge';
23
24
  import { overlay } from '../styles';
24
25
  import { isEmptyBodiedMacro } from './extension-utils';
25
- import { content, contentWrapper, header, overflowWrapperStyles, widerLayoutClassName, wrapperStyleInheritedCursor } from './styles';
26
+ import { content, extensionContent, contentWrapper, header, overflowWrapperStyles, widerLayoutClassName, wrapperStyleInheritedCursor } from './styles';
26
27
  function ExtensionWithPluginState(props) {
27
28
  var _node$attrs;
28
29
  var node = props.node,
@@ -124,6 +125,7 @@ function ExtensionWithPluginState(props) {
124
125
  setIsNodeHovered(didHover);
125
126
  }
126
127
  };
128
+ var extensionContentStyles = expValEquals('platform_editor_extension_styles', 'isEnabled', true) ? extensionContent : content;
127
129
  return jsx(Fragment, null, showLegacyContentHeader && jsx(LegacyContentHeader, {
128
130
  isNodeSelected: isNodeSelected,
129
131
  isNodeHovered: isNodeHovered,
@@ -202,7 +204,7 @@ function ExtensionWithPluginState(props) {
202
204
  "data-testid": "extension-content"
203
205
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
204
206
  ,
205
- css: content
207
+ css: extensionContentStyles
206
208
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
207
209
  ,
208
210
  className: contentClassNames
@@ -77,6 +77,26 @@ export var content = css({
77
77
  }
78
78
  });
79
79
 
80
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
81
+ export var extensionContent = css({
82
+ boxSizing: 'border-box',
83
+ paddingTop: "var(--ds-space-100, 8px)",
84
+ paddingBottom: "var(--ds-space-100, 8px)",
85
+ background: "var(--ds-surface, white)",
86
+ border: "1px solid ".concat("var(--ds-border, #091E4224)"),
87
+ borderRadius: "var(--ds-border-radius, 3px)",
88
+ cursor: 'initial',
89
+ width: '100%',
90
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
91
+ '&.remove-border': {
92
+ border: 'none'
93
+ },
94
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
95
+ '&.hide-content': {
96
+ display: 'none'
97
+ }
98
+ });
99
+
80
100
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
81
101
  export var contentWrapper = css({
82
102
  padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
@@ -2,7 +2,7 @@ import { conditionalHooksFactory } from '@atlaskit/platform-feature-flags-react'
2
2
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
3
 
4
4
  /**
5
- * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstateselector` experiment.**
5
+ * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstatewithselector` experiment.**
6
6
  *
7
7
  * This hook is a migrator for the legacy `useSharedPluginState` hook and will be removed in the future.
8
8
  * Please use `useSharedPluginStateSelector` instead.
@@ -13,6 +13,6 @@ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
13
  */
14
14
  export function sharedPluginStateHookMigratorFactory(newHook, oldHook) {
15
15
  return conditionalHooksFactory(function () {
16
- return expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true);
16
+ return expValEquals('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true);
17
17
  }, newHook, oldHook);
18
18
  }
@@ -101,7 +101,7 @@ function usePluginStateEffectInternal(externalPlugins, effect) {
101
101
  // We should store the latest effect in a reference so it is more intuitive to the user
102
102
  // and we are not causing a memory leak by having references to old state.
103
103
  useLayoutEffect(function () {
104
- if (options.disabled || !expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
104
+ if (options.disabled || !expValEquals('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true)) {
105
105
  return;
106
106
  }
107
107
  latestEffect.current = debounce(effect);
@@ -110,7 +110,7 @@ function usePluginStateEffectInternal(externalPlugins, effect) {
110
110
  };
111
111
  }, [effect, options.disabled]);
112
112
  useEffect(function () {
113
- if (options.disabled || expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
113
+ if (options.disabled || expValEquals('platform_editor_usesharedpluginstatewithselector', 'isEnabled', true)) {
114
114
  return;
115
115
  }
116
116
  latestEffect.current = debounce(effect);
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "107.12.4";
10
+ var packageVersion = "107.12.5";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "107.12.4";
23
+ var packageVersion = "107.12.5";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -2,5 +2,6 @@ export declare const widerLayoutClassName = "wider-layout";
2
2
  export declare const wrapperStyleInheritedCursor: import("@emotion/react").SerializedStyles;
3
3
  export declare const header: import("@emotion/react").SerializedStyles;
4
4
  export declare const content: import("@emotion/react").SerializedStyles;
5
+ export declare const extensionContent: import("@emotion/react").SerializedStyles;
5
6
  export declare const contentWrapper: import("@emotion/react").SerializedStyles;
6
7
  export declare const overflowWrapperStyles: import("@emotion/react").SerializedStyles;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstateselector` experiment.**
2
+ * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstatewithselector` experiment.**
3
3
  *
4
4
  * This hook is a migrator for the legacy `useSharedPluginState` hook and will be removed in the future.
5
5
  * Please use `useSharedPluginStateSelector` instead.
@@ -2,5 +2,6 @@ export declare const widerLayoutClassName = "wider-layout";
2
2
  export declare const wrapperStyleInheritedCursor: import("@emotion/react").SerializedStyles;
3
3
  export declare const header: import("@emotion/react").SerializedStyles;
4
4
  export declare const content: import("@emotion/react").SerializedStyles;
5
+ export declare const extensionContent: import("@emotion/react").SerializedStyles;
5
6
  export declare const contentWrapper: import("@emotion/react").SerializedStyles;
6
7
  export declare const overflowWrapperStyles: import("@emotion/react").SerializedStyles;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstateselector` experiment.**
2
+ * **Warning: This hook is controlled by the `platform_editor_usesharedpluginstatewithselector` experiment.**
3
3
  *
4
4
  * This hook is a migrator for the legacy `useSharedPluginState` hook and will be removed in the future.
5
5
  * Please use `useSharedPluginStateSelector` instead.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.12.5",
3
+ "version": "107.12.6",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -171,7 +171,7 @@
171
171
  "@atlaskit/task-decision": "^19.2.0",
172
172
  "@atlaskit/textfield": "^8.0.0",
173
173
  "@atlaskit/theme": "^19.0.0",
174
- "@atlaskit/tmp-editor-statsig": "^9.12.0",
174
+ "@atlaskit/tmp-editor-statsig": "^9.14.0",
175
175
  "@atlaskit/tokens": "^5.6.0",
176
176
  "@atlaskit/tooltip": "^20.3.0",
177
177
  "@atlaskit/width-detector": "^5.0.0",