@atlaskit/editor-plugin-indentation 1.8.12 → 1.10.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,29 @@
1
1
  # @atlaskit/editor-plugin-indentation
2
2
 
3
+ ## 1.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
8
+ [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
9
+ Bumped editor-prosemirror version to 7.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.9.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
20
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
21
+ Update `React` from v16 to v18
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 1.8.12
4
28
 
5
29
  ### Patch Changes
@@ -7,12 +7,14 @@ type IndentationPluginSharedState = {
7
7
  indentDisabled: boolean;
8
8
  outdentDisabled: boolean;
9
9
  };
10
+ export type IndentationPluginDependencies = [OptionalPlugin<AnalyticsPlugin>];
11
+ export type IndentationPluginActions = {
12
+ indentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
13
+ outdentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
14
+ };
10
15
  export type IndentationPlugin = NextEditorPlugin<'indentation', {
11
- dependencies: [OptionalPlugin<AnalyticsPlugin>];
12
- actions: {
13
- indentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
14
- outdentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
15
- };
16
+ dependencies: IndentationPluginDependencies;
17
+ actions: IndentationPluginActions;
16
18
  sharedState: IndentationPluginSharedState | undefined;
17
19
  }>;
18
20
  export interface GetAttrsChange<T, V> {
@@ -7,14 +7,16 @@ type IndentationPluginSharedState = {
7
7
  indentDisabled: boolean;
8
8
  outdentDisabled: boolean;
9
9
  };
10
+ export type IndentationPluginDependencies = [
11
+ OptionalPlugin<AnalyticsPlugin>
12
+ ];
13
+ export type IndentationPluginActions = {
14
+ indentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
15
+ outdentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
16
+ };
10
17
  export type IndentationPlugin = NextEditorPlugin<'indentation', {
11
- dependencies: [
12
- OptionalPlugin<AnalyticsPlugin>
13
- ];
14
- actions: {
15
- indentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
16
- outdentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
17
- };
18
+ dependencies: IndentationPluginDependencies;
19
+ actions: IndentationPluginActions;
18
20
  sharedState: IndentationPluginSharedState | undefined;
19
21
  }>;
20
22
  export interface GetAttrsChange<T, V> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-indentation",
3
- "version": "1.8.12",
3
+ "version": "1.10.0",
4
4
  "description": "Indentation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^99.0.0",
36
- "@atlaskit/editor-plugin-analytics": "^1.10.0",
37
- "@atlaskit/editor-prosemirror": "6.2.1",
35
+ "@atlaskit/editor-common": "^99.10.0",
36
+ "@atlaskit/editor-plugin-analytics": "^1.12.0",
37
+ "@atlaskit/editor-prosemirror": "7.0.0",
38
38
  "@babel/runtime": "^7.0.0"
39
39
  },
40
40
  "peerDependencies": {
@@ -46,7 +46,7 @@
46
46
  "@af/visual-regression": "*",
47
47
  "@atlaskit/ssr": "*",
48
48
  "@atlaskit/visual-regression": "*",
49
- "@testing-library/react": "^12.1.5",
49
+ "@testing-library/react": "^13.4.0",
50
50
  "typescript": "~5.4.2",
51
51
  "wait-for-expect": "^1.2.0"
52
52
  },
@@ -78,8 +78,7 @@
78
78
  ],
79
79
  "deprecation": "no-deprecated-imports",
80
80
  "styling": [
81
- "emotion",
82
- "emotion"
81
+ "compiled"
83
82
  ],
84
83
  "imports": [
85
84
  "import-no-extraneous-disable-for-examples-and-docs"