@atlaskit/editor-common 116.30.1 → 116.30.3

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,24 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 116.30.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a3bbfab896310`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3bbfab896310) -
8
+ Replace feature gate `confluence_frontend_native_tabs_extension` with experiment
9
+ `confluence_native_tabs_experiment` using `expValEquals` from
10
+ `@atlaskit/tmp-editor-statsig/exp-val-equals`. Usage:
11
+ `expValEquals('confluence_native_tabs_experiment', 'isEnabled', true)`.
12
+ - Updated dependencies
13
+
14
+ ## 116.30.2
15
+
16
+ ### Patch Changes
17
+
18
+ - [`d111e53fecca1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d111e53fecca1) -
19
+ disallow media badge external for BBC
20
+ - Updated dependencies
21
+
3
22
  ## 116.30.1
4
23
 
5
24
  ### Patch Changes
@@ -11,7 +11,6 @@ var _react2 = require("@emotion/react");
11
11
  var _classnames = _interopRequireDefault(require("classnames"));
12
12
  var _reactIntl = require("react-intl");
13
13
  var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var _primitives = require("@atlaskit/primitives");
16
15
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
17
16
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
@@ -134,7 +133,7 @@ var ExtensionLabel = exports.ExtensionLabel = function ExtensionLabel(_ref) {
134
133
  isMultiBodiedMacro = _ref.isMultiBodiedMacro;
135
134
  var isInlineExtension = extensionName === 'inlineExtension';
136
135
  var showDefaultBodiedStyles = isBodiedMacro;
137
- var shouldUseMultiBodiedMacroPresentation = isMultiBodiedMacro && (0, _platformFeatureFlags.fg)('confluence_frontend_native_tabs_extension');
136
+ var shouldUseMultiBodiedMacroPresentation = isMultiBodiedMacro && (0, _expValEquals.expValEquals)('confluence_native_tabs_experiment', 'isEnabled', true);
138
137
  var containerClassNames = (0, _classnames.default)({
139
138
  bodied: isBodiedMacro && !shouldUseMultiBodiedMacroPresentation
140
139
  });
@@ -9,7 +9,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _state = require("@atlaskit/editor-prosemirror/state");
12
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
13
13
  var _analytics = require("../../analytics");
14
14
  var _utils = require("./utils");
15
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -175,14 +175,14 @@ var useMultiBodiedExtensionActions = exports.useMultiBodiedExtensionActions = fu
175
175
  // and only updating the parameters coming in from the user
176
176
  // parameters will contain only macroParams information
177
177
  var updatedParameters = _objectSpread(_objectSpread({}, node.attrs), {}, {
178
- parameters: _objectSpread(_objectSpread({}, node.attrs.parameters), (0, _platformFeatureFlags.fg)('confluence_frontend_native_tabs_extension') ? _objectSpread({}, parameters) : {
178
+ parameters: _objectSpread(_objectSpread({}, node.attrs.parameters), (0, _expValEquals.expValEquals)('confluence_native_tabs_experiment', 'isEnabled', true) ? _objectSpread({}, parameters) : {
179
179
  macroParams: parameters
180
180
  })
181
181
  });
182
182
  var tr = state.tr.setNodeMarkup(pos, null, updatedParameters);
183
183
  dispatch(tr);
184
184
  if (eventDispatcher) {
185
- (0, _utils.sendMBEAnalyticsEvent)(_analytics.ACTION.UPDATE_PARAMETERS, node, eventDispatcher, analyticsChangedParam && (0, _platformFeatureFlags.fg)('confluence_frontend_native_tabs_extension') ? {
185
+ (0, _utils.sendMBEAnalyticsEvent)(_analytics.ACTION.UPDATE_PARAMETERS, node, eventDispatcher, analyticsChangedParam && (0, _expValEquals.expValEquals)('confluence_native_tabs_experiment', 'isEnabled', true) ? {
186
186
  changedParams: analyticsChangedParam
187
187
  } : undefined);
188
188
  }
@@ -16,7 +16,6 @@ var _react2 = require("@emotion/react");
16
16
  var _bindEventListener = require("bind-event-listener");
17
17
  var _classnames = _interopRequireDefault(require("classnames"));
18
18
  var _file = _interopRequireDefault(require("@atlaskit/icon/core/file"));
19
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
20
19
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
21
20
  var _hooks = require("../../hooks");
22
21
  var _MultiBodiedExtension = require("../../ui/MultiBodiedExtension");
@@ -237,7 +236,7 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref2
237
236
  breakoutStyles = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(_calculateBreakoutSty), _calculateBreakoutSty));
238
237
  mbeWrapperStyles = breakoutStyles;
239
238
  }
240
- var shouldUseNativeTabsPresentation = (0, _platformFeatureFlags.fg)('confluence_frontend_native_tabs_extension');
239
+ var shouldUseNativeTabsPresentation = (0, _expValEquals.expValEquals)('confluence_native_tabs_experiment', 'isEnabled', true);
241
240
  var isSelectionInsideMultiBodiedExtension = useIsSelectionInsideNode(editorView, node, getPos, shouldUseNativeTabsPresentation);
242
241
  var isMultiBodiedExtensionActive = isNodeSelected || isSelectionInsideMultiBodiedExtension;
243
242
  var wrapperClassNames = (0, _classnames.default)('multiBodiedExtension--wrapper', 'extension-container', 'block', {
@@ -40,7 +40,7 @@ var isUnbadgedUrl = exports.isUnbadgedUrl = function isUnbadgedUrl(url) {
40
40
  if (protocol === 'data:') {
41
41
  return pathname === null || pathname === void 0 ? void 0 : pathname.startsWith('image/');
42
42
  }
43
- if ((0, _expValEquals.expValEquals)('platform_editor_media_external_badge_bbc_fix', 'isEnable', true)) {
43
+ if ((0, _expValEquals.expValEquals)('platform_editor_media_external_badge_bbc_fix', 'isEnabled', true)) {
44
44
  return Boolean(hostname && NO_EXTERNAL_BADGE_HOSTS_NEW.some(function (host) {
45
45
  return hostname === host || hostname.endsWith(".".concat(host));
46
46
  }));
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
28
28
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
29
29
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
30
30
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
31
- var packageVersion = "116.30.0";
31
+ var packageVersion = "116.30.2";
32
32
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
33
33
  // Remove URL as it has UGC
34
34
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "116.30.0";
27
+ var packageVersion = "116.30.2";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.sharedMultiBodiedExtensionStyles = exports.removeMarginsAndBorder = void 0;
7
7
  var _react = require("@emotion/react");
8
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
9
8
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
10
9
  /* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
11
10
  /**
@@ -173,7 +172,7 @@ var sharedMultiBodiedExtensionStyles = exports.sharedMultiBodiedExtensionStyles
173
172
  mbeExtensionContainer: mbeExtensionContainer,
174
173
  mbeNavigation: mbeNavigation,
175
174
  get extensionFrameContent() {
176
- if (!(0, _platformFeatureFlags.fg)('confluence_frontend_native_tabs_extension')) {
175
+ if (!(0, _expValEquals.expValEquals)('confluence_native_tabs_experiment', 'isEnabled', true)) {
177
176
  return extensionFrameContentOld;
178
177
  }
179
178
  // Block spacing hook — when the experiment is on, use the variant whose extension content
@@ -10,7 +10,6 @@ import { css, jsx } from '@emotion/react';
10
10
  import classnames from 'classnames';
11
11
  import { FormattedMessage, defineMessages } from 'react-intl';
12
12
  import CustomizeIcon from '@atlaskit/icon/core/customize';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
13
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
15
14
  import { Box, xcss } from '@atlaskit/primitives';
16
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -126,7 +125,7 @@ export const ExtensionLabel = ({
126
125
  }) => {
127
126
  const isInlineExtension = extensionName === 'inlineExtension';
128
127
  const showDefaultBodiedStyles = isBodiedMacro;
129
- const shouldUseMultiBodiedMacroPresentation = isMultiBodiedMacro && fg('confluence_frontend_native_tabs_extension');
128
+ const shouldUseMultiBodiedMacroPresentation = isMultiBodiedMacro && expValEquals('confluence_native_tabs_experiment', 'isEnabled', true);
130
129
  const containerClassNames = classnames({
131
130
  bodied: isBodiedMacro && !shouldUseMultiBodiedMacroPresentation
132
131
  });
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
3
- import { fg } from '@atlaskit/platform-feature-flags';
3
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
4
  import { ACTION } from '../../analytics';
5
5
  import { sendMBEAnalyticsEvent } from './utils';
6
6
  export const useMultiBodiedExtensionActions = ({
@@ -176,7 +176,7 @@ export const useMultiBodiedExtensionActions = ({
176
176
  ...node.attrs,
177
177
  parameters: {
178
178
  ...node.attrs.parameters,
179
- ...(fg('confluence_frontend_native_tabs_extension') ? {
179
+ ...(expValEquals('confluence_native_tabs_experiment', 'isEnabled', true) ? {
180
180
  ...parameters
181
181
  } : {
182
182
  macroParams: parameters
@@ -186,7 +186,7 @@ export const useMultiBodiedExtensionActions = ({
186
186
  const tr = state.tr.setNodeMarkup(pos, null, updatedParameters);
187
187
  dispatch(tr);
188
188
  if (eventDispatcher) {
189
- sendMBEAnalyticsEvent(ACTION.UPDATE_PARAMETERS, node, eventDispatcher, analyticsChangedParam && fg('confluence_frontend_native_tabs_extension') ? {
189
+ sendMBEAnalyticsEvent(ACTION.UPDATE_PARAMETERS, node, eventDispatcher, analyticsChangedParam && expValEquals('confluence_native_tabs_experiment', 'isEnabled', true) ? {
190
190
  changedParams: analyticsChangedParam
191
191
  } : undefined);
192
192
  }
@@ -12,7 +12,6 @@ import { css, jsx } from '@emotion/react';
12
12
  import { bind } from 'bind-event-listener';
13
13
  import classnames from 'classnames';
14
14
  import EditorFileIcon from '@atlaskit/icon/core/file';
15
- import { fg } from '@atlaskit/platform-feature-flags';
16
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
16
  import { useSharedPluginStateWithSelector } from '../../hooks';
18
17
  import { removeMarginsAndBorder, sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
@@ -223,7 +222,7 @@ const MultiBodiedExtensionWithWidth = ({
223
222
  });
224
223
  mbeWrapperStyles = breakoutStyles;
225
224
  }
226
- const shouldUseNativeTabsPresentation = fg('confluence_frontend_native_tabs_extension');
225
+ const shouldUseNativeTabsPresentation = expValEquals('confluence_native_tabs_experiment', 'isEnabled', true);
227
226
  const isSelectionInsideMultiBodiedExtension = useIsSelectionInsideNode(editorView, node, getPos, shouldUseNativeTabsPresentation);
228
227
  const isMultiBodiedExtensionActive = isNodeSelected || isSelectionInsideMultiBodiedExtension;
229
228
  const wrapperClassNames = classnames('multiBodiedExtension--wrapper', 'extension-container', 'block', {
@@ -34,7 +34,7 @@ export const isUnbadgedUrl = url => {
34
34
  if (protocol === 'data:') {
35
35
  return pathname === null || pathname === void 0 ? void 0 : pathname.startsWith('image/');
36
36
  }
37
- if (expValEquals('platform_editor_media_external_badge_bbc_fix', 'isEnable', true)) {
37
+ if (expValEquals('platform_editor_media_external_badge_bbc_fix', 'isEnabled', true)) {
38
38
  return Boolean(hostname && NO_EXTERNAL_BADGE_HOSTS_NEW.some(host => hostname === host || hostname.endsWith(`.${host}`)));
39
39
  }
40
40
  return Boolean(hostname && NO_EXTERNAL_BADGE_HOSTS.some(host => hostname === host || hostname.endsWith(`.${host}`)));
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
14
14
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
15
15
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
16
16
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
17
- const packageVersion = "116.30.0";
17
+ const packageVersion = "116.30.2";
18
18
  const sanitiseSentryEvents = (data, _hint) => {
19
19
  // Remove URL as it has UGC
20
20
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "116.30.0";
17
+ const packageVersion = "116.30.2";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -6,7 +6,6 @@
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css } from '@emotion/react';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
10
  // Wraps the navigation bar and extensionFrames
12
11
  const mbeExtensionContainer = css({
@@ -166,7 +165,7 @@ export const sharedMultiBodiedExtensionStyles = {
166
165
  mbeExtensionContainer,
167
166
  mbeNavigation,
168
167
  get extensionFrameContent() {
169
- if (!fg('confluence_frontend_native_tabs_extension')) {
168
+ if (!expValEquals('confluence_native_tabs_experiment', 'isEnabled', true)) {
170
169
  return extensionFrameContentOld;
171
170
  }
172
171
  // Block spacing hook — when the experiment is on, use the variant whose extension content
@@ -10,7 +10,6 @@ import { css, jsx } from '@emotion/react';
10
10
  import classnames from 'classnames';
11
11
  import { FormattedMessage, defineMessages } from 'react-intl';
12
12
  import CustomizeIcon from '@atlaskit/icon/core/customize';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
13
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
15
14
  import { Box, xcss } from '@atlaskit/primitives';
16
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -125,7 +124,7 @@ export var ExtensionLabel = function ExtensionLabel(_ref) {
125
124
  isMultiBodiedMacro = _ref.isMultiBodiedMacro;
126
125
  var isInlineExtension = extensionName === 'inlineExtension';
127
126
  var showDefaultBodiedStyles = isBodiedMacro;
128
- var shouldUseMultiBodiedMacroPresentation = isMultiBodiedMacro && fg('confluence_frontend_native_tabs_extension');
127
+ var shouldUseMultiBodiedMacroPresentation = isMultiBodiedMacro && expValEquals('confluence_native_tabs_experiment', 'isEnabled', true);
129
128
  var containerClassNames = classnames({
130
129
  bodied: isBodiedMacro && !shouldUseMultiBodiedMacroPresentation
131
130
  });
@@ -4,7 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
4
4
  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) { _defineProperty(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; }
5
5
  import React from 'react';
6
6
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
7
- import { fg } from '@atlaskit/platform-feature-flags';
7
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
8
  import { ACTION } from '../../analytics';
9
9
  import { sendMBEAnalyticsEvent } from './utils';
10
10
  export var useMultiBodiedExtensionActions = function useMultiBodiedExtensionActions(_ref) {
@@ -168,14 +168,14 @@ export var useMultiBodiedExtensionActions = function useMultiBodiedExtensionActi
168
168
  // and only updating the parameters coming in from the user
169
169
  // parameters will contain only macroParams information
170
170
  var updatedParameters = _objectSpread(_objectSpread({}, node.attrs), {}, {
171
- parameters: _objectSpread(_objectSpread({}, node.attrs.parameters), fg('confluence_frontend_native_tabs_extension') ? _objectSpread({}, parameters) : {
171
+ parameters: _objectSpread(_objectSpread({}, node.attrs.parameters), expValEquals('confluence_native_tabs_experiment', 'isEnabled', true) ? _objectSpread({}, parameters) : {
172
172
  macroParams: parameters
173
173
  })
174
174
  });
175
175
  var tr = state.tr.setNodeMarkup(pos, null, updatedParameters);
176
176
  dispatch(tr);
177
177
  if (eventDispatcher) {
178
- sendMBEAnalyticsEvent(ACTION.UPDATE_PARAMETERS, node, eventDispatcher, analyticsChangedParam && fg('confluence_frontend_native_tabs_extension') ? {
178
+ sendMBEAnalyticsEvent(ACTION.UPDATE_PARAMETERS, node, eventDispatcher, analyticsChangedParam && expValEquals('confluence_native_tabs_experiment', 'isEnabled', true) ? {
179
179
  changedParams: analyticsChangedParam
180
180
  } : undefined);
181
181
  }
@@ -17,7 +17,6 @@ import { css, jsx } from '@emotion/react';
17
17
  import { bind } from 'bind-event-listener';
18
18
  import classnames from 'classnames';
19
19
  import EditorFileIcon from '@atlaskit/icon/core/file';
20
- import { fg } from '@atlaskit/platform-feature-flags';
21
20
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
22
21
  import { useSharedPluginStateWithSelector } from '../../hooks';
23
22
  import { removeMarginsAndBorder, sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
@@ -230,7 +229,7 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref2
230
229
  breakoutStyles = _extends({}, (_objectDestructuringEmpty(_calculateBreakoutSty), _calculateBreakoutSty));
231
230
  mbeWrapperStyles = breakoutStyles;
232
231
  }
233
- var shouldUseNativeTabsPresentation = fg('confluence_frontend_native_tabs_extension');
232
+ var shouldUseNativeTabsPresentation = expValEquals('confluence_native_tabs_experiment', 'isEnabled', true);
234
233
  var isSelectionInsideMultiBodiedExtension = useIsSelectionInsideNode(editorView, node, getPos, shouldUseNativeTabsPresentation);
235
234
  var isMultiBodiedExtensionActive = isNodeSelected || isSelectionInsideMultiBodiedExtension;
236
235
  var wrapperClassNames = classnames('multiBodiedExtension--wrapper', 'extension-container', 'block', {
@@ -32,7 +32,7 @@ export var isUnbadgedUrl = function isUnbadgedUrl(url) {
32
32
  if (protocol === 'data:') {
33
33
  return pathname === null || pathname === void 0 ? void 0 : pathname.startsWith('image/');
34
34
  }
35
- if (expValEquals('platform_editor_media_external_badge_bbc_fix', 'isEnable', true)) {
35
+ if (expValEquals('platform_editor_media_external_badge_bbc_fix', 'isEnabled', true)) {
36
36
  return Boolean(hostname && NO_EXTERNAL_BADGE_HOSTS_NEW.some(function (host) {
37
37
  return hostname === host || hostname.endsWith(".".concat(host));
38
38
  }));
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
20
20
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
21
21
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
22
22
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
23
- var packageVersion = "116.30.0";
23
+ var packageVersion = "116.30.2";
24
24
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
25
25
  // Remove URL as it has UGC
26
26
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "116.30.0";
24
+ var packageVersion = "116.30.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -6,7 +6,6 @@
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css } from '@emotion/react';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
10
  // Wraps the navigation bar and extensionFrames
12
11
  var mbeExtensionContainer = css({
@@ -166,7 +165,7 @@ export var sharedMultiBodiedExtensionStyles = {
166
165
  mbeExtensionContainer: mbeExtensionContainer,
167
166
  mbeNavigation: mbeNavigation,
168
167
  get extensionFrameContent() {
169
- if (!fg('confluence_frontend_native_tabs_extension')) {
168
+ if (!expValEquals('confluence_native_tabs_experiment', 'isEnabled', true)) {
170
169
  return extensionFrameContentOld;
171
170
  }
172
171
  // Block spacing hook — when the experiment is on, use the variant whose extension content
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "116.30.1",
3
+ "version": "116.30.3",
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/"
@@ -68,7 +68,7 @@
68
68
  "@atlaskit/onboarding": "^15.1.0",
69
69
  "@atlaskit/platform-feature-flags": "^2.0.0",
70
70
  "@atlaskit/platform-feature-flags-react": "^1.1.0",
71
- "@atlaskit/primitives": "^20.6.0",
71
+ "@atlaskit/primitives": "^21.0.0",
72
72
  "@atlaskit/profilecard": "^26.9.0",
73
73
  "@atlaskit/prosemirror-history": "^1.0.0",
74
74
  "@atlaskit/react-compiler-gating": "^0.2.0",
@@ -80,7 +80,7 @@
80
80
  "@atlaskit/task-decision": "^21.4.0",
81
81
  "@atlaskit/teams-app-config": "^2.1.0",
82
82
  "@atlaskit/textfield": "^9.1.0",
83
- "@atlaskit/tmp-editor-statsig": "^125.0.0",
83
+ "@atlaskit/tmp-editor-statsig": "^125.2.0",
84
84
  "@atlaskit/tokens": "^15.8.0",
85
85
  "@atlaskit/tooltip": "^23.1.0",
86
86
  "@atlaskit/width-detector": "^6.2.0",
@@ -162,9 +162,6 @@
162
162
  "rovo_chat_agent_selection": {
163
163
  "type": "boolean"
164
164
  },
165
- "confluence_frontend_native_tabs_extension": {
166
- "type": "boolean"
167
- },
168
165
  "platform_editor_updated_dropdown_colors": {
169
166
  "type": "boolean"
170
167
  },