@atlaskit/editor-plugin-editor-disabled 0.1.2 → 0.2.1

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,17 @@
1
1
  # @atlaskit/editor-plugin-editor-disabled
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating all plugins with minor version to correct issue with semver.
14
+
3
15
  ## 0.1.2
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -1,7 +1,30 @@
1
- # EditorPluginEditorDisabled
1
+ # Editor plugin editor disabled
2
2
 
3
3
  Editor disabled plugin for @atlaskit/editor-core
4
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-editor-disabled*
11
+ - **npm** - [@atlaskit/editor-plugin-editor-disabled](https://www.npmjs.com/package/@atlaskit/editor-plugin-editor-disabled)
12
+ - **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-editor-disabled)
13
+ - **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-editor-disabled/dist/)
14
+
5
15
  ## Usage
16
+ ---
17
+ **Internal use only**
18
+
19
+ @atlaskit/editor-plugin-editor-disabled 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.
22
+
23
+ Please see [Atlaskit - Editor plugin editor disabled](https://atlaskit.atlassian.com/packages/editor/editor-plugin-editor-disabled) for documentation and examples for this package.
6
24
 
7
- `import { editorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';`
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.
@@ -41,6 +41,10 @@ function createPlugin(dispatch) {
41
41
  }
42
42
  });
43
43
  }
44
+ /**
45
+ * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
46
+ * from `@atlaskit/editor-core`.
47
+ */
44
48
  var editorDisabledPlugin = function editorDisabledPlugin() {
45
49
  return {
46
50
  name: 'editorDisabled',
@@ -36,6 +36,10 @@ function createPlugin(dispatch) {
36
36
  }
37
37
  });
38
38
  }
39
+ /**
40
+ * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
41
+ * from `@atlaskit/editor-core`.
42
+ */
39
43
  export const editorDisabledPlugin = () => ({
40
44
  name: 'editorDisabled',
41
45
  getSharedState(editorState) {
@@ -35,6 +35,10 @@ function createPlugin(dispatch) {
35
35
  }
36
36
  });
37
37
  }
38
+ /**
39
+ * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
40
+ * from `@atlaskit/editor-core`.
41
+ */
38
42
  export var editorDisabledPlugin = function editorDisabledPlugin() {
39
43
  return {
40
44
  name: 'editorDisabled',
@@ -5,4 +5,8 @@ export type EditorDisabledPluginState = {
5
5
  export type EditorDisabledPlugin = NextEditorPlugin<'editorDisabled', {
6
6
  sharedState: EditorDisabledPluginState;
7
7
  }>;
8
+ /**
9
+ * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
10
+ * from `@atlaskit/editor-core`.
11
+ */
8
12
  export declare const editorDisabledPlugin: EditorDisabledPlugin;
@@ -5,4 +5,8 @@ export type EditorDisabledPluginState = {
5
5
  export type EditorDisabledPlugin = NextEditorPlugin<'editorDisabled', {
6
6
  sharedState: EditorDisabledPluginState;
7
7
  }>;
8
+ /**
9
+ * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
10
+ * from `@atlaskit/editor-core`.
11
+ */
8
12
  export declare const editorDisabledPlugin: EditorDisabledPlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-editor-disabled",
3
- "version": "0.1.2",
3
+ "version": "0.2.1",
4
4
  "description": "Editor disabled 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
  "singleton": true,
13
13
  "releaseModel": "continuous"
14
14
  },
@@ -23,7 +23,7 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^74.52.0",
26
+ "@atlaskit/editor-common": "^75.0.0",
27
27
  "@atlaskit/editor-prosemirror": "1.1.0",
28
28
  "@babel/runtime": "^7.0.0"
29
29
  },
package/report.api.md CHANGED
@@ -25,7 +25,7 @@ export type EditorDisabledPlugin = NextEditorPlugin<
25
25
  }
26
26
  >;
27
27
 
28
- // @public (undocumented)
28
+ // @public
29
29
  export const editorDisabledPlugin: EditorDisabledPlugin;
30
30
 
31
31
  // @public (undocumented)
@@ -0,0 +1,24 @@
1
+ ## API Report File for "@atlaskit/editor-plugin-editor-disabled"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
8
+
9
+ // @public (undocumented)
10
+ export type EditorDisabledPlugin = NextEditorPlugin<'editorDisabled', {
11
+ sharedState: EditorDisabledPluginState;
12
+ }>;
13
+
14
+ // @public
15
+ export const editorDisabledPlugin: EditorDisabledPlugin;
16
+
17
+ // @public (undocumented)
18
+ export type EditorDisabledPluginState = {
19
+ editorDisabled: boolean;
20
+ };
21
+
22
+ // (No @packageDocumentation comment for this package)
23
+
24
+ ```