stone-kit 0.0.680 → 0.0.682
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IModalSuccess } from './ModalSuccess.types.ts';
|
|
2
2
|
|
|
3
|
-
export declare const ModalSuccess: ({ isSuccessOpen, setIsSuccess }: IModalSuccess) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const ModalSuccess: ({ isSuccessOpen, setIsSuccess, createPortalObj }: IModalSuccess) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { jsx as o, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { M as
|
|
3
|
-
import { Button as
|
|
2
|
+
import { M as l } from "../../Modal-BZv6nlLe.js";
|
|
3
|
+
import { Button as n } from "../Button/ui/Button.js";
|
|
4
4
|
import { NewIcon as t } from "../NewIcon/ui/NewIcon.js";
|
|
5
|
-
const
|
|
6
|
-
modal:
|
|
7
|
-
modalBody:
|
|
8
|
-
root:
|
|
9
|
-
check:
|
|
10
|
-
iconCircle:
|
|
11
|
-
iconCheck:
|
|
12
|
-
text:
|
|
13
|
-
successTitle:
|
|
14
|
-
title:
|
|
15
|
-
},
|
|
16
|
-
|
|
5
|
+
const d = "_modal_3era2_1", r = "_modalBody_3era2_8", m = "_root_3era2_13", _ = "_check_3era2_25", h = "_iconCircle_3era2_31", C = "_iconCheck_3era2_37", u = "_text_3era2_43", k = "_successTitle_3era2_50", p = "_title_3era2_65", e = {
|
|
6
|
+
modal: d,
|
|
7
|
+
modalBody: r,
|
|
8
|
+
root: m,
|
|
9
|
+
check: _,
|
|
10
|
+
iconCircle: h,
|
|
11
|
+
iconCheck: C,
|
|
12
|
+
text: u,
|
|
13
|
+
successTitle: k,
|
|
14
|
+
title: p
|
|
15
|
+
}, N = ({ isSuccessOpen: s, setIsSuccess: a, createPortalObj: i }) => /* @__PURE__ */ o(
|
|
16
|
+
l,
|
|
17
17
|
{
|
|
18
|
+
createPortalObj: i,
|
|
18
19
|
emitIsOpen: a,
|
|
19
20
|
isOpen: s,
|
|
20
21
|
additionalClassModalBody: e.modalBody,
|
|
@@ -39,7 +40,7 @@ const n = "_modal_3era2_1", d = "_modalBody_3era2_8", r = "_root_3era2_13", m =
|
|
|
39
40
|
/* @__PURE__ */ o("div", { className: e.successText, children: "Наш менеджер свяжется с вами в ближайшее время" })
|
|
40
41
|
] }),
|
|
41
42
|
/* @__PURE__ */ o(
|
|
42
|
-
|
|
43
|
+
n,
|
|
43
44
|
{
|
|
44
45
|
"data-testid": "modal_submit",
|
|
45
46
|
variant: "blue",
|
|
@@ -56,5 +57,5 @@ const n = "_modal_3era2_1", d = "_modalBody_3era2_8", r = "_root_3era2_13", m =
|
|
|
56
57
|
}
|
|
57
58
|
);
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
N as ModalSuccess
|
|
60
61
|
};
|