@atlaskit/editor-common 107.3.1 → 107.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#178916](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178916)
8
+ [`b344da49420df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b344da49420df) -
9
+ Cleanup FG
10
+ - Updated dependencies
11
+
3
12
  ## 107.3.1
4
13
 
5
14
  ### Patch Changes
@@ -12,7 +12,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
  var _react2 = require("@emotion/react");
14
14
  var _classnames2 = _interopRequireDefault(require("classnames"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
15
  var _hooks = require("../../../hooks");
17
16
  var _useSharedPluginStateSelector = require("../../../hooks/useSharedPluginStateSelector/useSharedPluginStateSelector");
18
17
  var _ui = require("../../../ui");
@@ -201,9 +200,8 @@ function ExtensionWithPluginState(props) {
201
200
  css: _styles2.content
202
201
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
203
202
  ,
204
- className: contentClassNames,
205
- ref: !(0, _platformFeatureFlags.fg)('platform_editor_extension_fix_ssr_ref') ? handleContentDOMRef : undefined
206
- }, (0, _platformFeatureFlags.fg)('platform_editor_extension_fix_ssr_ref') && (0, _react2.jsx)("div", {
203
+ className: contentClassNames
204
+ }, (0, _react2.jsx)("div", {
207
205
  ref: handleContentDOMRef
208
206
  }))))));
209
207
  }
@@ -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.3.0";
19
+ var packageVersion = "107.3.1";
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.3.0";
26
+ var packageVersion = "107.3.1";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -9,7 +9,6 @@ import React, { Fragment } from 'react';
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { jsx } from '@emotion/react';
11
11
  import classnames from 'classnames';
12
- import { fg } from '@atlaskit/platform-feature-flags';
13
12
  import { sharedPluginStateHookMigratorFactory, useSharedPluginState } from '../../../hooks';
14
13
  import { useSharedPluginStateSelector } from '../../../hooks/useSharedPluginStateSelector/useSharedPluginStateSelector';
15
14
  import { overflowShadow } from '../../../ui';
@@ -197,9 +196,8 @@ function ExtensionWithPluginState(props) {
197
196
  css: content
198
197
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
199
198
  ,
200
- className: contentClassNames,
201
- ref: !fg('platform_editor_extension_fix_ssr_ref') ? handleContentDOMRef : undefined
202
- }, fg('platform_editor_extension_fix_ssr_ref') && jsx("div", {
199
+ className: contentClassNames
200
+ }, jsx("div", {
203
201
  ref: handleContentDOMRef
204
202
  }))))));
205
203
  }
@@ -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.3.0";
4
+ const packageVersion = "107.3.1";
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.3.0";
16
+ const packageVersion = "107.3.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -14,7 +14,6 @@ import React, { Fragment } from 'react';
14
14
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
15
  import { jsx } from '@emotion/react';
16
16
  import classnames from 'classnames';
17
- import { fg } from '@atlaskit/platform-feature-flags';
18
17
  import { sharedPluginStateHookMigratorFactory, useSharedPluginState } from '../../../hooks';
19
18
  import { useSharedPluginStateSelector } from '../../../hooks/useSharedPluginStateSelector/useSharedPluginStateSelector';
20
19
  import { overflowShadow } from '../../../ui';
@@ -194,9 +193,8 @@ function ExtensionWithPluginState(props) {
194
193
  css: content
195
194
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
196
195
  ,
197
- className: contentClassNames,
198
- ref: !fg('platform_editor_extension_fix_ssr_ref') ? handleContentDOMRef : undefined
199
- }, fg('platform_editor_extension_fix_ssr_ref') && jsx("div", {
196
+ className: contentClassNames
197
+ }, jsx("div", {
200
198
  ref: handleContentDOMRef
201
199
  }))))));
202
200
  }
@@ -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.3.0";
10
+ var packageVersion = "107.3.1";
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.3.0";
23
+ var packageVersion = "107.3.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.3.1",
3
+ "version": "107.3.2",
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/"
@@ -164,7 +164,7 @@
164
164
  "@atlaskit/profilecard": "^23.21.0",
165
165
  "@atlaskit/react-ufo": "^3.14.0",
166
166
  "@atlaskit/section-message": "^8.2.0",
167
- "@atlaskit/smart-card": "^38.17.0",
167
+ "@atlaskit/smart-card": "^38.19.0",
168
168
  "@atlaskit/smart-user-picker": "^8.0.0",
169
169
  "@atlaskit/spinner": "^18.0.0",
170
170
  "@atlaskit/task-decision": "^19.2.0",
@@ -272,9 +272,6 @@
272
272
  "platform-visual-refresh-icons": {
273
273
  "type": "boolean"
274
274
  },
275
- "platform_editor_extension_fix_ssr_ref": {
276
- "type": "boolean"
277
- },
278
275
  "platform_editor_breakoutresizer_remove_assertion": {
279
276
  "type": "boolean"
280
277
  },