@atlaskit/editor-plugin-guideline 1.2.21 → 1.3.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,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-guideline
|
|
2
2
|
|
|
3
|
+
## 1.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 1.2.22
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 1.2.21
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { DisplayGuideline, GuidelinePluginState } from '@atlaskit/editor-common/guideline';
|
|
2
2
|
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
|
|
4
|
+
type GuidelinePluginDependencies = [WidthPlugin];
|
|
5
|
+
type GuidelinePluginSharedState = GuidelinePluginState | null;
|
|
6
|
+
type GuidelinePluginActions = {
|
|
7
|
+
displayGuideline: DisplayGuideline;
|
|
8
|
+
};
|
|
4
9
|
export type GuidelinePlugin = NextEditorPlugin<'guideline', {
|
|
5
|
-
dependencies:
|
|
6
|
-
sharedState:
|
|
7
|
-
actions:
|
|
8
|
-
displayGuideline: DisplayGuideline;
|
|
9
|
-
};
|
|
10
|
+
dependencies: GuidelinePluginDependencies;
|
|
11
|
+
sharedState: GuidelinePluginSharedState;
|
|
12
|
+
actions: GuidelinePluginActions;
|
|
10
13
|
}>;
|
|
14
|
+
export {};
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import type { DisplayGuideline, GuidelinePluginState } from '@atlaskit/editor-common/guideline';
|
|
2
2
|
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
|
|
4
|
+
type GuidelinePluginDependencies = [
|
|
5
|
+
WidthPlugin
|
|
6
|
+
];
|
|
7
|
+
type GuidelinePluginSharedState = GuidelinePluginState | null;
|
|
8
|
+
type GuidelinePluginActions = {
|
|
9
|
+
displayGuideline: DisplayGuideline;
|
|
10
|
+
};
|
|
4
11
|
export type GuidelinePlugin = NextEditorPlugin<'guideline', {
|
|
5
|
-
dependencies:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
sharedState: GuidelinePluginState | null;
|
|
9
|
-
actions: {
|
|
10
|
-
displayGuideline: DisplayGuideline;
|
|
11
|
-
};
|
|
12
|
+
dependencies: GuidelinePluginDependencies;
|
|
13
|
+
sharedState: GuidelinePluginSharedState;
|
|
14
|
+
actions: GuidelinePluginActions;
|
|
12
15
|
}>;
|
|
16
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-guideline",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
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": "^
|
|
26
|
+
"@atlaskit/editor-common": "^99.6.0",
|
|
27
27
|
"@atlaskit/editor-plugin-width": "^2.0.0",
|
|
28
28
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
29
29
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
30
|
-
"@atlaskit/theme": "^14.
|
|
31
|
-
"@atlaskit/tokens": "^
|
|
30
|
+
"@atlaskit/theme": "^14.1.0",
|
|
31
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/react": "^11.7.1"
|
|
34
34
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@af/visual-regression": "*",
|
|
41
|
-
"@testing-library/react": "^
|
|
41
|
+
"@testing-library/react": "^13.4.0",
|
|
42
42
|
"typescript": "~5.4.2",
|
|
43
43
|
"wait-for-expect": "^1.2.0"
|
|
44
44
|
},
|