evelearn-theme 2.0.26 → 2.0.27

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,6 +2086,12 @@ var OverlaySpinner = function(param) {
2084
2086
  document.body.appendChild(root);
2085
2087
  }
2086
2088
  setModalRoot(root);
2089
+ return function() {
2090
+ var root2 = document.getElementById("spinner-root");
2091
+ if (root2) {
2092
+ document.body.removeChild(root2);
2093
+ }
2094
+ };
2087
2095
  }, []);
2088
2096
  if (!visible || !modalRoot) {
2089
2097
  return null;
@@ -2092,12 +2100,11 @@ var OverlaySpinner = function(param) {
2092
2100
  style: {
2093
2101
  zIndex: 11e3
2094
2102
  },
2095
- className: "animate-fade-in",
2096
2103
  children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {
2097
2104
  style: {
2098
2105
  zIndex: 11001
2099
2106
  },
2100
- className: "fixed top-0 left-0 w-full h-screen flex items-center justify-center dark:bg-black/70 bg-white/60",
2107
+ 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
2108
  children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {
2102
2109
  className: "h-44 w-44 overflow-visible",
2103
2110
  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,6 +1898,12 @@ var OverlaySpinner = function(param) {
1896
1898
  document.body.appendChild(root);
1897
1899
  }
1898
1900
  setModalRoot(root);
1901
+ return function() {
1902
+ var root2 = document.getElementById("spinner-root");
1903
+ if (root2) {
1904
+ document.body.removeChild(root2);
1905
+ }
1906
+ };
1899
1907
  }, []);
1900
1908
  if (!visible || !modalRoot) {
1901
1909
  return null;
@@ -1904,12 +1912,11 @@ var OverlaySpinner = function(param) {
1904
1912
  style: {
1905
1913
  zIndex: 11e3
1906
1914
  },
1907
- className: "animate-fade-in",
1908
1915
  children: /* @__PURE__ */ jsx36("div", {
1909
1916
  style: {
1910
1917
  zIndex: 11001
1911
1918
  },
1912
- className: "fixed top-0 left-0 w-full h-screen flex items-center justify-center dark:bg-black/70 bg-white/60",
1919
+ 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
1920
  children: /* @__PURE__ */ jsx36("div", {
1914
1921
  className: "h-44 w-44 overflow-visible",
1915
1922
  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.27",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",