@atlaskit/editor-plugin-tasks-and-decisions 10.1.0 → 10.1.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,17 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 10.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 10.1.0
4
16
 
5
17
  ### Minor Changes
@@ -223,7 +223,7 @@ var lazyTaskItemToDom = exports.lazyTaskItemToDom = function lazyTaskItemToDom(n
223
223
  style: (0, _lazyNodeView.convertToInlineCss)({
224
224
  display: 'block',
225
225
  fontSize: '16px',
226
- fontFamily: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
226
+ fontFamily: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
227
227
  color: "var(--ds-text, #292A2E)"
228
228
  })
229
229
  }, 0]]]];
@@ -213,7 +213,7 @@ export const lazyTaskItemToDom = node => {
213
213
  style: convertToInlineCss({
214
214
  display: 'block',
215
215
  fontSize: '16px',
216
- fontFamily: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
216
+ fontFamily: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
217
217
  color: "var(--ds-text, #292A2E)"
218
218
  })
219
219
  }, 0]]]];
@@ -215,7 +215,7 @@ export var lazyTaskItemToDom = function lazyTaskItemToDom(node) {
215
215
  style: convertToInlineCss({
216
216
  display: 'block',
217
217
  fontSize: '16px',
218
- fontFamily: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
218
+ fontFamily: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
219
219
  color: "var(--ds-text, #292A2E)"
220
220
  })
221
221
  }, 0]]]];
@@ -1,50 +1,50 @@
1
1
  import { type IntlShape } from 'react-intl-next';
2
2
  import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  export declare const decisionItemToDOM: (node: PMNode, intl: IntlShape) => [string, {
4
- 'data-decision-local-id': any;
5
- 'data-decision-state': any;
6
- 'data-prosemirror-node-name': string;
7
4
  class: string;
5
+ "data-decision-local-id": any;
6
+ "data-decision-state": any;
7
+ "data-prosemirror-node-name": string;
8
8
  }, (string | [string, {
9
9
  contentEditable: boolean;
10
- 'data-component': string;
10
+ "data-component": string;
11
11
  }, (string | {
12
+ "aria-label": string;
12
13
  role: string;
13
- 'aria-label': string;
14
14
  } | (string | {
15
- viewBox: string;
15
+ "data-icon-source": string;
16
+ height: string;
16
17
  role: string;
18
+ viewBox: string;
17
19
  width: string;
18
- height: string;
19
- 'data-icon-source': string;
20
20
  } | (string | {
21
- fill: string;
22
- 'fill-rule': string;
23
21
  d: string;
22
+ fill: string;
23
+ "fill-rule": string;
24
24
  })[])[] | (string | {
25
- viewBox: string;
25
+ "data-icon-source": string;
26
26
  fill: string;
27
+ height: string;
27
28
  role: string;
29
+ viewBox: string;
28
30
  width: string;
29
- height: string;
30
- 'data-icon-source': string;
31
31
  } | (string | {
32
- fill: string;
33
- 'fill-rule': string;
34
32
  d: string;
33
+ fill: string;
34
+ "fill-rule": string;
35
35
  })[])[])[]] | {
36
- 'data-testid': string;
37
- 'data-decision-wrapper': boolean;
36
+ "data-decision-wrapper": boolean;
37
+ "data-testid": string;
38
38
  } | (string | {
39
- 'data-testid': string;
40
- 'data-component': string;
41
39
  contentEditable: boolean;
40
+ "data-component": string;
41
+ "data-testid": string;
42
42
  })[] | (string | {
43
- 'data-component': string;
43
+ "data-component": string;
44
44
  } | (string | number | {
45
- 'data-empty'?: undefined;
46
45
  class: string;
46
+ "data-empty"?: undefined;
47
47
  } | {
48
- 'data-empty': string;
49
48
  class: string;
49
+ "data-empty": string;
50
50
  })[])[])[]];
@@ -72,8 +72,8 @@ export declare const isEmptyTaskDecision: (state: EditorState) => boolean;
72
72
  */
73
73
  export declare const liftBlock: (tr: Transaction, $from: ResolvedPos, $to: ResolvedPos) => Transaction | null;
74
74
  export declare function getTaskItemDataAtPos(view: EditorView): {
75
- pos: number;
76
75
  localId: any;
76
+ pos: number;
77
77
  } | undefined;
78
78
  export declare function getAllTaskItemsDataInRootTaskList(view: EditorView): {
79
79
  index: number;
@@ -86,8 +86,8 @@ export declare function getCurrentTaskItemIndex(view: EditorView, allTaskItems:
86
86
  pos: number;
87
87
  }>): number;
88
88
  export declare function getTaskItemDataToFocus(view: EditorView, direction: 'next' | 'previous'): {
89
- pos: number;
90
89
  localId: any;
90
+ pos: number;
91
91
  } | undefined;
92
92
  export declare function focusCheckbox(view: EditorView, taskItemData?: TaskItemData): void;
93
93
  export declare function focusCheckboxAndUpdateSelection(view: EditorView, taskItemData: TaskItemData): void;
