stone-kit 0.0.189 → 0.0.190

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,27 +1,28 @@
1
1
  import { jsxs as a, jsx as c } from "react/jsx-runtime";
2
- import { Input as h } from "../Input/ui/Input.js";
3
- import { c as n } from "../../index-rKuIKazb.js";
2
+ import { Input as n } from "../Input/ui/Input.js";
3
+ import { c as i } from "../../index-rKuIKazb.js";
4
4
  import { forwardRef as b } from "react";
5
- import { NewIcon as m } from "../NewIcon/ui/NewIcon.js";
6
- const x = "_checkboxLabel_dlhhy_1", _ = "_labelText_dlhhy_35", i = "_error_dlhhy_43", d = "_checkIcon_dlhhy_48", e = {
7
- checkboxLabel: x,
8
- labelText: _,
9
- error: i,
10
- checkIcon: d
11
- }, k = n.bind(e), T = b(({
5
+ import { NewIcon as h } from "../NewIcon/ui/NewIcon.js";
6
+ const m = "_checkboxLabel_1iwy9_1", x = "_labelText_1iwy9_36", _ = "_error_1iwy9_44", k = "_checkIcon_1iwy9_49", e = {
7
+ checkboxLabel: m,
8
+ labelText: x,
9
+ error: _,
10
+ checkIcon: k
11
+ }, d = i.bind(e), L = b(({
12
12
  text: o,
13
13
  isChecked: r,
14
- error: l,
15
- ...t
16
- }, s) => /* @__PURE__ */ a("label", { className: k(e.checkboxLabel, { [e.error]: l }), children: [
17
- /* @__PURE__ */ c(h, { type: "checkbox", ...t, ref: s }),
14
+ error: t,
15
+ ...s
16
+ }, l) => /* @__PURE__ */ a("label", { className: d(e.checkboxLabel, { [e.error]: t }), children: [
17
+ /* @__PURE__ */ c(n, { type: "checkbox", ...s, ref: l }),
18
18
  r && /* @__PURE__ */ c(
19
- m,
19
+ h,
20
20
  {
21
21
  additionalClass: e.checkIcon,
22
22
  color: "white",
23
+ strokeWidth: "3",
23
24
  name: "check",
24
- size: "20"
25
+ size: "16"
25
26
  }
26
27
  ),
27
28
  /* @__PURE__ */ c(
@@ -33,5 +34,5 @@ const x = "_checkboxLabel_dlhhy_1", _ = "_labelText_dlhhy_35", i = "_error_dlhhy
33
34
  )
34
35
  ] }));
35
36
  export {
36
- T as CheckBox
37
+ L as CheckBox
37
38
  };
@@ -1,9 +1,10 @@
1
1
  interface IModalFormProps {
2
2
  isFormOpen: boolean;
3
3
  setIsFormOpen: (isOpen: boolean) => void;
4
+ submitHandler: (data: unknown) => void;
4
5
  title: string;
5
6
  subTitle: string;
6
- personalCheckbox: {
7
+ personalCheckBox: {
7
8
  text: string;
8
9
  isRequired: boolean;
9
10
  };
@@ -12,5 +13,5 @@ interface IModalFormProps {
12
13
  isRequired: boolean;
13
14
  } | undefined | null;
14
15
  }
15
- export declare const ModalForm: ({ isFormOpen, setIsFormOpen, title, subTitle, personalCheckbox, advCheckBox, }: IModalFormProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const ModalForm: ({ isFormOpen, setIsFormOpen, title, subTitle, submitHandler, personalCheckBox, advCheckBox, }: IModalFormProps) => import("react/jsx-runtime").JSX.Element;
16
17
  export {};