@rh-support/manage 2.5.66 → 2.32.2-prodBackup

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":"Manage.d.ts","sourceRoot":"","sources":["../../src/Manage.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAK3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,mBAAmB,EAAU,MAAM,kBAAkB,CAAC;AAItE,MAAM,WAAW,qBAAqB;CAAG;AACzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,qBAAqB,CAAC,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,SAAS,EAAE,GAAG,CAAC;QACf,oBAAoB,EAAE,GAAG,CAAC;QAC1B,MAAM,EAAE,GAAG,CAAC;QACZ,KAAK,EAAE,GAAG,CAAC;QACX,aAAa,EAAE;YACX,cAAc,EAAE,MAAM,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;KACL;IAED,UAAU,QAAQ;QACd,YAAY,EAAE,GAAG,CAAC;KACrB;IAED,UAAU,GAAG,CAAC;QACV,UAAU,iBAAkB,SAAQ,QAAQ;SAAG;KAClD;CACJ;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,qBAYnC"}
1
+ {"version":3,"file":"Manage.d.ts","sourceRoot":"","sources":["../../src/Manage.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAI3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,mBAAmB,EAAU,MAAM,kBAAkB,CAAC;AAItE,MAAM,WAAW,qBAAqB;CAAG;AACzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,qBAAqB,CAAC,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,SAAS,EAAE,GAAG,CAAC;QACf,oBAAoB,EAAE,GAAG,CAAC;QAC1B,MAAM,EAAE,GAAG,CAAC;QACZ,KAAK,EAAE,GAAG,CAAC;QACX,aAAa,EAAE;YACX,cAAc,EAAE,MAAM,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;KACL;IAED,UAAU,QAAQ;QACd,YAAY,EAAE,GAAG,CAAC;KACrB;IAED,UAAU,GAAG,CAAC;QACV,UAAU,iBAAkB,SAAQ,QAAQ;SAAG;KAClD;CACJ;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,qBAYnC"}
package/lib/esm/Manage.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import './scss/index.scss';
2
- //test
3
2
  import { ConfirmationServiceProvider } from '@rh-support/components';
4
3
  import React from 'react';
5
4
  import { Route, Switch } from 'react-router-dom';
@@ -1 +1 @@
1
- {"version":3,"file":"ManageTabs.d.ts","sourceRoot":"","sources":["../../src/ManageTabs.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAAa,MAAM,kBAAkB,CAAC;AAclE,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,qBAyMvC"}
1
+ {"version":3,"file":"ManageTabs.d.ts","sourceRoot":"","sources":["../../src/ManageTabs.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAAa,MAAM,kBAAkB,CAAC;AAclE,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,qBAqMvC"}
@@ -136,7 +136,7 @@ export function ManageTabs(props) {
136
136
  React.createElement(Tabs, { activeKey: getActiveTabKey(), onSelect: handleTabClick, "aria-label": t('Manage tabs'), component: TabsComponent.nav, isVertical: true, style: { width: 'auto' } }, map(tabsToRender, (tab, index) => (React.createElement(Tab, { eventKey: index, tabContentRef: tab.ref, tabContentId: `pf-tab-${index}-${tab.title.split(' ')[0]}-tabpanel`, title: React.createElement(TabTitleText, null,
137
137
  React.createElement(Trans, null, tab.title)), "data-tracking-id": tab['data-tracking-id'], key: tab.title, href: `#${props.basePath}/${tab.routePath}`, "aria-controls": tab.id })))),
138
138
  map(tabsToRender, (tab, index) => {
139
- return index === getActiveTabKey() ? (React.createElement(TabContent, { activeKey: getActiveTabKey(), id: tab.id, "aria-label": tab.title, style: { borderRadius: '6px' } },
139
+ return index === getActiveTabKey() ? (React.createElement(TabContent, { activeKey: getActiveTabKey(), id: tab.id, "aria-label": tab.title },
140
140
  React.createElement(ErrorBoundary, { errorMsgInfo: {
141
141
  message: t('There was an error loading manage tab. Please try refreshing the page.'),
142
142
  }, isPageLevelError: true }, tab.component))) : (React.createElement(React.Fragment, null));
@@ -271,7 +271,7 @@ export const GroupSelect = (props) => {
271
271
  React.createElement(MenuItem, { className: "create-group-action", isDisabled: !selectedGroup || !ability.can(resourceActions.DELETE, resources.CASE_GROUPS), key: "delete", onClick: onActionFocus(actions.delete), "data-tracking-id": "manage-group-delete" }, t('Delete')),
272
272
  React.createElement(MenuItem, { className: "create-group-action", isDisabled: !selectedGroup || !ability.can(resourceActions.CREATE, resources.CASE_GROUPS), key: "duplicate", onClick: onActionFocus(actions.duplicate), "data-tracking-id": "manage-group-duplicate" }, t('Duplicate')),
273
273
  ];
274
- const dropdownToggle = (toggleRef) => (React.createElement(MenuToggle, { isFullHeight: true, className: "pf-v6-u-ml-sm manage-group-actions-toggle-options pf-v6-u-p-md", ref: toggleRef, isDisabled: props.isDisabled || disableOnFetch, onClick: toggleIsDropdownOpen, isExpanded: isDropdownOpen, "data-tracking-id": "manage-group-toggle-options", "aria-label": "Group actions dropdown toggle", icon: React.createElement(CogIcon, null) }));
274
+ const dropdownToggle = (toggleRef) => (React.createElement(MenuToggle, { isFullHeight: true, className: "pf-v6-u-ml-sm manage-group-actions-toggle-options", ref: toggleRef, isDisabled: props.isDisabled || disableOnFetch, onClick: toggleIsDropdownOpen, isExpanded: isDropdownOpen, "data-tracking-id": "manage-group-toggle-options", "aria-label": "Group actions dropdown toggle", icon: React.createElement(CogIcon, null) }));
275
275
  const submitActionBtn = useRef();
276
276
  useEffect(() => {
277
277
  if (isEmpty(manageActionsRef.current))
@@ -163,7 +163,7 @@ export const ManageGroupUsers = () => {
163
163
  React.createElement("header", null,
164
164
  React.createElement("h2", { className: "pf-v6-u-pb-sm" }, t('Groups')),
165
165
  React.createElement("p", null, t('To filter cases while searching, add or edit groups.'))),
166
- React.createElement("div", { className: "toolbar pf-v6-u-justify-content-space-between" },
166
+ React.createElement("div", { className: "toolbar" },
167
167
  React.createElement(GroupSelect, { isDisabled: isFetching || disableGroupSelect, onSelect: onGroupSelect }),
168
168
  React.createElement("span", { className: "toolbar-right" },
169
169
  React.createElement("label", { htmlFor: "account-group-filter" },
@@ -254,7 +254,7 @@ export function ManageGroupedBookmarkedAccountsTab({ canManageBookmarkAccounts }
254
254
  "bookmarks in the customer support tool"))), closeBtnAriaLabel: "Close" },
255
255
  React.createElement(Button, { icon: React.createElement(Icon, { size: "md" },
256
256
  React.createElement(InfoCircleIcon, null)), variant: "plain", className: "manage-bookmark-info-icon-button", "aria-label": "Cluster Id Info" }))))),
257
- React.createElement("div", { className: "toolbar pf-v6-u-justify-content-space-between" },
257
+ React.createElement("div", { className: "toolbar" },
258
258
  React.createElement("form", { onSubmit: (event) => event.preventDefault(), className: "toolbar-left" },
259
259
  React.createElement("label", { htmlFor: "bookmark-account-selector" },
260
260
  React.createElement(Trans, null, "Search accounts")),
@@ -114,7 +114,7 @@ export function PartnershipsList() {
114
114
  React.createElement(LoadingIndicator, { isInline: true, show: isDeleting && data.accountNum === isDeletingAccountNum, size: "xs" })), variant: ButtonVariant.plain, "aria-label": t('Remove partnership'), "data-tracking-id": "remove-partnership", onClick: () => removePartnership(data) })),
115
115
  },
116
116
  ];
117
- const requestCollaborationButton = () => (React.createElement("div", { className: "toolbar-right" },
117
+ const requestCollaborationButton = () => (React.createElement("div", { className: "toolbar-right pf-v6-u-mt-xs" },
118
118
  React.createElement(Button, { variant: ButtonVariant.primary, isInline: true, onClick: () => setIsRequestCollabModalOpen(true), "data-tracking-id": "request-collaboration-button", isDisabled: false },
119
119
  React.createElement(Trans, null, "Request Collaboration"))));
120
120
  // Get Customer Accounts For A Partner
@@ -170,7 +170,7 @@ export function PartnershipsList() {
170
170
  // eslint-disable-next-line react-hooks/exhaustive-deps
171
171
  }, [managedAccounts, accountManagers]);
172
172
  return (React.createElement("section", { id: "manage-partnerships-list" },
173
- React.createElement("div", { className: "toolbar secondary-toolbar pf-v6-u-display-flex pf-v6-u-align-items-center" },
173
+ React.createElement("div", { className: "toolbar secondary-toolbar" },
174
174
  React.createElement("div", { className: "toolbar-left pf-v6-u-mr-md" },
175
175
  React.createElement("label", { htmlFor: "search-partnerships" }, "Filter by"),
176
176
  React.createElement(SearchInput, { className: "pf-v6-u-flex-grow-1 pf-v6-c-search-input pf-v6-u-background-color-100", id: "search-partnerships", placeholder: t('Search for an existing partnership'), value: searchString, onChange: (_event, value) => setSearchString(value), onClear: () => setSearchString(''), "aria-label": t('Search for an existing partnership') })),
@@ -1 +1 @@
1
- {"version":3,"file":"PreferencesHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePreferences/PreferencesHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,wBAAgB,iBAAiB,sBAahC"}
1
+ {"version":3,"file":"PreferencesHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePreferences/PreferencesHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,wBAAgB,iBAAiB,sBAYhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TagsManager.d.ts","sourceRoot":"","sources":["../../../../src/components/ManageTags/TagsManager.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAaxE,MAAM,CAAC,OAAO,UAAU,WAAW,sBAqZlC"}
1
+ {"version":3,"file":"TagsManager.d.ts","sourceRoot":"","sources":["../../../../src/components/ManageTags/TagsManager.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAaxE,MAAM,CAAC,OAAO,UAAU,WAAW,sBAoZlC"}
@@ -248,7 +248,7 @@ export default function TagsManager() {
248
248
  React.createElement("h2", null, "Tags"),
249
249
  React.createElement("p", { className: "pf-v6-u-my-sm" },
250
250
  React.createElement(Trans, null, "Add, edit or remove tags and manage tagged top content."))),
251
- React.createElement("div", { className: "toolbar pf-v6-u-display-flex pf-v6-u-flex-direction-row pf-v6-u-align-items-center" },
251
+ React.createElement("div", { className: "toolbar pf-v6-u-display-flex pf-v6-u-flex-direction-row pf-v6-u-align-items-center pf-v6-u-justify-content-space-between" },
252
252
  React.createElement("div", { className: "pf-v6-u-display-flex pf-v6-u-flex-direction-row pf-v6-u-align-items-center" },
253
253
  React.createElement("label", { htmlFor: "tag-search-input" },
254
254
  React.createElement(Trans, null, "Search Tag")),
@@ -260,7 +260,7 @@ export default function TagsManager() {
260
260
  React.createElement(Button, { variant: ButtonVariant.primary, isInline: true, onClick: () => {
261
261
  setCreateTagModalOpen(true);
262
262
  setNewTagName(tagSearchTerm);
263
- }, "data-tracking-id": "tag-create-button", className: "pf-v6-u-ml-md" },
263
+ }, "data-tracking-id": "tag-create-button" },
264
264
  React.createElement(Trans, null, "Create tag"))),
265
265
  React.createElement("div", { className: "tags-manager-wrapper" },
266
266
  React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading tags list') } }, tagResponse.isFetching ? (React.createElement(Bullseye, null,
@@ -42,6 +42,7 @@
42
42
  -ms-flex-direction: column;
43
43
  flex-direction: column;
44
44
  flex-wrap: wrap;
45
+ justify-content: space-between !important;
45
46
  padding-left: var(--pf-t--global--spacer--lg);
46
47
  padding-right: var(--pf-t--global--spacer--lg);
47
48
  padding-top: var(--pf-t--global--spacer--md);
@@ -168,7 +169,6 @@
168
169
  margin-bottom: 2rem;
169
170
  border: 1px solid #ccc;
170
171
  border-top: none;
171
- border-radius: 8px;
172
172
 
173
173
  tbody:first-of-type {
174
174
  border-top: none;
@@ -400,17 +400,6 @@ svg.hostnameSpinner {
400
400
  .pf-v6-c-empty-state__icon {
401
401
  color: var(--pf-t--color--gray--30);
402
402
  }
403
-
404
- border-radius: 8px;
405
- }
406
-
407
- #manage-groups,
408
- #manage-bookmarked-accounts,
409
- #tags-manager,
410
- #notification-emails {
411
- .table-wrapper {
412
- margin-top: -5px;
413
- }
414
403
  }
415
404
 
416
405
  .pf-v6-c-empty-state__icon {
@@ -445,6 +434,7 @@ svg.hostnameSpinner {
445
434
  display: flex;
446
435
  flex-direction: row;
447
436
  justify-content: space-between;
437
+ align-items: initial;
448
438
 
449
439
  .top-content-search-input,
450
440
  .tags-selector-menu-toggle {
@@ -492,16 +482,5 @@ svg.hostnameSpinner {
492
482
  padding-left: calc(var(--pf-t--global--spacer--xl) + 1.35px);
493
483
  }
494
484
 
495
- div.grid-main.manage {
496
- border-radius: 0 0 16px 16px !important;
497
- }
498
-
499
- #manage-top-content {
500
- .single-select-toggle-text {
501
- margin-left: 1rem;
502
- }
503
-
504
- .toolbar-right {
505
- margin-left: 1.5rem;
506
- }
485
+ .border-none {
507
486
  }
@@ -17,7 +17,6 @@
17
17
  padding: 3rem;
18
18
  background-color: #fff;
19
19
  }
20
- border-radius: 0 0 0 16px;
21
20
  }
22
21
  }
23
22
  .pf-v6-c-popover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/manage",
3
- "version": "2.5.66",
3
+ "version": "2.32.2-prodBackup",
4
4
  "description": "Customer Support Manage App",
5
5
  "author": "Jordan Eudy <jeudy100@gmail.com>",
6
6
  "license": "ISC",
@@ -45,7 +45,7 @@
45
45
  "prepublishOnly": "npm run build"
46
46
  },
47
47
  "peerDependencies": {
48
- "@cee-eng/hydrajs": "4.18.86",
48
+ "@cee-eng/hydrajs": "4.18.57",
49
49
  "@patternfly/patternfly": "6.2.1",
50
50
  "@patternfly/react-core": "6.2.1",
51
51
  "@patternfly/react-table": "6.2.1",
@@ -75,16 +75,16 @@
75
75
  "typescript": "^5.3.3"
76
76
  },
77
77
  "dependencies": {
78
- "@cee-eng/hydrajs": "4.18.86",
78
+ "@cee-eng/hydrajs": "4.18.57",
79
79
  "@patternfly/patternfly": "6.2.1",
80
80
  "@patternfly/react-core": "6.2.1",
81
81
  "@patternfly/react-table": "6.2.1",
82
- "@rh-support/components": "2.5.52",
82
+ "@rh-support/components": "2.5.45",
83
83
  "@rh-support/configs": "2.0.21",
84
- "@rh-support/react-context": "2.5.67",
84
+ "@rh-support/react-context": "2.32.2-prodBackup",
85
85
  "@rh-support/types": "2.0.5",
86
- "@rh-support/user-permissions": "2.5.25",
87
- "@rh-support/utils": "2.5.22",
86
+ "@rh-support/user-permissions": "2.5.20",
87
+ "@rh-support/utils": "2.5.19",
88
88
  "@types/react-beautiful-dnd": "^13.0.0",
89
89
  "i18next": "^23.15.0",
90
90
  "lodash": ">=4.17.15",
@@ -103,5 +103,5 @@
103
103
  "defaults and supports es6-module",
104
104
  "maintained node versions"
105
105
  ],
106
- "gitHead": "a79baf6e34ec39cd38980c3d90df797fc5a4b48e"
106
+ "gitHead": "98f1df5d7050c0998559e7c9b355f2e1c5650b46"
107
107
  }