@atlaskit/task-decision 21.4.0 → 21.4.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 +6 -0
- package/package.json +3 -3
- package/task-decision.docs.tsx +64 -0
- package/tsconfig.json +2 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/task-decision",
|
|
3
|
-
"version": "21.4.
|
|
3
|
+
"version": "21.4.1",
|
|
4
4
|
"description": "Tasks and decisions react components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@atlaskit/analytics-next": "^12.1.0",
|
|
57
57
|
"@atlaskit/icon": "^36.1.0",
|
|
58
58
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
60
|
-
"@atlaskit/tokens": "^15.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^115.0.0",
|
|
60
|
+
"@atlaskit/tokens": "^15.2.0",
|
|
61
61
|
"@atlaskit/util-service-support": "^7.1.0",
|
|
62
62
|
"@babel/runtime": "^7.0.0",
|
|
63
63
|
"@compiled/react": "^0.20.0",
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import path from 'path';
|
|
2
|
+
|
|
3
|
+
import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
|
|
4
|
+
|
|
5
|
+
import packageJson from './package.json';
|
|
6
|
+
|
|
7
|
+
const packagePath = path.resolve(__dirname);
|
|
8
|
+
|
|
9
|
+
const documentation: StructuredContentSource = {
|
|
10
|
+
components: [
|
|
11
|
+
{
|
|
12
|
+
name: 'TaskItem',
|
|
13
|
+
description: 'A component for displaying a single task item with a checkbox and content.',
|
|
14
|
+
status: 'general-availability',
|
|
15
|
+
import: {
|
|
16
|
+
name: 'TaskItem',
|
|
17
|
+
package: '@atlaskit/task-decision',
|
|
18
|
+
type: 'named',
|
|
19
|
+
packagePath,
|
|
20
|
+
packageJson,
|
|
21
|
+
},
|
|
22
|
+
usageGuidelines: [
|
|
23
|
+
'Use TaskItem to represent an individual action item.',
|
|
24
|
+
'Supports marking tasks as complete or incomplete.',
|
|
25
|
+
],
|
|
26
|
+
examples: [
|
|
27
|
+
{
|
|
28
|
+
name: 'Basic Task',
|
|
29
|
+
description: 'Standard task item display.',
|
|
30
|
+
source: path.resolve(packagePath, './examples/02-task-item.tsx'),
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
keywords: ['task', 'action-item', 'checkbox', 'todo'],
|
|
34
|
+
categories: ['data-display', 'interaction'],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'DecisionItem',
|
|
38
|
+
description: 'A component for displaying a single decision item with an icon and content.',
|
|
39
|
+
status: 'general-availability',
|
|
40
|
+
import: {
|
|
41
|
+
name: 'DecisionItem',
|
|
42
|
+
package: '@atlaskit/task-decision',
|
|
43
|
+
type: 'named',
|
|
44
|
+
packagePath,
|
|
45
|
+
packageJson,
|
|
46
|
+
},
|
|
47
|
+
usageGuidelines: [
|
|
48
|
+
'Use DecisionItem to represent a decision made during a meeting or discussion.',
|
|
49
|
+
'Includes a distinctive icon to differentiate it from tasks.',
|
|
50
|
+
],
|
|
51
|
+
examples: [
|
|
52
|
+
{
|
|
53
|
+
name: 'Basic Decision',
|
|
54
|
+
description: 'Standard decision item display.',
|
|
55
|
+
source: path.resolve(packagePath, './examples/00-decision-item.tsx'),
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
keywords: ['decision', 'outcome', 'icon', 'meeting-notes'],
|
|
59
|
+
categories: ['data-display'],
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export default documentation;
|