@atlaskit/editor-plugin-extension 0.1.0 → 0.2.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 +6 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +2 -2
- package/package.json +2 -2
- package/report.api.md +3 -2
- package/tmp/api-report-tmp.d.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { CreateExtensionAPI, ExtensionPlugin } from './types';
|
|
1
|
+
export type { CreateExtensionAPI, ExtensionPlugin, ExtensionPluginOptions, } from './types';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ interface CreateExtensionAPIOptions {
|
|
|
13
13
|
editInLegacyMacroBrowser?: () => void;
|
|
14
14
|
}
|
|
15
15
|
export type CreateExtensionAPI = (options: CreateExtensionAPIOptions) => ExtensionAPI;
|
|
16
|
-
interface ExtensionPluginOptions extends LongPressSelectionPluginOptions {
|
|
16
|
+
export interface ExtensionPluginOptions extends LongPressSelectionPluginOptions {
|
|
17
17
|
allowAutoSave?: boolean;
|
|
18
18
|
breakoutEnabled?: boolean;
|
|
19
19
|
extensionHandlers?: ExtensionHandlers;
|
|
@@ -28,7 +28,7 @@ export type ExtensionPlugin = NextEditorPlugin<'extension', {
|
|
|
28
28
|
OptionalPlugin<ContextPanelPlugin>
|
|
29
29
|
];
|
|
30
30
|
actions: {
|
|
31
|
-
|
|
31
|
+
api: () => ExtensionAPI;
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
34
34
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { CreateExtensionAPI, ExtensionPlugin } from './types';
|
|
1
|
+
export type { CreateExtensionAPI, ExtensionPlugin, ExtensionPluginOptions, } from './types';
|
|
@@ -13,7 +13,7 @@ interface CreateExtensionAPIOptions {
|
|
|
13
13
|
editInLegacyMacroBrowser?: () => void;
|
|
14
14
|
}
|
|
15
15
|
export type CreateExtensionAPI = (options: CreateExtensionAPIOptions) => ExtensionAPI;
|
|
16
|
-
interface ExtensionPluginOptions extends LongPressSelectionPluginOptions {
|
|
16
|
+
export interface ExtensionPluginOptions extends LongPressSelectionPluginOptions {
|
|
17
17
|
allowAutoSave?: boolean;
|
|
18
18
|
breakoutEnabled?: boolean;
|
|
19
19
|
extensionHandlers?: ExtensionHandlers;
|
|
@@ -28,7 +28,7 @@ export type ExtensionPlugin = NextEditorPlugin<'extension', {
|
|
|
28
28
|
OptionalPlugin<ContextPanelPlugin>
|
|
29
29
|
];
|
|
30
30
|
actions: {
|
|
31
|
-
|
|
31
|
+
api: () => ExtensionAPI;
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
34
34
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
".": "./src/index.ts"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@atlaskit/editor-common": "^74.
|
|
26
|
+
"@atlaskit/editor-common": "^74.58.0",
|
|
27
27
|
"@atlaskit/editor-plugin-context-panel": "^0.2.0",
|
|
28
28
|
"@atlaskit/editor-plugin-decorations": "^0.2.0",
|
|
29
29
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|
package/report.api.md
CHANGED
|
@@ -55,13 +55,14 @@ export type ExtensionPlugin = NextEditorPlugin<
|
|
|
55
55
|
OptionalPlugin<ContextPanelPlugin>,
|
|
56
56
|
];
|
|
57
57
|
actions: {
|
|
58
|
-
|
|
58
|
+
api: () => ExtensionAPI;
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
>;
|
|
62
62
|
|
|
63
63
|
// @public (undocumented)
|
|
64
|
-
interface ExtensionPluginOptions
|
|
64
|
+
export interface ExtensionPluginOptions
|
|
65
|
+
extends LongPressSelectionPluginOptions {
|
|
65
66
|
// (undocumented)
|
|
66
67
|
allowAutoSave?: boolean;
|
|
67
68
|
// (undocumented)
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -40,12 +40,12 @@ export type ExtensionPlugin = NextEditorPlugin<'extension', {
|
|
|
40
40
|
OptionalPlugin<ContextPanelPlugin>
|
|
41
41
|
];
|
|
42
42
|
actions: {
|
|
43
|
-
|
|
43
|
+
api: () => ExtensionAPI;
|
|
44
44
|
};
|
|
45
45
|
}>;
|
|
46
46
|
|
|
47
47
|
// @public (undocumented)
|
|
48
|
-
interface ExtensionPluginOptions extends LongPressSelectionPluginOptions {
|
|
48
|
+
export interface ExtensionPluginOptions extends LongPressSelectionPluginOptions {
|
|
49
49
|
// (undocumented)
|
|
50
50
|
allowAutoSave?: boolean;
|
|
51
51
|
// (undocumented)
|