evelearn-theme 2.0.26 → 2.0.28

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/index.js CHANGED
@@ -1972,6 +1972,8 @@ var AnimateLogo = function() {
1972
1972
  className: "animate-spin",
1973
1973
  viewBox: "0 0 600 600",
1974
1974
  children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("g", {
1975
+ height: 176,
1976
+ width: 176,
1975
1977
  children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("path", {
1976
1978
  className: "stroke-black dark:stroke-white text-gray-900 dark:text-gray-50",
1977
1979
  stroke: "currentColor",
@@ -2084,7 +2086,15 @@ var OverlaySpinner = function(param) {
2084
2086
  document.body.appendChild(root);
2085
2087
  }
2086
2088
  setModalRoot(root);
2087
- }, []);
2089
+ return function() {
2090
+ var root2 = document.getElementById("spinner-root");
2091
+ if (root2) {
2092
+ document.body.removeChild(root2);
2093
+ }
2094
+ };
2095
+ }, [
2096
+ visible
2097
+ ]);
2088
2098
  if (!visible || !modalRoot) {
2089
2099
  return null;
2090
2100
  }
@@ -2092,12 +2102,11 @@ var OverlaySpinner = function(param) {
2092
2102
  style: {
2093
2103
  zIndex: 11e3
2094
2104
  },
2095
- className: "animate-fade-in",
2096
2105
  children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {
2097
2106
  style: {
2098
2107
  zIndex: 11001
2099
2108
  },
2100
- className: "fixed top-0 left-0 w-full h-screen flex items-center justify-center dark:bg-black/70 bg-white/60",
2109
+ className: "fixed shrink-0 top-0 left-0 w-full h-screen flex items-center justify-center dark:bg-black/70 bg-white/60",
2101
2110
  children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {
2102
2111
  className: "h-44 w-44 overflow-visible",
2103
2112
  children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(AnimateLogo_default, {})
package/dist/index.mjs CHANGED
@@ -1784,6 +1784,8 @@ var AnimateLogo = function() {
1784
1784
  className: "animate-spin",
1785
1785
  viewBox: "0 0 600 600",
1786
1786
  children: /* @__PURE__ */ jsx35("g", {
1787
+ height: 176,
1788
+ width: 176,
1787
1789
  children: /* @__PURE__ */ jsxs16("path", {
1788
1790
  className: "stroke-black dark:stroke-white text-gray-900 dark:text-gray-50",
1789
1791
  stroke: "currentColor",
@@ -1896,7 +1898,15 @@ var OverlaySpinner = function(param) {
1896
1898
  document.body.appendChild(root);
1897
1899
  }
1898
1900
  setModalRoot(root);
1899
- }, []);
1901
+ return function() {
1902
+ var root2 = document.getElementById("spinner-root");
1903
+ if (root2) {
1904
+ document.body.removeChild(root2);
1905
+ }
1906
+ };
1907
+ }, [
1908
+ visible
1909
+ ]);
1900
1910
  if (!visible || !modalRoot) {
1901
1911
  return null;
1902
1912
  }
@@ -1904,12 +1914,11 @@ var OverlaySpinner = function(param) {
1904
1914
  style: {
1905
1915
  zIndex: 11e3
1906
1916
  },
1907
- className: "animate-fade-in",
1908
1917
  children: /* @__PURE__ */ jsx36("div", {
1909
1918
  style: {
1910
1919
  zIndex: 11001
1911
1920
  },
1912
- className: "fixed top-0 left-0 w-full h-screen flex items-center justify-center dark:bg-black/70 bg-white/60",
1921
+ className: "fixed shrink-0 top-0 left-0 w-full h-screen flex items-center justify-center dark:bg-black/70 bg-white/60",
1913
1922
  children: /* @__PURE__ */ jsx36("div", {
1914
1923
  className: "h-44 w-44 overflow-visible",
1915
1924
  children: /* @__PURE__ */ jsx36(AnimateLogo_default, {})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evelearn-theme",
3
- "version": "2.0.26",
3
+ "version": "2.0.28",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",