@atlaskit/editor-plugin-tasks-and-decisions 11.0.0 → 11.0.1

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,11 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 11.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 11.0.0
4
10
 
5
11
  ### Patch Changes
@@ -82,4 +82,7 @@ var TaskItemWrapper = function TaskItemWrapper(props) {
82
82
  taskDecisionProvider: provider
83
83
  }, props));
84
84
  };
85
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(TaskItemWrapper);
85
+
86
+ // eslint-disable-next-line @typescript-eslint/ban-types
87
+ var _default_1 = (0, _reactIntlNext.injectIntl)(TaskItemWrapper);
88
+ var _default = exports.default = _default_1;
@@ -42,4 +42,7 @@ var ToolbarDecision = function ToolbarDecision(_ref) {
42
42
  })
43
43
  });
44
44
  };
45
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(ToolbarDecision);
45
+
46
+ // eslint-disable-next-line @typescript-eslint/ban-types
47
+ var _default_1 = (0, _reactIntlNext.injectIntl)(ToolbarDecision);
48
+ var _default = exports.default = _default_1;
@@ -41,4 +41,7 @@ var ToolbarTask = function ToolbarTask(_ref) {
41
41
  })
42
42
  });
43
43
  };
44
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(ToolbarTask);
44
+
45
+ // eslint-disable-next-line @typescript-eslint/ban-types
46
+ var _default_1 = (0, _reactIntlNext.injectIntl)(ToolbarTask);
47
+ var _default = exports.default = _default_1;
@@ -60,4 +60,7 @@ const TaskItemWrapper = props => {
60
60
  taskDecisionProvider: provider
61
61
  }, props));
62
62
  };
63
- export default injectIntl(TaskItemWrapper);
63
+
64
+ // eslint-disable-next-line @typescript-eslint/ban-types
65
+ const _default_1 = injectIntl(TaskItemWrapper);
66
+ export default _default_1;
@@ -38,4 +38,7 @@ const ToolbarDecision = ({
38
38
  })
39
39
  });
40
40
  };
41
- export default injectIntl(ToolbarDecision);
41
+
42
+ // eslint-disable-next-line @typescript-eslint/ban-types
43
+ const _default_1 = injectIntl(ToolbarDecision);
44
+ export default _default_1;
@@ -37,4 +37,7 @@ const ToolbarTask = ({
37
37
  })
38
38
  });
39
39
  };
40
- export default injectIntl(ToolbarTask);
40
+
41
+ // eslint-disable-next-line @typescript-eslint/ban-types
42
+ const _default_1 = injectIntl(ToolbarTask);
43
+ export default _default_1;
@@ -73,4 +73,7 @@ var TaskItemWrapper = function TaskItemWrapper(props) {
73
73
  taskDecisionProvider: provider
74
74
  }, props));
75
75
  };
76
- export default injectIntl(TaskItemWrapper);
76
+
77
+ // eslint-disable-next-line @typescript-eslint/ban-types
78
+ var _default_1 = injectIntl(TaskItemWrapper);
79
+ export default _default_1;
@@ -35,4 +35,7 @@ var ToolbarDecision = function ToolbarDecision(_ref) {
35
35
  })
36
36
  });
37
37
  };
38
- export default injectIntl(ToolbarDecision);
38
+
39
+ // eslint-disable-next-line @typescript-eslint/ban-types
40
+ var _default_1 = injectIntl(ToolbarDecision);
41
+ export default _default_1;
@@ -34,4 +34,7 @@ var ToolbarTask = function ToolbarTask(_ref) {
34
34
  })
35
35
  });
36
36
  };
37
- export default injectIntl(ToolbarTask);
37
+
38
+ // eslint-disable-next-line @typescript-eslint/ban-types
39
+ var _default_1 = injectIntl(ToolbarTask);
40
+ export default _default_1;
@@ -1,5 +1,5 @@
1
1
  import { type IntlShape } from 'react-intl-next';
