@atlaskit/task-decision 20.1.11 → 20.1.13
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 +13 -0
- package/afm-cc/tsconfig.json +0 -3
- package/afm-products/tsconfig.json +0 -3
- package/dist/cjs/components/TaskList.compiled.css +0 -1
- package/dist/cjs/components/TaskList.js +2 -14
- package/dist/es2019/components/TaskList.compiled.css +0 -1
- package/dist/es2019/components/TaskList.js +2 -15
- package/dist/esm/components/TaskList.compiled.css +0 -1
- package/dist/esm/components/TaskList.js +2 -14
- package/package.json +4 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/task-decision
|
|
2
2
|
|
|
3
|
+
## 20.1.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a66bb82913543`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a66bb82913543) -
|
|
8
|
+
FF platform_editor_fix_missing_task_id cleanup
|
|
9
|
+
|
|
10
|
+
## 20.1.12
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 20.1.11
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -11,11 +11,8 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _analyticsNamespacedContext = require("@atlaskit/analytics-namespaced-context");
|
|
13
13
|
var _i18n = require("./i18n");
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _reactIntl = require("react-intl");
|
|
16
|
-
var oldListStyles = null;
|
|
17
15
|
var listStyles = null;
|
|
18
|
-
var taskListStyles = null;
|
|
19
16
|
var TaskList = function TaskList(_ref) {
|
|
20
17
|
var listId = _ref.listId,
|
|
21
18
|
children = _ref.children;
|
|
@@ -36,24 +33,15 @@ var TaskList = function TaskList(_ref) {
|
|
|
36
33
|
role: "group",
|
|
37
34
|
"data-task-list-local-id": "",
|
|
38
35
|
"aria-label": formatMessage(_i18n.messages.fieldsetLabel),
|
|
39
|
-
className: (0, _runtime.ax)([
|
|
36
|
+
className: (0, _runtime.ax)(["_2mzuglyw _19bvidpf _j6mf1b66"])
|
|
40
37
|
}, _react.default.Children.map(children, function (child, idx) {
|
|
41
|
-
var _ref2 = child.props,
|
|
42
|
-
localId = _ref2.localId;
|
|
43
38
|
return /*#__PURE__*/_react.default.createElement(_analyticsNamespacedContext.FabricElementsAnalyticsContext, {
|
|
44
39
|
data: {
|
|
45
40
|
listLocalId: listId,
|
|
46
41
|
listSize: listSize,
|
|
47
42
|
position: idx
|
|
48
43
|
}
|
|
49
|
-
},
|
|
50
|
-
/* The data-task-local-id attribute will be moved to the Editor renderer node
|
|
51
|
-
as the localId isn't guaranteed to be in the direct React child's props) */
|
|
52
|
-
(0, _platformFeatureFlags.fg)('platform_editor_fix_missing_task_id') ? child : /*#__PURE__*/_react.default.createElement("div", {
|
|
53
|
-
key: idx,
|
|
54
|
-
"data-task-local-id": localId || '',
|
|
55
|
-
className: (0, _runtime.ax)(["_19pk1b66"])
|
|
56
|
-
}, child));
|
|
44
|
+
}, child);
|
|
57
45
|
}));
|
|
58
46
|
};
|
|
59
47
|
var _default = exports.default = TaskList;
|
|
@@ -4,11 +4,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
6
6
|
import { messages } from './i18n';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { useIntl } from 'react-intl';
|
|
9
|
-
const oldListStyles = null;
|
|
10
8
|
const listStyles = null;
|
|
11
|
-
const taskListStyles = null;
|
|
12
9
|
const TaskList = ({
|
|
13
10
|
listId,
|
|
14
11
|
children
|
|
@@ -31,25 +28,15 @@ const TaskList = ({
|
|
|
31
28
|
role: "group",
|
|
32
29
|
"data-task-list-local-id": "",
|
|
33
30
|
"aria-label": formatMessage(messages.fieldsetLabel),
|
|
34
|
-
className: ax([
|
|
31
|
+
className: ax(["_2mzuglyw _19bvidpf _j6mf1b66"])
|
|
35
32
|
}, React.Children.map(children, (child, idx) => {
|
|
36
|
-
const {
|
|
37
|
-
localId
|
|
38
|
-
} = child.props;
|
|
39
33
|
return /*#__PURE__*/React.createElement(FabricElementsAnalyticsContext, {
|
|
40
34
|
data: {
|
|
41
35
|
listLocalId: listId,
|
|
42
36
|
listSize,
|
|
43
37
|
position: idx
|
|
44
38
|
}
|
|
45
|
-
},
|
|
46
|
-
/* The data-task-local-id attribute will be moved to the Editor renderer node
|
|
47
|
-
as the localId isn't guaranteed to be in the direct React child's props) */
|
|
48
|
-
fg('platform_editor_fix_missing_task_id') ? child : /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
key: idx,
|
|
50
|
-
"data-task-local-id": localId || '',
|
|
51
|
-
className: ax(["_19pk1b66"])
|
|
52
|
-
}, child));
|
|
39
|
+
}, child);
|
|
53
40
|
}));
|
|
54
41
|
};
|
|
55
42
|
export default TaskList;
|
|
@@ -4,11 +4,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
6
6
|
import { messages } from './i18n';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { useIntl } from 'react-intl';
|
|
9
|
-
var oldListStyles = null;
|
|
10
8
|
var listStyles = null;
|
|
11
|
-
var taskListStyles = null;
|
|
12
9
|
var TaskList = function TaskList(_ref) {
|
|
13
10
|
var listId = _ref.listId,
|
|
14
11
|
children = _ref.children;
|
|
@@ -29,24 +26,15 @@ var TaskList = function TaskList(_ref) {
|
|
|
29
26
|
role: "group",
|
|
30
27
|
"data-task-list-local-id": "",
|
|
31
28
|
"aria-label": formatMessage(messages.fieldsetLabel),
|
|
32
|
-
className: ax([
|
|
29
|
+
className: ax(["_2mzuglyw _19bvidpf _j6mf1b66"])
|
|
33
30
|
}, React.Children.map(children, function (child, idx) {
|
|
34
|
-
var _ref2 = child.props,
|
|
35
|
-
localId = _ref2.localId;
|
|
36
31
|
return /*#__PURE__*/React.createElement(FabricElementsAnalyticsContext, {
|
|
37
32
|
data: {
|
|
38
33
|
listLocalId: listId,
|
|
39
34
|
listSize: listSize,
|
|
40
35
|
position: idx
|
|
41
36
|
}
|
|
42
|
-
},
|
|
43
|
-
/* The data-task-local-id attribute will be moved to the Editor renderer node
|
|
44
|
-
as the localId isn't guaranteed to be in the direct React child's props) */
|
|
45
|
-
fg('platform_editor_fix_missing_task_id') ? child : /*#__PURE__*/React.createElement("div", {
|
|
46
|
-
key: idx,
|
|
47
|
-
"data-task-local-id": localId || '',
|
|
48
|
-
className: ax(["_19pk1b66"])
|
|
49
|
-
}, child));
|
|
37
|
+
}, child);
|
|
50
38
|
}));
|
|
51
39
|
};
|
|
52
40
|
export default TaskList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/task-decision",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.13",
|
|
4
4
|
"description": "Tasks and decisions react components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -62,10 +62,9 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@atlaskit/afm-i18n-platform-elements-task-decision": "2.7.0",
|
|
64
64
|
"@atlaskit/analytics-namespaced-context": "^7.3.0",
|
|
65
|
-
"@atlaskit/analytics-next": "^11.
|
|
66
|
-
"@atlaskit/icon": "^35.
|
|
67
|
-
"@atlaskit/
|
|
68
|
-
"@atlaskit/tmp-editor-statsig": "^88.0.0",
|
|
65
|
+
"@atlaskit/analytics-next": "^11.3.0",
|
|
66
|
+
"@atlaskit/icon": "^35.4.0",
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^89.0.0",
|
|
69
68
|
"@atlaskit/tokens": "^13.1.0",
|
|
70
69
|
"@atlaskit/util-service-support": "^6.4.0",
|
|
71
70
|
"@babel/runtime": "^7.0.0",
|
|
@@ -91,10 +90,5 @@
|
|
|
91
90
|
"compiled"
|
|
92
91
|
]
|
|
93
92
|
}
|
|
94
|
-
},
|
|
95
|
-
"platform-feature-flags": {
|
|
96
|
-
"platform_editor_fix_missing_task_id": {
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
}
|
|
99
93
|
}
|
|
100
94
|
}
|