@atlaskit/task-decision 19.0.1 → 19.0.2
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 +8 -0
- package/dist/cjs/components/TaskItem.js +6 -4
- package/dist/cjs/components/compiled/TaskItem.js +6 -4
- package/dist/es2019/components/TaskItem.js +6 -4
- package/dist/es2019/components/compiled/TaskItem.js +6 -4
- package/dist/esm/components/TaskItem.js +6 -4
- package/dist/esm/components/compiled/TaskItem.js +6 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/task-decision
|
|
2
2
|
|
|
3
|
+
## 19.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#119045](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/119045)
|
|
8
|
+
[`47b940a098a8c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/47b940a098a8c) -
|
|
9
|
+
[ux] EDF-2511 - Iconography uplift
|
|
10
|
+
|
|
3
11
|
## 19.0.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -8,7 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _checkboxChecked = _interopRequireDefault(require("@atlaskit/icon/core/checkbox-checked"));
|
|
12
|
+
var _checkboxUnchecked = _interopRequireDefault(require("@atlaskit/icon/core/checkbox-unchecked"));
|
|
12
13
|
var _Item = _interopRequireDefault(require("./Item"));
|
|
13
14
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
14
15
|
var _analytics = require("../analytics");
|
|
@@ -90,9 +91,10 @@ var TaskItem = function TaskItem(props) {
|
|
|
90
91
|
suppressHydrationWarning: true,
|
|
91
92
|
onKeyPress: handleOnKeyPress,
|
|
92
93
|
ref: inputRef
|
|
93
|
-
}), (0, _react2.jsx)(
|
|
94
|
-
label: ""
|
|
95
|
-
|
|
94
|
+
}), isDone ? (0, _react2.jsx)(_checkboxChecked.default, {
|
|
95
|
+
label: ""
|
|
96
|
+
}) : (0, _react2.jsx)(_checkboxUnchecked.default, {
|
|
97
|
+
label: ""
|
|
96
98
|
}));
|
|
97
99
|
_react.default.useEffect(function () {
|
|
98
100
|
if (isFocused && inputRef.current) {
|
|
@@ -10,7 +10,8 @@ exports.default = void 0;
|
|
|
10
10
|
require("./TaskItem.compiled.css");
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
|
-
var
|
|
13
|
+
var _checkboxChecked = _interopRequireDefault(require("@atlaskit/icon/core/checkbox-checked"));
|
|
14
|
+
var _checkboxUnchecked = _interopRequireDefault(require("@atlaskit/icon/core/checkbox-unchecked"));
|
|
14
15
|
var _Item = _interopRequireDefault(require("./Item"));
|
|
15
16
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
16
17
|
var _analytics = require("../../analytics");
|
|
@@ -90,9 +91,10 @@ var TaskItem = function TaskItem(props) {
|
|
|
90
91
|
suppressHydrationWarning: true,
|
|
91
92
|
onKeyPress: handleOnKeyPress,
|
|
92
93
|
ref: inputRef
|
|
93
|
-
}), /*#__PURE__*/_react.default.createElement(
|
|
94
|
-
label: ""
|
|
95
|
-
|
|
94
|
+
}), isDone ? /*#__PURE__*/_react.default.createElement(_checkboxChecked.default, {
|
|
95
|
+
label: ""
|
|
96
|
+
}) : /*#__PURE__*/_react.default.createElement(_checkboxUnchecked.default, {
|
|
97
|
+
label: ""
|
|
96
98
|
}));
|
|
97
99
|
_react.default.useEffect(function () {
|
|
98
100
|
if (isFocused && inputRef.current) {
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
import React, { useMemo, useRef } from 'react';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import
|
|
8
|
+
import CheckboxCheckedIcon from '@atlaskit/icon/core/checkbox-checked';
|
|
9
|
+
import CheckboxUncheckedIcon from '@atlaskit/icon/core/checkbox-unchecked';
|
|
9
10
|
import Item from './Item';
|
|
10
11
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
11
12
|
import { createAndFireEventInElementsChannel } from '../analytics';
|
|
@@ -74,9 +75,10 @@ const TaskItem = props => {
|
|
|
74
75
|
suppressHydrationWarning: true,
|
|
75
76
|
onKeyPress: handleOnKeyPress,
|
|
76
77
|
ref: inputRef
|
|
77
|
-
}), jsx(
|
|
78
|
-
label: ""
|
|
79
|
-
|
|
78
|
+
}), isDone ? jsx(CheckboxCheckedIcon, {
|
|
79
|
+
label: ""
|
|
80
|
+
}) : jsx(CheckboxUncheckedIcon, {
|
|
81
|
+
label: ""
|
|
80
82
|
}));
|
|
81
83
|
React.useEffect(() => {
|
|
82
84
|
if (isFocused && inputRef.current) {
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import "./TaskItem.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useMemo, useRef } from 'react';
|
|
5
|
-
import
|
|
5
|
+
import CheckboxCheckedIcon from '@atlaskit/icon/core/checkbox-checked';
|
|
6
|
+
import CheckboxUncheckedIcon from '@atlaskit/icon/core/checkbox-unchecked';
|
|
6
7
|
import Item from './Item';
|
|
7
8
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
9
|
import { createAndFireEventInElementsChannel } from '../../analytics';
|
|
@@ -73,9 +74,10 @@ const TaskItem = props => {
|
|
|
73
74
|
suppressHydrationWarning: true,
|
|
74
75
|
onKeyPress: handleOnKeyPress,
|
|
75
76
|
ref: inputRef
|
|
76
|
-
}), /*#__PURE__*/React.createElement(
|
|
77
|
-
label: ""
|
|
78
|
-
|
|
77
|
+
}), isDone ? /*#__PURE__*/React.createElement(CheckboxCheckedIcon, {
|
|
78
|
+
label: ""
|
|
79
|
+
}) : /*#__PURE__*/React.createElement(CheckboxUncheckedIcon, {
|
|
80
|
+
label: ""
|
|
79
81
|
}));
|
|
80
82
|
React.useEffect(() => {
|
|
81
83
|
if (isFocused && inputRef.current) {
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
import React, { useMemo, useRef } from 'react';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import
|
|
8
|
+
import CheckboxCheckedIcon from '@atlaskit/icon/core/checkbox-checked';
|
|
9
|
+
import CheckboxUncheckedIcon from '@atlaskit/icon/core/checkbox-unchecked';
|
|
9
10
|
import Item from './Item';
|
|
10
11
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
11
12
|
import { createAndFireEventInElementsChannel } from '../analytics';
|
|
@@ -78,9 +79,10 @@ var TaskItem = function TaskItem(props) {
|
|
|
78
79
|
suppressHydrationWarning: true,
|
|
79
80
|
onKeyPress: handleOnKeyPress,
|
|
80
81
|
ref: inputRef
|
|
81
|
-
}), jsx(
|
|
82
|
-
label: ""
|
|
83
|
-
|
|
82
|
+
}), isDone ? jsx(CheckboxCheckedIcon, {
|
|
83
|
+
label: ""
|
|
84
|
+
}) : jsx(CheckboxUncheckedIcon, {
|
|
85
|
+
label: ""
|
|
84
86
|
}));
|
|
85
87
|
React.useEffect(function () {
|
|
86
88
|
if (isFocused && inputRef.current) {
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import "./TaskItem.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useMemo, useRef } from 'react';
|
|
5
|
-
import
|
|
5
|
+
import CheckboxCheckedIcon from '@atlaskit/icon/core/checkbox-checked';
|
|
6
|
+
import CheckboxUncheckedIcon from '@atlaskit/icon/core/checkbox-unchecked';
|
|
6
7
|
import Item from './Item';
|
|
7
8
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
9
|
import { createAndFireEventInElementsChannel } from '../../analytics';
|
|
@@ -80,9 +81,10 @@ var TaskItem = function TaskItem(props) {
|
|
|
80
81
|
suppressHydrationWarning: true,
|
|
81
82
|
onKeyPress: handleOnKeyPress,
|
|
82
83
|
ref: inputRef
|
|
83
|
-
}), /*#__PURE__*/React.createElement(
|
|
84
|
-
label: ""
|
|
85
|
-
|
|
84
|
+
}), isDone ? /*#__PURE__*/React.createElement(CheckboxCheckedIcon, {
|
|
85
|
+
label: ""
|
|
86
|
+
}) : /*#__PURE__*/React.createElement(CheckboxUncheckedIcon, {
|
|
87
|
+
label: ""
|
|
86
88
|
}));
|
|
87
89
|
React.useEffect(function () {
|
|
88
90
|
if (isFocused && inputRef.current) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/task-decision",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.2",
|
|
4
4
|
"description": "Tasks and decisions react components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
46
|
-
"@atlaskit/icon": "^24.
|
|
46
|
+
"@atlaskit/icon": "^24.1.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags-react": "^0.1.0",
|
|
48
48
|
"@atlaskit/theme": "^17.0.0",
|
|
49
|
-
"@atlaskit/tokens": "^4.
|
|
49
|
+
"@atlaskit/tokens": "^4.2.0",
|
|
50
50
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@compiled/react": "^0.18.2",
|