@atlaskit/editor-plugin-metrics 4.0.7 → 4.0.9
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 +16 -0
- package/dist/types/metricsPluginType.d.ts +5 -5
- package/dist/types/pm-plugins/main.d.ts +11 -11
- package/dist/types/pm-plugins/utils/check-tr-actions/types.d.ts +3 -3
- package/dist/types/pm-plugins/utils/get-new-plugin-state.d.ts +12 -12
- package/dist/types-ts4.5/metricsPluginType.d.ts +8 -8
- package/dist/types-ts4.5/pm-plugins/main.d.ts +11 -11
- package/dist/types-ts4.5/pm-plugins/utils/check-tr-actions/types.d.ts +3 -3
- package/dist/types-ts4.5/pm-plugins/utils/get-new-plugin-state.d.ts +12 -12
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-metrics
|
|
2
2
|
|
|
3
|
+
## 4.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
|
|
8
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.0.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`57b19274b9fdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57b19274b9fdd) -
|
|
16
|
+
EDITOR-1373 Bump adf-schema version
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 4.0.7
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -5,21 +5,21 @@ import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
|
5
5
|
import type { MetricsState } from './pm-plugins/main';
|
|
6
6
|
type handleIntentToStartEditProps = {
|
|
7
7
|
newSelection?: Selection;
|
|
8
|
-
shouldStartTimer?: boolean;
|
|
9
8
|
shouldPersistActiveSession?: boolean;
|
|
9
|
+
shouldStartTimer?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export type MetricsPluginOptions = {
|
|
12
12
|
userPreferencesProvider?: UserPreferencesProvider;
|
|
13
13
|
};
|
|
14
14
|
export type MetricsPlugin = NextEditorPlugin<'metrics', {
|
|
15
|
-
pluginConfiguration?: MetricsPluginOptions;
|
|
16
|
-
dependencies: [OptionalPlugin<AnalyticsPlugin>, OptionalPlugin<UserPreferencesPlugin>];
|
|
17
|
-
sharedState: MetricsState;
|
|
18
15
|
commands: {
|
|
16
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: handleIntentToStartEditProps) => EditorCommand;
|
|
19
17
|
setContentMoved: () => EditorCommand;
|
|
20
18
|
startActiveSessionTimer: () => EditorCommand;
|
|
21
19
|
stopActiveSession: () => EditorCommand;
|
|
22
|
-
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: handleIntentToStartEditProps) => EditorCommand;
|
|
23
20
|
};
|
|
21
|
+
dependencies: [OptionalPlugin<AnalyticsPlugin>, OptionalPlugin<UserPreferencesPlugin>];
|
|
22
|
+
pluginConfiguration?: MetricsPluginOptions;
|
|
23
|
+
sharedState: MetricsState;
|
|
24
24
|
}>;
|
|
25
25
|
export {};
|
|
@@ -6,28 +6,28 @@ import { type MetricsPlugin } from '../metricsPluginType';
|
|
|
6
6
|
import { type TrActionType } from './utils/check-tr-actions/types';
|
|
7
7
|
export declare const metricsKey: PluginKey<any>;
|
|
8
8
|
export type MetricsState = {
|
|
9
|
-
|
|
9
|
+
actionTypeCount: ActionByType;
|
|
10
10
|
activeSessionTime: number;
|
|
11
|
-
totalActionCount: number;
|
|
12
11
|
contentSizeChanged: number;
|
|
13
|
-
lastSelection?: Selection;
|
|
14
|
-
actionTypeCount: ActionByType;
|
|
15
|
-
timeOfLastTextInput?: number;
|
|
16
|
-
shouldPersistActiveSession?: boolean;
|
|
17
12
|
initialContent?: Fragment;
|
|
13
|
+
intentToStartEditTime?: number;
|
|
14
|
+
lastSelection?: Selection;
|
|
18
15
|
previousTrType?: TrActionType;
|
|
19
16
|
repeatedActionCount: number;
|
|
20
17
|
safeInsertCount: number;
|
|
18
|
+
shouldPersistActiveSession?: boolean;
|
|
19
|
+
timeOfLastTextInput?: number;
|
|
20
|
+
totalActionCount: number;
|
|
21
21
|
};
|
|
22
22
|
export type ActionByType = {
|
|
23
|
-
|
|
24
|
-
nodeInsertionCount: number;
|
|
25
|
-
nodeAttributeChangeCount: number;
|
|
23
|
+
contentDeletedCount: number;
|
|
26
24
|
contentMovedCount: number;
|
|
25
|
+
markChangeCount: number;
|
|
26
|
+
nodeAttributeChangeCount: number;
|
|
27
27
|
nodeDeletionCount: number;
|
|
28
|
+
nodeInsertionCount: number;
|
|
29
|
+
textInputCount: number;
|
|
28
30
|
undoCount: number;
|
|
29
|
-
markChangeCount: number;
|
|
30
|
-
contentDeletedCount: number;
|
|
31
31
|
};
|
|
32
32
|
export declare const initialPluginState: MetricsState;
|
|
33
33
|
export declare const createPlugin: (api: ExtractInjectionAPI<MetricsPlugin> | undefined, userPreferencesProvider?: UserPreferencesProvider) => SafePlugin<MetricsState>;
|
|
@@ -2,8 +2,8 @@ import { type Slice } from '@atlaskit/editor-prosemirror/model';
|
|
|
2
2
|
import { type ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
|
|
3
3
|
export interface DetailedReplaceStep extends ReplaceStep {
|
|
4
4
|
from: number;
|
|
5
|
-
to: number;
|
|
6
5
|
slice: Slice;
|
|
6
|
+
to: number;
|
|
7
7
|
}
|
|
8
8
|
export declare enum ActionType {
|
|
9
9
|
TEXT_INPUT = "textInput",
|
|
@@ -22,21 +22,21 @@ export declare enum ActionType {
|
|
|
22
22
|
UNDO = "undo"
|
|
23
23
|
}
|
|
24
24
|
export type AttrChangeAction = {
|
|
25
|
-
type: ActionType.CHANGING_ATTRS;
|
|
26
25
|
extraData: {
|
|
27
26
|
attr: string;
|
|
28
27
|
from: number;
|
|
29
28
|
to: number;
|
|
30
29
|
};
|
|
30
|
+
type: ActionType.CHANGING_ATTRS;
|
|
31
31
|
};
|
|
32
32
|
export type MarkChangeAction = {
|
|
33
33
|
type: ActionType.CHANGING_MARK;
|
|
34
34
|
};
|
|
35
35
|
export type StatusChangeAction = {
|
|
36
|
-
type: ActionType.UPDATING_STATUS;
|
|
37
36
|
extraData: {
|
|
38
37
|
statusId: string;
|
|
39
38
|
};
|
|
39
|
+
type: ActionType.UPDATING_STATUS;
|
|
40
40
|
};
|
|
41
41
|
export type TrAction<T extends Exclude<ActionType, ActionType.CHANGING_ATTRS | ActionType.CHANGING_MARK | ActionType.UPDATING_STATUS>> = {
|
|
42
42
|
type: T;
|
|
@@ -2,25 +2,25 @@ import type { EditorState, ReadonlyTransaction } from '@atlaskit/editor-prosemir
|
|
|
2
2
|
import { type MetricsState } from '../main';
|
|
3
3
|
import { ActionType } from './check-tr-actions/types';
|
|
4
4
|
export declare const getNewPluginState: ({ now, intentToStartEditTime, shouldPersistActiveSession, tr, pluginState, oldState, newState, }: {
|
|
5
|
-
now: number;
|
|
6
5
|
intentToStartEditTime: number;
|
|
7
|
-
shouldPersistActiveSession: boolean;
|
|
8
|
-
tr: ReadonlyTransaction;
|
|
9
|
-
pluginState: MetricsState;
|
|
10
6
|
newState: EditorState;
|
|
7
|
+
now: number;
|
|
11
8
|
oldState: EditorState;
|
|
9
|
+
pluginState: MetricsState;
|
|
10
|
+
shouldPersistActiveSession: boolean;
|
|
11
|
+
tr: ReadonlyTransaction;
|
|
12
12
|
}) => {
|
|
13
13
|
totalActionCount: number;
|
|
14
14
|
timeOfLastTextInput: undefined;
|
|
15
15
|
actionTypeCount: {
|
|
16
16
|
undoCount: number;
|
|
17
|
-
|
|
18
|
-
nodeInsertionCount: number;
|
|
19
|
-
nodeAttributeChangeCount: number;
|
|
17
|
+
contentDeletedCount: number;
|
|
20
18
|
contentMovedCount: number;
|
|
21
|
-
nodeDeletionCount: number;
|
|
22
19
|
markChangeCount: number;
|
|
23
|
-
|
|
20
|
+
nodeAttributeChangeCount: number;
|
|
21
|
+
nodeDeletionCount: number;
|
|
22
|
+
nodeInsertionCount: number;
|
|
23
|
+
textInputCount: number;
|
|
24
24
|
};
|
|
25
25
|
previousTrType: undefined;
|
|
26
26
|
safeInsertCount: number;
|
|
@@ -28,8 +28,8 @@ export declare const getNewPluginState: ({ now, intentToStartEditTime, shouldPer
|
|
|
28
28
|
contentSizeChanged: number;
|
|
29
29
|
intentToStartEditTime: number;
|
|
30
30
|
shouldPersistActiveSession: boolean;
|
|
31
|
-
lastSelection?: import("prosemirror-state").Selection;
|
|
32
31
|
initialContent?: import("prosemirror-model").Fragment;
|
|
32
|
+
lastSelection?: import("prosemirror-state").Selection;
|
|
33
33
|
repeatedActionCount: number;
|
|
34
34
|
} | {
|
|
35
35
|
totalActionCount: number;
|
|
@@ -41,8 +41,8 @@ export declare const getNewPluginState: ({ now, intentToStartEditTime, shouldPer
|
|
|
41
41
|
contentMovedCount: number;
|
|
42
42
|
markChangeCount: number;
|
|
43
43
|
contentDeletedCount: number;
|
|
44
|
-
nodeInsertionCount: number;
|
|
45
44
|
nodeDeletionCount: number;
|
|
45
|
+
nodeInsertionCount: number;
|
|
46
46
|
};
|
|
47
47
|
previousTrType: import("./check-tr-actions/types").AttrChangeAction | import("./check-tr-actions/types").MarkChangeAction | import("./check-tr-actions/types").StatusChangeAction | import("./check-tr-actions/types").TrAction<ActionType.TEXT_INPUT> | import("./check-tr-actions/types").TrAction<ActionType.EMPTY_LINE_ADDED_OR_DELETED> | import("./check-tr-actions/types").TrAction<ActionType.INSERTED_FROM_TYPE_AHEAD> | import("./check-tr-actions/types").TrAction<ActionType.INSERTING_NEW_LIST_TYPE_NODE> | import("./check-tr-actions/types").TrAction<ActionType.UPDATING_NEW_LIST_TYPE_ITEM> | import("./check-tr-actions/types").TrAction<ActionType.ADDING_LINK> | import("./check-tr-actions/types").TrAction<ActionType.MOVING_CONTENT> | import("./check-tr-actions/types").TrAction<ActionType.PASTING_CONTENT> | import("./check-tr-actions/types").TrAction<ActionType.DELETING_CONTENT> | import("./check-tr-actions/types").TrAction<ActionType.SAFE_INSERT> | import("./check-tr-actions/types").TrAction<ActionType.UNDO>;
|
|
48
48
|
repeatedActionCount: number;
|
|
@@ -51,6 +51,6 @@ export declare const getNewPluginState: ({ now, intentToStartEditTime, shouldPer
|
|
|
51
51
|
contentSizeChanged: number;
|
|
52
52
|
intentToStartEditTime: number;
|
|
53
53
|
shouldPersistActiveSession: boolean;
|
|
54
|
-
lastSelection?: import("prosemirror-state").Selection;
|
|
55
54
|
initialContent?: import("prosemirror-model").Fragment;
|
|
55
|
+
lastSelection?: import("prosemirror-state").Selection;
|
|
56
56
|
};
|
|
@@ -5,24 +5,24 @@ import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
|
5
5
|
import type { MetricsState } from './pm-plugins/main';
|
|
6
6
|
type handleIntentToStartEditProps = {
|
|
7
7
|
newSelection?: Selection;
|
|
8
|
-
shouldStartTimer?: boolean;
|
|
9
8
|
shouldPersistActiveSession?: boolean;
|
|
9
|
+
shouldStartTimer?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export type MetricsPluginOptions = {
|
|
12
12
|
userPreferencesProvider?: UserPreferencesProvider;
|
|
13
13
|
};
|
|
14
14
|
export type MetricsPlugin = NextEditorPlugin<'metrics', {
|
|
15
|
-
pluginConfiguration?: MetricsPluginOptions;
|
|
16
|
-
dependencies: [
|
|
17
|
-
OptionalPlugin<AnalyticsPlugin>,
|
|
18
|
-
OptionalPlugin<UserPreferencesPlugin>
|
|
19
|
-
];
|
|
20
|
-
sharedState: MetricsState;
|
|
21
15
|
commands: {
|
|
16
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: handleIntentToStartEditProps) => EditorCommand;
|
|
22
17
|
setContentMoved: () => EditorCommand;
|
|
23
18
|
startActiveSessionTimer: () => EditorCommand;
|
|
24
19
|
stopActiveSession: () => EditorCommand;
|
|
25
|
-
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: handleIntentToStartEditProps) => EditorCommand;
|
|
26
20
|
};
|
|
21
|
+
dependencies: [
|
|
22
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
23
|
+
OptionalPlugin<UserPreferencesPlugin>
|
|
24
|
+
];
|
|
25
|
+
pluginConfiguration?: MetricsPluginOptions;
|
|
26
|
+
sharedState: MetricsState;
|
|
27
27
|
}>;
|
|
28
28
|
export {};
|
|
@@ -6,28 +6,28 @@ import { type MetricsPlugin } from '../metricsPluginType';
|
|
|
6
6
|
import { type TrActionType } from './utils/check-tr-actions/types';
|
|
7
7
|
export declare const metricsKey: PluginKey<any>;
|
|
8
8
|
export type MetricsState = {
|
|
9
|
-
|
|
9
|
+
actionTypeCount: ActionByType;
|
|
10
10
|
activeSessionTime: number;
|
|
11
|
-
totalActionCount: number;
|
|
12
11
|
contentSizeChanged: number;
|
|
13
|
-
lastSelection?: Selection;
|
|
14
|
-
actionTypeCount: ActionByType;
|
|
15
|
-
timeOfLastTextInput?: number;
|
|
16
|
-
shouldPersistActiveSession?: boolean;
|
|
17
12
|
initialContent?: Fragment;
|
|
13
|
+
intentToStartEditTime?: number;
|
|
14
|
+
lastSelection?: Selection;
|
|
18
15
|
previousTrType?: TrActionType;
|
|
19
16
|
repeatedActionCount: number;
|
|
20
17
|
safeInsertCount: number;
|
|
18
|
+
shouldPersistActiveSession?: boolean;
|
|
19
|
+
timeOfLastTextInput?: number;
|
|
20
|
+
totalActionCount: number;
|
|
21
21
|
};
|
|
22
22
|
export type ActionByType = {
|
|
23
|
-
|
|
24
|
-
nodeInsertionCount: number;
|
|
25
|
-
nodeAttributeChangeCount: number;
|
|
23
|
+
contentDeletedCount: number;
|
|
26
24
|
contentMovedCount: number;
|
|
25
|
+
markChangeCount: number;
|
|
26
|
+
nodeAttributeChangeCount: number;
|
|
27
27
|
nodeDeletionCount: number;
|
|
28
|
+
nodeInsertionCount: number;
|
|
29
|
+
textInputCount: number;
|
|
28
30
|
undoCount: number;
|
|
29
|
-
markChangeCount: number;
|
|
30
|
-
contentDeletedCount: number;
|
|
31
31
|
};
|
|
32
32
|
export declare const initialPluginState: MetricsState;
|
|
33
33
|
export declare const createPlugin: (api: ExtractInjectionAPI<MetricsPlugin> | undefined, userPreferencesProvider?: UserPreferencesProvider) => SafePlugin<MetricsState>;
|
|
@@ -2,8 +2,8 @@ import { type Slice } from '@atlaskit/editor-prosemirror/model';
|
|
|
2
2
|
import { type ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
|
|
3
3
|
export interface DetailedReplaceStep extends ReplaceStep {
|
|
4
4
|
from: number;
|
|
5
|
-
to: number;
|
|
6
5
|
slice: Slice;
|
|
6
|
+
to: number;
|
|
7
7
|
}
|
|
8
8
|
export declare enum ActionType {
|
|
9
9
|
TEXT_INPUT = "textInput",
|
|
@@ -22,21 +22,21 @@ export declare enum ActionType {
|
|
|
22
22
|
UNDO = "undo"
|
|
23
23
|
}
|
|
24
24
|
export type AttrChangeAction = {
|
|
25
|
-
type: ActionType.CHANGING_ATTRS;
|
|
26
25
|
extraData: {
|
|
27
26
|
attr: string;
|
|
28
27
|
from: number;
|
|
29
28
|
to: number;
|
|
30
29
|
};
|
|
30
|
+
type: ActionType.CHANGING_ATTRS;
|
|
31
31
|
};
|
|
32
32
|
export type MarkChangeAction = {
|
|
33
33
|
type: ActionType.CHANGING_MARK;
|
|
34
34
|
};
|
|
35
35
|
export type StatusChangeAction = {
|
|
36
|
-
type: ActionType.UPDATING_STATUS;
|
|
37
36
|
extraData: {
|
|
38
37
|
statusId: string;
|
|
39
38
|
};
|
|
39
|
+
type: ActionType.UPDATING_STATUS;
|
|
40
40
|
};
|
|
41
41
|
export type TrAction<T extends Exclude<ActionType, ActionType.CHANGING_ATTRS | ActionType.CHANGING_MARK | ActionType.UPDATING_STATUS>> = {
|
|
42
42
|
type: T;
|
|
@@ -2,25 +2,25 @@ import type { EditorState, ReadonlyTransaction } from '@atlaskit/editor-prosemir
|
|
|
2
2
|
import { type MetricsState } from '../main';
|
|
3
3
|
import { ActionType } from './check-tr-actions/types';
|
|
4
4
|
export declare const getNewPluginState: ({ now, intentToStartEditTime, shouldPersistActiveSession, tr, pluginState, oldState, newState, }: {
|
|
5
|
-
now: number;
|
|
6
5
|
intentToStartEditTime: number;
|
|
7
|
-
shouldPersistActiveSession: boolean;
|
|
8
|
-
tr: ReadonlyTransaction;
|
|
9
|
-
pluginState: MetricsState;
|
|
10
6
|
newState: EditorState;
|
|
7
|
+
now: number;
|
|
11
8
|
oldState: EditorState;
|
|
9
|
+
pluginState: MetricsState;
|
|
10
|
+
shouldPersistActiveSession: boolean;
|
|
11
|
+
tr: ReadonlyTransaction;
|
|
12
12
|
}) => {
|
|
13
13
|
totalActionCount: number;
|
|
14
14
|
timeOfLastTextInput: undefined;
|
|
15
15
|
actionTypeCount: {
|
|
16
16
|
undoCount: number;
|
|
17
|
-
|
|
18
|
-
nodeInsertionCount: number;
|
|
19
|
-
nodeAttributeChangeCount: number;
|
|
17
|
+
contentDeletedCount: number;
|
|
20
18
|
contentMovedCount: number;
|
|
21
|
-
nodeDeletionCount: number;
|
|
22
19
|
markChangeCount: number;
|
|
23
|
-
|
|
20
|
+
nodeAttributeChangeCount: number;
|
|
21
|
+
nodeDeletionCount: number;
|
|
22
|
+
nodeInsertionCount: number;
|
|
23
|
+
textInputCount: number;
|
|
24
24
|
};
|
|
25
25
|
previousTrType: undefined;
|
|
26
26
|
safeInsertCount: number;
|
|
@@ -28,8 +28,8 @@ export declare const getNewPluginState: ({ now, intentToStartEditTime, shouldPer
|
|
|
28
28
|
contentSizeChanged: number;
|
|
29
29
|
intentToStartEditTime: number;
|
|
30
30
|
shouldPersistActiveSession: boolean;
|
|
31
|
-
lastSelection?: import("prosemirror-state").Selection;
|
|
32
31
|
initialContent?: import("prosemirror-model").Fragment;
|
|
32
|
+
lastSelection?: import("prosemirror-state").Selection;
|
|
33
33
|
repeatedActionCount: number;
|
|
34
34
|
} | {
|
|
35
35
|
totalActionCount: number;
|
|
@@ -41,8 +41,8 @@ export declare const getNewPluginState: ({ now, intentToStartEditTime, shouldPer
|
|
|
41
41
|
contentMovedCount: number;
|
|
42
42
|
markChangeCount: number;
|
|
43
43
|
contentDeletedCount: number;
|
|
44
|
-
nodeInsertionCount: number;
|
|
45
44
|
nodeDeletionCount: number;
|
|
45
|
+
nodeInsertionCount: number;
|
|
46
46
|
};
|
|
47
47
|
previousTrType: import("./check-tr-actions/types").AttrChangeAction | import("./check-tr-actions/types").MarkChangeAction | import("./check-tr-actions/types").StatusChangeAction | import("./check-tr-actions/types").TrAction<ActionType.TEXT_INPUT> | import("./check-tr-actions/types").TrAction<ActionType.EMPTY_LINE_ADDED_OR_DELETED> | import("./check-tr-actions/types").TrAction<ActionType.INSERTED_FROM_TYPE_AHEAD> | import("./check-tr-actions/types").TrAction<ActionType.INSERTING_NEW_LIST_TYPE_NODE> | import("./check-tr-actions/types").TrAction<ActionType.UPDATING_NEW_LIST_TYPE_ITEM> | import("./check-tr-actions/types").TrAction<ActionType.ADDING_LINK> | import("./check-tr-actions/types").TrAction<ActionType.MOVING_CONTENT> | import("./check-tr-actions/types").TrAction<ActionType.PASTING_CONTENT> | import("./check-tr-actions/types").TrAction<ActionType.DELETING_CONTENT> | import("./check-tr-actions/types").TrAction<ActionType.SAFE_INSERT> | import("./check-tr-actions/types").TrAction<ActionType.UNDO>;
|
|
48
48
|
repeatedActionCount: number;
|
|
@@ -51,6 +51,6 @@ export declare const getNewPluginState: ({ now, intentToStartEditTime, shouldPer
|
|
|
51
51
|
contentSizeChanged: number;
|
|
52
52
|
intentToStartEditTime: number;
|
|
53
53
|
shouldPersistActiveSession: boolean;
|
|
54
|
-
lastSelection?: import("prosemirror-state").Selection;
|
|
55
54
|
initialContent?: import("prosemirror-model").Fragment;
|
|
55
|
+
lastSelection?: import("prosemirror-state").Selection;
|
|
56
56
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-metrics",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"description": "Metrics plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^50.2.
|
|
34
|
+
"@atlaskit/adf-schema": "^50.2.1",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^3.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-user-preferences": "^1.2.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^11.
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^11.5.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
41
|
"bind-event-listener": "^3.0.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@atlaskit/editor-common": "^107.
|
|
44
|
+
"@atlaskit/editor-common": "^107.28.0",
|
|
45
45
|
"react": "^18.2.0",
|
|
46
46
|
"react-dom": "^18.2.0"
|
|
47
47
|
},
|