@atlaskit/editor-plugin-toolbar-lists-indentation 11.2.0 → 11.2.2

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-toolbar-lists-indentation
2
2
 
3
+ ## 11.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2c2360f6ef073`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2c2360f6ef073) -
8
+ Move \_MarkdownModePluginStub to @atlaskit/editor-common
9
+ - Updated dependencies
10
+
11
+ ## 11.2.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 11.2.0
4
18
 
5
19
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
1
+ import type { _MarkdownModePluginStub, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
4
4
  import type { IndentationPlugin } from '@atlaskit/editor-plugin-indentation';
@@ -13,30 +13,6 @@ export type ToolbarListsIndentationPluginOptions = {
13
13
  allowHeadingAndParagraphIndentation: boolean;
14
14
  showIndentationButtons: boolean;
15
15
  };
16
- /**
17
- * Minimal duck-typed slice of `@atlassian/editor-plugin-markdown-mode`'s
18
- * `MarkdownModePlugin` covering only the list/task source-view surface this
19
- * plugin uses. See `editor-plugin-text-formatting/textFormattingPluginType.ts`
20
- * for the rationale for not importing the real type.
21
- */
22
- type _MarkdownModePluginStub = NextEditorPlugin<'markdownMode', {
23
- actions: {
24
- toggleSourceBulletList: () => boolean;
25
- toggleSourceOrderedList: () => boolean;
26
- toggleSourceTaskList: () => boolean;
27
- };
28
- sharedState: {
29
- sourceBlockFormatState: {
30
- inCodeBlock: boolean;
31
- } | null;
32
- sourceListFormatState: {
33
- inBulletList: boolean;
34
- inOrderedList: boolean;
35
- inTaskList: boolean;
36
- } | null;
37
- view: 'syntax' | 'split-view' | 'preview';
38
- } | undefined;
39
- }>;
40
16
  export type ToolbarListsIndentationPluginDependencies = [
41
17
  OptionalPlugin<_MarkdownModePluginStub>,
42
18
  OptionalPlugin<FeatureFlagsPlugin>,
@@ -54,4 +30,3 @@ export type ToolbarListsIndentationPlugin = NextEditorPlugin<'toolbarListsIndent
54
30
  dependencies: ToolbarListsIndentationPluginDependencies;
55
31
  pluginConfiguration: ToolbarListsIndentationPluginOptions;
56
32
  }>;
57
- export {};
@@ -1,4 +1,4 @@
1
- import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
1
+ import type { _MarkdownModePluginStub, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
4
4
  import type { IndentationPlugin } from '@atlaskit/editor-plugin-indentation';
@@ -13,30 +13,6 @@ export type ToolbarListsIndentationPluginOptions = {
13
13
  allowHeadingAndParagraphIndentation: boolean;
14
14
  showIndentationButtons: boolean;
15
15
  };
16
- /**
17
- * Minimal duck-typed slice of `@atlassian/editor-plugin-markdown-mode`'s
18
- * `MarkdownModePlugin` covering only the list/task source-view surface this
19
- * plugin uses. See `editor-plugin-text-formatting/textFormattingPluginType.ts`
20
- * for the rationale for not importing the real type.
21
- */
22
- type _MarkdownModePluginStub = NextEditorPlugin<'markdownMode', {
23
- actions: {
24
- toggleSourceBulletList: () => boolean;
25
- toggleSourceOrderedList: () => boolean;
26
- toggleSourceTaskList: () => boolean;
27
- };
28
- sharedState: {
29
- sourceBlockFormatState: {
30
- inCodeBlock: boolean;
31
- } | null;
32
- sourceListFormatState: {
33
- inBulletList: boolean;
34
- inOrderedList: boolean;
35
- inTaskList: boolean;
36
- } | null;
37
- view: 'syntax' | 'split-view' | 'preview';
38
- } | undefined;
39
- }>;
40
16
  export type ToolbarListsIndentationPluginDependencies = [
41
17
  OptionalPlugin<_MarkdownModePluginStub>,
42
18
  OptionalPlugin<FeatureFlagsPlugin>,
@@ -54,4 +30,3 @@ export type ToolbarListsIndentationPlugin = NextEditorPlugin<'toolbarListsIndent
54
30
  dependencies: ToolbarListsIndentationPluginDependencies;
55
31
  pluginConfiguration: ToolbarListsIndentationPluginOptions;
56
32
  }>;
57
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
3
- "version": "11.2.0",
3
+ "version": "11.2.2",
4
4
  "description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@atlaskit/css": "^0.19.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^10.1.0",
34
- "@atlaskit/editor-plugin-block-type": "^14.1.0",
34
+ "@atlaskit/editor-plugin-block-type": "^14.2.0",
35
35
  "@atlaskit/editor-plugin-feature-flags": "^9.1.0",
36
36
  "@atlaskit/editor-plugin-indentation": "^10.1.0",
37
37
  "@atlaskit/editor-plugin-interaction": "^19.1.0",
@@ -45,12 +45,12 @@
45
45
  "@atlaskit/editor-toolbar-model": "^0.5.0",
46
46
  "@atlaskit/icon": "^35.3.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/tmp-editor-statsig": "^84.2.0",
49
- "@atlaskit/tokens": "^13.0.0",
48
+ "@atlaskit/tmp-editor-statsig": "^85.0.0",
49
+ "@atlaskit/tokens": "^13.1.0",
50
50
  "@babel/runtime": "^7.0.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^114.48.0",
53
+ "@atlaskit/editor-common": "^114.51.0",
54
54
  "react": "^18.2.0",
55
55
  "react-dom": "^18.2.0",
56
56
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"