stone-kit 0.0.1066 → 0.0.1069

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.
Files changed (56) hide show
  1. package/README.md +88 -88
  2. package/dist/components/Button/index.d.ts +1 -1
  3. package/dist/components/Button/ui/Button.d.ts +2 -2
  4. package/dist/components/Button/ui/Button.types.d.ts +1 -1
  5. package/dist/components/CheckBoxNew/CheckBoxNew.js +5 -5
  6. package/dist/components/CommercialLotCard/CommercialLotCard.js +81 -9
  7. package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.js +4 -4
  8. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +98 -27
  9. package/dist/components/CommercialLotCard/components/Tags/Tags.js +1 -1
  10. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +54 -26
  11. package/dist/components/FilterWithSave/ui/FilterWithSave.js +323 -7
  12. package/dist/components/FormModal/ui/ModalForm.js +1516 -29
  13. package/dist/components/Logo/ui/Logo.js +6 -6
  14. package/dist/components/LotCard/hooks/useLotCard.js +6 -24
  15. package/dist/components/LotCard/index.js +2 -2
  16. package/dist/components/LotCard/ui/LotCard.js +222 -11
  17. package/dist/components/ModalSuccess/ModalSuccess.js +1 -1
  18. package/dist/components/RoundButton/ui/RoundButton.js +1 -1
  19. package/dist/components/Select/ui/Category.js +2 -2
  20. package/dist/components/Select/ui/Option.js +2 -2
  21. package/dist/components/Select/ui/Select.js +2 -2
  22. package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
  23. package/dist/components/SortSelect/index.js +1 -1
  24. package/dist/components/SortSelect/ui/SortSelect.js +108 -26
  25. package/dist/components/SummarySelect/ui/SummarySelect.js +1 -1
  26. package/dist/components/TabSelect/ui/TabSelect.js +4 -4
  27. package/dist/components/TabSwitcher/index.js +2 -2
  28. package/dist/components/TabSwitcher/ui/TabSwitcher.js +121 -26
  29. package/dist/layout/components/Header/Header.js +44 -65
  30. package/dist/layout/components/Menu.js +15 -37
  31. package/dist/main.d.ts +1 -0
  32. package/dist/main.js +70 -65
  33. package/dist/pages/ButtonsPage/Buttons.js +44 -61
  34. package/dist/pages/FormsPage/FormsPage.js +22 -42
  35. package/dist/pages/IconsPage/IconsPage.js +9 -31
  36. package/dist/pages/InputPage/InputPage.js +10 -32
  37. package/dist/pages/LogoPage/LogoPage.js +13 -36
  38. package/dist/pages/LotsPage/LotsPage.js +23 -22
  39. package/dist/pages/ModalsPage/ModalPage.js +46 -66
  40. package/dist/pages/SelectPage/SelectPage.js +41 -40
  41. package/dist/pages/TabsPage/TabsPage.js +1 -1
  42. package/dist/pages/TagsPage/TagsPage.js +23 -44
  43. package/dist/shared/useClientWidth.d.ts +3 -1
  44. package/dist/shared/useClientWidth.js +13 -4
  45. package/dist/stone-kit.css +1 -1
  46. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +1 -1
  47. package/dist/stories/shared/ui/Button/Button.stories.js +4 -4
  48. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +1 -1
  49. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +7 -7
  50. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +1 -1
  51. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +1 -1
  52. package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
  53. package/dist/useLotCard-D-gK4J_o.js +186 -0
  54. package/package.json +1 -1
  55. package/dist/FilterWithSave-NYWK9Gpz.js +0 -2676
  56. package/dist/{Option-DdjBe9yb.js → Option-DmDx_xOt.js} +1 -1
@@ -1,7 +1,7 @@
1
1
  import { jsxs as r, jsx as t, Fragment as b } from "react/jsx-runtime";
2
2
  import { c as n } from "../../../index-YnD2EP-S.js";
3
- import { NewIcon as p } from "../../NewIcon/ui/NewIcon.js";
4
3
  import { Select as x } from "../../Select/ui/Select.js";
