@atlaskit/editor-plugin-mentions 2.14.1 → 2.14.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 2.14.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.14.1
4
10
 
5
11
  ### Patch Changes
@@ -24,7 +24,7 @@ var ACTIONS = exports.ACTIONS = {
24
24
  SET_PROVIDER: 'SET_PROVIDER'
25
25
  };
26
26
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
27
- var PACKAGE_VERSION = "2.14.1";
27
+ var PACKAGE_VERSION = "2.14.2";
28
28
  var setProvider = function setProvider(provider) {
29
29
  return function (state, dispatch) {
30
30
  if (dispatch) {
@@ -13,7 +13,7 @@ export const ACTIONS = {
13
13
  SET_PROVIDER: 'SET_PROVIDER'
14
14
  };
15
15
  const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
16
- const PACKAGE_VERSION = "2.14.1";
16
+ const PACKAGE_VERSION = "2.14.2";
17
17
  const setProvider = provider => (state, dispatch) => {
18
18
  if (dispatch) {
19
19
  dispatch(state.tr.setMeta(mentionPluginKey, {
@@ -16,7 +16,7 @@ export var ACTIONS = {
16
16
  SET_PROVIDER: 'SET_PROVIDER'
17
17
  };
18
18
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
19
- var PACKAGE_VERSION = "2.14.1";
19
+ var PACKAGE_VERSION = "2.14.2";
20
20
  var setProvider = function setProvider(provider) {
21
21
  return function (state, dispatch) {
22
22
  if (dispatch) {
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { InlineNodeViewComponentProps } from '@atlaskit/editor-common/react-node-view';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
@@ -9,4 +9,4 @@ export type Props = InlineNodeViewComponentProps & {
9
9
  providerFactory: ProviderFactory;
10
10
  pluginInjectionApi?: ExtractInjectionAPI<MentionsPlugin>;
11
11
  };
12
- export declare const MentionNodeView: (props: Props) => JSX.Element;
12
+ export declare const MentionNodeView: (props: Props) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type ProfilecardProvider } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { MentionEventHandlers } from '@atlaskit/editor-common/ui';
4
4
  import { type MentionProvider } from '@atlaskit/mention/resource';
@@ -11,4 +11,4 @@ export interface MentionProps {
11
11
  mentionProvider?: Promise<MentionProvider>;
12
12
  profilecardProvider?: Promise<ProfilecardProvider>;
13
13
  }
14
- export declare const Mention: (props: MentionProps) => JSX.Element;
14
+ export declare const Mention: (props: MentionProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtractInjectionAPI, TypeAheadHandler } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { MentionsPlugin } from '../mentionsPluginType';
@@ -8,5 +8,5 @@ interface SecondaryToolbarComponentProps {
8
8
  typeAhead: TypeAheadHandler;
9
9
  disabled: boolean;
10
10
  }
11
- export declare function SecondaryToolbarComponent({ editorView, api, typeAhead, disabled, }: SecondaryToolbarComponentProps): JSX.Element | null;
11
+ export declare function SecondaryToolbarComponent({ editorView, api, typeAhead, disabled, }: SecondaryToolbarComponentProps): React.JSX.Element | null;
12
12
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { InlineNodeViewComponentProps } from '@atlaskit/editor-common/react-node-view';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
@@ -9,4 +9,4 @@ export type Props = InlineNodeViewComponentProps & {
9
9
  providerFactory: ProviderFactory;
10
10
  pluginInjectionApi?: ExtractInjectionAPI<MentionsPlugin>;
11
11
  };
12
- export declare const MentionNodeView: (props: Props) => JSX.Element;
12
+ export declare const MentionNodeView: (props: Props) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type ProfilecardProvider } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { MentionEventHandlers } from '@atlaskit/editor-common/ui';
4
4
  import { type MentionProvider } from '@atlaskit/mention/resource';
@@ -11,4 +11,4 @@ export interface MentionProps {
11
11
  mentionProvider?: Promise<MentionProvider>;
12
12
  profilecardProvider?: Promise<ProfilecardProvider>;
13
13
  }
14
- export declare const Mention: (props: MentionProps) => JSX.Element;
14
+ export declare const Mention: (props: MentionProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtractInjectionAPI, TypeAheadHandler } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { MentionsPlugin } from '../mentionsPluginType';
@@ -8,5 +8,5 @@ interface SecondaryToolbarComponentProps {
8
8
  typeAhead: TypeAheadHandler;
9
9
  disabled: boolean;
10
10
  }
11
- export declare function SecondaryToolbarComponent({ editorView, api, typeAhead, disabled, }: SecondaryToolbarComponentProps): JSX.Element | null;
11
+ export declare function SecondaryToolbarComponent({ editorView, api, typeAhead, disabled, }: SecondaryToolbarComponentProps): React.JSX.Element | null;
12
12
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "2.14.1",
3
+ "version": "2.14.2",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,16 +32,16 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^99.7.0",
35
+ "@atlaskit/editor-common": "^99.9.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.11.0",
37
37
  "@atlaskit/editor-plugin-base": "^2.1.0",
38
38
  "@atlaskit/editor-plugin-context-identifier": "^1.3.0",
39
39
  "@atlaskit/editor-plugin-type-ahead": "^1.12.0",
40
40
  "@atlaskit/editor-prosemirror": "6.2.1",
41
- "@atlaskit/icon": "^23.6.0",
41
+ "@atlaskit/icon": "^23.7.0",
42
42
  "@atlaskit/mention": "^23.11.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.0.0",
44
- "@atlaskit/theme": "^14.1.0",
44
+ "@atlaskit/theme": "^15.0.0",
45
45
  "@atlaskit/tokens": "^3.3.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1",