@atlaskit/editor-plugin-guideline 3.0.2 → 3.0.4

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,19 @@
1
1
  # @atlaskit/editor-plugin-guideline
2
2
 
3
+ ## 3.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
8
+ Sorted type and interface props to improve Atlaskit docs
9
+ - Updated dependencies
10
+
11
+ ## 3.0.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 3.0.2
4
18
 
5
19
  ### Patch Changes
@@ -7,8 +7,8 @@ type GuidelinePluginActions = {
7
7
  displayGuideline: DisplayGuideline;
8
8
  };
9
9
  export type GuidelinePlugin = NextEditorPlugin<'guideline', {
10
+ actions: GuidelinePluginActions;
10
11
  dependencies: GuidelinePluginDependencies;
11
12
  sharedState: GuidelinePluginSharedState;
12
- actions: GuidelinePluginActions;
13
13
  }>;
14
14
  export {};
@@ -4,4 +4,4 @@
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
6
  import type { GuidelineConfig } from '@atlaskit/editor-common/guideline';
7
- export declare const Guideline: (props: Omit<GuidelineConfig, 'key'>) => jsx.JSX.Element;
7
+ export declare const Guideline: (props: Omit<GuidelineConfig, "key">) => jsx.JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import { jsx } from '@emotion/react';
2
2
  import type { GuidelineConfig, GuidelineContainerRect } from '@atlaskit/editor-common/guideline';
3
3
  type ContainerProps = {
4
+ editorWidth: number;
4
5
  guidelines: GuidelineConfig[];
5
6
  height: number;
6
- width: number;
7
- editorWidth: number;
8
7
  updateRect: (rect: GuidelineContainerRect) => void;
8
+ width: number;
9
9
  };
10
10
  export declare const GuidelineContainer: (props: ContainerProps) => jsx.JSX.Element;
11
11
  export {};
@@ -9,8 +9,8 @@ type GuidelinePluginActions = {
9
9
  displayGuideline: DisplayGuideline;
10
10
  };
11
11
  export type GuidelinePlugin = NextEditorPlugin<'guideline', {
12
+ actions: GuidelinePluginActions;
12
13
  dependencies: GuidelinePluginDependencies;
13
14
  sharedState: GuidelinePluginSharedState;
14
- actions: GuidelinePluginActions;
15
15
  }>;
16
16
  export {};
@@ -4,4 +4,4 @@
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
6
  import type { GuidelineConfig } from '@atlaskit/editor-common/guideline';
7
- export declare const Guideline: (props: Omit<GuidelineConfig, 'key'>) => jsx.JSX.Element;
7
+ export declare const Guideline: (props: Omit<GuidelineConfig, "key">) => jsx.JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import { jsx } from '@emotion/react';
2
2
  import type { GuidelineConfig, GuidelineContainerRect } from '@atlaskit/editor-common/guideline';
3
3
  type ContainerProps = {
4
+ editorWidth: number;
4
5
  guidelines: GuidelineConfig[];
5
6
  height: number;
6
- width: number;
7
- editorWidth: number;
8
7
  updateRect: (rect: GuidelineContainerRect) => void;
8
+ width: number;
9
9
  };
10
10
  export declare const GuidelineContainer: (props: ContainerProps) => jsx.JSX.Element;
11
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "guideline plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -26,21 +26,20 @@
26
26
  "dependencies": {
27
27
  "@atlaskit/editor-plugin-width": "^4.0.0",
28
28
  "@atlaskit/editor-prosemirror": "7.0.0",
29
- "@atlaskit/editor-shared-styles": "^3.4.0",
29
+ "@atlaskit/editor-shared-styles": "^3.6.0",
30
30
  "@atlaskit/theme": "^19.0.0",
31
- "@atlaskit/tokens": "^5.4.0",
31
+ "@atlaskit/tokens": "^6.0.0",
32
32
  "@babel/runtime": "^7.0.0",
33
33
  "@emotion/react": "^11.7.1"
34
34
  },
35
35
  "peerDependencies": {
36
- "@atlaskit/editor-common": "^107.7.0",
36
+ "@atlaskit/editor-common": "^107.28.0",
37
37
  "react": "^18.2.0",
38
38
  "react-dom": "^18.2.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@af/visual-regression": "workspace:^",
42
42
  "@testing-library/react": "^13.4.0",
43
- "typescript": "~5.4.2",
44
43
  "wait-for-expect": "^1.2.0"
45
44
  },
46
45
  "techstack": {