@atlaskit/editor-plugin-collab-edit 2.6.4 → 3.1.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 +31 -0
- package/dist/cjs/pm-plugins/actions.js +1 -26
- package/dist/cjs/pm-plugins/events/handlers.js +2 -8
- package/dist/es2019/pm-plugins/actions.js +0 -25
- package/dist/es2019/pm-plugins/events/handlers.js +3 -5
- package/dist/esm/pm-plugins/actions.js +0 -25
- package/dist/esm/pm-plugins/events/handlers.js +3 -9
- package/dist/types/pm-plugins/actions.d.ts +1 -16
- package/dist/types/pm-plugins/events/handlers.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/actions.d.ts +1 -16
- package/dist/types-ts4.5/pm-plugins/events/handlers.d.ts +0 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-collab-edit
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#117768](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/117768)
|
|
8
|
+
[`d55a8d95dd68a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d55a8d95dd68a) -
|
|
9
|
+
Add support for presenceActivity changes within collab provider. Remove unused code from original
|
|
10
|
+
presence experiment.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 3.0.0
|
|
17
|
+
|
|
18
|
+
### Major Changes
|
|
19
|
+
|
|
20
|
+
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
|
|
21
|
+
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
|
|
22
|
+
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
|
|
23
|
+
status of only supporting React 18 going forward. No explicit breaking change to React support has
|
|
24
|
+
been made in this release, but this is to signify going forward, breaking changes for React 16 or
|
|
25
|
+
React 17 may come via non-major semver releases.
|
|
26
|
+
|
|
27
|
+
Please refer this community post for more details:
|
|
28
|
+
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
|
|
3
34
|
## 2.6.4
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
|
@@ -4,7 +4,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.registerAllCustomSteps = exports.handleTelePointer = exports.handlePresence = exports.handleInit = exports.handleConnection = exports.
|
|
7
|
+
exports.registerAllCustomSteps = exports.handleTelePointer = exports.handlePresence = exports.handleInit = exports.handleConnection = exports.getSendableSelection = exports.applyRemoteSteps = exports.applyRemoteData = void 0;
|
|
8
8
|
var allAdfSchemaSteps = _interopRequireWildcard(require("@atlaskit/adf-schema/steps"));
|
|
9
9
|
var allAtlaskitCustomSteps = _interopRequireWildcard(require("@atlaskit/custom-steps"));
|
|
10
10
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
@@ -48,31 +48,6 @@ var handlePresence = exports.handlePresence = function handlePresence(presenceDa
|
|
|
48
48
|
var tr = view.state.tr;
|
|
49
49
|
view.dispatch(tr.setMeta('presence', presenceData));
|
|
50
50
|
};
|
|
51
|
-
var ACTIVITY_EDITING = 'EDITING';
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* A Handler for event "activity:ack" forwarded from NCS.
|
|
55
|
-
* This event "activity:ack" is emitted by the existing collaborators in response to a new collaborator
|
|
56
|
-
* joining. It is used to inform the new collaborator about the current actions or states of the existing
|
|
57
|
-
* collaborators, such as viewing or editing.
|
|
58
|
-
*/
|
|
59
|
-
var handleActivityAck = exports.handleActivityAck = function handleActivityAck() {};
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* A Handler for event "activity:join" forwarded from NCS.
|
|
63
|
-
* Existing participant respond to the new joiner with their status.
|
|
64
|
-
* This event "activity:join" is emitted when a new collaborator joins the session. The event carries
|
|
65
|
-
* information about the action the new collaborator is currently doing in the session, such as viewing
|
|
66
|
-
* or editing.
|
|
67
|
-
*/
|
|
68
|
-
var handleActivityJoin = exports.handleActivityJoin = function handleActivityJoin(provider) {
|
|
69
|
-
if (provider) {
|
|
70
|
-
provider.sendMessage({
|
|
71
|
-
type: 'activity:ack',
|
|
72
|
-
activity: ACTIVITY_EDITING
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
51
|
var applyRemoteData = exports.applyRemoteData = function applyRemoteData(remoteData, view, options) {
|
|
77
52
|
var json = remoteData.json,
|
|
78
53
|
_remoteData$userIds = remoteData.userIds,
|
|
@@ -60,12 +60,6 @@ var subscribe = exports.subscribe = effect(function (view, provider, options, fe
|
|
|
60
60
|
presenceHandler: function presenceHandler(data) {
|
|
61
61
|
return (0, _actions.handlePresence)(data, view);
|
|
62
62
|
},
|
|
63
|
-
activityAckHandler: function activityAckHandler() {
|
|
64
|
-
return (0, _actions.handleActivityAck)();
|
|
65
|
-
},
|
|
66
|
-
activityJoinHandler: function activityJoinHandler() {
|
|
67
|
-
return (0, _actions.handleActivityJoin)(provider);
|
|
68
|
-
},
|
|
69
63
|
telepointerHandler: function telepointerHandler(data) {
|
|
70
64
|
return (0, _actions.handleTelePointer)(data, view);
|
|
71
65
|
},
|
|
@@ -94,10 +88,10 @@ var subscribe = exports.subscribe = effect(function (view, provider, options, fe
|
|
|
94
88
|
view.dispatch(view.state.tr.setMeta(_trackReconnectionConflict.trackLastRemoteConflictPluginKey, data));
|
|
95
89
|
}
|
|
96
90
|
};
|
|
97
|
-
provider.on('init', handlers.initHandler).on('connected', handlers.connectedHandler).on('data', handlers.dataHandler).on('presence', handlers.presenceHandler).on('
|
|
91
|
+
provider.on('init', handlers.initHandler).on('connected', handlers.connectedHandler).on('data', handlers.dataHandler).on('presence', handlers.presenceHandler).on('telepointer', handlers.telepointerHandler).on('local-steps', handlers.localStepsHandler).on('error', handlers.errorHandler).on('entity', handlers.entityHandler).on('data:conflict', handlers.dataConflictHandler);
|
|
98
92
|
return function () {
|
|
99
93
|
unsubscribeSynchronyEntity();
|
|
100
|
-
provider.off('init', handlers.initHandler).off('connected', handlers.connectedHandler).off('data', handlers.dataHandler).off('presence', handlers.presenceHandler).off('
|
|
94
|
+
provider.off('init', handlers.initHandler).off('connected', handlers.connectedHandler).off('data', handlers.dataHandler).off('presence', handlers.presenceHandler).off('telepointer', handlers.telepointerHandler).off('local-steps', handlers.localStepsHandler).off('error', handlers.errorHandler).off('entity', handlers.entityHandler).off('data:conflict', handlers.dataConflictHandler);
|
|
101
95
|
};
|
|
102
96
|
}, function (previousDeps, currentDeps) {
|
|
103
97
|
return currentDeps && currentDeps.every(function (dep, i) {
|
|
@@ -50,31 +50,6 @@ export const handlePresence = (presenceData, view) => {
|
|
|
50
50
|
} = view;
|
|
51
51
|
view.dispatch(tr.setMeta('presence', presenceData));
|
|
52
52
|
};
|
|
53
|
-
const ACTIVITY_EDITING = 'EDITING';
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* A Handler for event "activity:ack" forwarded from NCS.
|
|
57
|
-
* This event "activity:ack" is emitted by the existing collaborators in response to a new collaborator
|
|
58
|
-
* joining. It is used to inform the new collaborator about the current actions or states of the existing
|
|
59
|
-
* collaborators, such as viewing or editing.
|
|
60
|
-
*/
|
|
61
|
-
export const handleActivityAck = () => {};
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* A Handler for event "activity:join" forwarded from NCS.
|
|
65
|
-
* Existing participant respond to the new joiner with their status.
|
|
66
|
-
* This event "activity:join" is emitted when a new collaborator joins the session. The event carries
|
|
67
|
-
* information about the action the new collaborator is currently doing in the session, such as viewing
|
|
68
|
-
* or editing.
|
|
69
|
-
*/
|
|
70
|
-
export const handleActivityJoin = provider => {
|
|
71
|
-
if (provider) {
|
|
72
|
-
provider.sendMessage({
|
|
73
|
-
type: 'activity:ack',
|
|
74
|
-
activity: ACTIVITY_EDITING
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
53
|
export const applyRemoteData = (remoteData, view, options) => {
|
|
79
54
|
const {
|
|
80
55
|
json,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { applyRemoteData,
|
|
1
|
+
import { applyRemoteData, handleConnection, handleInit, handlePresence, handleTelePointer } from '../actions';
|
|
2
2
|
import { addSynchronyEntityAnalytics, addSynchronyErrorAnalytics } from '../analytics';
|
|
3
3
|
import { trackLastRemoteConflictPluginKey } from '../track-reconnection-conflict';
|
|
4
4
|
|
|
@@ -46,8 +46,6 @@ export const subscribe = effect((view, provider, options, featureFlags, _provide
|
|
|
46
46
|
connectedHandler: data => handleConnection(data, view),
|
|
47
47
|
dataHandler: data => applyRemoteData(data, view, options),
|
|
48
48
|
presenceHandler: data => handlePresence(data, view),
|
|
49
|
-
activityAckHandler: () => handleActivityAck(),
|
|
50
|
-
activityJoinHandler: () => handleActivityJoin(provider),
|
|
51
49
|
telepointerHandler: data => handleTelePointer(data, view),
|
|
52
50
|
localStepsHandler: data => {
|
|
53
51
|
const {
|
|
@@ -79,9 +77,9 @@ export const subscribe = effect((view, provider, options, featureFlags, _provide
|
|
|
79
77
|
view.dispatch(view.state.tr.setMeta(trackLastRemoteConflictPluginKey, data));
|
|
80
78
|
}
|
|
81
79
|
};
|
|
82
|
-
provider.on('init', handlers.initHandler).on('connected', handlers.connectedHandler).on('data', handlers.dataHandler).on('presence', handlers.presenceHandler).on('
|
|
80
|
+
provider.on('init', handlers.initHandler).on('connected', handlers.connectedHandler).on('data', handlers.dataHandler).on('presence', handlers.presenceHandler).on('telepointer', handlers.telepointerHandler).on('local-steps', handlers.localStepsHandler).on('error', handlers.errorHandler).on('entity', handlers.entityHandler).on('data:conflict', handlers.dataConflictHandler);
|
|
83
81
|
return () => {
|
|
84
82
|
unsubscribeSynchronyEntity();
|
|
85
|
-
provider.off('init', handlers.initHandler).off('connected', handlers.connectedHandler).off('data', handlers.dataHandler).off('presence', handlers.presenceHandler).off('
|
|
83
|
+
provider.off('init', handlers.initHandler).off('connected', handlers.connectedHandler).off('data', handlers.dataHandler).off('presence', handlers.presenceHandler).off('telepointer', handlers.telepointerHandler).off('local-steps', handlers.localStepsHandler).off('error', handlers.errorHandler).off('entity', handlers.entityHandler).off('data:conflict', handlers.dataConflictHandler);
|
|
86
84
|
};
|
|
87
85
|
}, (previousDeps, currentDeps) => currentDeps && currentDeps.every((dep, i) => dep === previousDeps[i]));
|
|
@@ -38,31 +38,6 @@ export var handlePresence = function handlePresence(presenceData, view) {
|
|
|
38
38
|
var tr = view.state.tr;
|
|
39
39
|
view.dispatch(tr.setMeta('presence', presenceData));
|
|
40
40
|
};
|
|
41
|
-
var ACTIVITY_EDITING = 'EDITING';
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* A Handler for event "activity:ack" forwarded from NCS.
|
|
45
|
-
* This event "activity:ack" is emitted by the existing collaborators in response to a new collaborator
|
|
46
|
-
* joining. It is used to inform the new collaborator about the current actions or states of the existing
|
|
47
|
-
* collaborators, such as viewing or editing.
|
|
48
|
-
*/
|
|
49
|
-
export var handleActivityAck = function handleActivityAck() {};
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* A Handler for event "activity:join" forwarded from NCS.
|
|
53
|
-
* Existing participant respond to the new joiner with their status.
|
|
54
|
-
* This event "activity:join" is emitted when a new collaborator joins the session. The event carries
|
|
55
|
-
* information about the action the new collaborator is currently doing in the session, such as viewing
|
|
56
|
-
* or editing.
|
|
57
|
-
*/
|
|
58
|
-
export var handleActivityJoin = function handleActivityJoin(provider) {
|
|
59
|
-
if (provider) {
|
|
60
|
-
provider.sendMessage({
|
|
61
|
-
type: 'activity:ack',
|
|
62
|
-
activity: ACTIVITY_EDITING
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
41
|
export var applyRemoteData = function applyRemoteData(remoteData, view, options) {
|
|
67
42
|
var json = remoteData.json,
|
|
68
43
|
_remoteData$userIds = remoteData.userIds,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { applyRemoteData,
|
|
1
|
+
import { applyRemoteData, handleConnection, handleInit, handlePresence, handleTelePointer } from '../actions';
|
|
2
2
|
import { addSynchronyEntityAnalytics, addSynchronyErrorAnalytics } from '../analytics';
|
|
3
3
|
import { trackLastRemoteConflictPluginKey } from '../track-reconnection-conflict';
|
|
4
4
|
|
|
@@ -55,12 +55,6 @@ export var subscribe = effect(function (view, provider, options, featureFlags, _
|
|
|
55
55
|
presenceHandler: function presenceHandler(data) {
|
|
56
56
|
return handlePresence(data, view);
|
|
57
57
|
},
|
|
58
|
-
activityAckHandler: function activityAckHandler() {
|
|
59
|
-
return handleActivityAck();
|
|
60
|
-
},
|
|
61
|
-
activityJoinHandler: function activityJoinHandler() {
|
|
62
|
-
return handleActivityJoin(provider);
|
|
63
|
-
},
|
|
64
58
|
telepointerHandler: function telepointerHandler(data) {
|
|
65
59
|
return handleTelePointer(data, view);
|
|
66
60
|
},
|
|
@@ -89,10 +83,10 @@ export var subscribe = effect(function (view, provider, options, featureFlags, _
|
|
|
89
83
|
view.dispatch(view.state.tr.setMeta(trackLastRemoteConflictPluginKey, data));
|
|
90
84
|
}
|
|
91
85
|
};
|
|
92
|
-
provider.on('init', handlers.initHandler).on('connected', handlers.connectedHandler).on('data', handlers.dataHandler).on('presence', handlers.presenceHandler).on('
|
|
86
|
+
provider.on('init', handlers.initHandler).on('connected', handlers.connectedHandler).on('data', handlers.dataHandler).on('presence', handlers.presenceHandler).on('telepointer', handlers.telepointerHandler).on('local-steps', handlers.localStepsHandler).on('error', handlers.errorHandler).on('entity', handlers.entityHandler).on('data:conflict', handlers.dataConflictHandler);
|
|
93
87
|
return function () {
|
|
94
88
|
unsubscribeSynchronyEntity();
|
|
95
|
-
provider.off('init', handlers.initHandler).off('connected', handlers.connectedHandler).off('data', handlers.dataHandler).off('presence', handlers.presenceHandler).off('
|
|
89
|
+
provider.off('init', handlers.initHandler).off('connected', handlers.connectedHandler).off('data', handlers.dataHandler).off('presence', handlers.presenceHandler).off('telepointer', handlers.telepointerHandler).off('local-steps', handlers.localStepsHandler).off('error', handlers.errorHandler).off('entity', handlers.entityHandler).off('data:conflict', handlers.dataConflictHandler);
|
|
96
90
|
};
|
|
97
91
|
}, function (previousDeps, currentDeps) {
|
|
98
92
|
return currentDeps && currentDeps.every(function (dep, i) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CollabEventConnectionData, CollabEventInitData, CollabEventPresenceData, CollabEventRemoteData, CollabSendableSelection, CollabTelepointerPayload } from '@atlaskit/editor-common/collab';
|
|
3
3
|
import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
5
|
import type { PrivateCollabEditOptions } from '../types';
|
|
@@ -7,21 +7,6 @@ export declare const registerAllCustomSteps: () => void;
|
|
|
7
7
|
export declare const handleInit: (initData: CollabEventInitData, view: EditorView, options?: PrivateCollabEditOptions, editorAnalyticsApi?: EditorAnalyticsAPI) => void;
|
|
8
8
|
export declare const handleConnection: (connectionData: CollabEventConnectionData, view: EditorView) => void;
|
|
9
9
|
export declare const handlePresence: (presenceData: CollabEventPresenceData, view: EditorView) => void;
|
|
10
|
-
/**
|
|
11
|
-
* A Handler for event "activity:ack" forwarded from NCS.
|
|
12
|
-
* This event "activity:ack" is emitted by the existing collaborators in response to a new collaborator
|
|
13
|
-
* joining. It is used to inform the new collaborator about the current actions or states of the existing
|
|
14
|
-
* collaborators, such as viewing or editing.
|
|
15
|
-
*/
|
|
16
|
-
export declare const handleActivityAck: () => void;
|
|
17
|
-
/**
|
|
18
|
-
* A Handler for event "activity:join" forwarded from NCS.
|
|
19
|
-
* Existing participant respond to the new joiner with their status.
|
|
20
|
-
* This event "activity:join" is emitted when a new collaborator joins the session. The event carries
|
|
21
|
-
* information about the action the new collaborator is currently doing in the session, such as viewing
|
|
22
|
-
* or editing.
|
|
23
|
-
*/
|
|
24
|
-
export declare const handleActivityJoin: (provider: CollabEditProvider | null) => void;
|
|
25
10
|
export declare const applyRemoteData: (remoteData: CollabEventRemoteData, view: EditorView, options: PrivateCollabEditOptions) => void;
|
|
26
11
|
export declare const applyRemoteSteps: (json: any[], view: EditorView, userIds?: (number | string)[], options?: PrivateCollabEditOptions) => void;
|
|
27
12
|
export declare const handleTelePointer: (telepointerData: CollabTelepointerPayload, view: EditorView) => void;
|
|
@@ -13,8 +13,6 @@ export interface CollabHandlers {
|
|
|
13
13
|
connectedHandler: (data: CollabEventConnectionData) => void;
|
|
14
14
|
dataHandler: (data: CollabEventRemoteData) => void;
|
|
15
15
|
presenceHandler: (data: CollabEventPresenceData) => void;
|
|
16
|
-
activityAckHandler: () => void;
|
|
17
|
-
activityJoinHandler: () => void;
|
|
18
16
|
telepointerHandler: (data: CollabTelepointerPayload) => void;
|
|
19
17
|
localStepsHandler: (data: CollabEventLocalStepData) => void;
|
|
20
18
|
errorHandler: (error: any) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CollabEventConnectionData, CollabEventInitData, CollabEventPresenceData, CollabEventRemoteData, CollabSendableSelection, CollabTelepointerPayload } from '@atlaskit/editor-common/collab';
|
|
3
3
|
import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
5
|
import type { PrivateCollabEditOptions } from '../types';
|
|
@@ -7,21 +7,6 @@ export declare const registerAllCustomSteps: () => void;
|
|
|
7
7
|
export declare const handleInit: (initData: CollabEventInitData, view: EditorView, options?: PrivateCollabEditOptions, editorAnalyticsApi?: EditorAnalyticsAPI) => void;
|
|
8
8
|
export declare const handleConnection: (connectionData: CollabEventConnectionData, view: EditorView) => void;
|
|
9
9
|
export declare const handlePresence: (presenceData: CollabEventPresenceData, view: EditorView) => void;
|
|
10
|
-
/**
|
|
11
|
-
* A Handler for event "activity:ack" forwarded from NCS.
|
|
12
|
-
* This event "activity:ack" is emitted by the existing collaborators in response to a new collaborator
|
|
13
|
-
* joining. It is used to inform the new collaborator about the current actions or states of the existing
|
|
14
|
-
* collaborators, such as viewing or editing.
|
|
15
|
-
*/
|
|
16
|
-
export declare const handleActivityAck: () => void;
|
|
17
|
-
/**
|
|
18
|
-
* A Handler for event "activity:join" forwarded from NCS.
|
|
19
|
-
* Existing participant respond to the new joiner with their status.
|
|
20
|
-
* This event "activity:join" is emitted when a new collaborator joins the session. The event carries
|
|
21
|
-
* information about the action the new collaborator is currently doing in the session, such as viewing
|
|
22
|
-
* or editing.
|
|
23
|
-
*/
|
|
24
|
-
export declare const handleActivityJoin: (provider: CollabEditProvider | null) => void;
|
|
25
10
|
export declare const applyRemoteData: (remoteData: CollabEventRemoteData, view: EditorView, options: PrivateCollabEditOptions) => void;
|
|
26
11
|
export declare const applyRemoteSteps: (json: any[], view: EditorView, userIds?: (number | string)[], options?: PrivateCollabEditOptions) => void;
|
|
27
12
|
export declare const handleTelePointer: (telepointerData: CollabTelepointerPayload, view: EditorView) => void;
|
|
@@ -13,8 +13,6 @@ export interface CollabHandlers {
|
|
|
13
13
|
connectedHandler: (data: CollabEventConnectionData) => void;
|
|
14
14
|
dataHandler: (data: CollabEventRemoteData) => void;
|
|
15
15
|
presenceHandler: (data: CollabEventPresenceData) => void;
|
|
16
|
-
activityAckHandler: () => void;
|
|
17
|
-
activityJoinHandler: () => void;
|
|
18
16
|
telepointerHandler: (data: CollabTelepointerPayload) => void;
|
|
19
17
|
localStepsHandler: (data: CollabEventLocalStepData) => void;
|
|
20
18
|
errorHandler: (error: any) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-collab-edit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Collab Edit plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,31 +33,31 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^47.2.1",
|
|
35
35
|
"@atlaskit/custom-steps": "^0.10.0",
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/editor-common": "^100.4.0",
|
|
37
37
|
"@atlaskit/editor-json-transformer": "^8.23.0",
|
|
38
|
-
"@atlaskit/editor-plugin-analytics": "
|
|
39
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
40
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
38
|
+
"@atlaskit/editor-plugin-analytics": "2.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^3.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-feature-flags": "^1.3.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
43
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
43
|
+
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/prosemirror-collab": "^0.14.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"memoize-one": "^6.0.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"react": "^
|
|
51
|
-
"react-dom": "^
|
|
50
|
+
"react": "^18.2.0",
|
|
51
|
+
"react-dom": "^18.2.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@af/integration-testing": "*",
|
|
55
55
|
"@af/visual-regression": "*",
|
|
56
|
-
"@atlaskit/editor-plugin-mentions": "^
|
|
57
|
-
"@atlaskit/editor-plugin-text-formatting": "^
|
|
58
|
-
"@atlaskit/editor-plugin-type-ahead": "^
|
|
59
|
-
"@atlaskit/editor-plugin-unsupported-content": "^
|
|
60
|
-
"@atlaskit/editor-test-helpers": "^
|
|
56
|
+
"@atlaskit/editor-plugin-mentions": "^4.0.0",
|
|
57
|
+
"@atlaskit/editor-plugin-text-formatting": "^2.0.0",
|
|
58
|
+
"@atlaskit/editor-plugin-type-ahead": "^2.0.0",
|
|
59
|
+
"@atlaskit/editor-plugin-unsupported-content": "^2.0.0",
|
|
60
|
+
"@atlaskit/editor-test-helpers": "^22.0.0",
|
|
61
61
|
"@atlaskit/ssr": "*",
|
|
62
62
|
"@atlaskit/synchrony-test-helpers": "^3.1.0",
|
|
63
63
|
"@atlaskit/util-data-test": "^18.0.0",
|