@atlaskit/editor-plugin-type-ahead 0.1.0 → 0.1.1
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/package.json +2 -2
- package/tmp/api-report-tmp.d.ts +0 -42
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^74.
|
|
34
|
+
"@atlaskit/editor-common": "^74.52.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-type-ahead"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
8
|
-
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
9
|
-
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
10
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
11
|
-
import type { TypeAheadHandler } from '@atlaskit/editor-common/types';
|
|
12
|
-
|
|
13
|
-
// @public (undocumented)
|
|
14
|
-
type OpenTypeAheadAtCursorType = (props: Props) => EditorCommand;
|
|
15
|
-
|
|
16
|
-
// @public (undocumented)
|
|
17
|
-
type Props = {
|
|
18
|
-
triggerHandler: TypeAheadHandler;
|
|
19
|
-
inputMethod: TypeAheadInputMethod;
|
|
20
|
-
query?: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
// @public (undocumented)
|
|
24
|
-
export type TypeAheadInputMethod = INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR;
|
|
25
|
-
|
|
26
|
-
// @public (undocumented)
|
|
27
|
-
export type TypeAheadPlugin = NextEditorPlugin<'typeAhead', {
|
|
28
|
-
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
29
|
-
commands: {
|
|
30
|
-
openTypeAheadAtCursor: OpenTypeAheadAtCursorType;
|
|
31
|
-
};
|
|
32
|
-
}>;
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
export type TypeAheadPluginOptions = {
|
|
36
|
-
isMobile?: boolean;
|
|
37
|
-
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
// (No @packageDocumentation comment for this package)
|
|
41
|
-
|
|
42
|
-
```
|