@rh-support/cases 2.1.8-beta.0 → 2.1.9
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,3 +1,4 @@
|
|
|
1
|
+
import { IPfeCollapse } from '@rh-support/types/pfe/pfe-collapse';
|
|
1
2
|
import { RouteComponentProps } from 'react-router-dom';
|
|
2
3
|
export interface ICasesRouteURLParams {
|
|
3
4
|
}
|
|
@@ -18,6 +19,10 @@ declare global {
|
|
|
18
19
|
hydrajs: string;
|
|
19
20
|
};
|
|
20
21
|
}
|
|
22
|
+
namespace JSX {
|
|
23
|
+
interface IntrinsicElements extends IPfeCollapse {
|
|
24
|
+
}
|
|
25
|
+
}
|
|
21
26
|
interface Document {
|
|
22
27
|
documentMode: any;
|
|
23
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,mBAAmB,EAAU,MAAM,kBAAkB,CAAC;AAMhF,MAAM,WAAW,oBAAoB;CAAG;AACxC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;IACtD,QAAQ,EAAE,MAAM,CAAC;CACpB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGlE,OAAO,EAAmB,mBAAmB,EAAU,MAAM,kBAAkB,CAAC;AAMhF,MAAM,WAAW,oBAAoB;CAAG;AACxC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;IACtD,QAAQ,EAAE,MAAM,CAAC;CACpB;AAQD,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;QACrB,aAAa,EAAE;YACX,cAAc,EAAE,MAAM,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;KACL;IAED,UAAU,GAAG,CAAC;QACV,UAAU,iBAAkB,SAAQ,YAAY;SAAG;KACtD;IAED,UAAU,QAAQ;QACd,YAAY,EAAE,GAAG,CAAC;KACrB;CACJ;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,eAiBlC"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
import { CustomElements, requireCustomElement } from '@rh-support/utils';
|
|
1
2
|
import React, { useEffect } from 'react';
|
|
2
3
|
import { Redirect, Route, Switch } from 'react-router-dom';
|
|
3
4
|
import RouteUtils from '../utils/routeUtils';
|
|
4
5
|
import { CaseList } from './case-list/CaseList';
|
|
5
6
|
import { PartnerEscalation } from './escalations/PartnerEscalation';
|
|
7
|
+
requireCustomElement([
|
|
8
|
+
{
|
|
9
|
+
element: CustomElements.pfeCollapse,
|
|
10
|
+
requireCb: () => require('@patternfly/pfe-collapse'),
|
|
11
|
+
},
|
|
12
|
+
]);
|
|
6
13
|
export function Cases(props) {
|
|
7
14
|
RouteUtils.casesBasePath = props.basePath || '';
|
|
8
15
|
// Loading app metadata
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@cee-eng/hydrajs": "4.15.87",
|
|
30
30
|
"@patternfly/patternfly": "4.196.7",
|
|
31
|
+
"@patternfly/pfe-collapse": "1.12.3",
|
|
31
32
|
"@patternfly/react-core": "4.264.0",
|
|
32
33
|
"@patternfly/react-table": "4.111.33",
|
|
33
34
|
"i18next": "^19.0.1",
|
|
@@ -42,13 +43,14 @@
|
|
|
42
43
|
"dependencies": {
|
|
43
44
|
"@cee-eng/hydrajs": "4.15.87",
|
|
44
45
|
"@patternfly/patternfly": "4.196.7",
|
|
46
|
+
"@patternfly/pfe-collapse": "1.12.3",
|
|
45
47
|
"@patternfly/react-core": "4.264.0",
|
|
46
48
|
"@patternfly/react-table": "4.111.33",
|
|
47
|
-
"@rh-support/components": "2.1.
|
|
48
|
-
"@rh-support/react-context": "2.1.
|
|
49
|
+
"@rh-support/components": "2.1.9",
|
|
50
|
+
"@rh-support/react-context": "2.1.9",
|
|
49
51
|
"@rh-support/types": "2.0.2",
|
|
50
|
-
"@rh-support/user-permissions": "2.1.
|
|
51
|
-
"@rh-support/utils": "2.1.
|
|
52
|
+
"@rh-support/user-permissions": "2.1.4",
|
|
53
|
+
"@rh-support/utils": "2.1.2",
|
|
52
54
|
"i18next": "^19.0.1",
|
|
53
55
|
"localforage": "^1.10.0",
|
|
54
56
|
"lodash": "^4.17.21",
|
|
@@ -91,5 +93,5 @@
|
|
|
91
93
|
"defaults and supports es6-module",
|
|
92
94
|
"maintained node versions"
|
|
93
95
|
],
|
|
94
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "8f7f0aee0461c78e8a5cc0e16777371c4ae1305d"
|
|
95
97
|
}
|