@atlaskit/task-decision 21.3.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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @atlaskit/task-decision
2
2
 
3
+ ## 21.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 21.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
14
+ Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
15
+ reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
16
+
17
+ The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
18
+ bumped the renamed package itself, so dependent packages were never republished and their
19
+ published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
20
+ available in the public npm registry. This minor bump republishes all affected packages with the
21
+ corrected dependency.
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 21.3.0
4
28
 
5
29
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/task-decision",
3
- "version": "21.3.0",
3
+ "version": "21.4.1",
4
4
  "description": "Tasks and decisions react components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -14,9 +14,9 @@
14
14
  "types": "dist/types/index.d.ts",
15
15
  "devDependencies": {
16
16
  "@af/visual-regression": "workspace:^",
17
- "@atlaskit/analytics-listeners": "^11.0.0",
17
+ "@atlaskit/analytics-listeners": "^11.1.0",
18
18
  "@atlaskit/ssr": "workspace:^",
19
- "@atlaskit/util-data-test": "^19.0.0",
19
+ "@atlaskit/util-data-test": "^19.1.0",
20
20
  "@atlassian/a11y-jest-testing": "^0.13.0",
21
21
  "@testing-library/react": "^16.3.0",
22
22
  "@testing-library/user-event": "^14.4.3",
@@ -52,13 +52,13 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@atlaskit/afm-i18n-platform-elements-task-decision": "2.168.0",
55
- "@atlaskit/analytics-namespaced-context": "^8.0.0",
56
- "@atlaskit/analytics-next": "^12.0.0",
57
- "@atlaskit/icon": "^36.0.0",
55
+ "@atlaskit/analytics-namespaced-context": "^8.1.0",
56
+ "@atlaskit/analytics-next": "^12.1.0",
57
+ "@atlaskit/icon": "^36.1.0",
58
58
  "@atlaskit/react-compiler-gating": "^0.2.0",
59
- "@atlaskit/tmp-editor-statsig": "^114.0.0",
60
- "@atlaskit/tokens": "^15.0.0",
61
- "@atlaskit/util-service-support": "^7.0.0",
59
+ "@atlaskit/tmp-editor-statsig": "^115.0.0",
60
+ "@atlaskit/tokens": "^15.2.0",
61
+ "@atlaskit/util-service-support": "^7.1.0",
62
62
  "@babel/runtime": "^7.0.0",
63
63
  "@compiled/react": "^0.20.0",
64
64
  "use-callback-ref": "^1.2.3",
@@ -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;
package/tsconfig.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
3
  "include": [
4
+ "./*.docs.tsx",
5
+ "./package.json",
4
6
  "./src/**/*.ts",
5
7
  "./src/**/*.tsx",
6
8
  "./docs/**/*.ts",