@redhat-cloud-services/frontend-components 4.2.17 → 4.2.18
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.
|
@@ -38,7 +38,7 @@ function isFilterValue(item) {
|
|
|
38
38
|
exports.isFilterValue = isFilterValue;
|
|
39
39
|
var TextFilter = function (_a) {
|
|
40
40
|
var _b = _a.customIcon, customIcon = _b === void 0 ? (0, jsx_runtime_1.jsx)(react_icons_1.SearchIcon, {}) : _b, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, className = _a.className, innerRef = _a.innerRef, props = __rest(_a, ["customIcon", "isDisabled", "className", "innerRef"]);
|
|
41
|
-
return ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children: (0, jsx_runtime_1.jsx)(react_core_1.TextInput, __assign({}, props, { customIcon: (0, jsx_runtime_1.jsx)(react_core_1.Icon, { className: "ins-c-search-icon", size: "md", children: customIcon }), isDisabled: isDisabled, "aria-label": props['aria-label'] || 'text input', className: (0, classnames_1.default)('ins-c-conditional-filter', className), "data-ouia-component-type": "
|
|
41
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children: (0, jsx_runtime_1.jsx)(react_core_1.TextInput, __assign({}, props, { customIcon: (0, jsx_runtime_1.jsx)(react_core_1.Icon, { className: "ins-c-search-icon", size: "md", children: customIcon }), isDisabled: isDisabled, "aria-label": props['aria-label'] || 'text input', className: (0, classnames_1.default)('ins-c-conditional-filter', className), "data-ouia-component-type": "PF5/TextInput", onKeyDown: function (e) { var _a; return e.key === 'Enter' && ((_a = props === null || props === void 0 ? void 0 : props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props, e)); }, ouiaId: "ConditionalFilter", "widget-type": "InsightsInput", ref: innerRef })) }));
|
|
42
42
|
};
|
|
43
43
|
exports.default = TextFilter;
|
|
44
44
|
//# sourceMappingURL=TextFilter.js.map
|
|
@@ -32,7 +32,7 @@ export function isFilterValue(item) {
|
|
|
32
32
|
}
|
|
33
33
|
var TextFilter = function (_a) {
|
|
34
34
|
var _b = _a.customIcon, customIcon = _b === void 0 ? _jsx(SearchIcon, {}) : _b, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, className = _a.className, innerRef = _a.innerRef, props = __rest(_a, ["customIcon", "isDisabled", "className", "innerRef"]);
|
|
35
|
-
return (_jsx(Fragment, { children: _jsx(TextInput, __assign({}, props, { customIcon: _jsx(Icon, { className: "ins-c-search-icon", size: "md", children: customIcon }), isDisabled: isDisabled, "aria-label": props['aria-label'] || 'text input', className: classNames('ins-c-conditional-filter', className), "data-ouia-component-type": "
|
|
35
|
+
return (_jsx(Fragment, { children: _jsx(TextInput, __assign({}, props, { customIcon: _jsx(Icon, { className: "ins-c-search-icon", size: "md", children: customIcon }), isDisabled: isDisabled, "aria-label": props['aria-label'] || 'text input', className: classNames('ins-c-conditional-filter', className), "data-ouia-component-type": "PF5/TextInput", onKeyDown: function (e) { var _a; return e.key === 'Enter' && ((_a = props === null || props === void 0 ? void 0 : props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props, e)); }, ouiaId: "ConditionalFilter", "widget-type": "InsightsInput", ref: innerRef })) }));
|
|
36
36
|
};
|
|
37
37
|
export default TextFilter;
|
|
38
38
|
//# sourceMappingURL=TextFilter.js.map
|