@atlaskit/editor-common 117.2.0 → 117.2.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 +13 -0
- package/dist/cjs/messages/syncBlock.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/syncBlock.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/syncBlock.js +5 -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 +5 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 117.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 117.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`918ee54b672aa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/918ee54b672aa) -
|
|
14
|
+
Fix synced block delete modal reference counts
|
|
15
|
+
|
|
3
16
|
## 117.2.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -151,6 +151,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntl.defineMessage
|
|
|
151
151
|
defaultMessage: 'If you delete this synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# locations}}. This action is permanent and cannot be undone.',
|
|
152
152
|
description: 'Description of delete confirmation modal that appears when user tries to delete source synced block with multiple references'
|
|
153
153
|
},
|
|
154
|
+
deletionConfirmationModalDescriptionReferenceCount: {
|
|
155
|
+
id: 'fabric.editor.deletionConfirmationModalDescriptionReferenceCount',
|
|
156
|
+
defaultMessage: 'If you delete this source synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}}. This action is permanent and cannot be undone.',
|
|
157
|
+
description: 'Description of delete confirmation modal that explains how many references remain after deleting the source synced block'
|
|
158
|
+
},
|
|
154
159
|
deletionConfirmationModalDescriptionNoRef: {
|
|
155
160
|
id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
|
|
156
161
|
defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
|
|
@@ -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 = "117.
|
|
31
|
+
var packageVersion = "117.2.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 = "117.
|
|
27
|
+
var packageVersion = "117.2.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -145,6 +145,11 @@ export const syncBlockMessages = defineMessages({
|
|
|
145
145
|
defaultMessage: 'If you delete this synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# locations}}. This action is permanent and cannot be undone.',
|
|
146
146
|
description: 'Description of delete confirmation modal that appears when user tries to delete source synced block with multiple references'
|
|
147
147
|
},
|
|
148
|
+
deletionConfirmationModalDescriptionReferenceCount: {
|
|
149
|
+
id: 'fabric.editor.deletionConfirmationModalDescriptionReferenceCount',
|
|
150
|
+
defaultMessage: 'If you delete this source synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}}. This action is permanent and cannot be undone.',
|
|
151
|
+
description: 'Description of delete confirmation modal that explains how many references remain after deleting the source synced block'
|
|
152
|
+
},
|
|
148
153
|
deletionConfirmationModalDescriptionNoRef: {
|
|
149
154
|
id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
|
|
150
155
|
defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
|
|
@@ -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 = "117.
|
|
17
|
+
const packageVersion = "117.2.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';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "117.
|
|
17
|
+
const packageVersion = "117.2.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -145,6 +145,11 @@ export var syncBlockMessages = defineMessages({
|
|
|
145
145
|
defaultMessage: 'If you delete this synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# locations}}. This action is permanent and cannot be undone.',
|
|
146
146
|
description: 'Description of delete confirmation modal that appears when user tries to delete source synced block with multiple references'
|
|
147
147
|
},
|
|
148
|
+
deletionConfirmationModalDescriptionReferenceCount: {
|
|
149
|
+
id: 'fabric.editor.deletionConfirmationModalDescriptionReferenceCount',
|
|
150
|
+
defaultMessage: 'If you delete this source synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}}. This action is permanent and cannot be undone.',
|
|
151
|
+
description: 'Description of delete confirmation modal that explains how many references remain after deleting the source synced block'
|
|
152
|
+
},
|
|
148
153
|
deletionConfirmationModalDescriptionNoRef: {
|
|
149
154
|
id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
|
|
150
155
|
defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
|
|
@@ -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 = "117.
|
|
23
|
+
var packageVersion = "117.2.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';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "117.
|
|
24
|
+
var packageVersion = "117.2.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -109,6 +109,11 @@ export declare const syncBlockMessages: {
|
|
|
109
109
|
description: string;
|
|
110
110
|
id: string;
|
|
111
111
|
};
|
|
112
|
+
deletionConfirmationModalDescriptionReferenceCount: {
|
|
113
|
+
defaultMessage: string;
|
|
114
|
+
description: string;
|
|
115
|
+
id: string;
|
|
116
|
+
};
|
|
112
117
|
deletionConfirmationModalTitleSingle: {
|
|
113
118
|
defaultMessage: string;
|
|
114
119
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "117.2.
|
|
3
|
+
"version": "117.2.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/"
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@atlaskit/task-decision": "^21.8.0",
|
|
84
84
|
"@atlaskit/teams-app-config": "^2.2.0",
|
|
85
85
|
"@atlaskit/textfield": "^10.0.0",
|
|
86
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
86
|
+
"@atlaskit/tmp-editor-statsig": "^140.0.0",
|
|
87
87
|
"@atlaskit/tokens": "^16.3.0",
|
|
88
88
|
"@atlaskit/tooltip": "^24.0.0",
|
|
89
89
|
"@atlaskit/width-detector": "^6.2.0",
|