@atlaskit/editor-common 120.6.1 → 120.6.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 +8 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/OverflowShadow/shadowObserver.js +4 -7
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/OverflowShadow/shadowObserver.js +4 -7
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/OverflowShadow/shadowObserver.js +4 -7
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 120.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ccd6a433ade84`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ccd6a433ade84) -
|
|
8
|
+
Clean up experiment `platform_editor_renderer_shadow_observer_cleanup`.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 120.6.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
28
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
29
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
30
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "120.6.
|
|
31
|
+
var packageVersion = "120.6.1";
|
|
32
32
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
33
|
// Remove URL as it has UGC
|
|
34
34
|
// 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 = "120.6.
|
|
27
|
+
var packageVersion = "120.6.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -20,7 +20,6 @@ Object.defineProperty(exports, "shadowObserverClassNames", {
|
|
|
20
20
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
21
21
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
22
22
|
var _defineProperty3 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
23
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
24
23
|
var _ShadowKeys = require("./ShadowKeys");
|
|
25
24
|
var _shadowObserverClassNames = require("./shadowObserverClassNames");
|
|
26
25
|
var requestIdleCallback = function requestIdleCallback(fn) {
|
|
@@ -84,17 +83,15 @@ var ShadowObserver = exports.ShadowObserver = /*#__PURE__*/function () {
|
|
|
84
83
|
return (0, _createClass2.default)(ShadowObserver, [{
|
|
85
84
|
key: "dispose",
|
|
86
85
|
value: function dispose() {
|
|
86
|
+
var _this$sentinels$left, _this$sentinels$right;
|
|
87
87
|
if (this.intersectionObserver) {
|
|
88
88
|
this.intersectionObserver.disconnect();
|
|
89
89
|
this.intersectionObserver = undefined;
|
|
90
90
|
this.requestCallbackId && cancelIdleCallback(this.requestCallbackId);
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
(_this$sentinels$right = this.sentinels.right) === null || _this$sentinels$right === void 0 || _this$sentinels$right.remove();
|
|
96
|
-
this.sentinels = {};
|
|
97
|
-
}
|
|
92
|
+
(_this$sentinels$left = this.sentinels.left) === null || _this$sentinels$left === void 0 || _this$sentinels$left.remove();
|
|
93
|
+
(_this$sentinels$right = this.sentinels.right) === null || _this$sentinels$right === void 0 || _this$sentinels$right.remove();
|
|
94
|
+
this.sentinels = {};
|
|
98
95
|
}
|
|
99
96
|
}]);
|
|
100
97
|
}(); // eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
14
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
15
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
16
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "120.6.
|
|
17
|
+
const packageVersion = "120.6.1";
|
|
18
18
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
19
|
// Remove URL as it has UGC
|
|
20
20
|
// 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 = "120.6.
|
|
17
|
+
const packageVersion = "120.6.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
2
|
import { ShadowKeys } from './ShadowKeys';
|
|
4
3
|
import { shadowObserverClassNames } from './shadowObserverClassNames';
|
|
5
4
|
const requestIdleCallback = fn => {
|
|
@@ -63,17 +62,15 @@ export class ShadowObserver {
|
|
|
63
62
|
this.init();
|
|
64
63
|
}
|
|
65
64
|
dispose() {
|
|
65
|
+
var _this$sentinels$left, _this$sentinels$right;
|
|
66
66
|
if (this.intersectionObserver) {
|
|
67
67
|
this.intersectionObserver.disconnect();
|
|
68
68
|
this.intersectionObserver = undefined;
|
|
69
69
|
this.requestCallbackId && cancelIdleCallback(this.requestCallbackId);
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
(_this$sentinels$right = this.sentinels.right) === null || _this$sentinels$right === void 0 ? void 0 : _this$sentinels$right.remove();
|
|
75
|
-
this.sentinels = {};
|
|
76
|
-
}
|
|
71
|
+
(_this$sentinels$left = this.sentinels.left) === null || _this$sentinels$left === void 0 ? void 0 : _this$sentinels$left.remove();
|
|
72
|
+
(_this$sentinels$right = this.sentinels.right) === null || _this$sentinels$right === void 0 ? void 0 : _this$sentinels$right.remove();
|
|
73
|
+
this.sentinels = {};
|
|
77
74
|
}
|
|
78
75
|
}
|
|
79
76
|
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "120.6.
|
|
23
|
+
var packageVersion = "120.6.1";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// 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 = "120.6.
|
|
24
|
+
var packageVersion = "120.6.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
5
4
|
import { ShadowKeys } from './ShadowKeys';
|
|
6
5
|
import { shadowObserverClassNames } from './shadowObserverClassNames';
|
|
7
6
|
var requestIdleCallback = function requestIdleCallback(fn) {
|
|
@@ -65,17 +64,15 @@ export var ShadowObserver = /*#__PURE__*/function () {
|
|
|
65
64
|
return _createClass(ShadowObserver, [{
|
|
66
65
|
key: "dispose",
|
|
67
66
|
value: function dispose() {
|
|
67
|
+
var _this$sentinels$left, _this$sentinels$right;
|
|
68
68
|
if (this.intersectionObserver) {
|
|
69
69
|
this.intersectionObserver.disconnect();
|
|
70
70
|
this.intersectionObserver = undefined;
|
|
71
71
|
this.requestCallbackId && cancelIdleCallback(this.requestCallbackId);
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
(_this$sentinels$right = this.sentinels.right) === null || _this$sentinels$right === void 0 || _this$sentinels$right.remove();
|
|
77
|
-
this.sentinels = {};
|
|
78
|
-
}
|
|
73
|
+
(_this$sentinels$left = this.sentinels.left) === null || _this$sentinels$left === void 0 || _this$sentinels$left.remove();
|
|
74
|
+
(_this$sentinels$right = this.sentinels.right) === null || _this$sentinels$right === void 0 || _this$sentinels$right.remove();
|
|
75
|
+
this.sentinels = {};
|
|
79
76
|
}
|
|
80
77
|
}]);
|
|
81
78
|
}();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "120.6.
|
|
3
|
+
"version": "120.6.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/"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
33
33
|
"@atlaskit/adf-utils": "^20.7.0",
|
|
34
34
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.200.0",
|
|
35
|
-
"@atlaskit/analytics-listeners": "^11.
|
|
35
|
+
"@atlaskit/analytics-listeners": "^11.2.0",
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^8.1.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^12.4.0",
|
|
38
38
|
"@atlaskit/atlassian-context": "^1.1.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/task-decision": "^21.8.0",
|
|
85
85
|
"@atlaskit/teams-app-config": "^3.0.0",
|
|
86
86
|
"@atlaskit/textfield": "^10.1.0",
|
|
87
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
87
|
+
"@atlaskit/tmp-editor-statsig": "^166.0.0",
|
|
88
88
|
"@atlaskit/tokens": "^16.8.0",
|
|
89
89
|
"@atlaskit/tooltip": "^24.2.0",
|
|
90
90
|
"@atlaskit/width-detector": "^7.1.0",
|