@atlaskit/editor-common 130.4.0 → 130.4.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 +9 -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/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 130.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8299aa1f959e0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8299aa1f959e0) -
|
|
8
|
+
Update the synced content access denied heading and description behind the
|
|
9
|
+
`platform_editor_blocks_patch_12` experiment.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 130.4.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -66,6 +66,16 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntl.defineMessage
|
|
|
66
66
|
defaultMessage: "You don't have access to view the source content of this synced block.",
|
|
67
67
|
description: 'Description for error state where the user does not have permission to view the synced block'
|
|
68
68
|
},
|
|
69
|
+
contentUnavailableHeading: {
|
|
70
|
+
id: 'editor-common.messages.syncBlock.contentUnavailableHeading',
|
|
71
|
+
defaultMessage: 'This synced content is unavailable.',
|
|
72
|
+
description: 'Heading shown when synced content is unavailable due to deletion or permissions'
|
|
73
|
+
},
|
|
74
|
+
contentUnavailableDescription: {
|
|
75
|
+
id: 'editor-common.messages.syncBlock.contentUnavailableDescription',
|
|
76
|
+
defaultMessage: 'The source might be deleted, or you may not have permission to view it.',
|
|
77
|
+
description: 'Explains that synced source content may be deleted or inaccessible to the current user'
|
|
78
|
+
},
|
|
69
79
|
permissionDeniedAltText: {
|
|
70
80
|
id: 'fabric.editor.syncedBlockPermissionDeniedIconAltText',
|
|
71
81
|
defaultMessage: 'Permission denied.',
|
|
@@ -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 = "130.
|
|
30
|
+
var packageVersion = "130.4.0";
|
|
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 = "130.
|
|
27
|
+
var packageVersion = "130.4.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -60,6 +60,16 @@ export const syncBlockMessages = defineMessages({
|
|
|
60
60
|
defaultMessage: "You don't have access to view the source content of this synced block.",
|
|
61
61
|
description: 'Description for error state where the user does not have permission to view the synced block'
|
|
62
62
|
},
|
|
63
|
+
contentUnavailableHeading: {
|
|
64
|
+
id: 'editor-common.messages.syncBlock.contentUnavailableHeading',
|
|
65
|
+
defaultMessage: 'This synced content is unavailable.',
|
|
66
|
+
description: 'Heading shown when synced content is unavailable due to deletion or permissions'
|
|
67
|
+
},
|
|
68
|
+
contentUnavailableDescription: {
|
|
69
|
+
id: 'editor-common.messages.syncBlock.contentUnavailableDescription',
|
|
70
|
+
defaultMessage: 'The source might be deleted, or you may not have permission to view it.',
|
|
71
|
+
description: 'Explains that synced source content may be deleted or inaccessible to the current user'
|
|
72
|
+
},
|
|
63
73
|
permissionDeniedAltText: {
|
|
64
74
|
id: 'fabric.editor.syncedBlockPermissionDeniedIconAltText',
|
|
65
75
|
defaultMessage: 'Permission denied.',
|
|
@@ -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 = "130.
|
|
16
|
+
const packageVersion = "130.4.0";
|
|
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 = "130.
|
|
17
|
+
const packageVersion = "130.4.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -60,6 +60,16 @@ export var syncBlockMessages = defineMessages({
|
|
|
60
60
|
defaultMessage: "You don't have access to view the source content of this synced block.",
|
|
61
61
|
description: 'Description for error state where the user does not have permission to view the synced block'
|
|
62
62
|
},
|
|
63
|
+
contentUnavailableHeading: {
|
|
64
|
+
id: 'editor-common.messages.syncBlock.contentUnavailableHeading',
|
|
65
|
+
defaultMessage: 'This synced content is unavailable.',
|
|
66
|
+
description: 'Heading shown when synced content is unavailable due to deletion or permissions'
|
|
67
|
+
},
|
|
68
|
+
contentUnavailableDescription: {
|
|
69
|
+
id: 'editor-common.messages.syncBlock.contentUnavailableDescription',
|
|
70
|
+
defaultMessage: 'The source might be deleted, or you may not have permission to view it.',
|
|
71
|
+
description: 'Explains that synced source content may be deleted or inaccessible to the current user'
|
|
72
|
+
},
|
|
63
73
|
permissionDeniedAltText: {
|
|
64
74
|
id: 'fabric.editor.syncedBlockPermissionDeniedIconAltText',
|
|
65
75
|
defaultMessage: 'Permission denied.',
|
|
@@ -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 = "130.
|
|
22
|
+
var packageVersion = "130.4.0";
|
|
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 = "130.
|
|
24
|
+
var packageVersion = "130.4.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -44,6 +44,16 @@ export declare const syncBlockMessages: {
|
|
|
44
44
|
description: string;
|
|
45
45
|
id: string;
|
|
46
46
|
};
|
|
47
|
+
contentUnavailableDescription: {
|
|
48
|
+
defaultMessage: string;
|
|
49
|
+
description: string;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
contentUnavailableHeading: {
|
|
53
|
+
defaultMessage: string;
|
|
54
|
+
description: string;
|
|
55
|
+
id: string;
|
|
56
|
+
};
|
|
47
57
|
copySyncBlockLabel: {
|
|
48
58
|
defaultMessage: string;
|
|
49
59
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "130.4.
|
|
3
|
+
"version": "130.4.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/"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/media-picker": "^73.0.0",
|
|
66
66
|
"@atlaskit/media-ui": "^31.3.0",
|
|
67
67
|
"@atlaskit/media-viewer": "^54.11.0",
|
|
68
|
-
"@atlaskit/mention": "^30.
|
|
68
|
+
"@atlaskit/mention": "^30.2.0",
|
|
69
69
|
"@atlaskit/menu": "^11.0.0",
|
|
70
70
|
"@atlaskit/object": "^2.3.0",
|
|
71
71
|
"@atlaskit/onboarding": "^15.4.0",
|