@bigbinary/neeto-molecules 3.14.0 → 3.14.2

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 CHANGED
@@ -1702,7 +1702,7 @@ var ERRORS = {
1702
1702
  }
1703
1703
  };
1704
1704
 
1705
- var css = ".neeto-ui-theme--dark .neeto-molecules-error-code path{fill:rgb(var(--neeto-ui-black))}";
1705
+ var css = ".neeto-molecules-error-page__wrapper{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:100vh;width:100%}.neeto-molecules-error-page__container{display:flex;flex-direction:column;gap:32px;max-width:768px;padding:16px}@media (min-width:640px){.neeto-molecules-error-page__container{flex-direction:row;gap:48px;padding:24px}}.neeto-molecules-error-page__image{max-width:150px;width:100%}@media (min-width:640px){.neeto-molecules-error-page__image{max-width:250px}}.neeto-molecules-error-page__action-btn{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.neeto-molecules-error-page__action-btn a{text-decoration:none}.neeto-ui-theme--dark .neeto-molecules-error-code path{fill:rgb(var(--neeto-ui-black))}";
1706
1706
  n(css,{});
1707
1707
 
1708
1708
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -1750,21 +1750,21 @@ var ErrorPage = function ErrorPage(_ref) {
1750
1750
  (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
1751
1751
  };
1752
1752
  return /*#__PURE__*/jsx("div", {
1753
- className: "flex min-h-screen w-full flex-col items-center justify-center",
1753
+ className: "neeto-molecules-error-page__wrapper",
1754
1754
  "data-cy": "error-page-container",
1755
1755
  children: /*#__PURE__*/jsxs("div", {
1756
- className: "flex max-w-3xl flex-col gap-8 p-4 sm:flex-row sm:gap-12 sm:p-6",
1756
+ className: "neeto-molecules-error-page__container",
1757
1757
  children: [/*#__PURE__*/jsx(Image, {
1758
- className: "neeto-molecules-error-code w-full max-w-[150px] sm:max-w-[250px]",
1758
+ className: "neeto-molecules-error-code neeto-molecules-error-page__image",
1759
1759
  "data-cy": "error-image"
1760
1760
  }), /*#__PURE__*/jsxs("div", {
1761
- className: "flex flex-col",
1761
+ className: "neeto-ui-flex neeto-ui-flex-col",
1762
1762
  children: [/*#__PURE__*/jsx(Helmet, {
1763
1763
  children: /*#__PURE__*/jsx("title", {
1764
1764
  children: t(titleKey)
1765
1765
  })
1766
1766
  }), /*#__PURE__*/jsx(Typography, {
1767
- className: "mb-4",
1767
+ className: "neeto-ui-mb-4",
1768
1768
  "data-cy": "title",
1769
1769
  style: "h2",
1770
1770
  weight: "semibold",
@@ -1772,14 +1772,14 @@ var ErrorPage = function ErrorPage(_ref) {
1772
1772
  i18nKey: errorKey
1773
1773
  })
1774
1774
  }), !!description && /*#__PURE__*/jsx(Typography, {
1775
- className: "mb-4",
1775
+ className: "neeto-ui-mb-4",
1776
1776
  dangerouslySetInnerHTML: {
1777
1777
  __html: sanitize(description)
1778
1778
  },
1779
1779
  "data-cy": "description",
1780
1780
  style: "body1"
1781
1781
  }), showNeetoChatWidget && /*#__PURE__*/jsx(Typography, {
1782
- className: "mb-6",
1782
+ className: "neeto-ui-mb-6",
1783
1783
  "data-cy": "title",
1784
1784
  style: "body1",
1785
1785
  children: /*#__PURE__*/jsx(Trans, {
@@ -1794,7 +1794,7 @@ var ErrorPage = function ErrorPage(_ref) {
1794
1794
  }
1795
1795
  })
1796
1796
  }), /*#__PURE__*/jsxs("div", {
1797
- className: "flex flex-col items-start space-y-3",
1797
+ className: "neeto-molecules-error-page__action-btn",
1798
1798
  children: [/*#__PURE__*/jsx(Button, _objectSpread({
1799
1799
  href: homeUrl,
1800
1800
  label: t("neetoMolecules.errorPage.backToHome"),