@carbon/ibm-products 2.43.2-canary.27 → 2.43.2-canary.29
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -0
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -0
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -0
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -0
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -0
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -0
- package/package.json +2 -2
@@ -44,6 +44,12 @@ var HTTPError403 = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
44
44
|
}));
|
45
45
|
});
|
46
46
|
|
47
|
+
/**@ts-ignore*/
|
48
|
+
HTTPError403.deprecated = {
|
49
|
+
level: 'warn',
|
50
|
+
details: "Please replace ".concat(componentName, " with FullPageError")
|
51
|
+
};
|
52
|
+
|
47
53
|
// Return a placeholder if not released and not enabled by feature flag
|
48
54
|
HTTPError403 = pkg.checkComponentEnabled(HTTPError403, componentName);
|
49
55
|
|
@@ -44,6 +44,12 @@ var HTTPError404 = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
44
44
|
}));
|
45
45
|
});
|
46
46
|
|
47
|
+
/**@ts-ignore*/
|
48
|
+
HTTPError404.deprecated = {
|
49
|
+
level: 'warn',
|
50
|
+
details: "Please replace ".concat(componentName, " with FullPageError")
|
51
|
+
};
|
52
|
+
|
47
53
|
// Return a placeholder if not released and not enabled by feature flag
|
48
54
|
HTTPError404 = pkg.checkComponentEnabled(HTTPError404, componentName);
|
49
55
|
|
@@ -44,6 +44,12 @@ var HTTPErrorOther = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
44
44
|
}));
|
45
45
|
});
|
46
46
|
|
47
|
+
/**@ts-ignore*/
|
48
|
+
HTTPErrorOther.deprecated = {
|
49
|
+
level: 'warn',
|
50
|
+
details: "Please replace ".concat(componentName, " with FullPageError")
|
51
|
+
};
|
52
|
+
|
47
53
|
// Return a placeholder if not released and not enabled by feature flag
|
48
54
|
HTTPErrorOther = pkg.checkComponentEnabled(HTTPErrorOther, componentName);
|
49
55
|
|
@@ -53,6 +53,12 @@ exports.HTTPError403 = /*#__PURE__*/React__default["default"].forwardRef(functio
|
|
53
53
|
}));
|
54
54
|
});
|
55
55
|
|
56
|
+
/**@ts-ignore*/
|
57
|
+
exports.HTTPError403.deprecated = {
|
58
|
+
level: 'warn',
|
59
|
+
details: "Please replace ".concat(componentName, " with FullPageError")
|
60
|
+
};
|
61
|
+
|
56
62
|
// Return a placeholder if not released and not enabled by feature flag
|
57
63
|
exports.HTTPError403 = settings.pkg.checkComponentEnabled(exports.HTTPError403, componentName);
|
58
64
|
|
@@ -53,6 +53,12 @@ exports.HTTPError404 = /*#__PURE__*/React__default["default"].forwardRef(functio
|
|
53
53
|
}));
|
54
54
|
});
|
55
55
|
|
56
|
+
/**@ts-ignore*/
|
57
|
+
exports.HTTPError404.deprecated = {
|
58
|
+
level: 'warn',
|
59
|
+
details: "Please replace ".concat(componentName, " with FullPageError")
|
60
|
+
};
|
61
|
+
|
56
62
|
// Return a placeholder if not released and not enabled by feature flag
|
57
63
|
exports.HTTPError404 = settings.pkg.checkComponentEnabled(exports.HTTPError404, componentName);
|
58
64
|
|
@@ -53,6 +53,12 @@ exports.HTTPErrorOther = /*#__PURE__*/React__default["default"].forwardRef(funct
|
|
53
53
|
}));
|
54
54
|
});
|
55
55
|
|
56
|
+
/**@ts-ignore*/
|
57
|
+
exports.HTTPErrorOther.deprecated = {
|
58
|
+
level: 'warn',
|
59
|
+
details: "Please replace ".concat(componentName, " with FullPageError")
|
60
|
+
};
|
61
|
+
|
56
62
|
// Return a placeholder if not released and not enabled by feature flag
|
57
63
|
exports.HTTPErrorOther = settings.pkg.checkComponentEnabled(exports.HTTPErrorOther, componentName);
|
58
64
|
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "2.43.2-canary.
|
4
|
+
"version": "2.43.2-canary.29+6505e1c58",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -119,5 +119,5 @@
|
|
119
119
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
120
120
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
121
121
|
},
|
122
|
-
"gitHead": "
|
122
|
+
"gitHead": "6505e1c58cab0d12f861411016568d7f41531cd1"
|
123
123
|
}
|