@atlaskit/task-decision 17.5.3 → 17.5.5
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 +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +4 -4
- package/report.api.md +19 -12
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/task-decision",
|
|
3
|
-
"version": "17.5.
|
|
3
|
+
"version": "17.5.5",
|
|
4
4
|
"description": "Tasks and decisions react components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
31
31
|
"@atlaskit/icon": "^21.11.0",
|
|
32
32
|
"@atlaskit/theme": "^12.2.0",
|
|
33
|
-
"@atlaskit/tokens": "^0.
|
|
33
|
+
"@atlaskit/tokens": "^0.13.0",
|
|
34
34
|
"@atlaskit/util-service-support": "^6.1.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"@emotion/react": "^11.7.1",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@atlaskit/analytics-listeners": "^8.3.0",
|
|
46
46
|
"@atlaskit/avatar": "^21.1.0",
|
|
47
47
|
"@atlaskit/docs": "*",
|
|
48
|
-
"@atlaskit/editor-common": "^
|
|
48
|
+
"@atlaskit/editor-common": "^71.0.0",
|
|
49
49
|
"@atlaskit/elements-test-helpers": "^0.7.0",
|
|
50
|
-
"@atlaskit/renderer": "^
|
|
50
|
+
"@atlaskit/renderer": "^104.0.0",
|
|
51
51
|
"@atlaskit/util-data-test": "^17.6.0",
|
|
52
52
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
53
53
|
"@emotion/jest": "^11.8.0",
|
package/report.api.md
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
<!-- API Report Version: 2.2 -->
|
|
2
|
+
|
|
1
3
|
## API Report File for "@atlaskit/task-decision"
|
|
2
4
|
|
|
3
|
-
> Do not edit this file.
|
|
5
|
+
> Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
|
|
6
|
+
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
|
+
|
|
8
|
+
### Table of contents
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
Generated API Report version: 2.0
|
|
7
|
-
-->
|
|
10
|
+
- [Main Entry Types](#main-entry-types)
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
### Main Entry Types
|
|
13
|
+
|
|
14
|
+
<!--SECTION START: Main Entry Types-->
|
|
10
15
|
|
|
11
16
|
```ts
|
|
12
17
|
/// <reference types="react" />
|
|
@@ -90,7 +95,7 @@ export type DecisionStatus = 'CREATED';
|
|
|
90
95
|
export type DecisionType = 'DECISION';
|
|
91
96
|
|
|
92
97
|
// @public (undocumented)
|
|
93
|
-
export type Handler = (state:
|
|
98
|
+
export type Handler = (state: DecisionState | TaskState) => void;
|
|
94
99
|
|
|
95
100
|
// @public (undocumented)
|
|
96
101
|
export type Item = Decision | Task;
|
|
@@ -127,7 +132,7 @@ interface Props {
|
|
|
127
132
|
contentRef?: ContentRef;
|
|
128
133
|
// (undocumented)
|
|
129
134
|
dataAttributes?: {
|
|
130
|
-
[key: string]:
|
|
135
|
+
[key: string]: number | string;
|
|
131
136
|
};
|
|
132
137
|
// (undocumented)
|
|
133
138
|
placeholder?: string;
|
|
@@ -151,7 +156,7 @@ interface Props_3 {
|
|
|
151
156
|
contentRef?: ContentRef;
|
|
152
157
|
// (undocumented)
|
|
153
158
|
dataAttributes?: {
|
|
154
|
-
[key: string]:
|
|
159
|
+
[key: string]: number | string;
|
|
155
160
|
};
|
|
156
161
|
// (undocumented)
|
|
157
162
|
disabled?: boolean;
|
|
@@ -183,7 +188,7 @@ interface Props_4 {
|
|
|
183
188
|
contentRef?: ContentRef;
|
|
184
189
|
// (undocumented)
|
|
185
190
|
dataAttributes?: {
|
|
186
|
-
[key: string]:
|
|
191
|
+
[key: string]: number | string;
|
|
187
192
|
};
|
|
188
193
|
// (undocumented)
|
|
189
194
|
disabled?: boolean;
|
|
@@ -390,7 +395,7 @@ export interface TaskDecisionProvider {
|
|
|
390
395
|
subscribe(
|
|
391
396
|
objectKey: ObjectKey,
|
|
392
397
|
handler: Handler,
|
|
393
|
-
item?: BaseItem<
|
|
398
|
+
item?: BaseItem<DecisionState | TaskState>,
|
|
394
399
|
): void;
|
|
395
400
|
// (undocumented)
|
|
396
401
|
toggleTask(objectKey: ObjectKey, state: TaskState): Promise<TaskState>;
|
|
@@ -410,7 +415,7 @@ export class TaskDecisionResource implements TaskDecisionProvider {
|
|
|
410
415
|
subscribe(
|
|
411
416
|
objectKey: ObjectKey,
|
|
412
417
|
handler: Handler,
|
|
413
|
-
item?: BaseItem<
|
|
418
|
+
item?: BaseItem<DecisionState | TaskState>,
|
|
414
419
|
): void;
|
|
415
420
|
// (undocumented)
|
|
416
421
|
toggleTask(objectKey: ObjectKey, state: TaskState): Promise<TaskState>;
|
|
@@ -440,7 +445,7 @@ export class TaskList extends PureComponent<Props_5, {}> {
|
|
|
440
445
|
}
|
|
441
446
|
|
|
442
447
|
// @public (undocumented)
|
|
443
|
-
export type TaskState = '
|
|
448
|
+
export type TaskState = 'DONE' | 'TODO';
|
|
444
449
|
|
|
445
450
|
// @public (undocumented)
|
|
446
451
|
export type TaskType = 'TASK';
|
|
@@ -450,3 +455,5 @@ export type UserId = string;
|
|
|
450
455
|
|
|
451
456
|
// (No @packageDocumentation comment for this package)
|
|
452
457
|
```
|
|
458
|
+
|
|
459
|
+
<!--SECTION END: Main Entry Types-->
|