@atlaskit/editor-common 86.5.1 → 86.6.0
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/utils/browser.js +3 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/browser.js +3 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/browser.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 86.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#123621](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123621)
|
|
8
|
+
[`4184bd66727cb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4184bd66727cb) -
|
|
9
|
+
Update drag preview opacity on windows
|
|
10
|
+
|
|
3
11
|
## 86.5.1
|
|
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 = "86.
|
|
20
|
+
var packageVersion = "86.6.0";
|
|
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
|
|
@@ -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 = "86.
|
|
26
|
+
var packageVersion = "86.6.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var result = {
|
|
8
8
|
mac: false,
|
|
9
|
+
windows: false,
|
|
9
10
|
ie: false,
|
|
10
11
|
ie_version: 0,
|
|
11
12
|
gecko: false,
|
|
@@ -21,10 +22,12 @@ var result = {
|
|
|
21
22
|
supportsResizeObserver: false
|
|
22
23
|
};
|
|
23
24
|
if (typeof navigator !== 'undefined') {
|
|
25
|
+
var _userAgentData;
|
|
24
26
|
var ieEdge = /Edge\/(\d+)/.exec(navigator.userAgent);
|
|
25
27
|
var ieUpTo10 = /MSIE \d/.test(navigator.userAgent);
|
|
26
28
|
var ie11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
27
29
|
result.mac = /Mac/.test(navigator.platform);
|
|
30
|
+
result.windows = ((_userAgentData = navigator.userAgentData) === null || _userAgentData === void 0 ? void 0 : _userAgentData.platform) === 'Windows' || /Windows|Win\d+/i.test(navigator.userAgent);
|
|
28
31
|
var ie = result.ie = !!(ieUpTo10 || ie11up || ieEdge);
|
|
29
32
|
result.ie_version = ieUpTo10 ? document.documentMode || 6 : ie11up ? +ie11up[1] : ieEdge ? +ieEdge[1] : null;
|
|
30
33
|
result.gecko = !ie && /gecko\/\d/i.test(navigator.userAgent);
|
|
@@ -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 = "86.
|
|
4
|
+
const packageVersion = "86.6.0";
|
|
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
|
|
@@ -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 = "86.
|
|
15
|
+
const packageVersion = "86.6.0";
|
|
16
16
|
const halfFocusRing = 1;
|
|
17
17
|
const dropOffset = '0, 8';
|
|
18
18
|
class DropList extends Component {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const result = {
|
|
2
2
|
mac: false,
|
|
3
|
+
windows: false,
|
|
3
4
|
ie: false,
|
|
4
5
|
ie_version: 0,
|
|
5
6
|
gecko: false,
|
|
@@ -15,10 +16,12 @@ const result = {
|
|
|
15
16
|
supportsResizeObserver: false
|
|
16
17
|
};
|
|
17
18
|
if (typeof navigator !== 'undefined') {
|
|
19
|
+
var _userAgentData;
|
|
18
20
|
const ieEdge = /Edge\/(\d+)/.exec(navigator.userAgent);
|
|
19
21
|
const ieUpTo10 = /MSIE \d/.test(navigator.userAgent);
|
|
20
22
|
const ie11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
21
23
|
result.mac = /Mac/.test(navigator.platform);
|
|
24
|
+
result.windows = ((_userAgentData = navigator.userAgentData) === null || _userAgentData === void 0 ? void 0 : _userAgentData.platform) === 'Windows' || /Windows|Win\d+/i.test(navigator.userAgent);
|
|
22
25
|
let ie = result.ie = !!(ieUpTo10 || ie11up || ieEdge);
|
|
23
26
|
result.ie_version = ieUpTo10 ? document.documentMode || 6 : ie11up ? +ie11up[1] : ieEdge ? +ieEdge[1] : null;
|
|
24
27
|
result.gecko = !ie && /gecko\/\d/i.test(navigator.userAgent);
|
|
@@ -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 = "86.
|
|
10
|
+
var packageVersion = "86.6.0";
|
|
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
|
|
@@ -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 = "86.
|
|
23
|
+
var packageVersion = "86.6.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
var result = {
|
|
2
2
|
mac: false,
|
|
3
|
+
windows: false,
|
|
3
4
|
ie: false,
|
|
4
5
|
ie_version: 0,
|
|
5
6
|
gecko: false,
|
|
@@ -15,10 +16,12 @@ var result = {
|
|
|
15
16
|
supportsResizeObserver: false
|
|
16
17
|
};
|
|
17
18
|
if (typeof navigator !== 'undefined') {
|
|
19
|
+
var _userAgentData;
|
|
18
20
|
var ieEdge = /Edge\/(\d+)/.exec(navigator.userAgent);
|
|
19
21
|
var ieUpTo10 = /MSIE \d/.test(navigator.userAgent);
|
|
20
22
|
var ie11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
21
23
|
result.mac = /Mac/.test(navigator.platform);
|
|
24
|
+
result.windows = ((_userAgentData = navigator.userAgentData) === null || _userAgentData === void 0 ? void 0 : _userAgentData.platform) === 'Windows' || /Windows|Win\d+/i.test(navigator.userAgent);
|
|
22
25
|
var ie = result.ie = !!(ieUpTo10 || ie11up || ieEdge);
|
|
23
26
|
result.ie_version = ieUpTo10 ? document.documentMode || 6 : ie11up ? +ie11up[1] : ieEdge ? +ieEdge[1] : null;
|
|
24
27
|
result.gecko = !ie && /gecko\/\d/i.test(navigator.userAgent);
|
package/package.json
CHANGED