@atlaskit/editor-common 112.18.0 → 112.18.1
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 +13 -0
- package/dist/cjs/messages/syncBlock.js +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/syncBlock.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/syncBlock.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/syncBlock.d.ts +10 -0
- package/dist/types-ts4.5/messages/syncBlock.d.ts +10 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 112.18.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`20b51bc2e61a4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20b51bc2e61a4) -
|
|
8
|
+
Remove duplicate source synced blocks when inserting block templates with existing resourceIds and
|
|
9
|
+
show error flag
|
|
10
|
+
- [`36aa4e6236ba8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/36aa4e6236ba8) -
|
|
11
|
+
Migrate @atlaskit/onboarding to @atlaskit/spotlight, gate pulse removal behind
|
|
12
|
+
platform_editor_spotlight_migration experiment. Remove dead spotlight config code from floating
|
|
13
|
+
toolbar.
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 112.18.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -407,5 +407,15 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
|
|
|
407
407
|
id: 'fabric.editor.extensionInSyncBlockDescription',
|
|
408
408
|
defaultMessage: "This may happen if your synced block is used in places that don't support certain macros.",
|
|
409
409
|
description: 'Description in flag which appears when an extension is inserted into a synced block'
|
|
410
|
+
},
|
|
411
|
+
duplicateSourceSyncBlockTitle: {
|
|
412
|
+
id: 'fabric.editor.duplicateSourceSyncBlockTitle',
|
|
413
|
+
defaultMessage: 'Duplicate synced block removed',
|
|
414
|
+
description: 'Title in flag which appears when a duplicate source synced block is removed from the document'
|
|
415
|
+
},
|
|
416
|
+
duplicateSourceSyncBlockDescription: {
|
|
417
|
+
id: 'fabric.editor.duplicateSourceSyncBlockDescription',
|
|
418
|
+
defaultMessage: 'Only one source synced block per source is allowed on a page. Use a reference synced block to reuse this content.',
|
|
419
|
+
description: 'Description in flag which appears when a duplicate source synced block is removed from the document'
|
|
410
420
|
}
|
|
411
421
|
});
|
|
@@ -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 = "112.
|
|
22
|
+
var packageVersion = "112.18.0";
|
|
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 = "112.
|
|
27
|
+
var packageVersion = "112.18.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -401,5 +401,15 @@ export const syncBlockMessages = defineMessages({
|
|
|
401
401
|
id: 'fabric.editor.extensionInSyncBlockDescription',
|
|
402
402
|
defaultMessage: "This may happen if your synced block is used in places that don't support certain macros.",
|
|
403
403
|
description: 'Description in flag which appears when an extension is inserted into a synced block'
|
|
404
|
+
},
|
|
405
|
+
duplicateSourceSyncBlockTitle: {
|
|
406
|
+
id: 'fabric.editor.duplicateSourceSyncBlockTitle',
|
|
407
|
+
defaultMessage: 'Duplicate synced block removed',
|
|
408
|
+
description: 'Title in flag which appears when a duplicate source synced block is removed from the document'
|
|
409
|
+
},
|
|
410
|
+
duplicateSourceSyncBlockDescription: {
|
|
411
|
+
id: 'fabric.editor.duplicateSourceSyncBlockDescription',
|
|
412
|
+
defaultMessage: 'Only one source synced block per source is allowed on a page. Use a reference synced block to reuse this content.',
|
|
413
|
+
description: 'Description in flag which appears when a duplicate source synced block is removed from the document'
|
|
404
414
|
}
|
|
405
415
|
});
|
|
@@ -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 = "112.
|
|
7
|
+
const packageVersion = "112.18.0";
|
|
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 = "112.
|
|
17
|
+
const packageVersion = "112.18.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -401,5 +401,15 @@ export var syncBlockMessages = defineMessages({
|
|
|
401
401
|
id: 'fabric.editor.extensionInSyncBlockDescription',
|
|
402
402
|
defaultMessage: "This may happen if your synced block is used in places that don't support certain macros.",
|
|
403
403
|
description: 'Description in flag which appears when an extension is inserted into a synced block'
|
|
404
|
+
},
|
|
405
|
+
duplicateSourceSyncBlockTitle: {
|
|
406
|
+
id: 'fabric.editor.duplicateSourceSyncBlockTitle',
|
|
407
|
+
defaultMessage: 'Duplicate synced block removed',
|
|
408
|
+
description: 'Title in flag which appears when a duplicate source synced block is removed from the document'
|
|
409
|
+
},
|
|
410
|
+
duplicateSourceSyncBlockDescription: {
|
|
411
|
+
id: 'fabric.editor.duplicateSourceSyncBlockDescription',
|
|
412
|
+
defaultMessage: 'Only one source synced block per source is allowed on a page. Use a reference synced block to reuse this content.',
|
|
413
|
+
description: 'Description in flag which appears when a duplicate source synced block is removed from the document'
|
|
404
414
|
}
|
|
405
415
|
});
|
|
@@ -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 = "112.
|
|
13
|
+
var packageVersion = "112.18.0";
|
|
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 = "112.
|
|
24
|
+
var packageVersion = "112.18.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -104,6 +104,16 @@ export declare const syncBlockMessages: {
|
|
|
104
104
|
description: string;
|
|
105
105
|
id: string;
|
|
106
106
|
};
|
|
107
|
+
duplicateSourceSyncBlockDescription: {
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
description: string;
|
|
110
|
+
id: string;
|
|
111
|
+
};
|
|
112
|
+
duplicateSourceSyncBlockTitle: {
|
|
113
|
+
defaultMessage: string;
|
|
114
|
+
description: string;
|
|
115
|
+
id: string;
|
|
116
|
+
};
|
|
107
117
|
editSourceLabel: {
|
|
108
118
|
defaultMessage: string;
|
|
109
119
|
description: string;
|
|
@@ -104,6 +104,16 @@ export declare const syncBlockMessages: {
|
|
|
104
104
|
description: string;
|
|
105
105
|
id: string;
|
|
106
106
|
};
|
|
107
|
+
duplicateSourceSyncBlockDescription: {
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
description: string;
|
|
110
|
+
id: string;
|
|
111
|
+
};
|
|
112
|
+
duplicateSourceSyncBlockTitle: {
|
|
113
|
+
defaultMessage: string;
|
|
114
|
+
description: string;
|
|
115
|
+
id: string;
|
|
116
|
+
};
|
|
107
117
|
editSourceLabel: {
|
|
108
118
|
defaultMessage: string;
|
|
109
119
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "112.18.
|
|
3
|
+
"version": "112.18.1",
|
|
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/"
|
|
@@ -70,16 +70,16 @@
|
|
|
70
70
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
71
71
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
72
72
|
"@atlaskit/primitives": "^18.1.0",
|
|
73
|
-
"@atlaskit/profilecard": "^24.
|
|
73
|
+
"@atlaskit/profilecard": "^24.47.0",
|
|
74
74
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
75
|
-
"@atlaskit/react-ufo": "^5.
|
|
75
|
+
"@atlaskit/react-ufo": "^5.11.0",
|
|
76
76
|
"@atlaskit/section-message": "^8.12.0",
|
|
77
|
-
"@atlaskit/smart-card": "^43.
|
|
77
|
+
"@atlaskit/smart-card": "^43.31.0",
|
|
78
78
|
"@atlaskit/smart-user-picker": "^9.2.0",
|
|
79
79
|
"@atlaskit/spinner": "^19.0.0",
|
|
80
80
|
"@atlaskit/task-decision": "^19.3.0",
|
|
81
81
|
"@atlaskit/textfield": "^8.2.0",
|
|
82
|
-
"@atlaskit/tmp-editor-statsig": "^54.
|
|
82
|
+
"@atlaskit/tmp-editor-statsig": "^54.4.0",
|
|
83
83
|
"@atlaskit/tokens": "^11.4.0",
|
|
84
84
|
"@atlaskit/tooltip": "^21.1.0",
|
|
85
85
|
"@atlaskit/width-detector": "^5.0.0",
|