@rh-support/troubleshoot 2.6.31 → 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.
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "2.6.31",
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": "4bee35b87e0078a62064ee31c363ce3d11cbe539"
137
+ "gitHead": "84eef7e2917784ff0ee4e573265279e2b37ea74c"
138
138
  }