@atlaskit/editor-plugin-type-ahead 0.3.2 → 0.4.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#40955](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40955) [`30dc2b1e6c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30dc2b1e6c9) - [ED-19746] Decoupling mentions plugin from Editor-core libraries
8
+
3
9
  ## 0.3.2
4
10
 
5
11
  ### Patch Changes
@@ -16,16 +22,16 @@
16
22
 
17
23
  ### Minor Changes
18
24
 
19
- - [`ef0c2a89c72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef0c2a89c72) - Add isTypeAheadOpen action to type-ahead plugin. Decouple placeholder plugin from editor-core.
25
+ - [#39575](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39575) [`ef0c2a89c72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef0c2a89c72) - Add isTypeAheadOpen action to type-ahead plugin. Decouple placeholder plugin from editor-core.
20
26
 
21
27
  ## 0.2.0
22
28
 
23
29
  ### Minor Changes
24
30
 
25
- - [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating all plugins with minor version to correct issue with semver.
31
+ - [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325) [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating all plugins with minor version to correct issue with semver.
26
32
 
27
33
  ## 0.1.1
28
34
 
29
35
  ### Patch Changes
30
36
 
31
- - [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
37
+ - [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177) [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
package/README.md CHANGED
@@ -27,4 +27,4 @@ Please see [Atlaskit - Editor plugin type ahead](https://atlaskit.atlassian.com/
27
27
  For internal Atlassian, visit the slack channel [#help-editor](https://atlassian.slack.com/archives/CFG3PSQ9E) for support or visit [go/editor-help](https://go/editor-help) to submit a bug.
28
28
  ## License
29
29
  ---
30
- Please see [Atlassian Frontend - License](https://developer.atlassian.com/cloud/framework/atlassian-frontend/#license) for more licensing information.
30
+ Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.
@@ -21,6 +21,7 @@ export type TypeAheadPlugin = NextEditorPlugin<'typeAhead', {
21
21
  pluginConfiguration: TypeAheadPluginOptions | undefined;
22
22
  actions: {
23
23
  isOpen: (editorState: EditorState) => boolean;
24
+ isAllowed: (editorState: EditorState) => boolean;
24
25
  };
25
26
  commands: {
26
27
  openTypeAheadAtCursor: OpenTypeAheadAtCursorType;
@@ -21,6 +21,7 @@ export type TypeAheadPlugin = NextEditorPlugin<'typeAhead', {
21
21
  pluginConfiguration: TypeAheadPluginOptions | undefined;
22
22
  actions: {
23
23
  isOpen: (editorState: EditorState) => boolean;
24
+ isAllowed: (editorState: EditorState) => boolean;
24
25
  };
25
26
  commands: {
26
27
  openTypeAheadAtCursor: OpenTypeAheadAtCursorType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/editor-common": "^76.0.0",
34
+ "@atlaskit/editor-common": "^76.1.0",
35
35
  "@atlaskit/editor-prosemirror": "1.1.0",
36
36
  "@babel/runtime": "^7.0.0"
37
37
  },
package/report.api.md CHANGED
@@ -46,6 +46,7 @@ export type TypeAheadPlugin = NextEditorPlugin<
46
46
  pluginConfiguration: TypeAheadPluginOptions | undefined;
47
47
  actions: {
48
48
  isOpen: (editorState: EditorState) => boolean;
49
+ isAllowed: (editorState: EditorState) => boolean;
49
50
  };
50
51
  commands: {
51
52
  openTypeAheadAtCursor: OpenTypeAheadAtCursorType;
@@ -29,6 +29,7 @@ export type TypeAheadPlugin = NextEditorPlugin<'typeAhead', {
29
29
  pluginConfiguration: TypeAheadPluginOptions | undefined;
30
30
  actions: {
31
31
  isOpen: (editorState: EditorState) => boolean;
32
+ isAllowed: (editorState: EditorState) => boolean;
32
33
  };
33
34
  commands: {
34
35
  openTypeAheadAtCursor: OpenTypeAheadAtCursorType;