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 i } from "../../Modal-BZv6nlLe.js";
3
- import { Button as l } from "../Button/ui/Button.js";
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 n = "_modal_3era2_1", d = "_modalBody_3era2_8", r = "_root_3era2_13", m = "_check_3era2_25", _ = "_iconCircle_3era2_31", h = "_iconCheck_3era2_37", C = "_text_3era2_43", u = "_successTitle_3era2_50", k = "_title_3era2_65", e = {
6
- modal: n,
7
- modalBody: d,
8
- root: r,
9
- check: m,
10
- iconCircle: _,
11
- iconCheck: h,
12
- text: C,
13
- successTitle: u,
14
- title: k
15
- }, v = ({ isSuccessOpen: s, setIsSuccess: a }) => /* @__PURE__ */ o(
16
- i,
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
- l,
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
- v as ModalSuccess
60
+ N as ModalSuccess
60
61
  };
@@ -2,4 +2,8 @@
2
2
  export interface IModalSuccess {
3
3
  isSuccessOpen: boolean;
4
4
  setIsSuccess: React.Dispatch<React.SetStateAction<boolean>>;
5
+ createPortalObj?: {
6
+ domNode: HTMLElement | null;
7
+ key?: string | null | undefined;
8
+ };
5
9
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.680",
5
+ "version": "0.0.682",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",