@atlaskit/editor-plugin-emoji 30.0.4 → 31.0.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/editor-plugin-emoji
2
2
 
3
+ ## 31.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7e91f3141329d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7e91f3141329d) -
8
+ Decouple Quick Insert menu rendering and interaction from typeahead under the existing
9
+ `platform_editor_slash_command` experiment.
10
+ - Updated dependencies
11
+
3
12
  ## 30.0.4
4
13
 
5
14
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { TypeAheadInsert } from '@atlaskit/editor-common/types/type-ahead';
2
+ import type { InsertContentCallback } from '@atlaskit/editor-common/insert';
3
3
  import type { Transaction } from '@atlaskit/editor-prosemirror/state';
4
4
  export declare const EmojiQuickInsertMenuItem: ({ selectEmojiFromQuickInsert, }: {
5
- selectEmojiFromQuickInsert: (insert: TypeAheadInsert) => Transaction;
5
+ selectEmojiFromQuickInsert: (insert: InsertContentCallback) => Transaction;
6
6
  }) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import type { TypeAheadInsert } from '@atlaskit/editor-common/types/type-ahead';
1
+ import type { InsertContentCallback } from '@atlaskit/editor-common/insert';
2
2
  import type { Transaction } from '@atlaskit/editor-prosemirror/state';
3
3
  import type { RegisterMenuItem } from '@atlaskit/editor-ui-control-model/types';
4
4
  export declare const getEmojiQuickInsertComponents: ({ selectEmojiFromQuickInsert, }: {
5
- selectEmojiFromQuickInsert: (insert: TypeAheadInsert) => Transaction;
5
+ selectEmojiFromQuickInsert: (insert: InsertContentCallback) => Transaction;
6
6
  }) => RegisterMenuItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-emoji",
3
- "version": "30.0.4",
3
+ "version": "31.0.0",
4
4
  "description": "Emoji plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,25 +24,25 @@
24
24
  "@atlaskit/adf-schema": "^57.7.0",
25
25
  "@atlaskit/browser-apis": "^1.2.0",
26
26
  "@atlaskit/editor-json-transformer": "^10.0.0",
27
- "@atlaskit/editor-plugin-analytics": "^29.0.0",
28
- "@atlaskit/editor-plugin-annotation": "^29.0.0",
29
- "@atlaskit/editor-plugin-base": "^30.0.0",
30
- "@atlaskit/editor-plugin-connectivity": "^29.0.0",
31
- "@atlaskit/editor-plugin-editor-viewmode": "^31.0.0",
32
- "@atlaskit/editor-plugin-metrics": "^30.0.0",
33
- "@atlaskit/editor-plugin-type-ahead": "^30.0.0",
34
- "@atlaskit/editor-plugin-ui-control-registry": "^23.0.0",
27
+ "@atlaskit/editor-plugin-analytics": "^30.0.0",
28
+ "@atlaskit/editor-plugin-annotation": "^30.0.0",
29
+ "@atlaskit/editor-plugin-base": "^31.0.0",
30
+ "@atlaskit/editor-plugin-connectivity": "^30.0.0",
31
+ "@atlaskit/editor-plugin-editor-viewmode": "^32.0.0",
32
+ "@atlaskit/editor-plugin-metrics": "^31.0.0",
33
+ "@atlaskit/editor-plugin-type-ahead": "^31.0.0",
34
+ "@atlaskit/editor-plugin-ui-control-registry": "^24.0.0",
35
35
  "@atlaskit/editor-prosemirror": "^9.0.0",
36
36
  "@atlaskit/editor-shared-styles": "^4.6.0",
37
37
  "@atlaskit/editor-ui-control-model": "^2.10.0",
38
38
  "@atlaskit/emoji": "^73.1.0",
39
39
  "@atlaskit/icon": "^38.0.0",
40
- "@atlaskit/node-data-provider": "^30.0.0",
40
+ "@atlaskit/node-data-provider": "^31.0.0",
41
41
  "@atlaskit/platform-feature-experiments": "^0.3.0",
42
42
  "@atlaskit/platform-feature-flags": "^2.2.0",
43
43
  "@atlaskit/prosemirror-input-rules": "^4.1.0",
44
- "@atlaskit/tmp-editor-statsig": "^246.0.0",
45
- "@atlaskit/tokens": "^20.7.0",
44
+ "@atlaskit/tmp-editor-statsig": "^246.1.0",
45
+ "@atlaskit/tokens": "^20.8.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1",
48
48
  "bind-event-listener": "^3.0.0",
@@ -50,7 +50,7 @@
50
50
  "react-loadable": "^5.1.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^133.6.0",
53
+ "@atlaskit/editor-common": "^134.0.0",
54
54
  "react": "^18.2.0 || ^19.2.0",
55
55
  "react-dom": "^18.2.0 || ^19.2.0",
56
56
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"