@atlaskit/editor-plugin-type-ahead 1.12.0 → 1.12.2
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 +12 -0
- package/dist/types/ui/ContentComponent.d.ts +2 -2
- package/dist/types/ui/TypeAheadErrorFallback/EmptyState.d.ts +1 -1
- package/dist/types/ui/TypeAheadMenu.d.ts +1 -1
- package/dist/types/ui/WrapperTypeAhead.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentComponent.d.ts +2 -2
- package/dist/types-ts4.5/ui/TypeAheadErrorFallback/EmptyState.d.ts +1 -1
- package/dist/types-ts4.5/ui/TypeAheadMenu.d.ts +1 -1
- package/dist/types-ts4.5/ui/WrapperTypeAhead.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { TypeAheadPlugin } from '../typeAheadPluginType';
|
|
@@ -8,5 +8,5 @@ interface ContentComponentProps {
|
|
|
8
8
|
editorView: EditorView;
|
|
9
9
|
popupMountRef: PopupMountPointReference;
|
|
10
10
|
}
|
|
11
|
-
export declare function ContentComponent({ api, editorView, popupMountRef }: ContentComponentProps): JSX.Element | null;
|
|
11
|
+
export declare function ContentComponent({ api, editorView, popupMountRef }: ContentComponentProps): React.JSX.Element | null;
|
|
12
12
|
export {};
|
|
@@ -5,5 +5,5 @@ type EmptyStateProps = {
|
|
|
5
5
|
description?: React.ReactNode;
|
|
6
6
|
renderImage?: () => React.ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export declare const EmptyState: ({ testId, header, description, renderImage }: EmptyStateProps) => JSX.Element;
|
|
8
|
+
export declare const EmptyState: ({ testId, header, description, renderImage }: EmptyStateProps) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -9,5 +9,5 @@ type TypeAheadMenuType = {
|
|
|
9
9
|
popupMountRef: PopupMountPointReference;
|
|
10
10
|
api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
|
|
11
11
|
};
|
|
12
|
-
export declare const TypeAheadMenu: React.MemoExoticComponent<({ editorView, popupMountRef, typeAheadState, api }: TypeAheadMenuType) => JSX.Element | null>;
|
|
12
|
+
export declare const TypeAheadMenu: React.MemoExoticComponent<({ editorView, popupMountRef, typeAheadState, api }: TypeAheadMenuType) => React.JSX.Element | null>;
|
|
13
13
|
export {};
|
|
@@ -17,5 +17,5 @@ type WrapperProps = {
|
|
|
17
17
|
inputMethod?: TypeAheadInputMethod;
|
|
18
18
|
api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
|
|
19
19
|
};
|
|
20
|
-
export declare const WrapperTypeAhead: React.MemoExoticComponent<({ triggerHandler, editorView, anchorElement, shouldFocusCursorInsideQuery, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, inputMethod, getDecorationPosition, reopenQuery, onUndoRedo, api, }: WrapperProps) => JSX.Element | null>;
|
|
20
|
+
export declare const WrapperTypeAhead: React.MemoExoticComponent<({ triggerHandler, editorView, anchorElement, shouldFocusCursorInsideQuery, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, inputMethod, getDecorationPosition, reopenQuery, onUndoRedo, api, }: WrapperProps) => React.JSX.Element | null>;
|
|
21
21
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { TypeAheadPlugin } from '../typeAheadPluginType';
|
|
@@ -8,5 +8,5 @@ interface ContentComponentProps {
|
|
|
8
8
|
editorView: EditorView;
|
|
9
9
|
popupMountRef: PopupMountPointReference;
|
|
10
10
|
}
|
|
11
|
-
export declare function ContentComponent({ api, editorView, popupMountRef }: ContentComponentProps): JSX.Element | null;
|
|
11
|
+
export declare function ContentComponent({ api, editorView, popupMountRef }: ContentComponentProps): React.JSX.Element | null;
|
|
12
12
|
export {};
|
|
@@ -5,5 +5,5 @@ type EmptyStateProps = {
|
|
|
5
5
|
description?: React.ReactNode;
|
|
6
6
|
renderImage?: () => React.ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export declare const EmptyState: ({ testId, header, description, renderImage }: EmptyStateProps) => JSX.Element;
|
|
8
|
+
export declare const EmptyState: ({ testId, header, description, renderImage }: EmptyStateProps) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -9,5 +9,5 @@ type TypeAheadMenuType = {
|
|
|
9
9
|
popupMountRef: PopupMountPointReference;
|
|
10
10
|
api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
|
|
11
11
|
};
|
|
12
|
-
export declare const TypeAheadMenu: React.MemoExoticComponent<({ editorView, popupMountRef, typeAheadState, api }: TypeAheadMenuType) => JSX.Element | null>;
|
|
12
|
+
export declare const TypeAheadMenu: React.MemoExoticComponent<({ editorView, popupMountRef, typeAheadState, api }: TypeAheadMenuType) => React.JSX.Element | null>;
|
|
13
13
|
export {};
|
|
@@ -17,5 +17,5 @@ type WrapperProps = {
|
|
|
17
17
|
inputMethod?: TypeAheadInputMethod;
|
|
18
18
|
api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
|
|
19
19
|
};
|
|
20
|
-
export declare const WrapperTypeAhead: React.MemoExoticComponent<({ triggerHandler, editorView, anchorElement, shouldFocusCursorInsideQuery, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, inputMethod, getDecorationPosition, reopenQuery, onUndoRedo, api, }: WrapperProps) => JSX.Element | null>;
|
|
20
|
+
export declare const WrapperTypeAhead: React.MemoExoticComponent<({ triggerHandler, editorView, anchorElement, shouldFocusCursorInsideQuery, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, inputMethod, getDecorationPosition, reopenQuery, onUndoRedo, api, }: WrapperProps) => React.JSX.Element | null>;
|
|
21
21
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
|
-
"@atlaskit/editor-common": "^99.
|
|
35
|
+
"@atlaskit/editor-common": "^99.9.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.11.0",
|
|
37
37
|
"@atlaskit/editor-plugin-connectivity": "^1.1.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
40
40
|
"@atlaskit/heading": "^4.1.0",
|
|
41
41
|
"@atlaskit/menu": "^2.14.0",
|
|
42
|
-
"@atlaskit/platform-feature-flags": "^0.
|
|
42
|
+
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
43
43
|
"@atlaskit/primitives": "^13.4.0",
|
|
44
44
|
"@atlaskit/prosemirror-input-rules": "^3.2.0",
|
|
45
|
-
"@atlaskit/theme": "^
|
|
45
|
+
"@atlaskit/theme": "^15.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^3.3.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1",
|