@atlaskit/editor-plugin-mentions 10.0.12 → 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 +14 -0
- package/dist/cjs/pm-plugins/main.js +1 -1
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/esm/pm-plugins/main.js +1 -1
- package/dist/types/editor-commands/index.d.ts +1 -1
- package/dist/types/nodeviews/mentionNodeView.d.ts +3 -3
- package/dist/types/nodeviews/profileCardRenderer.d.ts +3 -3
- package/dist/types/pm-plugins/main.d.ts +1 -1
- package/dist/types/ui/PopperWrapper.d.ts +3 -2
- package/dist/types/ui/ProfileCardComponent.d.ts +1 -1
- package/dist/types/ui/type-ahead/analytics.d.ts +1 -1
- package/dist/types-ts4.5/editor-commands/index.d.ts +1 -1
- package/dist/types-ts4.5/nodeviews/mentionNodeView.d.ts +3 -3
- package/dist/types-ts4.5/nodeviews/profileCardRenderer.d.ts +3 -3
- package/dist/types-ts4.5/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/ui/PopperWrapper.d.ts +3 -2
- package/dist/types-ts4.5/ui/ProfileCardComponent.d.ts +1 -1
- package/dist/types-ts4.5/ui/type-ahead/analytics.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
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
|
+
|
|
11
|
+
## 10.0.13
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 10.0.12
|
|
4
18
|
|
|
5
19
|
### 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.
|
|
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.
|
|
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.
|
|
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 {
|
|
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 {
|
|
1
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
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 {
|
|
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 {
|
|
1
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { MentionsPlugin } from '../mentionsPluginType';
|
|
5
|
-
import {
|
|
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 {
|
|
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
|
|
2
|
-
import {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
1
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
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 {
|
|
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 {
|
|
1
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { MentionsPlugin } from '../mentionsPluginType';
|
|
5
|
-
import {
|
|
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 {
|
|
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
|
|
2
|
-
import {
|
|
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 {
|
|
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 {
|
|
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.
|
|
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",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@atlaskit/portal": "^5.2.0",
|
|
47
47
|
"@atlaskit/profilecard": "^24.44.0",
|
|
48
48
|
"@atlaskit/theme": "^22.0.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
50
|
-
"@atlaskit/tokens": "^11.
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^46.0.0",
|
|
50
|
+
"@atlaskit/tokens": "^11.2.0",
|
|
51
51
|
"@atlaskit/user-picker": "^11.25.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@compiled/react": "^0.20.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"uuid": "^3.1.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^112.
|
|
59
|
+
"@atlaskit/editor-common": "^112.9.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|