@rh-support/cases 2.1.111 → 2.1.113
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 -5
- 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
|
@@ -489,7 +489,6 @@
|
|
|
489
489
|
/* Case ID Header */
|
|
490
490
|
th#number.pf-v5-c-table__th {
|
|
491
491
|
position: sticky;
|
|
492
|
-
background-color: white;
|
|
493
492
|
left: 50px;
|
|
494
493
|
z-index: 1;
|
|
495
494
|
background-clip: padding-box;
|
|
@@ -507,14 +506,19 @@
|
|
|
507
506
|
}
|
|
508
507
|
|
|
509
508
|
/* Problem statement Header */
|
|
510
|
-
th#summary.pf-v5-c-table__th
|
|
511
|
-
.case-list-table tbody > tr > :nth-child(3) {
|
|
509
|
+
th#summary.pf-v5-c-table__th {
|
|
512
510
|
min-width: 270px !important;
|
|
513
511
|
max-width: none;
|
|
514
512
|
display: flex !important;
|
|
515
513
|
justify-content: center !important;
|
|
516
514
|
}
|
|
517
515
|
|
|
516
|
+
.case-list-table tbody > tr > :nth-child(3) {
|
|
517
|
+
min-width: 270px !important;
|
|
518
|
+
max-width: none;
|
|
519
|
+
text-align: center;
|
|
520
|
+
}
|
|
521
|
+
|
|
518
522
|
th#contactName.pf-v5-c-table__th,
|
|
519
523
|
th#status.pf-v5-c-table__th,
|
|
520
524
|
th#folderName.pf-v5-c-table__th {
|
|
@@ -553,11 +557,16 @@
|
|
|
553
557
|
|
|
554
558
|
@media (min-width: 1800px) {
|
|
555
559
|
/* Problem statement */
|
|
556
|
-
th#summary.pf-v5-c-table__th
|
|
557
|
-
.case-list-table tbody > tr > :nth-child(3) {
|
|
560
|
+
th#summary.pf-v5-c-table__th {
|
|
558
561
|
min-width: 500px !important;
|
|
559
562
|
max-width: none;
|
|
560
563
|
display: flex !important;
|
|
561
564
|
justify-content: center !important;
|
|
562
565
|
}
|
|
566
|
+
|
|
567
|
+
.case-list-table tbody > tr > :nth-child(3) {
|
|
568
|
+
min-width: 500px !important;
|
|
569
|
+
max-width: none;
|
|
570
|
+
text-align: center;
|
|
571
|
+
}
|
|
563
572
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.113",
|
|
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": "66526673b8a34858094195171b3faec5ddd9ff82"
|
|
100
100
|
}
|