@atlaskit/link-datasource 4.32.2 → 4.32.3
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/ui/issue-like-table/edit-type/icon/index.js +3 -12
- package/dist/cjs/ui/issue-like-table/edit-type/status/index.js +2 -9
- package/dist/cjs/ui/issue-like-table/edit-type/user/index.js +4 -12
- package/dist/es2019/ui/issue-like-table/edit-type/icon/index.js +3 -8
- package/dist/es2019/ui/issue-like-table/edit-type/status/index.js +2 -7
- package/dist/es2019/ui/issue-like-table/edit-type/user/index.js +4 -12
- package/dist/esm/ui/issue-like-table/edit-type/icon/index.js +3 -12
- package/dist/esm/ui/issue-like-table/edit-type/status/index.js +2 -9
- package/dist/esm/ui/issue-like-table/edit-type/user/index.js +4 -12
- package/package.json +5 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.32.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`08c554687a400`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08c554687a400) -
|
|
8
|
+
FG cleanup navx-sllv-fix-inline-edit-error
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.32.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -55,14 +55,12 @@ var IconEditType = function IconEditType(props) {
|
|
|
55
55
|
// We can't update this field if we don't have an ID - however the ID
|
|
56
56
|
// is typed optional.
|
|
57
57
|
,
|
|
58
|
-
options:
|
|
59
|
-
return option.id;
|
|
60
|
-
}) : options.filter(function (option) {
|
|
58
|
+
options: options === null || options === void 0 ? void 0 : options.filter(function (option) {
|
|
61
59
|
return option.id;
|
|
62
60
|
}),
|
|
63
61
|
menuPlacement: "auto",
|
|
64
62
|
isLoading: isLoading,
|
|
65
|
-
filterOption:
|
|
63
|
+
filterOption: filterOption,
|
|
66
64
|
testId: "inline-edit-priority",
|
|
67
65
|
value: currentValue === null || currentValue === void 0 || (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
68
66
|
labelId: labelId,
|
|
@@ -91,14 +89,7 @@ var IconEditType = function IconEditType(props) {
|
|
|
91
89
|
shouldPreventEscapePropagation: (0, _platformFeatureFlags.fg)('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
92
90
|
})));
|
|
93
91
|
};
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Remove on navx-sllv-fix-inline-edit-error cleanup
|
|
97
|
-
*/
|
|
98
|
-
var filterOptionOld = function filterOptionOld(option, inputValue) {
|
|
99
|
-
return option.label.toLowerCase().includes(inputValue.toLowerCase());
|
|
100
|
-
};
|
|
101
|
-
var filterOptionNew = function filterOptionNew(option, inputValue) {
|
|
92
|
+
var filterOption = function filterOption(option, inputValue) {
|
|
102
93
|
var _option$label, _option$label$toLower;
|
|
103
94
|
return (_option$label = option.label) === null || _option$label === void 0 || (_option$label$toLower = _option$label.toLowerCase) === null || _option$label$toLower === void 0 || (_option$label$toLower = _option$label$toLower.call(_option$label)) === null || _option$label$toLower === void 0 ? void 0 : _option$label$toLower.includes(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase());
|
|
104
95
|
};
|
|
@@ -55,7 +55,7 @@ var StatusEditType = function StatusEditType(props) {
|
|
|
55
55
|
blurInputOnSelect: true,
|
|
56
56
|
menuPlacement: "auto",
|
|
57
57
|
isLoading: isLoading,
|
|
58
|
-
filterOption:
|
|
58
|
+
filterOption: filterOption,
|
|
59
59
|
testId: "inline-edit-status",
|
|
60
60
|
getOptionValue: function getOptionValue(option) {
|
|
61
61
|
return option.text;
|
|
@@ -84,14 +84,7 @@ var StatusEditType = function StatusEditType(props) {
|
|
|
84
84
|
shouldPreventEscapePropagation: (0, _platformFeatureFlags.fg)('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
85
85
|
})));
|
|
86
86
|
};
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Remove on navx-sllv-fix-inline-edit-error cleanup
|
|
90
|
-
*/
|
|
91
|
-
var filterOptionOld = function filterOptionOld(option, inputValue) {
|
|
92
|
-
return option.data.text.toLowerCase().includes(inputValue.toLowerCase());
|
|
93
|
-
};
|
|
94
|
-
var filterOptionNew = function filterOptionNew(option, inputValue) {
|
|
87
|
+
var filterOption = function filterOption(option, inputValue) {
|
|
95
88
|
var _option$data, _option$data$toLowerC, _inputValue$toLowerCa;
|
|
96
89
|
return (_option$data = option.data) === null || _option$data === void 0 || (_option$data = _option$data.text) === null || _option$data === void 0 || (_option$data$toLowerC = _option$data.toLowerCase) === null || _option$data$toLowerC === void 0 || (_option$data$toLowerC = _option$data$toLowerC.call(_option$data)) === null || _option$data$toLowerC === void 0 ? void 0 : _option$data$toLowerC.includes(inputValue === null || inputValue === void 0 || (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue));
|
|
97
90
|
};
|
|
@@ -85,7 +85,7 @@ var UserEditType = function UserEditType(props) {
|
|
|
85
85
|
options: options,
|
|
86
86
|
isLoading: isLoading,
|
|
87
87
|
testId: "inline-edit-user",
|
|
88
|
-
filterOption:
|
|
88
|
+
filterOption: filterOption,
|
|
89
89
|
menuPlacement: "auto",
|
|
90
90
|
onInputChange: handleUserInputDebounced,
|
|
91
91
|
value: currentValue === null || currentValue === void 0 || (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
@@ -119,16 +119,8 @@ var UserEditType = function UserEditType(props) {
|
|
|
119
119
|
shouldPreventEscapePropagation: (0, _platformFeatureFlags.fg)('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
120
120
|
})));
|
|
121
121
|
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
*/
|
|
126
|
-
var filterOptionOld = function filterOptionOld(option, inputValue) {
|
|
127
|
-
var _option$data$displayN, _option$data$displayN2;
|
|
128
|
-
return (_option$data$displayN = (_option$data$displayN2 = option.data.displayName) === null || _option$data$displayN2 === void 0 ? void 0 : _option$data$displayN2.toLowerCase().includes(inputValue.toLowerCase())) !== null && _option$data$displayN !== void 0 ? _option$data$displayN : false;
|
|
129
|
-
};
|
|
130
|
-
var filterOptionNew = function filterOptionNew(option, inputValue) {
|
|
131
|
-
var _option$data$displayN3, _option$data, _option$data$toLowerC, _inputValue$toLowerCa;
|
|
132
|
-
return (_option$data$displayN3 = (_option$data = option.data) === null || _option$data === void 0 || (_option$data = _option$data.displayName) === null || _option$data === void 0 || (_option$data$toLowerC = _option$data.toLowerCase) === null || _option$data$toLowerC === void 0 || (_option$data$toLowerC = _option$data$toLowerC.call(_option$data)) === null || _option$data$toLowerC === void 0 ? void 0 : _option$data$toLowerC.includes(inputValue === null || inputValue === void 0 || (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue))) !== null && _option$data$displayN3 !== void 0 ? _option$data$displayN3 : false;
|
|
122
|
+
var filterOption = function filterOption(option, inputValue) {
|
|
123
|
+
var _option$data$displayN, _option$data, _option$data$toLowerC, _inputValue$toLowerCa;
|
|
124
|
+
return (_option$data$displayN = (_option$data = option.data) === null || _option$data === void 0 || (_option$data = _option$data.displayName) === null || _option$data === void 0 || (_option$data$toLowerC = _option$data.toLowerCase) === null || _option$data$toLowerC === void 0 || (_option$data$toLowerC = _option$data$toLowerC.call(_option$data)) === null || _option$data$toLowerC === void 0 ? void 0 : _option$data$toLowerC.includes(inputValue === null || inputValue === void 0 || (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue))) !== null && _option$data$displayN !== void 0 ? _option$data$displayN : false;
|
|
133
125
|
};
|
|
134
126
|
var _default = exports.default = UserEditType;
|
|
@@ -49,10 +49,10 @@ const IconEditType = props => {
|
|
|
49
49
|
// We can't update this field if we don't have an ID - however the ID
|
|
50
50
|
// is typed optional.
|
|
51
51
|
,
|
|
52
|
-
options:
|
|
52
|
+
options: options === null || options === void 0 ? void 0 : options.filter(option => option.id),
|
|
53
53
|
menuPlacement: "auto",
|
|
54
54
|
isLoading: isLoading,
|
|
55
|
-
filterOption:
|
|
55
|
+
filterOption: filterOption,
|
|
56
56
|
testId: "inline-edit-priority",
|
|
57
57
|
value: currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
58
58
|
labelId: labelId,
|
|
@@ -76,12 +76,7 @@ const IconEditType = props => {
|
|
|
76
76
|
shouldPreventEscapePropagation: fg('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
77
77
|
})));
|
|
78
78
|
};
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Remove on navx-sllv-fix-inline-edit-error cleanup
|
|
82
|
-
*/
|
|
83
|
-
const filterOptionOld = (option, inputValue) => option.label.toLowerCase().includes(inputValue.toLowerCase());
|
|
84
|
-
const filterOptionNew = (option, inputValue) => {
|
|
79
|
+
const filterOption = (option, inputValue) => {
|
|
85
80
|
var _option$label, _option$label$toLower, _option$label$toLower2;
|
|
86
81
|
return (_option$label = option.label) === null || _option$label === void 0 ? void 0 : (_option$label$toLower = _option$label.toLowerCase) === null || _option$label$toLower === void 0 ? void 0 : (_option$label$toLower2 = _option$label$toLower.call(_option$label)) === null || _option$label$toLower2 === void 0 ? void 0 : _option$label$toLower2.includes(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase());
|
|
87
82
|
};
|
|
@@ -49,7 +49,7 @@ const StatusEditType = props => {
|
|
|
49
49
|
blurInputOnSelect: true,
|
|
50
50
|
menuPlacement: "auto",
|
|
51
51
|
isLoading: isLoading,
|
|
52
|
-
filterOption:
|
|
52
|
+
filterOption: filterOption,
|
|
53
53
|
testId: "inline-edit-status",
|
|
54
54
|
getOptionValue: option => option.text,
|
|
55
55
|
value: currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
@@ -72,12 +72,7 @@ const StatusEditType = props => {
|
|
|
72
72
|
shouldPreventEscapePropagation: fg('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
73
73
|
})));
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Remove on navx-sllv-fix-inline-edit-error cleanup
|
|
78
|
-
*/
|
|
79
|
-
const filterOptionOld = (option, inputValue) => option.data.text.toLowerCase().includes(inputValue.toLowerCase());
|
|
80
|
-
const filterOptionNew = (option, inputValue) => {
|
|
75
|
+
const filterOption = (option, inputValue) => {
|
|
81
76
|
var _option$data, _option$data$text, _option$data$text$toL, _option$data$text$toL2, _inputValue$toLowerCa;
|
|
82
77
|
return (_option$data = option.data) === null || _option$data === void 0 ? void 0 : (_option$data$text = _option$data.text) === null || _option$data$text === void 0 ? void 0 : (_option$data$text$toL = _option$data$text.toLowerCase) === null || _option$data$text$toL === void 0 ? void 0 : (_option$data$text$toL2 = _option$data$text$toL.call(_option$data$text)) === null || _option$data$text$toL2 === void 0 ? void 0 : _option$data$text$toL2.includes(inputValue === null || inputValue === void 0 ? void 0 : (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue));
|
|
83
78
|
};
|
|
@@ -70,7 +70,7 @@ const UserEditType = props => {
|
|
|
70
70
|
options: options,
|
|
71
71
|
isLoading: isLoading,
|
|
72
72
|
testId: "inline-edit-user",
|
|
73
|
-
filterOption:
|
|
73
|
+
filterOption: filterOption,
|
|
74
74
|
menuPlacement: "auto",
|
|
75
75
|
onInputChange: handleUserInputDebounced,
|
|
76
76
|
value: currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
@@ -98,16 +98,8 @@ const UserEditType = props => {
|
|
|
98
98
|
shouldPreventEscapePropagation: fg('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
99
99
|
})));
|
|
100
100
|
};
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
*/
|
|
105
|
-
const filterOptionOld = (option, inputValue) => {
|
|
106
|
-
var _option$data$displayN, _option$data$displayN2;
|
|
107
|
-
return (_option$data$displayN = (_option$data$displayN2 = option.data.displayName) === null || _option$data$displayN2 === void 0 ? void 0 : _option$data$displayN2.toLowerCase().includes(inputValue.toLowerCase())) !== null && _option$data$displayN !== void 0 ? _option$data$displayN : false;
|
|
108
|
-
};
|
|
109
|
-
const filterOptionNew = (option, inputValue) => {
|
|
110
|
-
var _option$data$displayN3, _option$data, _option$data$displayN4, _option$data$displayN5, _option$data$displayN6, _inputValue$toLowerCa;
|
|
111
|
-
return (_option$data$displayN3 = (_option$data = option.data) === null || _option$data === void 0 ? void 0 : (_option$data$displayN4 = _option$data.displayName) === null || _option$data$displayN4 === void 0 ? void 0 : (_option$data$displayN5 = _option$data$displayN4.toLowerCase) === null || _option$data$displayN5 === void 0 ? void 0 : (_option$data$displayN6 = _option$data$displayN5.call(_option$data$displayN4)) === null || _option$data$displayN6 === void 0 ? void 0 : _option$data$displayN6.includes(inputValue === null || inputValue === void 0 ? void 0 : (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue))) !== null && _option$data$displayN3 !== void 0 ? _option$data$displayN3 : false;
|
|
101
|
+
const filterOption = (option, inputValue) => {
|
|
102
|
+
var _option$data$displayN, _option$data, _option$data$displayN2, _option$data$displayN3, _option$data$displayN4, _inputValue$toLowerCa;
|
|
103
|
+
return (_option$data$displayN = (_option$data = option.data) === null || _option$data === void 0 ? void 0 : (_option$data$displayN2 = _option$data.displayName) === null || _option$data$displayN2 === void 0 ? void 0 : (_option$data$displayN3 = _option$data$displayN2.toLowerCase) === null || _option$data$displayN3 === void 0 ? void 0 : (_option$data$displayN4 = _option$data$displayN3.call(_option$data$displayN2)) === null || _option$data$displayN4 === void 0 ? void 0 : _option$data$displayN4.includes(inputValue === null || inputValue === void 0 ? void 0 : (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue))) !== null && _option$data$displayN !== void 0 ? _option$data$displayN : false;
|
|
112
104
|
};
|
|
113
105
|
export default UserEditType;
|
|
@@ -46,14 +46,12 @@ var IconEditType = function IconEditType(props) {
|
|
|
46
46
|
// We can't update this field if we don't have an ID - however the ID
|
|
47
47
|
// is typed optional.
|
|
48
48
|
,
|
|
49
|
-
options:
|
|
50
|
-
return option.id;
|
|
51
|
-
}) : options.filter(function (option) {
|
|
49
|
+
options: options === null || options === void 0 ? void 0 : options.filter(function (option) {
|
|
52
50
|
return option.id;
|
|
53
51
|
}),
|
|
54
52
|
menuPlacement: "auto",
|
|
55
53
|
isLoading: isLoading,
|
|
56
|
-
filterOption:
|
|
54
|
+
filterOption: filterOption,
|
|
57
55
|
testId: "inline-edit-priority",
|
|
58
56
|
value: currentValue === null || currentValue === void 0 || (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
59
57
|
labelId: labelId,
|
|
@@ -82,14 +80,7 @@ var IconEditType = function IconEditType(props) {
|
|
|
82
80
|
shouldPreventEscapePropagation: fg('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
83
81
|
})));
|
|
84
82
|
};
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Remove on navx-sllv-fix-inline-edit-error cleanup
|
|
88
|
-
*/
|
|
89
|
-
var filterOptionOld = function filterOptionOld(option, inputValue) {
|
|
90
|
-
return option.label.toLowerCase().includes(inputValue.toLowerCase());
|
|
91
|
-
};
|
|
92
|
-
var filterOptionNew = function filterOptionNew(option, inputValue) {
|
|
83
|
+
var filterOption = function filterOption(option, inputValue) {
|
|
93
84
|
var _option$label, _option$label$toLower;
|
|
94
85
|
return (_option$label = option.label) === null || _option$label === void 0 || (_option$label$toLower = _option$label.toLowerCase) === null || _option$label$toLower === void 0 || (_option$label$toLower = _option$label$toLower.call(_option$label)) === null || _option$label$toLower === void 0 ? void 0 : _option$label$toLower.includes(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase());
|
|
95
86
|
};
|
|
@@ -46,7 +46,7 @@ var StatusEditType = function StatusEditType(props) {
|
|
|
46
46
|
blurInputOnSelect: true,
|
|
47
47
|
menuPlacement: "auto",
|
|
48
48
|
isLoading: isLoading,
|
|
49
|
-
filterOption:
|
|
49
|
+
filterOption: filterOption,
|
|
50
50
|
testId: "inline-edit-status",
|
|
51
51
|
getOptionValue: function getOptionValue(option) {
|
|
52
52
|
return option.text;
|
|
@@ -75,14 +75,7 @@ var StatusEditType = function StatusEditType(props) {
|
|
|
75
75
|
shouldPreventEscapePropagation: fg('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
76
76
|
})));
|
|
77
77
|
};
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Remove on navx-sllv-fix-inline-edit-error cleanup
|
|
81
|
-
*/
|
|
82
|
-
var filterOptionOld = function filterOptionOld(option, inputValue) {
|
|
83
|
-
return option.data.text.toLowerCase().includes(inputValue.toLowerCase());
|
|
84
|
-
};
|
|
85
|
-
var filterOptionNew = function filterOptionNew(option, inputValue) {
|
|
78
|
+
var filterOption = function filterOption(option, inputValue) {
|
|
86
79
|
var _option$data, _option$data$toLowerC, _inputValue$toLowerCa;
|
|
87
80
|
return (_option$data = option.data) === null || _option$data === void 0 || (_option$data = _option$data.text) === null || _option$data === void 0 || (_option$data$toLowerC = _option$data.toLowerCase) === null || _option$data$toLowerC === void 0 || (_option$data$toLowerC = _option$data$toLowerC.call(_option$data)) === null || _option$data$toLowerC === void 0 ? void 0 : _option$data$toLowerC.includes(inputValue === null || inputValue === void 0 || (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue));
|
|
88
81
|
};
|
|
@@ -76,7 +76,7 @@ var UserEditType = function UserEditType(props) {
|
|
|
76
76
|
options: options,
|
|
77
77
|
isLoading: isLoading,
|
|
78
78
|
testId: "inline-edit-user",
|
|
79
|
-
filterOption:
|
|
79
|
+
filterOption: filterOption,
|
|
80
80
|
menuPlacement: "auto",
|
|
81
81
|
onInputChange: handleUserInputDebounced,
|
|
82
82
|
value: currentValue === null || currentValue === void 0 || (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
@@ -110,16 +110,8 @@ var UserEditType = function UserEditType(props) {
|
|
|
110
110
|
shouldPreventEscapePropagation: fg('platform_navx_sllv_dropdown_escape_and_focus_fix') ? true : undefined
|
|
111
111
|
})));
|
|
112
112
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
*/
|
|
117
|
-
var filterOptionOld = function filterOptionOld(option, inputValue) {
|
|
118
|
-
var _option$data$displayN, _option$data$displayN2;
|
|
119
|
-
return (_option$data$displayN = (_option$data$displayN2 = option.data.displayName) === null || _option$data$displayN2 === void 0 ? void 0 : _option$data$displayN2.toLowerCase().includes(inputValue.toLowerCase())) !== null && _option$data$displayN !== void 0 ? _option$data$displayN : false;
|
|
120
|
-
};
|
|
121
|
-
var filterOptionNew = function filterOptionNew(option, inputValue) {
|
|
122
|
-
var _option$data$displayN3, _option$data, _option$data$toLowerC, _inputValue$toLowerCa;
|
|
123
|
-
return (_option$data$displayN3 = (_option$data = option.data) === null || _option$data === void 0 || (_option$data = _option$data.displayName) === null || _option$data === void 0 || (_option$data$toLowerC = _option$data.toLowerCase) === null || _option$data$toLowerC === void 0 || (_option$data$toLowerC = _option$data$toLowerC.call(_option$data)) === null || _option$data$toLowerC === void 0 ? void 0 : _option$data$toLowerC.includes(inputValue === null || inputValue === void 0 || (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue))) !== null && _option$data$displayN3 !== void 0 ? _option$data$displayN3 : false;
|
|
113
|
+
var filterOption = function filterOption(option, inputValue) {
|
|
114
|
+
var _option$data$displayN, _option$data, _option$data$toLowerC, _inputValue$toLowerCa;
|
|
115
|
+
return (_option$data$displayN = (_option$data = option.data) === null || _option$data === void 0 || (_option$data = _option$data.displayName) === null || _option$data === void 0 || (_option$data$toLowerC = _option$data.toLowerCase) === null || _option$data$toLowerC === void 0 || (_option$data$toLowerC = _option$data$toLowerC.call(_option$data)) === null || _option$data$toLowerC === void 0 ? void 0 : _option$data$toLowerC.includes(inputValue === null || inputValue === void 0 || (_inputValue$toLowerCa = inputValue.toLowerCase) === null || _inputValue$toLowerCa === void 0 ? void 0 : _inputValue$toLowerCa.call(inputValue))) !== null && _option$data$displayN !== void 0 ? _option$data$displayN : false;
|
|
124
116
|
};
|
|
125
117
|
export default UserEditType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.32.
|
|
3
|
+
"version": "4.32.3",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"@atlaskit/link-provider": "^4.1.0",
|
|
68
68
|
"@atlaskit/linking-common": "^9.9.0",
|
|
69
69
|
"@atlaskit/linking-types": "^14.2.0",
|
|
70
|
-
"@atlaskit/logo": "^19.
|
|
70
|
+
"@atlaskit/logo": "^19.10.0",
|
|
71
71
|
"@atlaskit/lozenge": "^13.3.0",
|
|
72
|
-
"@atlaskit/modal-dialog": "^14.
|
|
72
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
73
73
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
75
75
|
"@atlaskit/popup": "^4.13.0",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@atlaskit/textfield": "^8.2.0",
|
|
88
88
|
"@atlaskit/theme": "^21.0.0",
|
|
89
89
|
"@atlaskit/tokens": "^9.1.0",
|
|
90
|
-
"@atlaskit/tooltip": "^20.
|
|
90
|
+
"@atlaskit/tooltip": "^20.14.0",
|
|
91
91
|
"@atlaskit/ufo": "^0.4.0",
|
|
92
92
|
"@atlaskit/width-detector": "^5.0.0",
|
|
93
93
|
"@babel/runtime": "^7.0.0",
|
|
@@ -113,6 +113,7 @@
|
|
|
113
113
|
"@atlaskit/json-ld-types": "^1.4.0",
|
|
114
114
|
"@atlaskit/link-test-helpers": "^9.0.0",
|
|
115
115
|
"@atlaskit/ssr": "workspace:^",
|
|
116
|
+
"@atlassian/a11y-jest-testing": "^0.6.0",
|
|
116
117
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
117
118
|
"@faker-js/faker": "^7.5.0",
|
|
118
119
|
"@testing-library/dom": "^10.1.0",
|
|
@@ -175,9 +176,6 @@
|
|
|
175
176
|
"navx-1895-new-logo-design": {
|
|
176
177
|
"type": "boolean"
|
|
177
178
|
},
|
|
178
|
-
"navx-sllv-fix-inline-edit-error": {
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
179
|
"platform_navx_jira_sllv_rich_text_gate": {
|
|
182
180
|
"type": "boolean"
|
|
183
181
|
},
|