@bigbinary/neeto-molecules 3.14.0 → 3.14.1

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.
@@ -1722,7 +1722,7 @@ var ERRORS = {
1722
1722
  }
1723
1723
  };
1724
1724
 
1725
- var css = ".neeto-ui-theme--dark .neeto-molecules-error-code path{fill:rgb(var(--neeto-ui-black))}";
1725
+ 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))}";
1726
1726
  injectCss.n(css,{});
1727
1727
 
1728
1728
  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; }
@@ -1770,21 +1770,21 @@ var ErrorPage = function ErrorPage(_ref) {
1770
1770
  (_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();
1771
1771
  };
1772
1772
  return /*#__PURE__*/jsxRuntime.jsx("div", {
1773
- className: "flex min-h-screen w-full flex-col items-center justify-center",
1773
+ className: "neeto-molecules-error-page__wrapper",
1774
1774
  "data-cy": "error-page-container",
1775
1775
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
1776
- className: "flex max-w-3xl flex-col gap-8 p-4 sm:flex-row sm:gap-12 sm:p-6",
1776
+ className: "neeto-molecules-error-page__container",
1777
1777
  children: [/*#__PURE__*/jsxRuntime.jsx(Image, {
1778
- className: "neeto-molecules-error-code w-full max-w-[150px] sm:max-w-[250px]",
1778
+ className: "neeto-molecules-error-code neeto-molecules-error-page__image",
1779
1779
  "data-cy": "error-image"
1780
1780
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
1781
- className: "flex flex-col",
1781
+ className: "neeto-ui-flex neeto-ui-flex-col",
1782
1782
  children: [/*#__PURE__*/jsxRuntime.jsx(reactHelmet.Helmet, {
1783
1783
  children: /*#__PURE__*/jsxRuntime.jsx("title", {
1784
1784
  children: t(titleKey)
1785
1785
  })
1786
1786
  }), /*#__PURE__*/jsxRuntime.jsx(Typography, {
1787
- className: "mb-4",
1787
+ className: "neeto-ui-mb-4",
1788
1788
  "data-cy": "title",
1789
1789
  style: "h2",
1790
1790
  weight: "semibold",
@@ -1792,14 +1792,14 @@ var ErrorPage = function ErrorPage(_ref) {
1792
1792
  i18nKey: errorKey
1793
1793
  })
1794
1794
  }), !!description && /*#__PURE__*/jsxRuntime.jsx(Typography, {
1795
- className: "mb-4",
1795
+ className: "neeto-ui-mb-4",
1796
1796
  dangerouslySetInnerHTML: {
1797
1797
  __html: sanitize(description)
1798
1798
  },
1799
1799
  "data-cy": "description",
1800
1800
  style: "body1"
1801
1801
  }), showNeetoChatWidget && /*#__PURE__*/jsxRuntime.jsx(Typography, {
1802
- className: "mb-6",
1802
+ className: "neeto-ui-mb-6",
1803
1803
  "data-cy": "title",
1804
1804
  style: "body1",
1805
1805
  children: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
@@ -1814,7 +1814,7 @@ var ErrorPage = function ErrorPage(_ref) {
1814
1814
  }
1815
1815
  })
1816
1816
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
1817
- className: "flex flex-col items-start space-y-3",
1817
+ className: "neeto-molecules-error-page__action-btn",
1818
1818
  children: [/*#__PURE__*/jsxRuntime.jsx(Button, _objectSpread({
1819
1819
  href: homeUrl,
1820
1820
  label: t("neetoMolecules.errorPage.backToHome"),