@atlaskit/editor-plugin-emoji 2.7.23 → 2.7.24

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-emoji
2
2
 
3
+ ## 2.7.24
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.7.23
4
10
 
5
11
  ### Patch Changes
@@ -38,22 +38,25 @@ export type EmojiPluginState = {
38
38
  export type EmojiPluginSharedState = EmojiPluginState & {
39
39
  typeAheadHandler: TypeAheadHandler;
40
40
  };
41
+ export type EmojiPluginCommands = {
42
+ insertEmoji: (emojiId: EmojiId, inputMethod?: INPUT_METHOD.PICKER | INPUT_METHOD.ASCII | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
43
+ };
44
+ export type EmojiPluginActions = {
45
+ openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
46
+ setProvider: (provider: Promise<EmojiProvider>) => Promise<boolean>;
47
+ };
48
+ export type EmojiPluginDependencies = [
49
+ OptionalPlugin<AnalyticsPlugin>,
50
+ TypeAheadPlugin,
51
+ OptionalPlugin<AnnotationPluginType>,
52
+ OptionalPlugin<EditorViewModePluginType>,
53
+ OptionalPlugin<BasePlugin>
54
+ ];
41
55
  export type EmojiPlugin = NextEditorPlugin<'emoji', {
42
56
  pluginConfiguration: EmojiPluginOptions | undefined;
43
- dependencies: [
44
- OptionalPlugin<AnalyticsPlugin>,
45
- TypeAheadPlugin,
46
- OptionalPlugin<AnnotationPluginType>,
47
- OptionalPlugin<EditorViewModePluginType>,
48
- OptionalPlugin<BasePlugin>
49
- ];
57
+ dependencies: EmojiPluginDependencies;
50
58
  sharedState: EmojiPluginSharedState | undefined;
51
- commands: {
52
- insertEmoji: (emojiId: EmojiId, inputMethod?: INPUT_METHOD.PICKER | INPUT_METHOD.ASCII | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
53
- };
54
- actions: {
55
- openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
56
- setProvider: (provider: Promise<EmojiProvider>) => Promise<boolean>;
57
- };
59
+ commands: EmojiPluginCommands;
60
+ actions: EmojiPluginActions;
58
61
  }>;
59
62
  export {};
@@ -38,22 +38,25 @@ export type EmojiPluginState = {
38
38
  export type EmojiPluginSharedState = EmojiPluginState & {
39
39
  typeAheadHandler: TypeAheadHandler;
40
40
  };
41
+ export type EmojiPluginCommands = {
42
+ insertEmoji: (emojiId: EmojiId, inputMethod?: INPUT_METHOD.PICKER | INPUT_METHOD.ASCII | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
43
+ };
44
+ export type EmojiPluginActions = {
45
+ openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
46
+ setProvider: (provider: Promise<EmojiProvider>) => Promise<boolean>;
47
+ };
48
+ export type EmojiPluginDependencies = [
49
+ OptionalPlugin<AnalyticsPlugin>,
50
+ TypeAheadPlugin,
51
+ OptionalPlugin<AnnotationPluginType>,
52
+ OptionalPlugin<EditorViewModePluginType>,
53
+ OptionalPlugin<BasePlugin>
54
+ ];
41
55
  export type EmojiPlugin = NextEditorPlugin<'emoji', {
42
56
  pluginConfiguration: EmojiPluginOptions | undefined;
43
- dependencies: [
44
- OptionalPlugin<AnalyticsPlugin>,
45
- TypeAheadPlugin,
46
- OptionalPlugin<AnnotationPluginType>,
47
- OptionalPlugin<EditorViewModePluginType>,
48
- OptionalPlugin<BasePlugin>
49
- ];
57
+ dependencies: EmojiPluginDependencies;
50
58
  sharedState: EmojiPluginSharedState | undefined;
51
- commands: {
52
- insertEmoji: (emojiId: EmojiId, inputMethod?: INPUT_METHOD.PICKER | INPUT_METHOD.ASCII | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
53
- };
54
- actions: {
55
- openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
56
- setProvider: (provider: Promise<EmojiProvider>) => Promise<boolean>;
57
- };
59
+ commands: EmojiPluginCommands;
60
+ actions: EmojiPluginActions;
58
61
  }>;
59
62
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-emoji",
3
- "version": "2.7.23",
3
+ "version": "2.7.24",
4
4
  "description": "Emoji plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -21,15 +21,15 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@atlaskit/adf-schema": "^46.1.0",
24
- "@atlaskit/editor-common": "^99.0.0",
24
+ "@atlaskit/editor-common": "^99.3.0",
25
25
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
26
- "@atlaskit/editor-plugin-annotation": "1.26.11",
26
+ "@atlaskit/editor-plugin-annotation": "1.26.12",
27
27
  "@atlaskit/editor-plugin-base": "^2.1.0",
28
28
  "@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
29
29
  "@atlaskit/editor-plugin-type-ahead": "^1.11.0",
30
30
  "@atlaskit/editor-prosemirror": "6.2.1",
31
31
  "@atlaskit/emoji": "^67.12.0",
32
- "@atlaskit/icon": "^23.3.0",
32
+ "@atlaskit/icon": "^23.4.0",
33
33
  "@atlaskit/node-data-provider": "^3.0.0",
34
34
  "@atlaskit/platform-feature-flags": "^0.3.0",
35
35
  "@atlaskit/prosemirror-input-rules": "^3.2.0",