@rh-support/troubleshoot 2.6.30 → 2.6.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.
@@ -56,7 +56,7 @@ export function CaseContactPhoneNumberAlert(props) {
56
56
  !isCaseOwnerUpdating;
57
57
  const phone = phoneCountryCode + ' ' + phoneAreaCodePrefixLineNumber;
58
58
  const confirmationMessage = `${t('Is this phone number correct,')} ${phone} ?`;
59
- if (!isPhoneNeedsReview && isPhoneNeedsReview)
59
+ if (!isPhoneNeedsReview)
60
60
  return React.createElement(React.Fragment, null);
61
61
  return (React.createElement(React.Fragment, null, props.isReview && !closeConfirmAlert && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v6-u-mb-md phone-review-banner", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
62
62
  React.createElement(Button, { className: "pf-v6-u-mr-md", key: "case-contact-phone-number-review-confirm", variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-review-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
@@ -1 +1 @@
1
- {"version":3,"file":"RHAssociatesSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/RHAssociatesSelector.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAS5D,MAAM,WAAW,MAAM;CAAG;AAG1B,iBAAS,oBAAoB,CAAC,KAAK,EAAE,MAAM,qBAqN1C;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"RHAssociatesSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/RHAssociatesSelector.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAS5D,MAAM,WAAW,MAAM;CAAG;AAG1B,iBAAS,oBAAoB,CAAC,KAAK,EAAE,MAAM,qBAoN1C;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -100,7 +100,6 @@ function RHAssociatesSelector(props) {
100
100
  onNotifiedUserChange([Object.assign(Object.assign({}, loggedInUser.data), { accountNumber: loggedInUserRights.data.getAccountNumber() })], true);
101
101
  });
102
102
  const removeCurrentUser = () => {
103
- console.log(isCurrentUserSelectedInternalNotifiedUser());
104
103
  if (isCurrentUserSelectedInternalNotifiedUser()) {
105
104
  onNotifiedUserChange(filter(selectedNotificationContacts, (contact) => contact.ssoUsername !== loggedInUser.data.ssoUsername));
106
105
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CaseContactSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/CaseContactSelector.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,MAAM,WAAW,MAAM;CAAG;AAG1B,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,qBAodzC;AAED,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"CaseContactSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/CaseContactSelector.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,MAAM,WAAW,MAAM;CAAG;AAG1B,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,qBAsdzC;AAED,eAAe,mBAAmB,CAAC"}
@@ -16,7 +16,6 @@ import difference from 'lodash/difference';
16
16
  import differenceBy from 'lodash/differenceBy';
17
17
  import filter from 'lodash/filter';
18
18
  import find from 'lodash/find';
19
- import intersection from 'lodash/intersection';
20
19
  import isEmpty from 'lodash/isEmpty';
21
20
  import isEqual from 'lodash/isEqual';
22
21
  import map from 'lodash/map';
@@ -128,7 +127,7 @@ function CaseContactSelector(props) {
128
127
  });
129
128
  const processCustomEmails = (selectedCustomEmails) => __awaiter(this, void 0, void 0, function* () {
130
129
  const currentEmails = customEmailsList.data.map((item) => item.emailAddress);
131
- const toRemoveEmails = intersection(currentEmails, selectedCustomEmails);
130
+ const toRemoveEmails = difference(currentEmails, selectedCustomEmails);
132
131
  const toAddEmails = difference(selectedCustomEmails, currentEmails);
133
132
  (toAddEmails.length || toRemoveEmails.length) && clearErrorState();
134
133
  if ((toAddEmails || []).length > 0) {
@@ -247,7 +246,9 @@ function CaseContactSelector(props) {
247
246
  return false;
248
247
  };
249
248
  const clearNonOrgTypeahead = () => {
250
- nonOrgTypeaheadRef.current && nonOrgTypeaheadRef.current.clear();
249
+ if (nonOrgTypeaheadRef.current) {
250
+ nonOrgTypeaheadRef.current.value = '';
251
+ }
251
252
  };
252
253
  const clearErrorState = () => {
253
254
  showGroupPermissionError && setShowGroupPermissionError(false);
@@ -1 +1 @@
1
- {"version":3,"file":"NonOrgCaseNotifyeesSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAwB,oBAAoB,EAAY,MAAM,wBAAwB,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,aAAa,EAAE,oBAAoB,EAAE,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAqCD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,qBA6NxD"}
1
+ {"version":3,"file":"NonOrgCaseNotifyeesSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAwB,oBAAoB,EAAY,MAAM,wBAAwB,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,aAAa,EAAE,oBAAoB,EAAE,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAqCD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,qBAiNxD"}
@@ -177,15 +177,36 @@ button,
177
177
  }
178
178
 
179
179
  .clipboard-wrapper {
180
+ display: flex;
180
181
  position: relative;
181
182
  }
182
183
 
183
- .clip-content-wrapper {
184
- position: relative;
185
- border: 1px solid #ededed;
186
- background: #f5f5f5;
187
- padding: 2px 4px;
188
- overflow: auto;
184
+ .clipboard-wrapper svg {
185
+ color: var(--pf-t--global--text--color--link--default);
186
+ }
187
+
188
+ .clipboard-wrapper :first-child {
189
+ white-space: nowrap;
190
+ overflow: hidden;
191
+ text-overflow: ellipsis;
192
+ }
193
+
194
+ .helper-text-size {
195
+ font-size: var(--pf-t--global--font--size--100);
196
+ }
197
+
198
+ .label-text-size {
199
+ font-size: var(--pf-t--global--font--size--300);
200
+ }
201
+
202
+ .request-collaboration-input {
203
+ background-color: var(--pf-t--global--background--color--200);
204
+ border: var(--pf-t--global--border--width--box--default) solid var(--pf-t--global--border--color--100);
205
+ }
206
+
207
+ .copy-button {
208
+ display: flex;
209
+ align-items: center;
189
210
  }
190
211
 
191
212
  .clip-code-raw-btn {
@@ -1305,7 +1305,10 @@ svg.pf-v6-u-ml-xs.icon-size {
1305
1305
  margin-bottom: 0;
1306
1306
  }
1307
1307
 
1308
- .postcomment-submit:disabled,
1308
+ .postcomment-submit:disabled {
1309
+ color: var(--pf-v6-c-button--disabled--Color);
1310
+ }
1311
+
1309
1312
  .remote-session-button:disabled {
1310
1313
  color: var(--pf-v6-c-button--disabled--Color);
1311
1314
  }
@@ -295,10 +295,6 @@
295
295
  margin-top: 2px;
296
296
  }
297
297
 
298
- .file-diag {
299
- border: 1px solid #ededed;
300
- }
301
-
302
298
  .file-diag > .card-heading {
303
299
  display: flex;
304
300
  -ms-flex-align: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "2.6.30",
3
+ "version": "2.6.32",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -134,5 +134,5 @@
134
134
  "defaults and supports es6-module",
135
135
  "maintained node versions"
136
136
  ],
137
- "gitHead": "60ca9bb964b292380cd258edc372803a9a387f57"
137
+ "gitHead": "84eef7e2917784ff0ee4e573265279e2b37ea74c"
138
138
  }