@@ -3,56 +3,56 @@ import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  export declare const decisionItemToDOM: (node: PMNode, intl: IntlShape) => [
4
4
  string,
5
5
  {
6
- 'data-decision-local-id': any;
7
- 'data-decision-state': any;
8
- 'data-prosemirror-node-name': string;
9
6
  class: string;
7
+ "data-decision-local-id": any;
8
+ "data-decision-state": any;
9
+ "data-prosemirror-node-name": string;
10
10
  },
11
11
  (string | [
12
12
  string,
13
13
  {
14
14
  contentEditable: boolean;
15
- 'data-component': string;
15
+ "data-component": string;
16
16
  },
17
17
  (string | {
18
+ "aria-label": string;
18
19
  role: string;
19
- 'aria-label': string;
20
20
  } | (string | {
21
- viewBox: string;
21
+ "data-icon-source": string;
22
+ height: string;
22
23
  role: string;
24
+ viewBox: string;
23
25
  width: string;
24
- height: string;
25
- 'data-icon-source': string;
26
26
  } | (string | {
27
- fill: string;
28
- 'fill-rule': string;
29
27
  d: string;
28
+ fill: string;
29
+ "fill-rule": string;
30
30
  })[])[] | (string | {
31
- viewBox: string;
31
+ "data-icon-source": string;
32
32
  fill: string;
33
+ height: string;
33
34
  role: string;
35
+ viewBox: string;
34
36
  width: string;
35
- height: string;
36
- 'data-icon-source': string;
37
37
  } | (string | {
38
- fill: string;
39
- 'fill-rule': string;
40
38
  d: string;
39
+ fill: string;
40
+ "fill-rule": string;
41
41
  })[])[])[]
42
42
  ] | {
43
- 'data-testid': string;
44
- 'data-decision-wrapper': boolean;
43
+ "data-decision-wrapper": boolean;
44
+ "data-testid": string;
45
45
  } | (string | {
46
- 'data-testid': string;
47
- 'data-component': string;
48
46
  contentEditable: boolean;
47
+ "data-component": string;
48
+ "data-testid": string;
49
49
  })[] | (string | {
50
- 'data-component': string;
50
+ "data-component": string;
51
51
  } | (string | number | {
52
- 'data-empty'?: undefined;
53
52
  class: string;
53
+ "data-empty"?: undefined;
54
54
  } | {
55
- 'data-empty': string;
56
55
  class: string;
56
+ "data-empty": string;
57
57
  })[])[])[]
58
58
  ];
@@ -72,8 +72,8 @@ export declare const isEmptyTaskDecision: (state: EditorState) => boolean;
72
72
  */
73
73
  export declare const liftBlock: (tr: Transaction, $from: ResolvedPos, $to: ResolvedPos) => Transaction | null;
74
74
  export declare function getTaskItemDataAtPos(view: EditorView): {
75
- pos: number;
76
75
  localId: any;
76
+ pos: number;
77
77
  } | undefined;
78
78
  export declare function getAllTaskItemsDataInRootTaskList(view: EditorView): {
79
79
  index: number;
@@ -86,8 +86,8 @@ export declare function getCurrentTaskItemIndex(view: EditorView, allTaskItems:
86
86
  pos: number;
87
87
  }>): number;
88
88
  export declare function getTaskItemDataToFocus(view: EditorView, direction: 'next' | 'previous'): {
89
- pos: number;
90
89
  localId: any;
90
+ pos: number;
91
91
  } | undefined;
92
92
  export declare function focusCheckbox(view: EditorView, taskItemData?: TaskItemData): void;
93
93
  export declare function focusCheckboxAndUpdateSelection(view: EditorView, taskItemData: TaskItemData): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "10.1.0",
3
+ "version": "10.1.2",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,26 +37,26 @@
37
37
  "@atlaskit/editor-plugin-context-identifier": "^7.0.0",
38
38
  "@atlaskit/editor-plugin-editor-viewmode": "^9.0.0",
39
39
  "@atlaskit/editor-plugin-selection": "^7.0.0",
40
- "@atlaskit/editor-plugin-toolbar": "^4.0.0",
40
+ "@atlaskit/editor-plugin-toolbar": "^4.1.0",
41
41
  "@atlaskit/editor-plugin-type-ahead": "^7.0.0",
42
42
  "@atlaskit/editor-prosemirror": "^7.2.0",
43
43
  "@atlaskit/editor-shared-styles": "^3.10.0",
44
44
  "@atlaskit/editor-toolbar": "^0.19.0",
45
- "@atlaskit/editor-toolbar-model": "^0.2.0",
45
+ "@atlaskit/editor-toolbar-model": "^0.3.0",
46
46
  "@atlaskit/heading": "^5.2.0",
47
- "@atlaskit/icon": "^29.4.0",
47
+ "@atlaskit/icon": "^30.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
- "@atlaskit/primitives": "^17.0.0",
49
+ "@atlaskit/primitives": "^17.1.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
51
51
  "@atlaskit/task-decision": "^19.2.0",
52
- "@atlaskit/tmp-editor-statsig": "^16.14.0",
53
- "@atlaskit/tokens": "^9.1.0",
52
+ "@atlaskit/tmp-editor-statsig": "^16.30.0",
53
+ "@atlaskit/tokens": "^10.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.18.6",
56
56
  "bind-event-listener": "^3.0.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^111.7.0",
59
+ "@atlaskit/editor-common": "^111.8.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
62
  "react-intl-next": "npm:react-intl@^5.18.1"