4
+ import { NewIcon as p } from "../../NewIcon/ui/NewIcon.js";
5
5
  const A = "_root_99sc2_1", $ = "_nameWrapper_99sc2_8", j = "_size_large_99sc2_18", U = "_clearBtnWrapper_99sc2_25", F = "_clearBtn_99sc2_25", I = "_summaryList_99sc2_54", q = "_summaryOption_99sc2_66", E = "_summaryOptionSecondary_99sc2_88", G = "_categoryOption_99sc2_93", H = "_categoryOptionSecondary_99sc2_102", J = "_summaryCategory_99sc2_106", K = "_headerCategory_99sc2_116", M = "_categoryTitle_99sc2_122", Q = "_categoryTitleSecondary_99sc2_130", R = "_categoryOptions_99sc2_134", e = {
6
6
  root: A,
7
7
  nameWrapper: $,
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as N } from "react/jsx-runtime";
2
2
  import { c as T } from "../../../index-YnD2EP-S.js";
3
- import { Text as k } from "../../Text/ui/Text.js";
4
- import { useClientWidth as y } from "../../../shared/useClientWidth.js";
3
+ import { useClientWidth as k } from "../../../shared/useClientWidth.js";
4
+ import { Text as y } from "../../Text/ui/Text.js";
5
5
  const z = "_root_pbslz_1", W = "_whiteFill_pbslz_29", D = "_text_pbslz_34", F = "_fullWhite_pbslz_48", P = "_whiteStroke_pbslz_67", C = "_withPadding_pbslz_105", I = "_grayDesign_pbslz_109", t = {
6
6
  root: z,
7
7
  whiteFill: W,
@@ -20,7 +20,7 @@ const z = "_root_pbslz_1", W = "_whiteFill_pbslz_29", D = "_text_pbslz_34", F =
20
20
  classname: l,
21
21
  children: a
22
22
  }) => /* @__PURE__ */ e("div", { className: i(t.root, t[`${s}`], l), children: a }), c = (s) => {
23
- const { isTablet: l, isDesktop: a } = y(), {
23
+ const { isTablet: l, isDesktop: a } = k(), {
24
24
  children: r,
25
25
  className: h,
26
26
  additionalClassName: d,
@@ -49,7 +49,7 @@ const z = "_root_pbslz_1", W = "_whiteFill_pbslz_29", D = "_text_pbslz_34", F =
49
49
  {
50
50
  className: i(h, d, { [t.isLong]: m }),
51
51
  style: { width: u(l, a) },
52
- children: /* @__PURE__ */ e(k, { className: i(t.text), children: r })
52
+ children: /* @__PURE__ */ e(y, { className: i(t.text), children: r })
53
53
  }
54
54
  )
55
55
  ] });
@@ -1,4 +1,4 @@
1
- import { T as e } from "../../FilterWithSave-NYWK9Gpz.js";
1
+ import { TabSwitcher as o } from "./ui/TabSwitcher.js";
2
2
  export {
3
- e as TabSwitcher
3
+ o as TabSwitcher
4
4
  };
