@atlaskit/editor-plugin-guideline 0.4.0 → 0.4.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,11 @@
1
1
  # @atlaskit/editor-plugin-guideline
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
8
+
3
9
  ## 0.4.0
4
10
 
5
11
  ### Minor Changes
@@ -1 +1,2 @@
1
1
  export { guidelinePlugin } from './plugin';
2
+ export type { GuidelinePlugin } from './plugin';
@@ -1,11 +1,12 @@
1
1
  import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- import type { widthPlugin } from '@atlaskit/editor-plugin-width';
2
+ import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
3
3
  import type { DisplayGuideline, GuidelinePluginState } from './types';
4
4
  export declare const EMPTY_STATE: GuidelinePluginState;
5
- export declare const guidelinePlugin: NextEditorPlugin<'guideline', {
6
- dependencies: [typeof widthPlugin];
5
+ export type GuidelinePlugin = NextEditorPlugin<'guideline', {
6
+ dependencies: [WidthPlugin];
7
7
  sharedState: GuidelinePluginState | null;
8
8
  actions: {
9
9
  displayGuideline: DisplayGuideline;
10
10
  };
11
11
  }>;
12
+ export declare const guidelinePlugin: GuidelinePlugin;
@@ -1 +1,2 @@
1
1
  export { guidelinePlugin } from './plugin';
2
+ export type { GuidelinePlugin } from './plugin';
@@ -1,13 +1,14 @@
1
1
  import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- import type { widthPlugin } from '@atlaskit/editor-plugin-width';
2
+ import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
3
3
  import type { DisplayGuideline, GuidelinePluginState } from './types';
4
4
  export declare const EMPTY_STATE: GuidelinePluginState;
5
- export declare const guidelinePlugin: NextEditorPlugin<'guideline', {
5
+ export type GuidelinePlugin = NextEditorPlugin<'guideline', {
6
6
  dependencies: [
7
- typeof widthPlugin
7
+ WidthPlugin
8
8
  ];
9
9
  sharedState: GuidelinePluginState | null;
10
10
  actions: {
11
11
  displayGuideline: DisplayGuideline;
12
12
  };
13
13
  }>;
14
+ export declare const guidelinePlugin: GuidelinePlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "guideline plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,12 +23,12 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^74.51.0",
26
+ "@atlaskit/editor-common": "^74.52.0",
27
27
  "@atlaskit/editor-plugin-width": "^0.1.0",
28
28
  "@atlaskit/editor-prosemirror": "1.1.0",
29
29
  "@atlaskit/editor-shared-styles": "^2.6.0",
30
30
  "@atlaskit/theme": "^12.5.0",
31
- "@atlaskit/tokens": "^1.15.0",
31
+ "@atlaskit/tokens": "^1.16.0",
32
32
  "@babel/runtime": "^7.0.0",
33
33
  "@emotion/react": "^11.7.1"
34
34
  },
package/report.api.md CHANGED
@@ -18,13 +18,13 @@
18
18
  import { DisplayGuideline } from '@atlaskit/editor-common/guideline';
19
19
  import { GuidelinePluginState } from '@atlaskit/editor-common/guideline';
20
20
  import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
21
- import type { widthPlugin } from '@atlaskit/editor-plugin-width';
21
+ import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
22
22
 
23
23
  // @public (undocumented)
24
- export const guidelinePlugin: NextEditorPlugin<
24
+ export type GuidelinePlugin = NextEditorPlugin<
25
25
  'guideline',
26
26
  {
27
- dependencies: [typeof widthPlugin];
27
+ dependencies: [WidthPlugin];
28
28
  sharedState: GuidelinePluginState | null;
29
29
  actions: {
30
30
  displayGuideline: DisplayGuideline;
@@ -32,6 +32,9 @@ export const guidelinePlugin: NextEditorPlugin<
32
32
  }
33
33
  >;
34
34
 
35
+ // @public (undocumented)
36
+ export const guidelinePlugin: GuidelinePlugin;
37
+
35
38
  // (No @packageDocumentation comment for this package)
36
39
  ```
37
40
 
@@ -1,23 +0,0 @@
1
- ## API Report File for "@atlaskit/editor-plugin-guideline"
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 { DisplayGuideline } from '@atlaskit/editor-common/guideline';
8
- import { GuidelinePluginState } from '@atlaskit/editor-common/guideline';
9
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
10
- import type { widthPlugin } from '@atlaskit/editor-plugin-width';
11
-
12
- // @public (undocumented)
13
- export const guidelinePlugin: NextEditorPlugin<'guideline', {
14
- dependencies: [typeof widthPlugin];
15
- sharedState: GuidelinePluginState | null;
16
- actions: {
17
- displayGuideline: DisplayGuideline;
18
- };
19
- }>;
20
-
21
- // (No @packageDocumentation comment for this package)
22
-
23
- ```