@rh-support/react-context 0.3.0 → 0.3.3
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":"GlobalContextWrapper.d.ts","sourceRoot":"","sources":["../../src/GlobalContextWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GlobalContextWrapper.d.ts","sourceRoot":"","sources":["../../src/GlobalContextWrapper.tsx"],"names":[],"mappings":"AAmBA,UAAU,MAAM;IACZ,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;CACzC;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,SAAS,EAAE,GAAG,CAAC;QACf,oBAAoB,EAAE,GAAG,CAAC;QAC1B,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,MAAM,OAAA,KAAK,GAAG,KAAK,GAAG,CAAC;QAC9E,MAAM,EAAE,GAAG,CAAC;QACZ,KAAK,EAAE,GAAG,CAAC;QACX,eAAe,EAAE,GAAG,CAAC;KACxB;IAED,UAAU,QAAQ;QACd,YAAY,EAAE,GAAG,CAAC;KACrB;CACJ;AA6FD,eAAO,MAAM,oBAAoB,UAAW,MAAM,gBAKjD,CAAC"}
|
|
@@ -8,9 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { accounts, Config } from '@cee-eng/hydrajs';
|
|
11
|
-
import { setSecuredSupport, setStrataHeaders } from '@rh-support/api';
|
|
12
11
|
import { LoginModal } from '@rh-support/components';
|
|
13
|
-
import { getApiResourceObject } from '@rh-support/utils';
|
|
12
|
+
import { getApiResourceObject, setSecuredSupport, setStrataHeaders } from '@rh-support/utils';
|
|
14
13
|
import isEmpty from 'lodash/isEmpty';
|
|
15
14
|
import React, { useEffect, useState } from 'react';
|
|
16
15
|
import { GlobalMetadataContextProvider, GlobalMetadataDispatchContext } from './context/GlobalMetadataContext';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostnameAwarenessModal.d.ts","sourceRoot":"","sources":["../../../../src/components/HostnameAwarenessModal/HostnameAwarenessModal.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAatC,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"HostnameAwarenessModal.d.ts","sourceRoot":"","sources":["../../../../src/components/HostnameAwarenessModal/HostnameAwarenessModal.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAatC,eAAO,MAAM,sBAAsB,mBAkJlC,CAAC"}
|
|
@@ -109,6 +109,6 @@ export const HostnameAwarenessModal = () => {
|
|
|
109
109
|
React.createElement(Checkbox, { label: "Don't ask me again", id: "dont-ask-again", "data-tracking-id": "dont-ask-again-hostname-modal", onClick: onDoNotAskAgain })),
|
|
110
110
|
] },
|
|
111
111
|
React.createElement("div", null,
|
|
112
|
-
React.createElement(Trans, null, "Red Hat Support
|
|
112
|
+
React.createElement(Trans, null, "Red Hat Support cannot currently access hostnames that have been entered on a case. You can share this information at any time to improve your support experience, or you can ignore this.")),
|
|
113
113
|
modalBody())));
|
|
114
114
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/react-context",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -29,13 +29,12 @@
|
|
|
29
29
|
"@cee-eng/hydrajs": "4.12.7",
|
|
30
30
|
"@patternfly/react-core": "4.202.16",
|
|
31
31
|
"@patternfly/react-icons": "4.53.16",
|
|
32
|
-
"@rh-support/api": "0.3.9",
|
|
33
32
|
"@rh-support/components": "^0.1.3",
|
|
34
33
|
"@rh-support/types": "^0.1.3",
|
|
35
34
|
"@rh-support/user-permissions": "^0.1.3",
|
|
36
35
|
"@rh-support/utils": "^0.1.3",
|
|
37
36
|
"i18next": "^19.0.1",
|
|
38
|
-
"lodash": "^4.17.
|
|
37
|
+
"lodash": "^4.17.21",
|
|
39
38
|
"react": "17.0.2",
|
|
40
39
|
"react-dom": "17.0.2",
|
|
41
40
|
"react-i18next": "^11.2.5",
|
|
@@ -45,14 +44,13 @@
|
|
|
45
44
|
"@cee-eng/hydrajs": "4.12.7",
|
|
46
45
|
"@patternfly/react-core": "4.202.16",
|
|
47
46
|
"@patternfly/react-icons": "4.53.16",
|
|
48
|
-
"@rh-support/
|
|
49
|
-
"@rh-support/components": "1.1.80",
|
|
47
|
+
"@rh-support/components": "1.1.83",
|
|
50
48
|
"@rh-support/types": "0.2.0",
|
|
51
|
-
"@rh-support/user-permissions": "0.2.
|
|
52
|
-
"@rh-support/utils": "0.2.
|
|
49
|
+
"@rh-support/user-permissions": "0.2.67",
|
|
50
|
+
"@rh-support/utils": "0.2.49",
|
|
53
51
|
"i18next": "^19.0.1",
|
|
54
52
|
"localforage": "^1.7.3",
|
|
55
|
-
"lodash": "^4.17.
|
|
53
|
+
"lodash": "^4.17.21",
|
|
56
54
|
"react": "17.0.2",
|
|
57
55
|
"react-dom": "17.0.2",
|
|
58
56
|
"react-i18next": "^11.2.5",
|
|
@@ -89,5 +87,5 @@
|
|
|
89
87
|
"not ie <= 11",
|
|
90
88
|
"not op_mini all"
|
|
91
89
|
],
|
|
92
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "8ad6dda321ad690b179be7346240345a57f1749b"
|
|
93
91
|
}
|