@rh-support/manage 2.6.18 → 2.6.19

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":"ManageGroupUsers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Groups/ManageGroupUsers/ManageGroupUsers.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAuC,MAAM,OAAO,CAAC;AA0C5D,eAAO,MAAM,gBAAgB,yBAoX5B,CAAC"}
1
+ {"version":3,"file":"ManageGroupUsers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Groups/ManageGroupUsers/ManageGroupUsers.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAuC,MAAM,OAAO,CAAC;AA0C5D,eAAO,MAAM,gBAAgB,yBAgY5B,CAAC"}
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Button, Modal, ModalBody, ModalFooter, ModalHeader, ModalVariant, SearchInput, Tooltip, } from '@patternfly/react-core';
10
+ import { Alert, AlertVariant, Button, Modal, ModalBody, ModalFooter, ModalHeader, ModalVariant, SearchInput, Tooltip, } from '@patternfly/react-core';
11
11
  import { ErrorBoundary, ToastNotification, usePrevious } from '@rh-support/components';
12
12
  import { GlobalMetadataReducerConstants, useGlobalDispatchContext, useGlobalStateContext, } from '@rh-support/react-context';
13
13
  import { ability, resourceActions, resources } from '@rh-support/user-permissions';
@@ -274,9 +274,11 @@ export const ManageGroupUsers = () => {
274
274
  React.createElement(ManageTable, { ariaLabel: t('Table to manage groups'), columns: columns, data: data, sortInfo: { column: 'first-name', direction: 'asc' }, isFetching: isFetching, isError: false, pagination: false })),
275
275
  memberToRemove && (React.createElement(Modal, { variant: ModalVariant.small, isOpen: true, onClose: () => setMemberToRemove(null), "aria-label": t('Confirm removal') },
276
276
  React.createElement(ModalHeader, { title: t('Remove member') }),
277
- React.createElement(ModalBody, null, t('Are you sure you want to remove {{name}} from this group?', {
278
- name: `${memberToRemove.firstName} ${memberToRemove.lastName}`,
279
- })),
277
+ React.createElement(ModalBody, null,
278
+ React.createElement("p", null, t('Are you sure you want to remove {{name}} from this group?', {
279
+ name: `${memberToRemove.firstName} ${memberToRemove.lastName}`,
280
+ })),
281
+ React.createElement(Alert, { className: "pf-v6-u-mt-md", isInline: true, isPlain: true, variant: AlertVariant.warning, component: "p", title: t('A user who owns a case will still have access to that case even if they are removed from the case group. Please assign a different owner to those cases if needed. If you need to change the owner of an archived case please open a ticket with Customer Service.') })),
280
282
  React.createElement(ModalFooter, null,
281
283
  React.createElement(Button, { variant: "danger", onClick: handleRemoveMember, isLoading: isRemovingMember, isDisabled: isRemovingMember }, t('Remove')),
282
284
  React.createElement(Button, { variant: "link", onClick: () => setMemberToRemove(null), isDisabled: isRemovingMember }, t('Cancel'))))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/manage",
3
- "version": "2.6.18",
3
+ "version": "2.6.19",
4
4
  "description": "Customer Support Manage App",
5
5
  "author": "Jordan Eudy <jeudy100@gmail.com>",
6
6
  "license": "ISC",
@@ -54,8 +54,8 @@
54
54
  "react-router-dom": "^5.1.2"
55
55
  },
56
56
  "devDependencies": {
57
- "@patternfly/react-styles": "^6.2.1",
58
- "@patternfly/react-tokens": "^6.2.1",
57
+ "@patternfly/react-styles": "6.2.1",
58
+ "@patternfly/react-tokens": "6.2.1",
59
59
  "@testing-library/jest-dom": "^6.2.0",
60
60
  "@testing-library/react": "^14.1.2",
61
61
  "@testing-library/user-event": "^14.5.1",
@@ -78,11 +78,11 @@
78
78
  "@patternfly/patternfly": "6.2.1",
79
79
  "@patternfly/react-core": "6.2.1",
80
80
  "@patternfly/react-table": "6.2.1",
81
- "@rh-support/components": "2.6.18",
81
+ "@rh-support/components": "2.6.19",
82
82
  "@rh-support/configs": "2.1.14",
83
- "@rh-support/react-context": "2.6.18",
83
+ "@rh-support/react-context": "2.6.19",
84
84
  "@rh-support/types": "2.0.30",
85
- "@rh-support/user-permissions": "2.6.16",
85
+ "@rh-support/user-permissions": "2.6.17",
86
86
  "@rh-support/utils": "2.6.16",
87
87
  "@types/react-beautiful-dnd": "^13.0.0",
88
88
  "i18next": "^23.15.0",
@@ -102,5 +102,5 @@
102
102
  "defaults and supports es6-module",
103
103
  "maintained node versions"
104
104
  ],
105
- "gitHead": "9eb7ac53bd76521fe2eaa60ec00617eff68dab8b"
105
+ "gitHead": "af72d32bcaddadd498184ca6b0bf2b913abb29a8"
106
106
  }