@rh-support/react-context 0.2.60 → 0.2.63

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,2 +1,3 @@
1
+ import './hostnameAwarenessModal.css';
1
2
  export declare const HostnameAwarenessModal: () => JSX.Element;
2
3
  //# sourceMappingURL=HostnameAwarenessModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HostnameAwarenessModal.d.ts","sourceRoot":"","sources":["../../../../src/components/HostnameAwarenessModal/HostnameAwarenessModal.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,sBAAsB,mBAiIlC,CAAC"}
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(Checkbox, { label: "Don't ask me again", id: "dont-ask-again", "data-tracking-id": "dont-ask-again-hostname-modal", onClick: onDoNotAskAgain }),
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())));
@@ -0,0 +1,3 @@
1
+ div.dontAskCheckbox div.pf-c-check label.pf-c-check__label {
2
+ line-height: 1;
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/react-context",
3
- "version": "0.2.60",
3
+ "version": "0.2.63",
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.15",
49
- "@rh-support/components": "1.1.59",
48
+ "@rh-support/api": "0.3.16",
49
+ "@rh-support/components": "1.1.61",
50
50
  "@rh-support/types": "0.2.0",
51
- "@rh-support/user-permissions": "0.2.47",
52
- "@rh-support/utils": "0.2.36",
51
+ "@rh-support/user-permissions": "0.2.49",
52
+ "@rh-support/utils": "0.2.37",
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": "c5cd879a2db2a9d1761c8a62eaac17d94a9f1204"
92
+ "gitHead": "db6de819479468586b86d6d8a6f0fe6713baddd8"
93
93
  }