@@ -1,28 +1,123 @@
1
- import "react/jsx-runtime";
2
- import { T as y } from "../../../FilterWithSave-NYWK9Gpz.js";
3
- import "../../Text/ui/Text.js";
4
- import "../../../index-YnD2EP-S.js";
5
- import "../../Button/ui/Button.js";
6
- import "../../mobileButton/ui/MobileButton.js";
7
- import "../../NewIcon/ui/NewIcon.js";
8
- import "../../DestinationTab/ui/DestinationTab.js";
9
- import "../../RoundButton/ui/RoundButton.js";
10
- import "../../Tag/ui/Tag.js";
11
- import "../../Switcher/ui/Switcher.js";
12
- import "../../Flex/ui/Flex.js";
13
- import "../../Input/ui/Input.js";
14
- import "react";
15
- import "react-dom";
16
- import "../../GroupedInput/ui/GroupedInputs.js";
17
- import "../../MetroTag/ui/MetroTag.js";
18
- import "../../Select/ui/Select.js";
19
- import "../../../shared/useClientWidth.js";
20
- import "../../SliderNavigation/ui/SliderNavigation.js";
21
- import "../../LotCardSkeleton/ui/LotCardSkeleton.js";
22
- import "../../TabSelect/ui/TabSelect.js";
23
- import "../../CheckBox/CheckBox.js";
24
- import "../../CheckBoxNew/CheckBoxNew.js";
25
- import "../../CheckboxSelect/ui/CheckboxSelect.js";
1
+ import { jsx as s, jsxs as S } from "react/jsx-runtime";
2
+ import { c as W } from "../../../index-YnD2EP-S.js";
3
+ import { useClientWidth as $ } from "../../../shared/useClientWidth.js";
4
+ import { Text as D } from "../../Text/ui/Text.js";
5
+ const M = "_root_1qhai_1", j = "_text_1qhai_18", G = "_textMini_1qhai_26", k = "_rootCol_1qhai_32", v = "_item_1qhai_38", O = "_whiteRow_1qhai_57", A = "_firstItem_1qhai_68", B = "_lastItem_1qhai_72", E = "_whiteRowGrayLabel_1qhai_103", F = "_labelItem_1qhai_118", H = "_outlined_1qhai_147", J = "_apart_1qhai_204", K = "_isLong_1qhai_204", P = "_autoWidth_1qhai_219", Q = "_mini_1qhai_233", U = "_isDisabled_1qhai_241", V = "_grayRow_1qhai_265", e = {
6
+ root: M,
7
+ text: j,
8
+ textMini: G,
9
+ rootCol: k,
10
+ item: v,
11
+ whiteRow: O,
12
+ firstItem: A,
13
+ lastItem: B,
14
+ whiteRowGrayLabel: E,
15
+ labelItem: F,
16
+ outlined: H,
17
+ apart: J,
18
+ isLong: K,
19
+ autoWidth: P,
20
+ mini: Q,
21
+ isDisabled: U,
22
+ grayRow: V,
23
+ "tiny-size": "_tiny-size_1qhai_293",
24
+ "small-size": "_small-size_1qhai_298",
25
+ "medium-size": "_medium-size_1qhai_303",
26
+ "large-size": "_large-size_1qhai_308",
27
+ "text-tiny-size": "_text-tiny-size_1qhai_313",
28
+ "text-small-size": "_text-small-size_1qhai_319",
29
+ "text-medium-size": "_text-medium-size_1qhai_324",
30
+ "text-large-size": "_text-large-size_1qhai_329",
31
+ "small-size_m": "_small-size_m_1qhai_335",
32
+ "medium-size_m": "_medium-size_m_1qhai_339",
33
+ "large-size_m": "_large-size_m_1qhai_343",
34
+ "text-small-size_m": "_text-small-size_m_1qhai_347",
35
+ "text-medium-size_m": "_text-medium-size_m_1qhai_351",
36
+ "text-large-size_m": "_text-large-size_m_1qhai_355",
37
+ "small-size_l": "_small-size_l_1qhai_370",
38
+ "medium-size_l": "_medium-size_l_1qhai_374",
39
+ "large-size_l": "_large-size_l_1qhai_378",
40
+ "text-small-size_l": "_text-small-size_l_1qhai_382",
41
+ "text-medium-size_l": "_text-medium-size_l_1qhai_386",
42
+ "text-large-size_l": "_text-large-size_l_1qhai_390"
43
+ }, _ = W.bind(e), X = ({
44
+ children: a,
45
+ variant: l = "whiteRow",
46
+ isApart: m = !1,
47
+ addClassName: i = "",
48
+ col: t = !1
49
+ }) => /* @__PURE__ */ s("div", { className: _(e.root, e[l], { [e.rootCol]: t, [e.apart]: m }, i), children: a }), g = (a) => {
50
+ const { isTablet: l, isDesktop: m } = $(), {
51
+ index: i,
52
+ children: t,
53
+ addItemClassName: u,
54
+ addLabelClassname: w,
55
+ addTextClass: b,
56
+ size_s: h = "large",
57
+ size_m: r,
58
+ size_l: d,
59
+ disabled: z = !1,
60
+ itemsLength: I = 0,
61
+ isLongOn: f = !0,
62
+ width: c,
63
+ width_m: o,
64
+ width_l: n,
65
+ mini: x = !1,
66
+ dataTestId: p,
67
+ ref: y,
68
+ ...L
69
+ } = a, q = (t?.toString().length ? t?.toString().length > 2 : !1) && f, R = (C, N) => C && o ? o : N && n ? n : c, T = !c && !o && !n && q;
70
+ return /* @__PURE__ */ S("label", { className: _(e.labelItem, { [e.isLong]: q }, w), children: [
71
+ /* @__PURE__ */ s(
72
+ "input",
73
+ {
74
+ ref: y,
75
+ type: "checkbox",
76
+ ...L,
77
+ disabled: z
78
+ }
79
+ ),
80
+ /* @__PURE__ */ s(
81
+ "div",
82
+ {
83
+ style: { width: R(l, m) },
84
+ "data-testid": p,
85
+ className: _(
86
+ e.item,
87
+ {
88
+ [e.firstItem]: i === 0,
89
+ [e.lastItem]: i === I - 1,
90
+ [e.isDisabled]: z,
91
+ [e.autoWidth]: T,
92
+ [e.mini]: x
93
+ },
94
+ e[`${h}-size`],
95
+ e[`${r}-size_m`],
96
+ e[`${d}-size_l`],
97
+ u
98
+ ),
99
+ children: /* @__PURE__ */ s(
100
+ D,
101
+ {
102
+ className: _(
103
+ e.text,
104
+ e[`text-${h}-size`],
105
+ e[`text-${r}-size_m`],
106
+ e[`text-${d}-size_l`],
107
+ { [e.textMini]: x },
108
+ b
109
+ ),
110
+ children: t
111
+ }
112
+ )
113
+ }
114
+ )
115
+ ] });
116
+ };
117
+ g.displayName = "TabSwitcherItem";
118
+ const ie = Object.assign(X, {
119
+ Item: g
120
+ });
26
121
  export {
27
- y as TabSwitcher
122
+ ie as TabSwitcher
28
123
  };
