@atlaskit/editor-plugin-mentions 21.0.0 → 21.0.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 +12 -0
- package/dist/cjs/mentionsPlugin.js +3 -3
- package/dist/cjs/pm-plugins/agent.js +1 -1
- package/dist/cjs/pm-plugins/main.js +1 -1
- package/dist/cjs/ui/type-ahead/index.js +3 -3
- package/dist/es2019/entry-points/anchored-popup.js +1 -0
- package/dist/es2019/entry-points/mentions-plugin.js +1 -0
- package/dist/es2019/mentionsPlugin.js +3 -3
- package/dist/es2019/pm-plugins/agent.js +1 -1
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/es2019/ui/type-ahead/index.js +3 -3
- package/dist/esm/entry-points/anchored-popup.js +1 -0
- package/dist/esm/entry-points/mentions-plugin.js +1 -0
- package/dist/esm/mentionsPlugin.js +3 -3
- package/dist/esm/pm-plugins/agent.js +1 -1
- package/dist/esm/pm-plugins/main.js +1 -1
- package/dist/esm/ui/type-ahead/index.js +3 -3
- package/dist/types/mentionsPluginType.d.ts +1 -1
- package/dist/types/ui/ProfileCardComponent.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -14,11 +14,11 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
14
14
|
var _reactIntl = require("react-intl");
|
|
15
15
|
var _uuid = require("uuid");
|
|
16
16
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
17
|
+
var _assets = require("@atlaskit/editor-common/assets");
|
|
17
18
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
18
19
|
var _providerFactory = require("@atlaskit/editor-common/provider-factory");
|
|
19
|
-
var _assets = require("@atlaskit/editor-common/assets");
|
|
20
|
-
var _isResolvingMentionProvider = require("@atlaskit/mention/is-resolving-mention-provider");
|
|
21
20
|
var _isPromise = require("@atlaskit/mention/is-promise");
|
|
21
|
+
var _isResolvingMentionProvider = require("@atlaskit/mention/is-resolving-mention-provider");
|
|
22
22
|
var _types = require("@atlaskit/mention/types");
|
|
23
23
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
24
24
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
@@ -30,9 +30,9 @@ var _agent = require("./pm-plugins/agent");
|
|
|
30
30
|
var _key = require("./pm-plugins/key");
|
|
31
31
|
var _main = require("./pm-plugins/main");
|
|
32
32
|
var _InlineInvitePopupContainer = require("./ui/InlineInvitePopupContainer");
|
|
33
|
+
var _getMentionQuickInsertComponents = require("./ui/quick-insert/getMentionQuickInsertComponents");
|
|
33
34
|
var _SecondaryToolbarComponent = require("./ui/SecondaryToolbarComponent");
|
|
34
35
|
var _typeAhead = require("./ui/type-ahead");
|
|
35
|
-
var _getMentionQuickInsertComponents = require("./ui/quick-insert/getMentionQuickInsertComponents");
|
|
36
36
|
var _excluded2 = ["pendingPastedAgentMention", "runStateDecorations"]; // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
37
37
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
38
38
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -10,8 +10,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
10
10
|
var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
11
11
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
12
12
|
var _view = require("@atlaskit/editor-prosemirror/view");
|
|
13
|
-
var _types = require("@atlaskit/mention/types");
|
|
14
13
|
var _isResolvingMentionProvider = require("@atlaskit/mention/is-resolving-mention-provider");
|
|
14
|
+
var _types = require("@atlaskit/mention/types");
|
|
15
15
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
16
16
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
17
|
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
@@ -44,7 +44,7 @@ var ACTIONS = exports.ACTIONS = {
|
|
|
44
44
|
CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
|
|
45
45
|
};
|
|
46
46
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
47
|
-
var PACKAGE_VERSION = "
|
|
47
|
+
var PACKAGE_VERSION = "21.0.1";
|
|
48
48
|
var setProvider = function setProvider(provider) {
|
|
49
49
|
return function (state, dispatch) {
|
|
50
50
|
if (dispatch) {
|
|
@@ -17,9 +17,9 @@ var _typeAhead = require("@atlaskit/editor-common/type-ahead");
|
|
|
17
17
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
18
18
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
19
19
|
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge/lozenge"));
|
|
20
|
-
var _styles = require("@atlaskit/mention/mention-item/styles");
|
|
21
|
-
var _mentionItem = _interopRequireDefault(require("@atlaskit/mention/mention-item"));
|
|
22
20
|
var _isResolvingMentionProvider = require("@atlaskit/mention/is-resolving-mention-provider");
|
|
21
|
+
var _mentionItem = _interopRequireDefault(require("@atlaskit/mention/mention-item"));
|
|
22
|
+
var _styles = require("@atlaskit/mention/mention-item/styles");
|
|
23
23
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
24
24
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
25
25
|
var _expVal = require("@atlaskit/tmp-editor-statsig/expVal");
|
|
@@ -29,8 +29,8 @@ var _main = require("../../pm-plugins/main");
|
|
|
29
29
|
var _utils2 = require("../../pm-plugins/utils");
|
|
30
30
|
var _InviteItem = _interopRequireWildcard(require("../InviteItem"));
|
|
31
31
|
var _InviteItemWithEmailDomain = _interopRequireDefault(require("../InviteItem/InviteItemWithEmailDomain"));
|
|
32
|
-
var _analytics = require("./analytics");
|
|
33
32
|
var _AgentMentionLoadErrorItem = require("./AgentMentionLoadErrorItem");
|
|
33
|
+
var _analytics = require("./analytics");
|
|
34
34
|
var _MentionItemWithProfileCard = require("./MentionItemWithProfileCard");
|
|
35
35
|
var _utils3 = require("./utils");
|
|
36
36
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -3,11 +3,11 @@ import { useIntl } from 'react-intl';
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
4
4
|
import { v4 as uuid } from 'uuid';
|
|
5
5
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
6
|
+
import { IconMention } from '@atlaskit/editor-common/assets';
|
|
6
7
|
import { toolbarInsertBlockMessages as messages, mentionMessages } from '@atlaskit/editor-common/messages';
|
|
7
8
|
import { WithProviders } from '@atlaskit/editor-common/provider-factory';
|
|
8
|
-
import { IconMention } from '@atlaskit/editor-common/assets';
|
|
9
|
-
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
10
9
|
import { isPromise } from '@atlaskit/mention/is-promise';
|
|
10
|
+
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
11
11
|
import { MentionNameStatus } from '@atlaskit/mention/types';
|
|
12
12
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
13
13
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
@@ -19,9 +19,9 @@ import { agentMentionPluginKey, createAgentMentionPlugin } from './pm-plugins/ag
|
|
|
19
19
|
import { mentionPluginKey } from './pm-plugins/key';
|
|
20
20
|
import { ACTIONS, createMentionPlugin } from './pm-plugins/main';
|
|
21
21
|
import { InlineInvitePopupContainer } from './ui/InlineInvitePopupContainer';
|
|
22
|
+
import { getMentionQuickInsertComponents } from './ui/quick-insert/getMentionQuickInsertComponents';
|
|
22
23
|
import { SecondaryToolbarComponent } from './ui/SecondaryToolbarComponent';
|
|
23
24
|
import { createTypeAheadConfig } from './ui/type-ahead';
|
|
24
|
-
import { getMentionQuickInsertComponents } from './ui/quick-insert/getMentionQuickInsertComponents';
|
|
25
25
|
const processName = (name, intl) => {
|
|
26
26
|
const unknownLabel = intl.formatMessage(mentionMessages.unknownLabel);
|
|
27
27
|
if (name.status === MentionNameStatus.OK) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import { MentionNameStatus } from '@atlaskit/mention/types';
|
|
5
4
|
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
5
|
+
import { MentionNameStatus } from '@atlaskit/mention/types';
|
|
6
6
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
8
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
@@ -33,7 +33,7 @@ export const ACTIONS = {
|
|
|
33
33
|
CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
|
|
34
34
|
};
|
|
35
35
|
const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
36
|
-
const PACKAGE_VERSION = "
|
|
36
|
+
const PACKAGE_VERSION = "21.0.1";
|
|
37
37
|
const setProvider = provider => (state, dispatch) => {
|
|
38
38
|
if (dispatch) {
|
|
39
39
|
dispatch(state.tr.setMeta(mentionPluginKey, {
|
|
@@ -7,9 +7,9 @@ import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
|
|
|
7
7
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
8
8
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
9
9
|
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
10
|
-
import { MENTION_ITEM_HEIGHT, MENTION_ITEM_HEIGHT_REFRESHED } from '@atlaskit/mention/mention-item/styles';
|
|
11
|
-
import MentionItem from '@atlaskit/mention/mention-item';
|
|
12
10
|
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
11
|
+
import MentionItem from '@atlaskit/mention/mention-item';
|
|
12
|
+
import { MENTION_ITEM_HEIGHT, MENTION_ITEM_HEIGHT_REFRESHED } from '@atlaskit/mention/mention-item/styles';
|
|
13
13
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import { expVal } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
@@ -19,8 +19,8 @@ import { ACTIONS } from '../../pm-plugins/main';
|
|
|
19
19
|
import { getMentionPluginState } from '../../pm-plugins/utils';
|
|
20
20
|
import InviteItem, { INVITE_ITEM_DESCRIPTION } from '../InviteItem';
|
|
21
21
|
import InviteItemWithEmailDomain from '../InviteItem/InviteItemWithEmailDomain';
|
|
22
|
-
import { buildTypeAheadCancelPayload, buildTypeAheadInsertedPayload, buildTypeAheadInviteItemClickedPayload, buildTypeAheadInviteItemViewedPayload, buildTypeAheadRenderedPayload } from './analytics';
|
|
23
22
|
import { AgentMentionLoadErrorItem } from './AgentMentionLoadErrorItem';
|
|
23
|
+
import { buildTypeAheadCancelPayload, buildTypeAheadInsertedPayload, buildTypeAheadInviteItemClickedPayload, buildTypeAheadInviteItemViewedPayload, buildTypeAheadRenderedPayload } from './analytics';
|
|
24
24
|
import { MentionItemWithProfileCard } from './MentionItemWithProfileCard';
|
|
25
25
|
import { isAgentMention, isAgentMentionLoadError, isBotOrTeamMention, isExplicitAgentMention, isInviteItem, isTeamStats, isTeamType, orderMentionsForDisplay, shouldKeepInviteItem } from './utils';
|
|
26
26
|
const isAgentTypeAheadItem = item => item.mention ? isAgentMention(item.mention) : false;
|
|
@@ -10,11 +10,11 @@ import { useIntl } from 'react-intl';
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
11
11
|
import { v4 as uuid } from 'uuid';
|
|
12
12
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
13
|
+
import { IconMention } from '@atlaskit/editor-common/assets';
|
|
13
14
|
import { toolbarInsertBlockMessages as messages, mentionMessages } from '@atlaskit/editor-common/messages';
|
|
14
15
|
import { WithProviders } from '@atlaskit/editor-common/provider-factory';
|
|
15
|
-
import { IconMention } from '@atlaskit/editor-common/assets';
|
|
16
|
-
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
17
16
|
import { isPromise } from '@atlaskit/mention/is-promise';
|
|
17
|
+
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
18
18
|
import { MentionNameStatus } from '@atlaskit/mention/types';
|
|
19
19
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
20
20
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
@@ -26,9 +26,9 @@ import { agentMentionPluginKey, createAgentMentionPlugin } from './pm-plugins/ag
|
|
|
26
26
|
import { mentionPluginKey } from './pm-plugins/key';
|
|
27
27
|
import { ACTIONS, createMentionPlugin } from './pm-plugins/main';
|
|
28
28
|
import { InlineInvitePopupContainer } from './ui/InlineInvitePopupContainer';
|
|
29
|
+
import { getMentionQuickInsertComponents } from './ui/quick-insert/getMentionQuickInsertComponents';
|
|
29
30
|
import { SecondaryToolbarComponent } from './ui/SecondaryToolbarComponent';
|
|
30
31
|
import { createTypeAheadConfig } from './ui/type-ahead';
|
|
31
|
-
import { getMentionQuickInsertComponents } from './ui/quick-insert/getMentionQuickInsertComponents';
|
|
32
32
|
var processName = function processName(name, intl) {
|
|
33
33
|
var unknownLabel = intl.formatMessage(mentionMessages.unknownLabel);
|
|
34
34
|
if (name.status === MentionNameStatus.OK) {
|
|
@@ -8,8 +8,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
9
9
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
10
10
|
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
11
|
-
import { MentionNameStatus } from '@atlaskit/mention/types';
|
|
12
11
|
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
12
|
+
import { MentionNameStatus } from '@atlaskit/mention/types';
|
|
13
13
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
@@ -36,7 +36,7 @@ export var ACTIONS = {
|
|
|
36
36
|
CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
|
|
37
37
|
};
|
|
38
38
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
39
|
-
var PACKAGE_VERSION = "
|
|
39
|
+
var PACKAGE_VERSION = "21.0.1";
|
|
40
40
|
var setProvider = function setProvider(provider) {
|
|
41
41
|
return function (state, dispatch) {
|
|
42
42
|
if (dispatch) {
|
|
@@ -14,9 +14,9 @@ import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
|
|
|
14
14
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
15
15
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
16
16
|
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
17
|
-
import { MENTION_ITEM_HEIGHT, MENTION_ITEM_HEIGHT_REFRESHED } from '@atlaskit/mention/mention-item/styles';
|
|
18
|
-
import MentionItem from '@atlaskit/mention/mention-item';
|
|
19
17
|
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
18
|
+
import MentionItem from '@atlaskit/mention/mention-item';
|
|
19
|
+
import { MENTION_ITEM_HEIGHT, MENTION_ITEM_HEIGHT_REFRESHED } from '@atlaskit/mention/mention-item/styles';
|
|
20
20
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
22
|
import { expVal } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
@@ -26,8 +26,8 @@ import { ACTIONS } from '../../pm-plugins/main';
|
|
|
26
26
|
import { getMentionPluginState } from '../../pm-plugins/utils';
|
|
27
27
|
import InviteItem, { INVITE_ITEM_DESCRIPTION } from '../InviteItem';
|
|
28
28
|
import InviteItemWithEmailDomain from '../InviteItem/InviteItemWithEmailDomain';
|
|
29
|
-
import { buildTypeAheadCancelPayload, buildTypeAheadInsertedPayload, buildTypeAheadInviteItemClickedPayload, buildTypeAheadInviteItemViewedPayload, buildTypeAheadRenderedPayload } from './analytics';
|
|
30
29
|
import { AgentMentionLoadErrorItem } from './AgentMentionLoadErrorItem';
|
|
30
|
+
import { buildTypeAheadCancelPayload, buildTypeAheadInsertedPayload, buildTypeAheadInviteItemClickedPayload, buildTypeAheadInviteItemViewedPayload, buildTypeAheadRenderedPayload } from './analytics';
|
|
31
31
|
import { MentionItemWithProfileCard } from './MentionItemWithProfileCard';
|
|
32
32
|
import { isAgentMention, isAgentMentionLoadError, isBotOrTeamMention, isExplicitAgentMention, isInviteItem, isTeamStats, isTeamType, orderMentionsForDisplay, shouldKeepInviteItem } from './utils';
|
|
33
33
|
var isAgentTypeAheadItem = function isAgentTypeAheadItem(item) {
|
|
@@ -3,9 +3,9 @@ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
|
3
3
|
import type { BasePlugin } from '@atlaskit/editor-plugin-base';
|
|
4
4
|
import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
|
|
5
5
|
import type { SelectionPlugin } from '@atlaskit/editor-plugin-selection';
|
|
6
|
-
import type { UiControlRegistryPlugin } from '@atlaskit/editor-plugin-ui-control-registry';
|
|
7
6
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead/type-ahead-plugin-type';
|
|
8
7
|
import type { TypeAheadInputMethod } from '@atlaskit/editor-plugin-type-ahead/types';
|
|
8
|
+
import type { UiControlRegistryPlugin } from '@atlaskit/editor-plugin-ui-control-registry';
|
|
9
9
|
import type { MentionProvider } from '@atlaskit/mention/types';
|
|
10
10
|
import type { InsertMentionParameters } from './editor-commands';
|
|
11
11
|
import type { AgentRunStateByLocalId, MentionChange, MentionPluginOptions, MentionSharedState } from './types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { MentionAttributes } from '@atlaskit/adf-schema/mention';
|
|
2
1
|
import type { DocNode } from '@atlaskit/adf-schema/doc';
|
|
2
|
+
import type { MentionAttributes } from '@atlaskit/adf-schema/mention';
|
|
3
3
|
import type { ProfilecardProvider } from '@atlaskit/editor-common/provider-factory';
|
|
4
4
|
import type { Placement } from '@atlaskit/popper/main';
|
|
5
5
|
import type { ProfileCardClientData, TeamCentralReportingLinesData } from '@atlaskit/profilecard/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.2",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@atlaskit/section-message": "^10.2.0",
|
|
48
48
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
49
49
|
"@atlaskit/theme": "^28.2.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^201.0.0",
|
|
51
51
|
"@atlaskit/tokens": "^18.2.0",
|
|
52
52
|
"@atlaskit/tooltip": "^24.3.0",
|
|
53
53
|
"@atlaskit/user-picker": "^13.13.0",
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"uuid": "^11.1.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@atlaskit/editor-common": "^123.
|
|
62
|
+
"@atlaskit/editor-common": "^123.2.0",
|
|
63
63
|
"react": "^18.2.0 || ^19.2.0",
|
|
64
64
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
65
65
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@atlaskit/button": "^25.3.0",
|
|
69
|
-
"@atlaskit/editor-core": "^229.
|
|
69
|
+
"@atlaskit/editor-core": "^229.1.0",
|
|
70
70
|
"@atlassian/workbench": "workspace:*",
|
|
71
71
|
"@testing-library/react": "^16.3.0",
|
|
72
72
|
"react": "^19.2.0",
|