@atlaskit/editor-plugin-tasks-and-decisions 13.3.0 → 13.3.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-tasks-and-decisions
2
2
 
3
+ ## 13.3.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
+ ## 13.3.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 13.3.0
4
18
 
5
19
  ### Minor 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.0",
3
+ "version": "13.3.2",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/editor-plugin-editor-viewmode": "^12.1.0",
39
39
  "@atlaskit/editor-plugin-selection": "^10.1.0",
40
40
  "@atlaskit/editor-plugin-toolbar": "^7.3.0",
41
- "@atlaskit/editor-plugin-type-ahead": "^10.2.0",
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
44
  "@atlaskit/editor-toolbar": "^1.8.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": "^84.2.0",
53
- "@atlaskit/tokens": "^13.0.0",
52
+ "@atlaskit/tmp-editor-statsig": "^85.0.0",
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.48.0",
59
+ "@atlaskit/editor-common": "^114.51.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"