@@ -1,59 +1,38 @@
1
- import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import { Menu as f } from "../Menu.js";
3
- import { useState as i } from "react";
4
- import "../../../components/Button/ui/Button.js";
5
- import "../../../components/mobileButton/ui/MobileButton.js";
6
- import { NewIcon as c } from "../../../components/NewIcon/ui/NewIcon.js";
7
- import "../../../components/DestinationTab/ui/DestinationTab.js";
8
- import "../../../components/RoundButton/ui/RoundButton.js";
9
- import "../../../components/Tag/ui/Tag.js";
10
- import "../../../components/Switcher/ui/Switcher.js";
11
- import "../../../components/Text/ui/Text.js";
12
- import "../../../components/Flex/ui/Flex.js";
13
- import "../../../components/Input/ui/Input.js";
14
- import "react-dom";
15
- import "../../../index-YnD2EP-S.js";
16
- import "../../../FilterWithSave-NYWK9Gpz.js";
17
- import "../../../components/GroupedInput/ui/GroupedInputs.js";
18
- import "../../../components/MetroTag/ui/MetroTag.js";
19
- import "../../../components/Select/ui/Select.js";
20
- import "../../../components/SliderNavigation/ui/SliderNavigation.js";
21
- import "../../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
22
- import "../../../components/TabSelect/ui/TabSelect.js";
23
- import "../../../components/CheckBox/CheckBox.js";
24
- import "../../../components/CheckBoxNew/CheckBoxNew.js";
25
- import "../../../components/CheckboxSelect/ui/CheckboxSelect.js";
26
- const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_searchInp_15wfn_47", y = "_searchIcon_15wfn_67", I = "_closeBtn_15wfn_73", e = {
27
- root: w,
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
+ import { Menu as w } from "../Menu.js";
3
+ import { useState as r } from "react";
4
+ import { NewIcon as a } from "../../../components/NewIcon/ui/NewIcon.js";
5
+ const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_searchInp_15wfn_47", y = "_searchIcon_15wfn_67", I = "_closeBtn_15wfn_73", t = {
6
+ root: m,
28
7
  wrap: _,
29
8
  search: g,
30
9
  searchInp: x,
31
10
  searchIcon: y,
32
11
  closeBtn: I
