@atlaskit/editor-plugin-tasks-and-decisions 13.3.1 → 13.3.3

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-tasks-and-decisions
2
2
 
3
+ ## 13.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 13.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`2c2360f6ef073`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2c2360f6ef073) -
14
+ Move \_MarkdownModePluginStub to @atlaskit/editor-common
15
+ - Updated dependencies
16
+
3
17
  ## 13.3.1
4
18
 
5
19
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
1
+ import type { _MarkdownModePluginStub, EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { BlockMenuPlugin } from '@atlaskit/editor-plugin-block-menu';
4
4
  import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
@@ -10,26 +10,6 @@ import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
10
10
  import type { insertTaskDecisionCommand } from './pm-plugins/insert-commands';
11
11
  import type { getIndentCommand, getUnindentCommand } from './pm-plugins/keymaps';
12
12
  import type { TaskAndDecisionsSharedState, TasksAndDecisionsPluginOptions } from './types';
13
- /**
14
- * Minimal duck-typed slice of `@atlassian/editor-plugin-markdown-mode`'s
15
- * `MarkdownModePlugin` covering only the task-list source-view surface this
16
- * plugin uses. See `editor-plugin-text-formatting/textFormattingPluginType.ts`
17
- * for the rationale for not importing the real type.
18
- */
19
- type _MarkdownModePluginStub = NextEditorPlugin<'markdownMode', {
20
- actions: {
21
- toggleSourceTaskList: () => boolean;
22
- };
23
- sharedState: {
24
- sourceBlockFormatState: {
25
- inCodeBlock: boolean;
26
- } | null;
27
- sourceListFormatState: {
28
- inTaskList: boolean;
29
- } | null;
30
- view: 'syntax' | 'split-view' | 'preview';
31
- } | undefined;
32
- }>;
33
13
  export type TasksAndDecisionsPluginDependencies = [
34
14
  OptionalPlugin<TypeAheadPlugin>,
35
15
  OptionalPlugin<AnalyticsPlugin>,
@@ -56,4 +36,3 @@ export type TasksAndDecisionsPlugin = NextEditorPlugin<'taskDecision', {
56
36
  pluginConfiguration: TasksAndDecisionsPluginOptions | undefined;
57
37
  sharedState: TaskAndDecisionsSharedState | undefined;
58
38
  }>;
59
- export {};
@@ -1,4 +1,4 @@
1
- import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
1
+ import type { _MarkdownModePluginStub, EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { BlockMenuPlugin } from '@atlaskit/editor-plugin-block-menu';
4
4
  import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
@@ -10,26 +10,6 @@ import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
10
10
  import type { insertTaskDecisionCommand } from './pm-plugins/insert-commands';
11
11
  import type { getIndentCommand, getUnindentCommand } from './pm-plugins/keymaps';
12
12
  import type { TaskAndDecisionsSharedState, TasksAndDecisionsPluginOptions } from './types';
13
- /**
14
- * Minimal duck-typed slice of `@atlassian/editor-plugin-markdown-mode`'s
15
- * `MarkdownModePlugin` covering only the task-list source-view surface this
16
- * plugin uses. See `editor-plugin-text-formatting/textFormattingPluginType.ts`
17
- * for the rationale for not importing the real type.
18
- */
19
- type _MarkdownModePluginStub = NextEditorPlugin<'markdownMode', {
20
- actions: {
21
- toggleSourceTaskList: () => boolean;
22
- };
23
- sharedState: {
24
- sourceBlockFormatState: {
25
- inCodeBlock: boolean;
26
- } | null;
27
- sourceListFormatState: {
28
- inTaskList: boolean;
29
- } | null;
30
- view: 'syntax' | 'split-view' | 'preview';
31
- } | undefined;
32
- }>;
33
13
  export type TasksAndDecisionsPluginDependencies = [
34
14
  OptionalPlugin<TypeAheadPlugin>,
35
15
  OptionalPlugin<AnalyticsPlugin>,
@@ -56,4 +36,3 @@ export type TasksAndDecisionsPlugin = NextEditorPlugin<'taskDecision', {
56
36
  pluginConfiguration: TasksAndDecisionsPluginOptions | undefined;
57
37
  sharedState: TaskAndDecisionsSharedState | undefined;
58
38
  }>;
59
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "13.3.1",
3
+ "version": "13.3.3",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/editor-plugin-type-ahead": "^10.3.0",
42
42
  "@atlaskit/editor-prosemirror": "^7.3.0",
43
43
  "@atlaskit/editor-shared-styles": "^3.11.0",
44
- "@atlaskit/editor-toolbar": "^1.8.0",
44
+ "@atlaskit/editor-toolbar": "^1.9.0",
45
45
  "@atlaskit/editor-toolbar-model": "^0.5.0",
46
46
  "@atlaskit/heading": "^5.4.0",
47
47
  "@atlaskit/icon": "^35.3.0",
@@ -49,14 +49,14 @@
49
49
  "@atlaskit/primitives": "^19.0.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.7.0",
51
51
  "@atlaskit/task-decision": "^20.1.0",
52
- "@atlaskit/tmp-editor-statsig": "^85.0.0",
52
+ "@atlaskit/tmp-editor-statsig": "^86.0.0",
53
53
  "@atlaskit/tokens": "^13.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.20.0",
56
56
  "bind-event-listener": "^3.0.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^114.50.0",
59
+ "@atlaskit/editor-common": "^114.54.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
62
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"