stone-kit 0.0.675 → 0.0.680

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,7 +1,7 @@
1
- import { jsx as e, jsxs as o, Fragment as m } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as o, Fragment as d } from "react/jsx-runtime";
2
2
  import { c as y } from "../../../index-rKuIKazb.js";
3
3
  import { NewIcon as w } from "../../NewIcon/ui/NewIcon.js";
4
- const f = "_btnCommon_acr66_1", C = "_btnLoading_acr66_20", N = "_isHidden_acr66_24", H = "_blue_acr66_68", S = "_sokolniki_acr66_82", p = "_black_acr66_96", L = "_gray_acr66_110", $ = "_whiteStroke_acr66_124", x = "_whiteFilled_acr66_136", F = "_shade_acr66_150", v = "_transparent_acr66_156", j = "_volodiyaLight_acr66_177", B = "_loader_acr66_183", I = "_LoaderSpin_acr66_1", _ = {
4
+ const f = "_btnCommon_acr66_1", C = "_btnLoading_acr66_20", N = "_isHidden_acr66_24", v = "_blue_acr66_68", H = "_sokolniki_acr66_82", S = "_black_acr66_96", L = "_gray_acr66_110", $ = "_whiteStroke_acr66_124", x = "_whiteFilled_acr66_136", F = "_shade_acr66_150", j = "_transparent_acr66_156", p = "_volodiyaLight_acr66_177", B = "_loader_acr66_183", I = "_LoaderSpin_acr66_1", _ = {
5
5
  btnCommon: f,
6
6
  btnLoading: C,
7
7
  isHidden: N,
@@ -11,15 +11,15 @@ const f = "_btnCommon_acr66_1", C = "_btnLoading_acr66_20", N = "_isHidden_acr66
11
11
  "small-size": "_small-size_acr66_44",
12
12
  "medium-size": "_medium-size_acr66_52",
13
13
  "large-size": "_large-size_acr66_60",
14
- blue: H,
15
- sokolniki: S,
16
- black: p,
14
+ blue: v,
15
+ sokolniki: H,
16
+ black: S,
17
17
  gray: L,
18
18
  whiteStroke: $,
19
19
  whiteFilled: x,
20
20
  shade: F,
21
- transparent: v,
22
- volodiyaLight: j,
21
+ transparent: j,
22
+ volodiyaLight: p,
23
23
  loader: B,
24
24
  LoaderSpin: I,
25
25
  "tiny-size_m": "_tiny-size_m_acr66_189",
@@ -30,8 +30,8 @@ const f = "_btnCommon_acr66_1", C = "_btnLoading_acr66_20", N = "_isHidden_acr66
30
30
  "small-size_l": "_small-size_l_acr66_226",
31
31
  "medium-size_l": "_medium-size_l_acr66_233",
32
32
  "large-size_l": "_large-size_l_acr66_240"
33
- }, i = y.bind(_), E = ({
34
- size: d = "medium",
33
+ }, a = y.bind(_), E = ({
34
+ size: m = "medium",
35
35
  size_m: z,
36
36
  size_l: h,
37
37
  onCLick: r,
@@ -41,21 +41,21 @@ const f = "_btnCommon_acr66_1", C = "_btnLoading_acr66_20", N = "_isHidden_acr66
41
41
  variant: b = "blue",
42
42
  width: k = "auto",
43
43
  additionalClass: g = "",
44
- isLoading: a = !1,
44
+ isLoading: i = !1,
45
45
  ...l
46
46
  }) => {
47
- const t = i(
47
+ const t = a(
48
48
  _.btnCommon,
49
- _[`${d}-size`],
49
+ _[`${m}-size`],
50
50
  _[`${z}-size_m`],
51
51
  _[`${h}-size_l`],
52
52
  _[`${b}`],
53
- { [_.btnLoading]: a },
53
+ { [_.btnLoading]: i },
54
54
  { [_.btnCommonInline]: s || n },
55
55
  _[`${k}-width`],
56
56
  g
57
- ), c = () => /* @__PURE__ */ o(m, { children: [
58
- a && /* @__PURE__ */ e(
57
+ ), c = () => /* @__PURE__ */ o(d, { children: [
58
+ i && /* @__PURE__ */ e(
59
59
  w,
60
60
  {
61
61
  name: "loader",
@@ -64,10 +64,10 @@ const f = "_btnCommon_acr66_1", C = "_btnLoading_acr66_20", N = "_isHidden_acr66
64
64
  additionalClass: _.loader
65
65
  }
66
66
  ),
67
- /* @__PURE__ */ o(m, { children: [
68
- s && /* @__PURE__ */ e("span", { className: i({ [_.isHidden]: a }), children: s }),
69
- /* @__PURE__ */ e("span", { className: i({ [_.isHidden]: a }), children: u }),
70
- n && /* @__PURE__ */ e("span", { className: i({ [_.isHidden]: a }), children: n })
67
+ /* @__PURE__ */ o(d, { children: [
68
+ s && /* @__PURE__ */ e("div", { className: a({ [_.isHidden]: i }), children: s }),
69
+ /* @__PURE__ */ e("div", { className: a({ [_.isHidden]: i }), children: u }),
70
+ n && /* @__PURE__ */ e("div", { className: a({ [_.isHidden]: i }), children: n })
71
71
  ] })
72
72
  ] });
73
73
  return l.as === "link" ? /* @__PURE__ */ e(
@@ -21,6 +21,10 @@ interface IModalFormProps {
21
21
  isRequiredPhoneOrEmail?: boolean;
22
22
  isAdvCheckBox?: boolean;
23
23
  addTitleClassName?: string;
24
+ createPortalObj?: {
25
+ domNode: HTMLElement | null;
26
+ key?: string | null | undefined;
27
+ };
24
28
  }
25
29
  type IFormPageInputs = {
26
30
  phone: string;
@@ -30,5 +34,5 @@ type IFormPageInputs = {
30
34
  advCheckBox?: boolean;
31
35
  textarea?: string;
32
36
  };
33
- export declare const ModalForm: ({ isFormOpen, setIsFormOpen, isNews, title, isEmail, isPhone, isTextArea, telegramLink, isRequiredPhone, isRequiredEmail, isRequiredPhoneOrEmail, textAreaPlaceholder, subTitle, submitHandler, modalWidth, rowsTextArea, advCheckBox, isAdvCheckBox, addTitleClassName }: IModalFormProps) => import("react/jsx-runtime").JSX.Element | null;
37
+ export declare const ModalForm: ({ isFormOpen, setIsFormOpen, isNews, title, isEmail, isPhone, isTextArea, telegramLink, isRequiredPhone, isRequiredEmail, isRequiredPhoneOrEmail, textAreaPlaceholder, subTitle, submitHandler, modalWidth, rowsTextArea, advCheckBox, isAdvCheckBox, addTitleClassName, createPortalObj }: IModalFormProps) => import("react/jsx-runtime").JSX.Element | null;
34
38
  export {};