@rh-support/manage 2.5.55 → 2.5.60

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;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"}
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"}
package/lib/esm/Manage.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import './scss/index.scss';
2
+ //test
2
3
  import { ConfirmationServiceProvider } from '@rh-support/components';
3
4
  import React from 'react';
4
5
  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,qBAqMvC"}
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,qBA0MvC"}
@@ -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 },
139
+ return index === getActiveTabKey() ? (React.createElement(TabContent, { activeKey: getActiveTabKey(), id: tab.id, "aria-label": tab.title, style: { borderRadius: '6px' } },
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));
@@ -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 pf-v6-u-mt-xs" },
117
+ const requestCollaborationButton = () => (React.createElement("div", { className: "toolbar-right" },
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" },
173
+ React.createElement("div", { className: "toolbar secondary-toolbar pf-v6-u-display-flex pf-v6-u-align-items-center" },
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') })),
@@ -42,7 +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
+ justify-content: flex-start !important;
46
46
  padding-left: var(--pf-t--global--spacer--lg);
47
47
  padding-right: var(--pf-t--global--spacer--lg);
48
48
  padding-top: var(--pf-t--global--spacer--md);
@@ -169,6 +169,7 @@
169
169
  margin-bottom: 2rem;
170
170
  border: 1px solid #ccc;
171
171
  border-top: none;
172
+ border-radius: 8px;
172
173
 
173
174
  tbody:first-of-type {
174
175
  border-top: none;
@@ -400,6 +401,8 @@ svg.hostnameSpinner {
400
401
  .pf-v6-c-empty-state__icon {
401
402
  color: var(--pf-t--color--gray--30);
402
403
  }
404
+
405
+ border-radius: 8px;
403
406
  }
404
407
 
405
408
  .pf-v6-c-empty-state__icon {
@@ -484,3 +487,7 @@ svg.hostnameSpinner {
484
487
 
485
488
  .border-none {
486
489
  }
490
+
491
+ div.grid-main.manage {
492
+ border-radius: 0 0 16px 16px !important;
493
+ }
@@ -17,6 +17,7 @@
17
17
  padding: 3rem;
18
18
  background-color: #fff;
19
19
  }
20
+ border-radius: 0 0 0 16px;
20
21
  }
21
22
  }
22
23
  .pf-v6-c-popover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/manage",
3
- "version": "2.5.55",
3
+ "version": "2.5.60",
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.57",
48
+ "@cee-eng/hydrajs": "4.18.84",
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.57",
78
+ "@cee-eng/hydrajs": "4.18.84",
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.45",
82
+ "@rh-support/components": "2.5.47",
83
83
  "@rh-support/configs": "2.0.21",
84
- "@rh-support/react-context": "2.5.45",
84
+ "@rh-support/react-context": "2.5.62",
85
85
  "@rh-support/types": "2.0.5",
86
- "@rh-support/user-permissions": "2.5.20",
87
- "@rh-support/utils": "2.5.19",
86
+ "@rh-support/user-permissions": "2.5.22",
87
+ "@rh-support/utils": "2.5.21",
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": "7c863ffbb7b897925e55fa610b76584e78c6accc"
106
+ "gitHead": "80f5df71ce02c1fa9130373d1f0df60acb24f023"
107
107
  }