@atlaskit/editor-plugin-emoji 0.1.0 → 0.1.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/types.d.ts +3 -4
- package/dist/types-ts4.5/types.d.ts +3 -4
- package/package.json +4 -2
- package/report.api.md +2 -2
- package/tmp/api-report-tmp.d.ts +0 -43
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
|
+
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
|
|
8
|
+
|
|
9
|
+
## 0.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`2b28c870854`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b28c870854) - Adding mssing dependencies to build the package
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type {
|
|
3
|
+
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
4
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
5
|
-
import type { EmojiId } from '@atlaskit/emoji';
|
|
6
|
-
import type { EmojiDescription, EmojiProvider, EmojiResourceConfig } from '@atlaskit/emoji';
|
|
5
|
+
import type { EmojiDescription, EmojiId, EmojiProvider, EmojiResourceConfig } from '@atlaskit/emoji';
|
|
7
6
|
export interface EmojiPluginOptions {
|
|
8
7
|
headless?: boolean;
|
|
9
8
|
}
|
|
@@ -14,7 +13,7 @@ export type EmojiPluginState = {
|
|
|
14
13
|
};
|
|
15
14
|
export type EmojiPlugin = NextEditorPlugin<'emoji', {
|
|
16
15
|
pluginConfiguration: EmojiPluginOptions | undefined;
|
|
17
|
-
dependencies: [OptionalPlugin<
|
|
16
|
+
dependencies: [OptionalPlugin<AnalyticsPlugin>, TypeAheadPlugin];
|
|
18
17
|
sharedState: EmojiPluginState | undefined;
|
|
19
18
|
commands: {
|
|
20
19
|
insertEmoji: (emojiId: EmojiId, inputMethod?: INPUT_METHOD.PICKER | INPUT_METHOD.ASCII | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type {
|
|
3
|
+
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
4
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
5
|
-
import type { EmojiId } from '@atlaskit/emoji';
|
|
6
|
-
import type { EmojiDescription, EmojiProvider, EmojiResourceConfig } from '@atlaskit/emoji';
|
|
5
|
+
import type { EmojiDescription, EmojiId, EmojiProvider, EmojiResourceConfig } from '@atlaskit/emoji';
|
|
7
6
|
export interface EmojiPluginOptions {
|
|
8
7
|
headless?: boolean;
|
|
9
8
|
}
|
|
@@ -15,7 +14,7 @@ export type EmojiPluginState = {
|
|
|
15
14
|
export type EmojiPlugin = NextEditorPlugin<'emoji', {
|
|
16
15
|
pluginConfiguration: EmojiPluginOptions | undefined;
|
|
17
16
|
dependencies: [
|
|
18
|
-
OptionalPlugin<
|
|
17
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
19
18
|
TypeAheadPlugin
|
|
20
19
|
];
|
|
21
20
|
sharedState: EmojiPluginState | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^74.
|
|
34
|
+
"@atlaskit/editor-common": "^74.52.0",
|
|
35
|
+
"@atlaskit/editor-plugin-analytics": "^0.1.4",
|
|
36
|
+
"@atlaskit/editor-plugin-type-ahead": "^0.1.0",
|
|
35
37
|
"@babel/runtime": "^7.0.0"
|
|
36
38
|
},
|
|
37
39
|
"peerDependencies": {
|
package/report.api.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<!--SECTION START: Main Entry Types-->
|
|
16
16
|
|
|
17
17
|
```ts
|
|
18
|
-
import type {
|
|
18
|
+
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
19
19
|
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
20
20
|
import type { EmojiDescription } from '@atlaskit/emoji';
|
|
21
21
|
import type { EmojiId } from '@atlaskit/emoji';
|
|
@@ -31,7 +31,7 @@ export type EmojiPlugin = NextEditorPlugin<
|
|
|
31
31
|
'emoji',
|
|
32
32
|
{
|
|
33
33
|
pluginConfiguration: EmojiPluginOptions | undefined;
|
|
34
|
-
dependencies: [OptionalPlugin<
|
|
34
|
+
dependencies: [OptionalPlugin<AnalyticsPlugin>, TypeAheadPlugin];
|
|
35
35
|
sharedState: EmojiPluginState | undefined;
|
|
36
36
|
commands: {
|
|
37
37
|
insertEmoji: (
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-emoji"
|
|
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 { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
8
|
-
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
9
|
-
import type { EmojiDescription } from '@atlaskit/emoji';
|
|
10
|
-
import type { EmojiId } from '@atlaskit/emoji';
|
|
11
|
-
import type { EmojiProvider } from '@atlaskit/emoji';
|
|
12
|
-
import type { EmojiResourceConfig } from '@atlaskit/emoji';
|
|
13
|
-
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
14
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
15
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
16
|
-
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
17
|
-
|
|
18
|
-
// @public (undocumented)
|
|
19
|
-
export type EmojiPlugin = NextEditorPlugin<'emoji', {
|
|
20
|
-
pluginConfiguration: EmojiPluginOptions | undefined;
|
|
21
|
-
dependencies: [OptionalPlugin<typeof analyticsPlugin>, TypeAheadPlugin];
|
|
22
|
-
sharedState: EmojiPluginState | undefined;
|
|
23
|
-
commands: {
|
|
24
|
-
insertEmoji: (emojiId: EmojiId, inputMethod?: INPUT_METHOD.ASCII | INPUT_METHOD.PICKER | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
|
|
25
|
-
};
|
|
26
|
-
}>;
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
export interface EmojiPluginOptions {
|
|
30
|
-
// (undocumented)
|
|
31
|
-
headless?: boolean;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
export type EmojiPluginState = {
|
|
36
|
-
emojiProvider?: EmojiProvider;
|
|
37
|
-
emojiResourceConfig?: EmojiResourceConfig;
|
|
38
|
-
asciiMap?: Map<string, EmojiDescription>;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
// (No @packageDocumentation comment for this package)
|
|
42
|
-
|
|
43
|
-
```
|