@rh-support/components 2.0.2-beta.0 → 2.0.4

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":"errorMessage.d.ts","sourceRoot":"","sources":["../../../src/helperFunctions/errorMessage.tsx"],"names":[],"mappings":";AAAA,OAAO,qBAAqB,CAAC;AAS7B,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,SAAS;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CACxC;AAsDD,iBAAS,wBAAwB,CAAC,KAAK,KAAA,EAAE,aAAa,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,CAwCxF;AAED,iBAAS,iBAAiB,CAAC,KAAK,KAAA,EAAE,WAAW,CAAC,EAAE,SAAS,GAAG,MAAM,CAIjE;AAED,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"errorMessage.d.ts","sourceRoot":"","sources":["../../../src/helperFunctions/errorMessage.tsx"],"names":[],"mappings":";AAAA,OAAO,qBAAqB,CAAC;AAS7B,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,SAAS;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CACxC;AAoDD,iBAAS,wBAAwB,CAAC,KAAK,KAAA,EAAE,aAAa,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,CAwCxF;AAED,iBAAS,iBAAiB,CAAC,KAAK,KAAA,EAAE,WAAW,CAAC,EAAE,SAAS,GAAG,MAAM,CAIjE;AAED,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,CAAC"}
@@ -29,7 +29,7 @@ var defaultErrorObj = {
29
29
  message: (react_1.default.createElement("p", null,
30
30
  "You are not authorized to do this action. Please",
31
31
  ' ',
32
- react_1.default.createElement("a", { href: "/support/contact/customerService.html" }, "contact Customer Service"),
32
+ react_1.default.createElement("a", { href: "/support/contact/customerService" }, "contact Customer Service"),
33
33
  " if you think this is an error.")),
34
34
  },
35
35
  404: {
@@ -37,7 +37,7 @@ var defaultErrorObj = {
37
37
  message: (react_1.default.createElement("p", null,
38
38
  "The resource that you are looking for doesn't exist. Please",
39
39
  ' ',
40
- react_1.default.createElement("a", { href: "/support/contact/customerService.html" }, "contact Customer Service"),
40
+ react_1.default.createElement("a", { href: "/support/contact/customerService" }, "contact Customer Service"),
41
41
  " if you think this is an error.")),
42
42
  },
43
43
  };
@@ -63,7 +63,7 @@ function formattedApiErrorMessage(error, customMessage) {
63
63
  error.detailMessage || '',
64
64
  react_1.default.createElement("br", null),
65
65
  "Please ",
66
- react_1.default.createElement("a", { href: "/support/contact/customerService.html" }, "contact Customer Service"),
66
+ react_1.default.createElement("a", { href: "/support/contact/customerService" }, "contact Customer Service"),
67
67
  " if you think this is an error."));
68
68
  }
69
69
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"errorMessage.d.ts","sourceRoot":"","sources":["../../../src/helperFunctions/errorMessage.tsx"],"names":[],"mappings":";AAAA,OAAO,qBAAqB,CAAC;AAS7B,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,SAAS;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CACxC;AAsDD,iBAAS,wBAAwB,CAAC,KAAK,KAAA,EAAE,aAAa,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,CAwCxF;AAED,iBAAS,iBAAiB,CAAC,KAAK,KAAA,EAAE,WAAW,CAAC,EAAE,SAAS,GAAG,MAAM,CAIjE;AAED,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"errorMessage.d.ts","sourceRoot":"","sources":["../../../src/helperFunctions/errorMessage.tsx"],"names":[],"mappings":";AAAA,OAAO,qBAAqB,CAAC;AAS7B,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,SAAS;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CACxC;AAoDD,iBAAS,wBAAwB,CAAC,KAAK,KAAA,EAAE,aAAa,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,CAwCxF;AAED,iBAAS,iBAAiB,CAAC,KAAK,KAAA,EAAE,WAAW,CAAC,EAAE,SAAS,GAAG,MAAM,CAIjE;AAED,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,CAAC"}
@@ -23,7 +23,7 @@ const defaultErrorObj = {
23
23
  message: (React.createElement("p", null,
24
24
  "You are not authorized to do this action. Please",
25
25
  ' ',
26
- React.createElement("a", { href: "/support/contact/customerService.html" }, "contact Customer Service"),
26
+ React.createElement("a", { href: "/support/contact/customerService" }, "contact Customer Service"),
27
27
  " if you think this is an error.")),
28
28
  },
29
29
  404: {
@@ -31,7 +31,7 @@ const defaultErrorObj = {
31
31
  message: (React.createElement("p", null,
32
32
  "The resource that you are looking for doesn't exist. Please",
33
33
  ' ',
34
- React.createElement("a", { href: "/support/contact/customerService.html" }, "contact Customer Service"),
34
+ React.createElement("a", { href: "/support/contact/customerService" }, "contact Customer Service"),
35
35
  " if you think this is an error.")),
36
36
  },
37
37
  };
@@ -57,7 +57,7 @@ function formattedApiErrorMessage(error, customMessage) {
57
57
  error.detailMessage || '',
58
58
  React.createElement("br", null),
59
59
  "Please ",
60
- React.createElement("a", { href: "/support/contact/customerService.html" }, "contact Customer Service"),
60
+ React.createElement("a", { href: "/support/contact/customerService" }, "contact Customer Service"),
61
61
  " if you think this is an error."));
62
62
  }
63
63
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/components",
3
- "version": "2.0.2-beta.0",
3
+ "version": "2.0.4",
4
4
  "description": "Contains all reusabel components for support app",
5
5
  "author": "Vikas Rathee <vrathee@redhat.com>",
6
6
  "license": "ISC",
@@ -85,8 +85,8 @@
85
85
  "@patternfly/react-core": "4.264.0",
86
86
  "@patternfly/react-table": "4.111.33",
87
87
  "@rh-support/types": "2.0.1",
88
- "@rh-support/user-permissions": "2.0.1-beta.0",
89
- "@rh-support/utils": "2.0.1-beta.0",
88
+ "@rh-support/user-permissions": "2.0.4",
89
+ "@rh-support/utils": "2.0.4",
90
90
  "@storybook/addon-a11y": "^5.3.19",
91
91
  "@storybook/addon-actions": "^5.3.19",
92
92
  "@storybook/addon-docs": "^5.3.19",
@@ -131,5 +131,5 @@
131
131
  "not ie <= 11",
132
132
  "not op_mini all"
133
133
  ],
134
- "gitHead": "d8aaf95219bd66267ccfeef0d708d88dadc60766"
134
+ "gitHead": "30c2ea68d7e31306b5bce11d448f45070f97f7cd"
135
135
  }