@rh-support/manage 2.1.9 → 2.1.10
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.
- package/lib/esm/ManageTab.d.ts +1 -0
- package/lib/esm/ManageTab.d.ts.map +1 -1
- package/lib/esm/ManageTab.js +1 -1
- package/lib/esm/ManageTabs.js +1 -1
- package/lib/esm/components/ManageBookmarkedAccountsTab/ManageGroupedBookmarkedAccountsTab.js +1 -1
- package/lib/esm/components/ManageTable/ManageTable.d.ts.map +1 -1
- package/lib/esm/components/ManageTable/ManageTable.js +1 -1
- package/package.json +6 -6
package/lib/esm/ManageTab.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManageTab.d.ts","sourceRoot":"","sources":["../../src/ManageTab.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,UAAU,MAAM;IACZ,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ManageTab.d.ts","sourceRoot":"","sources":["../../src/ManageTab.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,UAAU,MAAM;IACZ,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,eAmBtC"}
|
package/lib/esm/ManageTab.js
CHANGED
|
@@ -8,5 +8,5 @@ export function ManageTab(props) {
|
|
|
8
8
|
React.createElement("pfe-tab", { role: "heading", slot: "tab", "data-tracking-id": tab['data-tracking-id'], onClick: tab.onClick },
|
|
9
9
|
React.createElement(Trans, null, tab.title)),
|
|
10
10
|
React.createElement("pfe-tab-panel", { role: "region", slot: "panel" },
|
|
11
|
-
React.createElement(ErrorBoundary, { errorMsgInfo: t('There was an error loading manage tab. Please try refreshing the page.'), isPageLevelError: true }, tab.component))));
|
|
11
|
+
React.createElement(ErrorBoundary, { errorMsgInfo: t('There was an error loading manage tab. Please try refreshing the page.'), isPageLevelError: true }, props.loadComponent && tab.component))));
|
|
12
12
|
}
|
package/lib/esm/ManageTabs.js
CHANGED
|
@@ -119,5 +119,5 @@ export function ManageTabs(props) {
|
|
|
119
119
|
* Render array with tabs
|
|
120
120
|
*/
|
|
121
121
|
return (React.createElement("div", { className: "grid-main manage" },
|
|
122
|
-
React.createElement("pfe-tabs", { "pfe-variant": "earth", "selected-index": getSelectedIndex(), vertical: true }, map(tabsToRender, (tab) => (React.createElement(ManageTab, { tab: tab, key: tab.key }))))));
|
|
122
|
+
React.createElement("pfe-tabs", { "pfe-variant": "earth", "selected-index": getSelectedIndex(), vertical: true }, map(tabsToRender, (tab, index) => (React.createElement(ManageTab, { tab: tab, key: tab.key, loadComponent: index === getSelectedIndex() }))))));
|
|
123
123
|
}
|
package/lib/esm/components/ManageBookmarkedAccountsTab/ManageGroupedBookmarkedAccountsTab.js
CHANGED
|
@@ -259,7 +259,7 @@ export function ManageGroupedBookmarkedAccountsTab({ canManageBookmarkAccounts }
|
|
|
259
259
|
"bookmarks in the customer support tool"))), closeBtnAriaLabel: "Close" },
|
|
260
260
|
React.createElement(InfoCircleIcon, { className: "pf-u-ml-xs", "aria-label": "Cluster Id Info", size: "sm" }))))),
|
|
261
261
|
React.createElement("div", { className: "toolbar" },
|
|
262
|
-
React.createElement("form", { className: "toolbar-left" },
|
|
262
|
+
React.createElement("form", { onSubmit: (event) => event.preventDefault(), className: "toolbar-left" },
|
|
263
263
|
React.createElement("label", { htmlFor: "bookmark-account-selector" },
|
|
264
264
|
React.createElement(Trans, null, "Search accounts")),
|
|
265
265
|
React.createElement("span", { className: "bookmark-account" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManageTable.d.ts","sourceRoot":"","sources":["../../../../src/components/ManageTable/ManageTable.tsx"],"names":[],"mappings":"AAAA,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CAAC;IAClB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAGrB,cAAc,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IAEjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAElC,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AA0BD,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,eAkDxC"}
|
|
@@ -34,7 +34,7 @@ export function ManageTable(props) {
|
|
|
34
34
|
const { ariaLabel, errorComponent, errorTitle, errorVariant, isError, isFetching, sortInfo, actions, keepPageNumberOnDataChange, areActionsDisabled, actionResolver } = props, tableProps = __rest(props, ["ariaLabel", "errorComponent", "errorTitle", "errorVariant", "isError", "isFetching", "sortInfo", "actions", "keepPageNumberOnDataChange", "areActionsDisabled", "actionResolver"]);
|
|
35
35
|
return (React.createElement("div", { className: "table-wrapper" },
|
|
36
36
|
isError && (React.createElement(React.Fragment, null,
|
|
37
|
-
React.createElement(Alert, { variant: errorVariant, title: errorTitle, actionClose: React.createElement(AlertActionCloseButton, null) }, errorComponent))),
|
|
37
|
+
React.createElement(Alert, { variant: errorVariant, isInline: true, title: errorTitle, actionClose: React.createElement(AlertActionCloseButton, null), className: "pf-u-my-sm" }, errorComponent))),
|
|
38
38
|
React.createElement(Table, Object.assign({}, tableProps),
|
|
39
39
|
React.createElement(PFTable, { sortInfo: sortInfo, "aria-label": ariaLabel, pagination: true, emptyStateRow: noResultFoundRow(props.noResultText), actions: actions, areActionsDisabled: areActionsDisabled, actionResolver: actionResolver, isLoading: isFetching, keepPageNumberOnDataChange: keepPageNumberOnDataChange }),
|
|
40
40
|
tableProps.data.length > 0 && (React.createElement("footer", null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/manage",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.10",
|
|
4
4
|
"description": "Customer Support Manage App",
|
|
5
5
|
"author": "Jordan Eudy <jeudy100@gmail.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"@patternfly/pfe-tabs": "1.12.3",
|
|
85
85
|
"@patternfly/react-core": "4.264.0",
|
|
86
86
|
"@patternfly/react-table": "4.111.33",
|
|
87
|
-
"@rh-support/components": "2.1.
|
|
87
|
+
"@rh-support/components": "2.1.9",
|
|
88
88
|
"@rh-support/configs": "2.0.9",
|
|
89
|
-
"@rh-support/react-context": "2.1.
|
|
89
|
+
"@rh-support/react-context": "2.1.9",
|
|
90
90
|
"@rh-support/types": "2.0.2",
|
|
91
|
-
"@rh-support/user-permissions": "2.1.
|
|
92
|
-
"@rh-support/utils": "2.1.
|
|
91
|
+
"@rh-support/user-permissions": "2.1.4",
|
|
92
|
+
"@rh-support/utils": "2.1.2",
|
|
93
93
|
"@types/react-beautiful-dnd": "^13.0.0",
|
|
94
94
|
"i18next": ">=17.0.1",
|
|
95
95
|
"lodash": ">=4.17.15",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"defaults and supports es6-module",
|
|
104
104
|
"maintained node versions"
|
|
105
105
|
],
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "8f7f0aee0461c78e8a5cc0e16777371c4ae1305d"
|
|
107
107
|
}
|