2
- import type { DOMOutputSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { DOMOutputSpec, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  /**
4
4
  * Wrapper for ADF taskItem node spec to augment toDOM implementation
5
5
  * with fallback UI for lazy node view rendering / window virtualization
@@ -7,7 +7,7 @@ import type { DOMOutputSpec, Node as PMNode } from '@atlaskit/editor-prosemirror
7
7
  * @returns
8
8
  * @example
9
9
  */
10
- export declare const taskItemNodeSpec: () => import("prosemirror-model").NodeSpec;
10
+ export declare const taskItemNodeSpec: () => NodeSpec;
11
11
  /**
12
12
  * Wrapper for ADF blockTaskItem node spec to augment toDOM implementation
13
13
  * with fallback UI for lazy node view rendering / window virtualization
@@ -15,7 +15,7 @@ export declare const taskItemNodeSpec: () => import("prosemirror-model").NodeSpe
15
15
  * @returns
16
16
  * @example
17
17
  */
18
- export declare const blockTaskItemNodeSpec: () => import("prosemirror-model").NodeSpec;
18
+ export declare const blockTaskItemNodeSpec: () => NodeSpec;
19
19
  /**
20
20
  * Converts a task item node to a DOM output specification.
21
21
  * This is used for rendering the task item in the editor.
@@ -1 +1,2 @@
1
- export declare const decisionItemSpecWithFixedToDOM: () => import("prosemirror-model").NodeSpec;
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ export declare const decisionItemSpecWithFixedToDOM: () => NodeSpec;
@@ -12,7 +12,7 @@ export declare const isTable: (node?: Node | null) => boolean;
12
12
  * Creates a NodeRange around the given taskItem and the following
13
13
  * ("nested") taskList, if one exists.
14
14
  */
15
- export declare const getBlockRange: ({ $from, $to }: {
15
+ export declare const getBlockRange: ({ $from, $to, }: {
16
16
  $from: ResolvedPos;
17
17
  $to: ResolvedPos;
18
18
  }) => NodeRange | null;
@@ -1,2 +1,2 @@
1
1
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- export declare const stateKey: PluginKey<any>;
2
+ export declare const stateKey: PluginKey;
@@ -1,6 +1,6 @@
1
1
  import type { ReactElement, Ref } from 'react';
2
2
  import React, { PureComponent } from 'react';
3
- import type { WrappedComponentProps } from 'react-intl-next';
3
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
4
4
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
5
  import { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
6
  import type { ContentRef } from '@atlaskit/task-decision';
@@ -33,7 +33,7 @@ export declare class TaskItem extends PureComponent<TaskItemProps, Object> {
33
33
  private renderWithProvider;
34
34
  render(): React.JSX.Element;
35
35
  }
36
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<TaskProps & WrappedComponentProps>> & {
36
+ declare const _default_1: React.FC<WithIntlProps<TaskProps & WrappedComponentProps>> & {
37
37
  WrappedComponent: React.ComponentType<TaskProps & WrappedComponentProps>;
38
38
  };
39
- export default _default;
39
+ export default _default_1;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
@@ -12,7 +12,7 @@ export interface Props {
12
12
  export interface State {
13
13
  disabled: boolean;
14
14
  }
15
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
15
+ declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
16
16
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
17
17
  };
18
- export default _default;
18
+ export default _default_1;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
@@ -12,7 +12,7 @@ export interface Props {
12
12
  export interface State {
13
13
  disabled: boolean;
14
14
  }
15
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
15
+ declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
16
16
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
17
17
  };
18
- export default _default;
18
+ export default _default_1;
@@ -1,5 +1,5 @@
1
1
  import { type IntlShape } from 'react-intl-next';
2
- import type { DOMOutputSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { DOMOutputSpec, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  /**
4
4
  * Wrapper for ADF taskItem node spec to augment toDOM implementation
5
5
  * with fallback UI for lazy node view rendering / window virtualization
@@ -7,7 +7,7 @@ import type { DOMOutputSpec, Node as PMNode } from '@atlaskit/editor-prosemirror
7
7
  * @returns
8
8
  * @example
9
9
  */
10
- export declare const taskItemNodeSpec: () => import("prosemirror-model").NodeSpec;
10
+ export declare const taskItemNodeSpec: () => NodeSpec;
11
11
  /**
12
12
  * Wrapper for ADF blockTaskItem node spec to augment toDOM implementation
13
13
  * with fallback UI for lazy node view rendering / window virtualization
@@ -15,7 +15,7 @@ export declare const taskItemNodeSpec: () => import("prosemirror-model").NodeSpe
15
15
  * @returns
16
16
  * @example
17
17
  */
18
- export declare const blockTaskItemNodeSpec: () => import("prosemirror-model").NodeSpec;
18
+ export declare const blockTaskItemNodeSpec: () => NodeSpec;
19
19
  /**
20
20
  * Converts a task item node to a DOM output specification.
21
21
  * This is used for rendering the task item in the editor.
@@ -1 +1,2 @@
1
- export declare const decisionItemSpecWithFixedToDOM: () => import("prosemirror-model").NodeSpec;
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ export declare const decisionItemSpecWithFixedToDOM: () => NodeSpec;
@@ -12,7 +12,7 @@ export declare const isTable: (node?: Node | null) => boolean;
12
12
  * Creates a NodeRange around the given taskItem and the following
13
13
  * ("nested") taskList, if one exists.
14
14
  */
15
- export declare const getBlockRange: ({ $from, $to }: {
15
+ export declare const getBlockRange: ({ $from, $to, }: {
16
16
  $from: ResolvedPos;
17
17
  $to: ResolvedPos;
18
18
  }) => NodeRange | null;
@@ -1,2 +1,2 @@
1
1
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- export declare const stateKey: PluginKey<any>;
2
+ export declare const stateKey: PluginKey;
@@ -1,6 +1,6 @@
1
1
  import type { ReactElement, Ref } from 'react';
2
2
  import React, { PureComponent } from 'react';
3
- import type { WrappedComponentProps } from 'react-intl-next';
3
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
4
4
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
5
  import { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
6
  import type { ContentRef } from '@atlaskit/task-decision';
@@ -33,7 +33,7 @@ export declare class TaskItem extends PureComponent<TaskItemProps, Object> {
33
33
  private renderWithProvider;
34
34
  render(): React.JSX.Element;
35
35
  }
36
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<TaskProps & WrappedComponentProps>> & {
36
+ declare const _default_1: React.FC<WithIntlProps<TaskProps & WrappedComponentProps>> & {
37
37
  WrappedComponent: React.ComponentType<TaskProps & WrappedComponentProps>;
38
38
  };
39
- export default _default;
39
+ export default _default_1;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
@@ -12,7 +12,7 @@ export interface Props {
12
12
  export interface State {
13
13
  disabled: boolean;
14
14
  }
15
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
15
+ declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
16
16
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
17
17
  };
18
- export default _default;
18
+ export default _default_1;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
@@ -12,7 +12,7 @@ export interface Props {
12
12
  export interface State {
13
13
  disabled: boolean;
14
14
  }
15
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
15
+ declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
16
16
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
17
17
  };
18
- export default _default;
18
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "11.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/primitives": "^18.0.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
51
51
  "@atlaskit/task-decision": "^19.3.0",
52
- "@atlaskit/tmp-editor-statsig": "^35.10.0",
52
+ "@atlaskit/tmp-editor-statsig": "^36.0.0",
53
53
  "@atlaskit/tokens": "^11.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.20.0",