@atlaskit/editor-plugin-mentions 0.1.4 → 0.1.6
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/package.json +4 -4
- package/tmp/api-report-tmp.d.ts +0 -63
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 0.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
8
|
+
|
|
9
|
+
## 0.1.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417) [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971 Upgrade adf-schema package to ^34.0.0
|
|
14
|
+
|
|
3
15
|
## 0.1.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^
|
|
34
|
+
"@atlaskit/adf-schema": "^34.0.1",
|
|
35
35
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
36
|
-
"@atlaskit/editor-common": "^76.
|
|
36
|
+
"@atlaskit/editor-common": "^76.23.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-type-ahead": "^0.7.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
40
40
|
"@atlaskit/icon": "^22.0.0",
|
|
41
41
|
"@atlaskit/mention": "^22.1.0",
|
|
42
42
|
"@atlaskit/theme": "^12.6.0",
|
|
43
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/tokens": "^1.29.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1",
|
|
46
46
|
"uuid": "^3.1.0"
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-mentions"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
|
|
9
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
10
|
-
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
-
import type { MentionDescription } from '@atlaskit/mention';
|
|
12
|
-
import type { MentionProvider } from '@atlaskit/mention';
|
|
13
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
14
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
15
|
-
import type { TypeAheadHandler } from '@atlaskit/editor-common/types';
|
|
16
|
-
import type { TypeAheadInputMethod } from '@atlaskit/editor-plugin-type-ahead';
|
|
17
|
-
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
18
|
-
|
|
19
|
-
// @public (undocumented)
|
|
20
|
-
export interface MentionPluginConfig {
|
|
21
|
-
// (undocumented)
|
|
22
|
-
HighlightComponent?: React.ComponentType;
|
|
23
|
-
// (undocumented)
|
|
24
|
-
insertDisplayName?: boolean;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// @public (undocumented)
|
|
28
|
-
interface MentionPluginOptions extends MentionPluginConfig {
|
|
29
|
-
// (undocumented)
|
|
30
|
-
allowZeroWidthSpaceAfter?: boolean;
|
|
31
|
-
// (undocumented)
|
|
32
|
-
sanitizePrivateContent?: boolean;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// @public (undocumented)
|
|
36
|
-
type MentionPluginState = {
|
|
37
|
-
mentionProvider?: MentionProvider;
|
|
38
|
-
contextIdentifierProvider?: ContextIdentifierProvider;
|
|
39
|
-
mentions?: Array<MentionDescription>;
|
|
40
|
-
canInsertMention?: boolean;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
// @public (undocumented)
|
|
44
|
-
type MentionSharedState = MentionPluginState & {
|
|
45
|
-
typeAheadHandler: TypeAheadHandler;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
// @public (undocumented)
|
|
49
|
-
export type MentionsPlugin = NextEditorPlugin<'mention', {
|
|
50
|
-
pluginConfiguration: MentionPluginOptions | undefined;
|
|
51
|
-
dependencies: [OptionalPlugin<AnalyticsPlugin>, TypeAheadPlugin];
|
|
52
|
-
sharedState: MentionSharedState | undefined;
|
|
53
|
-
actions: {
|
|
54
|
-
openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
55
|
-
};
|
|
56
|
-
}>;
|
|
57
|
-
|
|
58
|
-
// @public (undocumented)
|
|
59
|
-
export const mentionsPlugin: MentionsPlugin;
|
|
60
|
-
|
|
61
|
-
// (No @packageDocumentation comment for this package)
|
|
62
|
-
|
|
63
|
-
```
|