se-design 1.0.28 → 1.0.29
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/index12.js +6 -6
- package/dist/index12.js.map +1 -1
- package/package.json +1 -1
package/dist/index12.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import { Spinner as
|
|
2
|
+
import { Spinner as n } from "./index13.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
const
|
|
4
|
+
const c = (l) => {
|
|
5
5
|
const {
|
|
6
6
|
message: t = ""
|
|
7
7
|
} = l;
|
|
8
8
|
return /* @__PURE__ */ e.createElement("div", {
|
|
9
|
-
className: "se-design-loading-modal fixed inset-0 flex items-
|
|
9
|
+
className: "se-design-loading-modal fixed inset-0 flex items-center justify-center z-[2000] backdrop-brightness-50"
|
|
10
10
|
}, /* @__PURE__ */ e.createElement("div", {
|
|
11
|
-
className: "modal-content flex flex-col gap-3 bg-[var(--color-white)] rounded shadow-lg p-8
|
|
11
|
+
className: "modal-content flex flex-col gap-3 bg-[var(--color-white)] rounded shadow-lg p-8 w-[350px]"
|
|
12
12
|
}, /* @__PURE__ */ e.createElement("div", {
|
|
13
13
|
className: "loading-modal-content flex flex-col items-center justify-center gap-[10px]"
|
|
14
|
-
}, /* @__PURE__ */ e.createElement(
|
|
14
|
+
}, /* @__PURE__ */ e.createElement(n, null), t?.length > 0 && /* @__PURE__ */ e.createElement("div", null, t))));
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
c as LoadingModal
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=index12.js.map
|
package/dist/index12.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index12.js","sources":["../src/components/LoadingModal/index.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { Spinner } from 'components/Spinner';\n\nimport './style.scss';\n\nexport interface LoadingModalProps {\n message?: string;\n}\n\nexport const LoadingModal: FC<LoadingModalProps> = (props) => {\n const { message = ''} = props;\n\n return (\n <div\n className={`se-design-loading-modal fixed inset-0 flex items-
|
|
1
|
+
{"version":3,"file":"index12.js","sources":["../src/components/LoadingModal/index.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { Spinner } from 'components/Spinner';\n\nimport './style.scss';\n\nexport interface LoadingModalProps {\n message?: string;\n}\n\nexport const LoadingModal: FC<LoadingModalProps> = (props) => {\n const { message = ''} = props;\n\n return (\n <div\n className={`se-design-loading-modal fixed inset-0 flex items-center justify-center z-[2000] backdrop-brightness-50`}\n >\n <div\n className=\"modal-content flex flex-col gap-3 bg-[var(--color-white)] rounded shadow-lg p-8 w-[350px]\"\n >\n <div className=\"loading-modal-content flex flex-col items-center justify-center gap-[10px]\">\n <Spinner />\n {message?.length > 0 && <div>{message}</div>}\n </div>\n </div>\n </div>\n );\n};\n"],"names":["React__default","Spinner","LoadingModal","props","message","React","createElement","className","length"],"mappings":"AASO,OAAAA,OAAA;AAAA,SAAA,WAAAC,SAAA;AAAA,OAAA;AAAA,MAAMC,IAAuCC,CAAAA,MAAU;AAC5D,QAAM;AAAA,IAAEC,SAAAA,IAAU;AAAA,EAAA,IAAMD;AAExB,SACEE,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEC,WAAW;AAAA,EAAA,GAEXF,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEC,WAAU;AAAA,EAAA,GAEVF,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKC,WAAU;AAAA,EAAA,GACbF,gBAAAA,EAAAC,cAACL,GAAO,IAAE,GACTG,GAASI,SAAS,KAAKH,gBAAAA,EAAAC,2BAAMF,CAAa,CACxC,CACF,CACF;AAET;"}
|