@rh-support/cases 2.1.111 → 2.1.112
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/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilter.js +1 -2
- package/lib/esm/components/case-list/case-list-filters/InternalSsoNameFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/InternalSsoNameFilter.js +1 -2
- package/lib/esm/css/caseList.css +14 -4
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatorSsoNameFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/CreatorSsoNameFilter.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAYhF,eAAO,MAAM,WAAW,0BAIvB,CAAC;AAYF,eAAO,MAAM,eAAe;;;;;;;GAA6E,CAAC;AAE1G,eAAO,MAAM,kBAAkB,iEAyC9B,CAAC;AAEF,wBAAgB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"CreatorSsoNameFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/CreatorSsoNameFilter.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAYhF,eAAO,MAAM,WAAW,0BAIvB,CAAC;AAYF,eAAO,MAAM,eAAe;;;;;;;GAA6E,CAAC;AAE1G,eAAO,MAAM,kBAAkB,iEAyC9B,CAAC;AAEF,wBAAgB,oBAAoB,sBA2PnC"}
|
|
@@ -107,7 +107,6 @@ export function CreatorSsoNameFilter() {
|
|
|
107
107
|
list = [...selectedExternalContacts, contact];
|
|
108
108
|
}
|
|
109
109
|
onFilterChange(list);
|
|
110
|
-
setExternalQuery('');
|
|
111
110
|
};
|
|
112
111
|
const dropdownHeader = [
|
|
113
112
|
{
|
|
@@ -208,7 +207,7 @@ export function CreatorSsoNameFilter() {
|
|
|
208
207
|
React.createElement(TextInputGroup, { isPlain: true },
|
|
209
208
|
React.createElement(TextInputGroupMain, { value: externalQuery, onClick: onExternalToggle, onKeyDown: onInputKeyDown, placeholder: isExternalNonOrgAdmin
|
|
210
209
|
? t('Username')
|
|
211
|
-
: getDropdownBtnPlaceholder(t('Search for a name'), selectedExternalContacts.map((i) => i.label), ' ', filteredOptions.length + dropdownHeader.length, t('All
|
|
210
|
+
: getDropdownBtnPlaceholder(t('Search for a name'), selectedExternalContacts.map((i) => i.label), ' ', filteredOptions.length + dropdownHeader.length, t('All selected')), onChange: onExternalQueryChange, isExpanded: isExternalOpen, innerRef: externalInputRef, "aria-controls": "external-ssousername-filter", role: "combobox" }),
|
|
212
211
|
React.createElement(TextInputGroupUtilities, null, !isEmpty(externalQuery) && (React.createElement(Button, { variant: "plain", onClick: () => setExternalQuery(''), isDisabled: isFetchingExternalContacts, "aria-label": t('Clear') }, isFetchingExternalContacts ? (React.createElement(LoadingIndicator, { show: true, size: "sm" })) : (React.createElement(TimesCircleIcon, { "aria-hidden": true }))))))));
|
|
213
212
|
const customToggle = (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, onClick: onExternalToggle, isExpanded: isExternalOpen, style: { width: '100%' } }, getDropdownBtnPlaceholder(t('Username'), selectedExternalContacts.map((i) => i.label), ' ', dropdownHeader.length, t('All contacts'))));
|
|
214
213
|
return (React.createElement("div", null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalSsoNameFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/InternalSsoNameFilter.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAUhF,MAAM,CAAC,OAAO,UAAU,qBAAqB,
|
|
1
|
+
{"version":3,"file":"InternalSsoNameFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/InternalSsoNameFilter.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAUhF,MAAM,CAAC,OAAO,UAAU,qBAAqB,sBA8R5C"}
|
|
@@ -67,7 +67,6 @@ export default function InternalSsoNameFilter() {
|
|
|
67
67
|
list = [...selectedInternalContacts, contact];
|
|
68
68
|
}
|
|
69
69
|
onFilterChangeAsync(list);
|
|
70
|
-
setInternalQuery('');
|
|
71
70
|
};
|
|
72
71
|
const { onInputKeyDown, focusedItemIndex } = useSelectKeyboardNavigator({
|
|
73
72
|
list: [...dropdownHeader, ...filteredOptions],
|
|
@@ -200,7 +199,7 @@ export default function InternalSsoNameFilter() {
|
|
|
200
199
|
};
|
|
201
200
|
const internalToggle = (toggleRef) => (React.createElement(MenuToggle, { variant: "typeahead", onClick: onInternalToggle, innerRef: toggleRef, isExpanded: isInternalOpen, isFullWidth: true },
|
|
202
201
|
React.createElement(TextInputGroup, { isPlain: true },
|
|
203
|
-
React.createElement(TextInputGroupMain, { value: internalQuery, onClick: onInternalToggle, onKeyDown: onInputKeyDown, placeholder: getDropdownBtnPlaceholder(t('Search for a name'), selectedInternalContacts.map((i) => i.label), ' ', filteredInternalList.length, t('All
|
|
202
|
+
React.createElement(TextInputGroupMain, { value: internalQuery, onClick: onInternalToggle, onKeyDown: onInputKeyDown, placeholder: getDropdownBtnPlaceholder(t('Search for a name'), selectedInternalContacts.map((i) => i.label), ' ', filteredInternalList.length, t('All selected')), onChange: onInternalQueryChange, isExpanded: isInternalOpen, innerRef: internalInputRef, "aria-controls": "internal-ssousername-filter", role: "combobox" }),
|
|
204
203
|
React.createElement(TextInputGroupUtilities, null, !isEmpty(internalQuery) && (React.createElement(Button, { variant: "plain", onClick: () => setInternalQuery(''), isDisabled: isFetchingInternalContacts, "aria-label": t('Clear') }, isFetchingInternalContacts ? (React.createElement(LoadingIndicator, { show: true, size: "sm" })) : (React.createElement(TimesCircleIcon, { "aria-hidden": true }))))))));
|
|
205
204
|
return (React.createElement(Select, { id: "internal-ssousername-filter", "data-tracking-id": "internal-ssousername-filter", isOpen: isInternalOpen, onOpenChange: () => setIsInternalOpen(false), toggle: internalToggle, popperProps: { direction: 'down', enableFlip: false }, isScrollable: true, onSelect: (_e, v) => onSelectInternal(v) },
|
|
206
205
|
React.createElement(SelectList, null, filteredInternalList)));
|
package/lib/esm/css/caseList.css
CHANGED
|
@@ -507,14 +507,19 @@
|
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
/* Problem statement Header */
|
|
510
|
-
th#summary.pf-v5-c-table__th
|
|
511
|
-
.case-list-table tbody > tr > :nth-child(3) {
|
|
510
|
+
th#summary.pf-v5-c-table__th {
|
|
512
511
|
min-width: 270px !important;
|
|
513
512
|
max-width: none;
|
|
514
513
|
display: flex !important;
|
|
515
514
|
justify-content: center !important;
|
|
516
515
|
}
|
|
517
516
|
|
|
517
|
+
.case-list-table tbody > tr > :nth-child(3) {
|
|
518
|
+
min-width: 270px !important;
|
|
519
|
+
max-width: none;
|
|
520
|
+
text-align: center;
|
|
521
|
+
}
|
|
522
|
+
|
|
518
523
|
th#contactName.pf-v5-c-table__th,
|
|
519
524
|
th#status.pf-v5-c-table__th,
|
|
520
525
|
th#folderName.pf-v5-c-table__th {
|
|
@@ -553,11 +558,16 @@
|
|
|
553
558
|
|
|
554
559
|
@media (min-width: 1800px) {
|
|
555
560
|
/* Problem statement */
|
|
556
|
-
th#summary.pf-v5-c-table__th
|
|
557
|
-
.case-list-table tbody > tr > :nth-child(3) {
|
|
561
|
+
th#summary.pf-v5-c-table__th {
|
|
558
562
|
min-width: 500px !important;
|
|
559
563
|
max-width: none;
|
|
560
564
|
display: flex !important;
|
|
561
565
|
justify-content: center !important;
|
|
562
566
|
}
|
|
567
|
+
|
|
568
|
+
.case-list-table tbody > tr > :nth-child(3) {
|
|
569
|
+
min-width: 500px !important;
|
|
570
|
+
max-width: none;
|
|
571
|
+
text-align: center;
|
|
572
|
+
}
|
|
563
573
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.112",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@patternfly/patternfly": "5.4.0",
|
|
44
44
|
"@patternfly/react-core": "5.4.0",
|
|
45
45
|
"@patternfly/react-table": "5.4.0",
|
|
46
|
-
"@rh-support/components": "2.1.
|
|
47
|
-
"@rh-support/react-context": "2.1.
|
|
46
|
+
"@rh-support/components": "2.1.87",
|
|
47
|
+
"@rh-support/react-context": "2.1.96",
|
|
48
48
|
"@rh-support/types": "2.0.5",
|
|
49
49
|
"@rh-support/user-permissions": "2.1.52",
|
|
50
50
|
"@rh-support/utils": "2.1.41",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"defaults and supports es6-module",
|
|
97
97
|
"maintained node versions"
|
|
98
98
|
],
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "1de61badca2519b3f481396206cde31f2fc89487"
|
|
100
100
|
}
|