@atlaskit/editor-plugin-type-ahead 0.1.0 → 0.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 CHANGED
@@ -1 +1,13 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
+
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating all plugins with minor version to correct issue with semver.
8
+
9
+ ## 0.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
package/README.md CHANGED
@@ -1,9 +1,30 @@
1
- # EditorPluginTypeAhead
1
+ # Editor plugin type ahead
2
2
 
3
- Type-ahead plugin for @atlaskit/editor-core
3
+ Type ahead plugin for @atlaskit/editor-core
4
+
5
+ **Note:** This component is designed for internal Atlassian development.
6
+ External contributors will be able to use this component but will not be able to submit issues.
7
+
8
+ ## Install
9
+ ---
10
+ - **Install** - *yarn add @atlaskit/editor-plugin-type-ahead*
11
+ - **npm** - [@atlaskit/editor-plugin-type-ahead](https://www.npmjs.com/package/@atlaskit/editor-plugin-type-ahead)
12
+ - **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-type-ahead)
13
+ - **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-type-ahead/dist/)
4
14
 
5
15
  ## Usage
16
+ ---
17
+ **Internal use only**
18
+
19
+ @atlaskit/editor-plugin-type-ahead is intended for internal use by the @atlaskit/editor-core and as a plugin dependency of the Editor within your product.
20
+
21
+ Direct use of this component is not supported.
6
22
 
7
- `import { TypeAheadPlugin } from @atlaskit/editor-plugin-type-ahead';`
23
+ Please see [Atlaskit - Editor plugin type ahead](https://atlaskit.atlassian.com/packages/editor/editor-plugin-type-ahead) for documentation and examples for this package.
8
24
 
9
- Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/editor/editor-plugin-type-ahead).
25
+ ## Support
26
+ ---
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
+ ## License
29
+ ---
30
+ Please see [Atlassian Frontend - License](https://developer.atlassian.com/cloud/framework/atlassian-frontend/#license) for more licensing information.
@@ -12,6 +12,10 @@ export type TypeAheadPluginOptions = {
12
12
  createAnalyticsEvent?: CreateUIAnalyticsEvent;
13
13
  };
14
14
  type OpenTypeAheadAtCursorType = (props: Props) => EditorCommand;
15
+ /**
16
+ * Type ahead plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
17
+ * from `@atlaskit/editor-core`.
18
+ */
15
19
  export type TypeAheadPlugin = NextEditorPlugin<'typeAhead', {
16
20
  pluginConfiguration: TypeAheadPluginOptions | undefined;
17
21
  commands: {
@@ -12,6 +12,10 @@ export type TypeAheadPluginOptions = {
12
12
  createAnalyticsEvent?: CreateUIAnalyticsEvent;
13
13
  };
14
14
  type OpenTypeAheadAtCursorType = (props: Props) => EditorCommand;
15
+ /**
16
+ * Type ahead plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
17
+ * from `@atlaskit/editor-core`.
18
+ */
15
19
  export type TypeAheadPlugin = NextEditorPlugin<'typeAhead', {
16
20
  pluginConfiguration: TypeAheadPluginOptions | undefined;
17
21
  commands: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -8,7 +8,7 @@
8
8
  "registry": "https://registry.npmjs.org/"
9
9
  },
10
10
  "atlassian": {
11
- "team": "Editor",
11
+ "team": "Editor: Lego",
12
12
  "releaseModel": "continuous",
13
13
  "singleton": true
14
14
  },
@@ -31,7 +31,7 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/editor-common": "^74.49.0",
34
+ "@atlaskit/editor-common": "^74.55.0",
35
35
  "@babel/runtime": "^7.0.0"
36
36
  },
37
37
  "peerDependencies": {
package/report.api.md CHANGED
@@ -38,7 +38,7 @@ export type TypeAheadInputMethod =
38
38
  | INPUT_METHOD.QUICK_INSERT
39
39
  | INPUT_METHOD.TOOLBAR;
40
40
 
41
- // @public (undocumented)
41
+ // @public
42
42
  export type TypeAheadPlugin = NextEditorPlugin<
43
43
  'typeAhead',
44
44
  {
@@ -23,7 +23,7 @@ type Props = {
23
23
  // @public (undocumented)
24
24
  export type TypeAheadInputMethod = INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR;
25
25
 
26
- // @public (undocumented)
26
+ // @public
27
27
  export type TypeAheadPlugin = NextEditorPlugin<'typeAhead', {
28
28
  pluginConfiguration: TypeAheadPluginOptions | undefined;
29
29
  commands: {