stone-kit 0.0.765 → 0.0.767

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.
@@ -6,6 +6,7 @@ interface ICheckboxSelectProps {
6
6
  isSelected: boolean;
7
7
  setValue: () => void;
8
8
  }[];
9
+ addClassname?: string;
9
10
  }
10
11
  export declare const CheckboxSelect: React.FC<ICheckboxSelectProps>;
11
12
  export {};
@@ -1,29 +1,30 @@
1
1
  import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
- import { c as i } from "../../../index-rKuIKazb.js";
3
- const s = "_root_1m9ru_1", o = "_nameWrapper_1m9ru_8", p = "_clearBtn_1m9ru_18", _ = "_checkboxWrapper_1m9ru_33", d = "_checkboxItem_1m9ru_39", m = "_checkboxItemActive_1m9ru_55", e = {
4
- root: s,
5
- nameWrapper: o,
6
- clearBtn: p,
7
- checkboxWrapper: _,
8
- checkboxItem: d,
9
- checkboxItemActive: m
10
- }, u = i.bind(e), W = ({
11
- label: n = "Тип квартиры",
12
- checkboxes: t
2
+ import { c as o } from "../../../index-rKuIKazb.js";
3
+ const p = "_root_1m9ru_1", _ = "_nameWrapper_1m9ru_8", d = "_clearBtn_1m9ru_18", m = "_checkboxWrapper_1m9ru_33", u = "_checkboxItem_1m9ru_39", v = "_checkboxItemActive_1m9ru_55", e = {
4
+ root: p,
5
+ nameWrapper: _,
6
+ clearBtn: d,
7
+ checkboxWrapper: m,
8
+ checkboxItem: u,
9
+ checkboxItemActive: v
10
+ }, n = o.bind(e), N = ({
11
+ label: c = "Тип квартиры",
12
+ checkboxes: t,
13
+ addClassname: i
13
14
  }) => {
14
- const c = () => {
15
+ const s = () => {
15
16
  t == null || t.forEach((r) => {
16
17
  r != null && r.isSelected && (r == null || r.setValue());
17
18
  });
18
19
  };
19
- return /* @__PURE__ */ l("div", { className: e.root, children: [
20
+ return /* @__PURE__ */ l("div", { className: n(e.root, i), children: [
20
21
  /* @__PURE__ */ l("div", { className: e.nameWrapper, children: [
21
- /* @__PURE__ */ a("div", { children: n }),
22
+ /* @__PURE__ */ a("div", { children: c }),
22
23
  /* @__PURE__ */ a(
23
24
  "div",
24
25
  {
25
26
  className: e.clearBtn,
26
- onClick: c,
27
+ onClick: s,
27
28
  children: "Очистить"
28
29
  }
29
30
  )
@@ -31,7 +32,7 @@ const s = "_root_1m9ru_1", o = "_nameWrapper_1m9ru_8", p = "_clearBtn_1m9ru_18",
31
32
  /* @__PURE__ */ a("div", { className: e.checkboxWrapper, children: t == null ? void 0 : t.map((r) => /* @__PURE__ */ a(
32
33
  "div",
33
34
  {
34
- className: u(e.checkboxItem, { [e.checkboxItemActive]: r == null ? void 0 : r.isSelected }),
35
+ className: n(e.checkboxItem, { [e.checkboxItemActive]: r == null ? void 0 : r.isSelected }),
35
36
  onClick: () => r == null ? void 0 : r.setValue(),
36
37
  children: r == null ? void 0 : r.label
37
38
  },
@@ -40,5 +41,5 @@ const s = "_root_1m9ru_1", o = "_nameWrapper_1m9ru_8", p = "_clearBtn_1m9ru_18",
40
41
  ] });
41
42
  };
42
43
  export {
43
- W as CheckboxSelect
44
+ N as CheckboxSelect
44
45
  };
@@ -11,7 +11,7 @@ import "../../Flex/ui/Flex.js";
11
11
  import "../../Input/ui/Input.js";
12
12
  import "react/jsx-runtime";
13
13
  import "react-dom";
14
- import { u as n } from "../../../FilterWithSave-O0ZoqZN1.js";
14
+ import { u as n } from "../../../FilterWithSave-SXH960Cs.js";
15
15
  import "../../GroupedInput/ui/GroupedInputs.js";
16
16
  import "../../../index-rKuIKazb.js";
17
17
  import "../../MetroTag/ui/MetroTag.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../NewIcon/ui/NewIcon.js";
3
- import { F as a } from "../../../FilterWithSave-O0ZoqZN1.js";
3
+ import { F as a } from "../../../FilterWithSave-SXH960Cs.js";
4
4
  import "../../Modal/ui/Modal.js";
5
5
  import "../../../Option-BVIm7wOW.js";
6
6
  import "../../Button/ui/Button.js";
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { M as y } from "../../../FilterWithSave-O0ZoqZN1.js";
2
+ import { M as y } from "../../../FilterWithSave-SXH960Cs.js";
3
3
  import "../../Modal/ui/Modal.js";
4
4
  import "../../Flex/ui/Flex.js";
5
5
  import "../../Input/ui/Input.js";
@@ -1,4 +1,4 @@
1
- import { L as a } from "../../FilterWithSave-O0ZoqZN1.js";
1
+ import { L as a } from "../../FilterWithSave-SXH960Cs.js";
2
2
  export {
3
3
  a as LotCard
4
4
  };
@@ -1,3 +1,3 @@
1
1
  import { ILotCard } from './LotCard.types';
2
2
 
3
- export declare const LotCard: ({ lot, handleBtnForm, handleFullScreenBtn, btnDisabled, addClassname, btnName, imgNode, rowConditions, addClassnameLotImage, }: ILotCard) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const LotCard: ({ lot, handleBtnForm, handleFullScreenBtn, btnDisabled, addClassname, btnName, imgNode, rowConditions, addClassnameLotImage, }: ILotCard) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { L as A } from "../../../FilterWithSave-O0ZoqZN1.js";
2
+ import { L as A } from "../../../FilterWithSave-SXH960Cs.js";
3
3
  import "../../Text/ui/Text.js";
4
4
  import "../utils/checkBedroomsCount.js";
5
5
  import "../../NewIcon/ui/NewIcon.js";
@@ -1,4 +1,4 @@
1
- import { a as r } from "../../FilterWithSave-O0ZoqZN1.js";
1
+ import { a as r } from "../../FilterWithSave-SXH960Cs.js";
2
2
  export {
3
3
  r as SortSelect
4
4
  };
@@ -13,7 +13,7 @@ import "../../Text/ui/Text.js";
13
13
  import "../../Flex/ui/Flex.js";
14
14
  import "../../Input/ui/Input.js";
15
15
  import "../../Modal/ui/Modal.js";
16
- import { a as y } from "../../../FilterWithSave-O0ZoqZN1.js";
16
+ import { a as y } from "../../../FilterWithSave-SXH960Cs.js";
17
17
  import "../../GroupedInput/ui/GroupedInputs.js";
18
18
  import "../../MetroTag/ui/MetroTag.js";
19
19
  import "../../Select/ui/Select.js";
@@ -1,4 +1,4 @@
1
- import { S as e } from "../../FilterWithSave-O0ZoqZN1.js";
1
+ import { S as e } from "../../FilterWithSave-SXH960Cs.js";
2
2
  export {
3
3
  e as TabSwitcher
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { S as u } from "../../../FilterWithSave-O0ZoqZN1.js";
3
+ import { S as u } from "../../../FilterWithSave-SXH960Cs.js";
4
4
  import "../../Text/ui/Text.js";
5
5
  import "../../../index-rKuIKazb.js";
6
6
  import "../../Button/ui/Button.js";
package/dist/main.js CHANGED
@@ -10,7 +10,7 @@ import { Flex as M } from "./components/Flex/ui/Flex.js";
10
10
  import { Input as b } from "./components/Input/ui/Input.js";
11
11
  import { Modal as F } from "./components/Modal/ui/Modal.js";
12
12
  import { FieldInput as I } from "./components/FieldInput/ui/FieldInput.js";
13
- import { F as k, L as w, M as B, a as v, S as N } from "./FilterWithSave-O0ZoqZN1.js";
13
+ import { F as k, L as w, M as B, a as v, S as N } from "./FilterWithSave-SXH960Cs.js";
14
14
  import { GroupedInputs as j } from "./components/GroupedInput/ui/GroupedInputs.js";
15
15
  import { Logo as D } from "./components/Logo/ui/Logo.js";
16
16
  import { MetroTag as P } from "./components/MetroTag/ui/MetroTag.js";
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.765",
5
+ "version": "0.0.767",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",