evelearn-theme 2.0.25 → 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 +10 -6
- package/dist/index.mjs +10 -6
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -1188,8 +1188,6 @@ var IconInfo = function(param) {
|
|
|
1188
1188
|
});
|
|
1189
1189
|
};
|
|
1190
1190
|
var IconInfo_default = IconInfo;
|
|
1191
|
-
// src/Common/Modal.tsx
|
|
1192
|
-
var import_link = __toESM(require("next/link"));
|
|
1193
1191
|
// src/Icons/XIcon.tsx
|
|
1194
1192
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1195
1193
|
var XIcon = function(param) {
|
|
@@ -1238,9 +1236,8 @@ var Modal = function(_param) {
|
|
|
1238
1236
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", {
|
|
1239
1237
|
className: (0, import_clsx7.default)("relative mx-1 w-full md:mx-auto md:w-3/4 lg:w-1/2", fullscreen && "md:w-5/6 lg:w-5/6"),
|
|
1240
1238
|
children: [
|
|
1241
|
-
dismissLink ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1239
|
+
dismissLink ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("a", {
|
|
1242
1240
|
href: dismissLink,
|
|
1243
|
-
scroll: false,
|
|
1244
1241
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", {
|
|
1245
1242
|
onClick: onDismissed,
|
|
1246
1243
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(XIcon_default, {
|
|
@@ -1975,6 +1972,8 @@ var AnimateLogo = function() {
|
|
|
1975
1972
|
className: "animate-spin",
|
|
1976
1973
|
viewBox: "0 0 600 600",
|
|
1977
1974
|
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("g", {
|
|
1975
|
+
height: 176,
|
|
1976
|
+
width: 176,
|
|
1978
1977
|
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("path", {
|
|
1979
1978
|
className: "stroke-black dark:stroke-white text-gray-900 dark:text-gray-50",
|
|
1980
1979
|
stroke: "currentColor",
|
|
@@ -2087,6 +2086,12 @@ var OverlaySpinner = function(param) {
|
|
|
2087
2086
|
document.body.appendChild(root);
|
|
2088
2087
|
}
|
|
2089
2088
|
setModalRoot(root);
|
|
2089
|
+
return function() {
|
|
2090
|
+
var root2 = document.getElementById("spinner-root");
|
|
2091
|
+
if (root2) {
|
|
2092
|
+
document.body.removeChild(root2);
|
|
2093
|
+
}
|
|
2094
|
+
};
|
|
2090
2095
|
}, []);
|
|
2091
2096
|
if (!visible || !modalRoot) {
|
|
2092
2097
|
return null;
|
|
@@ -2095,12 +2100,11 @@ var OverlaySpinner = function(param) {
|
|
|
2095
2100
|
style: {
|
|
2096
2101
|
zIndex: 11e3
|
|
2097
2102
|
},
|
|
2098
|
-
className: "animate-fade-in",
|
|
2099
2103
|
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {
|
|
2100
2104
|
style: {
|
|
2101
2105
|
zIndex: 11001
|
|
2102
2106
|
},
|
|
2103
|
-
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",
|
|
2104
2108
|
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {
|
|
2105
2109
|
className: "h-44 w-44 overflow-visible",
|
|
2106
2110
|
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(AnimateLogo_default, {})
|
package/dist/index.mjs
CHANGED
|
@@ -1000,8 +1000,6 @@ var IconInfo = function(param) {
|
|
|
1000
1000
|
});
|
|
1001
1001
|
};
|
|
1002
1002
|
var IconInfo_default = IconInfo;
|
|
1003
|
-
// src/Common/Modal.tsx
|
|
1004
|
-
import Link from "next/link";
|
|
1005
1003
|
// src/Icons/XIcon.tsx
|
|
1006
1004
|
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
1007
1005
|
var XIcon = function(param) {
|
|
@@ -1050,9 +1048,8 @@ var Modal = function(_param) {
|
|
|
1050
1048
|
children: /* @__PURE__ */ jsxs9("div", {
|
|
1051
1049
|
className: clsx7("relative mx-1 w-full md:mx-auto md:w-3/4 lg:w-1/2", fullscreen && "md:w-5/6 lg:w-5/6"),
|
|
1052
1050
|
children: [
|
|
1053
|
-
dismissLink ? /* @__PURE__ */ jsx20(
|
|
1051
|
+
dismissLink ? /* @__PURE__ */ jsx20("a", {
|
|
1054
1052
|
href: dismissLink,
|
|
1055
|
-
scroll: false,
|
|
1056
1053
|
children: /* @__PURE__ */ jsx20("div", {
|
|
1057
1054
|
onClick: onDismissed,
|
|
1058
1055
|
children: /* @__PURE__ */ jsx20(XIcon_default, {
|
|
@@ -1787,6 +1784,8 @@ var AnimateLogo = function() {
|
|
|
1787
1784
|
className: "animate-spin",
|
|
1788
1785
|
viewBox: "0 0 600 600",
|
|
1789
1786
|
children: /* @__PURE__ */ jsx35("g", {
|
|
1787
|
+
height: 176,
|
|
1788
|
+
width: 176,
|
|
1790
1789
|
children: /* @__PURE__ */ jsxs16("path", {
|
|
1791
1790
|
className: "stroke-black dark:stroke-white text-gray-900 dark:text-gray-50",
|
|
1792
1791
|
stroke: "currentColor",
|
|
@@ -1899,6 +1898,12 @@ var OverlaySpinner = function(param) {
|
|
|
1899
1898
|
document.body.appendChild(root);
|
|
1900
1899
|
}
|
|
1901
1900
|
setModalRoot(root);
|
|
1901
|
+
return function() {
|
|
1902
|
+
var root2 = document.getElementById("spinner-root");
|
|
1903
|
+
if (root2) {
|
|
1904
|
+
document.body.removeChild(root2);
|
|
1905
|
+
}
|
|
1906
|
+
};
|
|
1902
1907
|
}, []);
|
|
1903
1908
|
if (!visible || !modalRoot) {
|
|
1904
1909
|
return null;
|
|
@@ -1907,12 +1912,11 @@ var OverlaySpinner = function(param) {
|
|
|
1907
1912
|
style: {
|
|
1908
1913
|
zIndex: 11e3
|
|
1909
1914
|
},
|
|
1910
|
-
className: "animate-fade-in",
|
|
1911
1915
|
children: /* @__PURE__ */ jsx36("div", {
|
|
1912
1916
|
style: {
|
|
1913
1917
|
zIndex: 11001
|
|
1914
1918
|
},
|
|
1915
|
-
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",
|
|
1916
1920
|
children: /* @__PURE__ */ jsx36("div", {
|
|
1917
1921
|
className: "h-44 w-44 overflow-visible",
|
|
1918
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.
|
|
3
|
+
"version": "2.0.27",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"@floating-ui/react": "^0.27.13",
|
|
38
38
|
"formik": "^2.4.6",
|
|
39
39
|
"framer-motion": "^12.23.0",
|
|
40
|
-
"next": "^15.3.5",
|
|
41
40
|
"react": "^19.1.0",
|
|
42
41
|
"react-dom": "^19.1.0",
|
|
43
42
|
"tailwindcss": "^4.0.0",
|