@atlaskit/task-decision 17.9.4 → 17.9.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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/task-decision
|
|
2
2
|
|
|
3
|
+
## 17.9.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#57731](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57731) [`889df47f0f25`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/889df47f0f25) - Add data-testid to placeholder
|
|
8
|
+
|
|
3
9
|
## 17.9.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -41,6 +41,7 @@ var Item = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
41
41
|
// Recommendation: Replace gridSize with 8
|
|
42
42
|
var offset = (0, _constants.gridSize)() * (itemType === 'TASK' ? 3 : 3.5);
|
|
43
43
|
return (0, _react2.jsx)("span", {
|
|
44
|
+
"data-testid": "task-decision-item-placeholder",
|
|
44
45
|
"data-component": "placeholder",
|
|
45
46
|
css: (0, _styles.placeholderStyles)(offset),
|
|
46
47
|
contentEditable: false
|
|
@@ -23,6 +23,7 @@ export default class Item extends PureComponent {
|
|
|
23
23
|
// Recommendation: Replace gridSize with 8
|
|
24
24
|
const offset = gridSize() * (itemType === 'TASK' ? 3 : 3.5);
|
|
25
25
|
return jsx("span", {
|
|
26
|
+
"data-testid": "task-decision-item-placeholder",
|
|
26
27
|
"data-component": "placeholder",
|
|
27
28
|
css: placeholderStyles(offset),
|
|
28
29
|
contentEditable: false
|
|
@@ -37,6 +37,7 @@ var Item = /*#__PURE__*/function (_PureComponent) {
|
|
|
37
37
|
// Recommendation: Replace gridSize with 8
|
|
38
38
|
var offset = gridSize() * (itemType === 'TASK' ? 3 : 3.5);
|
|
39
39
|
return jsx("span", {
|
|
40
|
+
"data-testid": "task-decision-item-placeholder",
|
|
40
41
|
"data-component": "placeholder",
|
|
41
42
|
css: placeholderStyles(offset),
|
|
42
43
|
contentEditable: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/task-decision",
|
|
3
|
-
"version": "17.9.
|
|
3
|
+
"version": "17.9.5",
|
|
4
4
|
"description": "Tasks and decisions react components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -57,6 +57,8 @@
|
|
|
57
57
|
"@atlaskit/util-data-test": "^17.8.0",
|
|
58
58
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
59
59
|
"@emotion/jest": "^11.8.0",
|
|
60
|
+
"@testing-library/react": "^12.1.5",
|
|
61
|
+
"@testing-library/user-event": "^14.4.3",
|
|
60
62
|
"@types/url-search-params": "^0.10.0",
|
|
61
63
|
"date-fns": "^2.17.0",
|
|
62
64
|
"enzyme": "^3.10.0",
|