@atlaskit/editor-plugin-mentions 18.1.5 → 18.2.0
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 +11 -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/package.json +23 -23
- package/report.api.md +0 -93
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 18.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
8
|
+
Remove stale API report artifacts from published Platform packages.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 18.1.5
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -74,7 +74,7 @@ var AI_STREAMING_TRANSFORMATION_META_KEY = 'isAIStreamingTransformation';
|
|
|
74
74
|
var AGENT_MENTION_INACTIVITY_MS = 3000;
|
|
75
75
|
var MAX_PENDING_TYPED_AGENT_MENTION_FOCUS_DEFERS = 20;
|
|
76
76
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
77
|
-
var PACKAGE_VERSION = "18.1.
|
|
77
|
+
var PACKAGE_VERSION = "18.1.5";
|
|
78
78
|
var setProvider = function setProvider(provider) {
|
|
79
79
|
return function (state, dispatch) {
|
|
80
80
|
if (dispatch) {
|
|
@@ -58,7 +58,7 @@ const AI_STREAMING_TRANSFORMATION_META_KEY = 'isAIStreamingTransformation';
|
|
|
58
58
|
const AGENT_MENTION_INACTIVITY_MS = 3000;
|
|
59
59
|
const MAX_PENDING_TYPED_AGENT_MENTION_FOCUS_DEFERS = 20;
|
|
60
60
|
const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
61
|
-
const PACKAGE_VERSION = "18.1.
|
|
61
|
+
const PACKAGE_VERSION = "18.1.5";
|
|
62
62
|
const setProvider = provider => (state, dispatch) => {
|
|
63
63
|
if (dispatch) {
|
|
64
64
|
dispatch(state.tr.setMeta(mentionPluginKey, {
|
|
@@ -65,7 +65,7 @@ var AI_STREAMING_TRANSFORMATION_META_KEY = 'isAIStreamingTransformation';
|
|
|
65
65
|
var AGENT_MENTION_INACTIVITY_MS = 3000;
|
|
66
66
|
var MAX_PENDING_TYPED_AGENT_MENTION_FOCUS_DEFERS = 20;
|
|
67
67
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
68
|
-
var PACKAGE_VERSION = "18.1.
|
|
68
|
+
var PACKAGE_VERSION = "18.1.5";
|
|
69
69
|
var setProvider = function setProvider(provider) {
|
|
70
70
|
return function (state, dispatch) {
|
|
71
71
|
if (dispatch) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.2.0",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,34 +23,34 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
25
25
|
"@atlaskit/css": "^1.1.0",
|
|
26
|
-
"@atlaskit/editor-json-transformer": "^9.
|
|
27
|
-
"@atlaskit/editor-plugin-analytics": "^16.
|
|
28
|
-
"@atlaskit/editor-plugin-base": "^17.
|
|
26
|
+
"@atlaskit/editor-json-transformer": "^9.8.0",
|
|
27
|
+
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
28
|
+
"@atlaskit/editor-plugin-base": "^17.1.0",
|
|
29
29
|
"@atlaskit/editor-plugin-context-identifier": "^16.0.0",
|
|
30
|
-
"@atlaskit/editor-plugin-selection": "^16.
|
|
31
|
-
"@atlaskit/editor-plugin-type-ahead": "^17.
|
|
30
|
+
"@atlaskit/editor-plugin-selection": "^16.1.0",
|
|
31
|
+
"@atlaskit/editor-plugin-type-ahead": "^17.1.0",
|
|
32
32
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
33
33
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
34
|
-
"@atlaskit/icon": "^37.
|
|
34
|
+
"@atlaskit/icon": "^37.6.0",
|
|
35
35
|
"@atlaskit/insm": "^3.0.0",
|
|
36
36
|
"@atlaskit/link": "^5.1.0",
|
|
37
|
-
"@atlaskit/lozenge": "^15.
|
|
38
|
-
"@atlaskit/mention": "^27.
|
|
37
|
+
"@atlaskit/lozenge": "^15.4.0",
|
|
38
|
+
"@atlaskit/mention": "^27.19.0",
|
|
39
39
|
"@atlaskit/node-data-provider": "^17.0.0",
|
|
40
40
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
41
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
42
|
-
"@atlaskit/popper": "^9.
|
|
43
|
-
"@atlaskit/popup": "^6.
|
|
44
|
-
"@atlaskit/portal": "^6.
|
|
45
|
-
"@atlaskit/primitives": "^22.
|
|
46
|
-
"@atlaskit/profilecard": "^26.
|
|
47
|
-
"@atlaskit/section-message": "^10.
|
|
41
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
42
|
+
"@atlaskit/popper": "^9.4.0",
|
|
43
|
+
"@atlaskit/popup": "^6.3.0",
|
|
44
|
+
"@atlaskit/portal": "^6.4.0",
|
|
45
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
46
|
+
"@atlaskit/profilecard": "^26.21.0",
|
|
47
|
+
"@atlaskit/section-message": "^10.2.0",
|
|
48
48
|
"@atlaskit/teams-app-config": "^3.0.0",
|
|
49
|
-
"@atlaskit/theme": "^28.
|
|
49
|
+
"@atlaskit/theme": "^28.2.0",
|
|
50
50
|
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^16.
|
|
52
|
-
"@atlaskit/tooltip": "^24.
|
|
53
|
-
"@atlaskit/user-picker": "^13.
|
|
51
|
+
"@atlaskit/tokens": "^16.10.0",
|
|
52
|
+
"@atlaskit/tooltip": "^24.3.0",
|
|
53
|
+
"@atlaskit/user-picker": "^13.12.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^1.0.2",
|
|
56
56
|
"bind-event-listener": "^3.0.0",
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"uuid": "^3.1.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@atlaskit/editor-common": "^120.
|
|
62
|
+
"@atlaskit/editor-common": "^120.9.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
|
-
"@atlaskit/button": "^25.
|
|
69
|
-
"@atlaskit/editor-core": "^226.
|
|
68
|
+
"@atlaskit/button": "^25.3.0",
|
|
69
|
+
"@atlaskit/editor-core": "^226.2.0",
|
|
70
70
|
"@testing-library/react": "^16.3.0",
|
|
71
71
|
"react": "^19.2.0",
|
|
72
72
|
"react-dom": "^19.2.0",
|
package/report.api.md
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/editor-plugin-mentions"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
/// <reference types="react" />
|
|
20
|
-
|
|
21
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
22
|
-
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
23
|
-
import type { MentionDescription } from '@atlaskit/mention';
|
|
24
|
-
import type { MentionProvider } from '@atlaskit/mention';
|
|
25
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
26
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
27
|
-
import type { TypeAheadHandler } from '@atlaskit/editor-common/types';
|
|
28
|
-
import type { TypeAheadInputMethod } from '@atlaskit/editor-plugin-type-ahead';
|
|
29
|
-
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
30
|
-
|
|
31
|
-
// @public (undocumented)
|
|
32
|
-
export interface MentionPluginConfig {
|
|
33
|
-
// (undocumented)
|
|
34
|
-
HighlightComponent?: React.ComponentType;
|
|
35
|
-
// (undocumented)
|
|
36
|
-
insertDisplayName?: boolean;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// @public (undocumented)
|
|
40
|
-
interface MentionPluginOptions extends MentionPluginConfig {
|
|
41
|
-
// (undocumented)
|
|
42
|
-
allowZeroWidthSpaceAfter?: boolean;
|
|
43
|
-
// (undocumented)
|
|
44
|
-
sanitizePrivateContent?: boolean;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// @public (undocumented)
|
|
48
|
-
type MentionPluginState = {
|
|
49
|
-
mentionProvider?: MentionProvider;
|
|
50
|
-
contextIdentifierProvider?: ContextIdentifierProvider;
|
|
51
|
-
mentions?: Array<MentionDescription>;
|
|
52
|
-
canInsertMention?: boolean;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
// @public (undocumented)
|
|
56
|
-
type MentionSharedState = MentionPluginState & {
|
|
57
|
-
typeAheadHandler: TypeAheadHandler;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
// @public (undocumented)
|
|
61
|
-
export type MentionsPlugin = NextEditorPlugin<
|
|
62
|
-
'mention',
|
|
63
|
-
{
|
|
64
|
-
pluginConfiguration: MentionPluginOptions | undefined;
|
|
65
|
-
dependencies: [OptionalPlugin<AnalyticsPlugin>, TypeAheadPlugin];
|
|
66
|
-
sharedState: MentionSharedState | undefined;
|
|
67
|
-
actions: {
|
|
68
|
-
openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
>;
|
|
72
|
-
|
|
73
|
-
// @public (undocumented)
|
|
74
|
-
export const mentionsPlugin: MentionsPlugin;
|
|
75
|
-
|
|
76
|
-
// (No @packageDocumentation comment for this package)
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
<!--SECTION END: Main Entry Types-->
|
|
80
|
-
|
|
81
|
-
### Peer Dependencies
|
|
82
|
-
|
|
83
|
-
<!--SECTION START: Peer Dependencies-->
|
|
84
|
-
|
|
85
|
-
```json
|
|
86
|
-
{
|
|
87
|
-
"react": "^16.8.0",
|
|
88
|
-
"react-dom": "^16.8.0",
|
|
89
|
-
"react-intl": "npm:react-intl@^5.18.1"
|
|
90
|
-
}
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
<!--SECTION END: Peer Dependencies-->
|