@atlaskit/editor-plugin-emoji 9.0.12 → 9.0.14
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 +14 -0
- package/dist/types/editor-commands/insert-emoji.d.ts +2 -1
- package/dist/types/emojiPluginType.d.ts +1 -1
- package/dist/types/pm-plugins/actions.d.ts +4 -4
- package/dist/types/pm-plugins/ascii-input-rules.d.ts +1 -1
- package/dist/types/pm-plugins/providers/EmojiNodeDataProvider.d.ts +1 -1
- package/dist/types/ui/InlineEmojiPopup.d.ts +2 -2
- package/dist/types-ts4.5/editor-commands/insert-emoji.d.ts +2 -1
- package/dist/types-ts4.5/emojiPluginType.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/actions.d.ts +4 -4
- package/dist/types-ts4.5/pm-plugins/ascii-input-rules.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/providers/EmojiNodeDataProvider.d.ts +1 -1
- package/dist/types-ts4.5/ui/InlineEmojiPopup.d.ts +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 9.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`86fd5ef0f1d07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/86fd5ef0f1d07) -
|
|
8
|
+
Mechanical type-import autofix for text formatting editor plugins.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 9.0.13
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 9.0.12
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { EditorAnalyticsAPI, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
3
|
-
import { Fragment
|
|
3
|
+
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
+
import type { Node, ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
4
5
|
import type { EmojiId } from '@atlaskit/emoji';
|
|
5
6
|
export declare const createEmojiFragment: (doc: Node, pos: ResolvedPos, emoji: EmojiId) => Fragment;
|
|
6
7
|
export declare const insertEmoji: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (emojiId: EmojiId, inputMethod?: INPUT_METHOD.PICKER | INPUT_METHOD.ASCII | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
|
|
@@ -4,7 +4,7 @@ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
|
4
4
|
import type { InlineCommentInputMethod, InlineCommentMap } from '@atlaskit/editor-plugin-annotation';
|
|
5
5
|
import type { BasePlugin } from '@atlaskit/editor-plugin-base';
|
|
6
6
|
import type { ConnectivityPlugin } from '@atlaskit/editor-plugin-connectivity';
|
|
7
|
-
import {
|
|
7
|
+
import type { EditorViewModePluginState } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
8
8
|
import type { MetricsPlugin } from '@atlaskit/editor-plugin-metrics';
|
|
9
9
|
import type { TypeAheadInputMethod, TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
10
10
|
import type { SelectionBookmark } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { TypeAheadHandler, TypeAheadInputMethod } from '@atlaskit/editor-plugin-type-ahead';
|
|
3
|
+
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { EmojiDescription, EmojiProvider } from '@atlaskit/emoji';
|
|
5
|
-
import {
|
|
5
|
+
import type { EmojiPlugin } from '../emojiPluginType';
|
|
6
6
|
export declare const ACTIONS: {
|
|
7
7
|
SET_PROVIDER: string;
|
|
8
8
|
SET_RESULTS: string;
|
|
@@ -3,7 +3,7 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
|
3
3
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
4
|
import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
6
|
-
import {
|
|
6
|
+
import type { EmojiPlugin } from '../emojiPluginType';
|
|
7
7
|
export declare function inputRulePlugin(schema: Schema, editorAnalyticsAPI: EditorAnalyticsAPI | undefined, pluginInjectionApi: ExtractInjectionAPI<EmojiPlugin> | undefined, disableAutoformat?: boolean): SafePlugin | undefined;
|
|
8
8
|
declare const plugins: (schema: Schema, providerFactory: ProviderFactory, featureFlags: FeatureFlags, editorAnalyticsAPI: EditorAnalyticsAPI | undefined, pluginInjectionApi: ExtractInjectionAPI<EmojiPlugin> | undefined) => SafePlugin[];
|
|
9
9
|
export default plugins;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EmojiDefinition } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { JSONNode } from '@atlaskit/editor-json-transformer';
|
|
3
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
import {
|
|
4
|
+
import type { EmojiResource, OptionalEmojiDescriptionWithVariations } from '@atlaskit/emoji';
|
|
5
5
|
import { NodeDataProvider } from '@atlaskit/node-data-provider';
|
|
6
6
|
export declare class EmojiNodeDataProvider extends NodeDataProvider<EmojiDefinition, OptionalEmojiDescriptionWithVariations> {
|
|
7
7
|
name: "emojiNodeDataProvider";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ExtractInjectionAPI, UiComponentFactoryParams } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { EmojiPlugin } from '../emojiPluginType';
|
|
5
5
|
type InlineEmojiPopupProps = Pick<UiComponentFactoryParams, 'popupsBoundariesElement' | 'popupsMountPoint' | 'popupsScrollableElement'> & {
|
|
6
6
|
api: ExtractInjectionAPI<EmojiPlugin>;
|
|
7
7
|
editorView: EditorView;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { EditorAnalyticsAPI, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
3
|
-
import { Fragment
|
|
3
|
+
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
+
import type { Node, ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
4
5
|
import type { EmojiId } from '@atlaskit/emoji';
|
|
5
6
|
export declare const createEmojiFragment: (doc: Node, pos: ResolvedPos, emoji: EmojiId) => Fragment;
|
|
6
7
|
export declare const insertEmoji: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (emojiId: EmojiId, inputMethod?: INPUT_METHOD.PICKER | INPUT_METHOD.ASCII | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
|
|
@@ -4,7 +4,7 @@ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
|
4
4
|
import type { InlineCommentInputMethod, InlineCommentMap } from '@atlaskit/editor-plugin-annotation';
|
|
5
5
|
import type { BasePlugin } from '@atlaskit/editor-plugin-base';
|
|
6
6
|
import type { ConnectivityPlugin } from '@atlaskit/editor-plugin-connectivity';
|
|
7
|
-
import {
|
|
7
|
+
import type { EditorViewModePluginState } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
8
8
|
import type { MetricsPlugin } from '@atlaskit/editor-plugin-metrics';
|
|
9
9
|
import type { TypeAheadInputMethod, TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
10
10
|
import type { SelectionBookmark } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { TypeAheadHandler, TypeAheadInputMethod } from '@atlaskit/editor-plugin-type-ahead';
|
|
3
|
+
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { EmojiDescription, EmojiProvider } from '@atlaskit/emoji';
|
|
5
|
-
import {
|
|
5
|
+
import type { EmojiPlugin } from '../emojiPluginType';
|
|
6
6
|
export declare const ACTIONS: {
|
|
7
7
|
SET_PROVIDER: string;
|
|
8
8
|
SET_RESULTS: string;
|
|
@@ -3,7 +3,7 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
|
3
3
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
4
|
import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
6
|
-
import {
|
|
6
|
+
import type { EmojiPlugin } from '../emojiPluginType';
|
|
7
7
|
export declare function inputRulePlugin(schema: Schema, editorAnalyticsAPI: EditorAnalyticsAPI | undefined, pluginInjectionApi: ExtractInjectionAPI<EmojiPlugin> | undefined, disableAutoformat?: boolean): SafePlugin | undefined;
|
|
8
8
|
declare const plugins: (schema: Schema, providerFactory: ProviderFactory, featureFlags: FeatureFlags, editorAnalyticsAPI: EditorAnalyticsAPI | undefined, pluginInjectionApi: ExtractInjectionAPI<EmojiPlugin> | undefined) => SafePlugin[];
|
|
9
9
|
export default plugins;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EmojiDefinition } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { JSONNode } from '@atlaskit/editor-json-transformer';
|
|
3
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
import {
|
|
4
|
+
import type { EmojiResource, OptionalEmojiDescriptionWithVariations } from '@atlaskit/emoji';
|
|
5
5
|
import { NodeDataProvider } from '@atlaskit/node-data-provider';
|
|
6
6
|
export declare class EmojiNodeDataProvider extends NodeDataProvider<EmojiDefinition, OptionalEmojiDescriptionWithVariations> {
|
|
7
7
|
name: "emojiNodeDataProvider";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ExtractInjectionAPI, UiComponentFactoryParams } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { EmojiPlugin } from '../emojiPluginType';
|
|
5
5
|
type InlineEmojiPopupProps = Pick<UiComponentFactoryParams, 'popupsBoundariesElement' | 'popupsMountPoint' | 'popupsScrollableElement'> & {
|
|
6
6
|
api: ExtractInjectionAPI<EmojiPlugin>;
|
|
7
7
|
editorView: EditorView;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.14",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"@atlaskit/node-data-provider": "^9.0.0",
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
38
38
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
40
|
-
"@atlaskit/tokens": "^11.
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^46.0.0",
|
|
40
|
+
"@atlaskit/tokens": "^11.2.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"@emotion/react": "^11.7.1",
|
|
43
43
|
"lodash": "^4.17.21",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-loadable": "^5.1.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@atlaskit/editor-common": "^112.
|
|
48
|
+
"@atlaskit/editor-common": "^112.9.0",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-dom": "^18.2.0"
|
|
51
51
|
},
|