@atlaskit/editor-core 193.24.0 → 193.24.6
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 +17416 -17539
- package/dist/cjs/utils/extensions.js +5 -5
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/utils/extensions.js +5 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/utils/extensions.js +5 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +2 -2
- package/dist/types/presets/default.d.ts +2 -2
- package/dist/types/presets/universal.d.ts +2 -2
- package/dist/types/presets/useUniversalPreset.d.ts +2 -2
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +2 -2
- package/dist/types-ts4.5/presets/default.d.ts +2 -2
- package/dist/types-ts4.5/presets/universal.d.ts +2 -2
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +2 -2
- package/package.json +7 -12
|
@@ -16,7 +16,7 @@ var _providerHelpers = require("@atlaskit/editor-common/provider-helpers");
|
|
|
16
16
|
/**
|
|
17
17
|
* Utils to send analytics event when a extension is inserted using quickInsert
|
|
18
18
|
*/
|
|
19
|
-
function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
19
|
+
function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source) {
|
|
20
20
|
if (createAnalyticsEvent) {
|
|
21
21
|
(0, _analytics.fireAnalyticsEvent)(createAnalyticsEvent)({
|
|
22
22
|
payload: {
|
|
@@ -27,7 +27,7 @@ function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
|
27
27
|
extensionType: item.extensionType,
|
|
28
28
|
extensionKey: item.extensionKey,
|
|
29
29
|
key: item.key,
|
|
30
|
-
inputMethod: _analytics.INPUT_METHOD.QUICK_INSERT
|
|
30
|
+
inputMethod: source || _analytics.INPUT_METHOD.QUICK_INSERT
|
|
31
31
|
},
|
|
32
32
|
eventType: _analytics.EVENT_TYPE.TRACK
|
|
33
33
|
}
|
|
@@ -67,17 +67,17 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
67
67
|
keywords: item.keywords,
|
|
68
68
|
featured: item.featured,
|
|
69
69
|
categories: item.categories,
|
|
70
|
-
action: function action(insert) {
|
|
70
|
+
action: function action(insert, state, source) {
|
|
71
71
|
if (typeof item.node === 'function') {
|
|
72
72
|
(0, _extensions.resolveImport)(item.node()).then(function (node) {
|
|
73
|
-
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent);
|
|
73
|
+
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source);
|
|
74
74
|
if (node) {
|
|
75
75
|
editorActions.replaceSelection(node);
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
return insert('');
|
|
79
79
|
} else {
|
|
80
|
-
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent);
|
|
80
|
+
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source);
|
|
81
81
|
return insert(item.node);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -6,7 +6,7 @@ import { combineProviders } from '@atlaskit/editor-common/provider-helpers';
|
|
|
6
6
|
/**
|
|
7
7
|
* Utils to send analytics event when a extension is inserted using quickInsert
|
|
8
8
|
*/
|
|
9
|
-
function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
9
|
+
function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source) {
|
|
10
10
|
if (createAnalyticsEvent) {
|
|
11
11
|
fireAnalyticsEvent(createAnalyticsEvent)({
|
|
12
12
|
payload: {
|
|
@@ -17,7 +17,7 @@ function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
|
17
17
|
extensionType: item.extensionType,
|
|
18
18
|
extensionKey: item.extensionKey,
|
|
19
19
|
key: item.key,
|
|
20
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT
|
|
20
|
+
inputMethod: source || INPUT_METHOD.QUICK_INSERT
|
|
21
21
|
},
|
|
22
22
|
eventType: EVENT_TYPE.TRACK
|
|
23
23
|
}
|
|
@@ -42,17 +42,17 @@ export async function extensionProviderToQuickInsertProvider(extensionProvider,
|
|
|
42
42
|
keywords: item.keywords,
|
|
43
43
|
featured: item.featured,
|
|
44
44
|
categories: item.categories,
|
|
45
|
-
action: insert => {
|
|
45
|
+
action: (insert, state, source) => {
|
|
46
46
|
if (typeof item.node === 'function') {
|
|
47
47
|
resolveImport(item.node()).then(node => {
|
|
48
|
-
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent);
|
|
48
|
+
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source);
|
|
49
49
|
if (node) {
|
|
50
50
|
editorActions.replaceSelection(node);
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
return insert('');
|
|
54
54
|
} else {
|
|
55
|
-
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent);
|
|
55
|
+
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source);
|
|
56
56
|
return insert(item.node);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.24.
|
|
2
|
+
export const version = "193.24.6";
|
|
@@ -8,7 +8,7 @@ import { combineProviders } from '@atlaskit/editor-common/provider-helpers';
|
|
|
8
8
|
/**
|
|
9
9
|
* Utils to send analytics event when a extension is inserted using quickInsert
|
|
10
10
|
*/
|
|
11
|
-
function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
11
|
+
function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source) {
|
|
12
12
|
if (createAnalyticsEvent) {
|
|
13
13
|
fireAnalyticsEvent(createAnalyticsEvent)({
|
|
14
14
|
payload: {
|
|
@@ -19,7 +19,7 @@ function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
|
19
19
|
extensionType: item.extensionType,
|
|
20
20
|
extensionKey: item.extensionKey,
|
|
21
21
|
key: item.key,
|
|
22
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT
|
|
22
|
+
inputMethod: source || INPUT_METHOD.QUICK_INSERT
|
|
23
23
|
},
|
|
24
24
|
eventType: EVENT_TYPE.TRACK
|
|
25
25
|
}
|
|
@@ -59,17 +59,17 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
59
59
|
keywords: item.keywords,
|
|
60
60
|
featured: item.featured,
|
|
61
61
|
categories: item.categories,
|
|
62
|
-
action: function action(insert) {
|
|
62
|
+
action: function action(insert, state, source) {
|
|
63
63
|
if (typeof item.node === 'function') {
|
|
64
64
|
resolveImport(item.node()).then(function (node) {
|
|
65
|
-
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent);
|
|
65
|
+
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source);
|
|
66
66
|
if (node) {
|
|
67
67
|
editorActions.replaceSelection(node);
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
return insert('');
|
|
71
71
|
} else {
|
|
72
|
-
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent);
|
|
72
|
+
sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent, source);
|
|
73
73
|
return insert(item.node);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.24.
|
|
2
|
+
export var version = "193.24.6";
|
|
@@ -1919,7 +1919,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1919
1919
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
1920
1920
|
actions: {
|
|
1921
1921
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
1922
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
1922
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1923
1923
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
1924
1924
|
};
|
|
1925
1925
|
commands: {
|
|
@@ -3502,7 +3502,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3502
3502
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
3503
3503
|
actions: {
|
|
3504
3504
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
3505
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
3505
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3506
3506
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3507
3507
|
};
|
|
3508
3508
|
commands: {
|
|
@@ -635,7 +635,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
635
635
|
sharedState: import("@atlaskit/editor-plugins/quick-insert").QuickInsertSharedState | null;
|
|
636
636
|
actions: {
|
|
637
637
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
638
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
638
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
639
639
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
640
640
|
};
|
|
641
641
|
commands: {
|
|
@@ -2243,7 +2243,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2243
2243
|
sharedState: import("@atlaskit/editor-plugins/quick-insert").QuickInsertSharedState | null;
|
|
2244
2244
|
actions: {
|
|
2245
2245
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2246
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
2246
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2247
2247
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2248
2248
|
};
|
|
2249
2249
|
commands: {
|
|
@@ -1936,7 +1936,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1936
1936
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
1937
1937
|
actions: {
|
|
1938
1938
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
1939
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
1939
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1940
1940
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
1941
1941
|
};
|
|
1942
1942
|
commands: {
|
|
@@ -3519,7 +3519,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3519
3519
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
3520
3520
|
actions: {
|
|
3521
3521
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
3522
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
3522
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3523
3523
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3524
3524
|
};
|
|
3525
3525
|
commands: {
|
|
@@ -1922,7 +1922,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1922
1922
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
1923
1923
|
actions: {
|
|
1924
1924
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
1925
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
1925
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1926
1926
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
1927
1927
|
};
|
|
1928
1928
|
commands: {
|
|
@@ -3505,7 +3505,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3505
3505
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
3506
3506
|
actions: {
|
|
3507
3507
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
3508
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
3508
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3509
3509
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3510
3510
|
};
|
|
3511
3511
|
commands: {
|
|
@@ -2410,7 +2410,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2410
2410
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
2411
2411
|
actions: {
|
|
2412
2412
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2413
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
2413
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2414
2414
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2415
2415
|
};
|
|
2416
2416
|
commands: {
|
|
@@ -4335,7 +4335,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4335
4335
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
4336
4336
|
actions: {
|
|
4337
4337
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
4338
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
4338
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4339
4339
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
4340
4340
|
};
|
|
4341
4341
|
commands: {
|
|
@@ -794,7 +794,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
794
794
|
sharedState: import("@atlaskit/editor-plugins/quick-insert").QuickInsertSharedState | null;
|
|
795
795
|
actions: {
|
|
796
796
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
797
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
797
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
798
798
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
799
799
|
};
|
|
800
800
|
commands: {
|
|
@@ -2777,7 +2777,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2777
2777
|
sharedState: import("@atlaskit/editor-plugins/quick-insert").QuickInsertSharedState | null;
|
|
2778
2778
|
actions: {
|
|
2779
2779
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2780
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
2780
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2781
2781
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2782
2782
|
};
|
|
2783
2783
|
commands: {
|
|
@@ -2427,7 +2427,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2427
2427
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
2428
2428
|
actions: {
|
|
2429
2429
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2430
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
2430
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2431
2431
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2432
2432
|
};
|
|
2433
2433
|
commands: {
|
|
@@ -4352,7 +4352,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4352
4352
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
4353
4353
|
actions: {
|
|
4354
4354
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
4355
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
4355
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4356
4356
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
4357
4357
|
};
|
|
4358
4358
|
commands: {
|
|
@@ -2413,7 +2413,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2413
2413
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
2414
2414
|
actions: {
|
|
2415
2415
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2416
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
2416
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2417
2417
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2418
2418
|
};
|
|
2419
2419
|
commands: {
|
|
@@ -4338,7 +4338,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4338
4338
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
4339
4339
|
actions: {
|
|
4340
4340
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
4341
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
4341
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4342
4342
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
4343
4343
|
};
|
|
4344
4344
|
commands: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.24.
|
|
3
|
+
"version": "193.24.6",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -82,11 +82,12 @@
|
|
|
82
82
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
+
"@af/editor-examples-helpers": "0.0.0",
|
|
85
86
|
"@af/editor-libra": "*",
|
|
86
87
|
"@af/visual-regression": "*",
|
|
87
88
|
"@atlaskit/adf-utils": "^19.2.0",
|
|
88
89
|
"@atlaskit/analytics-listeners": "^8.9.1",
|
|
89
|
-
"@atlaskit/checkbox": "^13.
|
|
90
|
+
"@atlaskit/checkbox": "^13.4.0",
|
|
90
91
|
"@atlaskit/collab-provider": "9.29.2",
|
|
91
92
|
"@atlaskit/dropdown-menu": "^12.10.0",
|
|
92
93
|
"@atlaskit/editor-plugin-annotation": "1.9.3",
|
|
@@ -104,9 +105,9 @@
|
|
|
104
105
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
105
106
|
"@atlaskit/modal-dialog": "^12.13.0",
|
|
106
107
|
"@atlaskit/primitives": "^6.3.0",
|
|
107
|
-
"@atlaskit/renderer": "^109.
|
|
108
|
+
"@atlaskit/renderer": "^109.30.0",
|
|
108
109
|
"@atlaskit/select": "^17.10.0",
|
|
109
|
-
"@atlaskit/smart-card": "^27.
|
|
110
|
+
"@atlaskit/smart-card": "^27.3.0",
|
|
110
111
|
"@atlaskit/synchrony-test-helpers": "^2.4.0",
|
|
111
112
|
"@atlaskit/toggle": "^13.1.0",
|
|
112
113
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
@@ -114,7 +115,7 @@
|
|
|
114
115
|
"@atlassian/adf-schema-json": "^1.14.0",
|
|
115
116
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
116
117
|
"@atlassian/link-picker-plugins": "^24.1.0",
|
|
117
|
-
"@atlassian/search-provider": "2.4.
|
|
118
|
+
"@atlassian/search-provider": "2.4.70",
|
|
118
119
|
"@atlassian/ufo": "^0.2.0",
|
|
119
120
|
"@emotion/jest": "^11.8.0",
|
|
120
121
|
"@storybook/addon-knobs": "^5.3.18",
|
|
@@ -130,14 +131,12 @@
|
|
|
130
131
|
"jscodeshift": "^0.13.0",
|
|
131
132
|
"lz-string": "^1.4.4",
|
|
132
133
|
"mockdate": "^3.0.5",
|
|
133
|
-
"prosemirror-dev-tools": "^4.0.0",
|
|
134
134
|
"raf-stub": "^2.0.1",
|
|
135
135
|
"react": "^16.8.0",
|
|
136
136
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
137
137
|
"rison": "^0.1.1",
|
|
138
138
|
"typescript": "~5.4.2",
|
|
139
|
-
"url-search-params": "^0.10.0"
|
|
140
|
-
"worker-plugin": "^4.0.2"
|
|
139
|
+
"url-search-params": "^0.10.0"
|
|
141
140
|
},
|
|
142
141
|
"techstack": {
|
|
143
142
|
"@atlassian/frontend": {
|
|
@@ -207,10 +206,6 @@
|
|
|
207
206
|
"type": "boolean",
|
|
208
207
|
"referenceOnly": "true"
|
|
209
208
|
},
|
|
210
|
-
"platform.design-system-team.editor-new-button_jjjdo": {
|
|
211
|
-
"type": "boolean",
|
|
212
|
-
"referenceOnly": "true"
|
|
213
|
-
},
|
|
214
209
|
"platform.media-experience.cardv2_7zann": {
|
|
215
210
|
"type": "boolean",
|
|
216
211
|
"referenceOnly": "true"
|