@rh-support/cases 2.1.31 → 2.1.32
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.
|
@@ -346,7 +346,7 @@ export function CaseList(props) {
|
|
|
346
346
|
React.createElement(CaseListFilterChips, { productVersionPivotValues: get(pivotValues, SolrPivotKeys.product_version, []), isSolrSearchDown: isSolrSearchDown })))),
|
|
347
347
|
React.createElement("section", { className: "case-search-bottom" },
|
|
348
348
|
isBasicSearchMode && (React.createElement("aside", { className: `case-search-filters ${((_a = filterSectionRef.current) === null || _a === void 0 ? void 0 : _a.expanded) ? '' : 'collapsed'}` },
|
|
349
|
-
React.createElement("
|
|
349
|
+
React.createElement("h2", { className: "filter-header" }, ((_b = filterSectionRef.current) === null || _b === void 0 ? void 0 : _b.expanded) ? (React.createElement(React.Fragment, null,
|
|
350
350
|
React.createElement(Button, { variant: "link", isActive: true, title: t('Collapse filter section'), onClick: onToggleFilterBtnClick, iconPosition: "right", icon: isXLScreen ? React.createElement(AngleDoubleLeftIcon, null) : React.createElement(AngleDoubleUpIcon, null) },
|
|
351
351
|
React.createElement("span", null,
|
|
352
352
|
React.createElement(Trans, null, "Filters"))))) : (React.createElement(Button, { variant: "link", isActive: false, title: t('Expand filter section'), onClick: onToggleFilterBtnClick, iconPosition: "right", icon: isXLScreen ? React.createElement(AngleDoubleRightIcon, null) : React.createElement(AngleDoubleDownIcon, null) }, isXLScreen ? null : (React.createElement("span", null,
|
|
@@ -121,7 +121,7 @@ export function CreatorSsoNameFilter() {
|
|
|
121
121
|
const filteredOptions = useMemo(() => {
|
|
122
122
|
const filteredValues = getFilterValues(externalContactList, own);
|
|
123
123
|
const input = new RegExp(externalQuery, 'i');
|
|
124
|
-
const newOptions = filteredValues.filter((v) => input.test(v.
|
|
124
|
+
const newOptions = filteredValues.filter((v) => input.test(v.label || ''));
|
|
125
125
|
setNoResults(isEmpty(newOptions));
|
|
126
126
|
return newOptions;
|
|
127
127
|
}, [externalContactList, own, externalQuery]);
|
|
@@ -33,5 +33,5 @@ export function VersionsFilter({ productInfo, productVersionPivot }) {
|
|
|
33
33
|
const titleId = 'case-list-versions-filter';
|
|
34
34
|
return (React.createElement(React.Fragment, null, !isEmpty(versions) && (React.createElement(React.Fragment, null,
|
|
35
35
|
React.createElement("label", { hidden: true, htmlFor: titleId }, t('Open versions dropdown')),
|
|
36
|
-
React.createElement(Select, { className: "version-filter-chip", variant: SelectVariant.checkbox, "aria-label": t('Version'), onToggle: (_event, isExpanded) => toggleIsOpen(isExpanded), onSelect: onFilterChange, selections: productInfo.case_version.map((ver) => ver.value), isOpen: isOpen, placeholderText: 'Version', isCheckboxSelectionBadgeHidden: true, "aria-labelledby": titleId, "data-tracking-id": "versions-filter", hasPlaceholderStyle: true }, (versions || []).map((filterValue) => (React.createElement(SelectOption, { key: filterValue.value, value: filterValue.value, component: "div" }))))))));
|
|
36
|
+
React.createElement(Select, { className: "version-filter-chip pf-v5-u-xs", variant: SelectVariant.checkbox, "aria-label": t('Version'), onToggle: (_event, isExpanded) => toggleIsOpen(isExpanded), onSelect: onFilterChange, selections: productInfo.case_version.map((ver) => ver.value), isOpen: isOpen, placeholderText: 'Version', isCheckboxSelectionBadgeHidden: true, "aria-labelledby": titleId, "data-tracking-id": "versions-filter", hasPlaceholderStyle: true }, (versions || []).map((filterValue) => (React.createElement(SelectOption, { key: filterValue.value, value: filterValue.value, component: "div" }))))))));
|
|
37
37
|
}
|
package/lib/esm/css/caseList.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.32",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"lib/**/*"
|
|
27
27
|
],
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@cee-eng/hydrajs": "4.16.
|
|
29
|
+
"@cee-eng/hydrajs": "4.16.39",
|
|
30
30
|
"@patternfly/patternfly": "5.1.0",
|
|
31
31
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
32
32
|
"@patternfly/react-core": "5.1.1",
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"solr-query-builder": "1.0.1"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@cee-eng/hydrajs": "4.16.
|
|
44
|
+
"@cee-eng/hydrajs": "4.16.39",
|
|
45
45
|
"@patternfly/patternfly": "5.1.0",
|
|
46
46
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
47
47
|
"@patternfly/react-core": "5.1.1",
|
|
48
48
|
"@patternfly/react-table": "5.1.1",
|
|
49
|
-
"@rh-support/components": "2.1.
|
|
50
|
-
"@rh-support/react-context": "2.1.
|
|
49
|
+
"@rh-support/components": "2.1.28",
|
|
50
|
+
"@rh-support/react-context": "2.1.31",
|
|
51
51
|
"@rh-support/types": "2.0.2",
|
|
52
|
-
"@rh-support/user-permissions": "2.1.
|
|
53
|
-
"@rh-support/utils": "2.1.
|
|
52
|
+
"@rh-support/user-permissions": "2.1.20",
|
|
53
|
+
"@rh-support/utils": "2.1.13",
|
|
54
54
|
"i18next": "^19.0.1",
|
|
55
55
|
"localforage": "^1.10.0",
|
|
56
56
|
"lodash": "^4.17.21",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"defaults and supports es6-module",
|
|
94
94
|
"maintained node versions"
|
|
95
95
|
],
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "d17dacfd35aa08c446f37c8f0f92760346b8eb7a"
|
|
97
97
|
}
|