@atlaskit/editor-common 117.1.0 → 117.1.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 +10 -0
- package/dist/cjs/messages/avatar-group.js +5 -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/avatar-group.js +5 -0
- 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/avatar-group.js +5 -0
- 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/collab/index.d.ts +2 -0
- package/dist/types/messages/avatar-group.d.ts +7 -2
- package/dist/types/messages/syncBlock.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 117.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7167e21d35f98`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7167e21d35f98) -
|
|
8
|
+
Include the source block in synced location toolbar counts and explain the empty state in a
|
|
9
|
+
tooltip
|
|
10
|
+
- [`66dd767196a39`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/66dd767196a39) -
|
|
11
|
+
Receive actingUserId and populate as required
|
|
12
|
+
|
|
3
13
|
## 117.1.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -15,5 +15,10 @@ var avatarGroupMessages = exports.avatarGroupMessages = (0, _reactIntl.defineMes
|
|
|
15
15
|
id: 'fabric.editor.anonymous-collaborator',
|
|
16
16
|
defaultMessage: 'Anonymous collaborator',
|
|
17
17
|
description: 'The name of an anonymous collaborator, used when the participant name is not specified'
|
|
18
|
+
},
|
|
19
|
+
agentWithUser: {
|
|
20
|
+
id: 'fabric.editor.agent-with-user',
|
|
21
|
+
defaultMessage: '{agentName} with {userName}',
|
|
22
|
+
description: 'Tooltip text for an agent avatar in the editor presence avatar group. The agentName placeholder is the AI agent display name. The userName placeholder is the display name of the user the agent is acting on behalf of.'
|
|
18
23
|
}
|
|
19
24
|
});
|
|
@@ -331,6 +331,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntl.defineMessage
|
|
|
331
331
|
defaultMessage: 'Loading synced locations',
|
|
332
332
|
description: 'Accessible label for the spinner while synced locations are loading.'
|
|
333
333
|
},
|
|
334
|
+
syncedLocationDropdownNoReferencesTooltip: {
|
|
335
|
+
id: 'editor-common.messages.syncBlock.syncedLocationDropdownNoReferencesTooltip.ai-non-final',
|
|
336
|
+
defaultMessage: 'Not yet synced to any other locations',
|
|
337
|
+
description: 'Tooltip for the synced locations toolbar button when the selected synced block has no references.'
|
|
338
|
+
},
|
|
334
339
|
syncedLocationDropdownHeading: {
|
|
335
340
|
id: 'fabric.editor.syncedLocationDropdownHeading',
|
|
336
341
|
defaultMessage: '{count} locations:',
|
|
@@ -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.0
|
|
31
|
+
var packageVersion = "117.1.0";
|
|
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.0
|
|
27
|
+
var packageVersion = "117.1.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -9,5 +9,10 @@ export const avatarGroupMessages = defineMessages({
|
|
|
9
9
|
id: 'fabric.editor.anonymous-collaborator',
|
|
10
10
|
defaultMessage: 'Anonymous collaborator',
|
|
11
11
|
description: 'The name of an anonymous collaborator, used when the participant name is not specified'
|
|
12
|
+
},
|
|
13
|
+
agentWithUser: {
|
|
14
|
+
id: 'fabric.editor.agent-with-user',
|
|
15
|
+
defaultMessage: '{agentName} with {userName}',
|
|
16
|
+
description: 'Tooltip text for an agent avatar in the editor presence avatar group. The agentName placeholder is the AI agent display name. The userName placeholder is the display name of the user the agent is acting on behalf of.'
|
|
12
17
|
}
|
|
13
18
|
});
|
|
@@ -325,6 +325,11 @@ export const syncBlockMessages = defineMessages({
|
|
|
325
325
|
defaultMessage: 'Loading synced locations',
|
|
326
326
|
description: 'Accessible label for the spinner while synced locations are loading.'
|
|
327
327
|
},
|
|
328
|
+
syncedLocationDropdownNoReferencesTooltip: {
|
|
329
|
+
id: 'editor-common.messages.syncBlock.syncedLocationDropdownNoReferencesTooltip.ai-non-final',
|
|
330
|
+
defaultMessage: 'Not yet synced to any other locations',
|
|
331
|
+
description: 'Tooltip for the synced locations toolbar button when the selected synced block has no references.'
|
|
332
|
+
},
|
|
328
333
|
syncedLocationDropdownHeading: {
|
|
329
334
|
id: 'fabric.editor.syncedLocationDropdownHeading',
|
|
330
335
|
defaultMessage: '{count} locations:',
|
|
@@ -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.0
|
|
17
|
+
const packageVersion = "117.1.0";
|
|
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.0
|
|
17
|
+
const packageVersion = "117.1.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -9,5 +9,10 @@ export var avatarGroupMessages = defineMessages({
|
|
|
9
9
|
id: 'fabric.editor.anonymous-collaborator',
|
|
10
10
|
defaultMessage: 'Anonymous collaborator',
|
|
11
11
|
description: 'The name of an anonymous collaborator, used when the participant name is not specified'
|
|
12
|
+
},
|
|
13
|
+
agentWithUser: {
|
|
14
|
+
id: 'fabric.editor.agent-with-user',
|
|
15
|
+
defaultMessage: '{agentName} with {userName}',
|
|
16
|
+
description: 'Tooltip text for an agent avatar in the editor presence avatar group. The agentName placeholder is the AI agent display name. The userName placeholder is the display name of the user the agent is acting on behalf of.'
|
|
12
17
|
}
|
|
13
18
|
});
|
|
@@ -325,6 +325,11 @@ export var syncBlockMessages = defineMessages({
|
|
|
325
325
|
defaultMessage: 'Loading synced locations',
|
|
326
326
|
description: 'Accessible label for the spinner while synced locations are loading.'
|
|
327
327
|
},
|
|
328
|
+
syncedLocationDropdownNoReferencesTooltip: {
|
|
329
|
+
id: 'editor-common.messages.syncBlock.syncedLocationDropdownNoReferencesTooltip.ai-non-final',
|
|
330
|
+
defaultMessage: 'Not yet synced to any other locations',
|
|
331
|
+
description: 'Tooltip for the synced locations toolbar button when the selected synced block has no references.'
|
|
332
|
+
},
|
|
328
333
|
syncedLocationDropdownHeading: {
|
|
329
334
|
id: 'fabric.editor.syncedLocationDropdownHeading',
|
|
330
335
|
defaultMessage: '{count} locations:',
|
|
@@ -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.0
|
|
23
|
+
var packageVersion = "117.1.0";
|
|
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.0
|
|
24
|
+
var packageVersion = "117.1.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -376,6 +376,7 @@ type ProviderParticipantPermitLevel = {
|
|
|
376
376
|
isPermittedToView?: boolean;
|
|
377
377
|
};
|
|
378
378
|
export interface CollabParticipant {
|
|
379
|
+
actingUserId?: string;
|
|
379
380
|
avatar: string;
|
|
380
381
|
cursorPos?: number;
|
|
381
382
|
isGuest?: boolean;
|
|
@@ -386,6 +387,7 @@ export interface CollabParticipant {
|
|
|
386
387
|
presenceActivity?: PresenceActivity;
|
|
387
388
|
presenceId?: string;
|
|
388
389
|
sessionId: string;
|
|
390
|
+
userId?: string;
|
|
389
391
|
}
|
|
390
392
|
export type ProviderParticipant = CollabParticipant & {
|
|
391
393
|
clientId: number | string;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
export declare const avatarGroupMessages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
agentWithUser: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
5
|
+
id: string;
|
|
6
6
|
};
|
|
7
7
|
anonymousCollaborator: {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
8
10
|
id: string;
|
|
11
|
+
};
|
|
12
|
+
editors: {
|
|
9
13
|
defaultMessage: string;
|
|
10
14
|
description: string;
|
|
15
|
+
id: string;
|
|
11
16
|
};
|
|
12
17
|
};
|
|
@@ -409,6 +409,11 @@ export declare const syncBlockMessages: {
|
|
|
409
409
|
description: string;
|
|
410
410
|
id: string;
|
|
411
411
|
};
|
|
412
|
+
syncedLocationDropdownNoReferencesTooltip: {
|
|
413
|
+
defaultMessage: string;
|
|
414
|
+
description: string;
|
|
415
|
+
id: string;
|
|
416
|
+
};
|
|
412
417
|
syncedLocationDropdownNoResults: {
|
|
413
418
|
defaultMessage: string;
|
|
414
419
|
description: string;
|
package/package.json
CHANGED