@atlaskit/task-decision 17.11.2 → 17.11.4
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 +15 -0
- package/dist/cjs/components/TaskItem.js +4 -5
- package/dist/es2019/components/TaskItem.js +3 -4
- package/dist/esm/components/TaskItem.js +3 -4
- package/dist/types/components/TaskItem.d.ts +1 -1
- package/dist/types-ts4.5/components/TaskItem.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/task-decision
|
|
2
2
|
|
|
3
|
+
## 17.11.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 17.11.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#133786](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133786)
|
|
14
|
+
[`474749b6a9ff3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/474749b6a9ff3) -
|
|
15
|
+
Fix bug where task icon rendered incorrectly behind a feature flag
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 17.11.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -8,7 +8,7 @@ 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 _checkbox = _interopRequireDefault(require("@atlaskit/icon/glyph/checkbox"));
|
|
12
12
|
var _Item = _interopRequireDefault(require("./Item"));
|
|
13
13
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
14
14
|
var _analytics = require("../analytics");
|
|
@@ -90,10 +90,9 @@ var TaskItem = function TaskItem(props) {
|
|
|
90
90
|
suppressHydrationWarning: true,
|
|
91
91
|
onKeyPress: handleOnKeyPress,
|
|
92
92
|
ref: inputRef
|
|
93
|
-
}), (0, _react2.jsx)(
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
label: ""
|
|
93
|
+
}), (0, _react2.jsx)(_checkbox.default, {
|
|
94
|
+
label: "",
|
|
95
|
+
isFacadeDisabled: true
|
|
97
96
|
}));
|
|
98
97
|
_react.default.useEffect(function () {
|
|
99
98
|
if (isFocused && inputRef.current) {
|
|
@@ -5,7 +5,7 @@
|
|
|
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 CheckboxIcon from '@atlaskit/icon/
|
|
8
|
+
import CheckboxIcon from '@atlaskit/icon/glyph/checkbox';
|
|
9
9
|
import Item from './Item';
|
|
10
10
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
11
11
|
import { createAndFireEventInElementsChannel } from '../analytics';
|
|
@@ -75,9 +75,8 @@ const TaskItem = props => {
|
|
|
75
75
|
onKeyPress: handleOnKeyPress,
|
|
76
76
|
ref: inputRef
|
|
77
77
|
}), jsx(CheckboxIcon, {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
label: ""
|
|
78
|
+
label: "",
|
|
79
|
+
isFacadeDisabled: true
|
|
81
80
|
}));
|
|
82
81
|
React.useEffect(() => {
|
|
83
82
|
if (isFocused && inputRef.current) {
|
|
@@ -5,7 +5,7 @@
|
|
|
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 CheckboxIcon from '@atlaskit/icon/
|
|
8
|
+
import CheckboxIcon from '@atlaskit/icon/glyph/checkbox';
|
|
9
9
|
import Item from './Item';
|
|
10
10
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
11
11
|
import { createAndFireEventInElementsChannel } from '../analytics';
|
|
@@ -79,9 +79,8 @@ var TaskItem = function TaskItem(props) {
|
|
|
79
79
|
onKeyPress: handleOnKeyPress,
|
|
80
80
|
ref: inputRef
|
|
81
81
|
}), jsx(CheckboxIcon, {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
label: ""
|
|
82
|
+
label: "",
|
|
83
|
+
isFacadeDisabled: true
|
|
85
84
|
}));
|
|
86
85
|
React.useEffect(function () {
|
|
87
86
|
if (isFocused && inputRef.current) {
|
|
@@ -23,5 +23,5 @@ export interface Props {
|
|
|
23
23
|
};
|
|
24
24
|
inputRef?: RefObject<HTMLInputElement>;
|
|
25
25
|
}
|
|
26
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<Props
|
|
26
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
27
27
|
export default _default;
|
|
@@ -23,5 +23,5 @@ export interface Props {
|
|
|
23
23
|
};
|
|
24
24
|
inputRef?: RefObject<HTMLInputElement>;
|
|
25
25
|
}
|
|
26
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<Props
|
|
26
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
27
27
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/task-decision",
|
|
3
|
-
"version": "17.11.
|
|
3
|
+
"version": "17.11.4",
|
|
4
4
|
"description": "Tasks and decisions react components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@atlaskit/analytics-namespaced-context": "^6.12.0",
|
|
43
43
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
|
-
"@atlaskit/icon": "^22.
|
|
45
|
-
"@atlaskit/theme": "^
|
|
44
|
+
"@atlaskit/icon": "^22.22.0",
|
|
45
|
+
"@atlaskit/theme": "^14.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^2.0.0",
|
|
47
47
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/analytics-listeners": "^8.11.0",
|
|
60
60
|
"@atlaskit/elements-test-helpers": "^0.7.0",
|
|
61
61
|
"@atlaskit/ssr": "*",
|
|
62
|
-
"@atlaskit/util-data-test": "^17.
|
|
62
|
+
"@atlaskit/util-data-test": "^17.11.0",
|
|
63
63
|
"@emotion/jest": "^11.8.0",
|
|
64
64
|
"@testing-library/react": "^12.1.5",
|
|
65
65
|
"@testing-library/user-event": "^14.4.3",
|