@atlaskit/editor-common 123.4.1 → 123.4.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 +9 -0
- package/dist/cjs/media-single/CommentBadge.js +1 -1
- package/dist/cjs/media-single/CommentBadgeNext.js +2 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/media-single/CommentBadge.js +1 -1
- package/dist/es2019/media-single/CommentBadgeNext.js +2 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/media-single/CommentBadge.js +1 -1
- package/dist/esm/media-single/CommentBadgeNext.js +2 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 123.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`64df9f13a541c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64df9f13a541c) -
|
|
8
|
+
[ux] Use the yellow accent icon token for the media comment badge icon instead of inheriting
|
|
9
|
+
`currentColor`. Gated behind the `cc_comments_media_viewer_sidebar` experiment; with the
|
|
10
|
+
experiment off both `CommentBadge` and `CommentBadgeNext` keep the existing `currentColor` icon.
|
|
11
|
+
|
|
3
12
|
## 123.4.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -129,7 +129,7 @@ var CommentBadge = exports.CommentBadge = /*#__PURE__*/(0, _react.forwardRef)(fu
|
|
|
129
129
|
iconAfter: (0, _react2.jsx)(_comment.default, {
|
|
130
130
|
label: title,
|
|
131
131
|
spacing: "spacious",
|
|
132
|
-
color: "currentColor
|
|
132
|
+
color: (0, _isExperimentEnabled.isExperimentEnabled)('cc_comments_media_viewer_sidebar') ? "var(--ds-icon-accent-yellow, #B38600)" : 'currentColor'
|
|
133
133
|
})
|
|
134
134
|
})));
|
|
135
135
|
});
|
|
@@ -9,6 +9,7 @@ exports.CommentBadgeNext = void 0;
|
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _reactIntl = require("react-intl");
|
|
11
11
|
var _comment = _interopRequireDefault(require("@atlaskit/icon/core/comment"));
|
|
12
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
12
13
|
var _primitives = require("@atlaskit/primitives");
|
|
13
14
|
var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
|
|
14
15
|
var _media = require("../media");
|
|
@@ -55,6 +56,6 @@ var CommentBadgeNext = exports.CommentBadgeNext = function CommentBadgeNext(_ref
|
|
|
55
56
|
}, /*#__PURE__*/_react.default.createElement(_comment.default, {
|
|
56
57
|
label: title,
|
|
57
58
|
spacing: "spacious",
|
|
58
|
-
color: "currentColor
|
|
59
|
+
color: (0, _isExperimentEnabled.isExperimentEnabled)('cc_comments_media_viewer_sidebar') ? "var(--ds-icon-accent-yellow, #B38600)" : 'currentColor'
|
|
59
60
|
})));
|
|
60
61
|
};
|
|
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
27
27
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
28
28
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
29
29
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
30
|
-
var packageVersion = "123.4.
|
|
30
|
+
var packageVersion = "123.4.1";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// 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 = "123.4.
|
|
27
|
+
var packageVersion = "123.4.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -106,7 +106,7 @@ export const CommentBadge = /*#__PURE__*/forwardRef(({
|
|
|
106
106
|
iconAfter: jsx(CommentIcon, {
|
|
107
107
|
label: title,
|
|
108
108
|
spacing: "spacious",
|
|
109
|
-
color: "currentColor
|
|
109
|
+
color: isExperimentEnabled('cc_comments_media_viewer_sidebar') ? "var(--ds-icon-accent-yellow, #B38600)" : 'currentColor'
|
|
110
110
|
})
|
|
111
111
|
})));
|
|
112
112
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl';
|
|
3
3
|
import CommentIcon from '@atlaskit/icon/core/comment';
|
|
4
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
4
5
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
6
|
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
6
7
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
@@ -45,6 +46,6 @@ export const CommentBadgeNext = ({
|
|
|
45
46
|
}, /*#__PURE__*/React.createElement(CommentIcon, {
|
|
46
47
|
label: title,
|
|
47
48
|
spacing: "spacious",
|
|
48
|
-
color: "currentColor
|
|
49
|
+
color: isExperimentEnabled('cc_comments_media_viewer_sidebar') ? "var(--ds-icon-accent-yellow, #B38600)" : 'currentColor'
|
|
49
50
|
})));
|
|
50
51
|
};
|
|
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
13
13
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
14
14
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
15
15
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
16
|
-
const packageVersion = "123.4.
|
|
16
|
+
const packageVersion = "123.4.1";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "123.4.
|
|
17
|
+
const packageVersion = "123.4.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -114,7 +114,7 @@ export var CommentBadge = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
114
114
|
iconAfter: jsx(CommentIcon, {
|
|
115
115
|
label: title,
|
|
116
116
|
spacing: "spacious",
|
|
117
|
-
color: "currentColor
|
|
117
|
+
color: isExperimentEnabled('cc_comments_media_viewer_sidebar') ? "var(--ds-icon-accent-yellow, #B38600)" : 'currentColor'
|
|
118
118
|
})
|
|
119
119
|
})));
|
|
120
120
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl';
|
|
3
3
|
import CommentIcon from '@atlaskit/icon/core/comment';
|
|
4
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
4
5
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
6
|
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
6
7
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
@@ -45,6 +46,6 @@ export var CommentBadgeNext = function CommentBadgeNext(_ref) {
|
|
|
45
46
|
}, /*#__PURE__*/React.createElement(CommentIcon, {
|
|
46
47
|
label: title,
|
|
47
48
|
spacing: "spacious",
|
|
48
|
-
color: "currentColor
|
|
49
|
+
color: isExperimentEnabled('cc_comments_media_viewer_sidebar') ? "var(--ds-icon-accent-yellow, #B38600)" : 'currentColor'
|
|
49
50
|
})));
|
|
50
51
|
};
|
|
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
19
19
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
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 = "123.4.
|
|
22
|
+
var packageVersion = "123.4.1";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "123.4.
|
|
24
|
+
var packageVersion = "123.4.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
package/package.json
CHANGED