stone-kit 0.0.1037 → 0.0.1038

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,31 +1,31 @@
1
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
2
  import { c as g } from "../../index-YnD2EP-S.js";
3
3
  import { fmtNumber as W } from "../../shared/fmtNumber.js";
4
4
  import { Price as h } from "./components/Price/Price.js";
5
5
  import { Snippets as v } from "./components/Snippets/Snippets.js";
6
6
  import { Tags as I } from "./components/Tags/Tags.js";
7
7
  import { RoundButton as w } from "../RoundButton/ui/RoundButton.js";
8
- const B = "_root_m40b0_1", R = "_lotImageWrapper_m40b0_17", x = "_favoriteBtn_m40b0_24", z = "_lotNameWrapper_m40b0_30", P = "_lotName_m40b0_30", y = "_lotNumber_m40b0_45", C = "_priceWrapper_m40b0_54", F = "_rootRow_m40b0_59", r = {
8
+ const B = "_root_m40b0_1", R = "_lotImageWrapper_m40b0_17", x = "_favoriteBtn_m40b0_24", z = "_lotNameWrapper_m40b0_30", P = "_lotName_m40b0_30", y = "_lotNumber_m40b0_45", F = "_priceWrapper_m40b0_54", S = "_rootRow_m40b0_59", r = {
9
9
  root: B,
10
10
  lotImageWrapper: R,
11
11
  favoriteBtn: x,
12
12
  lotNameWrapper: z,
13
13
  lotName: P,
14
14
  lotNumber: y,
15
- priceWrapper: C,
16
- rootRow: F
17
- }, S = g.bind(r), A = ({
15
+ priceWrapper: F,
16
+ rootRow: S
17
+ }, j = g.bind(r), E = ({
18
18
  lot: e,
19
19
  imgNode: s,
20
- onPriceClickHandler: l,
21
- addClassname: p,
22
- isVertical: t = !1,
20
+ onPriceClickHandler: p,
21
+ addClassname: l,
22
+ isVertical: m = !1,
23
23
  isFavorite: n,
24
- favoriteClickHandler: m
24
+ favoriteClickHandler: a
25
25
  }) => {
26
- const { interiorPlanImg: c, floorPlanImg: _, area: N, subTypeName: d, number: f } = e || {}, b = d + ", " + W(N) + "м²", u = c ?? _ ?? "";
27
- return e ? /* @__PURE__ */ a("div", { className: S(r.root, p, { [r.rootRow]: !t }), children: [
28
- /* @__PURE__ */ a("div", { className: r.lotImageWrapper, children: [
26
+ const { interiorPlanImg: c, floorPlanImg: _, area: N, subTypeName: d, number: b } = e || {}, f = d + ", " + W(N) + "м²", u = c ?? _ ?? "";
27
+ return e ? /* @__PURE__ */ t("div", { className: j(r.root, l, { [r.rootRow]: !m }), children: [
28
+ /* @__PURE__ */ t("div", { className: r.lotImageWrapper, children: [
29
29
  s || /* @__PURE__ */ o(
30
30
  "img",
31
31
  {
@@ -36,7 +36,7 @@ const B = "_root_m40b0_1", R = "_lotImageWrapper_m40b0_17", x = "_favoriteBtn_m4
36
36
  alt: "logo_image"
37
37
  }
38
38
  ),
39
- /* @__PURE__ */ o(
39
+ a && /* @__PURE__ */ o(
40
40
  w,
41
41
  {
42
42
  iconName: n ? "heartFilled" : "heart",
@@ -47,14 +47,14 @@ const B = "_root_m40b0_1", R = "_lotImageWrapper_m40b0_17", x = "_favoriteBtn_m4
47
47
  color: "#015FF9",
48
48
  additionalClass: r.favoriteBtn,
49
49
  onClick: (i) => {
50
- m && m(e), i.preventDefault(), i.stopPropagation();
50
+ a && a(e), i.preventDefault(), i.stopPropagation();
51
51
  }
52
52
  }
53
53
  )
54
54
  ] }),
55
- /* @__PURE__ */ a("div", { className: r.lotNameWrapper, children: [
56
- /* @__PURE__ */ o("p", { className: r.lotName, children: b }),
57
- /* @__PURE__ */ o("p", { className: r.lotNumber, children: f }),
55
+ /* @__PURE__ */ t("div", { className: r.lotNameWrapper, children: [
56
+ /* @__PURE__ */ o("p", { className: r.lotName, children: f }),
57
+ /* @__PURE__ */ o("p", { className: r.lotNumber, children: b }),
58
58
  /* @__PURE__ */ o(v, { lot: e }),
59
59
  /* @__PURE__ */ o(I, { lot: e })
60
60
  ] }),
@@ -62,12 +62,12 @@ const B = "_root_m40b0_1", R = "_lotImageWrapper_m40b0_17", x = "_favoriteBtn_m4
62
62
  h,
63
63
  {
64
64
  lot: e,
65
- isVertical: t,
66
- onPriceClickHandler: l
65
+ isVertical: m,
66
+ onPriceClickHandler: p
67
67
  }
68
68
  ) })
69
69
  ] }) : null;
70
70
  };
71
71
  export {
72
- A as CommercialLotCard
72
+ E as CommercialLotCard
73
73
  };
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.1037",
5
+ "version": "0.0.1038",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",