33
- }, P = () => {
34
- const [a, s] = i(!1), [l, r] = i(""), h = (o) => {
35
- r(o.target.value);
36
- }, p = (o) => {
37
- o.key === "Enter" && (window.location.href = "https://test.stone.ru");
38
- }, m = () => {
39
- s(!0);
40
- }, u = () => {
12
+ }, C = () => {
13
+ const [l, o] = r(!1), [i, c] = r(""), h = (n) => {
14
+ c(n.target.value);
15
+ }, u = (n) => {
16
+ n.key === "Enter" && (window.location.href = "https://test.stone.ru");
17
+ }, d = () => {
18
+ o(!0);
19
+ }, f = () => {
41
20
  setTimeout(() => {
42
- document?.activeElement?.classList.contains("close-button") || s(!1);
21
+ document?.activeElement?.classList.contains("close-button") || o(!1);
43
22
  }, 0);
44
- }, d = () => {
45
- r(""), s(!1);
23
+ }, p = () => {
24
+ c(""), o(!1);
46
25
  };
47
- return /* @__PURE__ */ n("nav", { className: e.root, children: [
48
- /* @__PURE__ */ n("div", { className: e.wrap, children: [
49
- /* @__PURE__ */ n(
26
+ return /* @__PURE__ */ s("nav", { className: t.root, children: [
27
+ /* @__PURE__ */ s("div", { className: t.wrap, children: [
28
+ /* @__PURE__ */ s(
50
29
  "svg",
51
30
  {
52
31
  xmlns: "http://www.w3.org/2000/svg",
53
32
  width: "200",
54
33
  height: "60",
55
34
  children: [
56
- /* @__PURE__ */ t(
35
+ /* @__PURE__ */ e(
57
36
  "rect",
58
37
  {
59
38
  width: "200",
@@ -61,7 +40,7 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
61
40
  fill: "transparent"
62
41
  }
63
42
  ),
64
- /* @__PURE__ */ t(
43
+ /* @__PURE__ */ e(
65
44
  "text",
66
45
  {
67
46
  x: "0",
@@ -72,7 +51,7 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
72
51
  children: "Stone"
73
52
  }
74
53
  ),
75
- /* @__PURE__ */ t(
54
+ /* @__PURE__ */ e(
76
55
  "rect",
77
56
  {
78
57
  x: "110",
@@ -84,7 +63,7 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
84
63
  fill: "#f90"
85
64
  }
86
65
  ),
87
- /* @__PURE__ */ t(
66
+ /* @__PURE__ */ e(
88
67
  "text",
89
68
  {
90
69
  x: "115",
@@ -99,8 +78,8 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
99
78
  ]
100
79
  }
101
80
  ),
102
- /* @__PURE__ */ n("search", { className: e.search, children: [
103
- /* @__PURE__ */ t(
81
+ /* @__PURE__ */ s("search", { className: t.search, children: [
82
+ /* @__PURE__ */ e(
104
83
  "button",
105
84
  {
106
85
  style: {
@@ -110,39 +89,39 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
110
89
  padding: "unset",
111
90
  cursor: "pointer"
112
91
  },
113
- onClick: (o) => {
114
- o.preventDefault(), window.location.href = "https://test.stone.ru";
92
+ onClick: (n) => {
93
+ n.preventDefault(), window.location.href = "https://test.stone.ru";
115
94
  },
116
- children: /* @__PURE__ */ t(
117
- c,
95
+ children: /* @__PURE__ */ e(
96
+ a,
118
97
  {
119
- additionalClass: e.searchIcon,
98
+ additionalClass: t.searchIcon,
120
99
  size: "24",
121
100
  name: "search"
122
101
  }
123
102
  )
124
103
  }
125
104
  ),
126
- /* @__PURE__ */ t(
105
+ /* @__PURE__ */ e(
127
106
  "input",
128
107
  {
129
108
  type: "text",
130
- value: l,
109
+ value: i,
131
110
  onChange: h,
132
- onKeyDown: p,
133
- onFocus: m,
134
- onBlur: u,
135
- className: e.searchInp,
111
+ onKeyDown: u,
112
+ onFocus: d,
113
+ onBlur: f,
114
+ className: t.searchInp,
136
115
  placeholder: "Изучить stone-kit"
137
116
  }
138
117
  ),
139
- a && /* @__PURE__ */ t(
118
+ l && /* @__PURE__ */ e(
140
119
  "button",
141
120
  {
142
- onClick: d,
143
- className: `${e.closeBtn} close-button`,
144
- children: /* @__PURE__ */ t(
145
- c,
121
+ onClick: p,
122
+ className: `${t.closeBtn} close-button`,
123
+ children: /* @__PURE__ */ e(
124
+ a,
146
125
  {
147
126
  strokeWidth: "2.5",
148
127
  color: "#252525",
@@ -154,9 +133,9 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
154
133
  )
155
134
  ] })
156
135
  ] }),
157
- /* @__PURE__ */ t(f, {})
136
+ /* @__PURE__ */ e(w, {})
158
137
  ] });
159
138
  };
160
139
  export {
161
- P as Header
140
+ C as Header
162
141
  };
@@ -1,41 +1,19 @@
1
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import "../../components/Button/ui/Button.js";
3
- import "../../components/mobileButton/ui/MobileButton.js";
4
- import { NewIcon as e } from "../../components/NewIcon/ui/NewIcon.js";
5
- import "../../components/DestinationTab/ui/DestinationTab.js";
6
- import "../../components/RoundButton/ui/RoundButton.js";
7
- import "../../components/Tag/ui/Tag.js";
8
- import "../../components/Switcher/ui/Switcher.js";
9
- import "../../components/Text/ui/Text.js";
10
- import "../../components/Flex/ui/Flex.js";
11
- import "../../components/Input/ui/Input.js";
12
- import "react";
13
- import "react-dom";
14
- import "../../index-YnD2EP-S.js";
15
- import "../../FilterWithSave-NYWK9Gpz.js";
16
- import "../../components/GroupedInput/ui/GroupedInputs.js";
17
- import "../../components/MetroTag/ui/MetroTag.js";
18
- import "../../components/Select/ui/Select.js";
19
- import "../../components/SliderNavigation/ui/SliderNavigation.js";
20
- import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
21
- import "../../components/TabSelect/ui/TabSelect.js";
22
- import "../../components/CheckBox/CheckBox.js";
23
- import "../../components/CheckBoxNew/CheckBoxNew.js";
24
- import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
25
- import { L as l } from "../../chunk-4WY6JWTD-BeveLKf_.js";
26
- const n = "_root_9577c_1", s = "_linkWrap_9577c_8", r = {
27
- root: n,
28
- linkWrap: s
29
- }, D = () => {
30
- const o = ({ to: m, title: p }) => /* @__PURE__ */ i(
31
- l,
1
+ import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
+ import { L as r } from "../../chunk-4WY6JWTD-BeveLKf_.js";
3
+ import { NewIcon as s } from "../../components/NewIcon/ui/NewIcon.js";
4
+ const c = "_root_9577c_1", a = "_linkWrap_9577c_8", i = {
5
+ root: c,
6
+ linkWrap: a
7
+ }, _ = () => {
8
+ const o = ({ to: l, title: n }) => /* @__PURE__ */ e(
9
+ r,
32
10
  {
33
- to: m,
34
- className: r.linkWrap,
11
+ to: l,
12
+ className: i.linkWrap,
35
13
  children: [
36
- p,
14
+ n,
37
15
  /* @__PURE__ */ t(
38
- e,
16
+ s,
39
17
  {
40
18
  size: "24",
41
19
  name: "play2",
@@ -46,7 +24,7 @@ const n = "_root_9577c_1", s = "_linkWrap_9577c_8", r = {
46
24
  ]
47
25
  }
48
26
  );
49
- return /* @__PURE__ */ i("div", { className: r.root, children: [
27
+ return /* @__PURE__ */ e("div", { className: i.root, children: [
50
28
  /* @__PURE__ */ t(
51
29
  o,
52
30
  {
@@ -127,5 +105,5 @@ const n = "_root_9577c_1", s = "_linkWrap_9577c_8", r = {
127
105
  ] });
128
106
  };
129
107
  export {
130
- D as Menu
108
+ _ as Menu
131
109
  };
package/dist/main.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { Button } from './components/Button';
2
+ export type { ComponentButtonProps, ButtonProps } from './components/Button';
2
3
  export { MobileButton } from './components/mobileButton';
3
4
  export { NewIcon } from './components/NewIcon';
4
5
  export { DestinationTab } from './components/DestinationTab';
package/dist/main.js CHANGED
@@ -1,67 +1,72 @@
1
- import { Button as e } from "./components/Button/ui/Button.js";
2
- import { MobileButton as m } from "./components/mobileButton/ui/MobileButton.js";
3
- import { NewIcon as x } from "./components/NewIcon/ui/NewIcon.js";
4
- import { DestinationTab as a } from "./components/DestinationTab/ui/DestinationTab.js";
5
- import { RoundButton as c } from "./components/RoundButton/ui/RoundButton.js";
6
- import { Tag as n } from "./components/Tag/ui/Tag.js";
7
- import { Switcher as d } from "./components/Switcher/ui/Switcher.js";
8
- import { Text as u } from "./components/Text/ui/Text.js";
9
- import { Flex as h } from "./components/Flex/ui/Flex.js";
10
- import { Input as T } from "./components/Input/ui/Input.js";
11
- import { Modal as k } from "./components/Modal/ui/Modal.js";
12
- import { FieldInput as F } from "./components/FieldInput/ui/FieldInput.js";
13
- import { C as g, F as w, L as I, M as N, S as v, T as W } from "./FilterWithSave-NYWK9Gpz.js";
14
- import { GroupedInputs as q } from "./components/GroupedInput/ui/GroupedInputs.js";
15
- import { Logo as D } from "./components/Logo/ui/Logo.js";
16
- import { MetroTag as G } from "./components/MetroTag/ui/MetroTag.js";
17
- import { Select as R } from "./components/Select/ui/Select.js";
18
- import { useClientWidth as z } from "./shared/useClientWidth.js";
19
- import { deepEqual as H } from "./shared/deepEqual.js";
20
- import { SliderNavigation as K } from "./components/SliderNavigation/ui/SliderNavigation.js";
21
- import { LotCardSkeleton as Q } from "./components/LotCardSkeleton/ui/LotCardSkeleton.js";
22
- import { ProjectCardSkeleton as V } from "./components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
23
- import { TabSelect as Y } from "./components/TabSelect/ui/TabSelect.js";
24
- import { ZoomControls as $ } from "./components/ZoomControls/ui/ZoomControls.js";
25
- import { ModalSuccess as ro } from "./components/ModalSuccess/ModalSuccess.js";
26
- import { SummarySelect as to } from "./components/SummarySelect/ui/SummarySelect.js";
27
- import { CheckBox as po } from "./components/CheckBox/CheckBox.js";
28
- import { CheckBoxNew as fo } from "./components/CheckBoxNew/CheckBoxNew.js";
29
- import { CheckboxSelect as lo } from "./components/CheckboxSelect/ui/CheckboxSelect.js";
30
- import { sclMillion as io } from "./shared/mlnRound.js";
1
+ import { useClientWidth as e } from "./shared/useClientWidth.js";
2
+ import { deepEqual as m } from "./shared/deepEqual.js";
3
+ import { ModalForm as x } from "./components/FormModal/ui/ModalForm.js";
4
+ import { CommercialLotCard as l } from "./components/CommercialLotCard/CommercialLotCard.js";
5
+ import { ModalSuccess as c } from "./components/ModalSuccess/ModalSuccess.js";
6
+ import { FilterWithSave as n } from "./components/FilterWithSave/ui/FilterWithSave.js";
7
+ import { CheckBox as d } from "./components/CheckBox/CheckBox.js";
8
+ import { CheckBoxNew as C } from "./components/CheckBoxNew/CheckBoxNew.js";
9
+ import { CheckboxSelect as s } from "./components/CheckboxSelect/ui/CheckboxSelect.js";
10
+ import { sclMillion as T } from "./shared/mlnRound.js";
11
+ import { Button as k } from "./components/Button/ui/Button.js";
12
+ import { MobileButton as g } from "./components/mobileButton/ui/MobileButton.js";
13
+ import { NewIcon as F } from "./components/NewIcon/ui/NewIcon.js";
14
+ import { DestinationTab as L } from "./components/DestinationTab/ui/DestinationTab.js";
15
+ import { RoundButton as v } from "./components/RoundButton/ui/RoundButton.js";
16
+ import { Tag as j } from "./components/Tag/ui/Tag.js";
17
+ import { Switcher as y } from "./components/Switcher/ui/Switcher.js";
18
+ import { Text as E } from "./components/Text/ui/Text.js";
19
+ import { Flex as P } from "./components/Flex/ui/Flex.js";
20
+ import { Input as Z } from "./components/Input/ui/Input.js";
21
+ import { Modal as A } from "./components/Modal/ui/Modal.js";
22
+ import { FieldInput as J } from "./components/FieldInput/ui/FieldInput.js";
23
+ import { TabSwitcher as O } from "./components/TabSwitcher/ui/TabSwitcher.js";
24
+ import { GroupedInputs as U } from "./components/GroupedInput/ui/GroupedInputs.js";
25
+ import { Logo as X } from "./components/Logo/ui/Logo.js";
26
+ import { MetroTag as _ } from "./components/MetroTag/ui/MetroTag.js";
27
+ import { LotCard as oo } from "./components/LotCard/ui/LotCard.js";
28
+ import { Select as eo } from "./components/Select/ui/Select.js";
29
+ import { SortSelect as mo } from "./components/SortSelect/ui/SortSelect.js";
30
+ import { SliderNavigation as xo } from "./components/SliderNavigation/ui/SliderNavigation.js";
31
+ import { LotCardSkeleton as lo } from "./components/LotCardSkeleton/ui/LotCardSkeleton.js";
32
+ import { ProjectCardSkeleton as co } from "./components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
33
+ import { TabSelect as no } from "./components/TabSelect/ui/TabSelect.js";
34
+ import { ZoomControls as uo } from "./components/ZoomControls/ui/ZoomControls.js";
35
+ import { SummarySelect as ho } from "./components/SummarySelect/ui/SummarySelect.js";
31
36
  export {
32
- e as Button,
33
- po as CheckBox,
34
- fo as CheckBoxNew,
35
- lo as CheckboxSelect,
36
- g as CommercialLotCard,
37
- a as DestinationTab,
38
- F as FieldInput,
39
- w as FilterWithSave,
40
- h as Flex,
41
- q as GroupedInputs,
42
- T as Input,
43
- D as Logo,
44
- I as LotCard,
45
- Q as LotCardSkeleton,
46
- G as MetroTag,
47
- m as MobileButton,
48
- k as Modal,
49
- N as ModalForm,
50
- ro as ModalSuccess,
51
- x as NewIcon,
52
- V as ProjectCardSkeleton,
53
- c as RoundButton,
54
- R as Select,
55
- K as SliderNavigation,
56
- v as SortSelect,
57
- to as SummarySelect,
58
- d as Switcher,
59
- Y as TabSelect,
60
- W as TabSwitcher,
61
- n as Tag,
62
- u as Text,
63
- $ as ZoomControls,
64
- H as deepEqual,
65
- io as sclMillion,
66
- z as useClientWidth
37
+ k as Button,
38
+ d as CheckBox,
39
+ C as CheckBoxNew,
40
+ s as CheckboxSelect,
41
+ l as CommercialLotCard,
42
+ L as DestinationTab,
43
+ J as FieldInput,
44
+ n as FilterWithSave,
45
+ P as Flex,
46
+ U as GroupedInputs,
47
+ Z as Input,
48
+ X as Logo,
49
+ oo as LotCard,
50
+ lo as LotCardSkeleton,
51
+ _ as MetroTag,
52
+ g as MobileButton,
53
+ A as Modal,
54
+ x as ModalForm,
55
+ c as ModalSuccess,
56
+ F as NewIcon,
57
+ co as ProjectCardSkeleton,
58
+ v as RoundButton,
59
+ eo as Select,
60
+ xo as SliderNavigation,
61
+ mo as SortSelect,
62
+ ho as SummarySelect,
63
+ y as Switcher,
64
+ no as TabSelect,
65
+ O as TabSwitcher,
66
+ j as Tag,
67
+ E as Text,
68
+ uo as ZoomControls,
69
+ m as deepEqual,
70
+ T as sclMillion,
71
+ e as useClientWidth
67
72
  };