@atlaskit/editor-common 107.9.0 → 107.9.1

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.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
8
+ [`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
9
+ Migrated usage of renamed/deprecated icons
10
+ - Updated dependencies
11
+
3
12
  ## 107.9.0
4
13
 
5
14
  ### Minor Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.InlineImageCardErrorView = void 0;
8
8
  var _react = require("@emotion/react");
9
- var _warning = _interopRequireDefault(require("@atlaskit/icon/core/migration/warning"));
9
+ var _statusWarningWarning = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-warning--warning"));
10
10
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
11
11
  var _constants = require("./constants");
12
12
  var _frame = require("./frame");
@@ -32,7 +32,7 @@ var InlineImageCardErrorView = exports.InlineImageCardErrorView = function Inlin
32
32
  position: "top",
33
33
  tag: "span",
34
34
  hideTooltipOnClick: true
35
- }, (0, _react.jsx)(_iconWrapper.IconWrapper, null, icon || (0, _react.jsx)(_warning.default, {
35
+ }, (0, _react.jsx)(_iconWrapper.IconWrapper, null, icon || (0, _react.jsx)(_statusWarningWarning.default, {
36
36
  label: "error",
37
37
  LEGACY_size: height > _constants.ICON_SIZE_THRESOLD ? 'medium' : 'small',
38
38
  color: "var(--ds-icon-danger, #C9372C)"
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.isUnbadgedUrl = exports.ExternalImageBadge = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactIntlNext = require("react-intl-next");
10
- var _informationInfo = _interopRequireDefault(require("@atlaskit/icon/core/migration/information--info"));
10
+ var _statusInformationInfo = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-information--info"));
11
11
  var _primitives = require("@atlaskit/primitives");
12
12
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
13
13
  var _media = require("../media");
@@ -59,7 +59,7 @@ var ExternalImageBadge = exports.ExternalImageBadge = function ExternalImageBadg
59
59
  }), /*#__PURE__*/_react.default.createElement(_tooltip.default, {
60
60
  content: message,
61
61
  position: "top"
62
- }, /*#__PURE__*/_react.default.createElement(_informationInfo.default, {
62
+ }, /*#__PURE__*/_react.default.createElement(_statusInformationInfo.default, {
63
63
  LEGACY_size: "small",
64
64
  label: message
65
65
  })));
@@ -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.8.6";
19
+ var packageVersion = "107.9.0";
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.8.6";
26
+ var packageVersion = "107.9.0";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.ValidMessage = exports.HelperMessage = exports.ErrorMessage = void 0;
8
8
  var _react = require("@emotion/react");
9
- var _error = _interopRequireDefault(require("@atlaskit/icon/core/migration/error"));
10
- var _successEditorSuccess = _interopRequireDefault(require("@atlaskit/icon/core/migration/success--editor-success"));
9
+ var _statusErrorError = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-error--error"));
10
+ var _statusSuccessEditorSuccess = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-success--editor-success"));
11
11
  /**
12
12
  * @jsxRuntime classic
13
13
  * @jsx jsx
@@ -58,7 +58,7 @@ var ErrorMessage = exports.ErrorMessage = function ErrorMessage(_ref2) {
58
58
  }
59
59
  }, (0, _react.jsx)("span", {
60
60
  css: iconWrapperStyle
61
- }, (0, _react.jsx)(_error.default, {
61
+ }, (0, _react.jsx)(_statusErrorError.default, {
62
62
  LEGACY_size: "small",
63
63
  label: "error",
64
64
  "aria-label": "error"
@@ -72,7 +72,7 @@ var ValidMessage = exports.ValidMessage = function ValidMessage(_ref3) {
72
72
  }
73
73
  }, (0, _react.jsx)("span", {
74
74
  css: iconWrapperStyle
75
- }, (0, _react.jsx)(_successEditorSuccess.default, {
75
+ }, (0, _react.jsx)(_statusSuccessEditorSuccess.default, {
76
76
  LEGACY_size: "small",
77
77
  label: "success"
78
78
  })), children);
@@ -5,7 +5,7 @@
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { jsx } from '@emotion/react';
8
- import WarningIcon from '@atlaskit/icon/core/migration/warning';
8
+ import WarningIcon from '@atlaskit/icon/core/migration/status-warning--warning';
9
9
  import Tooltip from '@atlaskit/tooltip';
10
10
  import { ICON_SIZE_THRESOLD } from './constants';
11
11
  import { Frame } from './frame';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
- import InfoIcon from '@atlaskit/icon/core/migration/information--info';
3
+ import InfoIcon from '@atlaskit/icon/core/migration/status-information--info';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
5
  import { Box, xcss } from '@atlaskit/primitives';
6
6
  import Tooltip from '@atlaskit/tooltip';
@@ -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.8.6";
4
+ const packageVersion = "107.9.0";
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.8.6";
16
+ const packageVersion = "107.9.0";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -5,8 +5,8 @@
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
- import ErrorIcon from '@atlaskit/icon/core/migration/error';
9
- import SuccessIcon from '@atlaskit/icon/core/migration/success--editor-success';
8
+ import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
9
+ import SuccessIcon from '@atlaskit/icon/core/migration/status-success--editor-success';
10
10
  const errorColor = css({
11
11
  color: "var(--ds-text-danger, #AE2E24)"
12
12
  });
@@ -5,7 +5,7 @@
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { jsx } from '@emotion/react';
8
- import WarningIcon from '@atlaskit/icon/core/migration/warning';
8
+ import WarningIcon from '@atlaskit/icon/core/migration/status-warning--warning';
9
9
  import Tooltip from '@atlaskit/tooltip';
10
10
  import { ICON_SIZE_THRESOLD } from './constants';
11
11
  import { Frame } from './frame';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
- import InfoIcon from '@atlaskit/icon/core/migration/information--info';
3
+ import InfoIcon from '@atlaskit/icon/core/migration/status-information--info';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
5
  import { Box, xcss } from '@atlaskit/primitives';
6
6
  import Tooltip from '@atlaskit/tooltip';
@@ -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.8.6";
10
+ var packageVersion = "107.9.0";
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.8.6";
23
+ var packageVersion = "107.9.0";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -5,8 +5,8 @@
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
- import ErrorIcon from '@atlaskit/icon/core/migration/error';
9
- import SuccessIcon from '@atlaskit/icon/core/migration/success--editor-success';
8
+ import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
9
+ import SuccessIcon from '@atlaskit/icon/core/migration/status-success--editor-success';
10
10
  var errorColor = css({
11
11
  color: "var(--ds-text-danger, #AE2E24)"
12
12
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.9.0",
3
+ "version": "107.9.1",
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/"
@@ -162,7 +162,7 @@
162
162
  "@atlaskit/popper": "^7.1.0",
163
163
  "@atlaskit/primitives": "^14.10.0",
164
164
  "@atlaskit/profilecard": "^23.21.0",
165
- "@atlaskit/react-ufo": "^4.0.0",
165
+ "@atlaskit/react-ufo": "^4.1.0",
166
166
  "@atlaskit/section-message": "^8.2.0",
167
167
  "@atlaskit/smart-card": "^40.4.0",
168
168
  "@atlaskit/smart-user-picker": "^8.0.0",