@atlaskit/editor-common 123.7.1 → 123.8.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 +22 -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 +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 123.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ef5742162c47b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef5742162c47b) -
|
|
8
|
+
EDITOR-9184: Make the synced locations dropdown field-aware for Jira work items, behind the
|
|
9
|
+
`editor_synced_blocks_jira_custom_rich_text` experiment. Each Jira location's title and tooltip
|
|
10
|
+
name the work item field holding the block, a location in the field being viewed reads "This work
|
|
11
|
+
item field" and one in another field of the same work item reads "This work item"; `editor-common`
|
|
12
|
+
gains the three `syncBlockMessages` descriptors this uses. With the experiment off the dropdown
|
|
13
|
+
renders as before.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 123.7.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 123.7.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -401,6 +401,16 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntl.defineMessage
|
|
|
401
401
|
defaultMessage: 'This work item',
|
|
402
402
|
description: 'Note shown next to the work item title in the synced location dropdown option when the sync block is on the current work item'
|
|
403
403
|
},
|
|
404
|
+
syncedLocationDropdownTitleNoteForJiraWorkItemField: {
|
|
405
|
+
id: 'fabric.editor.syncedLocationDropdownTitleNoteForJiraWorkItemField',
|
|
406
|
+
defaultMessage: 'This work item field',
|
|
407
|
+
description: 'Note shown next to the work item title in the synced location dropdown option when the sync block is in the same field of the current work item'
|
|
408
|
+
},
|
|
409
|
+
syncedLocationDropdownTooltipFieldName: {
|
|
410
|
+
id: 'fabric.editor.syncedLocationDropdownTooltipFieldName',
|
|
411
|
+
defaultMessage: 'Field: {fieldName}',
|
|
412
|
+
description: 'Second line of the tooltip on a synced location dropdown option, naming the Jira work item field that holds the sync block'
|
|
413
|
+
},
|
|
404
414
|
syncedLocationDropdownSourceLozenge: {
|
|
405
415
|
id: 'fabric.editor.syncedLocationDropdownSourceLozenge',
|
|
406
416
|
defaultMessage: 'Source',
|
|
@@ -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 = "123.7.
|
|
30
|
+
var packageVersion = "123.7.2";
|
|
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 = "123.7.
|
|
27
|
+
var packageVersion = "123.7.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -395,6 +395,16 @@ export const syncBlockMessages = defineMessages({
|
|
|
395
395
|
defaultMessage: 'This work item',
|
|
396
396
|
description: 'Note shown next to the work item title in the synced location dropdown option when the sync block is on the current work item'
|
|
397
397
|
},
|
|
398
|
+
syncedLocationDropdownTitleNoteForJiraWorkItemField: {
|
|
399
|
+
id: 'fabric.editor.syncedLocationDropdownTitleNoteForJiraWorkItemField',
|
|
400
|
+
defaultMessage: 'This work item field',
|
|
401
|
+
description: 'Note shown next to the work item title in the synced location dropdown option when the sync block is in the same field of the current work item'
|
|
402
|
+
},
|
|
403
|
+
syncedLocationDropdownTooltipFieldName: {
|
|
404
|
+
id: 'fabric.editor.syncedLocationDropdownTooltipFieldName',
|
|
405
|
+
defaultMessage: 'Field: {fieldName}',
|
|
406
|
+
description: 'Second line of the tooltip on a synced location dropdown option, naming the Jira work item field that holds the sync block'
|
|
407
|
+
},
|
|
398
408
|
syncedLocationDropdownSourceLozenge: {
|
|
399
409
|
id: 'fabric.editor.syncedLocationDropdownSourceLozenge',
|
|
400
410
|
defaultMessage: 'Source',
|
|
@@ -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 = "123.7.
|
|
16
|
+
const packageVersion = "123.7.2";
|
|
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 = "123.7.
|
|
17
|
+
const packageVersion = "123.7.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -395,6 +395,16 @@ export var syncBlockMessages = defineMessages({
|
|
|
395
395
|
defaultMessage: 'This work item',
|
|
396
396
|
description: 'Note shown next to the work item title in the synced location dropdown option when the sync block is on the current work item'
|
|
397
397
|
},
|
|
398
|
+
syncedLocationDropdownTitleNoteForJiraWorkItemField: {
|
|
399
|
+
id: 'fabric.editor.syncedLocationDropdownTitleNoteForJiraWorkItemField',
|
|
400
|
+
defaultMessage: 'This work item field',
|
|
401
|
+
description: 'Note shown next to the work item title in the synced location dropdown option when the sync block is in the same field of the current work item'
|
|
402
|
+
},
|
|
403
|
+
syncedLocationDropdownTooltipFieldName: {
|
|
404
|
+
id: 'fabric.editor.syncedLocationDropdownTooltipFieldName',
|
|
405
|
+
defaultMessage: 'Field: {fieldName}',
|
|
406
|
+
description: 'Second line of the tooltip on a synced location dropdown option, naming the Jira work item field that holds the sync block'
|
|
407
|
+
},
|
|
398
408
|
syncedLocationDropdownSourceLozenge: {
|
|
399
409
|
id: 'fabric.editor.syncedLocationDropdownSourceLozenge',
|
|
400
410
|
defaultMessage: 'Source',
|
|
@@ -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 = "123.7.
|
|
22
|
+
var packageVersion = "123.7.2";
|
|
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 = "123.7.
|
|
24
|
+
var packageVersion = "123.7.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -459,11 +459,21 @@ export declare const syncBlockMessages: {
|
|
|
459
459
|
description: string;
|
|
460
460
|
id: string;
|
|
461
461
|
};
|
|
462
|
+
syncedLocationDropdownTitleNoteForJiraWorkItemField: {
|
|
463
|
+
defaultMessage: string;
|
|
464
|
+
description: string;
|
|
465
|
+
id: string;
|
|
466
|
+
};
|
|
462
467
|
syncedLocationDropdownTitleWithCount: {
|
|
463
468
|
defaultMessage: string;
|
|
464
469
|
description: string;
|
|
465
470
|
id: string;
|
|
466
471
|
};
|
|
472
|
+
syncedLocationDropdownTooltipFieldName: {
|
|
473
|
+
defaultMessage: string;
|
|
474
|
+
description: string;
|
|
475
|
+
id: string;
|
|
476
|
+
};
|
|
467
477
|
syncedLocationDropdownUntitledPage: {
|
|
468
478
|
defaultMessage: string;
|
|
469
479
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "123.
|
|
3
|
+
"version": "123.8.0",
|
|
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/"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
74
74
|
"@atlaskit/popper": "^9.4.0",
|
|
75
75
|
"@atlaskit/primitives": "^22.5.0",
|
|
76
|
-
"@atlaskit/profilecard": "^26.
|
|
76
|
+
"@atlaskit/profilecard": "^26.25.0",
|
|
77
77
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
78
78
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
79
79
|
"@atlaskit/react-ufo": "^7.13.0",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"@atlaskit/task-decision": "^21.10.0",
|
|
85
85
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
86
86
|
"@atlaskit/textfield": "^10.2.0",
|
|
87
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
88
|
-
"@atlaskit/tokens": "^
|
|
87
|
+
"@atlaskit/tmp-editor-statsig": "^203.0.0",
|
|
88
|
+
"@atlaskit/tokens": "^19.0.0",
|
|
89
89
|
"@atlaskit/tooltip": "^24.3.0",
|
|
90
90
|
"@atlaskit/width-detector": "^7.2.0",
|
|
91
91
|
"@babel/runtime": "^7.0.0",
|