@atlaskit/editor-common 87.3.4 → 87.3.5
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 +8 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/background-color.js +1 -17
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/background-color.js +1 -17
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/background-color.js +1 -17
- package/dist/esm/ui/DropList/index.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 87.3.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#126974](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126974)
|
|
8
|
+
[`8730c454c41f7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8730c454c41f7) -
|
|
9
|
+
[ux] [ED-24386] Clean up FF platform.editor.review-text-highlighting-styling
|
|
10
|
+
|
|
3
11
|
## 87.3.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "87.3.
|
|
20
|
+
var packageVersion = "87.3.5";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -5,12 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.backgroundColorStyles = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
9
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
9
|
|
|
11
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
11
|
var backgroundColorStyles = exports.backgroundColorStyles = function backgroundColorStyles() {
|
|
13
|
-
return (0,
|
|
12
|
+
return (0, _react.css)({
|
|
14
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
15
14
|
'.fabric-background-color-mark': {
|
|
16
15
|
backgroundColor: 'var(--custom-palette-color, inherit)',
|
|
@@ -31,20 +30,5 @@ var backgroundColorStyles = exports.backgroundColorStyles = function backgroundC
|
|
|
31
30
|
'.fabric-background-color-mark .ak-editor-annotation': {
|
|
32
31
|
backgroundColor: 'unset'
|
|
33
32
|
}
|
|
34
|
-
}) : (0, _react.css)({
|
|
35
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
36
|
-
'.fabric-background-color-mark': {
|
|
37
|
-
backgroundColor: 'var(--custom-palette-color, inherit)'
|
|
38
|
-
},
|
|
39
|
-
// Don't show text highlight styling when there is a hyperlink
|
|
40
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
41
|
-
'a .fabric-background-color-mark': {
|
|
42
|
-
backgroundColor: 'unset'
|
|
43
|
-
},
|
|
44
|
-
// Don't show text highlight styling when there is an inline comment
|
|
45
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
46
|
-
'.fabric-background-color-mark .ak-editor-annotation': {
|
|
47
|
-
backgroundColor: 'unset'
|
|
48
|
-
}
|
|
49
33
|
});
|
|
50
34
|
};
|
|
@@ -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 = "87.3.
|
|
26
|
+
var packageVersion = "87.3.5";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -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 = "87.3.
|
|
4
|
+
const packageVersion = "87.3.5";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
|
|
5
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
5
|
export const backgroundColorStyles = () => {
|
|
7
|
-
return
|
|
6
|
+
return css({
|
|
8
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
9
8
|
'.fabric-background-color-mark': {
|
|
10
9
|
backgroundColor: 'var(--custom-palette-color, inherit)',
|
|
@@ -25,20 +24,5 @@ export const backgroundColorStyles = () => {
|
|
|
25
24
|
'.fabric-background-color-mark .ak-editor-annotation': {
|
|
26
25
|
backgroundColor: 'unset'
|
|
27
26
|
}
|
|
28
|
-
}) : css({
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
30
|
-
'.fabric-background-color-mark': {
|
|
31
|
-
backgroundColor: 'var(--custom-palette-color, inherit)'
|
|
32
|
-
},
|
|
33
|
-
// Don't show text highlight styling when there is a hyperlink
|
|
34
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
35
|
-
'a .fabric-background-color-mark': {
|
|
36
|
-
backgroundColor: 'unset'
|
|
37
|
-
},
|
|
38
|
-
// Don't show text highlight styling when there is an inline comment
|
|
39
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
40
|
-
'.fabric-background-color-mark .ak-editor-annotation': {
|
|
41
|
-
backgroundColor: 'unset'
|
|
42
|
-
}
|
|
43
27
|
});
|
|
44
28
|
};
|
|
@@ -12,7 +12,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
12
12
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
13
13
|
import Layer from '../Layer';
|
|
14
14
|
const packageName = "@atlaskit/editor-common";
|
|
15
|
-
const packageVersion = "87.3.
|
|
15
|
+
const packageVersion = "87.3.5";
|
|
16
16
|
const halfFocusRing = 1;
|
|
17
17
|
const dropOffset = '0, 8';
|
|
18
18
|
class DropList extends Component {
|
|
@@ -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 = "87.3.
|
|
10
|
+
var packageVersion = "87.3.5";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
|
|
5
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
5
|
export var backgroundColorStyles = function backgroundColorStyles() {
|
|
7
|
-
return
|
|
6
|
+
return css({
|
|
8
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
9
8
|
'.fabric-background-color-mark': {
|
|
10
9
|
backgroundColor: 'var(--custom-palette-color, inherit)',
|
|
@@ -25,20 +24,5 @@ export var backgroundColorStyles = function backgroundColorStyles() {
|
|
|
25
24
|
'.fabric-background-color-mark .ak-editor-annotation': {
|
|
26
25
|
backgroundColor: 'unset'
|
|
27
26
|
}
|
|
28
|
-
}) : css({
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
30
|
-
'.fabric-background-color-mark': {
|
|
31
|
-
backgroundColor: 'var(--custom-palette-color, inherit)'
|
|
32
|
-
},
|
|
33
|
-
// Don't show text highlight styling when there is a hyperlink
|
|
34
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
35
|
-
'a .fabric-background-color-mark': {
|
|
36
|
-
backgroundColor: 'unset'
|
|
37
|
-
},
|
|
38
|
-
// Don't show text highlight styling when there is an inline comment
|
|
39
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
40
|
-
'.fabric-background-color-mark .ak-editor-annotation': {
|
|
41
|
-
backgroundColor: 'unset'
|
|
42
|
-
}
|
|
43
27
|
});
|
|
44
28
|
};
|
|
@@ -20,7 +20,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
20
20
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "87.3.
|
|
23
|
+
var packageVersion = "87.3.5";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "87.3.
|
|
3
|
+
"version": "87.3.5",
|
|
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/"
|
|
@@ -254,9 +254,6 @@
|
|
|
254
254
|
"platform_editor_a11y_table_context_menu": {
|
|
255
255
|
"type": "boolean"
|
|
256
256
|
},
|
|
257
|
-
"platform.editor.review-text-highlighting-styling": {
|
|
258
|
-
"type": "boolean"
|
|
259
|
-
},
|
|
260
257
|
"react_18_color_picker_concurrent_mode": {
|
|
261
258
|
"type": "boolean"
|
|
262
259
|
},
|