@rh-support/react-context 0.2.60 → 0.2.64
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/README.md +2 -0
- package/lib/esm/components/HostnameAwarenessModal/HostnameAwarenessModal.d.ts +1 -0
- package/lib/esm/components/HostnameAwarenessModal/HostnameAwarenessModal.d.ts.map +1 -1
- package/lib/esm/components/HostnameAwarenessModal/HostnameAwarenessModal.js +3 -1
- package/lib/esm/components/HostnameAwarenessModal/hostnameAwarenessModal.css +3 -0
- package/lib/esm/reducers/GlobalMetadataReducer.js +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostnameAwarenessModal.d.ts","sourceRoot":"","sources":["../../../../src/components/HostnameAwarenessModal/HostnameAwarenessModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HostnameAwarenessModal.d.ts","sourceRoot":"","sources":["../../../../src/components/HostnameAwarenessModal/HostnameAwarenessModal.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAWtC,eAAO,MAAM,sBAAsB,mBAmIlC,CAAC"}
|
|
@@ -7,6 +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 './hostnameAwarenessModal.css';
|
|
10
11
|
import { accounts } from '@cee-eng/hydrajs';
|
|
11
12
|
import { Button, Checkbox, Modal, ModalVariant, Switch } from '@patternfly/react-core';
|
|
12
13
|
import { useFetch } from '@rh-support/components';
|
|
@@ -96,7 +97,8 @@ export const HostnameAwarenessModal = () => {
|
|
|
96
97
|
return (React.createElement(React.Fragment, null,
|
|
97
98
|
React.createElement(Modal, { variant: ModalVariant.medium, title: "Hostname Visibility", isOpen: isModalOpen, onClose: onCloseModal, actions: [
|
|
98
99
|
React.createElement(Button, { "data-tracking-id": "close-hostname-modal", key: "close", variant: "primary", onClick: onCloseModal }, "Close"),
|
|
99
|
-
React.createElement(
|
|
100
|
+
React.createElement("div", { className: "dontAskCheckbox" },
|
|
101
|
+
React.createElement(Checkbox, { label: "Don't ask me again", id: "dont-ask-again", "data-tracking-id": "dont-ask-again-hostname-modal", onClick: onDoNotAskAgain })),
|
|
100
102
|
] },
|
|
101
103
|
"Share hostnames with our support professionals for a smoother experience.",
|
|
102
104
|
modalBody())));
|
|
@@ -588,7 +588,7 @@ export const fetchManagedAccounts = (dispatch, token) => __awaiter(void 0, void
|
|
|
588
588
|
type: GlobalMetadataReducerConstants.setManagedAccounts,
|
|
589
589
|
payload: { managedAccounts: getApiResourceObject([], true) },
|
|
590
590
|
});
|
|
591
|
-
const managedAccounts = yield accounts.getCustomerAccountsForAPartner(token.account_number);
|
|
591
|
+
const managedAccounts = yield accounts.getCustomerAccountsForAPartner(token.account_number, null, true);
|
|
592
592
|
dispatch({
|
|
593
593
|
type: GlobalMetadataReducerConstants.setManagedAccounts,
|
|
594
594
|
payload: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/react-context",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.64",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"lib/**/*"
|
|
27
27
|
],
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@cee-eng/hydrajs": "4.
|
|
29
|
+
"@cee-eng/hydrajs": "4.10.0",
|
|
30
30
|
"@patternfly/react-core": "4.202.16",
|
|
31
31
|
"@patternfly/react-icons": "4.53.16",
|
|
32
32
|
"@rh-support/api": "0.3.9",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"react-test-renderer": "17.0.1"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@cee-eng/hydrajs": "4.
|
|
45
|
+
"@cee-eng/hydrajs": "4.10.0",
|
|
46
46
|
"@patternfly/react-core": "4.202.16",
|
|
47
47
|
"@patternfly/react-icons": "4.53.16",
|
|
48
|
-
"@rh-support/api": "0.3.
|
|
49
|
-
"@rh-support/components": "1.1.
|
|
50
|
-
"@rh-support/types": "0.
|
|
51
|
-
"@rh-support/user-permissions": "0.2.
|
|
52
|
-
"@rh-support/utils": "0.2.
|
|
48
|
+
"@rh-support/api": "0.3.18",
|
|
49
|
+
"@rh-support/components": "1.1.62",
|
|
50
|
+
"@rh-support/types": "0.3.0",
|
|
51
|
+
"@rh-support/user-permissions": "0.2.50",
|
|
52
|
+
"@rh-support/utils": "0.2.39",
|
|
53
53
|
"i18next": "^19.0.1",
|
|
54
54
|
"localforage": "^1.7.3",
|
|
55
55
|
"lodash": "^4.17.15",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"not ie <= 11",
|
|
90
90
|
"not op_mini all"
|
|
91
91
|
],
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "d079ee3127aa11ae00fa9febdf6519e9005140df"
|
|
93
93
|
}
|