@rh-support/react-context 0.2.60 → 0.2.63-beta.0
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/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/package.json +6 -6
|
@@ -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())));
|
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.63-beta.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"@cee-eng/hydrajs": "4.9.1",
|
|
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.
|
|
48
|
+
"@rh-support/api": "0.3.16-beta.0",
|
|
49
|
+
"@rh-support/components": "1.1.61-beta.0",
|
|
50
50
|
"@rh-support/types": "0.2.0",
|
|
51
|
-
"@rh-support/user-permissions": "0.2.
|
|
52
|
-
"@rh-support/utils": "0.2.
|
|
51
|
+
"@rh-support/user-permissions": "0.2.49-beta.0",
|
|
52
|
+
"@rh-support/utils": "0.2.37-beta.0",
|
|
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": "66b9e765df2035e24ee6ae3ee02289ca5a4eed09"
|
|
93
93
|
}
|