@atlaskit/editor-common 110.50.2 → 110.50.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,13 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.50.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`279c76567587d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/279c76567587d) -
8
+ [ENGHEALTH-47470] refactor of code to close enghealth ticket
9
+ - Updated dependencies
10
+
3
11
  ## 110.50.2
4
12
 
5
13
  ### Patch Changes
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  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); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "110.50.1";
22
+ var packageVersion = "110.50.2";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // 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 = "110.50.1";
27
+ var packageVersion = "110.50.2";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -62,14 +62,10 @@ var ErrorMessage = exports.ErrorMessage = function ErrorMessage(_ref2) {
62
62
  }
63
63
  }, (0, _react.jsx)("span", {
64
64
  css: iconWrapperStyle
65
- }, (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? (0, _react.jsx)(_statusError.default, {
65
+ }, (0, _react.jsx)(_statusError.default, {
66
66
  LEGACY_size: "small",
67
- label: intl.formatMessage(_messages.default.error)
68
- })
69
- /* eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx */ : (0, _react.jsx)(_statusError.default, {
70
- LEGACY_size: "small",
71
- label: "error",
72
- "aria-label": "error"
67
+ label: (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? intl.formatMessage(_messages.default.error) : "error",
68
+ "aria-label": (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? undefined : "error"
73
69
  })), children);
74
70
  };
75
71
  var ValidMessage = exports.ValidMessage = function ValidMessage(_ref3) {
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "110.50.1";
7
+ const packageVersion = "110.50.2";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // 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 = "110.50.1";
17
+ const packageVersion = "110.50.2";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -51,14 +51,10 @@ export const ErrorMessage = ({
51
51
  }
52
52
  }, jsx("span", {
53
53
  css: iconWrapperStyle
54
- }, fg('platform_editor_dec_a11y_fixes') ? jsx(ErrorIcon, {
54
+ }, jsx(ErrorIcon, {
55
55
  LEGACY_size: "small",
56
- label: intl.formatMessage(commonMessages.error)
57
- })
58
- /* eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx */ : jsx(ErrorIcon, {
59
- LEGACY_size: "small",
60
- label: "error",
61
- "aria-label": "error"
56
+ label: fg('platform_editor_dec_a11y_fixes') ? intl.formatMessage(commonMessages.error) : "error",
57
+ "aria-label": fg('platform_editor_dec_a11y_fixes') ? undefined : "error"
62
58
  })), children);
63
59
  };
64
60
  export const ValidMessage = ({
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "110.50.1";
13
+ var packageVersion = "110.50.2";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // 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 = "110.50.1";
24
+ var packageVersion = "110.50.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -54,14 +54,10 @@ export var ErrorMessage = function ErrorMessage(_ref2) {
54
54
  }
55
55
  }, jsx("span", {
56
56
  css: iconWrapperStyle
57
- }, fg('platform_editor_dec_a11y_fixes') ? jsx(ErrorIcon, {
57
+ }, jsx(ErrorIcon, {
58
58
  LEGACY_size: "small",
59
- label: intl.formatMessage(commonMessages.error)
60
- })
61
- /* eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx */ : jsx(ErrorIcon, {
62
- LEGACY_size: "small",
63
- label: "error",
64
- "aria-label": "error"
59
+ label: fg('platform_editor_dec_a11y_fixes') ? intl.formatMessage(commonMessages.error) : "error",
60
+ "aria-label": fg('platform_editor_dec_a11y_fixes') ? undefined : "error"
65
61
  })), children);
66
62
  };
67
63
  export var ValidMessage = function ValidMessage(_ref3) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.50.2",
3
+ "version": "110.50.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/"