@bigbinary/neeto-molecules 3.16.87 → 3.16.88
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.
- package/dist/ErrorPage.js +7 -4
- package/dist/ErrorPage.js.map +1 -1
- package/dist/PhoneNumber.js +2 -2
- package/dist/SessionEnvironment.js +1 -1
- package/dist/cjs/ErrorPage.js +7 -4
- package/dist/cjs/ErrorPage.js.map +1 -1
- package/dist/cjs/PhoneNumber.js +1 -1
- package/dist/cjs/SessionEnvironment.js +1 -1
- package/dist/cjs/{phone-number-DcpFFYZS.js → phone-number-BE-Z-FwN.js} +3 -2
- package/dist/cjs/phone-number-BE-Z-FwN.js.map +1 -0
- package/dist/{phone-number-BxJMWmEj.js → phone-number-BPy1zqqJ.js} +3 -2
- package/dist/phone-number-BPy1zqqJ.js.map +1 -0
- package/package.json +1 -1
- package/types/ErrorPage.d.ts +2 -0
- package/dist/cjs/phone-number-DcpFFYZS.js.map +0 -1
- package/dist/phone-number-BxJMWmEj.js.map +0 -1
package/dist/ErrorPage.js
CHANGED
|
@@ -1716,7 +1716,10 @@ var ErrorPage = function ErrorPage(_ref) {
|
|
|
1716
1716
|
children = _ref.children,
|
|
1717
1717
|
_ref$showNeetoChatWid = _ref.showNeetoChatWidget,
|
|
1718
1718
|
showNeetoChatWidget = _ref$showNeetoChatWid === void 0 ? true : _ref$showNeetoChatWid,
|
|
1719
|
-
description = _ref.description
|
|
1719
|
+
description = _ref.description,
|
|
1720
|
+
title = _ref.title,
|
|
1721
|
+
_ref$hideBackToHomeBu = _ref.hideBackToHomeButton,
|
|
1722
|
+
hideBackToHomeButton = _ref$hideBackToHomeBu === void 0 ? false : _ref$hideBackToHomeBu;
|
|
1720
1723
|
var _useTranslation = useTranslation(),
|
|
1721
1724
|
t = _useTranslation.t;
|
|
1722
1725
|
var _useErrorDisplayStore = useErrorDisplayStore(function (store) {
|
|
@@ -1758,7 +1761,7 @@ var ErrorPage = function ErrorPage(_ref) {
|
|
|
1758
1761
|
className: "neeto-molecules-error-code neeto-molecules-error-page__image",
|
|
1759
1762
|
"data-cy": "error-image"
|
|
1760
1763
|
}), /*#__PURE__*/jsxs("div", {
|
|
1761
|
-
className: "neeto-ui-flex neeto-ui-flex-col",
|
|
1764
|
+
className: "neeto-ui-flex neeto-ui-flex-col justify-center",
|
|
1762
1765
|
children: [/*#__PURE__*/jsx(Helmet, {
|
|
1763
1766
|
children: /*#__PURE__*/jsx("title", {
|
|
1764
1767
|
children: t(titleKey)
|
|
@@ -1768,7 +1771,7 @@ var ErrorPage = function ErrorPage(_ref) {
|
|
|
1768
1771
|
"data-cy": "title",
|
|
1769
1772
|
style: "h2",
|
|
1770
1773
|
weight: "semibold",
|
|
1771
|
-
children: /*#__PURE__*/jsx(Trans, {
|
|
1774
|
+
children: title || /*#__PURE__*/jsx(Trans, {
|
|
1772
1775
|
i18nKey: errorKey
|
|
1773
1776
|
})
|
|
1774
1777
|
}), !!description && /*#__PURE__*/jsx(Typography, {
|
|
@@ -1795,7 +1798,7 @@ var ErrorPage = function ErrorPage(_ref) {
|
|
|
1795
1798
|
})
|
|
1796
1799
|
}), /*#__PURE__*/jsxs("div", {
|
|
1797
1800
|
className: "neeto-molecules-error-page__action-btn",
|
|
1798
|
-
children: [/*#__PURE__*/jsx(Button, _objectSpread({
|
|
1801
|
+
children: [!hideBackToHomeButton && /*#__PURE__*/jsx(Button, _objectSpread({
|
|
1799
1802
|
href: homeUrl,
|
|
1800
1803
|
label: t("neetoMolecules.errorPage.backToHome"),
|
|
1801
1804
|
size: "large",
|