@atlaskit/editor-plugin-mentions 10.0.13 → 10.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 10.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
+
3
11
  ## 10.0.13
4
12
 
5
13
  ### Patch Changes
@@ -23,7 +23,7 @@ var ACTIONS = exports.ACTIONS = {
23
23
  SET_PROVIDER: 'SET_PROVIDER'
24
24
  };
25
25
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
26
- var PACKAGE_VERSION = "10.0.12";
26
+ var PACKAGE_VERSION = "10.0.13";
27
27
  var setProvider = function setProvider(provider) {
28
28
  return function (state, dispatch) {
29
29
  if (dispatch) {
@@ -12,7 +12,7 @@ export const ACTIONS = {
12
12
  SET_PROVIDER: 'SET_PROVIDER'
13
13
  };
14
14
  const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
15
- const PACKAGE_VERSION = "10.0.12";
15
+ const PACKAGE_VERSION = "10.0.13";
16
16
  const setProvider = provider => (state, dispatch) => {
17
17
  if (dispatch) {
18
18
  dispatch(state.tr.setMeta(mentionPluginKey, {
@@ -15,7 +15,7 @@ export var ACTIONS = {
15
15
  SET_PROVIDER: 'SET_PROVIDER'
16
16
  };
17
17
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
18
- var PACKAGE_VERSION = "10.0.12";
18
+ var PACKAGE_VERSION = "10.0.13";
19
19
  var setProvider = function setProvider(provider) {
20
20
  return function (state, dispatch) {
21
21
  if (dispatch) {
@@ -1,7 +1,7 @@
1
1
  import type { ExtractInjectionAPI, EditorCommand } from '@atlaskit/editor-common/types';
2
2
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { Transaction } from '@atlaskit/editor-prosemirror/state';
4
- import { type MentionProvider, type MentionDescription } from '@atlaskit/mention/resource';
4
+ import type { MentionProvider, MentionDescription } from '@atlaskit/mention/resource';
5
5
  import type { MentionsPlugin } from '../mentionsPluginType';
6
6
  export type InsertMentionParameters = Pick<MentionDescription, 'name' | 'id' | 'userType' | 'isXProductUser' | 'nickname' | 'accessLevel'> & {
7
7
  localId?: string;
@@ -1,9 +1,9 @@
1
- import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
1
+ import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { NodeView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { MentionsPlugin } from '../mentionsPluginType';
6
- import { type MentionPluginOptions } from '../types';
6
+ import type { MentionPluginOptions } from '../types';
7
7
  interface MentionNodeViewProps {
8
8
  api: ExtractInjectionAPI<MentionsPlugin> | undefined;
9
9
  options?: MentionPluginOptions;
@@ -1,8 +1,8 @@
1
- import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
1
+ import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { MentionsPlugin } from '../mentionsPluginType';
5
- import { type MentionPluginOptions } from '../types';
5
+ import type { MentionPluginOptions } from '../types';
6
6
  export declare const profileCardRenderer: ({ dom, options, portalProviderAPI, node, api, }: {
7
7
  api: ExtractInjectionAPI<MentionsPlugin> | undefined;
8
8
  dom: Node;
@@ -1,7 +1,7 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
2
  import type { ExtractInjectionAPI, PMPluginFactoryParams } from '@atlaskit/editor-common/types';
3
3
  import type { MentionsPlugin } from '../mentionsPluginType';
4
- import { type FireElementsChannelEvent, type MentionPluginOptions, type MentionPluginState } from '../types';
4
+ import type { FireElementsChannelEvent, MentionPluginOptions, MentionPluginState } from '../types';
5
5
  export declare const ACTIONS: {
6
6
  SET_PROVIDER: string;
7
7
  };
@@ -1,5 +1,6 @@
1
- import React, { type PropsWithChildren } from 'react';
2
- import { type PopperChildrenProps } from '@atlaskit/popper';
1
+ import React from 'react';
2
+ import type { PropsWithChildren } from 'react';
3
+ import type { PopperChildrenProps } from '@atlaskit/popper';
3
4
  interface Props {
4
5
  /**
5
6
  * Returns the element to be positioned.
@@ -1,5 +1,5 @@
1
1
  import type { ProfilecardProvider } from '@atlaskit/editor-common/provider-factory';
2
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { ProfileCardClientData, TeamCentralReportingLinesData } from '@atlaskit/profilecard/types';
4
4
  interface ProfileCardStateProps {
5
5
  id: string | undefined;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
2
2
  import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
4
4
  import type { UserRole } from '@atlaskit/mention';
@@ -1,7 +1,7 @@
1
1
  import type { ExtractInjectionAPI, EditorCommand } from '@atlaskit/editor-common/types';
2
2
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { Transaction } from '@atlaskit/editor-prosemirror/state';
4
- import { type MentionProvider, type MentionDescription } from '@atlaskit/mention/resource';
4
+ import type { MentionProvider, MentionDescription } from '@atlaskit/mention/resource';
5
5
  import type { MentionsPlugin } from '../mentionsPluginType';
6
6
  export type InsertMentionParameters = Pick<MentionDescription, 'name' | 'id' | 'userType' | 'isXProductUser' | 'nickname' | 'accessLevel'> & {
7
7
  localId?: string;
@@ -1,9 +1,9 @@
1
- import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
1
+ import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { NodeView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { MentionsPlugin } from '../mentionsPluginType';
6
- import { type MentionPluginOptions } from '../types';
6
+ import type { MentionPluginOptions } from '../types';
7
7
  interface MentionNodeViewProps {
8
8
  api: ExtractInjectionAPI<MentionsPlugin> | undefined;
9
9
  options?: MentionPluginOptions;
@@ -1,8 +1,8 @@
1
- import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
1
+ import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { MentionsPlugin } from '../mentionsPluginType';
5
- import { type MentionPluginOptions } from '../types';
5
+ import type { MentionPluginOptions } from '../types';
6
6
  export declare const profileCardRenderer: ({ dom, options, portalProviderAPI, node, api, }: {
7
7
  api: ExtractInjectionAPI<MentionsPlugin> | undefined;
8
8
  dom: Node;
@@ -1,7 +1,7 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
2
  import type { ExtractInjectionAPI, PMPluginFactoryParams } from '@atlaskit/editor-common/types';
3
3
  import type { MentionsPlugin } from '../mentionsPluginType';
4
- import { type FireElementsChannelEvent, type MentionPluginOptions, type MentionPluginState } from '../types';
4
+ import type { FireElementsChannelEvent, MentionPluginOptions, MentionPluginState } from '../types';
5
5
  export declare const ACTIONS: {
6
6
  SET_PROVIDER: string;
7
7
  };
@@ -1,5 +1,6 @@
1
- import React, { type PropsWithChildren } from 'react';
2
- import { type PopperChildrenProps } from '@atlaskit/popper';
1
+ import React from 'react';
2
+ import type { PropsWithChildren } from 'react';
3
+ import type { PopperChildrenProps } from '@atlaskit/popper';
3
4
  interface Props {
4
5
  /**
5
6
  * Returns the element to be positioned.
@@ -1,5 +1,5 @@
1
1
  import type { ProfilecardProvider } from '@atlaskit/editor-common/provider-factory';
2
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { ProfileCardClientData, TeamCentralReportingLinesData } from '@atlaskit/profilecard/types';
4
4
  interface ProfileCardStateProps {
5
5
  id: string | undefined;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
2
2
  import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
4
4
  import type { UserRole } from '@atlaskit/mention';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "10.0.13",
3
+ "version": "10.0.14",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",